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
6a075f6f8438f51c12371e562c017539109833a8
Shell
mcamiano/grog
/grog/kshscripts/showm.sh
UTF-8
259
2.734375
3
[]
no_license
# showm.sh: Show defined methods # # $1=Oracle username/password # $2=class name # echo "Class: $2" sqlplus -s $1 <<EOT | grep -v "^$" set heading off set feedback off select methodtype, name from grogmethod where upper(classname) = upper('$2') / quit / EOT
true
b3d2512bb9bab62ab100de37b5dba58b857b242c
Shell
talkersource/ncohafmuta
/bot/restart
UTF-8
516
3.546875
4
[]
no_license
#!/bin/sh # by Cygnus # ncohafmuta@asteroid-b612.org # # The name of the storybot binary or program BINARY="storybot" # This next part copies over the log file to a backup, if test -f "botlog" then echo "Coping bot log to backup file..." cp botlog botlog.`/bin/date '+%m%d%y.%T'` rm botlog to...
true
bf9e50c7531eb977628ced17e350713991a8faa6
Shell
nagabhushandevops/DevopsClass
/printnoto1.sh
UTF-8
73
3.15625
3
[]
no_license
#!/bin/bash n=$1 while [ $n -gt 0 ]; do echo "$n" n=`expr $n - 1` done
true
1315035b66bd858255e674f6476adc208f7956fb
Shell
infinitis/ci
/entrypoint.sh
UTF-8
2,714
3.4375
3
[]
no_license
#!/usr/bin/env bash set -euo pipefail # verify that variables used only in sourced files are set # so exit/failure will happen appropriately # ( source returns 0 if no commands are run which happen with bash strict mode ) REMOTE=$REMOTE_LOCATION REPOS=$REPOSITORY_NAMES # setup ssh runuser -u git -- mkdir -p /home/gi...
true
630298c7202b870a6571ed059960739af4f2b925
Shell
satheeshkumark/NLP
/Sentiment_Analysis/step1_ParseJSONTweets.sh
UTF-8
1,403
3.4375
3
[]
no_license
inputJSONFile=$1 outputParseFile=$2 script_path='scripts/' enDataPath='data/' esDataPath='data1/' ruDataPath='data2/' faDataPath='data3/' keywordPath='keywords/' parseScript=$script_path'step0_jsonparser.py' dbScript=$script_path'step0_InsertRecords.py' enkeyWordFile=$enDataPath$keywordPath'en-keywords.txt' eskeyWordF...
true
e5e94a93711a931656c5dea33f1ad341f045a392
Shell
kitwtnb/dotfiles
/bin/adbss
UTF-8
382
3.0625
3
[]
no_license
#!/usr/bin/env bash set -ue -o pipefail export LC_ALL=C DEVICE_NAME=`adb devices | sed -e '1d' | cut -f 1 | peco` echo "Capturing $DEVICE_NAME" SAVE_PATH="$HOME/Downloads/capture.png" adb -s $DEVICE_NAME shell screencap -p /sdcard/screen.png adb -s $DEVICE_NAME pull /sdcard/screen.png $SAVE_PATH adb -s $DEVICE_NAME ...
true
2eaa91610673a6b9c9a9ce233207194ee82c2410
Shell
matthewfallshaw/dotfiles
/oh-my-zsh/cds.zsh
UTF-8
144
3.125
3
[]
no_license
# cd into source dir function cds { if [ -z "$1" ]; then cd ~/source else cd ~/source/$1 fi } compdef '_files -/ -W ~/source' cds
true
97403a2c7ff4b4e3c6a192808a56ad50581226d9
Shell
swvanderlaan/HerculesToolKit
/_archived/check_mich_imp.sh
UTF-8
30,498
3.46875
3
[ "MIT" ]
permissive
#!/bin/bash # #$ -S /bin/bash # the type of BASH you'd like to use #$ -N IMPUTE_HRC # the name of this script # -hold_jid some_other_basic_bash_script # the current script (basic_bash_script) will hold until some_other_basic_bash_script has finished #$ -o /hpc/dhl_ec...
true
42970a189d73eb5a38bf810fca8e6bb609acb17d
Shell
thaddeusdiamond/Home
/.bash_aliases
UTF-8
6,057
3.703125
4
[]
no_license
##################################### # ALIASES FOR SCRIPTS # ##################################### # Custom delete function alias del='mv ${*} -t ~/TRASH' # Suppress output Quiet() { >/dev/null 2>&1 $* & } # Find all usages of a given term in a specific directory GetUsages() { SEARCH_TERM=$1; shift; g...
true
d599047118c73fe7dcad7c7238413739d8aeaead
Shell
quelltextlich/gerrit-builder
/write_full_hierarchy_index_html_files.sh
UTF-8
3,905
4.15625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash #--------------------------------------------------------------------- source "$(dirname "$0")/common.inc" #--------------------------------------------------------------------- BASE_URL='http://builds.quelltextlich.at/' print_help() { cat <<EOF $0 ARGUMENTS Writes out index html files for folders ...
true
933c43b7efed903c794bc94b1b1ec5d7c8eff8a7
Shell
htugraz/abs
/x86_64/community/openntpd/PKGBUILD
UTF-8
1,696
2.765625
3
[]
no_license
# $Id: PKGBUILD 143008 2015-10-05 14:02:15Z anatolik $ # Maintainer: Vesa Kaihlavirta <vegai@iki.fi> # Contributor: Mark Rosenstand <mark@borkware.net> # Contributor: Giorgio Lando <patroclo7@gmail.com> (adjtimex patch) # Contributor: Alexander Rødseth <rodseth@gmail.com> pkgname=openntpd pkgver=5.7p4 pkgrel=1 pkgdesc...
true
e606ac9d29b3ec5e2bcf3d85be86be4d6675e2c8
Shell
kerzol81/Bash-and-Python-scripts
/axis/syncroniser
UTF-8
2,573
4.46875
4
[]
no_license
#!/bin/bash # the script mounts the remote FTP folder, and syncronises and arranges the files into subfolders set -x AXIS_IP="$1" USER="$2" PASS="$3" NAME="$4" # AXIS_PORT='21' LOCAL_FOLDER="${HOME}"/"axis_remote_${NAME}_SD_DISK" # temporary mount point ARRANGED_FOLDER="${HOME}"/"${NAME}" # the folder where the fil...
true
85bb335428c1ad0dc7c4b8293f62e27f4041bcd2
Shell
jkliff/shell-misc-tools
/install-bin.sh
UTF-8
586
3.5
4
[]
no_license
#!env bash BIN=$HOME/bin BACKUP=$BIN/.backup [[ -e $BIN ]] || mkdir $BIN [[ -e $BACKUP ]] || mkdir $BACKUP INCLUDE="timetracker/tt.py \ misc/bulk_image_convert.py \ template_touch/tpltouch \ template_touch/prjtouch \ worklog/wl.py" d=$(date +%s) for x in $INCLUDE ; do y=$(basename $x) if [[...
true
0f2ac71f3728208adbdc614ce97d718e1b652a2f
Shell
cegodwin/BIOL5153HW
/Assn03.txt
UTF-8
836
2.84375
3
[]
no_license
# assn03-1 for i in $(seq 808 8008) ; do echo "TR-$i" ; done #assn03-2 alias c="ls -al" alias rzr="ssh godwinc@razor.uark.edu" #assn03-3 cd Desktop/gene_trees for x in *.fasta ; do echo $x ; done | wc -l #15085 #assn03-4 for x in *.tre ; do echo $x ; done | wc -l #14640 #assn03-5 for x in *.sched ; do echo $x ; do...
true
c8cfca5878db04a9055db42a52d6e337866c4806
Shell
scarfacedeb/dotfiles
/git/bin/pickaxe-diff
UTF-8
1,396
3.828125
4
[]
no_license
#!/bin/bash # pickaxe-diff : external diff driver for Git. # To be used with the pickaxe options (git [log|show|diff[.*] [-S|-G]) # to only show hunks containing the searched string/regex. echo_meta () { echo "${color_meta}$1${color_none}" } path=$1 old_file=$2 old_hex=$3 old_mode=$4 ne...
true
102c987f173ab1a9c6eb16ccf54b1cc29816aa23
Shell
tcler/kiss-vm-ns
/utils/fastesturl.sh
UTF-8
750
3.765625
4
[ "BSD-2-Clause" ]
permissive
#!/bin/bash fastesturl() { local minavg= local fast= local ipv4Opt= ping -h |& grep -q '^ *-4' && ipv4Opt=-4 for url; do if curl -L -s --head --request GET ${url} | grep -q "404 Not Found"; then echo "[ERROR] return 404 while access: ${url}" >&2 continue fi read p host path <<<"${url//\// }"; cavg=...
true
8315df349e70081f91f70df345c03fa033fdd85d
Shell
willjasen/netscaler-bootstrap
/nsafter.sh
UTF-8
593
2.703125
3
[]
no_license
#!/usr/bin/bash # Download the script that generates the Netscaler's config curl --insecure -o /nsconfig/nsconfig.sh https://raw.github.com/willjasen/netscaler-bootstrap/nsconfig.sh # Make the downloaded script executable chmod +x /nsconfig/nsconfig.sh # Run the script to generate the Netscaler's configuration /usr/...
true
c43b4b0b0c7dc15bbf5493e02370f7bccdeeeac4
Shell
bemre/cdap
/examples/Ticker/bin/generate-orders
UTF-8
581
3.609375
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash bin=`dirname "${BASH_SOURCE-$0}"` bin=`cd "$bin"; pwd` script=`basename $0` function usage() { echo "Usage: $script [--host <host>]" echo "" echo " Options" echo " --host Specifies the host that Reactor is running on. (Default: localhost)" echo " --help This help message...
true
1fb998113618b127f0b63fef67ad8343a209f562
Shell
mesos-magellan/victoria
/linode/bootstrap/openvpn_client.sh
UTF-8
2,142
3.4375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash echo "Hello from openvpn_client.sh!" CN_OVPN=$1 apt-get install openvpn -y set -x cp /vagrant/secrets/${CN_OVPN}.ovpn /etc/openvpn/${CN_OVPN}.conf systemctl enable openvpn@${CN_OVPN}.service systemctl start openvpn@${CN_OVPN}.service set +x ################ # Config notes # ################ # # ...
true
5b02baa358d1a0ff115cfabc5f9e43f3f7090556
Shell
seb-v/vimfiles
/.custom.bash
UTF-8
904
2.578125
3
[]
no_license
export GIT_PS1_SHOWDIRTYSTATE= export GIT_PS1_SHOWSTASHSTATE= export GIT_PS1_SHOWUNTRACKEDFILES= export GIT_PS1_SHOWUPSTREAM=verbose GIT_PS1_DESCRIBE_STYLE=branch export PROMPT_COMMAND='__git_ps1 "\[\033[01;32m\]\[\033[00m\]\[\033[01;34m\]\w\[\033[00m\]" " \\\$ "' export PATH=$PATH:~/go/bin __fzf_git__() { local...
true
f5d6ee7c701183e5ab9a0251ba4a2ada58452fc2
Shell
michaelgodley/devsetup
/scripts/awscli.sh
UTF-8
236
2.515625
3
[]
no_license
#!/bin/bash # source some env variables . ../config.conf . ./libs.sh # cd $HOME/temp curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install rm awscliv2.zip rm -rf ./aws
true
367a6b97c313d5b6658ce3e4fb3dfcc26ef25873
Shell
packer-/regulars-xonotic-data.pk3dir
/cmake/qcc.sh
UTF-8
509
3
3
[]
no_license
#!/usr/bin/env bash CPP=${CPP:-cpp} QCC=${QCC:-$PWD/../../gmqcc/gmqcc${CMAKE_EXECUTABLE_SUFFIX}} case $1 in compile) ${CPP} ${@:3} | sed 's/^#\(line\)\? \([[:digit:]]\+\) "\(.*\)".*/\n#pragma file(\3)\n#pragma line(\2)/g' > $2 ;; link) ${QCC} \ -std=gmqcc \ -Ooverlap-locals \...
true
8a9832e1cde55690c876bfacf1feb551cf49ef23
Shell
wkens/contents
/auto_gulp.sh
UTF-8
434
3.15625
3
[ "MIT" ]
permissive
#/bin/bash for i in {0..36000} ; do ls -l --time-style=full-iso resources/assets/sass | egrep '^-' > .scsses.new d=`diff .scsses.new .scsses 2>&1`; if [ ! -z "$d" ] ; then echo "" >&2 echo "Start gulp.js procession..." >&2 node_modules/gulp/bin/gulp.js > .gulp.log 2>&1 echo "...
true
ff680a0854f956f25599c0278bbe41db16ea23e4
Shell
shunkakinoki/dotfiles
/src/shell/.zshrc
UTF-8
2,219
2.6875
3
[ "MIT" ]
permissive
# shellcheck disable=SC2148 # Autoload Zsh Completion autoload -Uz compinit compinit # Hyper Tab Title Settings # From: https://github.com/zeit/hyper/issues/1188#issuecomment-332606903 # Override auto-title when static titles are desired ($ title My new title) title() { export TITLE_OVERRIDDEN=1 echo -en "\e]0;$*...
true
b8137127a539c06debee0298a1b973a7107c612c
Shell
phoronix-test-suite/test-profiles
/pts/espeak-1.5.0/install.sh
UTF-8
462
2.796875
3
[ "MIT" ]
permissive
#!/bin/sh tar -zxvf gutenberg-science.tar.gz tar -xf espeak-ng-1.50.tgz cd espeak-ng ./autogen.sh ./configure --prefix=$HOME/espeak_ make # build seems to have problems with multiple cores echo $? > ~/install-exit-status make install cd ~ rm -rf espeak-ng echo "#!/bin/sh cd espeak_/bin/ LD_LIBRARY_PATH=\$HOME/espeak...
true
01d92d87b4a60f9968e069fe3b3da7784c7a639a
Shell
harrifeng/system-config
/bin/emacs-quote-string
UTF-8
625
3.671875
4
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#!/usr/bin/env bash set -e me=$(readlink -f $0) if test ! -e "$me"; then me=$(readlink -f "$(which $0)") if test ! -e "$me"; then die "Can't find out about me" exit 1 fi fi abs0=$0 if ! [[ $abs0 =~ ^/ ]]; then if [[ $abs0 =~ / ]] && test -e $PWD/$abs0; then abs0=$PWD/$abs0 ...
true
f0ea8984c14932a61214be118f23bd945d2c2ef6
Shell
KingsleyYau/LinuxShell
/build/other/webrtc.sh
UTF-8
528
3.125
3
[]
no_license
#!/bin/sh # Curl build script for android # Author: Max.Chiu # Description: asm # WebRTC build script # Getting Prerequisite software WEBRTC_PATH=/Users/max/Documents/Project/webrtc/ mkdir -p $WEBRTC_PATH export PATH=$PATH:$WEBRTC_PATH/depot_tools # Getting code #fetch --nohooks webrtc_ios fetch --nohooks webr...
true
97a95a7444935cc30093ed1eba233bdbb80d1782
Shell
mx-psi/dotfiles
/bashrc
UTF-8
3,384
3.34375
3
[]
no_license
# If not running interactively, don't do anything case $- in *i*) ;; *) return;; esac # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific environment if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]] then PATH="$HOME/.local/bin:$HOME/bin:$PATH" fi export PATH # ...
true
b8d5b9464a003cf95ca6243e7a40017bf7eae29f
Shell
btison/docker-images
/s2i/jboss-eap-6/eap64-openshift/scripts/os-eap64-launch/added/launch/security-domains.sh
UTF-8
2,090
3.859375
4
[]
no_license
function prepareEnv() { unset SECDOMAIN_NAME unset SECDOMAIN_USERS_PROPERTIES unset SECDOMAIN_ROLES_PROPERTIES unset SECDOMAIN_LOGIN_MODULE unset SECDOMAIN_PASSWORD_STACKING } function configure() { configure_security_domains } function configureEnv() { configure } configure_security_domains() { dom...
true
467fd322f6e47688ae9656be409e05ff5c6605cd
Shell
refenv/cijoe-pkg-lightnvm
/testcases/block_partial_read.sh
UTF-8
717
2.6875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # # HANS FIX THE SHORT DESCRIPTION # # HANS FIX THE LONG DESCRIPTION # CIJ_TEST_NAME=$(basename "${BASH_SOURCE[0]}") export CIJ_TEST_NAME # shellcheck source=modules/cijoe.sh source "$CIJ_ROOT/modules/cijoe.sh" test::enter test::require block job_fname="block_partial_read.fio" export FIO_FILENAME="$BLOCK_D...
true
a1accc34b792a0aebc35eac34baf1a7b6f176bb8
Shell
CSCfi/Kielipankki-utilities
/corp/byu/byu-convert-sbatch.sh
UTF-8
1,468
3.921875
4
[]
no_license
#! /bin/bash progname=$(basename $0) progdir=$(dirname $0) scriptdir=$progdir/../../scripts usage_header="Usage: $progname [options] wlp_input.txt ... Submit a SLURM batch job to convert BYU corpora from WLP to VRT." action=sbatch optspecs=' n|dry-run { action=cat } l|log-dir=DIR "." timelimit=MINS "10" memory=MB...
true
cdc7410dde83ce28a4a0a77c819998a342842d78
Shell
lbarbisan/corba
/Applet/deploy-applet.sh
UTF-8
406
2.890625
3
[]
no_license
if [ $# -lt 4 ] then echo "usage : <id applet> <class applet> <id package> <class package> [included classes ...]" echo "exemple : 01 CalculatorRPNApplet 02 fr.umlv.ir3.corba.calculator.applet" exit fi ./compile-and-convert-applet.sh $* echo press enter to continue > /dev/stderr read key ./delete-applet.sh $1 $2 $3 $...
true
dac0c0b48215471d0b3c46346dd2cfdeec35d9f6
Shell
ketanbhatt/retrospect
/get_active.sh
UTF-8
229
2.546875
3
[]
no_license
#!/bin/bash echo "" > output.txt while true; do xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME WM_CLASS | cut -d" " -f3- >> output.txt sleep 1 done
true
9be6d6b74fcd8149b935ab7566c320f887aeb3e8
Shell
dhungvi/publiy
/publiy/misc/bash_bin/extract_all_timing_deliveries
UTF-8
218
3.5
4
[]
no_license
#!/bin/bash if [ ! -d "$1" ]; then red "Working directory is not accessible ($0)"; exit -1; fi workingdir="$1"; for resultsdir in `ls -d $workingdir/DT*/`; do extract_timing_deliveries $resultsdir; done
true
7e95ddc697ef4b712ad735d7e21af0d74395e489
Shell
dc165015/docker
/settings.sh
UTF-8
1,877
2.9375
3
[]
no_license
cd $HOME # reconfigure timezone #echo "Asia/Shanghai" | tee /etc/timezone #localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 notify appending .bashrc echo ' #export LIBGL_ALWAYS_INDIRECT=1 #export DISPLAY=:0 #export NO_AT_BRIDGE=1 #sudo service dbus start #/etc/init.d/dbus start #exec dbu...
true
4dceb7f6e532d0f7879d2ea5c781028dcb11d17c
Shell
montadigital/montadigital.com
/deploy.sh
UTF-8
503
3.453125
3
[]
no_license
#!/bin/bash BRANCH=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p') GIT_STATUS=$(git status) WDC_MSG="working directory clean" if [ "${GIT_STATUS/$WDC_MSG}" = "$GIT_STATUS" ] ; then echo "FATAL: working directory not clean. Will not publish." exit 1 fi jekyll build if [ "$BRANCH" == "master" ] then echo "Publishin...
true
cc8295c34e7a896e5821db2f68ae0b21b42fedf5
Shell
RossOgilvie/scripts
/volume_pulse
UTF-8
1,329
4.125
4
[]
no_license
#!/bin/sh completion='compctl -k "(up down set mute unmute toggle is_muted is_headphone is_speaker level show help)" volume' function get_level { pamixer --get-volume } function is_muted { pamixer --get-mute } function is_headphone { sinks=$(pactl list sinks) if echo $sinks | grep -q "Active Port: analog-ou...
true
a22898bd43296246e9016e945e1237d195090bbd
Shell
Webhero9297/haroldcar_haskell
/examples/base.sh
UTF-8
277
3.0625
3
[]
no_license
msgN () { echo printf '%s\n' "${1}" } lbl () { printf '>: %s\n' "${1}" } msg () { printf '%s\n' "${1}" } doone () { echo curl --silent --write-out "\n" localhost:300${1}/${2} } doall () { for p in 1 2 3 do doone ${p} ${1} done }
true
c7306b06bb6a9adce18146f975c9edc326243558
Shell
tahti/dotfiles
/bin/pum
UTF-8
242
3.453125
3
[]
no_license
#!/bin/bash DEVICES=( $(pmount |grep -o "/dev/sd[a-z][0-9]\?") ) # get length of an array tLen=${#DEVICES[@]} # use for loop read all devices for (( i=0; i<${tLen}; i++ )); do echo "Unmounting ${DEVICES[$i]}" pumount ${DEVICES[$i]} done
true
d3c25dbeaf9d652d74eefdfdaaa2ea35a6bad6c0
Shell
weakish/hubsh
/bin/gogsh
UTF-8
3,393
4.15625
4
[ "LicenseRef-scancode-warranty-disclaimer", "0BSD" ]
permissive
#!/bin/sh set -e # errexit VERSION=0.0.0 gogsh_help() { cat<<'END' gogsh -- Gogs API client in sh gogsh [ACTION] Actions: auth check if gogs acess token is available clone supports clonning from `gogs_user/repo` and `repo` (your own repo) create create this repository on GitHub and add GitHu...
true
4d1f84a7aa9e275644d8ce73d7791fe03b6eb80a
Shell
codinn/SwiftSockets
/xcconfig/install.sh
UTF-8
1,938
3.5
4
[ "MIT" ]
permissive
#!/bin/bash # URLS TT_SWIFTENV_URL="https://github.com/kylef/swiftenv.git" TT_GCD_URL="https://github.com/apple/swift-corelibs-libdispatch.git" #TT_GCD_SWIFT3_BRANCH=experimental/foundation #TT_GCD_SWIFT22_1404_HASH=65330e06d9bbf75a4c6ddc349548536746845059 TT_GCD_SWIFT3_BRANCH=master TT_GCD_SWIFT22_1404_HASH=master ...
true
b3c1b60bad2393f46f27f64b2c993fcb576498d3
Shell
CanadianMVP/linuxscripts
/bash/lab2/rollafood.sh
UTF-8
492
3.1875
3
[]
no_license
#!/bin/bash arrayvar=(apple grape pizza bananna chocolate ham pork steak watermelon pineapple pear) #echo $((${arrayvar[$RANDOM % 6 ]}+${arrayvar[$RANDOM % 6]})) #You want to get two variables, add them together, and then have that #item selected from the array array1=$(($RANDOM % 6 +1)) array2=$(($RANDOM % 6 +1)) ...
true
726cb047971b8a75885e01e72322fd266efe12a3
Shell
axsh/wakame-ci-cluster
/kvm-guests/cluster-ctl.sh
UTF-8
487
3.859375
4
[]
no_license
#!/bin/bash # # requires: # bash # set -e set -o pipefail set -x function nodes() { : } case "${1}" in replace | soft-replace | run | suspend | resume | stop | kill ) if [[ -f .cluster.sh ]]; then . .cluster.sh fi for node in $(nodes); do [[ -d "${node}" ]] || continue ( cd...
true
5eda4318bdf096bb2ee4482b11013bee8e7fae57
Shell
cawa0505/crosware
/recipes/tig/tig.sh
UTF-8
383
2.71875
3
[]
no_license
rname="tig" rver="2.5.0" rdir="${rname}-${rver}" rfile="${rdir}.tar.gz" rurl="https://github.com/jonas/tig/releases/download/${rdir}/${rfile}" rsha256="ff537c67af9201e7e7276ce8a0ff9961e9d9c6a8a78790f5817124bd7755aef4" rreqs="make ncurses readline git" . "${cwrecipe}/common.sh" eval " function cwgenprofd_${rname}() { ...
true
238670639758d9b7f208a47e3941a9b5431b7f4e
Shell
jalenye/shell
/findHowManyNetUser.sh
UTF-8
255
2.9375
3
[]
no_license
#/bin/bash a=0 while : do a=$(($a+1)) if test $a -gt 255 then break else echo $(ping -c 1 192.168.1.$a |grep 'ttl'|awk '{print $4}'|sed 's/://g') ip=$(ping -c 1 192.168.1.$a |grep 'ttl'|awk '{print $4}'|sed 's/://g') echo $ip >> ip.txt fi done
true
ff76a2f2b076e08b22306dd01e51c6f92106ddc4
Shell
s1van/gpudb-explore
/utility/qcompile.sh
UTF-8
824
3.90625
4
[]
no_license
#!/bin/bash CDIR=`dirname $0` source $CDIR/gpudb_env.sh TRANSLATE=$GPUDB_PATH/translate.py usage() { echo "Usage: `echo $0| awk -F/ '{print $NF}'` [-option]" echo "[option]:" echo " -i path : specify the path of the sqls" echo " -s scheme: scheme file" echo " -o path : specify the output path for the exec...
true
5fddf57222e2624b3f11118941def15b32916318
Shell
paulmagnus/CSPy
/submit/pbin/verify~
UTF-8
7,519
4.3125
4
[]
no_license
#!/bin/bash #------------------------------------------------------------------------------# # verify # # # # This program is intended to be run by the professor to verify ...
true
937f05514784314e9136b704751309e6796a182f
Shell
JeanBaeez/dotfiles
/bin/getFonts
UTF-8
619
2.625
3
[ "MIT" ]
permissive
#!/bin/sh echo "Getting Fonts..." mkdir ~/Fonts # Papyrus wget -O ~/Fonts/papyrus.ttf https://img.download-free-fonts.com/dl.php?id=89786&hash=4356adc4fd6ae9e1e32926682ef43287 # Cascadia Code wget -O ~/Fonts/Cascadia.ttf https://github.com/microsoft/cascadia-code/releases/download/v1911.21/Cascadia.ttf # Jetbrains...
true
7b65bbd434000273b1e5d99b577d77e03ea3417b
Shell
deepkh/libex
/grpc/check_cmake.sh
UTF-8
1,224
3.765625
4
[]
no_license
#!/bin/bash vercomp () { if [[ $1 == $2 ]] then return 0 fi local IFS=. local i ver1=($1) ver2=($2) # fill empty fields in ver1 with zeros for ((i=${#ver1[@]}; i<${#ver2[@]}; i++)) do ver1[i]=0 done for ((i=0; i<${#ver1[@]}; i++)) do if [[ -z ${ver2[i]} ]] then # fill empty fields in ver2 w...
true
fd04b6053d53cf22ae51b09954c57c0a0c3ee48e
Shell
osyoyu/report-md
/latex/report-md.sh
UTF-8
283
2.65625
3
[]
no_license
#!/bin/sh inputfile=`basename $1 .md` templatename=RG_TEMP cp $2 ${templatename}.tex pandoc -f markdown -t latex -o mid-output.tex ${1} platex ${templatename}.tex && dvipdfmx -o ${inputfile}.pdf ${templatename}.dvi && rm ${templatename}.dvi ${templatename}.log ${templatename}.tex
true
b3e54fdeef4985787ab69901e6b590079fb90e84
Shell
oriane17/cartographie
/traceroute/traceroute.sh
UTF-8
2,543
3.25
3
[]
no_license
#!/bin/bash sites=( "www.iutbeziers.fr" "www.nimes-metropole.fr" "www.alliancetelecom.fr" ) color=( "gold" "purple" "blue" "fin" ) ttl=1 nb=0 recurrence="" for cible in "${sites[@]}"; ##Passage sur chaque site## do maxttl=$(traceroute -q 1 -n $cible | sed "1d" | wc -l) >./traceroute.rte/$cible.rte ##J'enlève ...
true
ff76ee444e523d021048ecc098d278656e96000b
Shell
jschule/gsuite-automation
/move-students-to-ou.sh
UTF-8
423
3.0625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -o pipefail -o errexit -o nounset gam="$HOME/bin/gamadv-xtd3/gam" if [ ! -x "$gam" ] ; then echo "Need https://github.com/taers232c/GAMADV-XTD3 in $gam, please install" exit 98 fi source config.sh test "$MASTERSHEET" test "$MASTERUSER" source _functions.sh info Move all students to their O...
true
bcda0b87e1900305ffb196c7950aed335f20b6ef
Shell
FairwindsOps/rok8s-scripts
/bin/docker-build
UTF-8
3,999
3.734375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash . k8s-read-config "$@" . docker-resolve if [ -z "$BASEDIR" ]; then echo BASEDIR must be set; exit 1; fi if [ -z "$DOCKERTAG" ]; then echo DOCKERTAG must be set; exit 1; fi if [ -z "$DOCKERFILE" ]; then echo DOCKERFILE must be set; exit 1; fi PREVIOUS_COMMIT=$(git rev-parse HEAD~1) CI_BRANCH=$(echo "$...
true
ed5b251f829a88f725edf8b23282294ad700a405
Shell
trifacta/floating-elephants
/cloudera/cdh5/hue/start.sh
UTF-8
366
2.90625
3
[ "LicenseRef-scancode-dco-1.1", "Apache-2.0" ]
permissive
#!/bin/bash # Wait for DFS to come out of safe mode until hdfs dfsadmin -safemode wait do echo "Waiting for HDFS safemode to turn off" sleep 1 done sudo -u hdfs hdfs dfs -mkdir /user/hue sudo -u hdfs hdfs dfs -chmod -R 1777 /user/hue sudo -u hdfs hdfs dfs -chown hue:hadoop /user/hue service hue start tail -...
true
c7a17100d012d82151cc3c226c3ec455bce8e4af
Shell
mingle/elasticsearch-opsworks
/init_rbenv
UTF-8
2,616
3.5
4
[]
no_license
#!/bin/bash BUNDLER_VERSION="1.11.2" export RBENV_VERSION=$(cat .ruby-version) export RBENV_ROOT=$HOME/.rbenv unset GEM_PATH unset GEM_HOME if [ ! -d $RBENV_ROOT ]; then echo "Installing rbenv." git clone git://github.com/sstephenson/rbenv.git $RBENV_ROOT fi if [ ! -d $RBENV_ROOT/plugins/rbenv-update ]; th...
true
cdff291c017f9ddd28486c66a384569e8d8b7f39
Shell
NLGithubWP/LambdaML
/archived/ec2/kmeans/run_higgs_kmeans.sh
UTF-8
1,056
2.828125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash world_size=$1 nr_cluster=$2 master_ip=$3 train_path="/home/ubuntu/dataset/higgs${world_size}" for ((i=0; i<world_size; i++)); do if [ $i == 0 ] then source /home/ubuntu/envs/pytorch/bin/activate nohup python3.6 /home/ubuntu/LambdaML/ec2/kmeans/h...
true
7a65828ee555344bb5cfd427038b7150699fedf6
Shell
haamoon/lidar_transfer
/experiments/train.sh
UTF-8
722
2.625
3
[ "MIT" ]
permissive
#!/bin/bash # Parameter EXP="2048@0.05x3" VERSION="log_dropout_u0.1_l0.1" PRETRAINED="/automount_home_students/flanger/workspace/msc/lidar-bonnetal/train/models/darknet53/" MODEL="/media/flanger/SAMS1TB_0/msc/experiments/$EXP/logs/$VERSION" DATA="/media/flanger/SAMS1TB_0/msc/experiments/$EXP" source ~/workspace/msc/v...
true
a61726fc0f2e51f361b3034ac20ab15ea81dc83f
Shell
astropy/conda-builder
/continuous-integration/travis/install_osx.sh
UTF-8
293
2.59375
3
[ "CC0-1.0" ]
permissive
MINICONDA_URL="http://repo.continuum.io/miniconda" MINICONDA_FILE="Miniconda3-3.7.3-MacOSX-x86_64.sh" wget "${MINICONDA_URL}/${MINICONDA_FILE}" bash $MINICONDA_FILE -b export PATH=/Users/travis/miniconda3/bin:$PATH conda update --yes conda conda install --yes pip conda-build jinja2 binstar
true
40a3c159a6599d14e65508f6b75b4a28a5ded3e6
Shell
drankye/recordservice
/server/csd/RECORD_SERVICE/src/scripts/client.sh
UTF-8
5,757
3.515625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you ...
true
034b6b7d9f537c4ed2cb18cd57242378be783bc9
Shell
HughP/olac-1
/src/utils/ldc-server-check/syschk.sh
UTF-8
8,250
2.78125
3
[]
no_license
#! /bin/sh webroot=/web/org/language-archives base=/home/olac/bin dat=$base/syschk.dat dat_xsv_html=$base/syschk.dat.xsv_html dat_xercesj=$base/syschk.dat.xercesj tmp=/tmp/olac.syschk.tmp.$$ PS="/bin/ps awx" [ -f $dat ] && . $dat grep -v '^_OLACSEARCH_' $dat > $dat.copy mv -f $dat.copy $dat && chmod g+w $dat SCRIPT_...
true
f2efa37ffd685eccf00e6811d7ecab1858ac67e4
Shell
petronny/aur3-mirror
/xkas/PKGBUILD
UTF-8
908
2.9375
3
[]
no_license
# This is an example PKGBUILD file. Use this as a start to creating your own, # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. # Maintainer: Your Name <youremail@domain.com> pkgname=xkas pkg...
true
d7744239c230178ebc9bb451f6740fc53451c452
Shell
foobarjimmy/productionScripts
/bak/pinglive.sh
UTF-8
353
3.65625
4
[]
no_license
#! /bin/bash # written by jim.li@20160425 echo -e "This is a program used for ping hosts" sec1=192.168.1 for sec2 in {1..10} do ipaddr="${sec1}.${sec2}" ping -c 1 -w 1 "${ipaddr}" &> /dev/null && result=0 || result=1 if [ "${result}" == "0" ];then echo "Server ${ipaddr} is alive!" else echo -e "\033[1;31mServer ${...
true
14e20ffdfbdfe4f868971bffc5afacdd809a7640
Shell
slspeek/fai-experiments
/das/install-golang.sh
UTF-8
351
2.953125
3
[]
no_license
#!/bin/bash VERSION=1.4.2 ARCH=386 if test $(uname -m) = x86_64 ; then ARCH=amd64 fi cd /var/tmp wget -c https://storage.googleapis.com/golang/go${VERSION}.linux-${ARCH}.tar.gz cd /usr/local/ tar xvzf /var/tmp/go${VERSION}.linux-${ARCH}.tar.gz cd /usr/local/bin ln -s /usr/local/go/bin/go ln -s /usr/local/go/bin/gofmt ...
true
d765ccebf65d814fd6d4843c2ee54bbd60e26ec9
Shell
AtomToast/dotfiles
/.local/bin/scripts/killactive
UTF-8
118
2.625
3
[]
no_license
#!/bin/sh windowFocus=$(xdotool getwindowfocus) pid=$(xprop -id $windowFocus | grep PID | cut -d' ' -f3) kill -9 $pid
true
b38c240496b17302b36143cbf12453c550868282
Shell
charkost/irc-bot
/scripts/mpd_random.sh
UTF-8
209
2.578125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash RANDOM_ON=~/.mpd_random mpc add "" && mpc -q random on && mpc -q play QUEUESIZE=`mpc playlist | wc -l` echo "$QUEUESIZE songs queued @ http://foss.tesyd.teimes.gr:8000/" touch $RANDOM_ON
true
dadf2d74844233f206781bbac47f487832f6034f
Shell
mrfireboy/cf
/ptran
UTF-8
330
3.375
3
[]
no_license
#!/bin/bash # if [ -z "$1" -o -z "$2" ];then exit fi # for in mysql environment if [ "$1" = 'inmysql' ]; then echo "$2" | sed -r -e "s/'/''/g" -e 's/\\/\\\\/g' exit fi # for sed replacement environment if [ "$1" = 'sed' ]; then echo "$2" | sed -r -e 's/\\/\\\\/g' -e "s/\//\\\\\//g" -e 's/\&/\\\&/g' ...
true
2e770e72ff56dcce3f427576221ef5cc647c672b
Shell
daiab/Train-To-Last
/utils/gen_lst/extract_file.sh
UTF-8
317
3.234375
3
[]
no_license
#!/usr/bin/env bash root=`pwd` echo "extract path: $root/data_extracted" mkdir -p ./data_extracted for file in `ls`; do find -name "*.rar" | xargs -i rar e {} ./data_extracted find -name "*.zip" | xargs -i unzip {} -d ./data_extracted find -name "*.tar.gz" | xargs -i tar -xzf {} -C ./data_extracted done
true
97b0d0fb07dcb235e8b91f235c730ea3ab5047bb
Shell
IgnasiLucas/Brachionus
/results/2019-07-10/README.sh
UTF-8
4,476
3.578125
4
[]
no_license
#!/bin/bash # # 2019-07-10 # ========== # # Once the genes and transcripts differentially expressed between selective # regimes are identified (2019-04-03), I need to run the functional analysis. # Genes in the B. plicatilis genome do not seem to have any functional annotation. # I believe that Eva used Blast2GO,...
true
2d68a938b2025c4a6c2f91cbc788b4747baaa19d
Shell
vektor330/malacky
/utils/utils.sh
UTF-8
1,249
4.21875
4
[]
no_license
# Takes 2 arguments, environment name and "property key". # Returns the value of the property of that environment, from environments.conf. function getparam { # TODO DIR needs to be set as argument too! local _ENV="${1}" local _KEY="${2}" # TODO this grep has SERIOUS problems with prefix-ness! # should probably be...
true
d9d20b0dd81302e364d0a4657384c1f0765c1776
Shell
danitfk/elkarbackup-docker
/elkarbackup/1.2/entrypoint.sh
UTF-8
4,821
3.765625
4
[]
no_license
#! /bin/bash dbadminusername=${EB_DB_USER:=root} dbadminpassword=${EB_DB_PASSWORD:=$MYSQL_ROOT_PASSWORD} dbhost=${EB_DB_HOST:=db} dbname=${EB_DB_NAME:=elkarbackup} dbusername=${EB_DB_USERNAME:=elkarbackup} dbuserpassword=${EB_DB_USERPASSWORD:=elkarbackup} # DB password empty? if [ ! -n "${MYSQL_ROOT_PASSWORD}" ] && [...
true
ee169577dc86d93d5902d0b4bde99b1079f570f6
Shell
rff/cfgbin
/bin/betterterm.sh
UTF-8
631
3.4375
3
[ "Unlicense" ]
permissive
#!/bin/sh # # source: http://rcr.io/words/dynamic-xterm-colors.html # reddit: http://www.reddit.com/r/commandline/comments/2ds233/xterm_party/ A=0 F="0.1" CODE=10 case ${1:-'fg'} in 'bg' ) CODE=11 ;; 'cu' ) CODE=12 ;; 'mo' ) CODE=13 ;; 'fg' ) CODE=10 ;; * ) echo "Invalid option '$1'." exit 1 ;; esac whil...
true
ff828ca64926233685dee98b8da585930c86451a
Shell
JOravetz/Depth_Conversion
/wrapper.process.deviation.sh
UTF-8
261
3.15625
3
[]
no_license
#! /bin/bash ### wrapper script to loop over each deviation survey - stored in deviations.lis ### ls -alt *deviation_survey_from_Program.dat | awk '{print $9}' > deviations.lis while read -r LINE ; do process.deviation.sh -s ${LINE} done < deviations.lis
true
81db0a12c55cb96bba1387fa2624d5eeaa115366
Shell
dcosson/dotfiles
/misc/git-find-pr
UTF-8
926
3.96875
4
[]
no_license
#!/bin/bash # Find the PR that merged the given SHA into master, and open it in the browser. # From http://genius.com/Andrew-warner-git-getpull-quickly-find-the-pull-request-that-merged-your-commit-to-master-annotated if [ -z $1 ]; then echo "Usage: git getpull <SHA>" 1>&2 elif [ -z "$(git rev-parse --git-dir 2>/...
true
ca7acafbf0fa1ae375b90004d9530aa1f724cc41
Shell
wdekkers/vagrant_php7_mysql_box
/etc/scripts/bootstrap.sh
UTF-8
1,147
3.109375
3
[]
no_license
# Install SQL Client yum install -y httpd mysql-server mysql-client rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm # Install PHP 7 yum install -y --enablerepo=webtatic-testing php70w php70w-opcache # Change php conf to start php7 instead php5 sed -i 's/php5/php7/g' /etc/httpd/conf.d/php.conf # Setup virtual...
true
d1546d354b2fd1720f7821104d4ede981d951f90
Shell
ali4006/spot
/spot/pfs-example/command-line-script.sh
UTF-8
2,508
4.15625
4
[ "MIT" ]
permissive
#!/bin/bash function die { # die $DIR Error message local DIR=$1 shift local D=`date` echo "[ ERROR ] [ $D ] $*" exit 1 } INITDIR=$PWD if [ $# -lt 2 ]; then die ${INITDIR} "Needs 2 arguments and an optional flag. If you keep -r flag as an input, then the reprozip trace process is triggered ...
true
7b9644cc94d8b75c7ef8717da089b3f0352ab001
Shell
zv/metamage_1
/lamp/:/sbin/about
UTF-8
994
2.515625
3
[]
no_license
#!/bin/sh export APPLET=about /usr/bin/touch /app/$APPLET/window/select 2> /dev/null && exit || /bin/true rm /app/$APPLET 2> /dev/null iconid=128 cd -P /gui/new/port echo 0 > vis echo 220,68 > size echo About MacRelix > title echo > procid 4 /usr/bin/touch window echo 0 > window/text-font /bin/ln /gui/new...
true
e154385a48880ad8ebc54843dc8df98fe5af70eb
Shell
HugoWang3146/spring-demo-gradle-k8s
/scripts/start_spring_boot_demo_in_docker.sh
UTF-8
288
2.546875
3
[]
no_license
#!/usr/bin/env bash set -eux LOG_PATH='/var/log/spring-boot-demo' docker rm -f spring-boot-demo || true docker run \ -d \ -p 8080:8080 \ --name spring-boot-demo \ --mount type=bind,source=${LOG_PATH},target=${LOG_PATH} \ docker-registry.local:5000/spring-boot-demo
true
d6576eacf942ad130153c76ae35075be8973e494
Shell
joeytwiddle/jsh
/code/shellscript/unixext/mkdirandmv.sh
UTF-8
79
2.671875
3
[]
no_license
#!/bin/sh TARGET_FOLDER=`lastarg "$@"` mkdir -p "$TARGET_FOLDER" && mv "$@"
true
48d68abae675994fa96246843b02ce48c420dd9d
Shell
grohiro/dotfiles
/bin/issvn
UTF-8
427
3.609375
4
[]
no_license
#!/bin/bash # # This script returns string 'svn' when you are in a SVN working tree. # カレントディレクトリがSVNのワーキングコピーの場合に文字列 "svn" を返す. # shell のプロンプト(PS1)とかで使う. # example: PS1="\w\$(issvn @)$ " # ~/path/to/svn@svn$ # SVN=/usr/bin/svn if [ $($SVN info > /dev/null 2>&1; echo $?) == 0 ] then if [ $# -gt 0 ] then echo -...
true
11d6ec467714b74e0460683db00028e535d351f9
Shell
IanXTs/COMP206
/MakeProject.sh
UTF-8
461
2.9375
3
[]
no_license
#bin/sh #Ian Tsai MiniAssignment 2 260741766 cd ~ if [ ! -d project ] then mkdir project fi cd ./project/ if [ ! -d cs206 ] then mkdir cs206 fi cd ./cs206/ if [ -d $1 ] then echo "This project name has already been used" exit 1 else mkdir $1 archive backup docs assets database source fi cd ./...
true
d2fd8ba2ffe00d28aeb6a2f7a2c061f53eebde8a
Shell
Richesee/RDB
/TERMUX-TOOLS-RDB.sh
UTF-8
2,024
2.890625
3
[]
no_license
#!/bin/sh #Code Warna clear r="\033[1;31m" # merah g="\033[1;32m" # hijau y="\033[1;33m" # kuning b="\033[1;34m" # biru p="\033[1;35m" # ungu cy="\033[1;36m" # biru muda w="\033[1;37m" # putih #Banner1 clear echo $g"######## ######## ######## ## ## ## ## ## ## ## ## ## ## ## ## ######## #...
true
70288595808cd5fb5d14a4489dd1896c8301e9dc
Shell
chuanran/terraform_vsphere_provisioner
/files/customization.dd.sh.template
UTF-8
8,651
3.4375
3
[]
no_license
#!/bin/bash #This script is used to leverage TFD to customise configurations on fci Due Diligence fci_install_kit_dir="/root/fci-install-kit" fcdd_install_kit_dir="/root/fcdd-install-kit" km_hosts_prop_template_file="${fci_install_kit_dir}/helm/install.hosts.properties.template" custom_nfs_fcdd_file="${fcdd_install_kit...
true
1939b479d2f9f6f402160f287a217e6bb15bbd1e
Shell
amerlyq/airy
/%wf/obsolete/ubuntu/gen/nosudo_reboot
UTF-8
762
3.15625
3
[ "MIT" ]
permissive
#!/bin/bash -e source ~/.shell/profile # Reboot w/o sudo: remove all previous entries for user and append to end # Or manually setting: launch editor of access file with errs checking '$ sudo visudo', and append your's user # If all that will break sudo command: '$ pkexec bash', and then change file manually CURR_USE...
true
043a522ce7166a97b5736ef2ac96ac7c303f5789
Shell
nvllsvm/dotfiles
/scripts/open-term
UTF-8
227
2.984375
3
[]
no_license
#!/usr/bin/env sh TARGET="$(basename "$0")" if [ "$(hostname)" = "$TARGET" ]; then exec alacritty --title "$TARGET" --command zsh -ic tmux-attach else exec alacritty --title "$TARGET" --command zsh -ic "ssh $TARGET" fi
true
46cdb7fe3977ea638ddace8d04cc55ceca9d94f8
Shell
Harrison21/progblack_lectures
/build.sh
UTF-8
296
2.734375
3
[ "CC0-1.0" ]
permissive
#!/bin/bash sed '/^---/ d' PITCHME.md | sed '/^@/ d' | sed '/^:::/ d' | sed 's/{.*}//' > README.md PATHEND=$(pwd | rev | cut -d'/' -f-2 | rev) pandoc -V theme=simple -t revealjs -s PITCHME.md -o PITCHME.html git add . git commit -m "Working on presentation $PATHEND" git push -u origin main
true
5892592597f849317fbea5bcbe44b0e34e017d02
Shell
salmanspice/k8s-ha-postgres
/chart/files/haproxy-scripts/manage-master.sh
UTF-8
697
3.3125
3
[]
no_license
#!/bin/sh -e pod_name=$(cat $1 | cut -s -d ',' -f 1) addr=$(cat $1 | cut -s -d ',' -f 2) echo "master backend state before:" echo "show servers state master" | nc localhost 9998 echo "Disabling server master0 and shutting down the sessions..." echo "set server master/master0 state maint" | nc localhost 9998 echo "sh...
true
e7d69bc5ec585927465e5542dde82de128875474
Shell
freebsd/freebsd-ports
/audio/logitechmediaserver/files/pkg-install.in
UTF-8
1,292
3.265625
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh name=%%PORTNAME%% comment="Slim Devices SlimServer/SqueezeCenter pseudo-user" slimdir="%%PREFIX%%/%%SLIMDIR%%" statedir=%%SLIMDBDIR%% cachedir=${statedir}/cache prefsdir=${statedir}/prefs playlistdir=${statedir}/playlists oldprefsdir=/var/db/squeezecenter/prefs logdir=/var/log/${name} conffile=${prefsdir}/se...
true
3cef9a246051f0570c28c6c13ad8761d40af8e25
Shell
nasrulain/assignment-guessinggame
/guessinggame.sh
UTF-8
963
4.03125
4
[]
no_license
#!/usr/bin/env bash # File: guessinggame.sh # Peer graded assignment - The Unix Workbench by Coursera/John's Hopkins University # Counting no. of files in the directory filecount=$(ls -lA | wc -l) num="^[0-9]+$" # Function with IF condition to check guessed value function output { if [[ $guesscount -lt $filec...
true
5299d6d2ba069347b182c5bacb6c6b9b579abb9d
Shell
nicolasbock/ebuildtester
/ebuildtester.bash-completion
UTF-8
1,570
2.828125
3
[ "BSD-3-Clause" ]
permissive
# vim: syntax=sh:tabstop=4:shiftwidth=4:expandtab _ebuildtester() { local cur prev opts prefix COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" opts=( --help --version --atom --binhost --live-ebuild --manual --portage-dir ...
true
185481346736b962dfbae7334abcfe25f414cc3f
Shell
lecorref/config_personnal
/aliases
UTF-8
806
3.15625
3
[]
no_license
#!/bin/bash # Definition des alias raccourcis alias cdt='cd ~/test/' # Definition des alias de compilation alias gccf="gcc -Wall -Wextra -Werror" alias g++f="g++ -Wall -Wextra -Werror" # Definition des alias alias clean="find . -name '*~' -execdir rm {} \;" alias modsh="vim $C_PATH_TO_PERSONNAL_CONFIG/zshrc" alias pu...
true
dd832d1622764c234a1d4caa40a824a0786497dc
Shell
fdinardo/arch_scripts
/custom/completions/eng.completion.bash
UTF-8
317
3.375
3
[]
no_license
_eng() { local cur=${COMP_WORDS[COMP_CWORD]} local list_path=$(echo $PATH | tr ":" "\n") case "$cur" in *) for myPath in $list_path do list_files="$list_files $(ls $myPath -1 2> /dev/null)" done COMPREPLY=( $(compgen -W "$list_files" -- $cur) ) return 0 ;; esac } complete -F _eng eng
true
fe5bed4148c0db42bf97bdd0e9f7027ede4fd607
Shell
Sakshi2106/Threading_Library
/many-one/test.sh
UTF-8
695
2.625
3
[]
no_license
#!/bin/bash echo "" echo "" echo -e "I)--------------------------------------------RUNNING MANY-ONE TESTING-------------------------------------------------" echo "" echo "" echo -e "1)----------------------------------RUNNING APITEST TEST-----------------------------" echo "./exe/apitest" ./exe/apitest echo "" echo ""...
true
a55cc66188efa43678bc76068ba9252438ad588f
Shell
mswishe7/Scripts
/sshcommand
UTF-8
411
3.375
3
[]
no_license
#!/bin/bash #Usage: ./sshcommand <user> <host> <command> BB=/bin/busybox if [ "$#" -lt 3 ];then echo "Usage: ./sshcommand <user> <host> <command>" exit 1 fi if [ -z "$SSHPASS" ];then echo "SSHPASS Environment variable not set. Enter Password:" read -s password export SSHPASS=${password} fi sshpass -e scp ${BB}...
true
b722836631ce3d638744114ecb0576667c1a0601
Shell
wolxXx/lxclister
/grab.sh
UTF-8
3,339
3.875
4
[]
no_license
#!/bin/bash function startUp () { clear; echo "wolxXxShellTools: grab containers and their meta."; echo "v.0.2 | devops@wolxXx.de | git.wolxxx.de | https://github.com/wolxXx" echo "licensed under MIT general public open source license. " echo "love it, share it, extend it. improve the world!" ...
true
2bf5fcc124c4e96e2aa84b9bf458f98245052dd4
Shell
ArielMn22/C
/programinc.sh
UTF-8
1,207
3.625
4
[]
no_license
#!/bin/bash PROGRAMS="vim git gcc make" REPOSITORY="http://github.com/ArielMn22/C" SN=0 # Sim ou Não returno=0 # Checa o return do comando clonar(){ echo "Clonando repositório..." git clone $REPOSITORY &>/dev/null var=$? if [[ $var == 0 ]]; then echo "Repositório clonado com sucesso..." el...
true
05b3b8db28bcb97f2d4d2777c6fe85e038baee9e
Shell
chnoeli/Arma-3-Mod-Download-Script
/linux.sh
UTF-8
2,700
3.78125
4
[ "MIT" ]
permissive
#!/bin/bash #******************************************************************************* gameId="107410" #The 'gameId' is the id of the game for which you want to download mods from the Steam workshop. # #For example: #gameId="107410" # Arma 3 steamcmdLocation="./steamcmd" #The 'steamcmdLocation' is the path to th...
true
53b754406bc13404e2644f34673b351c8d64e131
Shell
closescreen/clhousesample
/to_history_ref_hours_wash.sh
UTF-8
1,909
3.140625
3
[]
no_license
#!/usr/bin/env bash #> Сохраняет из history_ref_from_history_v04.py в clickhouse history_ref_DAY #> Один процесс на день. День либо залился, либо нет. #> Если нет или частично - таблица удаляется и наливается заново. #( set -u set +x set -o pipefail cd `dirname $0` export PERL5LIB=${PERL5LIB:-""}:/usr/local/rle/var/s...
true
8f64d83e44102805bd8e508a94478766d49d7bff
Shell
m301/ModularScripts
/custom/docker.sh
UTF-8
766
2.953125
3
[]
no_license
#!/usr/bin/env sh choices=( apache-start remove-none digi-start digi-stop clear-unused clean-unused) case $1 in "${choices[0]}") # docker network create --subnet=172.18.0.0/16 net1 docker run --net net1 --ip 172.18.0.10 -v ~/Playground/docker-apache/apache2/sites-available/:/etc/apache2/sites-available/ -v /mnt/micro...
true
eab34117fabb99665478ce3c81f009f8eb0d0091
Shell
wangdabin/hdqsEJB
/bin/.svn/text-base/alterColumn.sh.svn-base
UTF-8
648
2.59375
3
[]
no_license
#!/usr/bin/ksh . ~/.bash_profile export NLS_LANG=AMERICAN_AMERICA.UTF8 flog=$BASE_HOME/alertColumn.log ouid="$SOP_USER/$SOP_PASSWD" #################### CMD_SQLPLUS=$ORACLE_HOME/bin/sqlplus #################### if [ ! -d $BASE_HOME ]; then mkdir -p $BASE_HOME fi echo "*****************************************...
true
1db47d526cc0e2c6f111cdb1139bbab19632d541
Shell
Mobasherah12/open-event-scraper
/build.sh
UTF-8
1,170
2.96875
3
[ "MIT" ]
permissive
# thanks to https://gist.github.com/domenic/ec8b0fc8ab45f39403dd #!/bin/sh set -e git config --global user.name "Travis CI" git config --global user.email "noreply+travis@fossasia.org" python scraper.py python event.py # don't continue if no changes if git diff-index --quiet HEAD; then exit 0 fi git pull git commi...
true