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
CQChartsTest -exec monthly_sales.tcl
colinw7/CQCharts
data/sh/monthly_sales.sh
Shell
mit
37
#!/bin/sh # # Graphviz # http://www.graphviz.org source ./helper.sh stage_dl_ac http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.38.0.tar.gz --enable-swig=no # Per dot's request... $PREFIX/bin/dot -c
amirajdhawan/totient-pkg
configs/graphviz.sh
Shell
mit
216
#!/bin/bash date wget -q --tries=3 --timeout=5 --spider http://google.com if [[ $? -eq 0 ]]; then echo "Online" else echo "Offline" /usr/sbin/service openvpn stop echo "vpn stopped" /usr/sbin/service network-manager restart echo "network restarted" /usr/sbin/serv...
jamesmwhite/otto_robotto
linux_scripts/checkNet.sh
Shell
mit
375
#!/usr/bin/env sh monitor="$1" hc="${herbstclient_command[@]:-herbstclient}" active_color="$($hc attr theme.color)" # active text backgd_color="$($hc attr theme.background_color)" # default fg/bg normal_color="$($hc attr theme.normal.color)" # normal text select_color="$($hc attr theme.active.color)" # selected tag ...
hexid/dotfiles
config/herbstluftwm/panel_bar.sh
Shell
mit
3,385
#!/bin/bash #IPnotify - notifies me if my external DHCP-assigned IP address changes #written, produced, and directed by Kibble #This script is under the Beer License #If you see it and you like it, feel free to buy me a beer IPfile=~/tmp/IPfile.$$ IPlog=~/myIP.log if [ ! -e $IPlog ] then echo "0.0.0.0" > $IPlog f...
thedicearecubed/script-kiddies
ipnotify.sh
Shell
mit
1,178
#!/bin/bash ARTIFACT_NAME="servantV3-0.0.1-SNAPSHOT-fat.jar" BUILDING_FOLDER="/tmp/servantV3/" BACKUP_FOLDER="/opt/servant/backup/" INSTALLATION_FOLDER="/opt/servant/" if [ -d "$BUILDING_FOLDER" ]; then echo "cleaning up temporary folder" rm -rf $BUILDING_FOLDER fi echo "shutting down service" sudo /etc/ini...
ucpdh23/Servant
src/main/sh/deploy.sh
Shell
mit
1,158
#!/bin/bash source "/root/mrminer/lib/functions.sh" # Get Stats HARDWARE=$(sudo /root/mrminer/tool/hardware.sh) # Send Stats sleep 1 curl -k -d api="$API" -d email="$EMAIL" -d hardware="$HARDWARE" $URL/hardware
mrminerco/mrminer
cron/hardware_status.sh
Shell
mit
213
screen -dmS "runserver" screen -r "runserver" -p 0 -X stuff $'cd /vagrant/review\n' screen -r "runserver" -p 0 -X stuff $'python manage.py runserver 0.0.0.0:8000 --settings=review.settings.local\n'
JSchwerberg/review
startserver.sh
Shell
mit
201
wget -q http://www.duke-energy.com/indiana/outages/current.asp -O - | grep -A 2 -i monroe | tail -n 1 | cut -d\> -f2 | cut -d\< -f1 | sed s/,// >> ~/power_out echo ~/power_out while sleep 299 do wget -q http://www.duke-energy.com/indiana/outages/current.asp -O - | grep -A 2 -i monroe | tail -n 1 | cut -d\> -f2 | cu...
czarnoff/czarnoff-dotfiles
bin/old_bin/powerup.sh
Shell
mit
396
#!/bin/bash # We move into build directory, regardless of the path from which we called this script DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd "$DIR" if [ ! -f ./config/run.config ] then echo Missing run configuration. echo Copy "config/run.config.example" to "config/run.config" and edit it to apply...
Antaniasdasd/Paint.js
build/run.sh
Shell
mit
434
#!/usr/bin/env zsh # # File utilities # function file_exist { if [ -a "$1" ]; then echo "File found!" else echo "File not found!" exit 1 fi } function directory_exist { if [ -d "$1" ]; then echo "File found!" else echo "File not found!" exit 1 fi } function file_does_not_exist { ...
ConnorAtherton/bop
src/file.zsh
Shell
mit
672
#!/usr/bin/env bash DIR_PATH="$( if [ "$( echo "${0%/*}" )" != "$( echo "${0}" )" ] ; then cd "$( echo "${0%/*}" )"; fi; pwd )" if [[ $DIR_PATH == */* ]] && [[ $DIR_PATH != "$( pwd )" ]] ; then cd $DIR_PATH fi OPT_SERVICE_NAME_FULL=${SERVICE_NAME_FULL:-apache-php.app-1.1.1@8080.service} OPT_SERVICE_NAME_SHORT=$(cut ...
jbcompvm/vdm-centos
systemd-install.sh
Shell
mit
826
#!/bin/sh curl --request DELETE 'http://localhost:5000/api/v1/orders/500003' \ --include \ --silent \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data ''
bjoernalbers/mowoli
examples/delete_order.sh
Shell
mit
206
#!/bin/bash tasks/spreadsheet.js > src/_data/projects.json \
atmccann/atmccann.github.io
tasks/update.sh
Shell
mit
61
wget --quiet \ --method POST \ --header 'content-type: application/json' \ --header 'authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJjb25zdWx0YUBlbnRlcnBsdWcuY29tLmJyIiwiZXhwIjoxNDcwOTM2Njg1fQ.o_8klFgjA2EZSzeyIAczCQU6lRWRJZBtkFcJvidtcVo_abWtS8Xis2Qg4C3aArCIYTyZjr3aPLb4LSd9aqzFFQ' \ --header 'cache-control...
enterplug/consulta-enterplug
consulta-4/consulta-4-shellscript-example/consulta-4-shellscript-wget.sh
Shell
mit
618
cat >a <<EOF #if SOMETHING foo #endif // foo baz EOF cat >b <<EOF #if SOMETHING foo bar #endif // foo bar baz EOF ./difdef -DA -DB a b >out cat >expected <<EOF #if SOMETHING foo #ifdef B bar #endif /* B */ #endif // foo bar baz EOF diff expected out rm -f a b expected out
Quuxplusone/difdef
tests/coalesce-endifs.sh
Shell
mit
290
#/bin/sh download=0 download_extract() { if which curl then echo Downloading scp.tar.xz with curl if curl -L -O "https://vle-project.org/pub/baryonyx/$1" then download=1 fi else if which wget then echo Downloading scp.tar.xz with wget if wget "https://vle-project.org/p...
quesnel/baryonyx
benchmarks/download.sh
Shell
mit
692
#!/bin/bash set -ue packages="textlint \ textlint-rule-preset-japanese \ textlint-rule-prh \ textlint-rule-preset-ja-technical-writing \ textlint-rule-common-misspellings \ textlint-rule-spellcheck-tech-word" if ! type npm > /dev/null 2>&1; then sudo apt-get install -y npm fi sudo npm i -g $p...
takahasi/utility
textlint/setup.sh
Shell
mit
977
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2305-1 # # Security announcement date: 2011-09-08 00:00:00 UTC # Script generation date: 2017-01-01 21:06:17 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: i386 # # Vulnerable packages fix on version: # - vsftpd:2.3.2-3+squeeze2 # # Last ver...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/i386/2011/DSA-2305-1.sh
Shell
mit
616
#!/bin/bash cd /app/src/ exec /sbin/setuser app bundle exec bin/percy-hub reap_locks 2>&1
percy/percy-hub
bin/reap-locks.sh
Shell
mit
91
#!/bin/bash script_dir=$(dirname "$(readlink -f "$0")") export KB_DEPLOYMENT_CONFIG=$script_dir/../deploy.cfg export PYTHONPATH=$script_dir/../lib:$PATH:$PYTHONPATH uwsgi --master --processes 5 --threads 5 --http :5000 --wsgi-file $script_dir/../lib/ContigCount/ContigCountServer.py
levinas/kb_sdk_ContigCount
scripts/start_server.sh
Shell
mit
283
#!/bin/bash bundle exec jekyll build --config _config.yml,_config_dev2.yml --watch
efttbthub/eft-tbt-v1-test
_serve2.sh
Shell
mit
83
# Remove the hosts that I don't want to keep around- in this case, only # keep the first host. Like a boss. alias hosts="head -2 ~/.ssh/known_hosts | tail -1 > ~/.ssh/known_hosts" # Pipe my public key to my clipboard. Fuck you, pay me. alias pubkey="more ~/.ssh/id_rsa.pub | xclip | echo '=> Public key copied to pasteb...
jphenow/dotfiles
system/keys.bash
Shell
mit
328
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3392-1 # # Security announcement date: 2015-11-04 00:00:00 UTC # Script generation date: 2017-01-01 21:07:36 UTC # # Operating System: Debian 8 (Jessie) # Architecture: x86_64 # # Vulnerable packages fix on version: # - freeimage:3.15.4-4.2 # # Last versi...
Cyberwatch/cbw-security-fixes
Debian_8_(Jessie)/x86_64/2015/DSA-3392-1.sh
Shell
mit
608
#!/bin/bash # Invoke with a config file: # ./dockerup.sh ./proxy.json set -e set -x if ! vagrant status | grep "default *running " then vagrant up else vagrant provision fi vagrant ssh -c "docker run -i -t -p 4040:4040 node-api-proxy $1"
mattpardee/node-api-proxy
dockerup.sh
Shell
mit
247
#!/bin/sh __FILE__=$(cd $(dirname $0) && pwd) BASEDIR=$(cd $(dirname $__FILE__) && pwd) # jawiki cd $BASEDIR mkdir -p data/corpus-raw/enwiki-latest-pages-articles/bz2 mkdir -p data/corpus-raw/enwiki-latest-pages-articles/txt mkdir -p data/corpus cd data/corpus-raw/enwiki-latest-pages-articles/bz2 if [ ! -f enwiki-la...
k-fujikawa/wp2corpus
example/enwiki.sh
Shell
mit
656
#!/bin/bash # set project usage openstack quota set \ --class 3layer_web_app_db_architecture \ --server-groups 4 \ --server-group-members 8\ --key-pairs 10 \ --floating-ips 2 \ --networks 4 # set up a 3 teir arch quota # there will be # 3 networks... 1 with public access, the other 2 will h...
primusdj/vagrant-devstack
scripts/os_project_quota.sh
Shell
mit
4,499
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2009-1 # # Security announcement date: 2013-10-29 00:00:00 UTC # Script generation date: 2017-02-06 21:03:16 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: i386 # # Vulnerable packages fix on version: # - firefox:25.0+build3-0ubuntu0.12.04.1 #...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/i386/2013/USN-2009-1.sh
Shell
mit
937
#!/bin/bash docker --version &> /dev/null if [ $? -ne 0 ]; then echo "Docker is not installed. Please install Docker and try again." exit 1 fi docker start redis-test 2> /dev/null || docker run --name redis-test -p 6379:6379 -d redis dotnet test tests/StackExchange.Redis.DataTypes.Tests if [[ $? -eq 0 && "$...
ArinGhazarian/StackExchange.Redis.DataTypes
build.sh
Shell
mit
385
#!/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...
arnoldxt/MWPhotoBrowser
Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-frameworks.sh
Shell
mit
4,899
#!/bin/bash yum-config-manager --add-repo=$1 yum install -y python2-iml-manager chroma-config setup admin lustre localhost --no-dbspace-check -v
intel-hpdd/intel-manager-for-lustre
vagrant/scripts/install_iml.sh
Shell
mit
146
#!/bin/sh # CYBERWATCH SAS - 2016 # # Security fix for RHSA-2013:1863 # # Security announcement date: 2013-12-19 23:43:08 UTC # Script generation date: 2016-05-12 18:11:46 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - candlepin.noarch:0.8.26.0-1.el6sam # ...
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2013/RHSA-2013:1863.sh
Shell
mit
916
#!/bin/sh # CYBERWATCH SAS - 2016 # # Security fix for RHSA-2012:0705 # # Security announcement date: 2012-06-05 01:58:47 UTC # Script generation date: 2016-05-12 18:10:49 UTC # # Operating System: Red Hat 6 # Architecture: x86_64 # # Vulnerable packages fix on version: # - autocorr-af.noarch:3.2.1-19.6.el6_2.7 #...
Cyberwatch/cbw-security-fixes
Red_Hat_6/x86_64/2012/RHSA-2012:0705.sh
Shell
mit
23,938
#!/bin/bash # Get the name and put it in the variable "DEVICES" # See the file "upside-down.sh" DEVICE=$(xrandr -q | awk '/primary/ {print $1; exit;}') # Put the screen back to normal orientation /usr/bin/xrandr --output $DEVICE --orientation normal
mininao/pranks
bash/upside-down.reset.sh
Shell
mit
251
#!/bin/bash cd Cuis-Smalltalk Squeak.app/Contents/MacOS/Squeak Cuis-Smalltalk-Dev/Cuis6.0-????.image
Cuis-Smalltalk/Cuis-Smalltalk-Dev
cuis.sh
Shell
mit
101
#!/bin/bash # 'v' with no arguments opens the current directory in Vim # otherwise opens the given location unset v function v() { if [ $# -eq 0 ]; then vim .; else vim "$@"; fi; } export -f v && readonly -f v unset vup function vup() ( local d cd "${HOME}"/.vim || exit 1 for d in ./bundle/* do...
longboatharry/dotfiles
environment.dotfile/functions/vi_utils.sh
Shell
mit
589
#!/bin/bash nohup /home/gbencke/Downloads/android-studio/bin/studio.sh 2> /dev/null 1> /dev/null &
gbencke/dotfiles
new.host/arch/i3/scripts/start_android.sh
Shell
mit
102
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3082-1 # # Security announcement date: 2014-11-30 00:00:00 UTC # Script generation date: 2017-01-01 21:07:07 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: armv7l # # Vulnerable packages fix on version: # - flac:1.2.1-6+deb7u1 # - libflac8:...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/armv7l/2014/DSA-3082-1.sh
Shell
mit
1,279
# shell script for running tests # activate virtualenv source venv/bin/activate python setup.py develop # install coveralls pip install coveralls echo "======================================================================" echo if [ "$1" == "remote" ] ; then REMOTE=true python -m unittest discover tests -v else...
voidabhi/GrowthHackersAPI
runtests.sh
Shell
mit
698
#!/bin/sh +x curl -X PUT -H "Content-type: application/json;" \ -d @ping_and_http.json \ http://localhost:4567/_status/svaroh/_services
dmytro/nagira
test/data/json/ping_and_http_check.sh
Shell
mit
144
if [ -n "$INFO" ] then echo "Show information about a container or an image" exit 0 fi set -u set -e help() { echo "usage: inspect [-h] [-i] <image>/<container> [<parameter> ..]" echo "Matches containers first" echo " -i will match images only" } ## Main . "$LIB/lib.sh" init_lib image= while getopts hi arg do...
toddnni/zocker
cmds/inspect.sh
Shell
mit
1,108
if [[ "$dotfiles_platform" == 'linux' ]]; then dsymlink modules/imwheel/imwheelrc ~/.imwheelrc fi
justinhoward/dotfiles
modules/imwheel/install.sh
Shell
mit
100
#!/bin/bash OUTPUT=${OUTPUT:-"results.csv"} echo "Writing to $OUTPUT" PROGRAMS=${PROGRAMS:-"blur bubblesort binaryheap"} VERSIONS=${VERSIONS:-"naive idiomatic customarray optimized"} RUNTIMES=${RUNTIMES:-"stub minimal incremental"} OPTIMIZERS=${OPTIMIZERS:-"O3 O3s"} echo "Program,Language,Engine,Variant,Optimizer,Ru...
surma/surma.github.io
static/things/js-to-asc/run_benchmark.sh
Shell
mit
3,583
# Get a random quote fron the site http://www.quotationspage.com/random.php3 # Created by Eduardo San Martin Morote aka Posva # http://posva.github.io # Sun Jun 09 10:59:36 CEST 2013 # Don't remove this header, thank you # Usage: quote WHO_COLOR="$fg[red]$bg[black]" COLON_COLOR="$fg[red]" TEXT_COLOR="$fg_bold[white]" ...
vveleva/oh-my-zsh
plugins/rand-quote/rand-quote.plugin.zsh
Shell
mit
961
#!/bin/bash # -------------------------------------------------------------------------------------------------- # # Installation script for IntelROCCS/Monitor. There will be lots of things to test and to fix, but # this is the starting point. This installation has to be performed as user root. # # ...
vlimant/IntelROCCS
installMonitor.sh
Shell
mit
2,500
#!/bin/bash #$ -N preprocessing #$ -q lola #$ -e salidas/err/preprocessing_err.txt #$ -o salidas/out/preprocessing_out.txt #$ -cwd /anaconda/anaconda3/bin/python3 preprocessing.py
benitesf/Skin-Lesion-Analysis-Towards-Melanoma-Detection
launch_preprocessing.sh
Shell
mit
182
#! /bin/bash set -e PLT_DST="$HOME/.dialyzer_plt" die() { echo "$1" exit 1 } plt_src() { declare -r erl_vsn=$( erl \ -eval 'erlang:display(erlang:system_info(otp_release)), halt().' \ -noshell \ | tr -d '\r' ) case "$erl_vsn" in '"17"' ) echo...
ibnfirnas/oauth1_core
plt/select.sh
Shell
mit
579
cd src make clean install strip --strip-all /usr/sbin/cnix
DDuarte/cnix
install.sh
Shell
mit
60
#!/bin/bash chars="/-\|" while :; do for ((i=0; i<${#chars}; i++)); do sleep 0.1 echo -en " ${chars:$i:1}" "\r" done done
xuchdeid/js
node/load.sh
Shell
mit
148
alias dps='docker ps' alias dpsa='docker ps --all'
mauricerkelly/dotfiles
docker/aliases.sh
Shell
mit
51
#!/bin/bash -ev # # Installation Script # Written by: Tommy Lincoln <pajamapants3000@gmail.com> # Github: https://github.com/pajamapants3000 # Legal: See LICENSE in parent directory # # # Dependencies #************** # Begin Required #gtk+-3.16.6 # End Required # Begin Required Runtime #xfce4-notifyd-0.2.4 #notificatio...
pajamapants3000/BLFS_scripts_etc
scripts/libnotify-0.7.6.sh
Shell
mit
1,437
#!/bin/bash function quit { docker-compose stop docker-compose rm -f -v --all exit $1 } docker-compose up -d # Make sure containers are ready for the test sleep 40 # OS X (Darwin) o Linux if [ "$(uname -s)" = "Darwin" ] ; then service_ip=$(boot2docker ip) else service_container=$(docker ps -a | awk {}'{ print...
morsoinferno/CI-tutorial
deploy/integration-test.sh
Shell
mit
842
# -*- shell-script -*- # "set trace-commands" debugger command # # Copyright (C) 2010, 2011 Rocky Bernstein <rocky@gnu.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 versi...
rogalmic/vscode-bash-debug
bashdb_dir/command/set_sub/trace-commands.sh
Shell
mit
1,431
#!/bin/bash pipe_to_fd() { # make sure fds are valid for ((i=1; i<=$#; ++i)); do { >&"${!i}"; } 2> /dev/null || bail "tee_fd: Invalid fd (${!i}) given" done while true; do if IFS= read -r line; then for ((i=1; i<=$#; ++i)); do echo "${line}" >&"$...
codemedic/bash-pack
file.sh
Shell
mit
1,025
#!/bin/bash set -x docker stop $(docker ps -a -q) docker rm $(docker ps -a -q)
halberom/ansible_role_iptables
tests/stop_containers.sh
Shell
mit
80
#!/bin/bash USER_NAME=$1 if [ `whoami` == 'hdfs' ]; then HDFS_COMMAND='hdfs' else HDFS_COMMAND='sudo -u hdfs' fi ${HDFS_COMMAND} hdfs dfs -mkdir -p /user/${USER_NAME} ${HDFS_COMMAND} hdfs dfs -chown ${USER_NAME} /user/${USER_NAME}
kazuhira-r/dockerfiles
centos6-cdh-spark/create-user-hdfs.sh
Shell
mit
242
#!/bin/bash git submodule update --init dir=~/dotfiles olddir=~/dotfiles_old files="bash_profile bashrc vimrc vim inputrc gitconfig tmux.conf taskrc" # create dotfiles_old in homedir echo "[INIT] Creating $olddir for backup of any existing dotfiles in ~" mkdir -p $olddir echo "...done" # change to the dotfiles dir...
gbea/dotfiles
deploy.sh
Shell
mit
716
#!/usr/bin/env bash herokuDir=/opt/heroku appDir=`pwd` . ${herokuDir}/jvm-common/bin/util . ${herokuDir}/jvm-common/bin/java javaVersion=$(detect_java_version $appDir) ln -s ${herokuDir}/jdk${javaVersion:="1.8"}/.jdk ${herokuDir}/.jdk ln -s ${herokuDir}/jdk${javaVersion}/.profile.d ${herokuDir}/.profile.d echo "Usi...
jkutner/heroku-java-docker
bin/run.sh
Shell
mit
454
## Push to external hard drive rsync -anv --no-whole-file --exclude '*.DS_Store' --delete \ ~/GitHub/ma-thesis-york/data/ \ /Volumes/Seagate/language-data/ma-thesis-york/data rsync -avz --no-whole-file --exclude '*.DS_Store' --delete \ ~/GitHub/ma-thesis-york/data/ \ /Volumes/Seagate/language-data/ma-...
stefanocoretta/ma-thesis-york
backup.bash
Shell
mit
664
valac class-main-int-args.vala ./class-main-int-args
foreachsam/book-lang-vala
book/example/entry-point/class-main-int-args/make.sh
Shell
cc0-1.0
53
# sync with soloing.org
gilarus/totoro
scripts/sync.sh
Shell
gpl-2.0
24
./bin/VRProteinShop data/1IN0.pdb
VisualIdeation/VRProteinShop
scripts/1IN0.sh
Shell
gpl-2.0
34
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun ltconfig. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is free ...
aosm/gcc_40
ltmain.sh
Shell
gpl-2.0
159,924
#!/bin/bash # Create a random chromosome function random_chromosome(){ for i in `seq 1 $1` do chromosome="$chromosome$[RANDOM % 2]" done echo $chromosome } # Computes maxOnes fitness function compute_fitness(){ string=$1 ones=${string//0/} echo ${#ones} } # Mutate all chromosomes in th...
iblancasa/BashEO
basheo.sh
Shell
gpl-2.0
1,270
# Openstack icehouse installation script # on ubuntu 14.04 by kasidit chanchio # vasabilab, dept of computer science, Thammasat University, Thailand # copyright 2014 # # run with sudo or as root. # #!/bin/bash -x cd $HOME/OPSInstaller/compute1 pwd printf "1. set interface/hosts files.. press\n" #read varkey cp files/...
kasidit/openstack-mitaka-installer
documents/OPSInstaller.example/compute1/exe-stage03-SUDO-compute-preinstall.sh
Shell
gpl-2.0
864
#!/bin/bash source vars cat <<EOQ | rhui-manager --username admin --password admin ${RHUI_CERTS_DIR}/client-ca-chain.pem ${RHUI_CERTS_DIR}/client-ca-key.pem 3650 q EOQ
jwmatthews/rhui_scripts
older/install/rhui_manager_initial_setup.sh
Shell
gpl-2.0
170
#!/bin/bash # # Start the simulation # # Be sure to create a Makefile first and compile all Verilog and VHDL files. # cat <<EOF > vsim.do do wave.do set PMEM_REG "sim:/core_tb/DUT/PMem_0/mem" do ../firmware/gpio/gpio.do force -deposit {sim:/core_tb/DUT/P1_DIn_s[3]} St1 @0.22ms -cancel @0.23ms run -all EOF vsim -t 10...
hansiglaser/chll
examples/wsn-soc/units/core/sim-gpio/sim.sh
Shell
gpl-2.0
364
#! /bin/sh here=`pwd` if test $? -ne 0; then exit 2; fi tmp=/tmp/$$ mkdir $tmp if test $? -ne 0; then exit 2; fi cd $tmp if test $? -ne 0; then exit 2; fi fail() { echo "FAILED" 1>&2 cd $here chmod -R u+w $tmp rm -rf $tmp exit 1 } pass() { echo "PASSED" 1>&2 cd $here chmod -R u+w $tmp...
fmeynadier/scidavis
test/00/t0001a.sh
Shell
gpl-2.0
514
#!/bin/bash # Created by: David Regal # Modified by: David Regal arg0=$(basename $0) usage_printed=false # To prevent printing usage more than once # Functions function usage () { if ! $usage_printed; then arg0=$(basename $0) echo "Usage: $arg0 -r destination-root -h server-name" echo " $arg0 [-d] [-v]" ...
davidregal/home-bin
standards/template.sh
Shell
gpl-2.0
2,694
#!/bin/bash # Main PHP changes sed -i 's/;extension=gd.so/extension=gd.so/g' /etc/php/php.ini sed -i 's/;extension=iconv.so/extension=iconv.so/g' /etc/php/php.ini sed -i 's/;extension=xmlrpc.so/extension=xmlrpc.so/g' /etc/php/php.ini sed -i 's/;extension=zip.so/extension=zip.so/g' /etc/php/php.ini # Changes needed aft...
astonbitecode/owncloud-pi
resources/scripts/oc.sh
Shell
gpl-2.0
4,458
#!/bin/bash #Very basic regression testing does a number of regular compression / #decompression / test cycles +/- STDIN +/- STDOUT and with the different #compression backends. #Run it with # regression_test.sh filename #where filename is any random file to test with (big or small depending on #what's being tested. ...
grevutiu-gabriel/lrzip
regression_test.sh
Shell
gpl-2.0
4,582
#!/bin/bash echo "This will copy the latest version of Gog's Megacampaign to your mod folder, Asami." echo read -rsp $'Press any key to begin.\n' -n1 key rm -rv ~/Documents/Paradox\ Interactive/Europa\ Universalis\ IV/mod/Gogmod rm ~/Documents/Paradox\ Interactive/Europa\ Universalis\ IV/mod/Gogmod.mod cp -rv ./Gogmod...
AsamiT/GogMegacampaign
mac_copy.sh
Shell
gpl-2.0
533
#!/usr/bin/env bash TOOLS_DIR=tools REACTIVISION_ZIP=reacTIVision-1.4pre2-src.zip REACTIVISION_DIR=reacTIVision-1.4pre2-src SIMULATOR_ZIP=TUIO_Simulator-1.3.zip SIMULATOR_DIR=TUIO_Simulator LIBDC=libdc1394-2.0.2.tar.bz2 function usage() { echo "Usage: launch.sh <simulator|reactivision|ladspa|noya>" exit } function...
tito/noya
launch.sh
Shell
gpl-2.0
1,920
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2012-2018 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...
jonatanolofsson/tup
test/t8065-rename-variant-monitor.sh
Shell
gpl-2.0
1,247
#!/bin/bash nums=`cat /automedia/oldvol.db` echo "nutm=$nums" let "nums=5000+$nums" if [ "$nums" -ge 65535 ]; then nums=65534 fi amixer set Master "$nums" echo $nums>/automedia/oldvol.db
mavrsmart/inetradio
volplus.sh
Shell
gpl-2.0
199
# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: target/dreamcast/build.sh # Copyright (C) 2004 - 2005 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it a...
arete/t2
target/dreamcast/build.sh
Shell
gpl-2.0
600
# Simple Invoker for Gource to Visualize HCOpenHouseApp # Ragul Balaji Dec 2015 cd .. gource -s 20 --highlight-users -1280x720 --title "Hwa Chong Open House App 2016 Development Progress" --follow-user Ragul\ Balaji #gource -s 5 --highlight-users -1280x720 --title "Hwa Chong Open House App 2016 Development Progress" --...
ragulbalaji/HCOpenHouseApp
others/rungource.sh
Shell
gpl-2.0
508
#!/bin/bash ./GetUsers.sh | gawk '$0!~"USERID|TOTAL"{print $1};$0~"TOTAL"{print $0}' | sort;
fffilimonov/BW_OCI-P
OCI-P/SortUsersID.sh
Shell
gpl-2.0
93
#!/bin/bash ################################################# # Algoritmica, Practica 1 # Plot de las comparaciones entre los ordenadores # de los componentes del equipo. ################################################# # Script de bash para crear una imagen .png con GNU-PLOT OUTPUT=./ImagenesComparacion/insercion_...
andreshp/Algoritmica
Practica1/Code/plot/compararInsercion.sh
Shell
gpl-2.0
1,553
#!/bin/sh hosts="82.71.24.37 82.71.54.222 82.69.120.91 82.71.51.95 82.71.54.59 82.71.55.215 82.71.51.66" customer=FourSeasonsCare aclstart=2046 mapstart=111 echo crypto keyring $customer-keyring for host in $hosts ; do echo -n " pre-shared-key hostname $host key " pwgen -1 16 done echo exit for host in $host...
TimJDFletcher/personal-scripts
bin/mkdynamic-vpn.sh
Shell
gpl-2.0
968
#!/usr/bin/env bash tx init tx set --auto-local -r kadu.kadu -s en 'translations/kadu_<lang>.ts' --execute plugins="" cd plugins for dir in *; do if [ -d $dir ]; then plugins="$plugins $dir" fi done cd .. for dir in $plugins; do dir1=$dir\_ tx set --auto-local -r kadu.$dir -s en "plugins/$dir/translations/...
vogel/kadu
translations/setup_transifiex.sh
Shell
gpl-2.0
351
#!/bin/bash # Example for running docker run -t -i libpng /bin/bash
ianmiell/OLD-shutitdist
libpng/bin/run.sh
Shell
gpl-2.0
69
#!/bin/tcsh -xef 3dMEMA -prefix stud_per-plc_CTL-MDD_tlrcMSK \ -jobs 4 \ -groups MDD CTL\ -mask tlrcTemplate_mask+tlrc \ -set hit-mss_MDD \ PARC_sub_2718 PARC_sub_2718.fs_brain.study.rbuck+tlrc'[35]' PARC_sub_2718.fs_brain.study.rbuck+tlrc'[36]' \ PARC_sub_2726 PARC_sub_2726.fs_brain.stud...
sorensje/dissertation
3dmem_stud_per-plc_ctl-mdd.sh
Shell
gpl-2.0
4,556
#!/bin/bash mkdir -p ./build cd ./build cmake .. make cd .. ln -s -f ./build/test/test_text ./test_text
galaxycrawler/galaxy_crawler
util/src/text/build.sh
Shell
gpl-2.0
110
#!/bin/bash git status | grep -E 'modified\|modifié' | awk '{print $3}' | rev | cut -d/ -f 1 | rev | tr $'\n' ' '
cyclingzealot/bin
gitTools/gitListModifiedFiles.bash
Shell
gpl-2.0
117
# Copyright 2015 Sean Nelson <audiohacked@gmail.com> #! /bin/bash cd ./rustds && \ ./RustDedicated -batchmode \ +server.hostname "${SERVER_NAME}" \ +server.identity "${SERVER_IDENT}" \ +server.port ${SERVER_PORT} \ +server.seed ${SERVER_SEED} \ +rcon.port ${RCON_PORT} \ +rcon.password ${RCON_PAS...
audiohacked/docker-containers
containers/PlayRust/start.sh
Shell
gpl-2.0
401
#!/bin/bash cd /usr/local/src wget http://uk1.php.net/get/php-5.6.12.tar.gz/from/this/mirror -O php.tar.gz tar xzvf php.tar.gz cd php-5.6.12/ext git clone https://github.com/krakjoe/pthreads.git wget http://pecl.php.net/get/mongo-1.6.10.tgz tar xzvf mongo-1.6.10.tgz cd /usr/local/src/php-5.6.12 ./buildconf --force &&...
borgius/bodos
images/php/build/build2.sh
Shell
gpl-2.0
935
convert images/OCS-673-A.png -crop 1557x1581+0+0 +repage images/OCS-673-A-0.png convert -append images/OCS-672-B-8.png images/OCS-673-A-0.png images/OCS-672-B-8.png rm images/OCS-673-A-0.png convert images/OCS-673-A.png -crop 1557x397+0+1582 +repage images/OCS-673-A-1.png convert images/OCS-673-A.png -crop 1557x71+0+19...
jonnymwalker/Staroslavjanskij-Slovar
scripts/findindents.OCS-673.sh
Shell
gpl-2.0
1,478
#! /usr/bin/env bash $XGETTEXT `find . -name \*.qml` -L Java -o $podir/plasma_shell_org.kde.blank.pot rm -f rc.cpp
aarontc/kde-workspace
plasma/qmlpackages/blank/Messages.sh
Shell
gpl-2.0
115
#!/bin/bash #set -x rm -rfv ~/rpmbuild rpmdev-setuptree ~ tmp=`mktemp` python -c "import rpm spec = rpm.spec('bde.spec') for src in spec.sources: print src[0]" > $tmp OLD_DIR=`pwd` cd ~/rpmbuild/SOURCES while read sourceurl do echo "Source: $sourceurl" wget "$sourceurl" done < $tmp ls -l cd "$OLD_DIR...
blaskovic/utilities
fedora-packages/bde/build_rpm.sh
Shell
gpl-2.0
363
#!/bin/bash # usage: # /path/to/run.sh # READS THE PARAMETERS FROM index.cfg including block_match_method # IMPLICIT INPUT FILES # right_imagen.tif # left_imagen.tif # ground_truth.tif # # IMPLICIT OUTPUT FILES # # disp_X.{tif} "F" # corr_X.{tif} "F" # # export PATH=$PATH:/usr/bin/:/usr/lo...
juan-cardelino/matlab_demos
ipol_demo-light-1025b85/app_available/57/scripts/runOF.sh
Shell
gpl-2.0
3,933
#!/bin/bash fullComp=false if [ $# -gt 0 ]; then if [ $1 == "-f" ]; then fullComp=true else echo "VerifyDuchamp.sh: A script to run multiple Duchamp runs, testing different algorithms." echo " Options: -f - Full comparison. This may throw up differences arising merely from precision...
MrHamdulay/duchamp
VerifyDuchamp.sh
Shell
gpl-2.0
6,291
#!/bin/bash ## git-profile-init - Select and initialize a git profile. ## Author: Kevin C. Krinke <kevin@krinke.ca> ## Copyright: GPLv2 # Present a whiptail menu, listing all profiles # When the user selects a profile, export the env accordingly # This script is intended to be sourced from ~/.bashrc as opposed # to be...
kckrinke/git-user-profiles
src/etc/profile.d/git-user-profiles.sh
Shell
gpl-2.0
2,066
#!/bin/sh if [ `id -u` -ne 0 ]; then echo " "; echo "Aborting install -- You must be root, otherwise I can't."; echo "make tinylogin be setuid root, which will cause it to fail."; echo " "; exit 1; fi; prefix=$1 if [ "$prefix" = "" ]; then echo "No installation directory, aborting." exit 1...
cedricde/lrs
client/src_initrd/tinylogin/install.sh
Shell
gpl-2.0
1,128
#!/bin/bash R="$1" sed -i.sed "s/C.sar Rodr.guez/XXXX/" $R/README.rst sed -i.sed "s/github.com.cesaro.dpu/XXXX/" $R/README.rst sed -i.sed "s/lipn.univ-paris13.fr..rodriguez/XXXX/" $R/README.rst sed -i.sed "s/our CONCUR'15 paper/the CONCUR'15 paper/" $R/README.rst find $R | grep '\.sed$' | xargs rm
cesaro/dpu
scripts/anonymize.sh
Shell
gpl-2.0
303
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2009-2020 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...
ppannuto/tup
test/t3059-var-sed-subdir.sh
Shell
gpl-2.0
1,283
curl -v --data "client_orderid=inv0002001&order_desc=Test Order Description&first_name=John&last_name=Smith&ssn=1267&birthday=19820115&address1=100 Main st&city=Seattle&state=WA&zip_code=98102&country=US&phone=+12063582043&cell_phone=+19023384543&amount=10.4&email=john.smith@gmail.com&currency=USD&ipaddress=65.153.12.2...
alexeybezverkhiy/fibonatix
Merchant/MerchantAPI/Tests/fb-sale.sh
Shell
gpl-3.0
719
#/usr/bin/bash #On some platforms, json-c is installed to <json-c/json.h>, #but on other platforms to <json/json.h>. cat > .testjsoninclude.h <<'EOM' #include <json-c/json.h> EOM if gcc -E .testjsoninclude.h then echo '#include <json-c/json.h>' > ../llamapun/json_include.h else echo '#include <json/json.h>' > ...
KWARC/deprecated-LLaMaPUn
src/scripts/jsonincludecheck.sh
Shell
gpl-3.0
953
if [[ "$1" == "" ]] ; then echo Syntax: $0 \<ms\> else for (( a=1 ; $a<81 ; a++ )) ; do if (( $a<10 )) ; then node="node00$a" else node="node0$a" fi if [[ "`ssh ${node} -C ls /data?/users/lofareor/|grep $1`" != "" ]] ; then nodesubs="`ssh ${node} -C \"find /data?/users/lofareor/$1/\"|grep SB|...
jjdmol/LOFAR
CEP/DP3/AOFlagger/scripts/distributed/list-nodes.sh
Shell
gpl-3.0
418
#!/bin/bash export DJANGO_SETTINGS_MODULE='certdigitvale.settings' # Activate the virtual environment source /home/certdigitalvale/venv/bin/activate cd /home/certdigitalvale/app/certificadodigitalvale/source/ # Start your Django Unicorn # Programs meant to be run under supervisor should not daemonize themselves (do...
jp-mr/certificadodigitalvale
gunicorn_start.sh
Shell
gpl-3.0
410