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
b2603d7ccc4adaeb7ee7cf79dc0adde94174591e
Shell
MissPixels/prospect-bot
/dev
UTF-8
306
2.640625
3
[]
no_license
#!/bin/bash source ./.env KEY=${KEY:-"service-account.json"} export GOOGLE_APPLICATION_CREDENTIALS="`pwd`/${KEY}" export FLASK_ENV=development export FLASK_APP=main.py echo "Service account key file: ${GOOGLE_APPLICATION_CREDENTIALS}" echo "Starting server" flask run --host=$APP_HOST --port=$APP_PORT
true
c6f5fd4313ec0fe99348ebc94ea495c42fcda671
Shell
KoichiYasuoka/CygTorch
/installer/pytextspan.sh
UTF-8
1,372
3.078125
3
[ "BSD-3-Clause" ]
permissive
#! /bin/sh # Pytextspan installer for Cygwin, which requires: # python37-devel python37-pip python37-wheel # gcc-g++ git curl case "`uname -a`" in *'x86_64 Cygwin') C=x86_64 ;; *'i686 Cygwin') C=i686 ;; *) echo Only for Cygwin >&2 exit 2 ;; esac D=/tmp/pytextspan$$ mkdir $D cd $D PATH="$D/.cargo/bin:$PATH" USERP...
true
6d658353b3ded3f5428e8fe739ba3e7cea7f8bd3
Shell
kuainiao/game_server
/script/run.sh
UTF-8
1,812
3.546875
4
[ "MIT" ]
permissive
#!/usr/env sh # author x-mars source `pwd`/conf.sh echo "start game server..." fun_script(){ if [ "${IS_IS_CROSS}" == "1" ]; then echo "生成跨服启动脚本..." fun_center_script else echo "生成游戏服启动脚本..." fun_game_script fi } fun_game_script(){ rm -rf game_*.sh cat > game_init....
true
f5ba58040ef0c097af1852efd0c0430ce9cfb6d5
Shell
kevingbrady/PTPTiming
/cpp/PTPMonitor/ptpd_running
UTF-8
220
3.265625
3
[]
no_license
#!/bin/bash # Check if ptpd is running # -x flag only match processes whose name (or command line if -f is # specified) exactly match the pattern. if ! pgrep -x "ptpd" > /dev/null then echo "0" else echo "1" fi
true
8b6042503a717f74782989a07dce65efb0e2b93e
Shell
svella9/Mini-C-Compiler
/Mini-C-Compiler/run.sh
UTF-8
945
3.125
3
[]
no_license
#!/bin/bash if [ $# -eq 0 ] then echo "Please Enter name of the Source file" exit fi echo "Lexical Analysis" echo "---------------------------------------------------------------------------------------------------------------" python remove_comments.py $1 sleep 1 echo "----------------------------------------...
true
f54b8c32981c7c41a3200dc923e6a9451107e74f
Shell
killthejava/mis-scripts
/scripts/extras.sh
UTF-8
2,009
3.3125
3
[ "MIT" ]
permissive
#!/bin/bash # # extras.sh ~ Instalador de paquetes de uso general # # Descripción: # Este script instala paquetes de uso general no incluidos por defecto. # # Configuración: # - VIRTUALBOX_VER: Versión de VirtualBox. # VIRTUALBOX_VER=5.1 # Backup echo "*** Realizando copia de respaldo de sources.list..." sudo cp...
true
500a906b1153de8b66d5cfec1333702304e85385
Shell
IBMProjectEventStore/db2eventstore-IoT-Analytics
/data/NFS_setup.sh
UTF-8
2,606
4.3125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash -x NAMESPACE="dsx" RELEASE_NAME="eventstore" DATA_PATH="/ibm" function usage() { cat <<-USAGE #| fmt Description: This script provision an NFS server on an DSX cluster where EventStore 2.0 is already deployed. The script will mount the NFS server to the designated external table mount point on each clust...
true
9584826272076c790a3c4b64833c8071549c7aea
Shell
richfish/gofp
/gofp_backend/auth__onboarding-flow__dashboard-vertical-app-bar__search-with-splash__map-view__profile__conversations__soft-approval__checkout-subscription-stripe-paypal/final_file_iterations.sh
UTF-8
764
2.75
3
[]
no_license
APP_NAME=$1 if [ "$1" = "" ]; then echo "you need to give an app name" exit 1 fi echo "Copying final routes for $APP_NAME" cp final/final_routes.rb $APP_NAME/config/routes.rb echo "Copying final user.rb" cp final/user.rb $APP_NAME/app/models/user.rb echo "Copying final mailers" cp -r final/all_mailers/mailer_vie...
true
f195813063dad35d04efd918d0b75dc58d20bbfc
Shell
marstool/qwp201708
/scripts.Hugo/content/20170607_65ASQBeAdDc.info_dir/20170607_65ASQBeAdDc.info.json.sh2
UTF-8
2,103
2.640625
3
[]
no_license
#!/bin/bash rm -f \ 20170607_65ASQBeAdDc.info.json.vo.* \ 20170607_65ASQBeAdDc.info.json.ao.* \ 20170607_65ASQBeAdDc.info.json.bo.* \ 20170607_65ASQBeAdDc.info.json.wav rm -fr 20170607_65ASQBeAdDc.info_dir mkdir -p 20170607_65ASQBeAdDc.info_dir mv 20170607_65ASQBeAdDc.info.j...
true
9a1e40ee4d8ffc24830040b2d19f6ad1849f2e61
Shell
petronny/aur3-mirror
/elliptics/PKGBUILD
UTF-8
905
2.515625
3
[]
no_license
pkgname=elliptics pkgrel=1 pkgver=2.13.0.2 pkgdesc="A new DHT implementation from the author of the in-kernel distributed filesystem POHMELFS" arch=('i686' 'x86_64') url="http://ioremap.net/projects/elliptics" license=('GPL') makedepends=('make' 'gcc' 'git' 'autoconf' 'automake') optdepends=('fcgi' 'tokyotyrant' 'libat...
true
07fa634068d5aeec4426c507358e9a2997117464
Shell
DFX339/Git-Hook
/pre-commit
UTF-8
1,894
3.40625
3
[]
no_license
#!/bin/sh #execute shell before commit,check the code mvn clean package #得到项目打包结果,打包成功 执行结果为0;打包不成功 执行结果为非0 package_result=$? if [ $package_result -eq 0 ] then echo "项目执行mvn清空、打包成功,继续执行findbugs检测" mvn findbugs:check #得到findbugs检测结果,没有bug 执行结果为0;有bug 执行结果为非0 findbugs_result=$? if [ $findbugs_result -eq 0 ] ...
true
f79df6bac63a36ff5f4e10310c1478569d5ad43f
Shell
jdidion/atropos
/paper/workflow/run-workflows.sh
UTF-8
879
3.734375
4
[ "CC0-1.0", "MIT", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/bash # Run the nextflow workflows. Usage: # ./run-workflows.sh -p <local|cluster> [-w <workdir>] [-n <nextflow exe>] OPTIND=1 # Reset in case getopts has been used previously in the shell. NEXTFLOW=nextflow # Initialize our own variables: while getopts "p:w:n:" opt; do case "$opt" in p) PROFILE=$OPTA...
true
b627832cd4e43563734eb47cb5249bb66eaa177e
Shell
RohitSL/vBigDataLab
/installAndStartLab.sh
UTF-8
2,331
3.5625
4
[ "MIT" ]
permissive
#Remove existing master echo "Stopping and removing master ..." docker stop master|| true && docker rm master || true #setting count of workers if [ -z "$1" ] then workerCount=1 else workerCount=$1 fi echo "Creating $workerCount worker nodes and 1 master node..." for (( a=1; a<=$workerCount;...
true
f0a040cc668a7a2599ba19e7a26c7131d1aaf9c4
Shell
benjaminpettus/bash_unix
/command-line/2_2.sh
UTF-8
605
3.375
3
[ "MIT" ]
permissive
#!/bin/bash echo echo '>>> 2_2 Listing <<<' echo 'Exercise 1 :: What’s the command to list all the non-hidden files and directories that start with the letter “s”?' echo echo 'Answer 1 :: ls s*' echo ls s* echo 'Exercise 2 :: What is the command to list all the non-hidden files that contain the string “onnet”, long-fo...
true
95cb408cb1affc25780b36ec8fd548a51d9ff87d
Shell
thewaifuproject/waifuchat
/kaldi.sh
UTF-8
1,989
2.921875
3
[ "Unlicense" ]
permissive
#!/bin/bash # Copyright 2017 Johns Hopkins University (Author: Daniel Garcia-Romero) # 2017 Johns Hopkins University (Author: Daniel Povey) # 2017-2018 David Snyder # 2018 Ewald Enzinger # Apache 2.0. # # See ../README.txt for more info on data required. # Results (mostly equal ...
true
17418e4282783c3dac8a71e592b777a866347fb2
Shell
mcleanmusa/disk-check-tools
/audit-sunos.disk-count.sh
UTF-8
451
2.765625
3
[]
no_license
#!/bin/sh SERVER_LISTS_DIR=/home/a-mcleanma/server_lists #for i in `cat $SERVER_LISTS_DIR/sunos-megaraid.serverlist` #do # echo $i # rosh -n $i -l root "/opt/MegaRAID/CLI/MegaCli -PDList -aALL | grep Raw | grep 279.396 | wc -l | grep -v 4" #done for i in `cat $SERVER_LISTS_DIR/sunos-storman.serverlist` do echo $i...
true
782c800e735ebee399597e0c28163837f9934064
Shell
tomohiroando/dotfiles
/install.sh
UTF-8
236
3.40625
3
[]
no_license
#!/bin/bash lnif() { if [ ! -e $2 ] ; then ln -s $1 $2 fi } for f in .??* do [[ "$f" == ".git" ]] && continue [[ "$f" == ".DS_Store" ]] && continue lnif $PWD/$f $HOME/$f done lnif $PWD/antigen.sh $HOME/antigen.sh
true
509c70bb282083829bdc3f14d38b2a3d69821d4e
Shell
mahdiheydari/reviewECTools
/gnuplotScripts/nga50.sh
UTF-8
3,489
2.796875
3
[]
no_license
#!/bin/bash COUNTER=1 while [ $COUNTER -lt 9 ]; do name="genomeName" minYrange=0 maxYrange=20 case "$COUNTER" in "1") name="Bifidobacterium dentium" ;; "2") name="E. coli str. K-12 substr. DH10B" ;; "3") name="E. coli str. K-12 substr. MG1655" ;; "4") name="Salmonella enterica" ;; "5") name="Pseud...
true
9c6f2acecb68fc04225e5e340c977651515a05c5
Shell
fluent-qa/Go-Steps
/init_other_gitpich.sh
UTF-8
528
3.453125
3
[]
no_license
#!/usr/bin/env bash BRANCH_NAME=$1 INDEX=$2 README_UPDATE=$3 if [ $README_UPDATE ] then URL="https://gitpitch.com/allroundtesters/Go-Steps/$BRANCH_NAME" echo "- $INDEX.[$BRANCH_NAME](${URL})" >> README.md git add . git commit -m "add new notes to README" git push fi echo "start checkout a new b...
true
c68f029bc0153682cfb768d2f91b51fa5331736b
Shell
renasboy/xLab
/snd/encode
UTF-8
186
2.84375
3
[]
no_license
#!/bin/bash for file in *mp3; do ogg=${file/.mp3/.ogg} [[ -f $ogg ]] && continue; mplayer $file -ao pcm oggenc -Q -o $ogg audiodump.wav rm -f audiodump.wav done
true
87b237d270601cce4e6d60b0a8ba3dfc3b6f3719
Shell
bcbrockway/es-image
/run.sh
UTF-8
5,353
3.78125
4
[]
no_license
#!/bin/bash set -ex export POST_TERM_WAIT=${POST_TERM_WAIT:-15} # https://stackoverflow.com/questions/1527049/how-can-i-join-elements-of-an-array-in-bash function join_by { local IFS="$1"; shift; echo "$*"; } # SIGTERM-handler term_handler() { if [ $PID -ne 0 ]; then set +e kill -15 "$PID" # SIGTERM w...
true
0110cbc8e0e67cf924679608783b6b10eba2b8ef
Shell
jmzaleski/unix
/bin/j9bin/j9backup.bash
UTF-8
724
3.078125
3
[]
no_license
#!/bin/bash j9backup_nonobj(){ if test -z $* then dir=. else dir=$1 fi fn=~/`date +j9backup.%h%d.tar.gpg` echo hit return to backup $dir to $fn. read junk case $junk in [nN]*) exit 2 ;; esac /bin/find $dir \ -type f \ -not -path './98ddk/*' \ -not -path './j9.devenv/*' \ -not -path './j9...
true
0784584c13fc0396e73d97dd6dbc4d8d28ece0ff
Shell
rosevalfbj/shellscript
/check_processMemJava.sh
UTF-8
2,475
4.09375
4
[]
no_license
#!/bin/bash while [ $# -gt 0 ]; do case $1 in "-p") shift PROCESS=$1 ;; "-v") shift VLE=$1 ;; "-w") shift ...
true
4205b250e21729bb05c96a9f9c542c21418d73c3
Shell
yasukitachibana/JETSCAPE_V1_PPM_REVISED
/external_packages/get_smash.sh
UTF-8
937
3.28125
3
[]
no_license
#!/usr/bin/env bash ############################################################################### # Copyright (c) The JETSCAPE Collaboration, 2018 # # For the list of contributors see AUTHORS. # # Report issues at https://github.com/JETSCAPE/JETSCAPE/issues # # or via email to bugs.jetscape@gmail.com # # Distributed...
true
91e8c2c19e8b73387bbd6048e031c9ad5c723b0f
Shell
benadis/spttx
/settings.sh
UTF-8
7,459
3.1875
3
[]
no_license
#!/bin/bash clear sed -i 's/[[:blank:]]*$//' data echo lang=$(grep "languageCode" data | sed 's/.* //') if [[ "$lang" == "ru-RU" ]]; then lng="русский" fi if [[ "$lang" == "kk-KK" ]]; then lng="казахский" fi nums=$(grep "rawResults" data | sed 's/.* //') if [[ "$nums" == "false" ]]; then nm="цифрами" fi if [[ "$num...
true
c9ebbec222ed6179b2c19a19dde37df8e3159721
Shell
envoyproxy/envoy
/support/hooks/prepare-commit-msg
UTF-8
1,017
4.09375
4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/usr/bin/env bash # # A git commit hook that will automatically append a DCO signoff to the bottom # of any commit message that doesn't have one. This append happens after the git # default message is generated, but before the user is dropped into the commit # message editor. # # To enable this hook, run `bootstrap`,...
true
450eb516d28967b1cca0c591c41c3146be0e82b7
Shell
yangliu/docker-samba-client
/smb-client.sh
UTF-8
1,502
3.859375
4
[ "MIT" ]
permissive
#!/bin/bash set -e mounts="${@}" targets=() num=1 credentials_file_base="/root/smbcredentials" for mnt in $mounts; do # parse smb url if [[ $mnt == smb://* ]]; then # remove smb:// mnt=${mnt:6} # test if we have domain domain=$(echo $mnt | awk -F ';' '{print $1}') if [ "$domain" != "$mnt" ...
true
bf7208f43e972ffd7db9de6152670e3fc434308c
Shell
AdamaJava/adamaperl
/distros/admin/src/apgi_2057.sh
UTF-8
3,251
3.296875
3
[ "MIT" ]
permissive
#!/bin/bash ########################################################################### # # Script: apgi_2057.sh # Creator: John Pearson # Created: 2012-08-18 # # This is a bash script for running qBamMaker.pl to create exome and # genome level BAMs for APGI_2057 # # $Id: apgi_2057.sh 2971 2012-09-10 09:30:31Z ...
true
ecf8f5a35a094da97d019993e190ad495185b444
Shell
mail2thota/ansible_provision
/ansible/mdr_cluster/roles/hdp_test/tasks/tests/spark/spark_test.sh
UTF-8
489
2.546875
3
[]
no_license
#!/bin/bash cd /home/hdfs/ mkdir -p /home/hdfs/spark/output hdfs dfs -mkdir -p /spark/input hdfs dfs -mkdir -p /spark/output hdfs dfs -put /home/hdfs/spark/inputfile.txt /spark/input namenode_host=$1 spark-submit --master yarn --deploy-mode client --executor-memory 1g \ --name wordcount --conf "spark.app.id=wordcount" ...
true
2a0d13cbd1df03d7e75d857d1fc74c8b0c0aa563
Shell
slewsystems/scripts
/git/branch-tidy.sh
UTF-8
10,904
3.890625
4
[]
no_license
#!/usr/bin/env bash set -e # --------------------------- # Author: Brandon Patram # Date: 2018-08-13 # # Description: Find local branches that are merged, have been squashed into # a single commit or branches that have been deleted on the remote and then # prompt to delete them or all of them. # # Usage: branch-tidy.s...
true
89aa992a1bafe481a551392e5150ee468840c772
Shell
mpaulon/configs
/.zshrc
UTF-8
2,407
2.640625
3
[]
no_license
# prompt theme configuration #~# autoload -Uz promptinit #~# promptinit setopt prompt_subst autoload -Uz vcs_info zstyle ':vcs_info:*' stagedstr 'M' zstyle ':vcs_info:*' unstagedstr 'M' zstyle ':vcs_info:*' check-for-changes true zstyle ':vcs_info:*' actionformats '%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f ' zstyle ':vcs_...
true
c069913f3d4758b93ed6b4d38e6ffa3dec4e4a69
Shell
maharshi365/Capstone
/install.sh
UTF-8
326
2.703125
3
[]
no_license
#!/bin/bash if [ $(dpkg-query -W -f='${Status}' python3.5 2>/dev/null | grep -c "ok installed") -eq 0 ]; then apt install python3.5-dev; fi if [ $(dpkg-query -W -f='${Status}' python3-pip 2>/dev/null | grep -c "ok installed") -eq 0 ]; then apt install python3-pip; fi $(pip3 install numpy opencv-python flask gpio...
true
5a9b2f2fe91f02c4cd8c2ee5622cf15e12b5d008
Shell
crafterio/python-docker
/2.7/docker-entrypoint.sh
UTF-8
1,153
3.34375
3
[]
no_license
#!/bin/bash PRE_DIR="${CODE_DIR}/.crafter/scripts/api/pre" OVERRIDE_DIR="${CODE_DIR}/.crafter/scripts/api/override" POST_DIR="${CODE_DIR}/.crafter/scripts/api/post" # Pre Reqs User Scripts if [[ -d ${PRE_DIR} ]]; then SCRIPTS=$(find ${PRE_DIR} -type f -name '*.sh') if [[ ! -z ${SCRIPTS} ]]; then for script i...
true
0f32acf0fb24fcd8af69a386d43fd108648a98cf
Shell
wrought/ckan_install
/install.sh
UTF-8
5,399
3.140625
3
[]
no_license
#!/bin/bash #################### # CKAN installation script # based on http://docs.ckan.org/en/master/install-from-source.html #################### # @TODO Get these values as flags dbpassword='abcde12345' readonlydbpassword='abcde12345' jettyhost='localhost' jettyport='8983' #################### # install packages...
true
a49313c5c6499146181a673c174eb847ace8fc83
Shell
DreamerDDL/noc
/share/linux/gentoo/init.d/noc-launcher.sh
UTF-8
856
3.15625
3
[ "BSD-3-Clause" ]
permissive
#!/sbin/runscript # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: DAEMON=noc-launcher depend() { use net dns logger after postgresql-9.0 before apache2 } checkconfig() { if [ ! -f /opt/noc/etc/noc.conf ] ; then eerror "Please create /opt/noc...
true
203fc003ce81f9e58ed6e93a27f614569db192f4
Shell
benCoomes/teamKMBR
/environment_modules_install.sh
UTF-8
558
2.59375
3
[]
no_license
#!/bin/bash yum install -y tcl mkdir /software mkdir /software/Modules mkdir /software/Modules/src cp /teamKMBR/modules-tcl-1.775.tar.gz /software/Modules/src cd /software/Modules/src gunzip -c modules-tcl-1.775.tar.gz | tar xvf - cd modules-tcl-1.775 ./configure --prefix=/software/Modules \ --modulefiles...
true
b17a678ab020bf1e60e0bce2aa2682a1ac3cb4b4
Shell
42n4/rolog
/src/swipl-7.7.10/packages/ssl/tests/mkcerts.sh
UTF-8
7,870
3.546875
4
[ "BSD-2-Clause" ]
permissive
#!/bin/bash rm -rf test_certs mkdir test_certs # Emulate seq(1) as much as we need it, which is not available for # OpenBSD. fseq() { from=$1 to=$2 while test $from -le $to; do echo $from from=$(($from+1)) done } # First make the root CA mkdir -p test_certs/rootCA/{certs,crl,newcerts,private} touch tes...
true
ba2c3417ebacf34578612c597a96004501c88579
Shell
jun108059/til
/deploy.sh
UTF-8
406
2.75
3
[ "MIT" ]
permissive
#!/usr/bin/env sh # 오류 발생시 중단한다. set -e # 문서(md)를 build하여 html로 만든다. yarn docs:build # build가 output된 폴더로 이동한다. cd docs/.vuepress/dist # init + add + commit을 해준 다음 git init git add -A git commit -m '[Deploy] Vuepress' # Deploying to https://jun108059.github.io/til git push -f https://github.com/jun108059/til.git...
true
4ec170b543c1bcd9fd782bc59d4a2315a0e7a228
Shell
bshastry/fuzzer-test-suite
/harfbuzz/build.sh
UTF-8
715
2.921875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Copyright 2017 Google Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); . $(dirname $0)/../common.sh git clone --depth 1 https://anongit.freedesktop.org/git/harfbuzz.git BUILD build_fuzzer set -x cd BUILD # Build the library. libtoolize --force $HOME/local/bin/au...
true
4a53490620170998ea9153c7440ccd1b64cd39a9
Shell
amuraru/fuse4j
/extra/hdfs.sh
UTF-8
1,975
3.53125
4
[]
no_license
#!/bin/bash # # Usage: ./mount_hdfs.sh [options] /mount/point # # The Hadoop configuration settings (i.e. hadoop-site.xml) is picked up # via the classpath below: (e.g. from ${HADOOP_HOME}/conf) # this="$0" while [ -h "$this" ]; do ls=`ls -ld "$this"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '.*/.*'...
true
9121b39902e40a505ef01cb2b55ccce2dd74f2be
Shell
chloewakefieldd/bash_profile
/.bash_profile
UTF-8
22,006
3.125
3
[]
no_license
# bash prompt (set to path by default) PS1="\w " # set vars WORKSPACE=~/workspace # print something alias cl="clear" alias bpcat="cat ~/.bash_profile" bpgrep() { STRING=$* && grep $STRING ~/.bash_profile ; } alias bpgp="bpgrep" nl() { echo ; } alias l="ls" alias ll="ls -la" # git alias gs="git status" alias g...
true
1c4e7d9793f36eb4639e60378d60c8bc81058c51
Shell
dimkr/rlsd
/packages/giflib.sh
UTF-8
836
3.171875
3
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
PACKAGE_VERSION="5.1.0" PACKAGE_SOURCES="http://downloads.sourceforge.net/project/giflib/giflib-$PACKAGE_VERSION.tar.bz2" PACKAGE_DESC="A library for handling of GIF images" build() { [ -d giflib-$PACKAGE_VERSION ] && rm -rf giflib-$PACKAGE_VERSION tar -xjvf giflib-$PACKAGE_VERSION.tar.bz2 cd giflib-$PACKAGE_VERSIO...
true
024ae7c9b02dc03be450ff820c7f2c80aa8f98e2
Shell
kumarsai234/Train-InfraOps
/dockerfiles/builder/get_application_version.sh
UTF-8
363
3.21875
3
[]
no_license
#!/bin/sh #!/bin/sh if [ -z "$1" ]; then FOLDER= else FOLDER=$1/ fi if [ -f "${FOLDER}pom.xml" ]; then cat ${FOLDER}pom.xml | oq -i xml -r '.project.version' | cut -d'-' -f1 elif [ -f "${FOLDER}package.json" ]; then cat ${FOLDER}package.json | jq -r '.version' elif [ -f "${FOLDER}VERSION" ]; then ...
true
543fdcf58f8f3efe332b88e86ee59180a9ccfd1a
Shell
bluaxe/TNN
/tools/hooks/add_hooks.sh
UTF-8
236
2.765625
3
[ "BSD-3-Clause" ]
permissive
SRC_HOOKS_DIR=$(pwd) DOT_GIT_DIR=${SRC_HOOKS_DIR}/../../.git DOT_GIT_HOOKS_DIR=${DOT_GIT_DIR}/hooks if [ ! -d ${DOT_GIT_HOOKS_DIR} ]; then mkdir ${DOT_GIT_HOOKS_DIR} fi cp ${SRC_HOOKS_DIR}/pre-commit ${DOT_GIT_HOOKS_DIR}/pre-commit
true
7fb71b9fd18926ae9e36c545e6adfed93cbe6b56
Shell
MaudGautier/detect-recombinants-in-F1
/src/config/01_fastq_processing.config
UTF-8
749
3.546875
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # Source project configuration file config_file=$(pwd)/src/config/example-project.config source $config_file # Define parameters adapter=AGATCGGAAGAGC FASTQC_DIR=$FASTQ_NO_ADAPTER/Quality_FastQC if [ ! -d $FASTQC_DIR ] ; then mkdir $FASTQC_DIR ; fi script_name=01_fastq_processing.bash # Run on al...
true
9bef35d90d6fa1ed5e470588f24bb3e26f927a08
Shell
jssong-lab/CRISPR-SKIP_AG
/Scripts/RNA_Alignment/RNA_Alignment.sh
UTF-8
1,261
3.171875
3
[]
no_license
#!/bin/bash #SBATCH -p intelsong #SBATCH --mem=8g #SBATCH -N 1 #SBATCH -n 1 #SBATCH -J RNA_Alignment #SBATCH -D /home/groups/song/songlab2/alanluu2/CRISPR-SKIP_AG/Scripts/RNA_Alignment #SBATCH -o /home/groups/song/songlab2/alanluu2/CRISPR-SKIP_AG/Logs/RNA_Alignment/RNA_Alignment-%A_%a.out #SBATCH -e /home/groups/song/s...
true
edd067811d5685d40d7f335f10181e529aa9ef4a
Shell
ClickHouse/ClickHouse
/tests/queries/0_stateless/01053_ssd_dictionary.sh
UTF-8
6,129
2.75
3
[ "Apache-2.0", "BSL-1.0" ]
permissive
#!/usr/bin/env bash # Tags: no-parallel, no-fasttest # Tag no-fasttest: this test mistakenly requires acces to /var/lib/clickhouse -- can't run this locally, disabled CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) # shellcheck source=../shell_config.sh . "$CURDIR"/../shell_config.sh USER_FILES_PATH=$(clickhouse...
true
e7c6b5cf5989283dce98f2cff20e2ca19ea92fda
Shell
nikeethr/data_engineering
/projects/cylc_playground/docker/cylc_suite_host/my_suites/helpers/generate_runtime_tasks.sh
UTF-8
554
2.59375
3
[]
no_license
#!/bin/sh tasks=( awral_sim catchment_deciles catchment_extraction day_deciles day_to_month latest_multi_month month_deciles month_to_date_deciles month_to_year reg_user_products rootzone_soil_moisture scale_soil_moisture update_climate update_website_prod up...
true
3d55927cbb1130c43d2c294dc54b4c31590506c5
Shell
hackenfreude/scripts
/getgolang
UTF-8
1,034
3.6875
4
[]
no_license
#!/usr/bin/env bash logfile="${HOME}/${0}.log" GO_VERSION='1.6' function checksudo { if [[ $(id --user) == 0 ]] then echo 'You are running as root. Run this as your normal user; the script will prompt for a password only when necessary.' exit 1 fi } function preplogs { sudo rm --force $logfile } function ge...
true
c67ee468e5ae1ba23b398af3ce6833e510d79cd5
Shell
raidermh/BigData-lab3
/runApp_script.sh
UTF-8
479
3.046875
3
[]
no_license
#!/bin/bash if [[ $# -ne 4 ]] ; then echo 'Please! Input 4 args: 1 - OpenApi Token 2 - Ticker Name 3 - Interval Time 4 - Boolean Is Sandbox? ' exit 1 fi # Set Env JAVA_HOME export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::") # Build cd ~/BigData-lab3 mvn clean package # Run App java -jar ~/Bi...
true
8442ac6bc0b874ea321123961d2b1e003878a7c7
Shell
The-Bioinformatics-Group/skeletonema_pop_gen
/strain_data/realigner.sh
UTF-8
1,383
2.734375
3
[]
no_license
#!/bin/bash #Identify regions in need of realignment: java -Xmx2g -jar ../scripts/GenomeAnalysisTK_2_5.jar \ -T RealignerTargetCreator \ -R ./long_fwrev_fixedheaders_c44fix_3discarded_7_mar.fasta \ -o merged_output.intervals \ -I merged.bam # defaults for optional parameters: # --minReadsAtLocus N [the ...
true
6eaf322d1189eb40c5997ef435e9cca66c10d0e1
Shell
ediphy-azorab/mirror
/mirror
UTF-8
381
3.109375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash MAIN=mirror.Mirror JAR=mirror.jar OPTS="-Xmx2G -XX:+HeapDumpOnOutOfMemoryError" if [ -e ${SCRIPT_DIRECTORY}/${JAR} ]; then java $OPTS -cp ${SCRIPT_DIRECTORY}/${JAR} $MAIN "$@" elif [ -e ${SCRIPT_DIRECTORY}/build/libs/${JAR} ]; then java $OPTS -cp ${SCRIPT_DIRECTORY}/build/libs/${JAR} $MAIN "$@" else ...
true
e5d5f86c09b2538b59ef49d6281748b6da53bf44
Shell
arangodb-helper/build-docker-containers
/distros/buildContainers.sh
UTF-8
1,305
3.890625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash function buildAndPushContainer() { REGISTRY=$1 LABEL=$2 DIRECTORY=$3 BUILDNRUN=$4 #docker build -t ${LABEL}/${BUILDNRUN} https://github.com/arangodb-helper/build-docker-containers.git#master:distros/${DIRECTORY}/${BUILDNRUN} docker build -t ${LABEL}/${BUILDNRUN} ${WD}/${DIRECTORY}...
true
cc49075082f5af69d07a4d27dc783e5c2b9b23fe
Shell
AlexeiKharchev/bash_functions_library
/lib/system/_get_CPU_cores.sh
UTF-8
1,490
3.78125
4
[ "MIT" ]
permissive
#! /dev/null/bash [[ "$BASH_SOURCE" =~ /bash_functions_library ]] && _bfl_temporary_var="_GUARD_BFL_$(echo "$BASH_SOURCE" | sed 's|^.*/lib/\([^/]*\)/\([^/]*\)\.sh$|\1\2|')" || return 0 [[ ${!_bfl_temporary_var} -eq 1 ]] && return 0 || readonly $_bfl_temporary_var=1 #----------------------------------------------------...
true
1cce9ff735b4ea452a24b843148eb91529f57d1b
Shell
jofe05/scripts-slurm
/localalloc/localalloc.sh
UTF-8
1,056
2.703125
3
[]
no_license
#!/bin/bash #file="NIST7086_CGTACTAG_L002_R2_001" file="gcat_set_039_1" #!/bin/bash number_runs=10 #function run run() { number=$1 shift for i in `seq $number`; do $@ done } echo "Submitting jobs for BWA-MEM: Batman/Catwoman" run $number_runs sbatch mem.localalloc.batcat.sh $file 1 echo ...
true
7b392b8d51b0bcff3d984398acc1058c07ccf4dc
Shell
brendanorourke/dotfiles
/source/40_ubuntu.sh
UTF-8
645
3.171875
3
[ "MIT" ]
permissive
# Abort if not Ubuntu is_ubuntu || return 1 # Package management alias update="sudo apt-get -qq update && sudo apt-get upgrade" alias install="sudo apt-get install" alias remove="sudo apt-get remove" alias search="apt-cache search" # Clipboard management alias pbcopy='xclip -i -selection clipboard' alias pbpaste='xcl...
true
96866381e6d4651e1d1f1aac7e6a9eb734d17417
Shell
LeoDemon/shelllab
/for_in.sh
UTF-8
610
3.25
3
[]
no_license
############################### #测试shell编程中的for_in循环 #add by leodemon #2013-02-05 16:13:55 #format like this: #for 无$变量 in 字符串 #do # $变量 #done ############################### #!/bin/sh #step1:读取程序变量 varnums="0 1 2 3 a b c" for i in $varnums do echo "i=="$i echo "0"$i>./log/for_in_0$i.log done #step2:读取当前路径下到...
true
3df9d691aed70cdf9d28a8b93ec60b01be455043
Shell
franklinfreitas/dockerfiles
/grunt/buildGruntDebian.sh
UTF-8
872
3.140625
3
[ "MIT" ]
permissive
#!/bin/bash # Build Grunt Image echo "+------------------------------------------+" echo "| Build Grunt Docker Image |" echo "+------------------------------------------+" image_name="grunt" dockerfile="grunt.debian.dockerfile" build_command="--file $dockerfile --force-rm -t $image_name ." echo "doc...
true
a4a952e8f68486fc3d48c77880136e76f5aa1e53
Shell
fuel-infra/jenkins-jobs
/servers/patching-ci/7.0/builders/mos.test.patching.fetch_gerrit_commits.sh
UTF-8
774
3.0625
3
[]
no_license
#!/bin/bash -x set -o errexit set -o errtrace set -o pipefail # Checking gerrit commits for patching-tests if [[ "${patchingtests_gerrit_commit}" != "none" && -d "${WORKSPACE}/patching-tests/" ]]; then pushd "${WORKSPACE}/patching-tests/" for commit in ${patchingtests_gerrit_commit} ; do git fetch "ssh:/...
true
237e078b89831c22331b601f0a112b9800804f20
Shell
Bitergia/fiware-chanchan
/vagrant/scripts/idm-provision/switch-session-to-org.sh
UTF-8
2,241
4.1875
4
[]
no_license
#!/bin/bash declare -A url=( [idm]="${IDM_URL}" [home]="${IDM_URL}/home" ) declare -A output=( [home]="/tmp/home.output.txt" [organization]="/tmp/organization.output.txt" ) # read login (email) and organization if [ "$#" -lt 2 ]; then echo "Missing parameters <user_email> <org_name>" exit 1 el...
true
593d67c616caa3d3912f50c1e597ac034f618391
Shell
InformaticsMatters/lac
/docker/deploy/images-build-portal.sh
UTF-8
416
3.03125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash base=$PWD echo base = $HOME touch images/portal/ROOT.war && rm images/portal/*.war cd ../../../portal/portal-app; ant -f portal.xml build-prod cd $base cp ../../../portal/portal-app/dist/portal.war images/portal/ROOT.war echo "building squonk/portal docker image ..." cd images docker build -t squonk/por...
true
e2ff53996a6c404de8718e4407bb06a9a23ab694
Shell
Dereking/grest
/cmd/build.sh
UTF-8
483
2.984375
3
[ "Unlicense" ]
permissive
#!/bin/bash ver=`date '+%Y.%m.%d.%H%M'` out="grest" if [ "$(uname)" == "Darwin" ]; then # Mac OS X out="grest" elif [ "$(uname -s |grep 'Linux')" != "" ]; then # GNU/Linux out="grest" elif [ "$(uname -s |grep 'MINGW')" != "" ]; then # Windows NT out="$out.exe" fi #cd $PRJ_PATH $GOROOT/bin/go...
true
dacbadea59e8861b34502173631960b8e8ad6501
Shell
cprodhomme/whatTimeIsIt
/main
UTF-8
180
2.8125
3
[]
no_license
#!/bin/bash LOCALES=$1 # include parse_yaml function . lib/parse_yaml.sh eval $(parse_yaml locales/$LOCALES.yml "translation_") now=$(date +"%H:%M") echo $translation_hour $now
true
6e96c04490b0fe187287ad9a493be561518541b5
Shell
Yelp/puppet
/acceptance/tests/resource/service/ticket_4124_should_list_all_disabled.sh
UTF-8
797
3.8125
4
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
#!/bin/bash # A platform must be specified the only command line arg # This will facilitate expansion of this tests to include # the ability to test other OSes RALSH_FILE=/tmp/ralsh-disabled-list-$$ SERVICE_FILE=/tmp/service-disabled-list-$$ puppet resource service | egrep -B2 "enable.*=>.*'false" | grep "service {"...
true
b3f8dee5fe450dedd4d32a13e441fbff79109eee
Shell
brunel-physics/tZq_Dilepton_NanoAOD
/GetNano_2018_data.sh
UTF-8
658
2.765625
3
[]
no_license
#!/bin/bash ProcessNamesArray=("DoubleMuonRunB" "DoubleMuonRunC" "DoubleMuonRunD") SampleStrings=("/DoubleMuon/Run2017B-Nano14Dec2018-v1/NANOAOD" "/DoubleMuon/Run2017C-Nano14Dec2018-v1/NANOAOD" "/DoubleMuon/Run2018D-Nano14Dec2018_ver2-v1/NANOAOD") cd /nfs/data/eepgkkc/nanoAOD2018 for...
true
46c0ab8a6bd02023f4b29af97fffb76c9b138b93
Shell
WaYungGit/nodejs_DEMO
/license_generate_tool/generate.sh
UTF-8
1,128
4
4
[]
no_license
#!/bin/sh if [ ! -n "$1" ]; then input_file="devinfo.txt" else input_file=$1 fi if [ ! -n "$2" ]; then output_dir="output" else output_dir=$2 fi if [ -f $input_file ]; then echo else echo $input_file" is not exist!"; exit 0; fi mkdir -p $output_dir"/enc" mkdir -p $output_dir"/normal" rm ...
true
fb633555d1353ad26682e73a13a53648fe7d83c8
Shell
digitalocean/clusterlint
/script/check-licenses.sh
UTF-8
444
3.71875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash function list_go_files { srcdir=$(realpath $(dirname "${BASH_SOURCE[0]}")/..) for f in $(find "$srcdir" -name '*.go' -and -not -path "$srcdir/vendor/*") ; do echo "$f" done } function has_license { head -n2 "$1" | grep -q 'Copyright .... DigitalOcean' } ret=0 for f in $(list_go_fi...
true
b70208e6d1b62365c7c14a172491f905669b4890
Shell
eddbrown/dotfiles
/zshrc
UTF-8
1,025
2.578125
3
[]
no_license
export PATH="$HOME/.npm-packages/bin:$PATH" export PROMPT_COMMAND="echo -n \[\$(date +%H:%M:%S)\]\ " export EDITOR="/usr/bin/atom" # Source Prezto. if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" fi # Source base16 256 colourspace script. if [[ -s "$HOME/.colours...
true
e975a2733620c2f490abba5e81e6a438f20befa8
Shell
linuxgazette/lg
/issue76/misc/whitmarsh/rc.firewall.sh.txt
UTF-8
5,868
3.59375
4
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#!/bin/sh # # rc.firewall - Initial SIMPLE IP Firewall test script for 2.4.x # # Author: David Whitmarsh # (c) 2001, 2002 Sparkle Computer Co ltd. # based on rc.firewall by Oskar Andreasson <blueflux@koffein.net> # parts (c) of BoingWorld.com, use at your own risk, # do whatever you please with # it as long as you don'...
true
d9402a301d8c7bf086b3d9477735115a732f3608
Shell
heakyo/shn_cdev
/install
UTF-8
1,301
3.734375
4
[]
no_license
#!/bin/bash module=./shn_cdev.ko install_module() { if [ $EUID != 0 ]; then echo "Operation not permitted! Prefix \"sudo\" then try again" exit 1 fi if /sbin/lsmod | grep -w shannon > /dev/null; then if ! /sbin/rmmod shannon; then echo "Rmmod shannon failed" exit 1 fi fi if /sbin/lsmod | grep -w ...
true
fb26750c0ec109159e15c95befe2514743c58006
Shell
ebi-gene-expression-group/index-gxa
/tests/gxa-index-check-experiments.sh
UTF-8
1,508
3.71875
4
[]
permissive
#!/usr/bin/env bash # check the health of experiments [ -z ${SOLR_HOST+x} ] && echo "Env var SOLR_HOST needs to be defined." && exit 1 [ -z ${EXPERIMENT_ID+x} ] && echo "Env var EXPERIMENT_ID needs to be defined." && exit 1 [ -z ${EXP_MATCH_MIN+x} ] && echo "Env var EXP_MATCH_MIN needs to be defined." && exit 1 [ -z $...
true
754752aec1c0fa894e3751b871f594293746d163
Shell
morph027/signal-gateway
/bin/signal-wrapper
UTF-8
1,753
3.84375
4
[ "MIT" ]
permissive
#!/bin/bash SCRIPT=$(basename ${BASH_SOURCE[0]}) ARGS=$(getopt --long "to:,message:,from:,attachment:,queue" --options "" -n "$SCRIPT" -- "$@"); unset QUEUE signal_send() { local TO="$1" local MESSAGE="$2" local OPTS="$3" ./signal -to="$TO" -message="${MESSAGE}" $OPTS } #Bad arguments if [ $? -ne 0 ]; then ...
true
feea1bcc4fc6c7deda2e1f28b7dd6fbfdb7b7a27
Shell
timrichardt/dotfiles
/bash/.bashrc
UTF-8
1,276
2.671875
3
[]
no_license
#!/bin/bash alias ls='ls --color' alias l='ls --color --group-directories-first' alias ll='l -l' alias la='l -a' alias lla='ll -a' alias lal='la -l' alias lt='ll -t' alias lat='lla -t' alias lrt='ll -rt' alias lart='lla -rt' alias ..='cd ..' # Go GOPATH=$HOME/.go PATH=$PATH:$HOME/bin:$HOME/.cargo/bin:$HOME/.go/bin:...
true
9ac52f78c809916b904d3b2f34fd96f4d30f7985
Shell
ArnoZeller/SapMachine-infrastructure
/cloud-infrastructure/ci/read-slave-secret.sh
UTF-8
150
2.703125
3
[ "Apache-2.0" ]
permissive
#!/bin/sh SLAVE_NAME=$1 while [ ! -f /var/slaves/${SLAVE_NAME}.txt ] do sleep 2 done secret=$(cat /var/slaves/${SLAVE_NAME}.txt)$ echo $secret
true
6e38c81a98bfbf4725560630e15f5ce1a0e5e74e
Shell
jamesBaker361/nodeCrap
/jamsnap/generate.sh
UTF-8
774
2.765625
3
[]
no_license
echo 🐣 echo $1 string=$1 first=`echo $string|cut -c1|tr [a-z] [A-Z]` second=`echo $string|cut -c2-` name=`echo $first$second` echo $name mkdir public/angular/$1 touch public/angular/$1/$1.module.js #subl public/angular/$1/$1.module.js echo "angular.module('$1', []).directive('jam $name',function(){ return{ templ...
true
cba7650b1d79faa50c61b7a1e799329fb5e7314c
Shell
loekvangool/githubarchive-elastic
/run.sh
UTF-8
1,658
3.46875
3
[]
no_license
#!/bin/bash export YEAR=`date +%Y` # ELASTICSEARCH ACCOUNT export USER1="" export PASS1="" export HOST1="" # EXTRACT ALL PUBLIC ELASTIC REPOS echo "$(date): Extracting relevant data..." find data/*.json.gz -type f -print0 | xargs -0 -P 8 zgrep --no-filename ',"name":"elastic/' >> output.json #find data/2016-*.json.g...
true
6100530d9a2760b8ab03a2fdc228734ad361fab6
Shell
thalman/php-aducid
/tools/enum2php
UTF-8
1,036
3.5
4
[ "Apache-2.0" ]
permissive
#!/bin/sh # # script converts Java enums to php enums. # This is very simple helper. Generated php sources # needs manual finishing # function j2pconvert() { expand $1 | dos2unix | awk ' BEGIN{ inside = 0; } /public +enum/{ class = $3; inside = 1; printf( "class Aducid%s {\n",class ); } /[[:blank:]]*[A...
true
7d8f3ea24432709b27a8e6ae033131ba5964bc07
Shell
michelepasinif/Trabalho_Scripts
/testa.sh
UTF-8
604
3.171875
3
[]
no_license
#!/bin/sh #Script desenvolvido por Michele Pasini e Hermes, Outubro de 2016 #Este script irá verificar se o sistema é 32/64 bis, e irá verificar detalhes do sistema operacional #Executando o comando para verificação das propriedades do sistema operacional via ssh #Pega o nome/ip da máquina de destino echo "Digit...
true
e74762b25d140c08868ca6da36fb3296b65ebfbd
Shell
keybase/client
/go/sigid/data/build.sh
UTF-8
261
2.96875
3
[ "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
#!/bin/sh ALL="sigids-1.0.16.txt" FIXES="sigid-fixes.txt" TMP=$(mktemp) grep -E '^h' $ALL > $TMP cat $FIXES | awk ' { print "g", $2 }' | sort >> $TMP iced3 mkdata.iced < $TMP > ../data.go iced3 mktest.iced < $TMP > ../data_test.go (cd .. && go fmt .) rm $TMP
true
ff24f5d7b49f03daa173b8b64aa6e29023dece51
Shell
FauxFaux/debian-control
/p/pcmciautils/pcmciautils_018-10_amd64/postrm
UTF-8
449
2.765625
3
[]
no_license
#! /bin/sh set -e case $1 in purge) rm -f /etc/default/pcmciautils rm -f /etc/udev/rules.d/60-pcmcia.rules rm -f /etc/pcmcia/config.opts /etc/pcmcia/config.opts~ rmdir /etc/pcmcia || true ;; esac # Automatically added by dh_installdeb/11.4.1 dpkg-maintscript-helper rm_conffile /etc/udev/pcmcia.rules 015-1\...
true
4fd7df285b9c6da56443935d85c0b423a8b99099
Shell
elek/argo-ozone
/scripts/test-executor.sh
UTF-8
1,986
3.625
4
[]
no_license
#!/usr/bin/env bash set -x SOURCE_TREE_REPO=${SOURCE_TREE_REPO:-https://github.com/apache/hadoop-ozone} BUILD_ARTIFACT_REPO=${BUILD_ARTIFACT_REPO:-https://github.com/elek/ozone-ci-q4} #Directory to store the output artifacts export LOG_DIR=${LOG_DIR:-/tmp/log} git clone --depth=1 $BUILD_ARTIFACT_REPO.git "$LOG_DIR" ...
true
0014102d58620e0994bda5df1144d4b76f7b40b1
Shell
slackpanos/SlackOnly-SlackBuilds
/games/stratagus/stratagus.SlackBuild
UTF-8
3,214
3.59375
4
[ "MIT" ]
permissive
#!/bin/sh # Slackware build script for stratagus # Written by B. Watson (yalhcru@gmail.com) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. # Note to future maintainers (in case I get hit by a bus or something): # If you update this, you need to update wargus to the same version. If #...
true
05db0cb43523acd2fff58ebd420dc960ecfa1b3c
Shell
edersoncorbari/sparrow-account
/scripts/create-docker.sh
UTF-8
416
3.84375
4
[]
no_license
#!/usr/bin/env bash DIRECTORY=`pwd` function get-root-dir() { if [[ ! ${0} =~ "scripts" ]]; then DIRECTORY=`cd -` fi } function create-docker-image() { #sudo docker build -t sparrow-account:v0.1 . sudo docker build -t sparrow-account:v0.1 ${DIRECTORY} } read -p "Want to create a docker image. Are you su...
true
ad8da1a03a2fa13da925375917aa35fcf6909bcb
Shell
FiLeVeR10/edna
/games.sh
UTF-8
1,413
3.515625
4
[]
no_license
#!/bin/bash #welcome echo "=============== Welcome to EDNA ===============" game () { #select a system read -p "[0] NES [1] SNES [2] SEGA Genesis [3] TurboGrafx 16 ===================== Select a system: " EMU #config GDIR="~/Games" #root path to roms folder XRES="1920" #x res... YRES="1080" #y res... FS="1" #ful...
true
8c4e03ccdd21604a99a92572e5eb248d997df9b6
Shell
pnhowe/disks
/config-curator/debian-common/postinst
UTF-8
1,458
3.4375
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # postinst script for config-curator # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <packag...
true
6ef73818853cd8b85f95705bf28d0a09bab5a60c
Shell
jumski/prusa-slicer-inis
/install.sh
UTF-8
584
3.890625
4
[]
no_license
#!/bin/bash echo '> Linking PrusaSlicer profiles...' for profile_type in print printer filament; do source_dir=~/Dropbox/3d-printing/prusa-slicer-inis/${profile_type} destination_dir=~/.PrusaSlicer/${profile_type} if [ ! -d $source_dir ]; then echo " --- Source $source_dir does not exists, aborting" ex...
true
9bc314deb4ced8ea9bf46dfa1131168226693935
Shell
rlex/shellscripts
/check-ssl-certs.sh
UTF-8
1,228
3.734375
4
[]
no_license
#This script will check CN validity and expiration date for SSL certificate #Do not work with subjectAltName #array of domains to check ssl_domains=( google.com google.ru ) for domain in ${ssl_domains[@]}; do echo "SSL certificate data for ${domain}: " cert_data_common=$(echo | openssl s_client -servername $domain...
true
7d29d4d67bf774f8009739e93e86f5ff8bb50122
Shell
LesyaMazurevich/slackbuilds
/netatalk/rc.atalk
UTF-8
1,149
3.578125
4
[]
no_license
#!/bin/sh # # AppleTalk daemons. Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the # other processes. # RETVAL=0 netatalk_start() { echo -n 'starting appletalk daemons: ' if [ -x /usr/sbin/atalkd ]; then echo -n ' atalkd' /usr/sbin/atalkd ...
true
27a3ebd644688bb92afc90cf16defaab0e98ce67
Shell
boss14420/ansible-role-pgpool
/files/recovery_1st_stage.sample
UTF-8
2,830
3.71875
4
[ "BSD-3-Clause", "MIT" ]
permissive
#!/bin/bash # This script is executed by "recovery_1st_stage" to recovery a Standby node. set -o xtrace exec > >(logger -i -p local1.info) 2>&1 PRIMARY_NODE_PGDATA="$1" DEST_NODE_HOST="$2" DEST_NODE_PGDATA="$3" PRIMARY_NODE_PORT="$4" DEST_NODE_ID="$5" DEST_NODE_PORT="$6" PRIMARY_NODE_HOST=$(hostname) PGHOME=/usr/pgs...
true
26e937122e5d93dd917f7b5867813bc60d439ebb
Shell
evanchiu/dotfiles
/bin/create_repo.sh
UTF-8
1,193
4.25
4
[ "MIT" ]
permissive
#!/bin/bash # create_repo.sh # create a new mercurial repository # Check if script is run by root if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 exit 1 fi # Set arguments to variables group=$1 repo=$2 description=$3 # Define usage function usage { echo "Usage: $0 <group> <repo> <de...
true
308f7f92d169db804d81884e694c04f80861fad2
Shell
jojochuang/explauncher
/common/plotter/parse-service.sh
UTF-8
469
3.171875
3
[]
no_license
#!/bin/bash source conf/conf.sh source ../common.sh cwd=`pwd` logset=`ls -trd ${logdir}/* | tail -n1` cd $logset echo "parse-service.sh: at $logset" # Which file do you want to plot? headfile=(`find . -name 'head*[^sar]\.log\.gz' | tail -1`) echo "headfile = $headfile" # throughput out="${cwd}/data/head-sv.dot" ec...
true
497ee7cc12c9da4dbf43dab60743ba49a5a42193
Shell
samboy/misc-civ4-mapscripts
/utilities/crop.map.sh
UTF-8
1,003
3.078125
3
[]
no_license
#!/bin/sh # The current parameters (43 13 118 72) generate the default # ArabianCaulixtla map included with my version of Legends of Ancient Arabia # Args are: x1 y1 x2 y2 # x1/y1 Lower left corner; x2/y2 upper right corner. Try to keep the map # a multiple of 4 squares in both dimensions. # One possible set of val...
true
f605f8891a80fb6d37229b7fd09bc71d8ff4dc96
Shell
thawk/dotfiles
/dynamic-colors/top_sh.sh
UTF-8
287
3.1875
3
[]
no_license
export DYNAMIC_COLORS_ROOT="${XDG_CACHE_HOME:-${HOME}/.cache}/dynamic-colors" if [[ -z "$DOTFILES_THEME" ]] || [[ "$DOTFILES_THEME" == "solarized" ]] then # 在顶层SHELL中恢复终端配色 [ "$SHLVL" -eq 1 ] && "${DOTFILES_ROOT}"/dynamic-colors/bin/dynamic-colors init fi
true
16be1cbac8094cea675c09173e6a350fed665832
Shell
larse514/lambda-dynamo-cqrs
/infrastructure/scripts/init.sh
UTF-8
393
2.546875
3
[]
no_license
#!/usr/bin/env bash set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PROJECT_DIR="$SCRIPT_DIR/.." OUTPUT_DIR="$PROJECT_DIR/output" TF_DIR="$PROJECT_DIR/tf" terraform init \ -backend-config "key=dynamo/base.tfstate" \ -backend-config "bucket=$S3_BUCKET_NAME" \ -backend-config "...
true
1b90b2c32353f6dcf31165fa43ec59cb06f1511d
Shell
Zivilevs/TLCL-shell-scripts
/longest-word
UTF-8
733
3.6875
4
[ "Unlicense" ]
permissive
#!/bin/bash # longest-word: find longest string in a file # programname(executable) filename while [[ -n "$1" ]]; do # -n string lenght greater >0 if [[ -r "$1" ]]; then # file is readable max_word= max_len=0 for i in $(strings "$1"); do # tokia programele bash yra strings, cia nereikia "" nes , norim word spl...
true
f01b329c68a3e724181188ec7b01dc63bd8aa496
Shell
EmirDelicR/Bash-scripting-all
/scripts/input_address.sh
UTF-8
806
4.1875
4
[]
no_license
#!/bin/bash # This is a program that keeps your address book up to date. # file name input_address.sh FILE=firends.txt # check if file exists if ! [[ -f "$FILE" ]]; then echo "Creating file friends.txt..." touch firends.txt fi echo "Hello, "$USER". This script will register you in some database." echo -n "En...
true
cc49f1d5e1f6173532f265fedda63bdc7e1f5bd5
Shell
moretromain/cpp-bootstrap
/build-macos.command
UTF-8
212
2.890625
3
[ "MIT" ]
permissive
#!/bin/bash cd "`dirname "${0}"`" ROOT_FOLDER="${PWD}" BUILD_FOLDER="${ROOT_FOLDER}/build" CMAKE_BINARY=cmake-gui mkdir -p ${BUILD_FOLDER} cd ${BUILD_FOLDER} ${CMAKE_BINARY} ${ROOT_FOLDER} cd ${ROOT_FOLDER}
true
2c830d5e04e5d5bc726e6327012ddb852a878c53
Shell
HasegawaTadamitsu/gamenseni
/db/unuse_example_CSV_import.sh
UTF-8
489
2.953125
3
[]
no_license
#!/bin/sh DATA_FILE="/mnt/home/hasegawa/work/zip_data/ken_all_utf8.csv" TMP_FILE="/tmp/tmp.$$" #sqlite3 -separator , development.sqlite3 ".import /mnt/home/hasegawa/work/zip_data/ken_all_utf8.csv addresses" cat ${DATA_FILE} | grep -v ken_code > $TMP_FILE psql -h localhost -p 5431 development -c "truncate table a...
true
6fd4e46c7e9a13c85b645492ee221d16af9b2378
Shell
jennyng2025/app.goodcity
/cordova/deploy/deploy-android-testfairy.sh
UTF-8
976
2.859375
3
[]
no_license
#!/bin/bash site=app-staging.goodcity.hk environment=production echo "Setting variable APP_SHA" APP_SHA=$(git rev-parse --short HEAD 2> /dev/null) if [ $? -ne 0 ]; then APP_SHA=$(hg parent --template '{gitnode}' | cut -c1-7) fi export APP_SHA echo "Building $site [$environment]" EMBER_CLI_CORDOVA=1 staging=true ./...
true
34f10eacd7c6b100c2cc5599ebd8fc1e5c744331
Shell
evansde77/cirrus
/src/cirrus/templates/install_script.sh.mustache
UTF-8
456
3.546875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # installer script either vi pypi server or locally using # a dist file passed as argument to this script LOCAL=$1 {{virtualenv}} if [ "${LOCAL}x" == "x" ]; then echo "Installing from pip" pip install {{pip_options}} {{open_brace}}cirrus.configuration.package.name{{close_brace}}=={{open_brace}}...
true