blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
4
115
path
stringlengths
2
970
src_encoding
stringclasses
28 values
length_bytes
int64
31
5.38M
score
float64
2.52
5.28
int_score
int64
3
5
detected_licenses
listlengths
0
161
license_type
stringclasses
2 values
text
stringlengths
31
5.39M
download_success
bool
1 class
63eb9a1f2bc4c7870bf8c8e3c87193ab296bbef5
Shell
jgarte/emacs-container
/bashrc
UTF-8
304
3.1875
3
[]
no_license
vterm_printf () { if [ -n "$TMUX" ] then printf "\ePtmux;\e\e]%s\007\e\\" "$1" elif [ "${TERM%%-*}" = "screen" ] then printf "\eP\e]%s\007\e\\" "$1" else printf "\e]%s\e\\" "$1" fi } vterm_prompt_end(){ vterm_printf "51;A$(whoami)@$(hostname):$(pwd)" } PS1=$PS1'\[$(vterm_prompt_end)\]'
true
acf7cf3a242fa2eebc71cd1ea6abd48da9bf6e96
Shell
cuauv/software
/install/ripgrep-install.sh
UTF-8
337
3.125
3
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash set -xeuo pipefail VERSION=0.7.1 tmpDir="$(mktemp -d)" pushd . cd "$tmpDir" archiveName="ripgrep-$VERSION-x86_64-unknown-linux-musl" wget "https://github.com/BurntSushi/ripgrep/releases/download/$VERSION/$archiveName.tar.gz" tar -xf "$archiveName".tar.gz cp "$archiveName"/rg /usr/local/bin popd...
true
882ebbad3393c0a857ffd740ad3170576b57d712
Shell
dlang/dmd
/compiler/test/compilable/extra-files/vcg-ast-arraylength-postscript.sh
UTF-8
620
2.90625
3
[ "BSL-1.0" ]
permissive
#!/usr/bin/env bash source tools/common_funcs.sh # Test if there's call to the runtime for .length = 100 grep "_d_arraysetlengthT(arr, 100.*)" "${TEST_DIR}/${TEST_NAME}.d.cg" && # Make sure there's no call to the runtime for .length = 0 ! grep "_d_arraysetlengthT(\(arr\|f\), 0.*)" "${TEST_DIR}/${TEST_NAME}.d.cg" && #...
true
4c5e4c3e331446a4d1e1409e20a142a83d663d98
Shell
Roshibean/b32-intro-bash
/exercices/exercice1.sh
UTF-8
337
3.828125
4
[]
no_license
#!/bin/bash #Lire un mot avec read #Et dire si le mot existe read -p "Entrez un mot : " mot result=`wget -qO - http://dictionary.objectif8.com/exists.php?word=$mot` # commande "wget" ne fonctione pas sur windows seulement sur linux if test $result = "1";then echo "Ce mot existe." else echo "Ce mot n'...
true
b05e0658277926b6711837dbfadca6c86c1862d9
Shell
jonsmithers/dotfiles
/zsh/change_theme
UTF-8
23,824
3.828125
4
[]
no_license
#!/bin/bash # This script prompts for choice of theme and then configures vim and kitty to # have matching themes. # # Additional Kitty Setup # ======================= # # None. This script will automatically obtain the necessary theme assets. # # # Additional Vim Setup # ==================== # # 1. If the script does...
true
be30c7fe781aa2de620908e858c351473bd92469
Shell
kurotetsuka/amaktet
/game
UTF-8
489
2.640625
3
[]
no_license
#!/bin/bash cp="-cp lib/*:lib/lwjgl/jar/*:jar/*" natives="-Djava.library.path=lib/lwjgl/native/linux" #natives="-Djava.library.path=lib/lwjgl/native/macosx" #natives="-Djava.library.path=lib/lwjgl/native/solaris" #natives="-Djava.library.path=lib/lwjgl/native/windows" memory_min="256m" memory_max="512m" memory_min_a...
true
307adcec07e261c848b8d368dc2f1d5de0f68b0e
Shell
yuanqingmei/NJU-Bras-Auto-Login
/bras.sh
UTF-8
958
3.390625
3
[]
no_license
#!/bin/sh USERNAME="$1" PASSWORD="$2" if test "$1" = "out" -o "$1" = "-o" -o "$1" = "--out"; then curl -m 5 -sS http://p.nju.edu.cn/portal_io/logout exit fi set -e INFO=$(curl -m 5 -sS http://p.nju.edu.cn/portal_io/getinfo) if echo "$INFO" | grep -q '"reply_code":0'; then echo "$INFO" exit fi if te...
true
a2ba9f92972eaa30783cabca6c801d472897bed6
Shell
anirudhreddy18/Linux
/Exercise4.sh
UTF-8
454
3.84375
4
[]
no_license
#!/bin/bash if [[ $USER != root ]] then echo "User cannot be created" exit 1 fi if [[ $# -eq 0 ]] then echo "Please provide an account name in the arguments supplied" exit 1 fi USERNAME="$1" shift COMMENT="$@" echo $USERNAME echo $COMMENT useradd -c "$COMMENT" -m $USERNAME echo "User Created is $USE...
true
a15c217fa779232d8cb10737d8c04c88ee14d7b1
Shell
DanielTakeshi/DCUR
/bash/paper/offline_ant.sh
UTF-8
2,061
2.5625
3
[ "MIT" ]
permissive
# ------------------------------------------------------------------------------ # # Offline RL, for curriculum experiments. CoRL 2021 plan. # https://github.com/CannyLab/spinningup/pull/32 # ------------------------------------------------------------------------------ # CPU1=0 CPU2=9 ENV=Ant-v3 TYPE=logged T_SOURCE=a...
true
6c528a949fb3f0008a2b3f13d9db989049fea534
Shell
tmeisenh/dotfiles
/files/.zsh-tmeisenh-dotfiles/prompt.zsh
UTF-8
1,864
3.203125
3
[]
no_license
# Z shell configuration file # # Author: Travis Meisenheimer <travis@indexoutofbounds.com> # # prompt.zsh setup - sets up git, works with zprezto as well #******************************************************************** function prompt_tmeisenh_precmd() { vcs_info print -Pn "\033]0;%n@%m%# %~ %W :: %T\a" } ...
true
6c44209248c095c67ee100efe6101af0aa34de89
Shell
jappjapp/scripts
/GitNoRelease/git-mnr
UTF-8
222
3
3
[]
no_license
#!/bin/sh MERGE_INTO=`git rev-parse --abbrev-ref HEAD` MERGE_FROM=$@ git checkout $MERGE_FROM LINES=`git grep -F "NORELEASE"` if [ -n "$LINES" ]; then echo "$LINES" else git checkout $MERGE_INTO git merge $MERGE_FROM fi
true
595113fc3fb2f8edbe0bfc2da31214ab8a72b301
Shell
stasiaks/.dotfiles
/.config/yadm/bootstrap.d/vundle.sh
UTF-8
323
2.578125
3
[]
no_license
#!/bin/sh if ! [ -d "$HOME/.vim/bundle/Vundle.vim" ]; then echo "Downloading Vundle" git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim vim +PluginInstall +qall fi if ! [ -d "$HOME/.vim/bundle/coc.nvim/build" ]; then cd $HOME/.vim/bundle/coc.nvim yarn install cd - ...
true
2fc0ccdf759b4386aa7b8ae55f97e9494a8197e1
Shell
rkarger-google/magic-modules
/.ci/containers/terraform-tester/test_terraform.sh
UTF-8
3,239
3.390625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e version=$1 pr_number=$2 mm_commit_sha=$3 build_id=$4 project_id=$5 build_step=$6 github_username=modular-magician if [ "$version" == "ga" ]; then gh_repo=terraform-provider-google elif [ "$version" == "beta" ]; then gh_repo=terraform-provider-google-beta else echo "no repo, dying." ...
true
173f634169200205c32d9f50d5a99e7ec091fc7a
Shell
acrdlph/fcr-project
/fcr-scripts/apply_and_challenge.sh
UTF-8
310
2.8125
3
[]
no_license
#!/bin/bash export LISTING=$1 fcr apply $LISTING 1025 --from=1 fcr challenge $LISTING --from=2 if [ $2 = "fail" ]; then fcr buy $LISTING LONG_ACCEPTED 5 --from=3 else fcr buy $LISTING SHORT_ACCEPTED 5 --from=3 fi evm increaseTime 3600 fcr close $LISTING echo "Applied, challenged, and closed $LISTING"
true
60257d2da7cca4a4bb7f32c9a8a261279b21bf91
Shell
zuzu59/logomatch
/sort_urls.sh
UTF-8
436
3.625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash #petit script pour faire trier et supprimer les doublons #zf190327.1615 #test si l'argument est vide if [ -z "$1" ] then echo -e " Syntax: ./sort_urls.sh data/liste_urls.csv " exit fi INPUT=$1 OUTPUT=`echo $1 | sed 's/.csv/_unique.csv/g'` echo $INPUT echo $OUTPUT #exit echo -e "site,u...
true
2316f7b0550703f37d53138008c0123a5608b63f
Shell
MatthewWilkes/explain.depesz.com
/vagrant_bootstrap.sh
UTF-8
2,090
3.59375
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash export PGDATA="/etc/postgresql/10/main" export APP_USER="explain" export APP_PASS="explain" export BASEDIR="/vagrant" ### This script *can* be run on a Docker Ubuntu VM if desired. ### To do so, additional commands need to be run: # apt-get update # apt-get -y -qq install make curl libclone-perl lsb-relea...
true
299a45d0e19652f7971d90dc2a30fa8408765ddd
Shell
dansku/balena_pijuice
/pijuice/tags_api/get-device-tag.sh
UTF-8
472
2.53125
3
[]
no_license
TAG_KEY=$1 RESIN_DEVICE_ID=$2 if ! [ "$RESIN_DEVICE_ID" ] ; then RESIN_DEVICE_ID=$(curl "https://api.balena-cloud.com/v4/device?\$select=id,uuid&\$filter=uuid%20eq%20'$RESIN_DEVICE_UUID'" -H "Authorization: Bearer $RESIN_API_KEY" | jq '.d[0].id') fi curl -X GET "https://api.balena-cloud.com/v4/device_tag?\$filter=((d...
true
e2ad0c74f2f3e5a8f5b4a124c5900da75c0f2b9e
Shell
okapies/travis-sandbox
/.travis/build-menoh.sh
UTF-8
1,330
3.921875
4
[ "MIT" ]
permissive
#!/bin/bash # retrieve arguments while [[ $# != 0 ]]; do case $1 in --) shift break ;; --source-dir) ARG_SOURCE_DIR="$2" shift 2 ;; --install-dir) ARG_INSTALL_DIR="$2" shift 2 ;; ...
true
a9d5bdbc5178280a8972b652bc9c31d6cb27b5f4
Shell
prplfoundation/prplMesh-tools
/klocwork/kw.sh
UTF-8
5,812
3.875
4
[ "BSD-2-Clause-Patent", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash # In order to use the script in non interactive mode, # enter first argument to be the repo name, one of the following: 'framework', 'common', 'controller', 'agent' #set -x echo kwcheck --version echo current folder: `pwd` echo number of input arguments: "$#" declare -a REPOS=("framework" "common" "co...
true
f102eb062d3e415a8db22c33406a778fed99765e
Shell
haopeng/sase-advanced
/tests/SimplePattern/DomainSize/domainsize.sh
UTF-8
1,185
3.03125
3
[]
no_license
#!/bin/bash # this is for domain size experiments dirname=domainsize_results_$(date +%Y%m%d-%T) mkdir $dirname #set the print to 1 if you want to see the details of the results #set the print to 0 if you DONOT want to see the details of the results print=1 echo "domainsize 100" sase $SASE_HOME/tests/SimplePatter...
true
e4aed051a45eb999f0daa77307c3b70be5424b95
Shell
EnginesOS/ServiceImageBuilds
/images/03.ServiceImages/ftp/home/engines/scripts/services/add_service.sh
UTF-8
419
2.515625
3
[]
no_license
#!/bin/sh . /home/engines/functions/checks.sh required_values="username password folder" check_required_values if ! test -z $rw_access then if test $rw_access = true then access=rw else access=ro fi else access=ro fi export ftp_gid access username password folder service_handle ser...
true
f919e436a128eed8acc5c78afd44c0dcb42f2708
Shell
jsirex/bash-it
/plugins/available/rvm.plugin.bash
UTF-8
418
3.296875
3
[]
no_license
# Load RVM, if you are using it cite about-plugin about-plugin 'load rvm, if you are using it' [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Check to make sure that RVM is actually loaded before adding # the customizations to it. if [ "$rvm_path" ] then # Load the auto-completion script ...
true
b4d00e385ec7de42db4a21a99819f976180db118
Shell
TetragrammatonHermit/zsh-config
/completers/_json_pp
UTF-8
842
2.75
3
[ "MIT" ]
permissive
#compdef json_pp local -a from_formats local -a to_formats local -a json_opts from_formats=("json" "eval") to_formats=("null" "json" "dumper") json_opts=( "ascii" "latin1" "utf8" "pretty" "indent" "space_before" "space_after" "relaxed" "canonical" "allow_nonref" "allow_singlequote" "allow_bare...
true
81ae9540ecda4544bb3d347b369857ab21f85f7a
Shell
AndresHF/DAW
/bash/ejercicio4/ej8.sh
UTF-8
375
3.390625
3
[]
no_license
#!/bin/bash # 8 Si al script anterior no se le pasa cadena por parametro la pide por teclado, la pedirá cíclicamente hasta que introduzcas algo word=$@ while $(echo "$word" | egrep ".{0}") 2> /dev/null; do echo 'Missing param, type any word:' read word done echo "$word" | grep "$(echo $word | rev)" > /dev/null && ...
true
48e27eca4281e7148e091047ea5a473203c2a56c
Shell
brblisko/IOS-project1
/tradelog
UTF-8
9,310
3.390625
3
[]
no_license
#!/bin/sh #|============================================================================= #| Assignment: 1. Uloha #| #| Author: Boris Vesely #| Login: xvesel92 #| #| Class: IOS - Operacni systemy #| #|============================================================================= export POS...
true
b99417d58577f3f5c31c5421985e59d8bc996707
Shell
pvdvreede/dokku-gitsecret
/install
UTF-8
683
3.265625
3
[]
no_license
#!/usr/bin/env bash set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x # install git-secret and gnupg apt-get update apt-get install -y git-secret gnupg [[ $(gpg --list-keys "$(hostname)") ]] || { # generate gpg key for server cat >foo <<EOF %echo Generating a basic OpenPGP key Key-Type: DSA Key-Len...
true
8cdec9dd0949cdb0b404602f09160f4a46719400
Shell
PhearZero/EDDN
/contrib/letsencrypt/certbot-common
UTF-8
1,448
3.96875
4
[ "BSD-3-Clause" ]
permissive
########################################################################### # Copy a certificate's files into place, with appropriate ownership and # mode. # # $1 - Name of certificate (i.e. letsencrypt directory names). # $2 - Source Directory # $3 - Destination filename for fullchain.pem # $4 - Destination filename f...
true
0a259b949e95ca1a6dbaed2ad37f9239c11c9292
Shell
ci2c/code
/scripts/matthieu/PrepProcess_TRACULA.sh
UTF-8
1,540
3.328125
3
[]
no_license
#!/bin/bash if [ $# -lt 2 ] then echo "" echo "Usage: PrepProcess_TRACULA.sh InputDir SubjId OutpuDir" echo "" echo " InputDir : Input directory containing the rec/par files" echo " SubjId : Id of the subject treated" echo " OutpuDir : Output directory containing the bvec & bval fil...
true
e1ebf602161c33742c99f477c5484038d7604d1f
Shell
KamDob/PythonEiT
/Bash/10.sh
UTF-8
203
3.0625
3
[]
no_license
#!/bin/bash echo Podaj sciezke: read path list= $( find $path -type f | tr " " "\n") #list= $( find $path -type f ) #sorted=$(echo $list | tr " " "\n") #echo $sorted for file in $list do echo "> $file" done
true
65c90d68548cf5b3f5cb324c91e5920e117957ee
Shell
kervinck/gigatron-rom
/Apps/Apple-1/15puz/make.sh
UTF-8
348
2.734375
3
[ "BSD-2-Clause", "MIT" ]
permissive
dasm puzz15.asm -lpuzz15.lst -opuzz15.out # Create puzz15.gcl file ( echo '{ Generated by: cd 15puz && ./make.sh }' # Hex dump od -v -A n -t x1 puzz15.out | fmt -1 | tail +3 | awk -v A=1024 ' NF>0 { if(A%16==0)print"" if(A%256==0)printf"\n*=$%x\n",A printf " #$%-2s",$1 A++} END {p...
true
3f66f36f3384940d3d0df8c085b5ba3fede49dc1
Shell
ColadaFF/catch-them-all
/Docker/Solr/script.sh
UTF-8
1,176
4.0625
4
[]
no_license
#!/bin/bash set -e appSetup () { mkdir /etc/cier touch /etc/cier/.alreadysetup bash install_solr_service.sh /opt/$SOLR.tgz -p 8080 -u root mkdir -p /var/solr/data/criminals/data/index chown -R 777 /var/solr/data/criminals curl "http://localhost:8080/solr/admin/cores?action=CREATE&name=criminal...
true
3706295238756b960cc554395d71e9fb9f1adfb2
Shell
hexgnu/dotfiles
/bash/bashrc
UTF-8
2,969
3.171875
3
[]
no_license
#!/bin/bash stty -ixon # Disable ctrl-s and ctrl-q. shopt -s autocd #Allows you to cd into directory merely by typing the directory name. shopt -s checkwinsize # Avoid duplicates # HISTCONTROL=ignoredups:erasedups # When the shell exits, append to the history file instead of overwriting it # shopt -s histappend HIST...
true
68857ef91fbe9fc3e73832496f62fd9c2eb2374d
Shell
theraccoonbear/OHOL
/docker/fetch-and-compile.sh
UTF-8
575
2.78125
3
[]
no_license
SERVER_NUMBER=$((1 + RANDOM % 9)) SOURCE_URL=http://download$SERVER_NUMBER.onehouronelife.com/downloads/OneLife_Live4_UnixSource.tar.gz rm -fR /opt/src/OneLife echo Source: $SOURCE_URL mkdir -p /opt/game cd /opt/game curl -o source.tar.gz $SOURCE_URL tar xvzf source.tar.gz ./OneLife_Live4_UnixSource/pullAndBuildL...
true
923d93a0a520a1122a1f12d0b12e3104d92a284f
Shell
SirSertile/dotfileBackup
/dotfiles/autobackup.sh
UTF-8
522
3.8125
4
[]
no_license
#!/bin/bash echo "Initializing Backup . . . " DIRNAME="System Backup for "$(hostname)" on "$( date "+%b %d, %Y %H:%M:%S") echo $DIRNAME # CUT UP ARGUMENTS INTO A LIST # STEP 1 RSYNC STUFF if [ -z "$1" ] then ls echo "Which directory would you like to back up?" read directory sudo rsync -aH "$directory" ./"$DIRN...
true
87e8579e87354a55c50039299b2ff9ca3d1e33ab
Shell
HelloMyGH/Beikeyun_OPIMG_Tools
/BKmkop.sh
UTF-8
4,596
3.859375
4
[]
no_license
#!/bin/bash # red="\033[31m" green="\033[32m" white="\033[0m" out_dir="./out" openwrt_dir="./openwrt" BOOTLOADER_IMG="$PWD/armbian/beikeyun/others/btld-rk3328.bin" rootfs_dir="/media/rootfs" loop= SKIP_MB=16 BOOT_MB=128 echo -e "\n贝壳云Openwrt镜像制作工具" #检测root权限 if [ $UID -ne 0 ];then echo -e "$red \n 错误:请使用root用户或sudo执...
true
b82adc27d508c39fc796f68afcd0357ce3df60c7
Shell
lunar-linux/moonbase-core
/utils/util-linux/make-issue
UTF-8
280
3.140625
3
[]
no_license
#!/bin/bash [ ! -w /etc/ ] && exit 0 for ISSUE in /etc/issue /etc/issue.net ; do if [ -f /etc/lunar.release ] ; then cat /etc/lunar.release > $ISSUE else echo "Lunar Linux" > $ISSUE fi echo "Kernel `uname -r` on an `uname -m`" >> $ISSUE echo "" >> $ISSUE done
true
2b9d45312c429536535752e4830d8ef82fe1c685
Shell
transferwise/spire
/.github/workflows/scripts/push-scratch-images.sh
UTF-8
980
3.90625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e IMAGETAG="$1" if [ -z "$IMAGETAG" ]; then echo "IMAGETAG not provided!" 1>&2 echo "Usage: push-images.sh IMAGETAG" 1>&2 exit 1 fi # Extracting org name rather than hardcoding allows this # action to be portable across forks ORGNAME=$(echo "$GITHUB_REPOSITORY" | tr '/' "\n" | head -1 | ...
true
4be2ee318ce628836c104f1d6b7d543d82ff07d6
Shell
kroniak/dotnext2019-mutation-analysis
/scripts/test.coverage.sh
UTF-8
269
2.53125
3
[ "MIT" ]
permissive
#!/bin/bash set -euo pipefail SCRIPT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" dotnet test -c Release /p:CollectCoverage=true \ /p:Exclude="[xunit.*]*" \ /p:CoverletOutputFormat=lcov /p:CoverletOutput="${SCRIPT_ROOT}/../lcov" \ "${SCRIPT_ROOT}/../test"
true
69672611bea7d29283193fde725bccda171e1374
Shell
nguyenvanca2110/openptack_liberty_scripts
/net-05-glance.sh
UTF-8
3,783
2.78125
3
[]
no_license
#!/bin/bash source net-config.cfg source ~/admin-openrc.sh install_path=`pwd` echo "##### INSTALL GLANCE ##### " apt-get -y install glance python-glanceclient filename=/etc/glance/glance-api.conf test -f $filename.org || cp $filename $filename.org rm -f $filename cat << EOF > $filename [DEFAULT] noti...
true
d85ca1e179758510a898c0358d25ca5b0a6fddb4
Shell
dagrayvid/ci-artifacts
/testing/model-mesh/00-cleanup.sh
UTF-8
222
2.875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" source "$THIS_DIR/config.sh" oc delete ns ${MINIO_NS} for i in $(seq 1 ${NS_COUNT}) do oc delete ns/${NS_BASENAME}-${i} done
true
c5d28f242d67fa4ab355c4230d16cfe2a54ca744
Shell
wileyj/public-puppet
/code/modules/local/sensu/files/etc/sensu/plugins/local/check-mysql-heartbeat.sh
UTF-8
1,041
3.84375
4
[]
no_license
#!/bin/bash MYSQL="/opt/mysql/product/5.0.77/bin/mysql" if [ $# != 7 ]; then echo "Usage: $0 warn_thresh crit_thresh mysql_user mysql_passwd mysql_ip mysql_port mysql_db" exit 2 fi WARN=$1 CRIT=$2 USER=$3 PASSWORD=$4 IP=$5 PORT=$6 DB=$7 # First check to see that heartbeat table has exactly one row with id=1. ...
true
72055ec46d50774585c5571ea754b23220421b14
Shell
simeonackermann/dc-sparql-experimente
/test.sh
UTF-8
2,385
4.3125
4
[]
no_license
#!/bin/bash # # This script runs a Docker Compose environment a given number of times # run: ./test.sh [number] # # @author: Simeon Ackermann (amseon@web.de) # # Init the vars ######################## # the result folder RESULT_DIR=$PWD/Results # how much runs we will do RUN_TIMES=1 # the prefix for the container ...
true
8b4e9f9ad42dd09c1d88c3d18b12270ef701ccb7
Shell
isnuryusuf/provision-content
/content/templates/set-hostname.sh.tmpl
UTF-8
571
3.578125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # This template populates the HOSTNAME of the system in various places. # It also exports the HOSTNAME variable for use by other templates. # # Runs as part of a shell script for kickstart or net-post-install # # Required Parameters: # Optional Parameters: # # Parameter YAML format: # # Defaults: # HOSTNA...
true
748c50f28d386acd179c70b9adb8ccfa0eb33d99
Shell
hhanccheng/Quicksetup
/webserver/setup.sh
UTF-8
631
2.625
3
[]
no_license
#! /bin/bash #Quick configuration of nginx front-end and apache back-end on archlinux #apache pacman -Syu apache systemctl start httpd #Database pacman -S mariadb mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql systemctl start mariadb mysql_secure_installation #php pacman -S php php-apache #n...
true
288d87efa2d1dc448d726c5679ba8bd95013d3d7
Shell
matalangilbert/mats-bash-scripts
/ipchange/email-when-ip-changes.sh
UTF-8
691
3.6875
4
[]
no_license
#!/bin/bash # sends an email when external IP changes cd /home/fft/mats-bash-scripts/ipchange/ # Put email address in email.txt read EMAIL < email.txt touch old_ip.dat curl -s ifconfig.me > curr_ip.dat read CURR < curr_ip.dat read OLD < old_ip.dat if [ "$CURR" = "$OLD" ]; then echo "`date` -- ip change script...
true
3e350cd42fb6911c6600df64394b3799c653cf2e
Shell
lujulia/Gaussian-Dynamic-Convolution
/train.sh
UTF-8
307
2.5625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # Training scripts for Highway Net. # Prepare for data. mkdir -p data/cityscapes && cd data/cityscapes echo "Data Downloading..." hdfs dfs -get $PAI_DATA_DIR echo "Data Unpackaging..." tar -I pigz -xf cityscapes_formated.tar cd ../.. # Start training. python3 train.py sleep infinity
true
0dd1d5c0adb0ffdf9e2747802e7e31cf74fe0156
Shell
akemery/initiation_to_linux
/usageoflstouch/run
UTF-8
491
3.390625
3
[]
no_license
#!/bin/bash ssh_student --setup-script "/bin/bash /task/student/fs/start.sh" --teardown-script "/bin/bash history -w" if [ -f /task/student/.ssh_logs ]; then logs=$(grep "worker@" /task/student/.ssh_logs | cut -d'$' -f2 | ) answer=$(grep "ls -lt | head -n 2" $logs) fi if [ "$answer" = ""]; then feedback-msg...
true
4c92107d315afaab5eba8d28b4e09b32f548fcff
Shell
yabostone/init
/unused/ssh-key.sh
UTF-8
627
2.703125
3
[]
no_license
#!/bin/bash # add my ssh-key into folders ##放弃不用了,使用同一的添加的newauth if [ ! -d ~/.ssh/ ] ; then mkdir ~/.ssh fi apt-get install sshd wget -y mv /etc/ssh/sshd_config{,.bak} wget -N --no-check-certificate https://raw.githubusercontent.com/git4xuan/MyScripts/master/SSH/files/id_rsa_2048onekey.pub && mv id_rsa_2048oneke...
true
0fd508dd98058e1b1aaa2b0989671db066c5b343
Shell
wrossmorrow/gslmpiregression
/results.sh
UTF-8
258
2.625
3
[]
no_license
#!/bin/bash K=5 PROCESS=( 2 4 6 8 ) OBSVERS=( 100 1000 10000 100000 1000000 ) for P in "${PROCESS[@]}" ; do for N in "${OBSVERS[@]}" ; do echo "results from job P = ${P}, N = ${N}, K = ${K}" cat "gslregress-${P}-${N}-${K}.txt" echo " " done done
true
4543350b59baeafaea41c4b841bb48378c0bc7e3
Shell
vjrj/la-pipelines
/sample-all-cluster.sh
UTF-8
1,075
2.890625
3
[]
no_license
#!/usr/bin/env bash echo $(date) SECONDS=0 echo 'Step 1. Spark job to export all lat longs' /data/spark/bin/spark-submit \ --name "Export All" \ --num-executors 8 \ --executor-cores 8 \ --executor-memory 16G \ --driver-memory 4G \ --class au.org.ala.pipelines.beam.ExportAllLatLongCSVPipeline \ --master spark://172.3...
true
d307c28bb1c58ec25b1b8e9698ae60f9816cc4f4
Shell
Rajakumaran1106/opensync
/src/dm/fut/othr_connect_wifi_client_to_ap_freeze.sh
UTF-8
4,190
3.28125
3
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
#!/bin/sh # Copyright (c) 2015, Plume Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright # notice, this list o...
true
cd015328e8f46bd56c0c8f470933ca3de72c9a3d
Shell
LibreCrops/cdef
/Site/hl.sh
UTF-8
711
2.6875
3
[]
no_license
#!/usr/bin/env bash # # Copyright 2015 Gu Zhengxiong <rectigu@gmail.com> # CSS=sh_emacs.css DEST=../../../../lost-sdk source-highlight --src-lang=c --gen-references=inline \ --out-format=html5 \ --lang-def=../lang/c.lang --style-css-file=$CSS \ --header ../header...
true
eaa6f2c8573f4973fabd3b465bd4721d1a825513
Shell
yudong-tian/dscale
/new-Validation/MERRA2-interpolated/interpolate.sh
UTF-8
1,384
3.15625
3
[]
no_license
# interpolates MERRA2 monthly to B24/B12/B4 monthly idir=/home/ytian/Climate-downscaling/new-Validation/MERRA2 odir=/home/ytian/Climate-downscaling/new-Validation/MERRA2-interpolated cd $odir mkdir -p B24/monthly mkdir -p B12/monthly mkdir -p B4/monthly for year in `seq 2000 2010`; do for mon in ja...
true
20a31d15b9d026933c46fb0d46e3f0533450b7bd
Shell
pr2-debs/installer-trusty
/basestation/.svn/text-base/genimage.svn-base
UTF-8
1,272
3.75
4
[]
no_license
#!/bin/bash VERSION=12.04.1 IMAGE=ubuntu-$VERSION-alternate-amd64.iso (cd install_dev1; [ -e $IMAGE ] || wget http://releases.ubuntu.com/$VERSION/$IMAGE) # clean out target directory IMAGE_DIR=/tmp/image_dir rm -rf $IMAGE_DIR mkdir $IMAGE_DIR # mount disk image mkdir -p /tmp/cdrom mount -o loop install_dev1/$IMAGE ...
true
6d6e38802f0928e72a812c9691dabd26fd8bdf23
Shell
ChrisCarini/dotfiles
/macos/dock.sh
UTF-8
1,507
3.171875
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#!/usr/bin/env bash ## # Make utilities available # # Needed because we make use of is-macos-catalina-or-later within this script. ## DOTFILES_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" PATH="$DOTFILES_DIR/bin:$PATH" ## # Remove all Dock Icons ## dockutil --no-restart --remove all ## # Add Doc...
true
6ed3e9b96e0b4c2faee63eb09bf8dfeb9535b0b5
Shell
iwm911/MISP-dockerized
/.ci/30_push_2_registry.sh
UTF-8
3,824
3.75
4
[ "BSD-3-Clause" ]
permissive
#!/bin/sh set -e STARTMSG="[push]" # first_version=5.100.2 # second_version=5.1.2 # if version_gt $first_version $second_version; then # echo "$first_version is greater than $second_version !" # fi' version_gt() { test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1"; } func_push() { DOCKER_REPO="$1" ...
true
1abdc8bb7a26210be32690255c3b273f6bbf1832
Shell
kaoengine/forex-demo
/api-services/install.sh
UTF-8
2,025
2.921875
3
[ "MIT" ]
permissive
if ! [ -x "$(command -v pipenv)" ]; then echo 'Warning: pipenv is not installed.' >&2 pip3 install pipenv else echo 'Error: pipenv is installed.' >&2 fi if ! [ -x "$(command -v flask)" ]; then echo 'Warning: flask is not installed.' >&2 # pip3 install flask else ec...
true
395ee2b156be69e630d257c29419c620f02d500b
Shell
sinetoami/dotfiles
/home/.bin/kill-process-fzf
UTF-8
424
3.609375
4
[ "MIT" ]
permissive
#!/usr/bin/env sh # mnemonic: [K]ill [P]rocess function kill_process() { local pid if [ "$UID" != "0" ]; then pid=$(ps -f -u $UID | sed 1d | eval "fzf -m --header='[kill:process]'" | awk '{print $2}') else pid=$(ps -ef | sed 1d | eval "fzf ${FZF_DEFAULT_OPTIONS} -m --header='[kill:process]'" | awk '{p...
true
93e61d7a052bc6b60243f915f80fcab1557aca83
Shell
mergermarket/docker-mysql-s3-backup
/assets/sync_to_s3.sh
UTF-8
1,452
4.21875
4
[]
no_license
#!/usr/bin/env bash set -e -u -o pipefail SCRIPT_NAME=$0 help() { cat <<EOF Usage: S3_BUCKET_NAME=my_bucket \ S3_BUCKET_PATH=/backup/foobar/live \ SYNC_ORIGIN_PATH=/data \ ${SCRIPT_NAME} Other optional variables: S3_ENDPOINT=... - S3 endpoint to connect to SYNC_EXCLUDE=/data/dir/* - Directory to exclude ...
true
9fa827ccfd17833ebd8b7674b2d1f955612de02e
Shell
savsmith/pfp_HW5
/BellmanFord/hw4/run_vtune.sh
UTF-8
1,024
2.875
3
[]
no_license
#!/usr/bin/env bash function measure_vtune() { CXXFLAGS=$1 VARIANT=$2 INPUT=$3 make clean make ${CXXFLAGS} for algo in pull push; do amplxe-cl -collect-with runsa -knob event-config=CPU_CLK_UNHALTED.REF_P:sa=133000,CPU_CLK_UNHALTED.THREAD:sa=2000000,FP_COMP_OPS_EXE.X87:sa=2000000,FP_COMP_OPS_EXE....
true
eae68cc9124025d9d86716049162fecf86065081
Shell
nagyistge/mistral
/docker_image_build.sh
UTF-8
396
2.65625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -xe if [ -x "/usr/bin/apt-get" ]; then sudo -E apt-get update sudo -E apt-get install -y docker.io apparmor cgroup-lite elif [ -x "/usr/bin/yum" ]; then sudo -E yum install -y docker-io gpg else echo "No supported package manager installed on system. Supported: apt, yum" exit 1 fi sudo docker build -t mist...
true
4e4cf555ba5fb962209e43557825b28bada8d4c7
Shell
SylixOS/sylixos
/find_disk.sh
UTF-8
24,840
3.765625
4
[]
no_license
#!/bin/bash #set -x cwd=`dirname $0` en_shield=y declare -a disk_list export disk_list= CFGFILE=$cwd/estuarycfg.json parse_config $CFGFILE DISTROS=() idx=0 idx_en=0 install=`jq -r ".distros[$idx].install" $CFGFILE` while [ x"$install" != x"null" ]; do if [ x"yes" = x"$install" ]; then idx_en=${#DISTRO...
true
646b5d7bfb57c6da3fce207abab16191b6769d91
Shell
andy2804/transfer-learner
/transferlearning/trainer/export_example.sh
UTF-8
1,058
3.328125
3
[]
no_license
#!/usr/bin/env bash cd $HOME/models/research export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim # Job_name can't have spaces job_name=name_of_protobuf_config ckpt_number=000001 gpu=0 # Pass arguments of checkpoint numbers to export several graphs at once! # e.g. './export_example.sh name_of_protobuf_config "230503 33098...
true
4002f1f510762dff4d87f3215d6dece26ac8f24f
Shell
kkaempf/openwbem
/test/unit/newtest.sh
UTF-8
1,078
3.984375
4
[ "BSD-3-Clause" ]
permissive
#/bin/sh if [ x${1:-nothing} = x--full ]; then FULL_TESTS=1 shift else FULL_TESTS=0 fi if [ $# -le 0 ]; then echo "Usage: `basename $0` [option] ClassName" >&2 echo "Where option can be --full to produce a full (non-auto) test." >&2 exit 1 fi while [ $# -gt 0 ]; do if [ -f $1TestCases.cpp -o -f $1TestCases.hp...
true
e5238a6c70c1722a5841f173384251f22e5bf41b
Shell
delkyd/alfheim_linux-PKGBUILDS
/4kvideodownloader/PKGBUILD
UTF-8
2,019
2.578125
3
[]
no_license
# Maintainer: Muflone http://www.muflone.com/contacts/english/ pkgname=4kvideodownloader pkgver=4.3.2.2215 pkgrel=1 pkgdesc="Quickly download videos from YouTube in high-quality." arch=('i686' 'x86_64') url="http://www.4kdownload.com/products/product-videodownloader" license=('custom:eula') depends=('qt5-script' 'port...
true
b5fc58f113eb9bcb29334aef26c6fc8387c202d7
Shell
xiebohan789/test
/network.sh
UTF-8
549
2.796875
3
[]
no_license
#!/bin/bash for ((i=10 ; i<=20 ;i++)) ;do echo " <network> <name>test$i</name> <uuid>`uuidgen`</uuid> <bridge name='virbr$i' stp='on' delay='0'/> <mac address='52:54:00:75:fc:$i'/> <domain name='test$i'/> <ip address='192.168.$i.1' netmask='255.255.255.0'> ...
true
1f4bbedc5bcc6eefe7c2f10a6b16fed6c7e78f72
Shell
lifesfun/ShellScripts
/pullNs2
UTF-8
504
2.921875
3
[ "MIT" ]
permissive
#!/bin/bash . /var/lifesfun/serverNs2/.ns2rc if [ -n "$1" ] && [ -d "$baseNs2"/"$1" ] ; then lftp -p "$portNs2" -u "$usrNs2","$passwdNs2" "$ipNs2" << EOF mirror -r --delete --parallel=10 -x '.*txt' -x '.*hashes' "$remoteNs2"/ns2 "$baseNs2"/"$1"/ns2 mirror --parallel=10 --use-cache -i '.*json' -x '.*txt' "$remoteN...
true
0d5ae41a90970d60385d8a38984fb554192ed40a
Shell
bertvannuffelen/RDFsync
/receiver/virtuoso/receiver_cont_sync.sh
UTF-8
1,008
3.15625
3
[]
no_license
#!/bin/bash # synchronise to the virtuoso & then trigger a next synchronisation INSTALLDIR=ENV_INSTALL_DIR/receiver/virtuoso if [ -f ENV_WORK_DIR/sync ] ; then if [ -f ENV_WORK_DIR/receiving ] ; then # there is already a receiving operation started. Wait until it is finished to start another one. echo "." ...
true
393c0096b84d1f3ef3928af6315309c861cc70e3
Shell
dice-project/cloudify-oryx2-blueprint
/scripts/start_oryx.sh
UTF-8
1,990
2.859375
3
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
#!/usr/bin/env bash export ORYX_BIN=~/oryx cd ${ORYX_BIN} # Blatantly stolen from oryx-run.sh ANY_JAR=$(ls -1 oryx-batch-*.jar oryx-speed-*.jar oryx-serving-*.jar | head -1) CONFIG_FILE="oryx.conf" CONFIG_PROPS=$(java -cp ${ANY_JAR} -Dconfig.file=${CONFIG_FILE} com.cloudera.oryx.common.settings.ConfigToProperties) ...
true
d902bde973b5595942d74a021e133f8450c9cc0b
Shell
pangine/disasm-eval-sources
/images/x86-pc/linux/gnu-icc-19.1.1.219/nginx-1.8.0/run.sh
UTF-8
633
2.84375
3
[]
no_license
#!/bin/bash source ${LINUX_SCRIPTS_DIR}/run_prefix.sh # Rename "opt_report_file" argument with "qopt_report_file" sed -i "s~-opt_report_file=~-qopt_report_file=~g" auto/cc/icc ${LINUX_SCRIPTS_DIR}/git_prepare.sh ./configure --prefix=${HOME}/local --with-cc-opt="${OPTIONS} -m32 --save-temps -g -Wno-error" --with-ld-o...
true
db57364b033f9ae84c6e59fa93fb9655bd7b9f65
Shell
XinZhou-1/NCLscripts
/cesm_scripts/Analysis/run_checklist_RossbyWaves.sh
UTF-8
5,455
2.984375
3
[]
no_license
#!/bin/sh # Script to calculate variables that are useful for analysing Rossby wave # behaviour cd /home/disk/eos4/rachel/git/NCL/cesm_scripts/Analysis//scripts/ #dir="/home/disk/eos4/rachel/CESM_outfiles/HYAK/" #dir="/home/disk/eos4/rachel/CESM_outfiles/" dir="/home/disk/eos4/rachel/CESM_outfiles/AMOC/" numexps="5" ...
true
24dcc2b3867af3e888325031d2e9b72590f5720c
Shell
QBRC/PIPE-CLIP
/lib/runR1.sh
UTF-8
826
3.234375
3
[ "BSD-3-Clause" ]
permissive
#!/bin/sh filename=$1 pvalue=$2 #declare -a epsilon #declare -a steps epsilon=(0.01 0.15 0.1) steps=(0.1 0.08 0.05) #sleep 500 #status=0 #check if file is generated #while ["$status" == "0"] #do # if [-p "$filename"] # then # status = 1 # filesize = $(stat -c%s "$filename") # else # sleep 60 # fi #done # ##ma...
true
db34f6e821c1e680242f48a4f8c984d06b9666a5
Shell
GoogleCloudPlatform/click-to-deploy
/docker/kafka/templates/debian11/scripts/docker-entrypoint.sh
UTF-8
1,289
3.28125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Copyright 2021 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
true
bc99764aaaaaed64de2fd652f331d32ea448bd57
Shell
Mujinzhao/DzAppCenter
/build.sh
UTF-8
657
3.359375
3
[]
no_license
#!/bin/bash product_name="DzAppCenter"; product_version="1.0" buildtime=`date +%Y%m%d%H%M%S` zipfile="$product_name-$product_version-$buildtime.zip" outdir="output/$product_name" function cpfiles() { for i in $@; do cp -r $i $outdir done } ################################ rm -rf output mkdir -p $outd...
true
518089e7cd026e915a7a72b1bfabd2ed55b8114d
Shell
jgerhold/bbb-hetzner-cloud
/bbb-config.sh
UTF-8
1,197
2.8125
3
[]
no_license
#!/bin/bash while [[ $# -gt 0 ]] do key="$1" case $key in --admin-name) ADMINNAME="$2" shift shift ;; --admin-email) ADMINEMAIL="$2" shift shift ;; --admin-password) ADMINPW="$2" shift shift ;; *) shift ;; esac done cd greenlight/ # docker exec greenlight-v2 bu...
true
c49a3d68a19c0c3d9875c9cb5c14f914817d5a85
Shell
delkyd/alfheim_linux-PKGBUILDS
/libjson-rpc-cpp/PKGBUILD
UTF-8
1,205
2.65625
3
[]
no_license
# Maintainer: Peter Spiess-Knafl <dev@spiessknafl.at> # Contributor: Daniel Bomar <dbdaniel42@gmail.com> pkgname=libjson-rpc-cpp pkgver=1.0.0 pkgrel=2 pkgdesc="C++ framework for json-rpc 1.0 and 2.0" arch=('i686' 'x86_64') url="https://github.com/cinemast/libjson-rpc-cpp" license=('MIT') depends=('curl' 'argtable' 'jso...
true
7ce01a163ab5734034efc7ddf86baa66d3cf1c5e
Shell
TottiPuc/speech-recognition-with-PNCC
/LoadPNCCTest/ExtractPNCCFolder.sh
UTF-8
1,146
3.296875
3
[]
no_license
#!/bin/bash ################################################ #==============================================# ##### Christian Dayan Arcos Gordillo ########## ##### speech recognition ######### ####### CETUC - PUC - RIO ########## ##### christian@cetuc.puc-rio.br ######## ##### da...
true
59ecd2c54afcf0b1db0c10047fa00749da6ada53
Shell
Warren772/secret-agent
/replay/pack.sh
UTF-8
904
3.171875
3
[ "MIT" ]
permissive
PACKAGE_VERSION=$(cat package.json \ | grep version \ | head -1 \ | awk -F: '{ print $2 }' \ | sed 's/[",]//g' \ | tr -d '[[:space:]]') cd dist mkdir -p assets if [ -d "./mac" ]; then cd mac echo "Packing mac" tar -czf "../assets/replay-${PACKAGE_VERSION}-mac.tar.gz" SecretAgentReplay.app cd .. fi ...
true
47bb3f30cb506fea42a1ffcf404ec3406fbda05a
Shell
yuxiaoba/Serverless-Bechmark
/PageRank/Knative/build_image.sh
UTF-8
294
2.578125
3
[]
no_license
#!/bin/sh registryurl="harbor.dds-sysu.tech/functions/" arc="amd" functionname="pagerank" dockerhuburl="yuxiaoba/"$functionname":"$arc imageurl=$registryurl$functionname":"$arc docker build . -t $imageurl docker push $imageurl docker tag $imageurl $dockerhuburl docker push $dockerhuburl
true
7b011a366e720ce4fd696901699b574bbd125884
Shell
dbyone/sofa
/utils/ci_autotest/rw_testing/randw_sector.scp
UTF-8
3,016
3.71875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash #Description: (like as randw_page_32.scp, but is sector-based testing) # purpose: sector-based testing, random write data to target raw device, and verify data # procedures: first, use the function randswsr in utest to random write in a range, # second, sequential read the data and veri...
true
7de662cb5e01433c8cb9550a95dff3ee715abb25
Shell
tiangehe/envConfig
/mac_setup.zsh
UTF-8
7,535
3.09375
3
[]
no_license
#!/bin/zsh # Author: MoxHe # About: This script is used to set up a developing evironmnet for MacOS using zsh, nvim, tmux, # iterm2, fzf and powerline and etc. # Note: This sript is intended for setting up freshed MacOS. It's assuming you are using zsh # Please read through the script and comment out softw...
true
f913a0679a1eeb71ef40fc00730fa217ae88eded
Shell
chenddcoder/dumpmysql
/dumptable.sh
UTF-8
129
2.640625
3
[]
no_license
if [ $# -eq 0 ]; then usage [tablename] exit fi TABLE=$1 mysql -hhost -uuser -ppass -Ddb << EOF select * from $TABLE; EOF
true
415a8ec06c88911fc34c265df13f7743a2b48bef
Shell
sriharikrishna/enzymescripts
/scripts1/results/raja-ser-single-forward/script.sh
UTF-8
827
2.625
3
[]
no_license
#!/usr/bin/bash mywait(){ eval string1="$1" STATUS=-1 while [ $STATUS -ne 0 ]; do sleep 1 STATUS=$(pgrep -uubuntu ${1}| wc -l) echo $STATUS done } taskset -c 0 numactl -i all ~/LULESH-MPI-RAJA/buildomp14/bin/lulesh-v2.0-RAJA-seq.exe -s 64 -i 100 > ser-single_100_64_0.txt & taskset -c 1 numactl -i al...
true
9b125062c9101ceeb60aa276db3e3bb103a5a340
Shell
gocros/test
/u
UTF-8
112
3.15625
3
[]
no_license
#!/bin/bash if [ $# -eq 1 ] then git commit -a -m \'$1\' git push else echo "Missing commit message!" fi
true
55423841b702a5bce4194cd4eb58a94a5c026569
Shell
liaochenlanruo/bioconda-recipes
/recipes/r-ngsplot/build.sh
UTF-8
483
2.859375
3
[ "MIT" ]
permissive
outdir=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM mkdir -p $outdir mkdir -p $PREFIX/bin cp -R {bin,database,example,galaxy,lib,LICENSE} ${outdir}/ for f in ${outdir}/bin/*; do ln -s ${f} ${PREFIX}/bin done for f in "${outdir}"/bin/*.py ; do sed -Ei.bak "s|os\.environ\[\"NGSPLOT\"\]|\"${outdir}\"|g" "$...
true
288e1547d9319bf804d875d217d4189ef969108b
Shell
pasosdeJesus/Mt77
/doc/conf.sh
ISO-8859-1
10,249
3.828125
4
[ "ISC" ]
permissive
#!/bin/sh # Script genrico para preparar herramientas de LaTeX y configurar. # Esta fuente se cede al dominio pblico 2003. No se ofrecen garantas. # Puede enviar reportes de fallas a structio-info@lists.sourceforge.net # Crditos # Manejo de variables de configuracin: Miembros de Structio. # http://structio.sourcefo...
true
7b776370e586440596835baf4e7b82426d93a34c
Shell
hissssst/arrow_nav
/arrow_nav.zsh
UTF-8
1,031
3.1875
3
[ "MIT" ]
permissive
#!/usr/bin/zsh ARROW_NAV_INDEX=0 down() { ARROW_NAV_DIRS=(../*/) ARROW_NAV_COUNT=${#ARROW_NAV_DIRS[@]} ARROW_NAV_INDEX=$(( (ARROW_NAV_INDEX + 1) % ARROW_NAV_COUNT )) dr=$ARROW_NAV_DIRS[$(( ARROW_NAV_INDEX + 1 ))] cd $dr zle reset-prompt } right() { ARROW_NAV_DIRS=(*/) if [[ ${#ARROW_NAV_DIRS[@]} = 0 ]] ; then ...
true
7d4a02f98b20080416332d4e32ec190717edc3f1
Shell
marftcorp/xcc_toolchain_scripts
/h
UTF-8
9,832
3.625
4
[ "BSD-2-Clause" ]
permissive
#!/bin/sh -e TOP=`pwd` if test -z "$PLAT" ; then PLAT=win32 ; fi PREFIX=$TOP/inst/$PLAT BINUTILSDIST=binutils-2.25.tar.bz2 GCCDIST=gcc-5.1.0.tar.bz2 MINGW64DIST=mingw-w64-v4.0.2.tar.bz2 SYSROOTDIST=sysroot-${PLAT}.tar.xz MAKEJ=-j8 #- ^^^configure me^^^ --------------------------------------------------------- GCC_C...
true
a9c3fc9f25e73747e28e4efac565edc9cf12d4d5
Shell
bioconda/bioconda-recipes
/recipes/dfast_qc/build.sh
UTF-8
694
2.578125
3
[ "MIT" ]
permissive
#!/bin/sh APPROOT="${PREFIX}/opt/${PKG_NAME}-${PKG_VERSION}" mkdir -p ${APPROOT} mkdir -p ${PREFIX}/bin cp -Rv ./* ${APPROOT}/ # cp -av dqc $APPROOT/dqc # cp -v dfast_qc $APPROOT # cp -v dqc_admin_tools.py $APPROOT # cp -v initial_setup.sh $APPROOT # cp -av dqc ${PREFIX}/bin/dqc # cp -v dfast_qc ${PREFIX}/bin # cp ...
true
2cd20ebcfc77e885e0ca5a45dd3be7b9f40b60bf
Shell
whothey/dotfiles
/custom_scripts/.scripts/toggle_touchpad.sh
UTF-8
277
2.9375
3
[]
no_license
#!/bin/zsh -e if [[ $(synclient -l) =~ 'TouchpadOff[[:space:]]+\=[[:space:]]+([[:digit:]])' ]]; then if [[ $match[1] == '1' ]]; then synclient TouchpadOff=0 else synclient TouchpadOff=1 fi else echo "Couldn't get the 'TouchpadOff' property!" fi
true
b1fd4e94c2afcc89048c6fc2542d8c5696af40d8
Shell
yqlbu/pycharm-aarch64
/install.sh
UTF-8
657
2.78125
3
[]
no_license
#!/bin/bash cd ~ sudo apt-get update && sudo apt-get install openjdk-8-jdk wget https://download.jetbrains.com/python/pycharm-professional-2019.3.4.tar.gz?_ga=2.42966822.2056165753.1586158936-1955479096.1586158936 -O pycharm-professional-2019.3.4.tar.gz tar -xzf pycharm-professional-2019.3.4.tar.gz && cd pycharm-2019....
true
7c8c5553edf9fbf63f952d00a8ff9a9bbb81052b
Shell
5l1v3r1/nmap-auto
/nmap-auto.sh
UTF-8
592
3.953125
4
[]
no_license
#!/bin/bash #Variables MODE="$1" ADDRESS="$2" PORTS="$3" RESULTSDIR="$4" echo "This script is set to output to XML format" #Checking if directory exists if [ ! -d "$RESULTSDIR" ]; then echo "Sorry $RESULTSDIR does not exist." sleep 1 echo "Creating it now.." mkdir $RESULTSDIR # Creating directory ...
true
716f96bcc60a818facf60c1057a4feb8c26160a1
Shell
joeytwiddle/jsh
/code/shellscript/init/startj-simple.sh
UTF-8
1,052
3.15625
3
[]
no_license
# @sourceme # Hmmm. At very least this should call startj -simple, or startj should call this. # Try to guess the top directory of j install # If all below fails, then you should set it youself with export JPATH=...; source $JPATH/startj if [ -z "$JPATH" ] then if [ -d "$HOME/j" ] then export JPATH="$HOME/j" # Th...
true
45e1570964c9b3c2261d0a3fad5b13b34d47cc3f
Shell
particleman314/ShellLibrary
/test/nim_configuration/__get_key_from_configuration.sh
UTF-8
1,673
2.53125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash assert_not_empty "${TEST_CONFIG_BASIC}" assert_not_empty "${TEST_CONFIG_SIMPLE}" assert_not_empty "${TEST_CONFIG_MEDIUM}" assert_not_empty "${TEST_CONFIG_DEEP}" section='test_config_basic' key='key1' answer=$( __get_key_from_configuration ) assert_failure $? answer=$( __get_key_from_configuratio...
true
fd0401c7d6456a0b52265d06f82b27bcffa057d3
Shell
shippablejedi/admiral
/common/scripts/docker/installRedis.sh
UTF-8
966
3.84375
4
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
#!/bin/bash -e export REDIS_IMAGE="374168611083.dkr.ecr.us-east-1.amazonaws.com/redis:$RELEASE" __cleanup() { __process_msg "Removing stale containers" sudo docker rm -f $COMPONENT || true } __run_redis() { __process_msg "Running redis container" local data_dir_container="/data" local config_dir_container=...
true
b64401735137ebf1cd2f114bc9d807d1e2535a81
Shell
dakodeon/dotfiles
/.local/bin/playlist_mgmt
UTF-8
3,753
4.03125
4
[]
no_license
#!/bin/env sh # a script using dmenu to interface with mpd and mpc to create and manage playlists # functionalities: # 1. add current song to some playlist(s) # 2. remove current song from the playlist # 3. load and play an existing playlist # 4. add some songs to the current playlist # 5. select and load songs from ...
true
0ad9e5d3509dece8e3839d648052ee6b223605e9
Shell
eunmin/immutant
/etc/bin/bees-ci-build.sh
UTF-8
1,668
3.21875
3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash # This is the bees CI build. Any changes to the build script should be # here instead if in the bees config. set -e BIN_DIR="${WORKSPACE}/bin" WF_DIR="${WORKSPACE}/wildfly-dists" WF8_VERSION="8.2.0.Final" WF9_VERSION="9.0.0.Alpha1" LEIN_VERSION=2.5.1 export PATH="${BIN_DIR}:${PATH}" export WORKSPACE_HOME...
true
9b5ffeb80e98c277eefb833bcb7b884129a851ae
Shell
petronny/aur3-mirror
/deepin-vte/PKGBUILD
UTF-8
1,737
2.75
3
[]
no_license
# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com> # Maintainer: Xu Fasheng <fasheng.xu[AT]gmail.com> pkgname=deepin-vte _pkgname=vte pkgver=0.28.2 _srcdirname=vte-0.28.2 pkgrel=9 epoch=1 pkgdesc="Virtual Terminal Emulator widget for use with GTK2 - with several patches" arch=('i686' 'x86_64') license=('GPL...
true
064cd352307c335c778390596fbb50306c58597b
Shell
nmuncy/Linguistics
/sbatch_step1.sh
UTF-8
1,572
3.03125
3
[]
no_license
#!/bin/bash # Written by Nathan Muncy on 11/20/17 #SBATCH --time=10:00:00 # walltime #SBATCH --ntasks=2 # number of processor cores (i.e. tasks) #SBATCH --nodes=1 # number of nodes #SBATCH --mem-per-cpu=32gb # memory per CPU core #SBATCH -J "BenTemp" # job name # Compatibility variables for PBS. Delete i...
true
634d3d982ca9b5a4e8381c6647bf126db13b9077
Shell
onecoolx/davinci
/tools/win32/msys/local/share/bashdb/lib/info.sh
UTF-8
4,718
3.546875
4
[]
no_license
# -*- shell-script -*- # info.sh - Bourne Again Shell Debugger Help Routines # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2008 # Rocky Bernstein rocky@gnu.org # # bashdb 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 # ...
true