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
c9266c913830f6d77bf27434bf9c839410b279dd
Shell
gravitypriest/insights-tower-upload
/insights-tower-upload.sh
UTF-8
1,590
3.96875
4
[]
no_license
#!/bin/bash verbose="" default_content_type="application/vnd.redhat.tower.test+tgz" # subject to change, don't know tower's type help_me() { echo "Usage: $0 -u USERNAME -p PASSWORD -f FILE -c CONTENT-TYPE" echo -e "\t-u USERNAME\tRed Hat Customer Portal username" echo -e "\t-p PASSWORD\tRed Hat Customer Portal pas...
true
e5269454e2c58d866ba3f68094bcc1eaeca6f462
Shell
droofe/ctf-repo
/csaw2017/pilot/debug.sh
UTF-8
408
2.8125
3
[]
no_license
#!/bin/bash # Create a new session tmux -2 new-session -d -s debug # Create a new window tmux new-window -t debug:1 -n "Script Window" # Split the window tmux split-window -h # Setup the first pane, run the program tmux select-pane -t 0 tmux send-keys "python $1.py" C-m # Setup the second pane, debug tmux select-p...
true
5010996ad8c02bc8ee0b550b0db6b2a3577a7b52
Shell
samcom12/hpc-collab
/clusters/vc/common/provision/requires/vcsvc/4.sync-NTP
UTF-8
876
3.421875
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash ## $Header: $ ## Source: ## @file vcbuild/requires/vcfs/3.dns-query VCLOAD=../../../provision/loader/shload.sh if [ ! -f "${VCLOAD}" ] ; then echo "${0}: missing: ${VCLOAD}" exit 99 fi source ${VCLOAD} # if we're given an argument, append test output to it declare -x OUT=${1:-""} if [ -n "${OUT}" ]...
true
19b25c17be4490fe2962834ab6056a2e35f28aa0
Shell
Jimdo/prometheus-clj
/lein
UTF-8
477
3.171875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash export LEIN_HOME=vendor/lein export LEIN_ROOT=true LEIN_BIN=$LEIN_HOME/lein if [ ! -x $LEIN_BIN ]; then mkdir -p $LEIN_HOME echo "-> Downloading lein installer ..." curl -s https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -o $LEIN_BIN chmod +x $LEIN_BIN fi if [ "$1" == "cl...
true
69c02bc6e7b0915c68bad4aa680977d9b33051a5
Shell
pashachek/sharetribe-docker
/include/docker-entrypoint.sh
UTF-8
7,819
3.21875
3
[]
no_license
#!/bin/bash set -e export SPHINX_HOST="${SPHINX_HOST:-search}" export MYSQL_HOST="${MYSQL_HOST:-mysql}" export redis_host="${redis_host:-memcache}" export redis_port="${redis_port:-6379}" export redis_db="${redis_db:-1}" export redis_expires_in="${redis_expires_in:-240}" export RS_MAILCATCHER="${RS_MAILCATCHER:-0}" f...
true
5637d189e67f1e1bf3a018112991e9e6b3247b6b
Shell
ajbouh/dotfiles
/shell/.profile
UTF-8
1,691
2.71875
3
[]
no_license
# Enable nix if present [ -e ~/.nix-profile/etc/profile.d/nix.sh ] && . ~/.nix-profile/etc/profile.d/nix.sh # Add personal utilities export PATH=$HOME/bin:$PATH # Use Sublime Text export VISUAL='atom -w' export EDITOR='atom -w' # Set up workspace. export CLICOLOR=1 # Set up environment variables needed for basic w...
true
e8e9747011bbf2d111719838b1ef449789cecebf
Shell
jaunRuizz/Git-init
/Practica 2/Script_con_bash.sh
UTF-8
2,405
3.953125
4
[]
no_license
#!/bin/bash # Esta funcion ayuda a crear archivos txt function crea_Archivo(){ ruta=/home/danylsti/Escritorio echo Escribe el nombre del archivo que deseas crear read input touch $ruta/$input.txt echo "Deseas Crear otro txt y para si n para no (y/n)" read op2 y=1 n=2 while [[ $op2 -eq 1 ]]; do ...
true
89095b5d523647e626096e573ba377b8ab3ce78d
Shell
bensonche/tools
/bin/push_to_test.sh
UTF-8
629
3.828125
4
[]
no_license
#!/bin/bash cmdline() { while getopts ":x" OPTION do case $OPTION in x) readonly CHANGEBRANCH=0 ;; \?) echo "Invalid option: -$OPTARG" exit 1 ;; esac done shift $((OPTIND-1)) readonly TARGETBRANCH=$1 } bc_ptt () { set -e cmdline $@ local cur=`git rev-parse --abbrev-ref HEAD` ...
true
a2f6a8a12dd3fbeec18ea60ab897635f05a6376e
Shell
nulldriver/cf-cli-resource
/spec/util/yq_manifest_spec.sh
UTF-8
3,452
3.078125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env shellspec set -euo pipefail Describe 'yq' BeforeAll 'fixture=$(load_fixture "static-app")' Describe 'write and read' It 'can write a new node' When call yq --inplace '.applications[0].env.SOME_KEY = "some value"' "$fixture/manifest.yml" The status should be success End It...
true
aa977f03f93d2a009274d8a33c3d21ece3ad1970
Shell
TobiasKadelka/build_dta
/code/procedures/change-dwi-run-to-acq_fix_all.sh
UTF-8
218
3.046875
3
[]
no_license
#!/usr/bin/env bash # this script changes the dwi-file-names # for example from run-120dir to acq-120dir. for old_file in sub-DTA*/*/dwi/*run* ; do new_file="${old_file/run/acq}" git mv $old_file $new_file done
true
5cbdadd3833ba8294918e8854ee4bc4b501c2cb1
Shell
orva/dotfiles
/zsh_setup/exports.zsh
UTF-8
973
2.796875
3
[]
no_license
bindkey -e export PATH=$PATH:$HOME/bin export PATH=$PATH:$HOME/.local/bin export PATH=$PATH:$HOME/.cargo/bin export PATH=$PATH:$HOME/.dotdata export PATH=$PATH:$HOME/.dotfiles/bin export BROWSER=firefox export TIMEWARRIORDB=$HOME/.dotdata/timewarrior if [[ -n "$DESKTOP_SESSION" && -z "$SSH_AUTH_SOCK" ]]; then if ha...
true
98203a98e9355b65a101a4581c81cd9812d1be4f
Shell
Bananicorn/script_collection
/vim-openscad.sh
UTF-8
539
3.671875
4
[]
no_license
#!/bin/bash # This script was mostly just copied verbatim from the openscad website # The purpose of it is to open the openscad viewer and vim side by side # Best used with a tiling window manager like i3 FILE="$1" # increase stack size to allow deeper recursion ulimit -s 65536 if [ "$FILE" == "" ] then TEMPF=`tem...
true
7edce1da35fd8f152648fe5a807b056b3babc396
Shell
utsavgupta/docker-collection
/scripts/docker-run/registry/run.sh
UTF-8
257
2.5625
3
[]
no_license
#!/usr/bin/env bash function main() { # Registry Configuration: # /etc/docker/registry/config.yml \ docker volume create registry-data docker run \ -it \ -v registry-data:/var/lib/registry \ -p 5000:5000 \ registry:latest } main
true
81c769fd57b606c4814a0b3c0479a882e7e471b6
Shell
yotsuba1022/my-cmd-settings
/private/bash/.bash_profile
UTF-8
4,408
2.546875
3
[]
no_license
# Carl's .bash_profile # Customized command prompt export CLICOLOR=1 export TERM=xterm-256color # enables color in the terminal bash shell export CLICOLOR=1 # sets up the color scheme for list export LSCOLORS=fxexbxdxcxegedabagacad # enables color for iTerm export TERM=xterm-256color export PS1="\[\e[1;32m\]\u\[\e[1;...
true
ccff92a9b93991fdf687c358b728b6714fb793a6
Shell
DH-std/cluster-compiler
/benchmark/run.sh
UTF-8
164
3.1875
3
[]
no_license
#!/bin/bash files=./complete/* for f in $files do if [ ${f: 11: 3} = "img" ]; then echo "Processing $f" mv $f "${f/img/IMG}" fi done echo "complete"
true
421ac0014de5a8ef555e0ac4a91fa1fec072ea32
Shell
dmedme/path
/fdesel.sh
UTF-8
1,198
3.4375
3
[]
no_license
# fdesel.sh # ********************************************************************** # Include this file in a script from which it is to be used. # # Function to allow a user to select from a list of echo files # Arguments: # 1 - The Selection Header # 2 - The list of scripts # # # Returns: # List of echo files # @(#...
true
780f3466735e321c16c50f1f4805f0c9b8b74a15
Shell
MrWWheat/acceptance_watir
/docker/docker_run.sh
UTF-8
766
3.765625
4
[]
no_license
#!/bin/sh usage() { echo "Usage:" echo "\tProvide start and end port range for chromedriver" echo "\tExample: $0 9810 9820\n" } if [ $# -le 1 ] then usage exit 1 fi PORT="-p 8080:8080" VOLUME="-v /dev/shm:/dev/shm --volumes-from jenkinsdata" CONTAINER_NAME="--name jenkins" IMAGE_NAME="jenkins/watir" JEN...
true
1c0fd533beec9be54c9fd3cd9fd5c16ec6a37f7d
Shell
tedbow/drupalorg_infrastructure
/vendors/build-bluecheese.sh
UTF-8
763
3.140625
3
[]
no_license
# Exit immediately on uninitialized variable or error, and print each command. set -uex # Jenkins job tracks http://git.drupal.org/project/bluecheese.git cd /var/git/bluecheese # Make sure remote exists and is updated. git remote show private || git remote add private ssh://git@bitbucket.org/drupalorg-infrastructure/...
true
7e94234ec9d5e7f472589ebd547d16251789588a
Shell
gpongracz/ansible-template
/create-role.sh
UTF-8
393
4.03125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash if [ -z "$1" ] then echo "No argument supplied"; exit 1 fi # this script is used to create a role DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" TARGET_DIR=$DIR/roles/$1 TEMPLATE_DIR=$DIR/roles/template if [ ! -d "$TARGET_DIR" ]; then # Control will enter here if $DIRECTORY exists. cp -...
true
f8db0f9f52622b0c1cd236e2f9bd7ebc1ec2c254
Shell
Tout/china
/test/ec2stubs/ec2-run-instances
UTF-8
1,209
3.390625
3
[]
no_license
#!/bin/bash chars='[ !"#$&()*,;<>?\^`{|}]' do_data_file=0 orig_data_file="" for arg do if [ $do_data_file -eq 1 ] ; then orig_data_file=${arg} arg="user_data_md5_$(cat $arg | tr -d ' \n\t' | md5sum | awk '{print $1}')" do_data_file=0 fi if [ "$arg" = "-f" ] ; then do_data_file=1 ...
true
19ed44b2f2fcccc61974793b2791f38947e0cccc
Shell
lukas-hetzenecker/docker-postfix
/assets/install.sh
UTF-8
11,213
2.96875
3
[ "MIT" ]
permissive
#!/bin/bash #judgement if [[ -a /etc/supervisor/conf.d/supervisord.conf ]]; then exit 0 fi #supervisor cat > /etc/supervisor/conf.d/supervisord.conf <<EOF [supervisord] nodaemon=true [program:postfix] command=/opt/postfix.sh [program:cron] command=/usr/sbin/cron -f [program:spamassassin] command=/usr/sbin/spamd ...
true
37cc3033b1266c0430b541f0583231131a77a34e
Shell
zhuxu/shell
/Chapter11/test21.sh
UTF-8
176
3
3
[]
no_license
#!/usr/bin/env bash # testing file dates if [ ./badfile1 -nt ./badfile2 ] then echo "The badfile1 is newer than badfile2" else echo "The badfile2 is newer than badfile1" fi
true
29683accf932a497d10a87079296cb858bf40920
Shell
zhengzhiren/vimrc
/vimrc.sh
UTF-8
506
4.0625
4
[]
no_license
#!/bin/bash THIS_DIR=$(dirname $(readlink -f $0)) cmd=$1 function update() { echo Updating \"$HOME/.vimrc\" cd $THIS_DIR; git pull if [ -f $HOME/.vimrc ]; then cp $HOME/.vimrc $HOME/.vimrc.bak #make a backup fi cp $THIS_DIR/.vimrc $HOME/.vimrc } function commit() { echo Committing \"$HOME/.vimr...
true
52e75d55ccfb2df3d53865d528b027a65f25a676
Shell
manticoresoftware/docker
/docker-entrypoint.sh
UTF-8
6,258
3.734375
4
[]
no_license
#!/bin/bash set -eo pipefail # check to see if this file is being run or sourced from another script _is_sourced() { # https://unix.stackexchange.com/a/215279 [ "${#FUNCNAME[@]}" -ge 2 ] && [ "${FUNCNAME[0]}" = '_is_sourced' ] && [ "${FUNCNAME[1]}" = 'source' ] } _searchd_want_help() { local arg for ar...
true
e17823e7b7d6e1aafe7d80b0c322c6f6aa1b0c36
Shell
debian-pm-tools/rootfs-builder-debos
/librem5/overlay/etc/kernel/postinst.d/zz-zzkernelhack
UTF-8
571
3.203125
3
[ "MIT" ]
permissive
#!/bin/sh # see Chapter 8 of Debian Linux Kernel Handbook set -e # this script is used as postinst.d and postrm.d script; this is used to # differentiate between the two self="$0" # see 8.1, Kernel hooks abi="$1" # ignored _vmlinuz="${2:-/boot/vmlinuz-$abi}" set -- $DEB_MAINT_PARAMS action="$1" action="${action#\'}...
true
595fa4c3acc67a2cfaca39c56eef735872f4c618
Shell
aprokop/local_scripts
/switch_org
UTF-8
1,129
3.984375
4
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
#!/bin/bash # Hardcoded location of all org alternatives loc="$HOME/.personal" cur_org=`readlink $loc/org` if [ "$?" -ne "0" ]; then echo "No current org, exiting..." exit 0 fi unamestr=`uname` if [[ "$unamestr" == "Darwin" ]]; then # Mac adds "/" at the end of readlink cur_org=`echo $cur_org | sed 's/\/$//'...
true
f4cdcd74af92616a94223a3152649c186690c072
Shell
thanh-dong/2vivi
/network/common.sh
UTF-8
814
4
4
[]
no_license
#!/bin/bash YELLOW='\033[1;33m' RED='\033[1;31m' GREEN='\033[1;32m' BLUE='\033[1;34m' PURPLE='\033[1;35m' RESET='\033[0m' OS=$(uname) export OS=$OS NETWORK_NAME="2vivi-network" NETWORK_VERSION=$(cat package.json \ | grep version \ | head -1 \ | awk -F: '{ print $2 }' \ | sed 's/[",]//g') # Indent text on ec...
true
f9e302c13137903c82fff956454b4500b130acf0
Shell
mwhittaker/vms
/install_grafana.sh
UTF-8
433
3.625
4
[]
no_license
#! /usr/bin/env bash set -euo pipefail main() { mkdir -p "$HOME/install" cd "$HOME/install" # See [1, 2, 3] for download links. # # [1]: https://grafana.com/docs/installation/debian/ # [2]: https://grafana.com/get # [3]: https://grafana.com/grafana/download local -r grafana='grafana-6...
true
a3091ab7947b50d20d79bb0f7d428b1ab61c863d
Shell
Marcnuth/setup-scripts
/prepare-xgboost.sh
UTF-8
366
2.828125
3
[]
no_license
python3 -c "import xgboost" if [ $? -ne 0 ]; then rm -rf /usr/bin/xgboost/ git clone --recursive https://github.com/dmlc/xgboost /usr/bin/xgboost/ cd /usr/bin/xgboost/ make -j4 cd python-package sudo python3 setup.py install echo 'export PYTHONPATH=/usr/bin/xgboost/python-package' >> /e...
true
baa2260adcc8c8ef1dd6e5a5c604609ef9bd7c39
Shell
liqiang76/tinyos_cxl
/apps/breakfast/bacon/cxActiveMessage/tests/overnight_0918.sh
UTF-8
1,941
3.125
3
[]
no_license
#!/bin/bash #re-run 0x8D burst/flood/single tests shortDuration=$((60*60)) longDuration=$((2 *60 *60)) floodOptions="senderDest 65535UL requestAck 0" burstOptions="senderDest 0 requestAck 0" lowRateOptions='targetIpi 143360UL queueThreshold 10' midRateOptions='targetIpi 61440UL queueThreshold 10' highRateOptions='targ...
true
c271b7681c3c1e68f95dc4e89534157674fa0fcf
Shell
Ginden/dotfiles
/bin/webp-auto
UTF-8
277
3.109375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash #HASH=$((cat $0 && dwebp -version) | md5sum) #HAS_MEMBER=$(redis-cli sismember "$0:$HASH" "$1" | cat); OUTPUT_PATH="$1.png" if [ ! -f "$OUTPUT_PATH" ]; then echo "Processing file $1"; dwebp "$1" -o "$OUTPUT_PATH" else echo "Skipping file $1"; fi;
true
7ed1539c6d1ffd8bd896d48accf3489223adb235
Shell
jleni/qrl-build-images
/xenial-emscripten/build.sh
UTF-8
1,191
2.984375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -e sudo mkhomedir_helper $(whoami) BUILD_DIR="build" cmake --version # Get emscripten cd ${HOME} curl -O https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz tar -xvzf emsdk-portable.tar.gz cd emsdk-portable ./emsdk update &> /dev/null ./emsdk install latest &> /de...
true
6fa58478d37355c7cd52e07d7b041f370706d8c4
Shell
RHood78/monerodo
/service_on.sh
UTF-8
566
3.25
3
[]
no_license
#!/bin/bash #Turns a service on # Imports varialbes from global environment created in previous script if [ -a /etc/init/$mos_service.conf ] && [ "$(echo $running | grep stop/waiting)" ] ; then ./spin.sh & sudo service $mos_service start && echo 0 > /dev/shm/mos_status elif [ "$(echo $running | grep running)" ] ; then...
true
e7d1ad9d450237f6231f37cf74c0512c2516e3f5
Shell
AvraamMavridis/bash-scripts
/guetzli.sh
UTF-8
387
3.640625
4
[]
no_license
#!/bin/bash # # Minify images using the guetzli algorithm # https://github.com/google/guetzli # It can be very slow. # Dont use it in a CI process. # minify(){ FILES=$(find "$PWD/app/img" -type f -name '*.jpg') for f in $FILES do echo "Processing $f" guetzli $f $f done } if which guetzli >/dev/null; t...
true
56e9426d61effbb07ed98fc975d367d01dc13b58
Shell
Bypass-Society/timetrap-docker
/start.sh
UTF-8
666
3.875
4
[]
no_license
#!/bin/bash # This script is to be run from the Docker hosts' local folder: # - starts the docker container # - bind mounts the local bin & data directory # - calls the 'bootstrap.sh' to use the local timezone # Get current user & timezone USERNAME=$(id -un) LOCALTZ=$(cat /etc/timezone) # Set executable flag on hos...
true
ae5efa0c77a402e5ac726e4fb9949628871fa7ea
Shell
petronny/aur3-mirror
/puttygen-svn/PKGBUILD
UTF-8
743
2.96875
3
[]
no_license
pkgname=puttygen-svn _svnname=putty pkgver=9846 pkgrel=1 pkgdesc="Manage rsa keys for use with putty" arch=('i686' 'x86_64' 'armv7h') url="http://www.chiark.greenend.org.uk/~sgtatham/putty" license=('MIT') makedepends=('subversion' 'zip') source=('svn://svn.tartarus.org/sgt/putty') md5sums=('SKIP') build() { cd...
true
103f791d6f2c1bb3e10b31bfdc065e36e1bbce02
Shell
JohnBerd/epitech-scripts
/generate_cpp
UTF-8
1,924
3.84375
4
[]
no_license
#!/bin/bash if [ "$#" != 1 ] then echo -e "$0 <name of the class to generate>" exit fi if [ ! -f $1.hpp ] then touch $1.hpp echo "/*" >> $1.hpp echo "** EPITECH PROJECT, 2018" >> $1.hpp echo "** \$NAME_OF_THE_PROJECT" >> $1.hpp echo "** File description:" >> $1.hpp echo "** Here is co...
true
56004404c834da319e72d4511a2271eeab0cf872
Shell
seratch/python-slack-scim
/generate_response_classes.sh
UTF-8
481
3.1875
3
[ "MIT" ]
permissive
#!/bin/bash cmd=`which quicktype` if [ "$cmd" == "" ]; then npm i -g quicktype fi # v1 targets="groups:Groups group:Group users:Users user:User service_provider_configs:ServiceProviderConfigs" for target in $targets do t=(${target//:/ }) cat json-schema/v1/${t[1]}.json | quicktype \ --all-properties-optiona...
true
c2623a27bbc0cc97863dd6438c38d57c533805f8
Shell
nasimgholizadeh/my-bash-scripts
/convert-png-to-jpg.sh
UTF-8
256
3.453125
3
[]
no_license
#!/bin/bash IFS=$'\n' clear mkdir "$HOME/jpgPictures" image_name="1" images=`ls $HOME/Pictures/*png` for i in $images;do convert "$i" -resize 50% "$HOME/jpgPictures/$image_name.jpg" echo "$image_name.jpg created!" ((image_name++)) done echo "Finished."
true
a6215f51978033a5ba57f5800da515741507b5e6
Shell
nwithan8/dotfiles
/setup/mac/files.sh
UTF-8
848
3.90625
4
[]
no_license
#!/usr/bin/env bash REPO_LOCATION=$1 # Symlink files to their appropriate locations # Using symlinks instead of copying files allows for updates to this repo to be reflected on the user's system immediately # BashFTW profiles DOT_FOLDER="$REPO_LOCATION/dot" # for each directory in DOT_FOLDER, find all files starting...
true
1287765d37f98317b9e53785bbd4abdf95e98b15
Shell
apkemos/POSIX-Processes-and-Threads
/Client-Server Threads/testing/run_tests.sh
UTF-8
488
2.953125
3
[]
no_license
#!/bin/bash #make it executable with chmod +x run_tests.sh #or chmod 777 run_tests.sh #Run with bash ./run_tests.sh #Must be killed after manually COUNTER=0 LIMIT=2 name[0]='Player1' name[1]='Player2' inventory[0]='testing/inv1.txt' inventory[1]='testing/inv2.txt' cd ..; #Go to project's directory ./gameserver -p...
true
38df420d247c79eef7d040792cec69285675e691
Shell
petertodd/trillian
/integration/ct_integration_test.sh
UTF-8
2,446
3.59375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e INTEGRATION_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" . ${INTEGRATION_DIR}/common.sh RPC_PORT=36962 CT_PORT=6962 # Build config file with absolute paths CT_CFG=$(mktemp ${INTEGRATION_DIR}/ct-XXXXXX) sed "s!@TESTDATA@!${TESTDATA}!" ./integration/ct_integration_test.cfg > ${CT_CFG} trap...
true
b515c55e1baddad30adad875e204d957230c9fa8
Shell
rafaelvzago/skupper-performance
/onpremise-cloud/run-iperf-tests.sh
UTF-8
1,001
3.421875
3
[ "Apache-2.0" ]
permissive
. common.sh runIperf() { # # Running iperf3 tests # kubectl delete job/iperf-client waitNoPods iperf-client POD_IP=`kubectl get pods -l app=iperf-server -o json | jq -r .items[0].status.podIP` export IPERF_SERVER=${IPERF_SERVER:-${POD_IP}} echo echo "Running iperf3 tests ($IPERF_SE...
true
b2c6b9597b851ffc7ca2971051197f1f9c66aa44
Shell
tjheeta/slashpackage-installer
/spf-path
UTF-8
942
3.390625
3
[]
no_license
#!/bin/sh case $ZSH_VERSION in '') :;; *) alias -g '${1+"$@"}="$@"';; esac && CDPATH= && unset CDPATH DIR="$( cd "$( dirname "$0" )" && pwd )" . ${DIR}/prjlib.sh . ${DIR}/spftools.sh . ${DIR}/sptools.sh case $? in 0) :;; *) (exit "$?");; esac && case $# in 0|1|2|3) prj_fail 'usage: spf-path variable subpath skips p...
true
39a3f1b5fa74a5a524d46fb1e093c52f7ea2f884
Shell
DrizlyInc/wait-for
/wait-for
UTF-8
2,463
4.4375
4
[ "MIT" ]
permissive
#!/bin/sh OLD_TIMEOUT=$TIMEOUT OLD_QUIET=$QUIET OLD_PORT=$PORT OLD_HOST=$HOST OLD_LOOSE=$LOOSE TIMEOUT=15 QUIET=0 LOOSE=0 if ! which nc >/dev/null; then echo "Netcat is not installed. This script requires netcat to work correctly." exit 1 fi echoerr() { if [ "$QUIET" -ne 1 ]; then printf "%s\n" "$*" 1>&2; fi ...
true
5342f55a46f29d665a0d957e2a0f1f22b3802bcc
Shell
open-datas/Darken
/config/src/main/resources/startup.sh
UTF-8
279
2.796875
3
[]
no_license
#!/bin/sh for i in /BOOT-INF/lib/*; do CLASSPATH=$i:"$CLASSPATH"; done CLASSPATH=.:/BOOT-INF:$CLASSPATH export CLASSPATH if [ "$1" = "console" ] then java -d64 -cp $CLASSPATH EurekaApplication else nohup java -d64 -cp $CLASSPATH EurekaApplication >/dev/null 2>&1 & fi
true
bbf2f14b32b13cf319bc35d77943e231432ac419
Shell
journeymonitor/monitor
/bin/run-testcase.sh
UTF-8
1,620
3.09375
3
[ "MIT" ]
permissive
#!/bin/bash /usr/bin/Xvfb :$1 -screen 0 1920x1200x24 -nolisten tcp -ac > /dev/null 2> /dev/null & XVFB_PID=$! export DISPLAY=:$1 # Launching a browsermob proxy, ensuring that we don't work with a port that is already taken PROXY_STARTED=0 while [ $PROXY_STARTED -eq 0 ] do PROXY_PORT=$(( ( RANDOM % 32767 ) + 9091...
true
9483173ef9423b5b20cee8f6ddadc76440abd932
Shell
lionelliang/Sipmobile
/lib/mailfax.sh
UTF-8
2,491
3.375
3
[]
no_license
#!/bin/bash echo Received paramters $1 $2 $3 $4 $5 $6 >>/var/log/faxmail.log DATETIME=`date +"%A %d %b %Y %H:%M"` if [ -e $5.tif ] then echo fax file $5.tif found. Sending email to $4 .... >>/var/log/faxmail.log PAGES=$(tiffinfo $5.tif | grep "Page") DT=$(tiffinfo $5.tif | grep "Date") DTFAX=${DT#*:} COUNT=${...
true
6499f4799011a2c94b32b7744c318a04d5404bb3
Shell
fmidev/docker-fmibase
/test-inside-container-2.sh
UTF-8
491
2.640625
3
[]
no_license
#!/bin/bash -ex # Run inside container, test that yum cache is working ls -l /var/cache/yum # Yum cache should be intact from previous test 1 even though the # container was recreated test `find /var/cache/yum/ | wc -l` -gt 0 # Test openssh is still in cache test `find /var/cache/yum/ -name openssh\*.rpm | wc -l` -g...
true
1a7ac8eefc5d88333c1c0b01333320496e762d1c
Shell
sulromares/automation-ci
/master/backup/download-latest.sh
UTF-8
703
2.890625
3
[]
no_license
#!/bin/sh token=$(python ../../utils/access_token.py) bucket="javelin-ci-backup-test" echo "Fetching jenkins data..." curl -sO -H "Authorization: Bearer ${token}" "https://storage.googleapis.com/${bucket}/jenkins_data.tar.gz" echo "OK" echo "Fetching nexus data..." curl -sO -H "Authorization: Bearer ${token}" "htt...
true
c7f414f8fe56c6250acfef2b704618cddc770a22
Shell
FauxFaux/debian-control
/f/fs-uae/fs-uae-netplay-server_2.8.4+dfsg-2_all/preinst
UTF-8
2,404
3.84375
4
[]
no_license
#!/bin/sh set -e case "$1" in install|upgrade) # If the package has default file it could be sourced, so that # the local admin can overwrite the defaults #[ -f "/etc/default/packagename" ] && . /etc/default/fixme # Sane defaults: [ -z "$SERVER_HOME" ] && SERVER_HOME=/var...
true
52aa970d676dd4fffbebd2737e366993f7f2b94d
Shell
rryk/duplicati
/build-preview-update.sh
UTF-8
5,321
3.328125
3
[]
no_license
RELEASE_TIMESTAMP=`date +%Y-%m-%d` RELEASE_INC_VERSION=`cat Updates/build_version.txt` RELEASE_INC_VERSION=$((RELEASE_INC_VERSION+1)) RELEASE_VERSION="2.0.0.${RELEASE_INC_VERSION}" RELEASE_NAME="${RELEASE_VERSION}_preview_${RELEASE_TIMESTAMP}" RELEASE_CHANGELOG_FILE="changelog.txt" RELEASE_CHANGELOG_NEWS_FILE="chang...
true
31f92b04188b0709fba9747f494b99bddab3b404
Shell
doxing/pandaOS
/src/scripts/patch
UTF-8
394
3.28125
3
[ "MIT" ]
permissive
#!/bin/bash FOLDERNAME="patch-2.7.5" FILENAME="patch-2.7.5.tar.xz" # The Patch package contains a program for modifying or # creating files by applying a “patch” file typically # created by the diff program. cd ../../pkg/basic/${FOLDERNAME} # Prepare Patch for compilation ./configure --prefix=/tools # Compile the ...
true
92d1363fb7b474a0d39e54b0b50db01fca989b0f
Shell
stringlytyped/dotfiles
/install.sh
UTF-8
3,303
4.21875
4
[ "Apache-2.0" ]
permissive
#! /usr/bin/env bash # Array of dotfiles to be symlinked in the home directory files=(bashrc bash_profile inputrc gitconfig gitignore) # Array of Homebrew formulae that the dotfiles depend on brew_formulae=(coreutils darksky-weather hub) # Array of Mac applications and corresponding Homebrew casks that the dotfiles ...
true
92f6af07a23071e1ff45b2515cdca9432db54d87
Shell
Rzachprime/fvtt-mutants-and-masterminds-3e
/scripts/dist.sh
UTF-8
903
2.734375
3
[ "MIT" ]
permissive
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" rm -rf $script_dir/../dist && mkdir $script_dir/../dist && # Ensure system.json is inside dist for release cp $script_dir/../src/system.json $script_dir/../build/system.json && cp $script_dir/../src/system.json $script_dir/../dist/system.jso...
true
0f9a74b713a3bbb0c6a220d1487b025aa7dd5dae
Shell
leonrudowicz/42env
/dock.sh
UTF-8
2,170
2.515625
3
[ "Unlicense" ]
permissive
#!/usr/bin/env bash #### #### Dock Customizations #### ### Dock Size defaults write com.apple.dock tilesize -int 46 ## Lock Dock defaults write com.apple.dock size-immutable -bool true ### Hide the dock defaults write com.apple.dock autohide -bool true ## Hide delay defaults write com.apple.dock autohide-delay -...
true
e96e58d669ad8196f897473fc5ebece77f753243
Shell
myst3k/stuff
/bash_template.sh
UTF-8
418
3.484375
3
[]
no_license
#!/usr/bin/env bash # Debug mode, same as set -x #set -o xtrace # Exit if attempting to use uninitialized variable, same as set -u set -o nounset # Exit if statement returns non-true value, same as set -e set -o errexit # Removes the "space" character from the input field separator list IFS="$(printf '\n\t')" args=(...
true
4e589f2a53e4522e338c015f155afd539b9a40ab
Shell
bryantrobbins/umd-dozen
/common/common-replay-suite.sh
UTF-8
2,126
3.140625
3
[]
no_license
#!/bin/bash # # Copyright (c) 2009-@year@. The GUITAR group at the University of # Maryland. Names of owners of this group may be obtained by sending # an e-mail to atif@cs.umd.edu # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation fi...
true
1c077f2f73da5a5cef5f89d61f72a08f2c50430c
Shell
xzhoulab/DBSLMM-Analysis
/real_dat/EUR/3_herit_cv.sh
UTF-8
1,012
2.671875
3
[]
no_license
#!/bin/bash #SBATCH --partition=mulan,nomosix #SBATCH --time=1-00:00:00 #SBATCH --job-name=herit #SBATCH --mem-per-cpu=2G #SBATCH --array=1-5 #SBATCH --output=/net/mulan/disk2/yasheng/out/herit_%a.out #SBATCH --error=/net/mulan/disk2/yasheng/err/herit_%a.err bash let k=0 ldsc=/net/mulan/home/yasheng/Biobank/program...
true
b9d85d4381e35570bcb3d982164c924a6fb3d28b
Shell
ziedbargaoui/simulators
/realtime-plane/run.sh
UTF-8
178
2.96875
3
[]
no_license
#!/bin/bash if [ -d "build" ]; then cd build cmake .. make if [ -d "Simulator" ]; then ./Simulator fi else echo "build folder doesn't exist" fi
true
6a5f418d8ffec05d3d393adad292d604eae70640
Shell
yyhclimacool/misc
/src/thread_implementation/pstree.sh
UTF-8
125
2.796875
3
[]
no_license
#!/bin/bash pid=`ps -ef | grep thread_test | grep -v grep | awk '{print $2}'` if [ ! -z $pid ]; then pstree -t -p $pid fi
true
2505807ee9fc8dd97ef94a3598b144b9b562dc27
Shell
Faronsince2016/config
/bin/ssh_virtualbox_ubuntu_1204.sh
UTF-8
1,823
3.296875
3
[]
no_license
#!/bin/bash # ---------------------------------------- # 功能介绍 # ssh 到 VirtualBox 中的 Ubuntu 12.04 # # Tips: # 默认情况下,VirtualBox 中安装的系统在启动后,IP 不在 192.168.1.X 段。 # 而是 10.0.2.X, 即,Mac OS 上无法 ping 通这个 IP。 # 这是由于虚拟机系统的默认网络连接方式是“网络地址转换(NAT)”。 # 这种网络连接方式只能保证正常的浏览网页,收取邮件,下载文件。但不能保证被 # 其他机器访问。 # 解决方法是,在 VirtualBox 的网络配置中,将连接方式更...
true
f7acea6c5432201fe4f85e56666f3b44f0d40427
Shell
echvsg/kubernetes-integration-test
/integration-test/run.sh
UTF-8
769
2.515625
3
[ "Apache-2.0" ]
permissive
#!/bin/sh sudo docker rm -f mockserver sudo docker rm -f mariadb sudo docker rm -f amq sudo docker run --name mockserver -d -p 1080:1080 docker.io/jamesdbloom/mockserver sudo docker run --name mariadb -e MYSQL_USER=myuser -e MYSQL_PASSWORD=mypassword -e MYSQL_ROOT_PASSWORD=secret -e MYSQL_DATABASE=testdb -d -p 3306:33...
true
35f6549f4680a532feb44007d4e6f42bb4cbd315
Shell
swarren/rpi-dev-scripts
/firmware-to-any.sh
UTF-8
1,994
3.109375
3
[]
no_license
#!/bin/bash # Copyright (c) 2016 Stephen Warren <swarren@wwwdotorg.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, ...
true
94b46ca057bfe08275f10e4cb0c965793cc649ad
Shell
amoghe/bashext
/funcs/gm
UTF-8
1,365
4.21875
4
[]
no_license
#!/bin/bash # This file should be sourced since it expects to modify the calling shell environment # # Change go(lang) versions easily function __gimme_debug() { echo "[DEBUG] $@" > /dev/null # Remove redirect to enable this } function __gimme_error() { echo "[ERROR] $@" 1>&2 } function gm() { GIMME_PAT...
true
3d5db964692f212caadf15194e15f859e4f020ba
Shell
ddarling85/workspace
/conatinerWork/elk-build-centos.sh
UTF-8
1,706
2.984375
3
[]
no_license
echo '## Uninstall previous Docker version if necessary... \n\n' sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ ...
true
6346b01acae4854c58d2faa52c46c9dd34f4c730
Shell
krisleech/tmuxinator
/templates/example.tmux.erb
UTF-8
497
2.828125
3
[ "MIT" ]
permissive
#!/bin/sh function start_<%= @project_name %> { BASE="<%= @project_root %>" cd $BASE tmux start-server tmux new-session -d -s <%= @project_name %> -n editor tmux new-window -t <%= @project_name %>:1 -n shell tmux send-keys -t <%= @project_name %>:0 "cd $BASE; vi" C-m tmux send-keys -t <%= @project_nam...
true
66bf91ef7a896345b70c43250d47c78647ffe4fb
Shell
corrieb/350vins
/pull-data-GT350.sh
UTF-8
173
2.875
3
[]
no_license
#!/bin/bash if [ "$#" -ne 2 ]; then echo "Usage: ./pull-data-GT350.sh <from 4-digit VIN> <to 4-digit VIN>" exit 1 fi ./pull-data.sh "GT350" $1 $2 "1FA6P8JZ" "L555"
true
c6cc5e4bc2e15436a81d4dd78ea0389b69e65a58
Shell
awinawin1/SoalShift_modul1_C15
/no4dec.sh
UTF-8
745
3.390625
3
[]
no_license
#!/bin/bash i=1 for syslog in syslog/* do echo "$i. ${syslog##*/}" choose[i]=${syslog##*/} i=$((i + 1)) done echo "Please choose which one you want to decrypt(in number)>>" read this hour=$((${choose[this]:0:1}*10)) hour=$((hour+${choose[this]:1:1})) echo $hour dec=$((26-hour)) echo $dec lowcase=abcdefghi...
true
6e87fe282d8841f0eac7b8a72ca2bfcd265196a5
Shell
ChrisCarini/dotfiles
/bin/macos_clear_purgable_space.sh
UTF-8
3,083
4.09375
4
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#!/bin/bash # TAKEN FROM: https://www.reddit.com/r/mac/comments/c8wacm/comment/esrvj6d/ # Modified because there were too many sleep statements between prints. echo 'This script forces the macOS to purge any purge-able files.' echo 'You can see the purge-able space by clicking "Get Info" on the main hard drive.' echo...
true
19334dd52270fde5eafc6717bccce0e61c006b0f
Shell
SprPstn/Superposition
/dev/pipeline/twitter/logtoslack.sh
UTF-8
470
3.03125
3
[]
no_license
#!/bin/bash tail -n0 -F "$1" | while read LINE; do (echo "$LINE" | grep -e "$3") && curl -X POST --silent --data-urlencode \ "payload={\"text\": \"$(echo $LINE | sed "s/\"/'/g")\"}" "$2"; done #To use this script, save it as an executable script and simply pass the path to the log file and a webhook url to thi...
true
61e484aa8c36d7a0465c8d7c4b2b7e55dce06e8e
Shell
kwkroeger/Dotfiles
/bashrc
UTF-8
1,095
3.453125
3
[]
no_license
#!/bin/bash # If not running interactively, don't do anything [ -z "$PS1" ] && return if [ "$SHELL" != "/bin/bash" ]; then export SHELL=/bin/bash exec /bin/bash -l fi export PS1="\[\e[0;91m\]\u\[\e[0;36m\]@\[\e[0;91m\]\h\[\e[0m\] \[\e[0;36m\]\W\[\e[0m\] \[\e[1;91m\]:\[\e[0m\]" ## COMPLETION ## complete -cf sudo...
true
0fcf93b062415a457327e69b94da570ab368a12c
Shell
nusense/runartg4tk
/scripts/genana_g4vmp_proclevel_condor.sh
UTF-8
40,439
2.90625
3
[]
no_license
#! /usr/bin/env bash # # A script for running artg4tk in the Geant4 Varied Model Parameter environment # see: https://cdcvs.fnal.gov/redmine/projects/g4mps/wiki/Phase2_App_01052016 # ############################################################################## export THISFILE="$0" export b0=`basename $0` export SCR...
true
9aaa2b11ae19fa97245bd3889eefd74d045ff194
Shell
meuserj/dotfiles
/installlinks.sh
UTF-8
1,263
2.765625
3
[]
no_license
#!/bin/bash if [[ ! -e ~/.consolefont.sh ]] then ln -s ~/.gitdotfiles/.consolefont.sh ~/.consolefont.sh fi if [[ ! -e ~/.minttyrc ]] then ln -s ~/.gitdotfiles/.minttyrc ~/.minttyrc fi if [[ ! -e ~/.Xresources ]] then ln -s ~/.gitdotfiles/.Xresources ~/.Xresources fi if [[ ! -e ~/.shellprompt.sh ]] then ln -s ~/...
true
a32cbf012aba1fd59a0e03e3e3030bb6bec50b42
Shell
vishalkarad/FellowShip
/SequencesPracticeProblems/NumberGreterOrLessOrEqual.sh
UTF-8
365
3.71875
4
[]
no_license
#!/bin/bash # Find number is Greter less or equal # declare variable and asign value firstNumber=10 secondNumber=10 # if elif opration to check greter,less,or equal number if [ $firstNumber -gt $secondNumber ] then echo "$firstNumber is greter :" elif [ $secondNumber -gt $firstNumber ] then echo "$secondNumber ...
true
7d68818619f27a1de53a55ef2ad9ec5bca94be66
Shell
weinenglong/hadoop_k8s
/start_cluster.sh
UTF-8
1,754
3.21875
3
[]
no_license
#!/bin/bash #pods=`sudo kubectl get pods | grep $1 | sed 's/\(\w\+-\w\+-\w\+\)[^$]*/\1/'` pods=`sudo kubectl get pods | grep hadoop-service- | sed 's/\(\w\+-\w\+-\w\+-\w\+\)[^$]*/\1/'` arr=(${pods// /}) pod_count=${#arr[@]} i=0 j=1 while [ $i -lt $pod_count ] do eval pod$i=${arr[$i]} eval tmp="$"pod$i"" if [[ $...
true
16e150fc95fcfca59cc3a78dc654698db75ffd8a
Shell
IBM-SkillsAcademy/big-data-eng-2020
/scripts/big-sql/bigsqlWorkload/bigsql_workload.sh
UTF-8
4,694
3.71875
4
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#!/bin/bash #SCRIPTS_PATH=/workloadScripts #GIT_REPO_DIR=/root/bigsql/scriptsbigsql/big-data-eng-2020 #cd $GIT_REPO_DIR #toberemoved #git pull #toberemoved # #/bin/cp $GIT_REPO_DIR/scripts/big-sql/*.sh $SCRIPTS_PATH/ #/bin/cp $GIT_REPO_DIR/scripts/big-sql/bigsqlWorkload/*.sh $SCRIPTS_PATH/ #/bin/cp $GIT_REPO_DIR/scri...
true
e78387f164c35b202148904a6012adcf1b3fb054
Shell
kangnium/Shell_Scripting
/Automating.Command.Line.Tasks/loop_select.sh
UTF-8
186
2.859375
3
[]
no_license
# boucle ave select: ça ressembl beaucoup à for names='Thomas Jude Josh Quit' PS='Select character' select name in $names do if [ $name == 'Quit' ] then break fi echo $name done echo Goodlock
true
6c423e0783300d1f662f3c0ec40e2b24c7c71e39
Shell
ArcherCraftStore/ArcherVMPeridot
/php/docs/Structures_Graph/docs/generate.sh
UTF-8
365
2.546875
3
[ "BSD-3-Clause", "BSD-4-Clause-UC", "Zlib", "ISC", "LicenseRef-scancode-other-permissive", "TCL", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "JSON", "LicenseRef-scancode-pcre", "blessing", "PHP-3.01", "Apache-2.0", "MIT" ]
permissive
#!/bin/sh (cd ..; tar czf docs/arch.tgz "{arch}") rm -Rf "../{arch}" rm -Rf ./html mkdir -p ./html phpdoc --directory ../Structures,./tutorials --target ./html --title "Structures_Graph Documentation" --output "HTML:frames" --defaultpackagename structures_graph --defaultcategoryname structures --pear (cd ..; tar --abs...
true
0e4efba4f56e68cf5c3c69686530bef0d8e025ae
Shell
lsst-dm/db_pdac_wise
/scripts/drop_forced_source_folders.bash
UTF-8
1,456
3.59375
4
[]
no_license
#!/bin/bash set -e SCRIPT=`realpath $0` SCRIPTS=`dirname $SCRIPT` source $SCRIPTS/env_base_stack.bash assert_worker folders="$1" if [ -z "$folders" ]; then echo `basename ${SCRIPT}`": usage <folders>" exit 1 fi worker=`/usr/bin/hostname` worker_data_dir="${INPUT_DATA_DIR}/${OUTPUT_FORCED_SOURCE_TABLE}/${...
true
23fe315e0dfcb155b8af0f51c98d96b9b7e99389
Shell
EstevesAndre/SDIS-Project-2
/bin/runPeer.sh
UTF-8
250
2.796875
3
[]
no_license
#! /bin/sh if [ $# -ne 2 -a $# -ne 4 ]; then echo "Usage: $0 <address_ip> <address_port> (<know_address_ip> <known_address_port>)?" exit 1 fi java -Djavax.net.ssl.keyStore=keystore -Djavax.net.ssl.keyStorePassword=123456 service/Peer $@
true
2c711d862d75aae72785e261ca2e61ce5a42a174
Shell
Brianstevee/alaterm
/fixlo.bash
UTF-8
787
3.375
3
[ "MIT" ]
permissive
#!/bin/bash # Fix for LibreOffice /proc not mounted. # DO NOT USE THIS UNLESS YOU NEED IT. # If LibreOffice fails to launch, # and terminal reports error with /proc not mounted, # first try exiting alaterm, then re-launch it. # If that did not work, then try this script. # It must be re-run whenever LibreOffice is upda...
true
1362f9b95193c94597ae3abcdc1c88d6b721dcbb
Shell
kk1694/fastai-shell
/fastai.sh
UTF-8
2,330
3.71875
4
[]
no_license
#!/bin/bash if [ -f ~/.fastai-zone ]; then current_zone=$(cat ~/.fastai-zone) else current_zone='us-west1-b' fi use-zone() { zone=$1 echo $zone > ~/.fastai-zone echo "Availability zone updated to '$zone'" } start() { machine_type=$1 gpu_type=$2 gcloud beta compute --project=$DEVSHELL_PROJECT_ID insta...
true
2c5be307da32f50cbca501702dc4733d4388fa40
Shell
tjansson60/munin-plugins
/omsa_power.sh
UTF-8
645
3.40625
3
[]
no_license
#!/bin/bash OMSA="/opt/dell/srvadmin/bin/omreport" if [ "$1" = "autoconf" ]; then if [ -e "$OMSA" ]; then echo yes exit 0 else echo no exit 1 fi fi if [ "$1" = "config" ]; then echo 'graph_title OMSA - current power usage...
true
e2b061746cb7f4d59e893a4bfd230ed1412876f9
Shell
vindecodex/automated-crawler-wget
/dl.sh
UTF-8
665
3.046875
3
[ "MIT" ]
permissive
#!/bin/bash counter=1 while [ 0 -le 1 ] do repeater=1 while [ $repeater -le 2 ] do wget -O file$counter.html -erobots=off --user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36" https://www.sample.com/post/$counter/ ((counter++))...
true
b62ff4306f3eced9b4698d9a8087f388b4ddbc20
Shell
heroku-softtrends/heroku-buildpack-dotnetcore
/bin/release
UTF-8
621
3.1875
3
[]
no_license
#!/usr/bin/env bash # bin/release <build-dir> ### Configure directories export BUILD_DIR=$1 BP_DIR=$(cd $(dirname $0)/..; pwd) ### Load dependencies # shellcheck source=util/common.sh source "$BP_DIR/bin/util/common.sh" ### Export all env vars here . $BUILD_DIR/.profile.d/dotnetcore.sh cat <<EOF --- config_vars: ...
true
ff9d66720805519a793238740b93b5bbe3003f0f
Shell
tro3373/dotfiles
/bin/exec_bat
UTF-8
1,219
3.59375
4
[]
no_license
#!/usr/bin/env bash bat= success=0 has() { command -v ${1} >&/dev/null; } end() { if [[ ! -e $bat || $success -ne 1 ]]; then return fi rm -rfv $bat } main() { if ! os win; then echo "Not supported os" 1>&2 exit 1 fi if ! has cmd; then echo "No cmd command exist" 1>&2 exit 1 fi if ...
true
3fd861484d42570afa1a50fa249b00861aea51be
Shell
last-endcode/Nolimit-Audience-Deploy
/audience-instagram-bali.sh
UTF-8
990
3.25
3
[]
no_license
#! /bin/bash DATE=`date +%F` printf "\t\t****************\n"; printf "\t\tInstagram_account\n"; printf "\t\t****************\n\n"; #TWITTER pathfile=( `cat "/mnt/app/audience-account/extracontent/instagram-bali"` ) saving="/mnt/app/audience-account/buffer_audience" backup="/mnt/app/audience-account/backup-audience";...
true
58cced481548a595d2aea32eb2a36cc964ca598d
Shell
delkyd/alfheim_linux-PKGBUILDS
/python-heapdict/PKGBUILD
UTF-8
626
2.5625
3
[]
no_license
# Maintainer: Amos Onn <amosonn at gmail dot com> pkgname=python-heapdict pkgver=1.0.0 pkgrel=1 pkgdesc="A python library for a heap with decrease- and increase-key operations." arch=('any') url="http://stutzbachenterprises.com" license=('BSD-3-clause') depends=('python>=3.5') source=(https://codeload.github.com/Daniel...
true
4de6a6818c22df3a95ff2858cdc5bc2975ebc76e
Shell
Levantado/Articles
/BackUp/page-speed.sh
UTF-8
1,622
3.234375
3
[]
no_license
#!/bin/bash if [[ "$USER" != 'root' ]]; then echo "Sorry, you need to run this as root" exit fi apt-get -y --force-yes install dpkg-dev build-essential zlib1g-dev libpcre3 libpcre3-dev unzip echo "deb http://nginx.org/packages/ubuntu/ trusty nginx" >> /etc/apt/sources.list.d/nginx.list echo "deb-src http://nginx....
true
ed4b76cf333d7b0cb62d82abc4690f16f401e0f1
Shell
lexiste/bash
/nmapMon-byNetBlock.sh
UTF-8
2,272
3.875
4
[]
no_license
#!/bin/bash # # # nmap Monitor Script -- used to run a standard scan on given networks that we # can diff against to track for any changes. # Create Date : 27-Sept-2017 # Mod Date : 27-Sept-2017 # Mod Auth : tfencl (at) radial.com # # taken as reference from: https://jerrygamblin.com/ # don't wrap the path to ...
true
4375186843db025da6437028605cd258865263d7
Shell
Pankaj-Ra/ECEP_C-CPP
/ECEP/LinuxSystem/Templates/Case/case_1.sh
UTF-8
536
3.828125
4
[]
no_license
#!/bin/bash echo "Enter an element between 0 - 10 (excluded)" echo -n "Enter a number: " read X if [ -n $X ] then case $X in 1) echo Value of x is One.;; 2) echo Value of x is Two.;; 3) echo Value of x is Three.;; 4) echo Value of x is Four.;; 5) echo Value of x is Five.;; 6) echo Value of x is Six.;; ...
true
83dd5db2b6f1a0bbc7d3b33be943dadd5cf5adca
Shell
pmulcaire/multivec
/multivec-merge.sh
UTF-8
330
2.578125
3
[]
no_license
export merged="output/bg-cs-da-de-el-en-es-fi-fr-hu-it-sv.multiskip.iter_10+window_1+min_count_5+negative_5+size_40+threads_32" rm $merged for lang in bg cs da de el en es fi fr hu it sv; do python ~/wammar-utils/prefix_lines.py -i $merged.$lang -o $merged.$lang.prefixed -p $lang: && cat $merged.$lang.prefixed >> $mer...
true
299e152d61ec8556ec5cf7c61e97a70378614f41
Shell
dbhat/labwiki
/bin/labwiki.in
UTF-8
510
2.78125
3
[ "MIT" ]
permissive
#!/bin/bash HOME=%HOME% RVM_HOME=%RVM_HOME% RUBY=%RUBY% GEMSET=%GEMSET% export HOME export GEM_HOME=${RVM_HOME}/gems/${RUBY} export GEM_PATH=${RVM_HOME}/gems/${RUBY}:${RVM_HOME}/gems/${RUBY}@${GEMSET} export PATH=${RVM_HOME}/gems/${RUBY}/bin:${RVM_HOME}/gems/${RUBY}@${GEMSET}/bin:${RVM_HOME}/rubies/${RUBY}/bin:${RVM_...
true
5b122aae83b624056fc9bd63cdfeeba011b5c2a1
Shell
SamarthBM/Shell-script
/day7/array1.sh
UTF-8
93
3.0625
3
[]
no_license
#!/bin/bash -x array=(2 -3 1) sum=0 for i in ${array[@]} do sum=$((sum+$i)) done echo $sum
true
5e62d014c50cb8e6142a2f31f00ac441dc8fa648
Shell
Eathox/Doom-Nukem
/ci/osx/installMixer.bash
UTF-8
1,611
3.171875
3
[]
no_license
# **************************************************************************** # # # # :::::::: # # installMixer.bash :+: :+: ...
true
597a869b3e615dc36be47a3f50336a58d2d0bc71
Shell
wangzkiss/docker-ambari-deploy
/install-apps/start_app.sh
GB18030
16,467
2.734375
3
[]
no_license
#!/bin/bash # import common variable : ${DIR_HOME:=$(dirname $0)} source ${DIR_HOME}/env.sh #base info : ${MYSQL_HOST:=mysql.service.consul} : ${KYLIN_HOST:=kylin.service.consul} : ${AMR_URL_PORT:=8080} : ${AMR_URL_HOST:=amb-server.service.consul} : ${HSFS_SERVER_NAME:=amb1.service.consul} : ${AMR_DATA_HOST_PWD:=Zasd_...
true
204b7552a3ab4814205705e522dafc7bc3b2da2d
Shell
bartulo/scripts_blender
/exportar_pnoa_mdt.sh
UTF-8
793
2.65625
3
[]
no_license
#!/bin/bash echo -e "Coordenada Latitud" read latitud echo -e "Coordenada Longitud" read longitud echo -e "Extensión (en km)" read extension echo -e "Resolucion PNOA" read pnoa_res echo -e "Resolucion MDT" read mdt_res sur=$(($latitud - $extension*500)) norte=$(($latitud + $extension*500)) este=$(($longitud + $ex...
true
ecc21c26932a45eeab950d7bf18071cb64162c62
Shell
liaoya/packer-template
/cloud/custom/install-asdf.sh
UTF-8
1,646
3.640625
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash -eux #shellcheck disable=SC1090 [[ -n ${CUSTOM_ASDF} && "${CUSTOM_ASDF^^}" == "TRUE" ]] || exit 0 echo "==> Install asdf" [[ $(command -v git) ]] || { echo "git is required"; exit 0; } export ASDF_DATA_DIR=/opt/asdf if [[ $(command -v jq) ]]; then ASDF_VERSION=$(curl -sL https://api.github.com/repos/a...
true
60c2b8589605177e0f27aa4790117cf801698fcb
Shell
ethasu/bash
/gpltall
EUC-JP
601
3.625
4
[]
no_license
#!/bin/bash -e # Υդưɽ #filename=`cat /dev/urandom | LC_CTYPE=C tr -dc 'a-z0-9' | head -c 30` filename=temp_01.dat cat > $filename # col no get nf=`tac $filename | awk 'NR==1{print NF}'` # option setting op=`echo $@ | sed -e 's/w lp/w lp pt 6/g' -e 's/,/ , ""/g'` if [ $# -eq 0 ] then # w/o option -> point plot gnup...
true