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 sudo true sudo apt-get install --yes \ apt-transport-https \ ca-certificates \ curl curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ st...
edlund/pilcrow
util/ubuntu/xenial/Docker.sh
Shell
gpl-3.0
414
#!/usr/bin/env bash set -e echo "Installing dependencies" sudo apt-get install -q -y python-software-properties sudo apt-add-repository -y ppa:ansible/ansible sudo apt-get update -q sudo apt-get install -q -y ansible echo "Install php dependencies" composer install echo "Downloading and unzipping odm_automation" wge...
OpenDevelopmentMekong/wpckan
_ci/install.sh
Shell
gpl-3.0
716
#!/bin/sh PROGRAM=miniweb DEST=/usr/local/bin install --compare $PROGRAM $DEST ls -l $DEST/$PROGRAM
berndhs/miniweb
systeminst.sh
Shell
gpl-3.0
104
#!/bin/sh [ -n "$tests_included" ] && return tests_included=true test_readable_file() { [ ! -d "$1" ] && [ -r "$1" ] } test_writable_dir() { [ -d "$1" ] && [ -w "$1" ] } test_installed() { which "$1" >/dev/null } test_number() { # checks if value is a number. prints number to stdout if # test s...
jk977/twitch-plays
shell/tests.sh
Shell
gpl-3.0
464
#!/bin/bash name=$1 if [ -z "$1" ]; then echo "usage $0 [container-name]" echo "example: $0 php" exit fi container_id=`docker ps -aql -f "name=$name"` if [ ! -z "$container_id" ]; then docker stop $container_id docker rm $container_id fi
colt-xie/dockers
delete.sh
Shell
gpl-3.0
258
sh tulip_run_test.sh layout_ogdf_planarization_grid grid_approximation.tlp
jukkes/TulipProject
unit_test/gui/run_layout_ogdf_planarization_grid_test.sh
Shell
gpl-3.0
75
#!/bin/bash function test_dEploid { echo -n " dEploid $@ " for i in `seq 1 1`; do echo -n "." # Test using dEploid self-checks ./dEploid_dbg $@ -seed $i > /dev/null if [ $? -ne 0 ]; then echo "" echo "Executing \"./dEploid_dbg $@ -seed $i\" failed." echo "Debug Call: make -mj2 dE...
mcveanlab/DEploid
tests/test_binary.sh
Shell
gpl-3.0
2,445
#! /usr/bin/lua -- This shell script executes a system call (executes curl, piped to jshon), which will fetch a JSON stream from the Hackerspace Bremen website. -- os.execute "curl -s https://hackerspacehb.appspot.com/v2/status | jshon" -- -- EOF
arktisvogel/wooden-head-hsb-notifier
src/wooden-head-hsb-notifier.sh
Shell
gpl-3.0
248
#!/bin/bash echo "64hello78"; ./dozstring -n -xA -eB -p'&' -c"64hello78"; echo "------------------------------"; echo "73hello 54what 1492 stop it who 11 how 45* hello 15yes yes15 what.now"; ./dozstring -n -xA -eB -p'&' -c"73hello 54what 1492 stop it who 11 how 45* hello 15yes yes15 what.now"; echo "----------------...
dgoodmaniii/dozenal-droid
DozcalDroid/jni/dozstring/strtest.sh
Shell
gpl-3.0
520
#!/bin/sh baseDir=/opt/rpmrepo cd ${baseDir}/rpmbuild #clear && rpmbuild -ba SPECS/tomdavidson-repo.spec --sign echo 'Searching for rpms...' for arch in i386 x86_64 noarch; do for rpm in `ls ./RPMS/${arch}/*.rpm 2> /dev/null`; do echo " Found ${rpm}" mv ${rpm} ${baseDir}/repo/Centos/6/${arch}/ done done for rp...
Tom-Davidson/rpmrepo
rpmbuild/build.sh
Shell
gpl-3.0
435
#!/bin/bash # NO PRODUCTION SAFE WARRANTY!! # Using GET to retrieve all meta data on EC2 instance. digger () { PADDRESS=$1; for ENTRY in `GET $PADDRESS`; do LEN=$((${#ENTRY}-1)); LC=${ENTRY:$LEN:1}; if [ $LC == "/" ]; then # Container NEWPA...
iceflow/aws-demo
tools/get-metadata.sh
Shell
gpl-3.0
908
#!/usr/bin/env bash set -e read -d '' getRatioBuckets <<-'EOF' || true def requestClassificationCount(prop): .requestedUrls | map( select( .classification and ( .classification | (prop == true) ) ) ) | length; def disconnectUrls: .requestedUrls | map( select( .blocks and .blocks.dis...
joelpurra/har-dulcify
src/questions/ratio-buckets.sh
Shell
gpl-3.0
1,946
#!/bin/bash # T-Pot Container Data Cleaner & Log Rotator # Set colors myRED="" myGREEN="" myWHITE="" # Set pigz myPIGZ=$(which pigz) # Set persistence myPERSISTENCE=$1 # Let's create a function to check if folder is empty fuEMPTY () { local myFOLDER=$1 echo $(ls $myFOLDER | wc -l) } # Let's c...
dtag-dev-sec/tpotce
bin/clean.sh
Shell
gpl-3.0
10,881
#!/bin/bash #$ -cwd #$ -l rt_F=1 #$ -l h_rt=01:00:00 #$ -N benchmarker-deepcam #$ -j y #$ -o $JOB_NAME.o$JOB_ID # run with: qsub -g gcb50300 <this file> source /etc/profile.d/modules.sh module load gcc/9.3.0 module load python/3.8/3.8.7 module load cuda/11.2/11.2.2 python3 -m benchmarker \ --gpus=0 \ ...
undertherain/benchmarker
scripts/abci/deepcam-submit.sh
Shell
mpl-2.0
447
#!/bin/bash # check required environment variables are there : ${ANDROID_HOME:?"Need to set ANDROID_HOME non-empty"} if [ -d "src/platforms/android" ] then echo "Android already prepared, skipping." else # Work in the src directory cd src # add android platform ./node/node ./node_modules/.bin/cordova platf...
ttiurani/extendedmind
frontend/cordova/prepare-android.sh
Shell
agpl-3.0
1,656
#!/bin/bash echo "Starting chld4.sh" #while [[ 1 == 1 ]]; do # sleep 1 #done # # Forkless sleep # read < ./test25_sleep.fifo
endurox-dev/endurox
atmitest/test025_cpmsrv/chld4.sh
Shell
agpl-3.0
138
# # ScreenInvader - A shared media experience. Instant and seamless. # Copyright (C) 2012 Amir Hassan <amir@viel-zu.org> # # 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 of th...
screeninvader/ScreenInvader
.functions.sh
Shell
agpl-3.0
3,150
#!/bin/bash myoutsideip=$(curl https://api.ipify.org 2>/dev/null) ipipapi=$(curl -L http://freeapi.ipip.net/?ip="$myoutsideip" 2>/dev/null) myinsideip=$(curl myip.ipip.net 2>/dev/null) mylanip=$(curl ip.cn 2>/dev/null) echo "你的内网$mylanip" echo "你的外网$myinsideip" echo "你的当前海外访问及出口IP为: $myoutsideip,$ipipapi" sleep 5
kmahyyg/learn_py3
MyIP.sh
Shell
agpl-3.0
358
#!/bin/sh APP_PATH=~/Workspace/passbolt rm -fr $APP_PATH/app/Locale/default.pot $APP_PATH/app/Console/cake i18n extract --paths $APP_PATH/app/webroot/js/passbolt/,$APP_PATH/app/webroot/js/lb/, --app $APP_PATH/app/ --merge yes --output $APP_PATH/app/Locale mv $APP_PATH/app/Locale/default.pot $APP_PATH/app/Locale/jsDi...
et304383/passbolt_api
app/Console/build_po.sh
Shell
agpl-3.0
335
#!/bin/bash set -eu read -p "This will remove all node server and client modules. Are you sure? " -n 1 -r if [[ "$REPLY" =~ ^[Yy]$ ]]; then rm -rf node_modules client/node_modules fi
Green-Star/PeerTube
scripts/danger/clean/modules.sh
Shell
agpl-3.0
188
#!/bin/sh # Parameters: # $1 = source dir # $2 = dst dir # $top_builddir = well you guessed it die_if_not_dir() { local dir for dir in "$@"; do test -d "$dir" && continue echo "Error: '$dir' is not a directory" exit 1 done } # Ensure that created dirs/files have 755/644 perms umask 022 # Sanity tests die_...
fallmq/uClibc-0.9.30.1
extra/scripts/install_kernel_headers.sh
Shell
lgpl-2.1
2,725
#!/bin/bash source `dirname $0`/utils.sh NGINX_FILES=$APP_ROOT/nginx_runtime kill -QUIT $( cat $NGINX_FILES/logs/nginx.pid ) echo "nginx stopped!"
supermicah/zeus
bin/stop.sh
Shell
lgpl-2.1
151
#!/bin/bash # plink can be installed with # $ sudo apt-get install putty-tools if [[ $# -lt 6 || $# -gt 7 ]]; then echo " * Reconnect a Sumo to a given router instead of being an access point." echo " * Synposis: #0 WLAN_INTERFACE WLAN_ESSID WLAN_ROUTER_IP WLAN_CON_NAME SUMO_ESSID SUMO_NEW_IP [WLAN_WEP_KEY]"...
arnaud-ramey/rossumo
scripts/sumo2router_client.bash
Shell
lgpl-3.0
2,488
#!/usr/bin/env bash # This scripts queries and modifies CPU scaling frequencies to produce more # accurate benchmark results. To move from a low energy state C-state to a # higher one, run 'governor.sh performance'. To move back to a low power state # run 'governor.sh powersave' or reboot. The script is based on code ...
smessmer/cryfs
vendor/cryptopp/vendor_cryptopp/TestScripts/governor.sh
Shell
lgpl-3.0
1,795
#!/bin/sh . /opt/pyrame/ports.sh if test $# -lt 7 then echo "usage $0 matrix_id s1 s2 s3 a1 a2 a3 [strategy]" exit 1 fi chkpyr2.py localhost $PATHS_PORT next_matrix_paths $@
sbinet-staging/pyrame
motion/cmd_paths/next_matrix.sh
Shell
lgpl-3.0
179
#!/usr/bin/env bash set -e PT_OPWD=$PWD cd -- "$(dirname "$(readlink "$0" || printf '%s\n' "$0")")" source ./utils.lib.bash fail_wrong_usage() { printf >&2 '%s\n' "$*" printf >&2 '%s\n' "USAGE: $0 <build root> [{run:<suite> | skip:<suite>}...]" exit 2 } if (( $# < 1 )); then fail_wrong_usage "No bu...
shdown/luastatus
tests/pt.sh
Shell
lgpl-3.0
7,943
#!/bin/bash # Root folder where TurboParser is installed. root_folder="`cd $(dirname $0);cd ..;pwd`" export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${root_folder}/deps/local/lib" # Set options. language=$1 # Example: "slovene" or "english_proj". train_algorithm=svm_mira # Training algorithm. train_algorithm_pruner=crf_mi...
ilantc/Turbo-parser
scripts/train_test_parser.sh
Shell
lgpl-3.0
9,564
#!/bin/sh # vdemeester/obnam entrypoint test -z "$DESTINATION" && DESTINATION="/obnam/destination" test -z "$SOURCE" && SOURCE="/obnam/source" test -z "$CONFIG" && CONFIG="/obnam/config" OBNAM_OPTS="" if test -n "$1"; then DESTINATION=$1 shift fi if ! test "$(ls -A ${SOURCE})"; then echo "$SOURCE folder...
vdemeester/dockerfiles
obnam/obnam-entrypoint.sh
Shell
unlicense
600
#!/bin/bash shopt -s extglob rm !(*.c|*.sh|*.md|LICENSE)
skybon/timus
clean.sh
Shell
apache-2.0
57
#!/bin/bash # make a backup of my git repos on github/gitlab/bitbucket/etc. set -e # stops bash if any command fails git config --global credential.helper "cache --timeout=3600" DATE=`date '+%Y-%m-%d'` mkdir -p gits-$DATE cd gits-$DATE function f_github() { git clone git@github.com:$1/$2.git # use SSH key ...
rboman/progs
sandbox/bash/bck_rep_git.sh
Shell
apache-2.0
2,851
pkg_origin=core pkg_name=ant pkg_version=1.10.1 pkg_maintainer='The Habitat Maintainers <humans@habitat.sh>' pkg_license=('Apache-2.0') pkg_source=https://github.com/apache/ant/archive/rel/$pkg_version.tar.gz pkg_shasum=8bb3211dd7c849cfd61fb7573c8054909bddbc0f35ec5bed846cde6b132b11a6 pkg_deps=(lilian/coreutils lilian/j...
be-plans/be
ant/plan.sh
Shell
apache-2.0
610
#!/bin/bash YARA=3.5.0 GEOIP=1.6.0 MOLOCH=0.17.1 #Usage and Input Arguments if [ -n "$3" ]; then export TOOLCHAINDIR=$1 export TARGETDIR=$2 export FILESDIR=$3 export PREFIX=/usr export TDIR=/root/moloch else echo "Usage: openwrt-moloch /full/path/to/your/openwrt/toolchain /full/path/to/your/openwrt/target /full...
prywesee/easybuttons
openwrt-moloch.sh
Shell
apache-2.0
5,226
#!/bin/bash # http://redsymbol.net/articles/unofficial-bash-strict-mode/ set -euo pipefail IFS=$'\n\t' test_file="./ghe-backup-test/region-replacement/convert-kms-private-ssh-key.sh" ../replace-convert-properties.sh "###REGION###" "eu-west-1" $test_file if grep -Fxq "###REGION###" "$test_file" then exit 1 # NO s...
zalando/ghe-backup
bashtest/test-replace-convert-properties.sh
Shell
apache-2.0
356
#!/bin/sh set -ex . infra/install_rust.sh cargo build cargo test
notriddle/aelita
infra/build_dynamic.sh
Shell
apache-2.0
66
#!/usr/bin/env bash . service.sh install_app if [ $? -eq 0 ]; then start_jetty fi
stevenshlin/ismming
api/startup.sh
Shell
apache-2.0
87
#!/bin/bash function STOUT(){ $@ 1>/tmp/standard_out 2>/tmp/error_out if [ "$?" -eq "0" ] then cat /tmp/standard_out | awk '{print "[COUT]", $0}' cat /tmp/error_out | awk '{print "[COUT]", $0}' >&2 return 0 else cat /tmp/standard_out | awk '{print "[COUT]", $0}' ...
Lupino/containerops
component/java/analysis/pmd/compile.sh
Shell
apache-2.0
2,811
#!/bin/bash function cd_and_cmd() { local my_cmd="pwd" cd /tmp || return 1 eval $my_cmd || return 1 return 0 } function my_cd() { local my_cmd="echo 'running pwd:';pwd" eval $my_cmd || return 1 cd /tmp || return 1 return 0 } PWD=$(readlink -f $(dirname $0)) echo "PWD $PWD" pwd start_...
loafdog/loaf-src
scripts/bash-scripts/test-cd.sh
Shell
apache-2.0
565
#!/bin/bash -x # Local provisioning mode (host is Ansible controller) if [ $1 = "--local" ]; then if [ ! -d "~/the-app" ]; then git clone https://github.com/devops-dojo/the-app.git ~/the-app fi cd ~/the-app # Force reset local GIT repo to match Github git fetch --all git reset --hard origin/master ...
devops-dojo/the-app
vagrant/scripts/provision.sh
Shell
apache-2.0
2,077
#!/bin/bash ##----------------------------------------------------------------------------- ## Title : my_can ## Project : SeeGrip ## Library: : ##----------------------------------------------------------------------------- ## File name : my_can.sh ## Author : hhanff ## Company : DFKI ## Last ...
hhanff/software
bash/my_can.sh
Shell
apache-2.0
3,538
#!/bin/bash -e # define location of openssl binary manually since running this # script under Vagrant fails on some systems without it OPENSSL=/usr/bin/openssl function usage { echo "USAGE: $0 <output-dir> <cert-base-name> <CN> [SAN,SAN,SAN]" echo " example: $0 ./ssl/ worker kube-worker IP.1=127.0.0.1,IP.2=1...
ChinaCloud/ansible-kubernetes
roles/k8s-ssh/files/init-ssl.sh
Shell
apache-2.0
1,802
#!/bin/bash # # Install the Windows packaging tools on Ubuntu # set -e BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" USE_PREBUILT=true source $BASE_DIR/scripts/common.sh # Install mono if necessary if [ ! -f /usr/bin/nuget ]; then sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --re...
michaelkschmidt/fwup
scripts/ubuntu_install_chocolatey.sh
Shell
apache-2.0
1,734
#!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' export TLS_ENABLED=true export TLS_KEYSTORE=/tmp/keystore mvn clean install
rapidoid/rapidoid
bin/test-tls.sh
Shell
apache-2.0
128
#月流水 零售月流水 curl http://admin.gzlerong.com/index.php/Admin/Monitor/stream/key/3fa283d936cc83a698bfa14e94eced9b/type/month >> /home/bash.log; #代理月报表 curl http://admin.gzlerong.com/index.php/Admin/Monitor/agentstream/key/3fa283d936cc83a698bfa14e94eced9b/type/month >> /home/bash.log;
jelly074100209/gg_admin
Monitor/crontab_per_month.sh
Shell
apache-2.0
306
ulimit -n 5200 export PROV_PATH="./prov-files" export RUN_ID=$(date | md5 | awk '{print $1}') #mpiexec.hydra python -m dispel4py.new.processor mpi test.rtxcorr.rtxcorr3 -f $RUN_PATH/input python -m dispel4py.new.processor multi test.rtxcorr.xcorr_parallel -n 50 -f xcrr-input #python -m dispel4py.new.processor simple ...
aspinuso/dispel4py
launch-rtxcor-parallel.sh
Shell
apache-2.0
359
#!/bin/sh eval $(aws --region us-east-1 ecr get-login --no-include-email) docker build --no-cache -t 326027360148.dkr.ecr.us-east-1.amazonaws.com/airflow:latest . docker push 326027360148.dkr.ecr.us-east-1.amazonaws.com/airflow:latest
gilt/incubator-airflow
airflow/hbc_deployment/scripts/deployment/ecs/build_push_image.sh
Shell
apache-2.0
236
#!/usr/bin/env bash for SAMPLE in `bcftools query -l $1` do echo "Handling ${SAMPLE}..." bcftools view --exclude-uncalled --exclude-types ref -s ${SAMPLE} -O v $1 > $2.${SAMPLE}.vcf done
mahajrod/MACE
scripts/split_vcf_by_samples_bcftools.sh
Shell
apache-2.0
202
#!/system/bin/sh # Copyright (c) 2012, Code Aurora Forum. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice, this ...
alexforsale/android_device_hisense_msm7x27a-common
rootdir/init.qcom.class_main.sh
Shell
apache-2.0
4,529
#!/usr/bin/env bash echo Check command line parameter . $(pwd)/wikijournals.conf echo html directory: $HTMLDIR echo wikijournals directory: $WIKIDIR echo dbuser: $DBUSER echo dbpass: $DBPASS echo dbserver: $DBSERVER echo dbname: $DBNAME echo wikiuser: $WIKIUSER echo wikipwd: $WIKIPWD echo wikiname: $WIKINAME echo Me...
swertschak/wikijournals
install/linux/rollback_installation.sh
Shell
apache-2.0
803
set -x set -e export HDFS_ROOT=$1 # Build JAR ./gradlew clean jar # Create deploy dir at build/celos-deploy export DEPLOY_DIR=build/celos-deploy rm -rf $DEPLOY_DIR mkdir -p $DEPLOY_DIR/hdfs/lib # Copy files into deploy dir cp src/main/celos/* $DEPLOY_DIR/ cp src/main/oozie/* $DEPLOY_DIR/hdfs/ cp build/libs/* $DEPLOY...
collectivemedia/celos
samples/quickstart/ci/deploy.sh
Shell
apache-2.0
511
#!/bin/sh DOCKER_DIR=/open-falcon of_bin=$DOCKER_DIR/open-falcon DOCKER_HOST_IP=$(route -n | awk '/UG[ \t]/{print $2}') # Search $1 and replace with $2 or $3(defualt) replace() { replacement=$2 if [ -z "$replacement" ]; then replacement=$3 fi find $DOCKER_DIR/*/config/*.json -type f -exec sed -i...
open-falcon/falcon-plus
docker/ctrl.sh
Shell
apache-2.0
1,523
rm -rf cssTestData cssTestApps test.pid mkdir cssTestData cssTestApps ./arangod -c arangod.conf --pid-file test.pid --log.requests-file req.log & sleep 5 casperjs test standalone/compareAll.js res=$? kill `cat test.pid` exit $res
triAGENS/ArangoDB-UI-Tests
startTest.sh
Shell
apache-2.0
230
#!/bin/bash # Copyright 2019 Google LLC # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
GoogleCloudPlatform/esp-v2
prow/presubmit-asan.sh
Shell
apache-2.0
788
#!/usr/bin/env bash # Copyright 2018 The Kubernetes 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 applicab...
krzyzacy/test-infra
hack/verify-config.sh
Shell
apache-2.0
1,641
#!/bin/bash set -e [[ -z "${SRCDIR}" ]] && SRCDIR="${PWD}" [[ -z "${GCOVR_DIR}" ]] && GCOVR_DIR="${SRCDIR}/bazel-$(basename "${SRCDIR}")" [[ -z "${TESTLOGS_DIR}" ]] && TESTLOGS_DIR="${SRCDIR}/bazel-testlogs" [[ -z "${BAZEL_COVERAGE}" ]] && BAZEL_COVERAGE=bazel [[ -z "${GCOVR}" ]] && GCOVR=gcovr # This is the target ...
tschroed/envoy
test/run_envoy_bazel_coverage.sh
Shell
apache-2.0
3,213
#!/bin/bash # announce this instance to etcd # TODO wait if etcd server not ready export ACTION=${1-PUT} export CONTAINER_ID=`hostname` export IP=`grep $CONTAINER_ID /etc/hosts | cut -f1` export URL="http://etcd:4001/v2/keys/sling/instances/`hostname`" echo "Announcing ($ACTION) $IP:$SLING_PORT to $URL" # TODO need js...
bdelacretaz/sling-adaptto-2016
sling-images/images/base/src/main/docker/slingroot/announce.sh
Shell
apache-2.0
434
#!/usr/bin/env bash java -jar "$1/Mc2For.jar" -codegen -args "dble&3*1&REAL" "$2" gfortran *.f95 -O3 -o adpt gfortran *.f95 -O3 -o adpt gfortran *.f95 -O3 -o adpt
Sable/McTicToc
backends/fortran/Mc2For.sh
Shell
apache-2.0
164
# More verbose handling for 'set -e' # # Show a traceback if we're using bash, otherwise just a message # Downloaded from: https://gist.github.com/kergoth/3885825 on_exit () { ret=$? case $ret in 0) ;; *) echo >&2 "Exiting with $ret from a shell command" ;; ...
bchretien/shell-sandbox
src/utils/verbose-set-e-combo-ideal.sh
Shell
bsd-2-clause
937
#!/bin/sh TESTING_DIR=$(readlink -f $(dirname "$0")) "$TESTING_DIR/Common/SetUp.sh" cd "$TESTING_DIR/Evaluation" ./$1.sh $2 cd "$TESTING_DIR" "$TESTING_DIR/Common/TearDown.sh"
crurik/GrapeFS
Testing/GrapeEvaluation.sh
Shell
bsd-2-clause
179
#!/bin/bash -Eeu # - - - - - - - - - - - - - - - - - - - - - - - - on_ci_publish_tagged_images() { if ! on_ci; then echo echo 'not on CI so not publishing tagged images' return fi #if git log -1 --pretty=%B | grep --quiet '[test-only]'; then # echo 'commit message contains [test-only] so stopping ...
cyber-dojo/runner
scripts/on_ci_publish_tagged_images.sh
Shell
bsd-2-clause
863
#!/usr/bin/env bash #===----------------------------------------------------------------------===## # # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. # See https://llvm.org/LICENSE.txt for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # #===--------------...
endlessm/chromium-browser
third_party/llvm/libcxx/utils/ci/apple-install-libcxx.sh
Shell
bsd-3-clause
5,164
#!/bin/bash # # ======= TEMPLATE GAMS-CPLEX Header ======== # No printf parameters # # Simple BASH script to run and time a series of GAMS jobs to compare the run # time of binary vs clustered unit commitment both with and without capacity # expansion decisions # # To actually submit the job use: # qsub SCRIPT_NA...
bpalmintier/mepo
models/config/rts96_wk_3.sh
Shell
bsd-3-clause
14,336
#!/usr/bin/env bash PYTHONPATH=.:$PYTHONPATH python2 -m nose -v pyltr
jma127/pyltr
runtests_py2.sh
Shell
bsd-3-clause
71
#!/bin/bash # Batch qsub submission script for testing gradient update values for one pair of 3 layer and one pair of 5 layer models offset=0 outputLayer=$1 first="SdA_900_300_$outputLayer.pkl" second="SdA_500_300_$outputLayer.pkl" qsub submit_test_gradient_gravity_3layers.sh -v FIRSTMODEL="$first",SECONDMODEL="$sec...
lzamparo/SdA_reduce
utils/tests/test_gradient_updates.sh
Shell
bsd-3-clause
576
#!/bin/bash set -e repo="$1" distro="$2" mirror="$3" if [ ! "$repo" ] || [ ! "$distro" ]; then self="$(basename $0)" echo >&2 "usage: $self repo distro [mirror]" echo >&2 echo >&2 " ie: $self username/centos centos-5" echo >&2 " $self username/centos centos-6" e...
atlas-org/docker-containers
slc/mkimage-rinse.sh
Shell
bsd-3-clause
4,728
#!/bin/bash # testOne.sh functional test script # Call with test platform, test-program test-set [,options [,arguments]] # test-set is a char usually 1-9 for the various .out files, usually use 1 for .out1 # e.g. "./testOne.sh pentium hello" # or "./testOne.sh sparc fibo 1 '' 10" # or "./testOne.sh sparc switch_cc ...
turboencabulator/boomerang
testOne.sh
Shell
bsd-3-clause
2,715
#!/bin/bash scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" . $scriptDir/bash/messages.bash echo -e "Loading dependencies..." curl -O http://getcomposer.org/composer.phar php composer.phar install --dev
LuciaPerez/PUWI
load_deps.bash
Shell
bsd-3-clause
219
set -e AUTH_FILE=`psql -U postgres -c "SHOW hba_file" -At` # md5 authentication sudo sed -i '1s/^/host all crystal_md5 127.0.0.1\/32 md5\n/' ${AUTH_FILE} sudo sed -i '2s/^/host all crystal_md5 ::1\/128 md5\n/' ${AUTH_FILE} sudo service postgresql restart $TRAVIS_POSTGRESQL_VERSION
ucmsky/kemal-sample
lib/pg/.travis/setup.sh
Shell
mit
286
#! /bin/bash git clone --quiet https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG} travis-build > /dev/null; cd travis-build if [ "${TRAVIS_BRANCH}" = "master" ]; then # Forward Integrate git checkout --track -b integration origin/integration > /dev/null; git merge --squash origin/master --no-commit > /dev/null...
DeepElement/winjsrocks-extras
build/repo-cli.sh
Shell
mit
1,823
#!/bin/bash if which nproc > /dev/null; then MAKEOPTS="-j$(nproc)" else MAKEOPTS="-j$(sysctl -n hw.ncpu)" fi ######################################################################################## # general helper functions function ci_gcc_arm_setup { sudo apt-get install gcc-arm-none-eabi libnewlib-arm...
mcauser/micropython
tools/ci.sh
Shell
mit
20,381
alias dcompose='docker-compose' alias docker-vm='screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty'
nop33/dotfiles
docker/aliases.zsh
Shell
mit
135
#!/bin/bash set -o posix ############################################################################## # These are needed for the C++ Project Template sudo apt-get install -qq cmake doxygen g++-4.9 python-pip cppcheck valgrind ggcov sudo pip install Pygments sudo pip install gcovr sudo pip install cpp-coveralls sudo ...
CaioIcy/sdl2-engine
utils/travis/install.sh
Shell
mit
937
#!/bin/bash set -o errexit set -o pipefail set -o nounset readonly CITIES_TSV=${CITIES_TSV:-"city_extracts.tsv"} readonly COUNTRIES_TSV=${COUNTRIES_TSV:-"country_extracts.tsv"} readonly WORLD_MBTILES=${WORLD_MBTILES:-"world.mbtiles"} readonly EXTRACT_DIR=$(dirname "$WORLD_MBTILES") readonly PATCH_SRC="$EXTRACT_DIR/wor...
geometalab/osm2vectortiles
src/create-extracts/create-extracts.sh
Shell
mit
1,211
#!/usr/bin/env bash prompt_command() { # Local or SSH session? local remote="" [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ] && remote=1 # set the user-color local user_color=$COLOR_LIGHT_GREEN # user's color [ $UID -eq 0 ] && user_color=$COLOR_RED # root's color # set the user local user...
voku/dotfiles
.redpill/themes/voku/voku.theme.bash
Shell
mit
2,369
fswatch -o . | xargs -n1 -I{} ./bin/sync_rubyx.sh
ruby-x/rubyx
bin/watch.sh
Shell
mit
50
#!/bin/bash FN="LAPOINTE.db_3.2.3.tar.gz" URLS=( "https://bioconductor.org/packages/3.11/data/annotation/src/contrib/LAPOINTE.db_3.2.3.tar.gz" "https://bioarchive.galaxyproject.org/LAPOINTE.db_3.2.3.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-lapointe.db/bioconductor-lapointe.db_3.2.3_src_all.t...
roryk/recipes
recipes/bioconductor-lapointe.db/post-link.sh
Shell
mit
1,419
#!/bin/bash # This is a stand in script until Armadillo is ready. # Remove roles directory if it exists if hash trash 2>/dev/null; then trash provisioning/roles else rm -rf provisioning/roles fi # Create roles directory mkdir -p provisioning/roles # Clone repos # (Note: Dependencies are currently manually t...
antarctica/laravel-token-blacklist
armadillo_standin.sh
Shell
mit
912
#!/usr/bin/env bash set -e set -u UNAME=$(uname) ARCH=$(uname -m) NODE_VERSION=14.17.6 MONGO_VERSION_64BIT=4.4.4 MONGO_VERSION_32BIT=3.2.22 NPM_VERSION=6.14.15 if [ "$UNAME" == "Linux" ] ; then if [ "$ARCH" != "i686" -a "$ARCH" != "x86_64" ] ; then echo "Unsupported architecture: $ARCH" echo "Met...
Hansoft/meteor
npm-packages/eslint-plugin-meteor/scripts/build-dev-bundle-common.sh
Shell
mit
2,030
#!/bin/bash FN="pasilla_1.16.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.11/data/experiment/src/contrib/pasilla_1.16.0.tar.gz" "https://bioarchive.galaxyproject.org/pasilla_1.16.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-pasilla/bioconductor-pasilla_1.16.0_src_all.tar.gz" ) MD5="28...
roryk/recipes
recipes/bioconductor-pasilla/post-link.sh
Shell
mit
1,287
#! /usr/bin/env zsh dot="$(cd "$(dirname "$0")"; pwd)" source "$dot/radar-base.sh" if is_repo; then autoload colors && colors printf '%s' "%{$fg_bold[black]%} git:(%{$reset_color%}" zsh_color_remote_commits printf '%s' "%{$fg[white]%}" readable_branch_name printf '%s' "%{$reset_color%}" zsh_color_local_...
fordhurley/git-radar
prompt.zsh
Shell
mit
411
#!/bin/sh cwd=$(pwd) cd .. rm -rf cordova-test-app git clone https://github.com/hypery2k/cordova-demo-app.git cordova-test-app cd cordova-test-app npm install bower install grunt "ci:$PLATFORM" "$PLATFORM" cordova plugin add ../cordova-certificate-plugin/ echo "Changing back to plugin directy: "$cwd cd $cwd
danjarvis/cordova-plugin-crosswalk-certificate
runIntegrationTests.sh
Shell
mit
310
#Retrieves the test file from the server curl -k http://localhost:2001/samplemessage.txt
matthewmccullough/encryption-jvm-bootcamp
jsse-sample-server-sun/getfilePLAIN.sh
Shell
mit
88
#!/bin/sh chown root:root RECOVERY-PAYLOAD -R cd RECOVERY-PAYLOAD rm -f ../recovery.tar.xz tar -cvJ --xz . > ../recovery.tar.xz stat ../recovery.tar.xz cd ..
lexmar93/Siyah-i777
compress-recovery-payload.sh
Shell
gpl-2.0
159
#! /bin/sh ### Set verbose mode test "x$VERBOSE" = "xx" && set -x # filter # zero by default ../src/seqExclude -o tmp.out $srcdir/test.fa 2> tmp.err || exit 1 diff $srcdir/test.fa tmp.out > /dev/null || exit 1 # zero set ../src/seqExclude -l 0 -o tmp.out $srcdir/test.fa 2> tmp.err || exit 1 diff $srcdir/test.fa t...
C3BI-pasteur-fr/seqExclude
tests/filter.sh
Shell
gpl-2.0
571
#!/system/bin/sh # Copyright (c) 2012, The Linux Foundation. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice, th...
Dm47021/android_kernel_afyonlte
zfiles/ramdisk/zero/init.ril.sh
Shell
gpl-2.0
3,784
#!/bin/bash # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Abort on error. set -e # Load common constants and variables. . "$(dirname "$0")/common.sh" usage() { echo "Usage $PROG image [co...
u-root/NiChrome
scripts/vboot/bin/ensure_no_nonrelease_files.sh
Shell
gpl-2.0
2,010
#!/bin/bash MONKEEEYS_MOUNT=`find /media/ -type d -name 'monkeeeys' 2>/dev/null` ROOTFS_MOUNT=` find /media/ -type d -name 'rootfs' 2>/dev/null` # Remove whitespaces in directories and file names find . -name "* *" -type d | rename 's/ /_/g' find . -name "* *" -type f | rename 's/ /_/g' # Copy all files to the...
bonnaffe/buildroot
board/monkeeeys-pi/addons/prepare_sd_card.sh
Shell
gpl-2.0
723
TCHAIN=/BUILD/X42/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- ./android_clean.sh make ARCH=arm CROSS_COMPILE=$TCHAIN ap33_android_defconfig date '+%Y%m%d%H' > .version make ARCH=arm CROSS_COMPILE=$TCHAIN -j4 make ARCH=arm CROSS_COMPILE=$TCHAIN -C drivers/net/wireless/compat-wireless_R5.SP2.03 KLIB=`pwd` K...
Alex-V2/Alex-V_SE_OneX
android_compile.sh
Shell
gpl-2.0
342
#!/bin/sh . /lib/netifd/netifd-wireless.sh . /lib/netifd/hostapd.sh init_wireless_driver "$@" MP_CONFIG_INT="mesh_retry_timeout mesh_confirm_timeout mesh_holding_timeout mesh_max_peer_links mesh_max_retries mesh_ttl mesh_element_ttl mesh_hwmp_max_preq_retries mesh_path_refresh_time mesh_min_discovery_...
tianfy/openwrt-adkill
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
Shell
gpl-2.0
17,176
#!/bin/bash # Copyright (C) Martin Schlemmer <azarah@nosferatu.za.org> # Copyright (C) 2006 Sam Ravnborg <sam@ravnborg.org> # # Released under the terms of the GNU GPL # # Generate a cpio packed initramfs. It uses gen_init_cpio to generate # the cpio archive, and then compresses it. # The script may also be used to gen...
alfsamsung/semc-kernel-msm7x27-ics
scripts/gen_initramfs_list.sh
Shell
gpl-2.0
7,221
#!/system/bin/sh # Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notic...
ReflexBow/ghost
ramdisk/init.qcom.early_boot.sh
Shell
gpl-2.0
5,514
#!/bin/sh # For unwritable directory 'd', 'rmdir -p d d/e/f' would emit # diagnostics but would not fail. Fixed in 5.1.2. # Copyright (C) 2004-2017 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...
adtools/coreutils
tests/rmdir/fail-perm.sh
Shell
gpl-3.0
1,182
echo `echo hello echo world`
legionus/shell_parser
t/data/posix_0028.sh
Shell
gpl-3.0
29
#!/bin/bash clear echo -e "Traktor Debian Uninstaller v1.0\nTraktor will be automatically Removed with Configured…\n\n" sudo apt purge -y \ tor \ obfs4proxy \ privoxy \ dnscrypt-proxy \ torbrowser-launcher \ apt-transport-tor sudo apt autoremove -y sudo rm -rf /etc/apt/sources.list.d/tor.list sudo apt-key de...
ubuntu-ir/traktor
uninstall_debian.sh
Shell
gpl-3.0
770
#! /bin/bash #exec 1> log.txt PYTHONPATH=.:$PYTHONPATH python ~/work/OIST/git/neuromac/Admin.py 16 demo_distant_attraction.cfg & PYTHONPATH=.:$PYTHONPATH python ~/work/OIST/git/neuromac/Admin.py 8 to_pia.cfg &
russellijarvis/neuromac
examples/simultaneous_runs/test.sh
Shell
gpl-3.0
215
#!/bin/sh ### autogen.sh #### (based on the hints from Stackoverflow ;-) ### # Use this script to bootstrap your build AFTER checking it out from # source control. You should not have to use it for anything else. echo "Regenerating autotools files" autoreconf --install || exit 1 echo "Now run ./configure, make, and ...
mki1967/et-edit
autogen.sh
Shell
gpl-3.0
335
qmake QtOpenSMOKE_PostProcessor.QT5.pro make clean make
acuoci/OpenSMOKEppPostProcessor
projects/Mac/compile_QT5.sh
Shell
gpl-3.0
57
#!/bin/bash pushd foreman echo "gem 'foreman_docker', :git => 'https://${GIT_HOSTNAME}/${GIT_ORGANIZATION}/foreman_docker.git', :branch => '${gitlabTargetBranch}'" >> bundler.d/Gemfile.local.rb popd foreman
kbidarkar/robottelo-ci
scripts/add_foreman_docker_gitlab.sh
Shell
gpl-3.0
208
#!/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-03/20161101T060502+0000/00/00/generalinfo_0_ID0000002.sh
Shell
gpl-3.0
1,243
#!/bin/bash if which pip3>/dev/null 2>&1 ; then echo 0 > ~/install-exit-status else echo "ERROR: Python pip3 is not found on the system! This test profile needs Python pip3 to proceed." echo 2 > ~/install-exit-status fi pip3 install --user selenium unzip -o selenium-scripts-6.zip # Drivers tar -xf geckodriver-v0...
phoronix-test-suite/phoronix-test-suite
ob-cache/test-profiles/system/selenium-1.0.9/install.sh
Shell
gpl-3.0
1,124
#### This script is meant to be sourced by ltconfig. # ltcf-c.sh - Create a C compiler specific configuration # # Copyright (C) 1996-2000, 2001 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This file is free software; you can redistribute it and/or modify it # under t...
amitksaha/spark-scheme
libs/mzs/src/foreign/gcc/ltcf-c.sh
Shell
gpl-3.0
33,990