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
7d9c258d8db6ce3f3217021d4879a9c767cd104b
Shell
airgap/ip4.life
/build.sh
UTF-8
371
2.8125
3
[]
no_license
#!/bin/sh # Clean previous build ./clean.sh # Create dist and compiled directories mkdir dist mkdir compiled # Install NPM modules npm i cd src || exit # Compile TypeScript and Sass tsc sass index.sass ../compiled/index.css || exit 1 cd .. || exit # Inject the HTML and CSS into index.js ts-node inject.ts # Clea...
true
eec24e88bde41e38b4d190e272e1f8d34c56e049
Shell
DSC-SPIDAL/harplda
/run/ldatrainer_accuracy/trainer-var/ldartt-newvar/killyarnapp.sh
UTF-8
164
2.828125
3
[]
no_license
yarn application --list > list apps=`cut -f 1 list | grep -P "^app*"` for app in $apps; do cmd="yarn application --kill $app" echo $cmd $cmd done
true
4a8fa34f96abebdfabda4c3e1de8a90d3ff1d48a
Shell
terukura/installer
/Ubuntu_deb/weavedconnectd_1.3-07_x86/weavedconnectd_1.3-07_x86/usr/bin/remot3_script_lib
UTF-8
6,757
3.765625
4
[]
no_license
#!/bin/bash # # remot3_script_lib is a collection of useful functions # for use in remot3 scripts # # # #---------------------------------------------------------- VERSION="0.0.5" MODIFIED="June 30, 2016" VERBOSE=1 ######################################## # Support Functions # #####################...
true
7ac486d30a5e71df414443744f1b24c551894210
Shell
NateZimmer/piStat
/install.sh
UTF-8
1,747
4.03125
4
[ "MIT" ]
permissive
#!/bin/bash if ! command -v screen &> /dev/null then sudo apt-get -y install screen fi # Check variable config file echo Checking config file script_filename=my_variables if [ ! -f $script_filename.sh ] then echo Creating "$script_filename.sh" file, you must edit this file before continuing cp $script_fi...
true
d5442aac246f8cd673a91bdd3682f1dc94e14cb9
Shell
ixhorse/deeplab-tensorflow
/deeplab/tt100k_train.sh
UTF-8
3,738
3.25
3
[]
no_license
#!/bin/bash # Exit immediately if a command exits with a non-zero status. set -e FLAG=$1 # Move one-level up to tensorflow/models/research directory. cd .. # Update PYTHONPATH. export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim # Set up the working environment. CURRENT_DIR=$(pwd) WORK_DIR="${CURRENT_DIR}/deeplab" # G...
true
8ac1e152b8ca98bb860e5b7d6bf2c61740c245d9
Shell
MatthewWildenradt/openflights
/fetch_data.sh
UTF-8
477
3.03125
3
[]
no_license
#!/bin/bash mkdir data if [ ! -f data/airports.dat ]; then echo "`airports.dat` not found. Fetching from github..." wget -O data/airports.dat https://raw.githubusercontent.com/jpatokal/openflights/master/data/airports.dat fi if [ ! -f data/routes.dat ]; then echo "`routes.dat` not found. Fetching from git...
true
df54d84427d781af6befa29836760f91b6c8fc43
Shell
IvanLJF/My_InSAR_Codes
/tli_scr/tli_coreg_single_pair(鍐茬獊_litao-HP-Z600-Workstation_2014-09-18 12-18-24)
UTF-8
4,106
3.671875
4
[]
no_license
#!/bin/sh ################################################################# ### tli_coreg_single_pair: Script for image coregistration. ### ### using: ### - Master image. ### - Slave image. ################################################################# ### History ### 20120224: Written by T.LI...
true
f0bcb3083dd2441356cbe9d3bb41726ace0749b7
Shell
prabhakarit/apollo-server-caching-sample
/scripts/verifyCommit.sh
UTF-8
280
3.109375
3
[]
no_license
#!/bin/bash # Author : Prabhakar echo "checking if schema.json is staged" if [ "$(git diff --name-only --staged | grep -i beffe/schema.json)" != "" ]; then echo "schema.json file is staged" else echo "Please generate schema and stage the schema.json file" exit 2 fi
true
6eeba0a1b4f1464ac6c3e2bedfd02deafe7e3e0a
Shell
dawnik/bash
/parametry.sh
UTF-8
322
3.171875
3
[]
no_license
#!/bin/bash total=$(( $1 + $2 )) echo First passed parameter is $1. echo Second passed parameter is $2. echo Total is $total. echo nazwa skryptu: $0 echo liczba parametrow: $# echo wszystkie parametry wywolana: $* echo parametr pierwszy: $1 echo parametr drugi: $2 echo parametr trzeci: $3 echo numer procesu: $$ ...
true
a965b38ab18a8f12393986e4e6f5df0dd2fca5a7
Shell
davidgreens/docker-compose-buildkite-plugin
/lib/shared.bash
UTF-8
3,223
4.28125
4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash # Show a prompt for a command function plugin_prompt() { if [[ -z "${HIDE_PROMPT:-}" ]] ; then echo -ne "\033[90m$\033[0m" >&2 printf " %q" "$@" >&2 echo >&2 fi } # Shows the command being run, and runs it function plugin_prompt_and_run() { plugin_prompt "$@" "$@" } # Shows the comman...
true
1925384196754430dd4758bb964a78ce1b1bb609
Shell
drchapman/taskwarrior_framework
/tnext
UTF-8
826
3.28125
3
[]
no_license
#!/bin/bash task_id=$1 source twfw print_help () { echo "This is task_next" } if [ $# -lt 1 ]; then task pri elif [ $1 == "-h" ]; then print_help elif [[ $1 =~ [0-9]+$ ]]; then task_id=$1 id_is_project=$(check_project $task_id) if [ $id_is_project -eq 0 ]; then echo "A project cannot be assigned +next ta...
true
ed4609081f39972773b10312f5387991096a93ab
Shell
photon-platform/.photon
/init/git.sh
UTF-8
2,015
3.21875
3
[]
no_license
#!/usr/bin/env bash # source ~/.photon/init/_utils.sh title "configure git" git --version | tee -a $LOG if $PAUSE; then pause_enter; fi SECTION_TIME="$(date -u +%s)" sub "set account" username=$(ask_value 'git user name' 'phiarchitect') useremail=$(ask_value 'git user email' 'phi@phiarchitect.com') # read -p "git ...
true
715c704ef094b411d4233c86063c7fff5ef8312b
Shell
fcccode/oldCppProjectASM
/addSubmodule.sh
UTF-8
283
2.921875
3
[]
no_license
##!/bin/sh c=`pwd` echo pwd:$c fl=`ls "$c"` for fn in $fl; do if [ -d "$fn" ]; then echo $fn git rm --cached $fn git submodule add https://github.com/ericlin1001/oldCppProjectASM.$fn $fn fi done git status git submodule status git commit -am 'add all submodules' git push
true
d73360fd701887a4890d51b7066ecdf53b2a58f8
Shell
pradosh2008/cloudproject
/datalakeproject/gcpproject/script/store.bq
UTF-8
1,147
2.640625
3
[]
no_license
#!/usr/bin/bash . ${HOME}/lib/set_env.sh . ${HOME}/lib/common.sh #LOAD DATA FROM BUCKET TO EDL LANDING bq load --replace=true --source_format=AVRO --use_avro_logical_types=true edl_landing.store 'gs://p-asna-datasink-003/store/*' rc_check $? "Load edl_landing" #Load new and updated into new table bq query --project...
true
064ebba39672636e82a66087373b29c80bffb6ce
Shell
subinviswanathan/drdt-test
/.circleci/lighthouse-performance-test.sh
UTF-8
5,790
3.640625
4
[ "MIT" ]
permissive
#!/bin/bash # Variables BUILD_DIR=$(pwd) GITHUB_API_URL="https://api.github.com/repos/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME" # Check if we are NOT on the master branch and this is a PR if [[ ${CIRCLE_BRANCH} != "master" && -z ${CIRCLE_PULL_REQUEST+x} ]]; then echo "$CIRCLE_BRANCH -- $CIRCLE_PULL_REQUEST\...
true
538aefe4cfef6f3798439685919b761acb3b04aa
Shell
uomsystemsbiology/hbgm
/mtt/bin/trans/lbl_txt2tex
UTF-8
4,250
3.234375
3
[]
no_license
#! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: lbl_txt2tex # Latex summary of the lbl file # Copyright (c) P.J.Gawthrop 1998 ############################################################### ## Vers...
true
dafc233820b9ceb34bd82bf68f5f438f7044e3dc
Shell
bhumilsarvaiya/IAAP
/assignment-1/assignment_1_10
UTF-8
152
2.796875
3
[]
no_license
#!/bin/bash echo -n "Enter real number a : " read a echo -n "Enter real number b : " read b sum=`echo "$a"+"$b"|bc` echo "$a + $b = $sum" exit 0
true
6bb874b11397071e80f1914c425fbe0a23d39f97
Shell
sio2sio2/doc-linux
/src/source/04.servidor/10.ssh/files/pam_ssh.sh
UTF-8
1,752
3.421875
3
[ "MIT" ]
permissive
#!/bin/sh # # Script que emula a pam_ssh. # ... # # auth [default=2 success=ignore] pam_exec.so seteuid quiet expose_authtok /usr/local/bin/pam_ssh.sh # session optional pam_env.so readenv=0 user_readenv=1 user_envfile=.cache/ssh-agent/environment # session optional p...
true
fb77251c3a5faeb0529ce6804d330a1dcc064583
Shell
caconka/dotfiles
/scripts/my-fedora.sh
UTF-8
5,232
2.515625
3
[]
no_license
#!/bin/bash # Dotfiles caconka # Fonts mkdir ~/.fonts fc-cache -f -v # Shorcuts for i in {1..9}; do gsettings set org.gnome.shell.keybindings switch-to-application-$i "[]" done for i in {1..5}; do gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-$i "['<Super>$i']" done gsettings set org.gnome.d...
true
e3473ed530d6566f748a5d2654e8fb3b67d199ef
Shell
andreffrosa/master-thesis
/scripts/test_broadcast_local.sh
UTF-8
1,467
3.078125
3
[]
no_license
#!/bin/bash MIN_ARGS=2 if [ "$#" -lt $(($MIN_ARGS)) ] then echo "usage: ./test_broadcast_local.sh <n_pis> <duration_s>" exit fi PIS=$1 DURATION=$2 TESTS=( "broadcast/flooding" "broadcast/gossip1" #"broadcast/gossip1_horizon" "broadcast/gossip2;discovery/PeriodicHelloDiscovery" #"broadcast/gossip3" #"broadcast/...
true
0c0fee6b9fd89cd73df872d301ebf446c1ae4b08
Shell
baoshangpan/testgit
/test_net
UTF-8
3,472
2.609375
3
[]
no_license
#!/bin/bash # # Source from: wget freevps.us/downloads/bench.sh # clear echo "========================================" echo "No wait?! Press Ctrl+C Abort and Quit" echo "========================================" cachefly=$( wget -O /dev/null http://cachefly.cachefly.net/100mb.test 2&gt;&amp;1 | awk '/\/dev\/null/ {s...
true
04d397cf087cfa1772e9e947fe146ab9aec1aec4
Shell
noisy/steem-bluepaper-pl
/entrypoint.sh
UTF-8
139
2.796875
3
[]
no_license
#!/bin/bash TARGET_USER_GID=$(stat -c "%u" /src) useradd -m -s /bin/bash -u $TARGET_USER_GID builder COMMAND=$@ su -c "$COMMAND" builder
true
8b34aa5503d43ba91c10999d63647c02c9da64fd
Shell
karinnasvall/Leptidea_hostplant_project
/RNA_analysis/scripts/1c_fastq_masker_scripts/01_fastq_masker_run_query.sh
UTF-8
2,154
3.359375
3
[ "CC0-1.0" ]
permissive
#!/bin/bash -l #SBATCH -J fastq_masker #SBATCH -p core #SBATCH -n 1 #SBATCH -t 03:00:00 #SBATCH -A snic2019-3-35 #SBATCH --mail-user veronika.mrazek@ebc.uu.se #SBATCH --mail-type=ALL # load modules module load bioinfo-tools module load Fastx/0.0.14 module load FastQC/0.11.5 module load MultiQC/1.6 ## PATHS and file...
true
5ef22ea49bcc40496b68e49d33b1f524e90e8483
Shell
framecurrent/.dotfiles
/.oh-my-zsh/custom/or_aliases.zsh
UTF-8
5,994
2.984375
3
[]
no_license
#!/bin/zsh # Set personal aliases, overriding those provided by oh-my-zsh libs, # plugins, and themes. Aliases can be placed here, though oh-my-zsh # users are encouraged to define aliases within the ZSH_CUSTOM folder. # For a full list of active aliases, run `alias`. # # Example aliases # alias zshconfig="mate ~/.zsh...
true
d514c285ebdad543ba47c520ebdb3793cd7ed986
Shell
NetBSD/pkgsrc
/net/pygopherd/files/pygopherd.sh
UTF-8
908
3.171875
3
[]
no_license
#!@RCD_SCRIPTS_SHELL@ # # $NetBSD: pygopherd.sh,v 1.2 2011/10/31 08:45:08 obache Exp $ # # PROVIDE: pygopherd # REQUIRE: DAEMON # # To start spread at startup, copy this script to /etc/rc.d and set # spread=YES in /etc/rc.conf. # # Addtionally you may set spread_log to a file where to log stuff. if [ -f /etc/rc.subr ]...
true
c692ec06c59b4afa50756e19b1fe5ff462eef9af
Shell
svanrossem/dsmr-remote-datalogger
/build-push.sh
UTF-8
461
2.75
3
[]
no_license
#!/bin/bash read -p 'Tag name (default: develop): ' tagname tagname=${tagname:-develop} # Setup buildx: # docker buildx create --name dsmrbuilder # docker buildx use dsmrbuilder # docker buildx inspect --bootstrap docker buildx build --platform linux/amd64,linux/arm64,linux/aarch64,linux/386,linux/arm/v7,linux/arm/v6...
true
6ec9a86681eb16ec9016f7df1aafa55267ad1f79
Shell
koolohms/nfc
/scripts/flash
UTF-8
294
2.625
3
[]
no_license
#!/bin/bash # Script to flash Raspberry Pi Pico using openocd via Picoprobe cur_dir="$(pwd)" echo Moving to ~/pico/nfc/build/src/ cd ~/pico/nfc/build/src/ sudo openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -c "program main.elf verify reset exit" echo Moving to $cur_dir cd $cur_dir
true
925d269195b6df614669f966dbe65b617000ab9d
Shell
ahelal/ansible-concourse
/templates/concourse-worker-init.sh.j2
UTF-8
5,338
3.65625
4
[ "MIT" ]
permissive
#!/bin/bash ### BEGIN INIT INFO # Provides: concourse-worker # Required-Start: $local_fs $network $remote_fs $syslog # Required-Stop: $local_fs $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: concourse worker # Description: This script starts and sto...
true
355ce7ec983f762466eec7c281060100f11bfb25
Shell
cemac/SWIFTDB
/BACKUP/backup.sh
UTF-8
914
3.15625
3
[ "MIT" ]
permissive
#!/bin/bash #title :backup.sh #description :A Script to automate the heroku back up to cloud excel sheets #author :CEMAC - Helen #date :20190228 #version :0.1 #usage :./backup.sh #notes : #bash_version :4.2.46(2)-release #=========================================...
true
7b9e852e31d58bb78f40c00c51a99e3b4bf530bf
Shell
ValCher1961/ubuntu-wrt
/rootfs/scripts/marvell_dsa.sh
UTF-8
3,528
3.8125
4
[]
no_license
#!/bin/bash . $(dirname $0)/functions.sh write_dsa() { cat <<EOF > /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d auto lo iface lo inet loopback allow-hotplug eth1 iface eth1 inet manual allow-hot...
true
f3ae3ad43a7ac65facdcbefc524722a2ceb94493
Shell
gnperdue/jburkardt-cpp
/sgmga/sgmga.sh
UTF-8
271
2.890625
3
[]
no_license
#!/bin/bash # cp sgmga.hpp /$HOME/include # g++ -c -g -I /$HOME/include sgmga.cpp >& compiler.txt if [ $? -ne 0 ]; then echo "Errors compiling sgmga.cpp" exit fi rm compiler.txt # mv sgmga.o ~/libcpp/$ARCH/sgmga.o # echo "Library installed as ~/libcpp/$ARCH/sgmga.o"
true
9568e312aed2453d44e3e2993f1e7e3af6512bd1
Shell
tdiesler/wildfly-camel
/docker/s2i/bin/run
UTF-8
676
2.765625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Create default app server users if [[ ! -z "${WILDFLY_MANAGEMENT_USER}" ]] && [[ ! -z "${WILDFLY_MANAGEMENT_PASSWORD}" ]] then ${JBOSS_HOME}/bin/add-user.sh --silent -e -u ${WILDFLY_MANAGEMENT_USER} -p ${WILDFLY_MANAGEMENT_PASSWORD} fi if [[ ! -z "${WILDFLY_APPLICATION_USER}" ]] && [[ ! -z "${WILDFLY_...
true
d7657d687be120fd9c93fc042205ac11f12ae2fb
Shell
maxrd2/arch-repo
/packages/mingw-qt5/mingw-w64-qt5-feedback/PKGBUILD
UTF-8
1,031
2.859375
3
[]
no_license
pkgname=mingw-w64-qt5-feedback pkgver=0.0.0.20150918 _commit=28ca62414901502189ea28ef2efd551386187619 pkgrel=1 arch=(any) pkgdesc="Qt Tactile Feedback Add-on Module (mingw-w64)" license=("custom" "FDL" "GPL3" "LGPL") depends=(mingw-w64-qt5-declarative) makedepends=(mingw-w64-qt5-base git) options=(staticlibs !strip !bu...
true
dd4547b65a34249763301c7a5fb953aad8fe8a52
Shell
dev-shine/Portal-Tajo
/ci/pre-commit
UTF-8
688
3.78125
4
[]
no_license
#!/bin/sh # update package version on each commit # if it made not in one of disallowed brunches BRANCH=$(git symbolic-ref HEAD | sed 's!refs\/heads\/!!') NOT_ALLOWED="dev stage@candidate stage@true_candidate production" # look for current brunch in the list of not_allowed branches IS_ALLOWED=$(echo $NOT_ALLOWED | g...
true
06dbbb70ba6e9bf9b5c74db18bfda1731d60878d
Shell
igniteflow/linuxutils
/mount-encrypted.sh
UTF-8
2,876
3.8125
4
[]
no_license
#!/usr/bin/env bash # Mount and unmounts an encrypted volume (in a toggle-fashion). # This is necessary because at least in Karmic, the dialog provided # by gnome-mount/gnome-volume-manager does not allow the user to # specify a keyfile (see https://bugs.launchpad.net/gnome-mount/+bug/133520) # # Currently makes a ...
true
e7351f4d7bd42615c7fc40313dddc60ad3d62d55
Shell
emazzotta/dotfiles
/bin/tgb
UTF-8
736
3.921875
4
[]
no_license
#!/bin/bash if test "${1}"; then audio_content="${1}" shift echo -n "Voice (Zarvox)? " read -r voice [[ "${voice}" == "" ]] && voice="Zarvox" say -v ${voice} "${audio_content}" echo -n "Send (y/N)? " read -r answer if echo "${answer}" | grep -iq "^y"; then directory="$(mkte...
true
a7361c51c40b5b32247de506b0254924945ac0c5
Shell
wandy-dev/Dotfiles
/config/scripts/server-stat-polybar
UTF-8
132
2.578125
3
[]
no_license
#!/bin/bash ~/.config/scripts/server-stat &>/dev/null FILE=/tmp/server-stat.dat if [[ -f $FILE ]] ; then cat $FILE else false fi
true
044ce283dde241306797ddcbedafece45b3c56ab
Shell
josthoma/Distributed-Quantum-Computing
/QuEST/testCode/waiting/submit_Teng.sh
UTF-8
686
3
3
[ "BSD-3-Clause", "MIT" ]
permissive
#!/bin/env bash depth_values=(10 20) threads_values=(2 3) trial=${SLURM_ARRAY_TASK_ID} threads=${threads_values[$(( trial % ${#threads_values[@]} ))]} trial=$(( trial / ${#threads_values[@]} )) depth=${depth_values[$(( trial % ${#depth_values[@]} ))]} source ../../prep.sh export OMP_NUM_THREADS=$threads export OMP_P...
true
1c6da9a3b5ed9c96d851eeedbff783877c3f7ac2
Shell
guiorioli/scripts
/send_window.sh
UTF-8
5,510
3.859375
4
[]
no_license
#!/bin/bash if [ "$1" == "--help" ]; then test=`echo $0 | cut -c1-2` if [ $test != "./" ]; then exe=$(basename $0) else exe=$0 fi echo "This script is used to send current window to another screen (monitor)." echo "It assumes that Primary monitor is on the left, and calculates to send the windo...
true
7434a4e3ecac872f7d67f1464b9af79af0de98d0
Shell
coffee377/pem
/build.sh
UTF-8
879
3.59375
4
[ "MIT" ]
permissive
#! /bin/sh #$GOARCH 目标平台(编译后的目标平台)的处理器架构(386,amd64,arm) #$GOOS 目标平台(编译后的目标平台)的操作系统(darwin,freebsd,linux,windows) #操作系统 OS=("linux" "windows" "darwin") #处理器 ARCH=("386" "amd64" "arm") BUILD_NAME= ZIP_FILES= # for os in ${OS[@]} do for arch in ${ARCH[@]} do if [[ $os != 'linux' && $arch == 'arm' ]] then conti...
true
9e3f94e6dc160dee9d9b38a317f2d25d3cba59e1
Shell
inissa/system-management
/buildscripts/buildqtmultimedia
UTF-8
748
2.953125
3
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
#!/bin/bash -e export PKGNAME=qtmultimedia export PKGVER=5.7.0 export PKGTAR=${PKGNAME}-opensource-src-${PKGVER}.tar.xz export PKGDIR=${PKGNAME}-opensource-src-${PKGVER} # stable export PKGURL="http://download.qt.io/official_releases/qt/5.7/${PKGVER}/submodules/${PKGTAR}" # development #export PKGURL="https://downlo...
true
ab03957cced92e7c153890872f09ea781d422464
Shell
arosell/liquibase-demo
/maven/docker-entrypoint.sh
UTF-8
139
3.265625
3
[ "MIT" ]
permissive
#!/bin/bash set -e if type "$1" > /dev/null 2>&1; then ## First argument is an actual OS command. Run it exec "$@" else mvn "$@" fi
true
6414b26ebe3cb20d3e87e2f03beb4226d7dc3c1b
Shell
r-zh/Jimple
/scripts/listcov.sh
UTF-8
685
3.1875
3
[]
no_license
#!/bin/bash (test $# -lt 1) && (echo "too few arguments") && exit 0 rep=${1:-"benign-new-firstrep"} cat=${2:-"implicit"} APKDIR=/home/hcai/testbed/input/pairs.secondset/$cat/ TRACEDIR=/home/hcai/testbed/$rep/singleAppLogsNew_$cat for ((i=1;i<=250;i++)) do if [ ! -s $APKDIR/$i/s.apk ];then continue; fi if [ ! -s $A...
true
ba7f03bd95731fe3a5944ce73aff6adaad92da5e
Shell
yangjian319/docker
/init_system.sh
UTF-8
540
2.6875
3
[]
no_license
#!/bin/bash check_ok(){ if [ $? != 0 ] then echo "Error,check the error log." exit 1 fi } sudo apt-get -y install curl sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3...
true
cb41357b5d6a1f7b80dc97d1251210ae7f354eac
Shell
carlostechinnovation/bolsa
/BolsaScripts/modelofuturosimpleyanalisis.sh
UTF-8
663
2.8125
3
[]
no_license
#!/bin/bash ########################################### # Entrena un modelo en el pasado hace 50 días # Itera desde el día con antigüedad 50 al 0 (no descarga datos) # Predice el futuro en el día 0 # # Debemos poner estos numeros en el CONFIG: # export NUM_EMPRESAS="1000" # Numero de empresas descargadas (para E...
true
b512783a7f54d7174b84bf869a63f44acd0c4efd
Shell
dydra/http-api-tests
/setup-spin.sh
UTF-8
2,439
2.828125
3
[ "Unlicense" ]
permissive
#! /bin/bash # test library item references # make sure the repositories exist curl -v -f -s -S -X POST \ -H "Content-Type: application/json" --data-binary @- \ ${STORE_URL}/${STORE_ACCOUNT}/repositories?auth_token=${STORE_TOKEN} << EOF {"repository" : {"name" : "spin-data" } } EOF curl -v -f -s -S -X P...
true
f03d68bd4de5d3bb04f85dace9b5316985e4c435
Shell
bbidulock/xdm
/config/Xwilling
UTF-8
291
3.3125
3
[ "MIT-open-group", "MIT", "BSD-3-Clause", "X11-distribute-modifications-variant", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
#!/bin/sh # # The output of this script is displayed in the chooser window. # (instead of "Willing to manage") load="`uptime|sed -e 's/^.*load[^0-9]*//'`" nrusers="`who|cut -c 1-8|sort -u|wc -l|sed 's/^[ ]*//'`" s=""; [ "$nrusers" != 1 ] && s=s echo "${nrusers} user${s}, load: ${load}"
true
b9a7739b09c63bbec349e8fa7c5530c10b5a9989
Shell
jparrill/kvio-lab-testing
/shell/lab.sh
UTF-8
1,861
3.953125
4
[]
no_license
#!/usr/bin/env bash ######################################### ### Global Vars and Utility Functions ######################################### ## This disables a warning about something that's intended behavior (not having inventory for provisioning and cleanup export ANSIBLE_LOCALHOST_WARNING="False" ## Default ...
true
cc7db4ad5e999184d43bc2903d17b18de7689f7a
Shell
sctincman/PKGBUILDs
/alarm/uboot-raspberrypi/PKGBUILD
UTF-8
1,176
2.9375
3
[]
no_license
# U-Boot: Raspberry Pi # Maintainer: Kevin Mihelich <kevin@archlinuxarm.org> buildarch=4 pkgname=uboot-raspberrypi pkgver=2016.03 pkgrel=1 pkgdesc="U-Boot for Raspberry Pi" arch=('armv7h') url='http://www.denx.de/wiki/U-Boot/WebHome' license=('GPL') backup=('boot/boot.txt' 'boot/boot.scr') makedepends=('bc' 'dtc' 'gi...
true
3f6362ada6a4b52c437f0507f05d126c2516170c
Shell
mykquayce/dockerfiles
/secrets.sh
UTF-8
334
3.046875
3
[]
no_license
#! /bin/bash for s in mysql-root-password rabbitmq-password rabbitmq-username randomwebbrowsing_rabbitmq_pass randomwebbrowsing_rabbitmq_user do docker secret ls | tail --line +2 | grep $s >nul if [ $? -ne 0 ]; then openssl rand -base64 201 | sed 's/[^0-9A-Za-z]//g' | sed -z 's/\n//g' | docker secret create $...
true
48db4c43767734ba2bc8f2f6220eadcdb1e3963d
Shell
euclideansphere/.dotfiles
/setup.sh
UTF-8
1,150
3.453125
3
[]
no_license
#!/usr/bin/env bash pwd=${PWD} # oh my zsh if [ ! -d "$ZSH" ]; then echo "installing oh-my-zsh" export ZSH="$HOME/.dotfiles/oh-my-zsh" sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" fi if [ "$SHELL" != "/bin/zsh" ]; then echo "setting default shell to zsh" ...
true
d5e4cebd426e02a0e5cedf69c762548a6ec412d8
Shell
QDPeng/Kaldi-NDK-Feature
/thirdparty/openblas_arm64v8a.sh
UTF-8
1,236
3.03125
3
[]
no_license
#!/bin/bash #将ndk目录加入环境变量 export NDK_DIR=~/thirdparty/android-ndk-r16b #将toolchain目录加入环境变量 export MY_TOOLCHAIN=${NDK_DIR}/mchain_arm64_api23_gnustl #生成独立工具链 #$NDK__DIR/build/tools/make_standalone_toolchain.py --arch arm --api 16 --install-dir ${MY_TOOLCHAIN} #将独立工具链工具加入环境变量(clang和arm-linux-androideabi-*) export PATH=${...
true
63af32f31bd8479ea9719e8de7f8bdcdbc458f6a
Shell
yangcetcELF/openshift-enablement-exam
/misc/istio-mesh-extension/tunnel.sh
UTF-8
8,132
3.484375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash #### this script uses the following environment variables # TUNNEL_PORT : the port used to establish the tunnel # TUNNEL_DEV_NAME : the device used to establush the tunnel # TUNNEL_REMOTE_PEER : the peer IP or VIP to which establish the tunnel # TUNNEL_LOCAL_PEER : the local IP to be used for the ...
true
c4941ae50a66f451d33b2d2773369f17b9411f91
Shell
ikuokuo/start-opencv
/docs/install_gcc54.sh
UTF-8
1,261
3.1875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash BASE_DIR=$(cd "$(dirname "$0")" && pwd) OUT_DIR=/opt/gnu SUDO=sudo GMP=gmp-6.1.2 MPFR=mpfr-4.0.2 MPC=mpc-1.1.0 GCC=gcc-5.4.0 cd $BASE_DIR if [ ! -d $GMP ]; then wget https://mirrors.ustc.edu.cn/gnu/gmp/$GMP.tar.bz2 tar xjf $GMP.tar.bz2 fi cd $GMP ./configure --prefix=$OUT_DIR/$GMP --enable-...
true
016ff95e7df374ff95f3516523b981b119bc980f
Shell
bankhead3/dnaseq-pipelines
/01--build-fastq-catalog/process.sh
UTF-8
679
3.046875
3
[]
no_license
#!/bin/bash myDate=$(date +%Y%m%d) mkdir -p intermediate mkdir -p figs mkdir -p output mkdir -p input if [ 1 == 1 ]; then # create two files one sample metadata and the other with chip expression cmd="./01-pull-data.sh" echo $cmd; eval $cmd # gather fq files and sample names cmd="./02-build-fq2sample.sh" echo $cmd...
true
56e4be01cc746bd4ba84e6c38958b1e18af090bf
Shell
tolis-e/aerogear-unified-push-server-tests
/jboss-conf/setup.sh
UTF-8
1,560
3.546875
4
[]
no_license
#!/bin/bash BASE_DIR=`pwd`/$(dirname $0) DOWNLOAD_URL="http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip" JBOSS_ZIP="$BASE_DIR/jboss-as-7.1.1.Final.zip" JBOSS_HOME="$BASE_DIR/jboss-as-7.1.1.Final" BASE_REPO_DIR="$BASE_DIR/.." AG_UPS_REPO="$BASE_REPO_DIR/aerogear-unifiedpush-server" i...
true
0fef759d0edaf8cccc887e26e6383f4c11869b65
Shell
bashaway/cacti
/cacti_sv/docker-entrypoint.sh
UTF-8
493
3.03125
3
[]
no_license
#!/bin/sh until mysqladmin -ucactiuser -pcactipwd -h cacti_db ping ; do sleep 1 done if [ "`mysql -ucactiuser -pcactipwd -h cacti_db cacti -e 'show tables'`" = "" ] ; then if [ -e /usr/share/cacti/rra/CACTI_DB_BACKUP.sql ] ; then mysql -ucactiuser -pcactipwd cacti -h cacti_db < /usr/share/cacti/rra/CACT...
true
b767c1f8c11622d7e7527728fcd0f1a8be45e32c
Shell
strangerStar/gpghax
/lolhack/lolhack.sh
UTF-8
1,022
3.21875
3
[]
no_license
#!/bin/sh #link the usb drive dirs into the /gaadata cd /media/games for D in *; do if [ -d "${D}" ]; then ln -s /media/games/${D} /gaadata/${D} fi done #backup the original db file from the console itself, added by MarTinX oridbfile=/media/games/regional.ori.db if [ ! -f "$oridbfile" ]; then cp /...
true
dee5ac0aea5362e301721be9002eb1a801082c36
Shell
cruizer/HMV-meretezes
/hmv/build_plugin.sh
UTF-8
1,618
3.8125
4
[]
no_license
#!/bin/bash # SCRIPT SUMMARY # 1. Creates an INI file if it doesn't exist # 2. Stores log and working directory in INI config # 3. Copies the necessary plugin files to the build directory # 4. Creates the QGIS plugin directory if it doesn't exist # 5. Copies the plugin files from the build to the plugin directory curre...
true
122f27e288c319c82b371b8cdc17d411aa817693
Shell
yekm/blog
/bl/_mdgen.sh
UTF-8
249
3.234375
3
[]
no_license
for f in *.txt; do echo $f cat $f | sed -n '/##/,/*/p' | egrep -v category >$f.md title=$(cat $f | sed -n '/##/,/*/p' | egrep -v category | egrep '##' | cut -f2- -d' ') link=$f.md cat >>index.md << EOF * [$title]($link) EOF done
true
2955ab8cf8ce2b6c66ec6095228fa2bacc6ec8bf
Shell
timhabermaas/cubemania
/backup/restore.sh
UTF-8
271
2.859375
3
[]
no_license
#! /bin/sh set -e filename=$1 target=/data/current.dump.gz aws s3 cp s3://$AWS_BUCKET_NAME/$filename $target gzip -d $target PGPASSWORD=${POSTGRES_PASSWORD} pg_restore --verbose --clean --no-acl --no-owner -h db -U postgres -d cubemania_production /data/current.dump
true
abb3c4543daa3488232edc6cc3b5f35becc04544
Shell
hocnt84/agora-api
/build/android/remove_proto_validation.sh
UTF-8
960
2.984375
3
[ "MIT" ]
permissive
# # For all .proto files, strip the validation parameters & replace inline # # 1. hack: first add a couple newlines after all "];" find ../../proto/ -name "*.proto" -type f -exec sh -c "awk '{gsub(/];/, \"];\n\n\"); print}' {} > tmp && mv tmp {}" \; # 2. strip everything between square brackets [...] find ../../pro...
true
d47c4c73876f7c65f75512cd63195be557dcacca
Shell
ChimeraCoder/OSX-Configuration
/bash_profile
UTF-8
188
2.609375
3
[ "LicenseRef-scancode-public-domain" ]
permissive
if [ -f ~/.bashrc ]; then . ~/.bashrc fi # bash_completion if [ -f /opt/local/etc/bash_completion ]; then . /opt/local/etc/bash_completion fi MKL_NUM_THREADS=1 export MKL_NUM_THREADS
true
47c5bc9c16bca7bab9f7650ea7fd44cef8e392f7
Shell
shilad/cartograph-alg
/bin/fetch_data.sh
UTF-8
1,038
3.09375
3
[]
no_license
#!/bin/bash # # fetch necessary raw data to feed in algorithms set -e set -x projects=(Education Geography) directories=(education georgraphy) num_of_articles=(93811 353772) # need to find out the number of articles within the topic. for i in {0..2} do echo ${projects[$i]} python -m cartograph.data.doma...
true
457ac60de9efa4918d3e4765bb605ad78a245379
Shell
clemenko/dc18_supply_chain
/scripts/promotion_create.sh
UTF-8
594
2.90625
3
[]
no_license
#!/bin/bash #create promition policy # requires environment variables: DTR_HOST, DTR_USERNAME and DTR_TOKEN if [ -z ${DTR_TOKEN+x} ]; then echo " Please create a DTR_TOKEN variable before preceeding..." exit fi curl -X POST -sk -L \ -u $DTR_USERNAME:$DTR_TOKEN \ https://$DTR_URL/api/v0/repositories/ci/dc18_b...
true
7f79f2a51753dd43b54b0f614a4dddec01ab02de
Shell
chriad/dotfiles
/private_dot_local/private_share/nautilus/private_scripts/executable_Subtitles_In_English.sh
UTF-8
475
2.609375
3
[]
no_license
IFS_BAK=$IFS IFS=" " for line in $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS; do full_path="/home/"$USER"/Desktop/subtitle-downloader/subtitle_downloader/"subtitle_downloader.py python $full_path $line notify-send $line done IFS=$IFS_BAK ##to do::#give a check here to see if the files coming are...
true
767feb89d06de769c3efd7687b8442abc6d9bbd7
Shell
vrk-kpa/api-catalog
/tools/check_csrf.sh
UTF-8
782
3.75
4
[ "AGPL-3.0-only", "MIT" ]
permissive
#!/bin/bash # A script for checking if there are forms that need csrf handling HELPTEXT="Usage: $0 [--help] [--done] [whitelist file]\n\n\ Finds HTML files with forms without mentions of CSRF tokens.\n\ Run at the root of the directory tree to scan. To exclude already cleared files from the results provide a whitelis...
true
066de14d6d9c38a3efe5b9ab6e3474f689c32c2f
Shell
alexryan/flere-imsaho
/bin/load_data_into_clip_table.sh
UTF-8
2,952
3.75
4
[ "MIT" ]
permissive
#!/bin/bash ################################################################################ # Pre-reqs # We need to know how to connect to the database # Hostname and port are specified in environment variables # Username and password are specified in ~/.my.cnf ##################################################...
true
4090d589bc9fa07c985a78dd9ec20b1aed381eaf
Shell
divpi4/terraform-aws-modules
/examples/eks/hack/post-deploy.sh
UTF-8
2,578
3.90625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # SETUP KUBECONFIG KUBEDIR="${HOME}/.kube" KUBECONFIG="${KUBEDIR}/config" AWSKEY="${AWS_DEVPRIV_SSHKEY}" SSHUSER="ec2-user" # change to appropriate user CLUSTER="None" CLUSTERNAME="None" CLOUD="None" function setKubeConfig() { # update kubenconfig variable DIRLIST=(${KUBEDIR}/${prefix}*.yaml) ...
true
25c171a1d5e0e2ef3a9a4d781dd59ccfd7b6da63
Shell
DWONeill18/phd_scripts
/skin/cer_eth/N23_density.sh
UTF-8
555
3.171875
3
[]
no_license
#!/bin/bash # David O'Neill # Last modified 05/11/12 ## (1) Declare varaibles TPR="0.tpr" # The name of the input tpr file XTC_ALL="0.xtc" # The name of your trajectory file INDEX="index.ndx" ## (3) Run g_density to calculate densities across the box # The numbers refer to the groups that you want to select...
true
a5e4f27b19be879b164f0574197e168ace39ca8a
Shell
nagyist/dmlc.xgboost
/tests/buildkite/update-rapids.sh
UTF-8
407
2.984375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -euo pipefail LATEST_RAPIDS_VERSION=$(gh api repos/rapidsai/cuml/releases/latest --jq '.name' | sed -e 's/^v\([[:digit:]]\+\.[[:digit:]]\+\).*/\1/') echo "LATEST_RAPIDS_VERSION = $LATEST_RAPIDS_VERSION" PARENT_PATH=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) sed -i "s/^RAPIDS_VERSION=[[:digit:...
true
ac3df80be9f515aa21fb93965656ca7928ee0b1b
Shell
hpullen/DPhil_B02DKstar_analysis
/Parameters/Scripts/get_lumi.sh
UTF-8
1,837
3.34375
3
[]
no_license
#!/usr/bin/env bash # Output file # OUTFILE=../lumi_calculated.param # OUTFILE=../lumi_calculated.param OUTFILE=../lumi_calculated_1718.param if [[ -f $OUTFILE ]]; then rm $OUTFILE; fi # # Calculate luminosity for each polarity and year # for YEAR in 2011 2012 2015 2016; do # for MAG in up down; do # BAS...
true
14771d1774809a752cfe69084c19b3745c74334c
Shell
sid-thakur47/TicTacToeGame
/TicTacToe.sh
UTF-8
4,935
3.703125
4
[]
no_license
#!/bin/bash shopt -s extglob declare -A dictTicTacToe declare -a arrRow declare -a arrColumn declare -a arrCorner LAST_POSITION=9 blockingFlag=1 checkWinnerFlag=1 checkWinnerTie=0 switchPlayer=0 arrRow=(1 4 7) arrColumn=(1 2 3) arrCorner=(1 3 7 9) function resetBoard() { for ((i=1;i<=$LAST_POSITION;i++)) do di...
true
feeafc58d995bc06c9a7c5a144c64b46fe4297cc
Shell
mondediefr/docker-rutorrent
/rootfs/usr/local/bin/gen-http-passwd
UTF-8
612
3.6875
4
[ "MIT" ]
permissive
#!/usr/bin/env sh file=/config/nginx/passwd/rutorrent_passwd read -p "Username: " username passwd="$(openssl passwd -6)" if [ "${?}" -eq 0 ]; then if [ ! -e "${file}" ] || [ -z "$(grep ^${username}: ${file})" ]; then echo "${username}:${passwd}" >> "${file}" chown "${UID}:${GID}" "${file}" chmod 640 "$...
true
0a05259a6c8cbb7e854780cc2a205369300657e0
Shell
sce/dotfiles
/scripts/toolbox-build
UTF-8
432
2.828125
3
[]
no_license
#!/bin/bash set -euo pipefail build_cname=build build="toolbox run --container $build_cname" dnf_alacritty="cargo cmake gcc-c++ fontconfig-devel libxcb-devel" cargo_alacritty=alacritty set -x toolbox create $build_cname || true $build sudo dnf install -y $dnf_alacritty # after building, it can be run from ~/.carg...
true
c026ad75670df03413bccb6974447e949678e410
Shell
gitter-badger/greenish
/src/test/resources/test-ls-env
UTF-8
214
3.234375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash fst=$1 shift for period in "$@"; do if ls "$GREENISH_VALUE_FOR_TEST/$fst/$period"; then echo -e "greenish-period\t$period\t1" else echo -e "greenish-period\t$period\t0" fi done
true
3a0bebf5e99468238e0c47049c5680a50e4d15a1
Shell
SomeUserName1/betriebssysteme
/htwg/BSYS/uebung/bsys-ws1819/HW5/Chapter22_Beyond_Physical_Memory_Policies/src/run_paging_policy_with_generated_addresses.sh
UTF-8
2,621
3.625
4
[]
no_license
#!/bin/bash while true; do echo "Please enter a command:"; read command; if [ "$command" == "random" ] then echo ""; echo "Please enter the length of the random trace:"; read lenOfRandTrace; echo "Please enter the maximum page number:"; read maxPageNum; echo "Please eneter a random see...
true
0e0191577cdc8cf17e3046bc1017c8e6bfa55127
Shell
W-Floyd/Angl-Resource-Pack
/src/conf/gimp_any_texture.sh
UTF-8
249
2.90625
3
[]
no_license
#!/bin/bash # gimp_any_texture <SIZE> <NATIVESIZE> <IMAGE> __gimp_export "${3}.xcf" if ! [ "${1}" = "${2}" ]; then __resize "$(echo "${1}/${2}" | bc -l | __strip_zero)" "./${3}.png" "./${3}_.png" mv "./${3}_.png" "./${3}.png" fi exit
true
2faa2a20bf3a8f399fc24488ec593a8ade15cea4
Shell
samujjwal/bcis
/runexample
UTF-8
618
3.8125
4
[]
no_license
#!/bin/bash # runexample # This is a Bash shell script. Run it like this: # bash runexamples [testname] # # This script runs a single example test program in test/examples/ # # See "runexamples" for documentation on the example file format. # source ./profile.sh make infile=test/examples/$1.in outfile=test/exam...
true
045520d9cacb14f212348736ed6d3acdf039ff96
Shell
khollbach/config-files
/.profile
UTF-8
558
2.921875
3
[]
no_license
#!/bin/sh # Add directories containing executables to `PATH`. export PATH=~/.config-files/scripts:$PATH export PATH=~/.local/bin:$PATH export PATH=~/bin:$PATH export PATH=~/.cargo/bin:$PATH export PATH=/usr/local/go/bin:$PATH if command -v go >/dev/null; then # Add ~/go/bin to PATH. export PATH=$(go env GOPATH...
true
30ef96c7597f2f4771a84e999d8fdf5a3c589f5b
Shell
nguyenminhhieu12041996/casper-node
/stop-dev.sh
UTF-8
438
3.828125
4
[ "Apache-2.0" ]
permissive
#!/bin/sh # # stop-dev: A quick and dirty script to stop a testing setup of local nodes. set -eu ARGS="$@" # If no nodes defined, stop all. NODES="${ARGS:-1 2 3 4 5}" # print the warning if node 1 is one of the selected nodes to be stopped case "$NODES" in *"1"*) echo "NOTE: Stopping node 1 will also stop other ...
true
6bcb65a2f689b00e2bf6b78dd3d142884c62517c
Shell
sugar-activities/4448-activity
/bin/minivmac-activity
UTF-8
910
3.1875
3
[]
no_license
#!/bin/sh while [ -n "$2" ] ; do case "$1" in -b | --bundle-id) export SUGAR_BUNDLE_ID="$2" ;; -a | --activity-id) export SUGAR_ACTIVITY_ID="$2" ;; -o | --object-id) export SUGAR_OBJECT_ID="$2" ;; -u | --uri) export SUGAR_URI="$2" ;; *) echo unknown argument $1 $2 ;; e...
true
b67cb184cfc974dd58cc9bfeeea0c62cb24fafda
Shell
uhulinux/ub-ubk4
/neverball/install
UTF-8
1,404
3.234375
3
[]
no_license
#!/bin/sh -eux # install the binaries install -m 0755 neverball "${UB_INSTALLDIR}"/usr/bin/ install -m 0755 neverputt "${UB_INSTALLDIR}"/usr/bin/ # chmod 644 for all files in data dir find data -depth -name "*.sol" -print0 | xargs -0 chmod 644 # install the datas mkdir -p "${UB_INSTALLDIR}"/usr/share/games/neverball...
true
c2731d76b53400546077a8f16483ed60ee61f077
Shell
fanderzon/space-tyckiting
/server/create-new-ai
UTF-8
684
3.765625
4
[ "MIT" ]
permissive
#!/bin/bash set -e ROOTDIR=$(cd -P $(dirname $0); pwd) if [[ $# -ne 1 ]]; then echo "Usage: $0 your-bot-name" >&2 exit 1 fi BOTNAME=$1 shift BOTSDIR=$ROOTDIR/client/ai DUMMYBOTDIR=$BOTSDIR/dummy NEWBOTDIR=$BOTSDIR/$BOTNAME if [[ -d $NEWBOTDIR ]]; then echo "Bot $BOTNAME already exists at $NEWBOTDIR" >&2 ...
true
5d8105019b5ce40ebaee2e65b34f948a7d2b5877
Shell
tfboyd/dlbench
/tools/mxnet/mxnet0.7/monitorkill.sh
UTF-8
434
2.734375
3
[ "MIT" ]
permissive
no_use_cnt=0 sleep 5 echo $no_use_cnt while (($no_use_cnt < 4)) do idle_cnt=`nvidia-smi | grep 0% | wc -l` logTime=`date` if (($idle_cnt > 3)) then echo "[$logTime] no_use_cnt++" no_use_cnt=$(($no_use_cnt + 1)) else echo "[$logTime] no_use_cnt=0" no_use_cnt=0 fi echo "no_use_cnt = $no_use_cnt" sleep 5 ...
true
f511f3cd99b03348ac638afd8c993b6280b24f62
Shell
mikesmiffy128/build
/scripts/cc-conf.sh
UTF-8
901
2.859375
3
[ "ISC", "LicenseRef-scancode-public-domain" ]
permissive
# This file is dedicated to the public domain. extra_ldflags= extra_cflags= case "$cc_type" in clang) extra_cflags="-flto -fpic" extra_ldflags="-flto -fpic" # for now, only trying LLD with Clang as GCC seems to have trouble using # it (undefined symbol main) # also, not using it on macos since it doesn't w...
true
91eb2fdd37c2878d05838cb7e2a890cb3cecc49b
Shell
tibet5/website
/bin/run-grocery-request-lottery
UTF-8
681
3.578125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # Slight workaround to deal with Heroku Scheduler # Heroku Scheduler only lets us choose either "run every hour" or "run every day" # We want the lottery to only run on Sunday after 2pm # To do this, we have it run every day at 2pm, but exit early on Sundays WEEKDAY=$(date +%A) if [ "${WEEKDAY}" !=...
true
f5edc9f362a80617773954a9e39c7ffa72566024
Shell
Tofee/initramfs-tools-halium
/usr/sbin/flash-touch-kernel
UTF-8
860
3.859375
4
[]
no_license
#!/bin/sh BOOT="LNX boot KERNEL" KERNEL="/boot/vmlinuz-$(uname -r)" # we dont want to run if FLASH_KERNEL_SKIP is set, the ubuntu # image build system uses this if [ -n "$FLASH_KERNEL_SKIP" ]; then exit 0 fi # if there is "recovery" on the kernel cmdline, we are most # likely running in dual boot mode, do nothing t...
true
8e0ee9a726a91f21948509dd596452f2052ca4b5
Shell
besteque/bsp-freescale-mx6x-sabreARD-SDP6.6
/images/mkflashimage
UTF-8
523
2.796875
3
[]
no_license
#!/bin/sh # script to build a binary IPL and boot image for i.MX6x Sabre-ARD board. # NOTE the image (ipl-ifs-mx6x-sabreARD.bin) must be built as binary, i.e. [virtual=armle,binary] in the buildfile set -v # Convert IPL into BINARY format ${QNX_HOST}/usr/bin/ntoarmv7-objcopy --input-format=elf32-littlearm --output-f...
true
75337f0579b40440d88ab0d871ae569503334a50
Shell
Avin-ash/Inferno
/ros_config/melodic/uninstall_ros.sh
UTF-8
435
2.96875
3
[]
no_license
# Made by Vishal Sharma (https://github.com/VishalSharma0309) #!/bin/bash # script to uninstall ROS from the system completely and saving the current workspace in the process #use sudo to run this command if [ "$(id -u)" -ne 0 ] then echo "Must be root" exit fi echo "Removing ROS-melodic" sudo apt-g...
true
7bd4101ff4f2cc30d28ae50efd1a820de0bc9acb
Shell
smarch730/data-center-helm-charts
/src/test/scripts/helm_uninstall.sh
UTF-8
2,153
3.453125
3
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -x source "$1" || exit 1 cd "$(dirname "$0")" || exit 1 RELEASE_PREFIX=$(echo "${RELEASE_PREFIX}" | tr '[:upper:]' '[:lower:]') PRODUCT_RELEASE_NAME=$RELEASE_PREFIX-$PRODUCT_NAME POSTGRES_RELEASE_NAME=$PRODUCT_RELEASE_NAME-pgsql FUNCTEST_RELEASE_NAME=$PRODUCT_RELEASE_NAME-functest ELASTICSEA...
true
7c1eb309250c1f066394fe2ee627ef8081a2eecc
Shell
aur-archive/ryzom-client
/PKGBUILD
UTF-8
1,070
2.71875
3
[]
no_license
# $Id$ # Maintainer : Robert Boles <lakeconnection@outlook.com> # A.K.A. Homeless pkgname=ryzom-client pkgver=2.1.0 pkgrel=5 pkgdesc="Ryzom Official Client - Science-fantasy MMORPG - FREE TO PLAY" arch=('i686' 'x86_64') url=('http://www.ryzom.com/') license=('AGPL3' 'CCPL:by-sa') install=ryzom.install makedepends=('p7...
true
d678cf8dec41f8a698f535e73d65dd718e5a3126
Shell
integralstor/integralstor_gridcell
/scripts/shell/salt-service.sh
UTF-8
239
2.9375
3
[]
no_license
#!/bin/bash salt=$(/sbin/service salt-minion status) if [ "$salt" == "salt-minion dead but pid file exists" ]; then /sbin/service salt-minion restart fi if [ "$salt" == "salt-minion is stopped" ]; then /sbin/service salt-minion start fi
true
e506a21cd92a41f58da6e4c7ff36ca7ccb44b8f2
Shell
seufster71/toasthub-db
/cborgtech-db/monolith/tradeanalyzer/custom_drop_keep_asset_stats.sh
UTF-8
2,856
2.640625
3
[]
no_license
#!/bin/sh load_base(){ echo "Loading trade_db.sql to ${1}" if [ -f ../../toasthub-trade/trade_db.sql ]; then mysql -h ${2} -u ${3} --password=${4} ${1} < ../../toasthub-trade/trade_db.sql else echo "ERROR **** File trade_db.sql is missing ***" fi echo "Loading alg_LBB_db.sql to ${1}" if [ -f...
true
8a8d0757d196287eac60de3cb9bbb4fb404878f0
Shell
utopia-rise/godot-kotlin-jvm
/harness/tests/run_godot_kotlin_tests.sh
UTF-8
570
2.9375
3
[ "MIT" ]
permissive
$1 -s --headless --path $PWD addons/gut/gut_cmdln.gd | ( no_error="false"; jvm_closed="false"; while read -r line do echo "$line" if echo "$line" | grep -q "Failing tests 0"; then no_error="true" fi if echo "$line" | grep -q "Shutting down JVM ..."; then jvm_closed="true" fi done...
true
9eb50aad121a090d75c8f9de8c8e5a711bc608ea
Shell
alanpazetto/mac-config
/.bash_profile
UTF-8
1,762
2.96875
3
[]
no_license
export CLICOLOR=1 export NVM_DIR="$HOME/.nvm" [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm [ -s "/usr/local/opt/nvm/etc/bash_completion" ] && . "/usr/local/opt/nvm/etc/bash_completion" # This loads nvm bash_completion # Add Visual Studio Code (code) export PATH="$PATH:/Ap...
true
5146ea522535200fdebfab8f25b2a537cba5339a
Shell
anjali009/Shell-scripting
/Lab1-4.sh
UTF-8
114
2.765625
3
[]
no_license
#!/bin/bash echo "First string" read fs echo "Second string" read ss ts=$fs$ss echo "Concatenated string is $ts"
true
3366d940c9439e71633f37bd7ee8cdfd80c0583a
Shell
fancyremarker/gentlemanjerry
/test/run_tests.sh
UTF-8
396
2.78125
3
[]
no_license
#!/bin/bash set -o errexit set -o nounset set -o pipefail SSL_TEST_CLASS="SslTest" # Install full JDK to compile SSL test. Purge it before we run the tests, # to ensure Gentleman Jerry can still boot (!). apk-install "${JDK_VERSION}" /usr/lib/jvm/default-jvm/bin/javac "/tmp/test/${SSL_TEST_CLASS}.java" apk del --pur...
true
d0e156f15183cb0980c20403a9ae280698534a55
Shell
asciamanna/configs
/win/notes_sync
UTF-8
286
2.9375
3
[]
no_license
#!/usr/bin/env sh NOTES_PATH="/mnt/c/Users/anthony/documents/git/obsidian-notes/" cd "$NOTES_PATH" git pull CHANGES_EXIST="$(git status — porcelain | wc -l)" if [ "$CHANGES_EXIST" -eq 0 ]; then exit 0 fi git add .; git commit -q -m "$(date +"%Y-%m-%d %H:%M:%S")"; git push -q
true
06ad0cb511002dc018c931c41c91b60b0ceb008b
Shell
jcpunk/puppet-koji
/files/root/bin/backup_database
UTF-8
127
2.578125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash DAY=$(date +%a) mkdir -p /var/lib/pgsql/backups pg_dumpall | bzip2 >/var/lib/pgsql/backups/${DAY}.pgdumpall.bz2
true