code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
#!/bin/bash
set -e
set -uxo pipefail
# Decrypt and import signing key
openssl aes-256-cbc -K $encrypted_ec79e61fc360_key -iv $encrypted_ec79e61fc360_iv -in ci/dropwizard.asc.enc -out ci/dropwizard.asc -d
gpg --armor --import ci/dropwizard.asc
./mvnw -B deploy --settings 'ci/settings.xml' -DperformRelease=true -Dmaven... | jplock/dropwizard | ci/deploy-release.sh | Shell | apache-2.0 | 336 |
rm waf
wget http://waf.googlecode.com/files/waf-1.7.14
mv waf-1.7.14 waf
chmod +x waf | tjhunter/phd-thesis-tjhunter | get_waf.sh | Shell | apache-2.0 | 85 |
#!/bin/sh
#
set -x
CERTBASE=${CERTBASE:-/ad3/gma/ad3/sslwork/2017-01}
CACERT=${CACERT:-ca.crt}
CLICERT=${CLICERT:-client.crt}
CLIKEY=${CLIKEY:-client.key}
go build
./tlsuc4 -srvCAFile=$CERTBASE/$CACERT \
-cliCertFile=$CERTBASE/$CLICERT \
-cliKeyFile=$CERTBASE/$CLIKEY
set +x
| gmallard/stompngo_examples | tlsexamps/tlsuc4/run.sh | Shell | apache-2.0 | 278 |
#!/usr/bin/env bash
DOWNLOAD_ID=$1
S3_OUTPATH=$2
UUIDS=$3
LOCAL_FOLDER=$SCRATCH/$DOWNLOAD_ID
mkdir -p $LOCAL_FOLDER
cd $LOCAL_FOLDER
gdc-client download $UUIDS
aws s3 cp $LOCAL_FOLDER $S3_OUTPATH --recursive | outlierbio/ob-pipelines | ob_pipelines/apps/gdc/dl-uuids.sh | Shell | apache-2.0 | 212 |
#This is a test script that allows me to test on a pi without using a pen drive
#by downloading a copy from the dev server.
#DO NOT INCLUDE IN SOFTWARE!!
#(C) Vincent Lee / vlee489
#Shorteners
#----------
Storage="/opt/plugins"
FileStorage="http://ignition.bezrepo.fluctis.com/dev"
FileName="update.sh"
mkdir $Storag... | alexjstubbs/ignition-dev | updater/tester.sh | Shell | apache-2.0 | 390 |
#!/bin/bash -e
PROFILE=default
ACCOUNT_ID=$1
LAMBDA_NAME=$2
DESCRIPTION=$3
GATEWAY_PATH=$4
VERSION=$5
SWAGGER_TEMPLATE_FILE=$6
STAGE=$7
if [ -z "$ACCOUNT_ID" ]; then
echo "AWS Account ID expected. None found."
exit 1
fi
if [ -z "$LAMBDA_NAME" ]; then
echo "Lambda name expected. None found."
exit 1
fi
if [ -... | floodfx/aws-lambda-kotlin-poc | scripts/create-apigateway.sh | Shell | apache-2.0 | 1,112 |
# ----------------------------------------------------------------------------
#
# Package : Jackson Module JsonSchema
# Version : 2.9.4
# Source repo : https://github.com/FasterXML/jackson-module-jsonSchema
# Tested on : ubuntu_16.04
# Script License: Apache License, Version 2 or later
# Maintainer ... | ppc64le/build-scripts | j/jsonschema/jsonschema_ubuntu_16.04.sh | Shell | apache-2.0 | 1,342 |
#!/bin/bash
# Copyright 2016 Nicanor garcia
# Apache 2.0.
#
M=$1
ivector_dim=$2
num_gselect=$3
featFile=$4
mDir=$5
. path.sh
#Compute feats
echo $featFile
if [ ! -f ${featFile} ]; then echo "There are no characteristics to process"; exit 1; fi
# Generate the UBMs
# k=$( echo "l($M)/l(2)" | bc -l )
# k=${k%.*}
# nu... | nicanorgarcia/kaldi-ivectors-for-python | train_ivector_models.sh | Shell | apache-2.0 | 719 |
# !/bin/bash
#Ð£Ô°ÍøµÇ½£¬Ãô¸ÐÐÅÏ¢
function connect(){
#connect internet
curl "http://202.193.80.124/" -H "Pragma: no-cache" -H "Origin: http://202.193.80.124" -H "Accept-Encoding: gzip, deflate" -H "Accept-Language: zh-CN,zh;q=0.8" -H "Upgrade-Insecure-Requests: 1" -H "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW6... | hanbingxzy/LabCloud | machinetestmanagershell/3在docker集群中搭建hadoop容器/hadoop - 副本.sh | Shell | apache-2.0 | 5,452 |
#!/usr/bin/env bash
VERSION=0.3.2-SNAPSHOT
../gradlew build
native-image --no-server --class-path build/libs/consensusj-jsonrpc-daemon-${VERSION}-all.jar \
org.consensusj.jsonrpc.daemon.Application build/jsonrpcdaemon
| msgilligan/bitcoinj-addons | consensusj-jsonrpc-daemon/build-native-image.sh | Shell | apache-2.0 | 223 |
#!/usr/bin/env bash
# Copyright 2021 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | knative/eventing | test/conformance/create-namespace-rbac.sh | Shell | apache-2.0 | 2,420 |
#!/bin/bash
# This script creates the configuration for a Babble testnet with a variable
# number of nodes. It will generate crytographic key pairs and assemble a
# peers.json file in the format used by Babble. The files are copied into
# individual folders for each node so that these folders can be used as the
# d... | babbleio/babble | demo/scripts/build-conf.sh | Shell | apache-2.0 | 1,480 |
#!/bin/bash
set -e
if docker ps | grep "whlee21/centos6-cdh5-datanode" >/dev/null; then
echo ""
echo "It looks like you already have some containers running."
echo "Please take them down before attempting to bring up another"
echo "cluster with the following command:"
echo ""
echo " make stop-cluster"
... | whlee21/docker | centos6-cdh5-datanode/docker-run.sh | Shell | apache-2.0 | 1,193 |
#!/bin/bash -e
if [ $# -lt 1 ]; then
echo "usage: $0 api_key [alternate_url]"
exit 1
fi
tokens_data="北京大学生物系主任办公室内部会议"
if [ -z "$2" ]; then
url="https://api.rosette.com/rest/v1/tokens"
else
url="$2/tokens"
fi
curl -s "$url" \
-H "X-RosetteAPI-Key: $1" \
-H 'Content-Type:application/json' \
-H 'Accept:a... | rosette-api/shell | examples/tokens.sh | Shell | apache-2.0 | 410 |
#!/bin/bash
if [ -z "$1" ]; then
echo "please provide the version as parameter: ./helm-release.sh <version> <chart-name>\n"
exit 1
fi
if [ -z "$2" ]; then
echo "please provide the chart name as parameter: ./helm-release.sh <version> <chart-name>\n"
exit 1
fi
cd $(git rev-parse --show-toplevel)
sed "s... | sdminonne/workflow-controller | hack/helm-release.sh | Shell | apache-2.0 | 681 |
#!/bin/bash
# lag_ruter.sh
# Christer Jonassen 06.11.13
# Lager automatisk unike ruteverdier. f.eks krsman, sogven
# lager A-B og B-A av steder lagt til i filen steder.txt
# Genererer disse inn i switch statements for php
echo -e "<?php"
echo -e ""
echo -e "// Case statements laget automatisk med lag_ruter.sh"
echo -... | chr1573r/gruppe1661-taxi | verktoy/lag_ruter/lag_ruter.sh | Shell | apache-2.0 | 1,117 |
#!/bin/bash
SCRIPT_DIR=`dirname $0`
INSTANCE_ID_LIST=`$SCRIPT_DIR/list_running_jbosses_instanceid.sh $1`
for INSTANCE_ID in ${INSTANCE_ID_LIST//\\n/ }
do
aws ec2 terminate-instances --instance-ids $INSTANCE_ID
done
| chtz/EE6Template | scripts/killall_jbosses.sh | Shell | apache-2.0 | 216 |
#!/bin/bash
sbt clean editsource:edit assembly
| manojlds/gocd-docker | build.sh | Shell | apache-2.0 | 48 |
#!/bin/bash
# Copyright 2016 Port Direct
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | portdirect/harbor | docker/openstack/openstack-kuryr/common-assets/opt/harbor/kuryr/config-kuryr.sh | Shell | apache-2.0 | 1,236 |
#!/bin/bash -e
# Expected to be run in the root of the Chef Git repository (e.g. chef-bcpc)
set -x
if [ ! -f .chef/knife.rb ]; then
echo -e ".chef/knife.rb\nhttp://10.0.100.1:4000\n\n\n\n\n\n.\n" | knife configure --initial
fi
cd cookbooks
for i in apt ubuntu cron chef-client; do
if [ ! -d $i ]; then
knife... | inakip/os-prod | setup_chef_cookbooks.sh | Shell | apache-2.0 | 398 |
#!/bin/bash
mono tools/FAKE/tools/FAKE.exe build.fsx $@
| spiffytech/spinrunner | fakebuild.sh | Shell | apache-2.0 | 57 |
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source $DIR/env.sh
$DIR/server_control.pl start
| EnsemblGenomes/eg-rest | bin/start.sh | Shell | apache-2.0 | 102 |
#!/bin/bash
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa.zhuwbigdata
| zhuwbigdata/hadoop-admin-utils | bin/setGit.sh | Shell | apache-2.0 | 69 |
#!/bin/bash
set -e
source /bd_build/buildconfig
set -x
$minimal_apt_get_install nginx nginx-common nginx-extras openssl
# Install nginx and configuration
cp /bd_build/web/nginx/proxy_params.conf /etc/nginx/proxy_params
cp /bd_build/web/nginx/nginx.conf.tmpl /etc/nginx/nginx.conf.tmpl
cp /bd_build/web/nginx/azuracast.... | AzuraCast/AzuraCast | util/docker/web/setup/nginx.sh | Shell | apache-2.0 | 581 |
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset
Col... | mintsoft/bashrc | .bashrc.d/1-colours.sh | Shell | apache-2.0 | 2,719 |
#!/bin/bash -e
DATA_DIR=experiments/wikitables/WikiTableQuestions/
ENVIRONMENT=experiments/wikitables/resources/environment.lisp,experiments/wikitables/resources/tables.lisp
./scripts/run.sh com.jayantkrish.jklol.experiments.wikitables.WikiTableEval --tablesDir $DATA_DIR/csv/ --environment $ENVIRONMENT --noPrintOptio... | jayantk/jklol | experiments/wikitables/scripts/eval.sh | Shell | bsd-2-clause | 325 |
# This file generates the keys and certificates used for testing mosquitto.
# None of the keys are encrypted, so do not just use this script to generate
# files for your own use.
rm -f *.crt *.key *.csr
for a in root signing; do
rm -rf ${a}CA/
mkdir -p ${a}CA/newcerts
touch ${a}CA/index.txt
echo 01 > ${a}CA/serial... | else/mosquitto | test/ssl/gen.sh | Shell | bsd-3-clause | 4,296 |
#!/bin/bash
#
# University of Luxembourg
# Laboratory of Algorithmics, Cryptology and Security (LACS)
#
# FELICS - Fair Evaluation of Lightweight Cryptographic Systems
#
# Copyright (C) 2015 University of Luxembourg
#
# Written in 2015 by Daniel Dinu <dumitru-daniel.dinu@uni.lu>
#
# This file is part of FELICS.
#
# FE... | GaloisInc/hacrypto | src/C/FELICS/stream_ciphers/scripts/common/version.sh | Shell | bsd-3-clause | 2,919 |
#!/bin/sh
# Package
PACKAGE="python27-virtualenv"
DNAME="Python 2.7 Virtualenv"
# Others
INSTALL_DIR="/usr/local/${PACKAGE}"
PATH="${INSTALL_DIR}/bin:/usr/local/bin:/bin:/usr/bin:/usr/syno/bin"
PYTHON="/usr/local/python27"
preinst ()
{
exit 0
}
postinst ()
{
# Link
ln -s ${SYNOPKG_PKGDEST} ${INSTALL_DIR... | Ximi1970/spksrc-ximi | spk/python27-virtualenv/src/installer.sh | Shell | bsd-3-clause | 1,237 |
#!/bin/sh -e
. package/info
echo '#'
echo '# This file has been generated by tools/gen-deps.sh'
echo '#'
echo
internal_libs=
for dir in src/include/${package} src/* ; do
for file in $(ls -1 $dir | grep -- \\.h$) ; do
{
grep -F -- "#include <${package}/" < ${dir}/$file | cut -d'<' -f2 | cut -d'>' -f1 ;
... | skarnet/s6-linux-init | tools/gen-deps.sh | Shell | isc | 2,736 |
#!/bin/bash
FN="pd.guigene.1.1.st_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/pd.guigene.1.1.st_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.guigene.1.1.st_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.guigene.1.1.st/bioconductor-... | roryk/recipes | recipes/bioconductor-pd.guigene.1.1.st/post-link.sh | Shell | mit | 1,466 |
#!/bin/sh
### multiple command tests ###
../bin/rshell < multi_command_test
| jkuzn001/rshell | tests/multi_command.sh | Shell | mit | 77 |
#!/bin/bash
srcdir="StRoot"
[ -e $srcdir ] && rm -rfv $srcdir
mkdir -p $srcdir
git clone https://github.com/tschaume/BesCocktail.git $srcdir/BesCocktail
| tschaume/ckon | test/clone_testdir.sh | Shell | mit | 154 |
#!/usr/bin/env bash
export OS_AUTH_URL=http://192.168.67.180:5000/v2.0
export OS_TENANT_NAME="demo"
# unsetting v3 items in case set
unset OS_PROJECT_ID
unset OS_PROJECT_NAME
unset OS_USER_DOMAIN_NAME
export OS_USERNAME="admin"
export OS_PASSWORD="openstack"
# If your configuration has multiple regions, we set that... | markuszoeller/openstack | scripts/vagrant/libvirt-qemu-source-U1404-VB/files/credentials.sh | Shell | mit | 653 |
#!/bin/bash
# Exit the script if one of the commands fails
set -e
# Directory where entire Django application is located
#APPLICATION_DIR="/vagrant"
APPLICATION_DIR="/home/lnguyen/RAPID"
# Default external configuration files
CELERY_CONFIGS_DIR="$APPLICATION_DIR/external_configs/celery"
APACHE_CONFIGS_DIR="$APPLICAT... | gdit-cnd/RAPID | install.sh | Shell | mit | 2,386 |
#!/bin/bash
n=0
TIMES=5
while [[ $n -le $TIMES ]]; do
enip_client -p -l tmp/cpppo-client.err \
-a 192.168.1.10 pump3[$n]=$n | tee -a tmp/cpppo-client.out
sleep 1
n=$((n+1))
done
| remmihsorp/minicps | scripts/cpppo/client4plc1.sh | Shell | mit | 200 |
#!/bin/bash
DOCKER=${DOCKER:="sudo docker"}
IPTABLES=${IPTABLES:="sudo iptables"}
SELENIUM_VERSION="2.44.0"
SERVER_IMAGE="singpath/verifier-server"
PYTHON_IMAGE="singpath/verifier-python3"
JAVASCRIPT_IMAGE="singpath/verifier-javascript"
ANGULARJS_IMAGE="singpath/verifier-angularjs"
ANGULARJS_STATIC_IMAGE="singpath/v... | blueset/docker-code-verifier | server/bin/startup_run.sh | Shell | mit | 2,771 |
jekyll serve --host=0.0.0.0
| rvantonder/site-option-3 | serve.sh | Shell | mit | 28 |
#!/usr/bin/env bash
# Font Logos (Font Linux) (29 icons)
# Codepoints: Nerd Fonts moved F100-F11C with holes → F300-F31C
# Nerd Fonts Version: 2.1.0
# Script Version: 1.1.0
test -n "$__i_linux_loaded" && return || __i_linux_loaded=1
i='' i_linux_alpine=$i
i='' i_linux_aosc=$i
i='' i_linux_apple=$i
i='' i_linux_arch... | paulopatto/dotfiles | fonts/bin/scripts/lib/i_linux.sh | Shell | mit | 1,054 |
#!/usr/bin/env bash
#
#
source `dirname $0`/common.sh
TEST_CASE="ATOS play tradeoffs"
$ROOT/bin/atos-init \
-r "$SRCDIR/examples/sha1-c/run.sh" \
-b "gcc -o sha1-c $SRCDIR/examples/sha1-c/sha.c $SRCDIR/examples/sha1-c/sha1.c"
$ROOT/bin/atos-opt -r -a "-O0"
$ROOT/bin/atos-opt -r -a "-O1"
$ROOT/bin/atos-opt... | knochelh/atos-utils | tests/test039.sh | Shell | gpl-2.0 | 695 |
#!/bin/sh
test_description='basic work tree status reporting'
. ./test-lib.sh
test_expect_success setup '
git config --global advice.statusuoption false &&
test_commit A &&
test_commit B oneside added &&
git checkout A^0 &&
test_commit C oneside created
'
test_expect_success 'A/A conflict' '
git checkout B^0 ... | sunny256/git | t/t7060-wtstatus.sh | Shell | gpl-2.0 | 5,665 |
#!/usr/bin/bash
#
# Stage 5:
#- Update production database using develop database in Cloud SQL.
#
# @author: Omar Trejo
# @date: July, 2015
#
# Requires:
# - Proyect
# - Production bucket
# - Cloud SQL instance
# - Cloud SQL database
#
# TODO:
# - Verify data
# - Logs
#
# db update production: actualiza BD remota de... | Datata/google_cloud_project_management_scripts | db_update_production.sh | Shell | gpl-2.0 | 383 |
export PATH="`pwd`/.pyenv/bin:$PATH"
export PYENV_ROOT="`pwd`/.pyenv"
eval "$(pyenv init -)"
pyenv shell project_env
| midnighteuler/pyproj | pyenv_paths.sh | Shell | gpl-2.0 | 117 |
#!/bin/bash
# The variables have defaults that can be set from outside, e.g. via -e "DB_HOST=mydbms" or from the docker-compose.yml file.
# Also see https://docs.docker.com/engine/reference/builder/#environment-replacement
webapi_client_protocol=${WEBUI_API_CLIENT_PROTOCOL:-https}
webapi_client_host=${WEBUI_API_CLIENT... | metasfresh/metasfresh-webui-frontend | docker/nginx/start_webui.sh | Shell | gpl-2.0 | 2,754 |
# Copyright: 2020 Masatake YAMATO
# License: GPL-2
CTAGS=$1
O0=/tmp/ctags-tstamp-$$.c
O1=/tmp/ctags-tstamp-$$.h
O2=/tmp/ctags-tstamp-$$.m
cat > $O0 <<EOF
int main (void)
{
return 0;
}
EOF
cat > $O1 <<EOF
extern void foo (void);
EOF
cat > $O2 <<EOF
#import <class.h>
EOF
is_json_avaiable()
{
$1 --quiet --options=... | universal-ctags/ctags | Tmain/epoch-field.d/run.sh | Shell | gpl-2.0 | 1,004 |
#!/bin/bash
#
##################################################################################################################
# Written to be used on 64 bits computers
# Author : Erik Dubois
# Website : http://www.erikdubois.be
#####################################################################################... | erikdubois/ArchGnome | installation/settings/all-shortcuts-cinnamon/dconf_load_arch.sh | Shell | gpl-2.0 | 1,019 |
#!/bin/bash
#
# Streisand yamllint wrapper
#
# This test script finds all of the *.yml files in the project tree and
# runs yamllint against them.
#
# Fail on errors
set -e
# Ensure yamllint is present
if ! command -v yamllint > /dev/null 2>&1; then
echo "The 'yamllint' comand was not found in your PATH."
ech... | ryanshaw/streisand | tests/yamlcheck.sh | Shell | gpl-3.0 | 1,135 |
#!/bin/bash
#PBS -l walltime=4:00:00
#PBS -l nodes=1:ppn=2
#PBS -l vmem=32G
#PBS -N Baltic_1_2_4_375_5_no_no_no_no
cd /zhome/fc/e/102910/maritime-vrp/build
LD_LIBRARY_PATH=/zhome/fc/e/102910/gcc/lib64 ./maritime_vrp ../data/old_thesis_data/program_params.json ../data/new/Baltic_1_2_4_375_5_no_no_no_no.json
| OR-Bologna/maritime-vrp | opt/launchers/Baltic_1_2_4_375_5_no_no_no_no.sh | Shell | gpl-3.0 | 308 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/logs/w-11_2/20161108T013502+0000/00/00/taskevent_0_ID0000006.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/bash -ex
VERSION_FILE_URL=$S3_BUCKET/$WERCKER_GIT_BRANCH.version
if [ -z $(s3cmd ls $VERSION_FILE_URL) ]; then
echo 0 >VERSION
s3cmd put VERSION $VERSION_FILE_URL
else
s3cmd get $VERSION_FILE_URL VERSION
fi
VERSION=$(($(cat VERSION) + 1))
echo $VERSION >VERSION
s3cmd put VERSION $S3_BUCKET/$WERCKER_GIT_BRA... | sinan/koding | scripts/wercker/generate-version.sh | Shell | agpl-3.0 | 332 |
#!/bin/sh
touch /var/log/queuebuild.log
chown builder /var/log/queuebuild.log
su - builder -c "/srv/builder/Projects/korinf/robot/queuewatcher.sh $1 >/var/log/queuebuild.log 2>&1 &"
sleep 2
| vitlav/korinf | robot/service/queuewatcher.sh | Shell | agpl-3.0 | 190 |
# added 2015-04-30 by Rainer Gerhards
# This file is part of the liblognorm project, released under ASL 2.0
. $srcdir/exec.sh
test_def $0 "v2-iptables field"
add_rule 'version=2'
add_rule 'rule=:iptables output denied: %{"name":"field", "type":"v2-iptables"}%'
# first, a real-world case
execute 'iptables output denie... | janmejay/liblognorm | tests/field_v2-iptables_jsoncnf.sh | Shell | lgpl-2.1 | 2,584 |
#!/bin/bash
set -e
set +h
. /etc/alps/alps.conf
. /var/lib/alps/functions
SOURCE_ONLY=n
NAME="liblastfm"
DESCRIPTION="A Qt C++ library for the Last.fm webservices"
VERSION="1.0.9"
#REQ:libfftw3
URL=http://archive.ubuntu.com/ubuntu/pool/universe/libl/liblastfm/liblastfm_1.0.9.orig.tar.gz
cd $SOURCE_DIR
wget -nc $... | FluidIdeas/parsers | blfs-resources/extrascripts/liblastfm.sh | Shell | lgpl-2.1 | 656 |
export DEBIAN_FRONTEND=noninteractive
if [ -f /etc/lsb-release ]; then
. /etc/lsb-release
fi
apt-get update
apt-get -y install curl
sed -i -e '/Defaults\s\+env_reset/a Defaults\texempt_group=sudo' /etc/sudoers
sed -i -e 's/%sudo ALL=(ALL:ALL) ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
echo "UseDNS no" >> /etc/s... | lattwood/st2workroom | packer/script/ubuntu/base.sh | Shell | apache-2.0 | 918 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); ... | Grasia/swellrt | wave/dist/run-export.sh | Shell | apache-2.0 | 1,137 |
#!/bin/bash
python3 client.py
| codetojoy/gists | python/flask_jul_2020/run_client.sh | Shell | apache-2.0 | 32 |
#!/bin/bash
# Define a bunch of functions and set a bunch of variables
TEST_DIR=$(readlink -f `dirname "${BASH_SOURCE[0]}"` | grep -o '.*/oshinko-s2i/test/e2e')
SCRIPT_DIR=$(readlink -f `dirname "${BASH_SOURCE[0]}"`)
source $TEST_DIR/common
source $SCRIPT_DIR/del_pod_completed
set_worker_count $S2I_TEST_WORKERS
os::... | rimolive/oshinko-s2i | test/e2e/ephemeral/ephemeral_named_del_pod_completed.sh | Shell | apache-2.0 | 501 |
#!/bin/bash
sudo apt-get install -y apache2-utils | DarioValocchi/son-qual | qual-stress-monitoring/deploytestenv.sh | Shell | apache-2.0 | 50 |
sudo rpm -Uvh tb-gateway-1.2.rpm | haibaoyf/haibaoyf.github.io | docs/iot-gateway/install/resources/tb-gateway-centos-installation.sh | Shell | apache-2.0 | 32 |
#!/bin/sh
set -e
# set -x
VERSION="1.4.4.RELEASE"
if [ -z "${PREFIX}" ]; then
PREFIX="/usr/local/bin"
fi
if [ -z "${JAR_FILE}" ]; then
JAR_FILE="/tmp/spring.zip"
if [ -z "${JAR_URL}" ]; then
case "${VERSION}" in
*SNAPSHOT) REPO=snapshot ;;
*.M*) REPO=milestone ;;
... | Arsene07/forge | initializr-web/src/main/resources/static/install.sh | Shell | apache-2.0 | 2,610 |
#!/usr/bin/env bash
# This step should install tools needed for all packages - OpenSSL, Expat and Unbound
# brew update hangs, so we try to skip that step.
#echo "Updating tools"
#brew update 1>/dev/null
echo "Installing tools"
# already installed are: autoconf automake libtool pkg-config
#brew install curl perl 1>/de... | NLnetLabs/unbound | contrib/ios/install_tools.sh | Shell | bsd-3-clause | 388 |
#!/bin/bash
# NOTE: For most purposes you need not touch this file.
export BU_SCRIPT_DIR="${PROJECT_ROOT}/build_tool/bu.scripts"
export PEP8_BINARY="pep8 --max-line-length=80 --ignore=E111"
export PYLINT_RC_FILE="${BU_SCRIPT_DIR}/pylint.rc"
init_working_dirs() {
BUILD_ROOT_MOD=$(echo ${BUILD_ROOT} | sed "s|/|_|g")... | jkumarrf/mool | shared_settings.sh | Shell | bsd-3-clause | 548 |
#!/bin/bash
# This script preprocesses bitext with Byte Pair Encoding for NMT.
# Executes the following steps:
# 1. Tokenize source and target side of bitext
# 2. Learn BPE-codes for both source and target side
# 3. Encode source and target side using the codes learned
# 4. Shuffle bitext for SGD
# ... | nyu-dl/dl4mt-tutorial | data/preprocess.sh | Shell | bsd-3-clause | 2,654 |
Script started on Fri 04 Mar 2016 08:06:32 PM PST
]0;ybern004@hammer:~/CS-100/assign3/rshell/src[?1034h[ybern004@hammer src]$ make
g++ -Wall -Werror -ansi -pedantic rshell.cpp -o rshell.out
]0;ybern004@hammer:~/CS-100/assign3/rshell/src[ybern004@hammer src]$ ./rshell.cpp[K[K[Kout
ybern004@hammer.cs.ucr.ed... | vravi001/rshell | src/tests/precedence_test.sh | Shell | bsd-3-clause | 1,739 |
#!/bin/bash
#defined constants
repos_path=http://cbs.centos.org/repos/
default_size=8
function existsParam
{
if test $2 -le 1; then
echo "No $1 specified"
exit 1
fi
}
function usage
{
echo "Usage:"
echo " vm-install.sh -t|--tree TREE"
echo " ... | khardix/sclo-ci-tests | vm/vm-install.sh | Shell | bsd-3-clause | 4,628 |
# Create LAMMPS input files this way:
cd moltemplate_files
# Run moltemplate with the "-allow-wildcards" and "-nocheck" arguments
# as well as a custom -atomstyle
moltemplate.sh -atomstyle "atomid atomtype flag density x y z" system.lt \
-allow-wildcards -nocheck
# This will generate various... | quang-ha/lammps | tools/moltemplate/examples/coarse_grained/ellipsoids_CG_benzene/README_setup.sh | Shell | gpl-2.0 | 685 |
#!/bin/ash
pause()
{
usleep 20000
}
sdi()
{
# SET SDI VALUE
echo $1 > /sys/class/gpio/gpio5/value
echo 'set to' $1
pause
# CLK UP
echo 1 > /sys/class/gpio/gpio2/value
pause
# CLK DOWN
echo 0 > /sys/class/gpio/gpio2/value
pause
}
latch()
{
# SET LATCH V... | bonnaffe/buildroot | board/monkeeeys-pad/addons/ST-LED2472G-test/backup/latch.sh | Shell | gpl-2.0 | 1,402 |
# This file is part of Relax-and-Recover, licensed under the GNU General
# Public License. Refer to the included COPYING for full text of license.
#
# 400_restore_clone.sh
LogPrint "Restoring $backuparchive to $BLOCKCLONE_SOURCE_DEV \
using $BLOCKCLONE_PROG"
# Target device does not exist, abort
if [ ! -b "$BLOCKCLON... | jsmeix/rear | usr/share/rear/restore/BLOCKCLONE/default/400_restore_clone.sh | Shell | gpl-3.0 | 1,858 |
#!/bin/bash
dnf install libselinux-python
| allmightyroot/sysprep | sysprep.fedoraws.sh | Shell | gpl-3.0 | 43 |
#!/bin/sh
. "${TEST_SCRIPTS_DIR}/unit.sh"
define_test "set replicated read-only by name"
setup_ctdbd <<EOF
NODEMAP
0 192.168.20.41 0x0 CURRENT RECMASTER
1 192.168.20.42 0x0
2 192.168.20.43 0x0
DBMAP
0x7a19d84d locking.tdb
0x4e66c2b2 brlock.tdb
0x4d2a432b g_lock.tdb
0x7132c184 secrets.tdb... | sathieu/samba | ctdb/tests/tool/ctdb.setdbreadonly.005.sh | Shell | gpl-3.0 | 1,105 |
#!/bin/bash
# This script will download and setup a cross compilation environment
# for targetting Win32 from Linux. It can also be used to build on
# Windows under the MSYS/MinGW environment. It will use the GTK
# binaries from Tor Lillqvist.
TOR_URL="http://ftp.gnome.org/pub/gnome/binaries/win32";
TOR_BINARIES=( \... | gcampax/cogl | build/mingw/mingw-fetch-dependencies.sh | Shell | lgpl-2.1 | 10,206 |
DROP=$(mysql -p"_atossla_" -u atossla atossla <<< "show tables" | grep -v "Tables" | sed -e's/\(.*\)/drop table \1; /')
SQL=$(echo "SET FOREIGN_KEY_CHECKS=0;" && echo $DROP)
echo "$SQL" | mysql -p -u atossla atossla
| Fiware/ops.Sla-framework | sla-core/bin/dropTables.sh | Shell | apache-2.0 | 216 |
#!/bin/sh
set -e
set -x
VERSION="$1"
HASH="$2"
cd /tmp
wget -qO "wal-g-$VERSION.tar.gz" \
"https://github.com/wal-g/wal-g/releases/download/v$VERSION/wal-g.linux-amd64.tar.gz"
# Check not against the arbitrary provided sha256 on Github, but
# against the (same) sha256 that we hardcode as "known good".
echo "$H... | synicalsyntax/zulip | scripts/setup/install-wal-g.sh | Shell | apache-2.0 | 557 |
#!/bin/bash
# Dep propagation
# MicroBenchmark latency and through as we increase # of dependencies
set -u
#######################################
#
# Cluster Setup
#
#######################################
# MicroBenchmark => 1 dc, 1 machine only
set -x
# Setup differs depending on where I launch this from
machi... | tadeegan/eiger | experiments/dep_propagation.bash | Shell | apache-2.0 | 4,738 |
#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distri... | apache/aurora | src/test/sh/org/apache/aurora/e2e/test_kerberos_end_to_end.sh | Shell | apache-2.0 | 4,856 |
#!/usr/bin/env sh
# A script to bootstrap cabal-install.
# It works by downloading and installing the Cabal, zlib and
# HTTP packages. It then installs cabal-install itself.
# It expects to be run inside the cabal-install directory.
# Install settings, you can override these by setting environment vars. E.g. if
# yo... | plumlife/cabal | cabal-install/bootstrap.sh | Shell | bsd-3-clause | 15,423 |
#!/usr/bin/env bash
# Stop in case of error
set -e
###########################
# Helpers functions
###########################
# Print script help
print_usage()
{
echo "Usage: $0 <github_username> <install_dir>"
echo
echo " github_username: username on GitHub for which the EasyBuild repositories s... | nesi/easybuild-framework | easybuild/scripts/install-EasyBuild-develop.sh | Shell | gpl-2.0 | 3,829 |
#!/bin/bash
source "${BASEDIR}/scripts/platform.inc"
source "${BASEDIR}/scripts/lib_versions.inc"
# Grab the source for the library
OPENSSL_TGZ="openssl-${OpenSSL_VERSION}.tar.gz"
OPENSSL_SRC="openssl-${OpenSSL_VERSION}"
cd "${BUILDDIR}"
if [ ! -d "$OPENSSL_SRC" ] ; then
if [ ! -e "$OPENSSL_TGZ" ] ; then
echo "Fe... | livecodestephen/livecode | prebuilt/scripts/build-openssl.sh | Shell | gpl-3.0 | 4,585 |
#!/usr/bin/env bash
if [ $# -le 2 ]; then
echo "write_to_hdfs.sh <sum of files> <filesize(KB)> <second>"
exit 1
fi
echo
sumoffiles=$1
filesize=$2
second=$3
rm /tmp/sumoffiles
echo "$sumoffiles" >> /tmp/sumoffiles
echo " " >> /tmp/log
date=$(date)
echo "=============================$date========================="... | submergerock/avatar-hadoop | build/hadoop-0.20.1-dev/bin/write_to_hdfs.sh | Shell | apache-2.0 | 4,404 |
kubectl create secret generic clouddriver-ro-config \
--from-file=clouddriver/ro/config/clouddriver-local.yaml \
--from-file=clouddriver/accounts/clouddriver.yaml \
--from-file=config/spinnaker.yaml \
--from-file=config/spinnaker-local.yaml \
--namespace=spinnaker
| stitchfix/spinnaker | experimental/kubernetes/ha/clouddriver/ro/startup-config.sh | Shell | apache-2.0 | 285 |
#
# Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Fo... | andreagenso/java2scala | test/J2s/java/openjdk-6-src-b27/jdk/test/java/util/PluggableLocale/DateFormatProviderTest.sh | Shell | apache-2.0 | 1,161 |
#!/bin/zsh -f
pkgutil --forget com.growl.growlmail.pkg
true
| mutru/growl | Release/GrowlMail/fixer-scripts/burninate-growl-receipt.zsh | Shell | bsd-3-clause | 61 |
#!/bin/bash
set -ex
if [ -z $ISE_DIR ]; then
ISE_DIR=/opt/Xilinx/ISE/14.7
fi
sed 's/DSP48 /DSP48_UUT /; /DSP48_UUT/,/endmodule/ p; d;' < ../cells_sim.v > test_dsp48_model_uut.v
if [ ! -f "test_dsp48_model_ref.v" ]; then
cp $ISE_DIR/ISE_DS/ISE/verilog/src/unisims/DSP48.v test_dsp48_model_ref.v
fi
for tb in mult_allreg... | SymbiFlow/yosys | techlibs/xilinx/tests/test_dsp48_model.sh | Shell | isc | 527 |
export ANT_VERSION=apache-ant-1.9.5
export ANT_MIRROR=http://mirror.nexcess.net/apache/ant/binaries
| lioramilbaum/Calavera | cookbooks/localAnt/env.sh | Shell | mit | 100 |
#!/bin/bash
# exit on first error
set -e
# directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ATTACKS_DIR="${SCRIPT_DIR}/sample_attacks"
TARGETED_ATTACKS_DIR="${SCRIPT_DIR}/sample_targeted_attacks"
DEFENSES_DIR="${SCRIPT_DIR}/sample_defenses"
DATASET_DIR="${SCRIPT_D... | fartashf/cleverhans | examples/nips17_adversarial_competition/run_attacks_and_defenses.sh | Shell | mit | 1,794 |
#! /bin/sh
# Copyright (C) 2011-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | DDTChen/CookieVLC | vlc/extras/tools/automake/t/aclocal-path-install-serial.sh | Shell | gpl-2.0 | 2,078 |
#!/bin/sh
test_description='git status with file system watcher'
. ./test-lib.sh
#
# To run the entire git test suite using fsmonitor:
#
# copy t/t7519/fsmonitor-all to a location in your path and then set
# GIT_FSMONITOR_TEST=fsmonitor-all and run your tests.
#
# Note, after "git reset --hard HEAD" no extensions e... | Ikke/git | t/t7519-status-fsmonitor.sh | Shell | gpl-2.0 | 8,891 |
# This script has been replaced, it is now hosted in the rudder-package repository
# You can find it in https://github.com/Normation/rudder-packages/tree/master/rudder-webapp/SOURCES
#
# If you are running rudder 3.0 or later, you can simply call /opt/rudder/bin/rudder-metrics-reporting instead
| peckpeck/rudder-tools | scripts/rudder_metrics_reporting.sh | Shell | gpl-3.0 | 296 |
#!/bin/bash
# Copyright 2015 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | KazukiOhashi/kubernetes | cluster/gce/coreos/helper.sh | Shell | apache-2.0 | 6,098 |
CFG_FILE="${SYNOPKG_PKGDEST}/var/sockd.conf"
BIN="${SYNOPKG_PKGDEST}/sbin/sockd"
SC_GROUP="sockd-users"
SC_GROUP_DESC="Users with access to proxy server"
SERVICE_COMMAND="${BIN} -f ${CFG_FILE} -p ${PID_FILE} -D"
service_postinst ()
{
if [ "${SYNOPKG_PKG_STATUS}" == "INSTALL" ]; then
auth_method=$([ "${wi... | Zetten/spksrc | spk/dante-sockd/src/service-setup.sh | Shell | bsd-3-clause | 1,139 |
#!/bin/bash -eu
#
# Copyright 2017 Open GEE Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | tst-ppenev/earthenterprise | earth_enterprise/src/fusion/tools/gee_test/publish_historical.sh | Shell | apache-2.0 | 2,588 |
#!/bin/bash
PROTOCOL_VERSION='3.0.0'
function process {
#Status msgs
I_EVERYTHING_OK=(0 'All files has been loaded.')
#Error msgs
E_PARSING_FILE_NAME=(50 'Error when parsing filename')
E_HOME_DIR_NOT_EXISTS=(51 'Home for ${DST_HOME_DIR} not found.')
E_PARSING_GID=(52 'Cannot get GID for user ${USER_NAME}')
E_... | sustr4/perun-services | slave/process-sshkeys-generic/bin/process-sshkeys_generic.sh | Shell | bsd-2-clause | 2,139 |
#!/bin/bash
FN="LungCancerACvsSCCGEO_1.30.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/experiment/src/contrib/LungCancerACvsSCCGEO_1.30.0.tar.gz"
"https://bioarchive.galaxyproject.org/LungCancerACvsSCCGEO_1.30.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-lungcanceracvssccgeo/b... | cokelaer/bioconda-recipes | recipes/bioconductor-lungcanceracvssccgeo/post-link.sh | Shell | mit | 1,352 |
#!/usr/bin/env bash
#
# Copyright (c) 2008-2017 the Urho3D project.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, co... | c4augustus/Urho3D | cmake_clean.sh | Shell | mit | 1,478 |
#!/bin/sh
#
# Copyright (c) 2005 Junio C Hamano
#
test_description='git mailinfo and git mailsplit test'
. ./test-lib.sh
DATA="$TEST_DIRECTORY/t5100"
test_expect_success 'split sample box' \
'git mailsplit -o. "$DATA/sample.mbox" >last &&
last=$(cat last) &&
echo total is $last &&
test $(cat last) = 18'
check_... | abg1979/git | t/t5100-mailinfo.sh | Shell | gpl-2.0 | 7,776 |
#!/bin/sh
# The current directory is a mounted volume, and is owned by the
# user running Docker on the host machine.
#
# We don't want to trample all over the contents of this directory
# with files owned by root. So create a new user with the same UID,
# and drop privileges before running any commands.
# Get the num... | jpetto/olympia | scripts/start-docker.sh | Shell | bsd-3-clause | 621 |
#!/bin/sh
##**************************************************************
##
## Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
## University of Wisconsin-Madison, WI.
##
## Licensed under the Apache License, Version 2.0 (the "License"); you
## may not use this file except in compliance with the L... | djw8605/htcondor | src/condor_startd.V6/glexec_starter_setup.sh | Shell | apache-2.0 | 866 |
#!/bin/sh
STATIC_DIR=/app node app.js | standino/go-easy-portal | static/malhar-dashboard-webapp/start_dev.sh | Shell | mit | 37 |
#!/bin/sh
#
# Uninstall ODBC driver and system DSN
# $1 driver name
# $2 DSN name
which odbcinst > /dev/null || {
echo >&2 "no usable odbcinst program"
exit 1
}
odbcinst -u -d -n "$1" || true
odbcinst -u -l -s -n "$2" || true
| apavlo/h-store | third_party/cpp/berkeleydb/lang/sql/odbc/drvdsnuninst.sh | Shell | gpl-3.0 | 246 |
#!/usr/bin/env bash
#
# Copyright 2014 Atos
# Contact: Atos <roman.sosa@atos.net>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.... | mbarrientos/SeaCloudsPlatform | sla/sla-core/bin/generate-appendix.sh | Shell | apache-2.0 | 8,238 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.