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 # VERSION="2" BUILD="2" AMI_NAME="jenkins-appserver-v${VERSION}-r${BUILD}" REGION="us-east-1" PROFILE="versent.cfn" AMI_DESC="amzn-ami-hvm-2017.03.1.20170812-x86_64-gp2" echo "Figuring out:" VPC=$(aws ec2 describe-vpcs --region ${REGION} --filters "Name=isDefault,Values=true" --output text --query 'Vpcs[*]...
PERRINN/infrastructure
jenkins/packer/bake.sh
Shell
apache-2.0
1,188
#!/bin/sh bundle exec jekyll serve
mokelab/ractivejs-spa-textbook
run.sh
Shell
apache-2.0
36
#!/usr/bin/env bash # # List of contrib packages to be released # See build-support/README.md for more information on the format of each # `PKG_$NAME` definition. # PKG_ANDROID=( "pantsbuild.pants.contrib.android" "//contrib/android/src/python/pants/contrib/android:plugin" "pkg_android_install_test" ) function ...
fkorotkov/pants
contrib/release_packages.sh
Shell
apache-2.0
5,075
# Set cloumon-oozie-specific environment variables here. # JAVA_HOME, CLOUMON_OOZIE_HOME required #JAVA HOME dir export JAVA_HOME=/usr/java/default #cloumon-oozie home dir export CLOUMON_OOZIE_HOME=/usr/local/cloumon-oozie #cloumon-oozie conf dir export CLOUMON_OOZIE_CONF_DIR="${CLOUMON_OOZIE_HOME}/conf" # JVM Heap...
gruter/cloumon-oozie
bin/cloumon-oozie-env.sh
Shell
apache-2.0
716
clean_vbmc() { # If the VBMC daemon is down, start it, otherwise vbmc list will freeze. #if ! pgrep -a vbmcd &> /dev/null #then # vbmcd #fi #for port in $(vbmc list | grep -v "+-\|Address" | awk '{print $2}' | grep -v "^$") #do # if [ ! -z "$port" ] # then # echo...
cmyster/coti
functions/clean_vbmc.sh
Shell
apache-2.0
972
#!/bin/bash export OS_AUTH_URL=https://chrcnc-api.os.cloud.twc.net:5000/v2.0 export OS_REGION_NAME="NCE" export PS1='[\u@\h \W(nce)]\$ '
kumulustech/openstack_for_web_apps
multi-site/e.sh
Shell
apache-2.0
137
#Script to run pdr.awk iterativly i=11 while [ "$i" -le 15 ] do #echo "PDR for RngRun = $i" (echo `exec awk -f tput.awk ./PF/0NF$i/DlPdcpStats.txt`)& i=`expr $i + 1` sleep 1 done
cs15resch11011/nns3_handover
throughput.sh
Shell
apache-2.0
184
#!/bin/sh rm -rf $(dirname $0)/multicore/host/data rm -rf $(dirname $0)/multicore/vm/data
StackStorm/search
data/solr/dropindex.sh
Shell
apache-2.0
91
#!/bin/bash # # Copyright 2011-2021 Asakusa Framework Team. # # 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 applicabl...
asakusafw/asakusafw-legacy
thundergate-project/asakusa-thundergate/src/main/dist/bulkloader/libexec/delete-cache-storage.sh
Shell
apache-2.0
1,958
#!/bin/bash if [ "$(id -u)" != "0" ] ; then echo 'ERROR: you have to run this script as root user.' exit 1 fi function contid(){ echo "$1" | sed 's/^\(.\{12\}\).*/\1/' } # starting the wave daemon weave launch # starting the container with the specific IP C=$( contid $(weave run 10.10.1.1/24 --net=none -t -i ...
BrunoBonacci/vagrant-docker-weave
003-external-access/weave-host1.sh
Shell
apache-2.0
673
#!/bin/bash set -e echo "This script is meant to be run inside the vagrant machine" echo -n "Please confirm this is the case [y/N] " read confirm if [ "$confirm" != "y" ] && [ "$confirm" != "Y" ]; then exit 1; fi sudo apt-get install -y python-pip git libyaml-dev libpython2.7-dev repository_list=" git@github.c...
confpack/vagrant
src/setup.sh
Shell
apache-2.0
816
#!/bin/bash # Copyright 2016 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 applicable law o...
mtaufen/test-infra
jenkins/e2e-image/kops-e2e-runner.sh
Shell
apache-2.0
3,796
#!/usr/bin/env bash URL="https://thymio.tk/cardlogin" SOURCE="staff.png" DEST="admin_pages_all.pdf" source lib.sh source secret.sh SECRET=$ADMIN_SECRET pages=${1:-3} doc $pages
heia-fr/thymio-captain
cards/gen_admin_cards.sh
Shell
apache-2.0
179
#!/bin/bash # check if this peer connected to the correct peer(s) grep Peer3 sent -q if [ $? -ne 0 ]; then echo "Peer4 did not connect to peer3. Instead it connected to the following peers:" while read line ; do echo "$line" done < sent exit 1 fi grep Peer5 sent -q if [ $? -ne 0 ]; then echo "Peer4 did ...
openbaton/integration-tests
src/main/resources/scripts/peer4-clt-test.sh
Shell
apache-2.0
453
#!/bin/bash #title clean_fq.sh #author j1angvei #date 20160514 #usage do quality control assessment for already trimmed fastq file, using fastq #=============================================================== #init param work=`pwd` #check passing arguments if [ $# -lt 2 ] then echo "Usage: sh clean_fq.sh <code> ...
j1angvei/ChipSeqAutomation
build/05_clean_fq.sh
Shell
apache-2.0
1,275
#!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRO...
JoeyZeng/JZRecorder
Example/Pods/Target Support Files/Pods-JZRecorder_Example/Pods-JZRecorder_Example-frameworks.sh
Shell
apache-2.0
3,560
#!/bin/bash source /etc/default/octohost sudo service consul stop || true sudo rm -rf /var/cache/octohost/* CONSUL_KEY=$(consul keygen) HOSTNAME=$(hostname) sudo cat > /tmp/consul.json <<EOF { "encrypt": "$CONSUL_KEY", "data_dir": "/var/cache/octohost", "datacenter": "dc1", "enable_syslog": true, "node_name":...
octohost/octohost-cookbook
terraform/scripts/consul-bootstrap-do-single.sh
Shell
apache-2.0
629
#!/bin/sh while true; do curl -H "Content-Type: application/json" -X POST -d '{"serviceID":"urn:qunar-com:serviceID:车站搜索","actionName":"车站搜索","argumentList":{"input":{"station": "漯河"}}}' http://localhost:3049/device-control/f50e8254-c766-419c-af23-80e6eed1823b/invoke-action & sleep 1 done #curl -H "Content-Type: app...
out4b/cdif
test/loop.sh
Shell
apache-2.0
505
#!/bin/bash set -e set -x apt-get update -y apt-get install -y autoconf-archive autoconf automake cmake gawk gettext git gcc make patch pkg-config export ANDROID_NDK=/android-ndk if [ ! -d "$ANDROID_NDK" ] ; then # In general we don't want download NDK for every build, but it is simpler to do it here # for ...
GRRedWings/python3-android
docker-build.sh
Shell
apache-2.0
595
#!/bin/sh #--src REP: Répertoire contenant les images JPEG à miniaturiser. #--dest REP: Répertoire cible (où on va générer les vignettes et le fichier HTML). #--verbose: mode “verbeux” pour mise au point : on affiche les commandes (convert, #cp, ...) appelées par le script avant de les exécuter. #--dry-run: exécution ...
cycourtot/Projet-SciLab-Unix
TPL_Unix/VERSION_MR_Meuret/galerie-shell.sh
Shell
apache-2.0
7,444
#!/bin/bash clear echo "Call trans opt: received. 2-19-98 13:24:18 REC:Loc" sleep 1; echo "Trace program: running" sleep 1; echo " wake up, Neo..." sleep 1; echo "the matrix has you" sleep 1; echo "follow the white rabbit." sleep 2; echo "+++++++++++++++++++++VT Hash Checker+++++++++++++++++++++++++++" echo "==========...
delbs/scripts
Sec_scripts/vtcheck.sh
Shell
apache-2.0
1,183
#!/bin/bash # $1 is a command, e.g., "uname" function indent() { local _indent=" " $1 2>&1 | sed "s/^/$_indent/g" } function dump() { echo Environment information echo indent "uname -a" echo indent "bash --version" echo indent "python --version" } dump
jinsenglin/bash
fn-env-dumping.sh
Shell
apache-2.0
298
#!/bin/bash set -e psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" <<-EOSQL CREATE DATABASE crossbuild; CREATE DATABASE keycloak; CREATE USER keycloak WITH ENCRYPTED PASSWORD 'keycloak'; GRANT ALL PRIVILEGES ON DATABASE keycloak TO keycloak; EOSQL psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname c...
cen1/cross.build
deployment/postgres/extend.sh
Shell
bsd-2-clause
884
export TIDEPOOL_ENV="local" export TIDEPOOL_LOGGER_LEVEL="debug" export TIDEPOOL_STORE_ADDRESSES="localhost" export TIDEPOOL_STORE_DATABASE="tidepool" export TIDEPOOL_STORE_TLS="false" export TIDEPOOL_SERVER_TLS="false" export TIDEPOOL_CONFIRMATION_STORE_DATABASE="confirm" export TIDEPOOL_DEPRECATED_DATA_STORE_DATABAS...
tidepool-org/platform
env.sh
Shell
bsd-2-clause
3,430
export TWILIO_NUMBER="" export TWILIO_CALLING_NUMBER="" export TWILIO_ACCOUNT_SID="" export TWILIO_AUTH_TOKEN="" export DJANGO_SECRET_KEY=""
kkujawinski/talktoyourapp
env.example.sh
Shell
bsd-2-clause
141
sbt package cd ../deploy ansible bgdtz2.oxa -b -m copy -a "src=../mllib/target/scala-2.11/demy-storage-layer_2.11-1.0.jar dest={{zeppelin_run}}/custom-libs/" cd ../mllib
forchard-epi/demy
core/buildPush.sh
Shell
bsd-3-clause
170
ui_common() { if [ -f "$SH_CONFIG" ] || [ -h "$SH_CONFIG" ]; then while true; do HK_FOUND=$(grep -m 1 -x "$SH_HOTLINE" "$SH_CONFIG") if [ -z "$HK_FOUND" ]; then break fi # http://stackoverflow.com/questions/5295912/how-to-delete-a-line-containg-string-from-file-in-unix-or-solaris grep -Fxv "$HK_FO...
shearch/shearch
tools/uninstall.sh
Shell
bsd-3-clause
2,818
#!/usr/bin/env bash set -e set -x docker pull ubuntu:latest ENABLE_COVERAGE=true sbt \ -Dbackend.providers.Local.config.filesystems.local.localization.0=copy \ +clean +nointegration:test coverageReport sbt coverageAggregate bash <(curl -s https://codecov.io/bash)
ohsu-comp-bio/cromwell
src/bin/travis/testSbt.sh
Shell
bsd-3-clause
271
rm -f module.te module.fc echo INPUT: $1 cat $1 echo OUTPUT: $1 lobster $1 2>&1 ec=$? echo module.te: $1 cat module.te 2>&1 echo echo module.fc: $1 cat module.fc 2>&1 echo rm -f module.te module.fc exit $ec
GaloisInc/sk-dev-platform
libs/SCD/src/SCD/GenShrimp/lobster.sh
Shell
bsd-3-clause
207
#!/bin/bash BASH=`which bash` DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" $BASH $DIR/clean_macos64.sh macosStatus=$? if [ $macosStatus -ne 0 ]; then exit $macosStatus fi
KCL-Planning/VAL
scripts/macos/clean_build.sh
Shell
bsd-3-clause
187
#!/bin/sh date=$( date +"%Y%m%d" ) rev=$( git rev-parse HEAD ) srev=$( git rev-parse --short HEAD ) echo "Making a new tarball of $rev..." tarball="libkml-${date}git$srev.tar.gz" git archive HEAD --prefix libkml/ | gzip > "$tarball" echo "Available as $tarball" md5="$( md5sum "$tarball" )" echo "MD5SUM: $md5"
Kitware/libkml
mk-archive.sh
Shell
bsd-3-clause
319
#!/bin/bash if [ ! $# -eq 1 ] then echo "synthax $0 newBehaviorName" exit 0 fi newBehaviorName=$1 newBehaviorPath="behaviorModulesSrc/$newBehaviorName" if [ -e $newBehaviorPath ] then echo "Error: the behavior '$newBehaviorName' already exists" exit 1 fi randomBehaviorPath="behaviorModulesSrc/random...
TheRalph/vindiniumClient
createBehavior.sh
Shell
bsd-3-clause
1,461
config() { NEW="$1" OLD="$(dirname $NEW)/$(basename $NEW .new)" # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy rm $NEW fi # Otherwise, we leave the .new copy for ...
panosmdma/SlackOnly-SlackBuilds
academic/bibus/doinst.sh
Shell
mit
700
#!/bin/bash vendor/bin/phpunit PHPUNIT=$? vendor/bin/phpcs --standard=psr2 src PHPCS=$? #vendor/bin/phpmd src text codesize #PHPMD=$? EXIT=0 if [ "$PHPUNIT" -ne "0" ]; then echo "**** Unit tests failed" EXIT=1 fi if [ "$PHPCS" -ne "0" ]; then echo "**** Coding standards failed" EXIT=1 fi #if [ "$PH...
SCLInternet/SclNominetEpp
.travis/travis_build.sh
Shell
mit
408
#!/bin/sh # # Released under the GPL INTERFACE="`hciconfig | grep "^hci" | cut -d ':' -f 1`" LOCK=".op_btenabled" cd "$HOME" if [ "$1" = "startup" ]; then if [ -f "$LOCK" ]; then sudo /usr/pandora/scripts/op_bluetooth_work.sh 1 INTERFACE="`hciconfig | grep "^hci" | cut -d ':' -f 1`" sudo /usr/sbin/hciconfig "$...
openpandora/meta-openpandora-vendor
recipes-openpandora/openpandora-system/openpandora-scripts-wifi/op_bluetooth.sh
Shell
mit
1,275
#!/bin/bash FN="pd.medgene.1.0.st_3.12.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.11/data/annotation/src/contrib/pd.medgene.1.0.st_3.12.0.tar.gz" "https://bioarchive.galaxyproject.org/pd.medgene.1.0.st_3.12.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-pd.medgene.1.0.st/bioconductor-...
roryk/recipes
recipes/bioconductor-pd.medgene.1.0.st/post-link.sh
Shell
mit
1,466
#!/bin/sh SCRIPT_DIR=$(cd $(dirname $0) && pwd) rm -f uac_*.log sipp -p 5060 -sf uac.xml -trace_msg -l 1 -m 1 $*
aboutsip/pkts
scenarios/basic_call/uac.sh
Shell
mit
114
#!/bin/bash FN="MeSH.Mmu.eg.db_1.13.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.11/data/annotation/src/contrib/MeSH.Mmu.eg.db_1.13.0.tar.gz" "https://bioarchive.galaxyproject.org/MeSH.Mmu.eg.db_1.13.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-mesh.mmu.eg.db/bioconductor-mesh.mmu.eg....
roryk/recipes
recipes/bioconductor-mesh.mmu.eg.db/post-link.sh
Shell
mit
1,445
#!/bin/bash apt-get -y update apt-get -yfV dist-upgrade # Install dependencies. echo "Installing Git & other dependencies..." apt-get install -yfV \ build-essential \ curl \ git-core \ libcurl4-openssl-dev \ libreadline-dev \ libs...
girldevelopit/gdi-new-site
provisioner.sh
Shell
mit
2,122
#!/usr/bin/env bash node_modules/.bin/rimraf ./build node_modules/.bin/babel -d ./build/server ./server --copy-files node_modules/.bin/babel -d ./build/shared ./shared --copy-files node_modules/.bin/babel -d ./build/static ./static --copy-files node_modules/.bin/babel -d ./build/client ./client --copy-files # don't ...
TrejGun/goat
build.sh
Shell
mit
484
# src/bash/url-sniper/funcs/restore-tmux-session.help.sh # v1.0.9 # --------------------------------------------------------- # todo: add doHelpRestoreTmuxSession comments ... # --------------------------------------------------------- doHelpRestoreTmuxSession(){ doLog "DEBUG START doHelpRestoreTmuxSession" cat d...
ygeo/url-sniper
src/bash/url-sniper/helps/sys/restore-tmux-session.help.sh
Shell
mit
647
head file.txt cat file.txt | head -n 1 head -n 5 foo bar "Baz baz"
nfischer/BashToShellJS
test/headAndSort/test.sh
Shell
mit
67
# update RenderToolbox3 echo echo "Updating RenderToolbox3" echo cd /home2/brainard/toolboxes/RenderToolbox3/ git pull # clean up from any previous epic scene test echo echo "Cleaning Up from Previous Tests" echo cd /home2/brainard/render-toolbox-3/ rm -r epic-scene-test/temp rm -r epic-scene-test/data rm -r epic-sc...
RenderToolbox3/RenderToolbox3
Admin/EpicSceneTest/Rhino/epic-scene-test.sh
Shell
mit
820
#!/bin/sh set -x function system { "$@" if [ $? -ne 0 ]; then echo "make.sh: unsuccessful command $@" echo "abort!" exit 1 fi } if [ $# -eq 0 ]; then echo 'bash make.sh slides1|slides2' exit 1 fi name=$1 rm -f *.tar.gz opt="--encoding=utf-8" opt= rm -f *.aux # Plain HTML documents html=${name}...
CompPhysics/ComputationalPhysics
doc/src/Projects/2019/Project5/FinancialEngineering/make.sh
Shell
cc0-1.0
2,075
#!/bin/sh apt-get install build-essential libtiff4-dev libpng12-dev libfftw3-dev libhdf5-serial-dev libgsl0-dev git git-core wget swig python-dev python-scipy subversion arch=`uname -m` if [ "$arch" = "x86_64" ];then if test ! -f cudatoolkit_3.1_linux_64_ubuntu9.10.run; then wget developer.download.nvidia.com/comp...
ng110/hawk
scripts/debian_prepare_build.sh
Shell
gpl-2.0
2,228
version=\ ( "0.5.0" ) url=\ ( "http://yaml-cpp.googlecode.com/files/yaml-cpp-${version}.tar.gz" ) md5=\ ( "c6d96190434d5959d814c603f98512c6" ) requires=\ ( "cmake/host" ) configure() { $cmd_mkdir build cd build cmake \ -DCMAKE_C_COMPILER="${cmd_target_cc}" \ -DCMAKE_CXX_C...
LSTS/glued
rules/yaml-cpp/default.bash
Shell
gpl-2.0
897
#!/bin/sh : ==== start ==== TZ=GMT export TZ ipsec spi --clear ipsec eroute --clear enckey=0x4043434545464649494a4a4c4c4f4f515152525454575758 ipsec klipsdebug --set rcv #ipsec klipsdebug --set pfkey #ipsec klipsdebug --set verbose ipsec spi --af inet --edst 192.1.2.45 --spi 0x12345678 --proto esp --src 192.1.2.23 -...
ZHAW-INES/rioxo-uClinux-dist
openswan/testing/klips/west-natt-01/spi1-in.sh
Shell
gpl-2.0
1,003
#!/bin/sh aclocal -Im4 autoheader autoconf automake -ac
pieterlexis/metronome
yahttp/autogen.sh
Shell
gpl-2.0
57
#! /bin/sh xm create /etc/xen/xm-debian-vfb.cfg install=true \ install-mirror=ftp://ftp.debian.org/debian \ install-installer=http://people.debian.org/~joeyh/d-i/images/daily/ echo echo "Use VNC, ConVirt or virt-manager to continue this Debian installation..." echo
fr34k8/xenlivecd
stuff/Xen/dom0/etc/skel/Desktop/Examples/lenny01/start-graphical-DI.sh
Shell
gpl-2.0
276
#! /bin/bash # Some example of installing on CentOS yum install -y install cmake yum install -y gcc-c++ # (or yum install –y gcc-4.7 g++-4.7) wget http://download.osgeo.org/geos/geos-3.3.9.tar.bz2 tar xvf geos-3.3.9.tar.bz2 cd geos-3.3.9 mkdir Release cd Release cmake .. make sudo make install cd wget http://downlo...
giserh/SATO
bootstrapinstall/installCentOS.sh
Shell
gpl-2.0
505
#!/bin/sh grep $1 $2|cut -f3 -d\
estrabd/qore
cmake/get-define.sh
Shell
gpl-2.0
34
#!/bin/bash # echo job ID $SLURM_JOB_ID echo job array ID $SLURM_ARRAY_TASK_ID echo "one, two, boogaloo," echo "cheese for me is cheese for you!" sleep 30 echo "all done"
motteler/ccast
batch/test_aux.sh
Shell
gpl-3.0
172
#!/bin/bash REST_SERVER=http://localhost:8080/TopicIndex/seam/resource/rest BUGZILLA_URL=bugzilla.redhat.com BUGZILLA_USERNAME=pressgang-ccms-dev@redhat.com BUGZILLA_PASSWORD=password MAINCLASS=org.jboss.pressgang.ccms.services.bugzillasync.Main # Get the directory hosting the script. This is important if the script ...
pressgang-ccms/PressGangCCMSServices
bugzilla-sync-service/runtest.sh
Shell
gpl-3.0
674
#! /bin/sh # a quick hack script to generate necessary files from # auto* tools. # # WARNING: if you run this you will change the versions # of the tools which are used and, maybe, required! set -e mkdir -p m4 autoreconf -i
dulton/libgovernor
autogen.sh
Shell
gpl-3.0
228
#------------------------------------------------------------------------------- # Copyright (c) 2013 Hani Naguib. # All rights reserved. This program and the accompanying materials # are made available under the terms of the GNU Public License v3.0 # which accompanies this distribution, and is available at # http://ww...
aftadros/gvmax
com.gvmax.assembly/src/main/bin/gvmax.sh
Shell
gpl-3.0
595
#!/bin/sh # # Copyright (C) 2012, 2014, 2016, 2017 Internet Systems Consortium, Inc. ("ISC") # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. SYSTEMTESTTOP=.. . $SYST...
each/bind9-collab
bin/tests/system/rsabigexponent/prereq.sh
Shell
mpl-2.0
602
#!/bin/bash scrot /tmp/screen_locked.png convert /tmp/screen_locked.png -blur 2x2 /tmp/screen_locked2.png i3lock -i /tmp/screen_locked2.png
gluesniffmonkey/dotfiles
i3/i3lock.sh
Shell
agpl-3.0
140
#!/bin/sh # First Programm HI="Hello World!" echo $HI
knightking100/hello-worlds
examples/b/Bash_4.sh
Shell
unlicense
55
#!/bin/sh if test $# -eq 0; then echo "Usage: $0 [--container <container_name>] -- <command_to_run_in_docker>" echo "Ex: $0 make test" echo "Ex: $0 ./test/ci.sh" echo "Ex: $0 --container joshuawarner32/avian-build-windows -- make platform=windows" exit 1 fi while test $# > 1 ; do key="$1" ...
nmcl/scratch
avian/docker/build.sh
Shell
apache-2.0
762
#!/bin/sh if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then echo '$TRAVIS_PULL_REQUEST is false, running tests and publishing' ./gradlew clean test bintrayUpload -x distTar -x distZip -Pbuild=${TRAVIS_BUILD_NUMBER} -Prelease=1.0 else echo '$TRAVIS_PULL_REQUEST is not false ($TRAVIS_PULL_REQUEST), running jus...
dhyaneshm/public-es-indexer
conditionalPublish.sh
Shell
apache-2.0
378
#!/usr/bin/env bash # # For help and usage information, simply execute the script w/o any arguments. # # This script is intended to be run by Red Hat storage developers who need # to debug problems specifically related to Cirrus-CI automated testing. # It requires that you have been granted prior access to create VMs ...
rhatdan/storage
hack/get_ci_vm.sh
Shell
apache-2.0
2,058
sudo su sudo apt-get update #editor sudo apt-get --yes --force-yes install vim sudo apt-get --yes --force-yes install tmux #Git sudo apt-get --yes --force-yes install git #Java sudo apt-get --yes --force-yes install default-jre -y sudo apt-get --yes --force-yes install default-jdk -y #OpenJDK sudo apt-get --yes --for...
NexYY/setup-ubuntu
src/linux-ubuntu16.04/install_1.sh
Shell
apache-2.0
829
#!/bin/bash /usr/local/mongodb/bin/mongod --fork --config C:/data/GitRoot/mongodb-conf-generator/rs1/node0/cnf/mongod.conf &
jockchou/mongodb-conf-generator
rs1/node0/mongostart.sh
Shell
apache-2.0
125
#!/bin/bash # Copyright 2019 Google Inc. # # 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 agree...
GoogleCloudPlatform/professional-services
examples/cloud-composer-examples/run_tests.sh
Shell
apache-2.0
2,882
#! /bin/sh # # %CopyrightBegin% # # Copyright Ericsson AB 2007-2010. All Rights Reserved. # # The contents of this file are subject to the Erlang Public License, # Version 1.1, (the "License"); you may not use this file except in # compliance with the License. You should have received a copy of the # Erlang Public L...
jtimberman/omnibus
source/otp_src_R14B02/erts/etc/win32/nsis/find_redist.sh
Shell
apache-2.0
3,475
#!/bin/bash # Copyright 2015 The Bazel 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 required by ...
ButterflyNetwork/bazel
tools/build_defs/pkg/build_test.sh
Shell
apache-2.0
6,376
#!/bin/bash #/* # Copyright 2009-2013 by The Regents of the University of California # 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 from # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
sigmod/asterixdb-analytics
pregelix/pregelix-core/src/main/resources/scripts/startAllNCs.sh
Shell
apache-2.0
1,543
set -x cd tests/ab if [ "$ABTEST" = "client" ]; then docker run --rm \ -d \ -v ${PWD}:/config \ -v ${PWD}/reports:/reports \ -p 9002:9002 \ --name fuzzingserver \ crossbario/autobahn-testsuite wstest -m fuzzingserver -s /config/fuzzingserver$SKIP_DEFLATE.json sleep 5 if [ "$TR...
tsugiproject/tsugi
vendor/ratchet/rfc6455/tests/ab/run_ab_tests.sh
Shell
apache-2.0
1,346
#!/bin/bash PROJECT="Musketeer" export PROJECT function print_hdr { echo "+---------------------------------------------------------------------" echo "| $1 " echo "+---------------------------------------------------------------------" } function print_subhdr { echo "--> $1" } # Column number to place the...
vpapaioannou/Musketeer
include/bash_header.sh
Shell
apache-2.0
1,715
#!/usr/bin/env bash # #/** # * Copyright 2007 The Apache Software Foundation # * # * 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 ...
alibaba/wasp
bin/wasp-daemon.sh
Shell
apache-2.0
7,729
test_container_devices_nic_routed() { ensure_import_testimage ensure_has_localhost_remote "${LXD_ADDR}" if ! lxc info | grep 'network_veth_router: "true"' ; then echo "==> SKIP: No veth router support" return fi ctName="nt$$" ipRand=$(shuf -i 0-9 -n 1) # These special values are needed to be en...
lxc/lxd
test/suites/container_devices_nic_routed.sh
Shell
apache-2.0
9,059
# wait for database - https://www.stavros.io/posts/how-deploy-django-docker/ while ! nc -w 1 -z db 5432 do sleep 0.1 done python manage.py collectstatic --noinput python manage.py migrate ./manage.py shell < set_server.py gunicorn -w 3 -b 0.0.0.0:8000 linky.wsgi
sbdchd/linky
backend/bootstrap-prod.sh
Shell
bsd-2-clause
267
#!/bin/bash # This is the script to build the vitess/lite Docker image by extracting # the pre-built binaries from a vitess/base image. # Extract files from vitess/base image mkdir base sudo docker run -ti --rm -v $PWD/base:/base -u root vitess/base bash -c 'cp -R /vt /base/' # Grab only what we need lite=$PWD/lite ...
tjyang/vitess
docker/lite/build.sh
Shell
bsd-3-clause
919
# # Copyright (c) 2001, 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 Foun...
openjdk/jdk7u
jdk/test/java/io/Serializable/resolveClass/consTest/run.sh
Shell
gpl-2.0
1,636
################################################# ################################################# # # # $ZDOT/zshrc.d/aliases.main.zsh # # # #####################...
jaredbonobos/zsh-templates-osx
Library/init/zsh/zshrc.d/020_aliases.main.zsh
Shell
gpl-2.0
1,652
#!/bin/bash #udevadm info /sys/bus/hid/devices/0003:1532:0203.0011 | grep "ID_USB_INTERFACE_NUM" modprobe razerkbd bind_device() { # Check if the device is already bound if [ -a "/sys/bus/hid/drivers/razerkbd/$1" ]; then echo "Device already bound" return 0 fi # No point unbinding the device if its already un...
pez2001/razer_chroma_drivers
install_files/init.d/activate_driver.sh
Shell
gpl-2.0
1,315
export PATH=$PATH:/usr/lib/mingw/bin export MANPATH=$MANPATH:/usr/lib/mingw/man if [ -z "$INFOPATH" ]; then export INFOPATH=/usr/lib/mingw/info else export INFOPATH=$INFOPATH:/usr/lib/mingw/info fi
frugalware/devil505
source/devel-extra/mingw-gcc/mingw.sh
Shell
gpl-2.0
200
#!/bin/sh # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2017-2018 Petr Vorel <pvorel@suse.cz> # Copyright (c) International Business Machines Corp., 2006 # Author: Mitsuru Chinen <mitch@jp.ibm.com> TST_NEEDS_ROOT=1 TST_NEEDS_TMPDIR=1 TST_SETUP="mcast_setup_normal" TST_CLEANUP="mcast_cleanup" TST_TESTFUN...
linux-test-project/ltp
testcases/network/stress/multicast/grp-operation/mcast-group-same-group.sh
Shell
gpl-2.0
541
#!/bin/bash if [ "$1" == "-h" ] ; then echo " Usage: `basename $0` [-h]" echo " *******Example*******" echo " Enter the Operating System version. [6,7,8]" echo " 6" echo " Enter the url of the Operating System." echo " http://xxxxxx.com/Server/x86_64/os/" ec...
JacobCallahan/automation-tools
misc/base_image_creation/create-base-image.sh
Shell
gpl-3.0
2,871
#!/usr/bin/env bash # Copyright 2017 The TensorFlow 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...
arborh/tensorflow
tensorflow/tools/ci_build/linux/rocm/run_cc_core.sh
Shell
apache-2.0
1,686
#!/usr/bin/env bash # // Copyright 2014 Google Inc. 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 # /...
yubbie/password-alert
chrome/do.sh
Shell
apache-2.0
5,319
#!/bin/bash set -e # stack mostly sends to stderr stack --resolver ghc-$(ghc --print-project-version) new myproject 2> /dev/null cd myproject stack run 2> /dev/null
31z4/official-images
test/tests/haskell-stack/container.sh
Shell
apache-2.0
166
#!/bin/bash # set path for libssw.so export LD_LIBRARY_PATH="${PREFIX}/lib:${LD_LIBRARY_PATH}" export JAVA_HOME="${PREFIX}/bin" export LDFLAGS="-L$PREFIX/lib" cd src make make java chmod +x * cp example_cpp ${PREFIX}/bin for i in *.py do sed -i.bak 's#!/usr/bin/env python#!/opt/anaconda1anaconda2anaconda3/bin/python...
matthdsm/bioconda-recipes
recipes/libssw/build.sh
Shell
mit
533
#!/bin/bin/tclsh # process command line arguments foreach arg $argv { switch -glob -- $arg { --status {set status_p true} --help* {set help_p true} --switch* {set switch_p true} } } if { [llength $argv] = 0 } { set help_p true } if { $help_p } { puts stdout {Usage: deploy [--switch | --status | ...
jwlynch/openacs.core
etc/deploy.sh
Shell
gpl-2.0
1,221
#! /bin/sh # For a specified tool and optional list of test variants, extract # test results from one or more test summary (.sum) files and combine # the results into a new test summary file, sent to the standard output. # The resulting file can be used with test result comparison scripts for # results from tests that...
stephenR/gcc-fpp
contrib/dg-extract-results.sh
Shell
gpl-2.0
12,377
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2013-2015 Mike Shal <marfey@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distribu...
rmoorman/tup
test/t4143-different-dir-is-file2.sh
Shell
gpl-2.0
1,202
#!/bin/bash FILES="logdata.cpp logfiltereddata.cpp logdataworkerthread.cpp logfiltereddataworkerthread.cpp" for i in $FILES; do gcov -b $i | perl -e "while(<>) { if (/^File '.*$i'/) { \$print = 1; } if ( \$print ) { if (/:creating '/) { \$print = 0; print \"\n\" } else { print; } } }" done mkdir coverage mv ...
Pac72/glogg
tests/coverage.sh
Shell
gpl-3.0
354
#!/bin/bash #define variables echo "$(tput setaf 3) _ ___ _______ ____ _ __ " echo " | | / (_) ____(_) / __ \\(_)___ ___ ____ _____ ____ / /__ " echo " | | /| / / / /_ / / / /_/ / / __ \/ _ \/ __ '/ __ \/ __ \/ / _ \\" echo " | |/ |/ / / __/ / / / ____/ / / / / __...
P0cL4bs/3vilTwinAttacker
plugins/external/BDFProxy-ng/wpBDF.sh
Shell
gpl-3.0
3,997
#!/usr/bin/env bash # # Test default configuration against full suite measuring memory leaks. CWD=$(cd $(dirname $0) ; pwd) source $CWD/common.bash source $CWD/common-memleaks.bash export CHPL_NIGHTLY_TEST_CONFIG_NAME="memleaks" $CWD/nightly -cron -memleaks $(memleaks_log full) -no-futures save_memleaks_log full
hildeth/chapel
util/cron/test-memleaks.bash
Shell
apache-2.0
317
#!/bin/bash set -e function test() { num_gpu=$1 lstm_num=$2 hid_size=$3 batch_per_gpu=`expr ${batch_size} / ${num_gpu}` batch_size=$4 python rnn_multi_gpu.py --num_layers=${lstm_num} --batch_size=$batch_per_gpu \ --num_gpus=${num_gpu} \ --hidden_size=${hid_size} \ --forward_backward_only...
reyoung/Paddle
benchmark/tensorflow/rnn/run_multi.sh
Shell
apache-2.0
615
#!/bin/bash # Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # This script builds out/pnacl_multicrx.zip for upload to the Chrome # Web Store. It runs gyp + ninja once for each architecture and assembles # ...
ltilve/chromium
native_client_sdk/src/build_tools/make_pnacl_component.sh
Shell
bsd-3-clause
2,910
#!/bin/bash FN="Homo.sapiens_1.3.1.tar.gz" URLS=( "https://bioconductor.org/packages/3.9/data/annotation/src/contrib/Homo.sapiens_1.3.1.tar.gz" "https://bioarchive.galaxyproject.org/Homo.sapiens_1.3.1.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-homo.sapiens/bioconductor-homo.sapiens_1.3.1_src_a...
jfallmann/bioconda-recipes
recipes/bioconductor-homo.sapiens/post-link.sh
Shell
mit
1,425
#!/bin/bash for i in `seq 1 10`; do # ./test_arista.sh py.test -s -v test_netmiko_config.py --test_device arista_sw4 done
shsingh/netmiko
tests/for_loop.sh
Shell
mit
130
#!/bin/sh # Ensure that "nproc" is less than or equal to "nproc --all". # Copyright (C) 2009-2014 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 ...
houwentaoff/coreutils
tests/misc/nproc-avail.sh
Shell
gpl-3.0
936
#!/bin/sh # Test cp --sparse=always # Copyright (C) 2006-2014 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 3 of the License, or # (at your opti...
shichao-an/coreutils
tests/cp/sparse.sh
Shell
gpl-3.0
1,453
#!/usr/bin/env bash # shellcheck disable=SC2154 # Copyright Istio 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 require...
istio/istio.io
content/en/docs/ops/configuration/security/security-policy-examples/test.sh
Shell
apache-2.0
1,375
#!/bin/bash set -e PYTHON_SCRIPTS=deps/conda/bin if [[ $OSTYPE == msys ]]; then PYTHON_SCRIPTS=deps/conda/bin/Scripts fi SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) WORKSPACE=${SCRIPT_DIR}/.. ABS_WORKSPACE=`dirname $SCRIPT_DIR` build_type="release" print_help() { echo "Builds the release branch...
linglaiyao1314/SFrame
oss_local_scripts/make_egg.sh
Shell
bsd-3-clause
8,778
#!/bin/bash FN="pig.db0_3.14.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.14/data/annotation/src/contrib/pig.db0_3.14.0.tar.gz" "https://bioarchive.galaxyproject.org/pig.db0_3.14.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-pig.db0/bioconductor-pig.db0_3.14.0_src_all.tar.gz" ) MD5="ed...
cokelaer/bioconda-recipes
recipes/bioconductor-pig.db0/post-link.sh
Shell
mit
1,287
#!/bin/bash FN="htmg430pm.db_3.13.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.14/data/annotation/src/contrib/htmg430pm.db_3.13.0.tar.gz" "https://bioarchive.galaxyproject.org/htmg430pm.db_3.13.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-htmg430pm.db/bioconductor-htmg430pm.db_3.13.0_...
cokelaer/bioconda-recipes
recipes/bioconductor-htmg430pm.db/post-link.sh
Shell
mit
1,312
#/* # 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"); you...
waans11/incubator-asterixdb-hyracks
hyracks/hyracks-dist/src/main/resources/bin/getip.sh
Shell
apache-2.0
1,539