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
e448444d922352363d5e61f63a2a76a770439ea4
Shell
bretweinraub/m81
/sm/src/utils/t/shellHelpers2.t
UTF-8
647
2.75
3
[]
no_license
#-*-sh-*- root=`dirname $0`/`basename $0 .t` cd $root # # The first test should fail. This is trapped # and tested for. If it failed, the script will # continue # cat > ./test.sh.m80 <<'EOF' <: use shellHelpers; # $m80path = [{command => "embedperl.pl"}, {command => "m4", chmod => "+x" }]; print shellHelpers::genA...
true
a6299805e8ca60eda5ef0fdda692ad74ef9e9f26
Shell
tangyibo/libnpce
/publish/httpd_npce_server/pronpced.sh
UTF-8
736
3.15625
3
[]
no_license
#!/bin/sh #Date : 2016-11-22 #Author: tang moduler=httpd_npce_app export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib mkdir log >/dev/null 2>&1 ulimit -c unlimited echo -n `date +'%Y-%m-%d %H:%M:%S'` echo "----Current directory is " $PWD while : do running=$(ps -ef |grep "$moduler" | grep -v "grep") if [ -z...
true
78b1d3801813caa126bc57f08b5a0d5679ea6e26
Shell
shellbox-sh/shx
/src/render.sh
UTF-8
10,296
3.984375
4
[ "MIT" ]
permissive
## @param $1 Template to compile (_string or path to file_) ## @param $@ Any number of arguments.<br>Arguments which will be available to the evaluated template,<br>e.g. `$1` or `$*` or `$@` ## ## Render the provided template and evaluate the result, printing the template result to `STDOUT`. ## ## @example Simple Strin...
true
55fb2bf340574b089b0afa2808e5b2da3118bd16
Shell
AravinthPanch/dotfiles
/git/aliases.zsh
UTF-8
221
2.8125
3
[ "MIT" ]
permissive
# Use `hub` as our git wrapper: # http://defunkt.github.com/hub/ hub_path=$(which hub) if (( $+commands[hub] )) then alias git=$hub_path fi alias gs='gst' # for all the rest, I just use oh-my-zsh git plugin aliases
true
826d8616b90421e7d9a0a7d7ab292ac2c9fac80b
Shell
daisylb/Dotfiles
/bash/csem_local.sh
UTF-8
610
2.90625
3
[]
no_license
# Macros for Flinders University School of Computer Science, Engineering and Mathematics # See csem_local.markdown for documentation alias csem-x="ssh -X csem" alias csem="ssh csem -t bash -i" csem-try(){ zip remote-try-archive.zip *.cpp *.h csem-put remote-try-archive.zip csem-ssh "try $1 remote-try-archive.zip &...
true
332d06fbb4e9e12bacc7381c79c9f13f4167446d
Shell
arcolife/openshift_automate
/_install/postconfig.sh
UTF-8
3,918
2.796875
3
[]
no_license
#!/bin/bash rhn_user='' rhn_pass='' ose_pool_id='8a85f9823e3d5e43013e3ddd4e9509c4' # cfme_pool_id='' ################## Hostname hack ############################### # ensure each of nodes / masters etc have hostnames properly set # hostnamectl set-hostname example.host.com # ensure "$HOME/hostnames" exists, contain...
true
1583f3397f9b152ab6bbe6f79e7d6c7c76400f5e
Shell
bartoszlomiej/EOPSY-labs
/lab1/modify_examples.sh
UTF-8
2,535
4.03125
4
[]
no_license
#!/bin/bash rm -rf "##test##" sth_happend="false" create_dir () { mkdir "$1" cd "$1" touch maleliterki touch DUZELITERKI touch Misiek.txt touch archive.tar.gz2 } initial () { create_dir "##test##" create_dir "##test2##" cd .. create_dir "##test3##" create_dir "##test4##" echo "current directory is .../#...
true
17d0437e914d34f2e32c31e054af428fc2f2e4e5
Shell
zyfjeff/juicefs
/integration/ioctl_test.sh
UTF-8
5,253
3.59375
4
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
#!/bin/bash # JuiceFS, Copyright 2021 Juicedata, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
true
5cd5016f997cf0f6cee881a1ef00f253ff5a9690
Shell
lawnjunk/config
/bin/hacker_text
UTF-8
448
3.734375
4
[]
no_license
#!/bin/bash function delayText (){ text=$1 delay=$2 [ ! $delay ] && delay=0.05 numChar=$(echo $1 | wc -m | sed -e 's/^[ \t]*//') for c in $(seq 0 $(expr $numChar - 1 )); do sleep $delay echo -n "${text:$c:1}" done sleep $delay echo } clear [ ! "$1" = "-p" ] && delayText "$1" "$2" && s...
true
f796ea24d773ead7a4c0c5ce02a2c62ec4ee2a47
Shell
nate1920/cromwell
/src/ci/bin/testSingleWorkflowRunner.sh
UTF-8
1,340
3.046875
3
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -o errexit -o nounset -o pipefail # import in shellcheck / CI / IntelliJ compatible ways # shellcheck source=/dev/null source "${BASH_SOURCE%/*}/test.inc.sh" || source test.inc.sh cromwell::build::setup_common_environment cromwell::build::start_build_heartbeat cromwell::build::assemble_jars ...
true
ba3aa0cf1efd2ad972a06527122225b8cb20e99e
Shell
slateci/slate-monitoring
/sbin/generate-bucket-configuration.sh
UTF-8
747
3.046875
3
[]
no_license
#!/bin/bash # Help message if [ "$#" -ne 2 ]; then echo "Generates the bucket.yaml configuration from the OSiRIS access/secret keys" echo echo " $0 ACCESS_KEY SECRET_KEY" echo echo "Example: $0 P9TYGJVT1BODF3N1M6CH yHE4IW0mTvFBioMoaqm896q6nECTDW6bp4M5OCKT" exit -1 fi # Get input paramete...
true
0490adefc7a6b6eb3b826e5270c6b6e3ccbeedcc
Shell
lifeandscience/frenemy
/export.sh
UTF-8
439
3.1875
3
[ "MIT" ]
permissive
#!/bin/bash if [ $# -lt 1 ] then echo "Usage : $0 {frenemy-dev frenemy}" exit fi case "$1" in frenemy-dev) mongodump --host flame.mongohq.com --port 27067 --username heroku --password efb8166e349154499df633abffc58d1e --db app4708730 --out mongo.frenemy-dev ;; frenemy) mongodump --host staff.mongohq...
true
a5b62748c6c4d599e9480347c0a89e1a94fb9d75
Shell
yigewu/genomestrip_google_cloud
/download_dependencies.sh
UTF-8
1,712
3.265625
3
[]
no_license
#!/bin/bash inputDir="../inputs/" refFasta="GRCh37-lite_WUGSC_variant_4.fa" ## pull the genomestrip docker image docker pull skashin/genome-strip # copy the table with address to WGS bams gsutil cp gs://dinglab/yige/genomestrip/dependencies/TCGA_WGS_gspath_WWL_Feb2018.txt ../inputs/ # copy the clinical info for ge...
true
97b9575d366b1c9933854f79ef254091ed58dc60
Shell
rbe/dmerce
/dmerce2/tmp/bin/qdd_sys2grant
UTF-8
538
2.84375
3
[]
no_license
#!/bin/ksh ################################################# # # Copyright 2000-2003 1Ci GmbH, http://www.1ci.com # # $Id: qdd_sys2grant,v 1.2 2003/04/22 12:54:29 rb Exp $ # $Author: rb $ # $Revision: 1.2 $ # ################################################# . ${DMERCE_LIB}/libdmerce [ $? -gt 0 ] && exit 2 libdmerce...
true
b846abde0dc4a58e387b77eed33c5008e12167f9
Shell
SchlossLab/Schubert_clinical_mBio_2014
/code/get_denoised_data.sh
UTF-8
1,809
3.203125
3
[ "MIT" ]
permissive
#!/bin/bash ################################################################################ # # get_denoised_data.sh # # Takes the run/time stamp from the sff file and runs the sff file through # sffinfo, trim.flows, shhh.flows, trim.seqs, and unique.seqs # # dependencies: # * run/time stamp # * the sff file and ...
true
c5bfbd1a13e8bca9c398d09cf2cccca14617783f
Shell
multilinguals/cmrs-admin
/auto_preview.sh
UTF-8
239
2.59375
3
[]
no_license
#!/usr/bin/env bash SHELL_FOLDER=$(cd "$(dirname "$0")";pwd) echo $SHELL_FOLDER PREVIEW_PATH=$SHELL_FOLDER/dist/ yarn build:stage cd $PREVIEW_PATH git add ./ git commit -m "release-autocomplete" git push origin master echo "Finished"
true
9c97707d7e4aac37062f7616e91760e8334f3756
Shell
JohnOmernik/zetago
/scripts/package.d/start
UTF-8
2,904
3.46875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Start an already installed package # # Arguments: # -u # Unattended Installation # -s # Search Additional Locations PRIOR to core package location (Default is to search and use core package location first) # -r # Rebuild image automatically if -u is passed an...
true
828106b029f1701c3f61fca8cf1ba8fe1f4d8868
Shell
commjoen/ubuntu
/bin/register_atlas.sh
UTF-8
9,667
3.9375
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -o nounset # Treat unset variables as an error and immediately exit set -o errexit # If a command fails exit the whole script if [ "${DEBUG:-false}" = "true" ]; then set -x # Run the entire script in debug mode fi usage() { echo "usage: $(basename $0) <box_name> <box_suffix> <version>" ...
true
f23995ba9f5b1009f7e0614d06eade341522cccb
Shell
brain-geek/toad-chef-repo
/vmfiles/siege-test.sh
UTF-8
226
3.296875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash IP=$1 FOLDER=$2 touch sitemap mkdir -p $FOLDER for i in $(seq 20); do echo "Running $((5*$i))" rm sitemap&&wget http://$IP/sitemap&&siege -i -f sitemap -c $((5*$i)) -t 1M &> $FOLDER/siege-$((5*$i)).log done
true
a0c7be860205e162800d5c2e2e8422ebf9644565
Shell
mukhali/anylink
/server/bridge-init.sh
UTF-8
552
2.59375
3
[ "AGPL-3.0-only", "MIT" ]
permissive
#!/bin/bash #yum install bridge-utils # Define Bridge Interface br="anylink0" # 请根据sever服务器信息,更新下面的信息 eth="eth0" eth_ip="192.168.10.4/24" eth_broadcast="192.168.10.255" eth_gateway="192.168.10.1" brctl addbr $br brctl addif $br $eth ip addr del $eth_ip dev $eth ip addr add 0.0.0.0 dev $eth ip link set dev $eth up...
true
1e8e60ed8d6b13c180437dbefac03543c260c3c1
Shell
JWalton-Novetta/devsetup
/dotfiles/.git-templates/hooks/pre-commit
UTF-8
1,865
3.703125
4
[ "MIT" ]
permissive
#!/bin/sh #symlink this to ROOT/.git/hooks/ or ~/.git-templates/hooks and run>> git config --global init.templatedir '~/.git-templates' #you can change this to pre-push by changing the file name of the symlink echo "Running JS Beautify, removing new lines at end of file, and making sure js files have 0644 permissio...
true
1f3933710e498197270584bb05de649a2fc2b307
Shell
rushioda/PIXELVALID_athena
/athena/Tools/AtlasDoxygen/scripts/MakeDoxygenClassSum.sh
UTF-8
3,852
4.3125
4
[]
no_license
#!/bin/sh # ==================================================================================================================================# # # # MakeDoxygenClassSum -r <release> ...
true
d41cdf7942525946b0f94b27bbc2ee386a31ee13
Shell
nikhil-thomas/technik-dojo
/shell-scripting/01_sfronln_learn-linux-shell-scripting/c9/08_copy-file-to-script-location.sh
UTF-8
659
4.0625
4
[ "MIT" ]
permissive
#!/bin/bash ################################################## # Author : Nikhil Thomas # Version : v1.0.0 # Date : 2019-JAN-12 # Description : Script to copy a file to script location # Usage : ./08_copy-file-to-script-location.sh ################################################## if [[ $# -ne ...
true
edb91213dfff9159273a560e93231411859bc98b
Shell
jayghoshter/dotfiles
/bin/bmark
UTF-8
939
3.875
4
[]
no_license
#!/usr/bin/env bash urlregex='(https?|ftp|file)://[-A-Za-z0-9\+&@#/%?=~_|!:,.;]*[-A-Za-z0-9\+&@#/%=~_|]' link=$(xclip -o -selection clipboard) BM_FILE=$HOME/Nextcloud/Store/local_bookmarks.txt POSITIONAL=() while [[ $# -gt 0 ]] do key="$1" case $key in -e|--edit) "${EDITOR:-vim}" "$BM_FIL...
true
fe95921db597f4fa207d6d6d138a7c35900c1c52
Shell
darkn3rd/learn-chefserver
/trusty/scripts/libs/common.src
UTF-8
5,144
4.3125
4
[ "CC-BY-4.0", "MIT" ]
permissive
#!/usr/bin/env bash # NAME: common.src # AUTHOR: Joaquin Menchaca # CREATED: 2016-08-06 # PURPOSE: General library of generic functions # # NOTES: # * These functions need to run on the virtual guest system # # FUNCTIONS LIST: # General Purpose: # * error() # * warn() # * fetch() # * install() # * verify()...
true
69e09a392ac665b80999d905015ea2c94bfb112a
Shell
drewfradette/bootstrap
/bin/rofi-system-mode
UTF-8
669
3.328125
3
[]
no_license
#!/bin/bash set -o errexit set -o pipefail set -x items=() items+="[i3] Reload\n" items+="[i3] Restart\n" items+="[i3] Logout\n" items+="[System] Restart X\n" items+="[System] Reboot\n" items+="[System] Shutdown\n" items+="[System] Suspend" choice=$(echo -e $items | rofi -dmenu -p '$> ') case "$choice" in "[i3] R...
true
ae9022457b77065bd04df5ef2426acb69a542523
Shell
patternplate/app
/.scripts/unbork.sh
UTF-8
225
3.28125
3
[ "MIT" ]
permissive
#!/bin/bash set -e set -u function unbork() { CMD=$(which "_${1}"); DIRNAME=$(dirname $CMD); BASENAME=$(basename $CMD); mv "$CMD" "${DIRNAME}/${BASENAME:1:${#BASENAME}-1}" } unbork "node" unbork "npm" unbork "yarn"
true
6ee67ab44f38cf52977d33ccd03ec66056f9d76f
Shell
absolunet/nwayo
/packages/cli/completion/bash
UTF-8
281
3.0625
3
[ "MIT" ]
permissive
#!/bin/bash function _nwayo_completions() { local cur="${COMP_WORDS[COMP_CWORD]}" local vals=`nwayo --completion-logic="${COMP_WORDS[*]}"` # Tell complete what stuff to show. COMPREPLY=($(compgen -W "$vals" -- "$cur")) } complete -o default -F _nwayo_completions nwayo
true
49e8eea276e96293fdc3d5c785332796615453c6
Shell
RainersJusts/RTR105
/git-upload
UTF-8
134
2.703125
3
[]
no_license
#!/bin/bash if [ $# == 1 ] then git config --global user.email justs1999@gmail.com git add . git commit -m $1 git pull git push origin master fi
true
a22f959b88b06979a58f4d57843faf39008e92e6
Shell
NathanRVance/clic
/install
UTF-8
4,311
4.1875
4
[ "MIT" ]
permissive
#!/bin/bash export CLIC_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" usage() { echo "Usage:" echo "Run this script to install CLIC to a cloud computer (pure cloud) or to a physical machine and a cloud computer (hybrid). If performing a pure cloud installation, execute this script on a computer ot...
true
039d09cbdb428eb35bdfe3fd29150bc1ef3af91f
Shell
rrfuentes/histo-recom
/jointgeno.sh
UTF-8
2,469
2.734375
3
[]
no_license
#!/usr/bin/bash #-----------------------------Output files----------------------------- #SBATCH --output=output_%A.%a.txt #SBATCH --error=error_%A.%a.txt #-----------------------------Required resources----------------------- #SBATCH --time=0-200:00:00 #SBATCH --array=1-12 #SBATCH --cpus-per-task=20 #SBATCH --mem=2000...
true
374775d124fd4a7e37e6290799e21bfb78174b31
Shell
mastak/prioritizator
/front2/docker/entrypoint.sh
UTF-8
211
2.609375
3
[]
no_license
#!/usr/bin/env bash set -o errexit set -o xtrace set -o pipefail if [ ! -s "/usr/src/front/node_modules" ]; then mv /usr/src/packages/node_modules /usr/src/front fi cd /usr/src/front npm i exec npm start
true
5985bea721709704dd2abc3e8f8c1cb193202086
Shell
SeregaSergo/ft_containers
/test.sh
UTF-8
879
3.875
4
[]
no_license
#!/bin/bash [[ ! -d results ]] && mkdir results make if [[ ! -f ./tests/program/test_my ]] || [[ ! -f ./tests/program/test_std ]] then echo "Programs 'test_my' or 'test_std' are not found" exit fi ./tests/program/test_my ./tests/program/test_std # check number of arguments if [ $# -ne 1 ]; then echo ...
true
e59c92b013bea5f9ba5f6a1035a853316269fcfc
Shell
lloydie/zfs-install
/test/apt-cache-client.sh
UTF-8
416
2.78125
3
[]
no_license
#!/bin/bash set -eux # configure APT to use our cache APT proxy. # see http://10.10.10.3:3142 echo 'Acquire::http::Proxy "http://192.168.100.2:3142";' >/etc/apt/apt.conf.d/00aptproxy # use APT to see it using our APT proxy. echo 'Defaults env_keep += "DEBIAN_FRONTEND"' >/etc/sudoers.d/env_keep_apt chmod 440 /etc/...
true
a658bebcd35c7c9d8bbfacde561b2b8c474ea83c
Shell
distributed-system-analysis/smallfile
/gen-fake-rsptimes.sh
UTF-8
569
3.421875
3
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
#!/bin/bash # script to generate artificial response time files for regression test dir=`dirname $0` if [ -z "$dir" ] ; then dir='.' fi RSPTIMES_POSTPROCESSOR=$dir/smallfile_rsptimes_stats.py rspdir=/tmp/$$.tmp rm -rf $rspdir mkdir $rspdir start=0 for n in `seq 1 40` ; do (( start = $start + $n )) for t in `seq ...
true
da111d6040c0b9856af367c353307cd49038fa27
Shell
Winode-IO/trumail
/install_dep.sh
UTF-8
815
3.3125
3
[ "BSD-3-Clause" ]
permissive
#! /bin/sh if [ "${GOPATH+1}" ]; then echo "GOPATH is set"; else echo "Please set GOPATH, exiting" && exit; fi CUR_PATH_1=$(pwd) if [ "$CUR_PATH_1" == "$GOPATH/src/github.com/envolt/trumail" ] ; then echo "Project directory seems fine"; else echo "Please move the Project under GOPATH...
true
c63e845287257b5802e26c53e946cf57040ebc6c
Shell
NMNS93/STP
/peddy_trio_qc/test_multiqc_v1.12/src/code.sh
UTF-8
6,634
4.21875
4
[]
no_license
#!/bin/bash # Exit at any point if there is any error and output each line as it is executed (for debugging) set -e -x -o pipefail dx_find_and_download() { # Download files from DNANexus project if present. # # Args: # $1 / name: A wildcard to capture matching files in the project. # $2 / pr...
true
5e46cf00695ada8019d8770e10bfc4c0d8ac6d16
Shell
naman-na/INFORMATICA_CDC_AUTOMATIONS
/MASTER_CONFIG/CDC_AUTOMATIONS_ENV_VAR.cfg
UTF-8
23,979
2.75
3
[]
no_license
#!/bin/bash ################################################################################## # Author: Prashanth Pradeep # Created on: Fri Dec 11 10:39:56 EST 2020 # Purpose: This is a master env variables for all the CDC scripts # -------------------------------------------------------------------------------- # Ver...
true
36c56246e28da71b10835f0bb5ccd875e9b4a390
Shell
kassyuz/performance-report
/netcat.sh
UTF-8
622
4.0625
4
[]
no_license
#!/bin/bash netcatCommand(){ RESULT=""; nc -z -w 1 $1 $2 RESULT=$(echo $?) } check(){ netcatCommand $HOST $PORT if [[ $RESULT == 0 ]]; then echo "Server is UP" else echo "Server is DOWN" fi } helpMsg(){ echo "" echo "Usage:" echo " netcat.sh -H[destination] -L[port]" echo "" echo " -H : destination...
true
4a4663a71580761ff3c1c8e2b4432f0d7a1c2965
Shell
Data2Semantics/prefLabel
/scripts/load_wikidata.sh
UTF-8
427
3.296875
3
[]
no_license
#!/bin/bash TTL_GZ_FILE="$1" SCRIPT_DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" LOG="wikidata.log" echo "`date` Loading $TTL_GZ_FILE." gunzip --stdout "$TTL_GZ_FILE" 2>> "$LOG" | rapper -i turtle -o ntriples - http://example.com 2>> "$LOG" | grep "http://www.w3.org/2000/01/rdf-schema#label" 2>> "$LOG" ...
true
12f5d4f91c3a98a74eadb4b86de777f6e4e969a7
Shell
jpmourag/dotFiles
/.zshrc
UTF-8
3,119
3.015625
3
[]
no_license
ZSH_DISABLE_COMPFIX="true" export ZSH="/Users/jpmourag/.oh-my-zsh" ZSH_THEME="spaceship" # aliases alias zs="source ~/.zshrc" alias zsc="code ~/.zshrc" alias ne="echo $NODE_ENV" # Display red dots while waiting for completion COMPLETION_WAITING_DOTS="true" # Which plugins would you like to load? # Standard plugins ca...
true
b53d1d4d48357e1e4aa8b5bee548226f6cddf383
Shell
Rohit599/Shell_Scripts
/isnump_n
UTF-8
301
3.859375
4
[]
no_license
#!/bin/sh # #Script to see whether a argument is positive or negative or zero # if [ $# -eq 0 ] then echo "$0 : You must give one integer" exit 1 fi if test $1 -gt 0 then echo "$1 is positive" elif test $1 -eq 0 then echo "$1 is Neither positive or negative" else echo "$1 is negative" fi
true
7ed73be244a9f2bdf391cd13f5e5f8f817f99a6e
Shell
xnlogic/xnlogic
/lib/xnlogic/templates/vagrant/config/start.sh
UTF-8
1,879
3.53125
4
[]
no_license
#!/bin/bash export XN_LOG_DIR=$HOME/xn.dev/tmp silent() { if [[ $debug ]] ; then "$@"; else "$@" &>/dev/null; fi; } # Check for jruby 1.7, don't force it. if [[ `ruby -v` == jruby\ 1.7* ]]; then echo "Using `ruby -v`" else echo "Unsupported Ruby version: (`ruby -v | cut -c 1-35`)" echo "Please try again with jr...
true
d6652ddfa6d48fc863c7522fe79e899beddc0b9e
Shell
vidsy/assume-role
/assume-role.sh
UTF-8
3,094
3.96875
4
[]
no_license
#!/bin/bash USAGE="assume-role <account_id> <role_name> <staging|live> <profile>" # --- # Check for correct arguments # --- if [ "$#" -lt 3 ]; then echo "Illegal number of parameters" echo "Usage: $USAGE" exit 1 fi # --- # Final variables # --- export ACCOUNT_ID=$1 export ROLE_NAME=$2 export AWS_ENV="$3" exp...
true
ce3e53492cbb7c4adb63e70a2aba5f91db994ceb
Shell
EnginesOS/ServiceImageBuilds
/images/03.ServiceImages/mongo/home/engines/scripts/backup/restore.sh
UTF-8
212
2.578125
3
[]
no_license
#!/bin/sh cd /tmp cat - | tar -xpf - dump passwd=`cat /data/db/.priv/db_master_pass` cd dump mongorestore -h mongo --password $passwd -u admin --oplog if test $? -ne 0 then exit -1 fi rm -r dump exit 0
true
a266ab2bb02a7b31a742fb3247cc3de8612ff83c
Shell
saulshanabrook/buildx
/hack/test
UTF-8
1,272
3.5625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash . $(dirname $0)/util set -eu -o pipefail : ${CONTINUOUS_INTEGRATION=} : ${BUILDX_NOCACHE=} progressFlag="" if [ "$CONTINUOUS_INTEGRATION" == "true" ]; then progressFlag="--progress=plain"; fi iid="buildx-tests" iidfile=$(mktemp -t docker-iidfile.XXXXXXXXXX) set -x case $buildmode in "buildkit")...
true
60463d185447cff8738125545c89dd9fa45275b6
Shell
jtfogarty/k8s-journal
/vault-install/setup-v1-injector.sh
UTF-8
2,865
3.28125
3
[]
no_license
#!/bin/bash # SERVICE=vault-server-tls SERVICE=vault-agent-injector-svc # NAMESPACE where the Vault service is running. NAMESPACE=vault # SECRET_NAME to create in the Kubernetes secrets store. SECRET_NAME=$1 # TMPDIR is a temporary working directory. TMPDIR=$2 CSR_NAME=vault-agent-injector-csr #clean up previous ...
true
b58ff39dbc6ff192144abecf6a6aa747020686a6
Shell
chsanford/AudioEMD
/data/sample/split.sh
UTF-8
621
3.5625
4
[]
no_license
#! /bin/bash set -e inputdir=$1 outputdir=$2 segment_time=$3 name=$4 mkdir -p $outputdir numfiles=$(ls -f $inputdir | wc -l) numfiles=$((numfiles-2)) count=0 for f in $inputdir/* do count=$((count+1)) filename=$(basename "${f}") echo "Processing $count of $numfiles: $filename" echo ...
true
7082df1e710b74242747d246cd7df712569aa0ba
Shell
dynatrace-ace/perform2021-vhot-auto-remediation
/terraform/files/scripts/lab_setup.sh
UTF-8
4,995
2.59375
3
[]
no_license
#!/usr/bin/env bash # Install packages needed for lab sudo apt update -y && sudo apt -y upgrade sudo apt install -y ca-certificates \ apt-transport-https \ curl \ software-properties-common \ jq \ vim \ nano \ git \ wget \ openjdk-8-jre \ nodejs \ npm \ fonts-liberation \ libappindicator3-1 \ libasound2 \ libatk-bridg...
true
214d5aab885da0e6ce0fef5258facb3c6ca1bb4b
Shell
AtomicVikings5256/QDriverStation
/etc/deploy/linux/make_deb.sh
UTF-8
839
3.375
3
[ "MIT" ]
permissive
#!/bin/sh # Variables license=mit project="qdriverstation-16.08" authorEmail="alex_spataru@outlook.com" # Remove old build (if found) if [ -d "$project" ]; then printf '%s\n' "Removing old build ($project)" rm -rf "$project" fi # Generate build folders mkdir deb_build cd deb_build mkdir $project cd $project ...
true
a91621404e083d1da68cac653c9989bf75de7685
Shell
golodhrim/aboriginal
/images/lfs-bootstrap/mnt/build/module-init-tools.sh
UTF-8
365
2.984375
3
[]
no_license
#!/bin/sh # Read-only filesystem, can't modify in place. rm -f modprobe.d.5 && echo '.so man5/modprobe.conf.5' > modprobe.d.5 || exit 1 if [ ! -z "$CHECK" ] then ./configure && make check && ./tests/runtests && make clean || exit 1 fi ./configure --prefix=/ --enable-zlib-dynamic --mandir=/usr/share/man && m...
true
41a5de58f6b3151a0fe66fb278933375e1e1b879
Shell
VerKnowSys/svdOS
/etc-jail/rc.d/othermta
UTF-8
358
2.75
3
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
#!/bin/sh # # $FreeBSD: releng/10.1/etc/rc.d/othermta 180563 2008-07-16 19:22:48Z dougb $ # # PROVIDE: mail # REQUIRE: LOGIN # XXX - TEMPORARY SCRIPT UNTIL YOU WRITE YOUR OWN REPLACEMENT. # . /etc/rc.subr load_rc_config 'XXX' if [ -n "${mta_start_script}" ]; then [ "${mta_start_script}" != "/etc/rc.sendmail" ] && ...
true
a70fbc5d694d7c56f0e2599f95e07bae844da3d4
Shell
dreal/ppa-updater
/update.sh
UTF-8
3,428
3.484375
3
[]
no_license
#!/usr/bin/env bash # # Copyright (c) 2014 - 2015 Carnegie Mellon University. All rights reserved. # Released under Apache 2.0 license as described in the file LICENSE. # # Author: Soonho Kong # set -e # Abort if any command fails UPDT_PATH="`dirname \"$0\"`" UPDT_PATH="`( cd \"$UPDT_PATH\" && pwd )`" cd $UPDT_PATH # ...
true
b4e87a3c69243635526e2109b51f4c1bc525febb
Shell
jeisoncg/Travis
/src/http-proxy/subin/setup-subin.sh
UTF-8
272
2.578125
3
[]
no_license
#!/bin/sh SUBINS="dgpam dgbind dgchroot dgcpnod" sudo sh -c "chown root $SUBINS; chmod 6550 $SUBINS" if [ $? != 0 ]; then su root -c "chown root $SUBINS; chmod 6550 $SUBINS" fi if [ $? != 0 ]; then su root -c "chown root $SUBINS; chmod 6550 $SUBINS" fi ls -l $SUBINS
true
f55f0232b5cf1198c92fc265711394895e5c522d
Shell
mahmoudimus/dotfiles
/files/common_env/sourceable_10_python.sh
UTF-8
611
2.65625
3
[]
no_license
# Source virtual env wrapper # VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3 # export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages' export WORKON_HOME=$HOME/.virtualenvs export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3 export PIP_VIRTUALENV_BASE=$WORKON_HOME if [[ -r /usr/local/bin/virtualenvwrapper.sh...
true
d2f2f779359771a33dfc6bddd6f1cfe45abdaefc
Shell
TomHodson/FKMC
/build.sh
UTF-8
2,124
3.28125
3
[ "MIT" ]
permissive
clear GREEN='\033[0;32m' RED='\033[0;31m' NC='\033[0m' # No Color ##note this bug https://bugs.python.org/issue1011113 which may mean that python setup.py install ignores --build-base ######################## CMTH specific stuff ######################################## if [ "$HOME" = "/home/tch14" ]; then echo -e "$...
true
ba645f5a97b4286fd0d5670933bf30d5d353b786
Shell
matgou/docker-postfixadmin-
/fpm-entrypoint.sh
UTF-8
637
2.984375
3
[]
no_license
#!/bin/sh if [ -z $MYSQL_DATABASE ]; then MYSQL_DATABASE="postfix" fi if [ -z $MYSQL_USER ]; then MYSQL_USER="root" fi if [ -z $MYSQL_PASSWORD ]; then MYSQL_PASSWORD="root" fi if [ -z $MYSQL_HOST ]; then MYSQL_HOST="database:3306" fi export fic="/var/www/html/config.inc.php" sed -i "s/@@MYSQL_DATABASE@@/$MYSQL...
true
0f85123f87a0e96f9959c2042e44f3ea44387fa1
Shell
opendatacube/datacube-k8s-eks
/examples/stage/04_odc_k8s_sandbox/config/node_userdata.tpl.sh
UTF-8
649
2.515625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -o xtrace # Get instance and ami id from the aws ec2 metadate endpoint id=$(curl http://169.254.169.254/latest/meta-data/instance-id -s) ami=$(curl http://169.254.169.254/latest/meta-data/ami-id -s) /etc/eks/bootstrap.sh --apiserver-endpoint '${endpoint}' --b64-cluster-ca '${certificate_authority}' '${c...
true
68027b9ee485297ac8340c3e943174c9a055e317
Shell
ripley-on-rails/dotfiles-macos
/.bash_profile
UTF-8
1,451
2.875
3
[]
no_license
export PATH=/usr/local/bin:/usr/local/sbin:$HOME/.git-contrib:$HOME/bin:$PATH [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* alias ll='ls -alF' #export CLICOLOR=1 #export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx PS1='${debian_chroot:+($debian_chroot)}\[\0...
true
100dae4d2658588007584cad71d864381649df81
Shell
maidsafe/rfcs
/generate_by_status.sh
UTF-8
831
3.5625
4
[ "BSD-3-Clause", "MIT", "BSD-2-Clause" ]
permissive
#!/bin/bash function generate { for file in $( grep -l -r --include="[0-9]*-*.md" "\- Status: $1" text | sort); do num=$(echo $file | sed -e "s/.*\/\([0-9]*\)-.*\.md/\1/") feature=$(head -n1 $file | sed -e "s/#[ \t]*\(.*\)$/\1/") echo " - [#$num $feature](./$file)" done } echo "# RFCs by current st...
true
0e7695fbc4dbcacd97b596131da723cfb1b7f556
Shell
ivansharamok/mta_java_workshop
/task_4/firefly_data.sh
UTF-8
1,293
2.546875
3
[]
no_license
#!/bin/bash set -e if [ -z "$UCP_HOST" ]; then echo "ERROR - UCP_HOST ENV param is empty or unset" exit 1 fi curl -H "Content-Type: application/json" -X POST -d '{"firstName":"Malcolm","lastName":"Reynolds","password":"browncoat","emailAddress":"mal@firefly.com","dateOfBirth":38937953,"id":17297,"userName":"...
true
adfa0a1702c9d7f0ebb5653edb23153b7fda6408
Shell
istorkbox/istorkbox-tech
/install/centos7_install_tomcat6.sh
UTF-8
988
3.046875
3
[]
no_license
#!/bin/bash #tomcat安装 #文件镜像 #apache-tomcat-6.0.53.tar.gz #https://archive.apache.org/dist/tomcat/tomcat-6/v6.0.53/bin/apache-tomcat-6.0.53.tar.gz #https://istorkbox-1256921291.cos.ap-guangzhou.myqcloud.com/apache-tomcat-6.0.53.tar.gz if type wget >/dev/null 2>&1; then echo '...' else echo 'start install wget' yum -y...
true
4dbf8677a9e72fa66c3812a2eac1519400c1e289
Shell
jacobmischka/brave
/PKGBUILD
UTF-8
1,272
2.625
3
[]
no_license
# Maintainer: Jacob Mischka <jacob@mischka.me> pkgname=brave pkgver=0.8.1dev pkgrel=1 pkgdesc='Web browser that blocks ads and trackers by default.' arch=('x86_64') url='https://www.brave.com/' license=('custom':"MPL2") makedepends=('npm') depends=('gtk2' 'nss' 'alsa-lib' 'libnotify' 'gconf' 'libxtst' 'desktop-file-uti...
true
f550065ba9bf3e0ebd9b3920e4f70aa12e88d640
Shell
jshawl/installfest_script
/scripts/heroku.sh
UTF-8
842
2.671875
3
[]
no_license
# _ _ # | |__ ___ _ __ ___ | | ___ _ # | '_ \ / _ \ '__/ _ \| |/ / | | | # | | | | __/ | | (_) | <| |_| | # |_| |_|\___|_| \___/|_|\_\\__,_| # https://devcenter.heroku.com/articles/keys echo "Heroku is a cloud platform as a service (PaaS) supporting several" echo "programming languages." ec...
true
ce30e6e77f87745378c87ecc6c5f4b26994cf740
Shell
dnathanson/microservices
/docker.sh
UTF-8
1,938
4
4
[]
no_license
#!/bin/bash set -e set -x SCRIPT_DIR=$(dirname $0) . ${SCRIPT_DIR}/config.sh VERSION_FROM_POM=$($MAVEN_HOME/bin/mvn -f "${SCRIPT_DIR}/pom.xml" org.apache.maven.plugins:maven-help-plugin:2.2:evaluate -Dexpression=project.version | grep -Ev '(^\[|Download\w+:)') VERSION=${VERSION:-$VERSION_FROM_POM} function build { ...
true
d16adbde1b235f7acf86077a503eb082f5bc1156
Shell
delkyd/alfheim_linux-PKGBUILDS
/kmc/PKGBUILD
UTF-8
1,338
3.046875
3
[]
no_license
# Maintainer: Fabio Zanini <fabio.zanini@tuebingen.mpg.de> pkgname=kmc pkgver=2.0 pkgrel=2 pkgdesc="Count k-mers in a set of reads from genome sequencing projects" arch=('x86_64') url="http://sun.aei.polsl.pl/$pkgname/" license=('GPL') depends=() makedepends=('git' 'gcc') source=("http://sun.aei.polsl.pl/$pkgname/downl...
true
fae6cf9096337d4688989029115e1a3a62b8c50e
Shell
NDHall/EleusineMitochondria
/heatmap/NoRef_Southern_runner_cp_FILTER.sh
UTF-8
9,484
3.5
4
[]
no_license
#!/bin/bash GIT_REPO=/home/biolinux/Eluisine/EleusineMitochondria_scripts/heatmap PATH=${GIT_REPO}:${PATH} # script to run SRA mappings of insilico southern technique # Some General Notes # Filtering with egrep # egrep command below is used to exclude unwanted to reads, to accomplish this I have created a ref...
true
844066496d78bf1e663744e7037ce311220cc0db
Shell
elfion/nanoengineer
/packaging/Pref_Mod/buildWin.sh
UTF-8
884
3.1875
3
[]
no_license
#!/bin/sh -x # The same checks for a stored version in /c/<something> are not in Pref_Mod # as they are for gromacs and qutemol. This is because pref_modifier changes # with every version number. Plus, it only adds about two minutes to the build # time. Also, this file uses the NE1_Build_Constants for the ver...
true
78b159e6ee2e89cf57ecae2fae3fa2207cf408e8
Shell
weizh/geolocator-1.0
/geo-locator/install.sh
UTF-8
882
2.71875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash if [ ! -e lib/anna-3.3.jar ];then wget -P lib/ https://mate-tools.googlecode.com/files/anna-3.3.jar fi if [ ! -e lib/minorthird.jar ];then wget -P lib/ http://sourceforge.net/projects/minorthird/files/MinorThird%20Jar/minorthird-jar_20080611/minorthird_20080611.jar/download cd lib mv download minorthird.j...
true
27ff58344a47bed0220f615b8f0864f157142c22
Shell
baifangfang/mir
/bin/name-mapping.sh
UTF-8
573
3.84375
4
[]
no_license
# program : name-mapping.sh # author : oldmanpushcart@gmail.com # date : 2018-01-03 # version : 0.0.1 # desc : 对指定名字进行修正,返回映射字典中的正确名字 #!/usr/bin/env bash # 名字映射文件${1}指定 NAME_MAPPING_FILE=${1} # 如果名字映射文件不存在,那就算了 [ ! -f ${NAME_MAPPING_FILE} ]&& cat # 尝试进行名字映射 while read name;do mapping_name=$(grep "${name}=...
true
bd6f8064e2969cdfe1f803e940699dad0186618c
Shell
osuosl/timesync-node
/setup.sh
UTF-8
2,994
3.984375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # Echo a string to stderr instead of stdout err_echo() { >&2 echo "$@"; } nvm install 4.4 || err_echo "NVM is not installed. Install NVM, or install Node v4.4 manually." if ! npm install; then err_echo "'npm install' failed! Make sure Node is installed and available on this machine!" exit 1 fi if ...
true
17c436e9c2d0219a179c87fcb4399480122cc1da
Shell
LappalainenLab/TF-eQTL_preprint
/scripts/variant_sets/calc_afc_scripts/submitGetExpr.sh
UTF-8
585
2.828125
3
[]
no_license
#!/bin/bash ## ## Submits getExpr script ## for each tissue ## ## EDF 4/13/2020 ## variant_set=$1 ## base stem without .txt or ending tiss=`tail -n $SLURM_ARRAY_TASK_ID ../input_files/tissue_translation_colors_v8.txt | \ head -n 1 | awk -F'\t' '{print $2}'` ## note: tiss will be backwards echo $variant_set echo...
true
bbcef561cf190e6a36ea5b74bba3ec830af3c118
Shell
angelsl/sinter
/vm/test/run_test.sh
UTF-8
123
2.59375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -o pipefail runner="$1" in_file="$2.svm" out_file="$2.out" "$runner" "$in_file" | diff -u "$out_file" -
true
4d3c60501e50be259ea61910d85676dc703e610f
Shell
takei-shg/dotfiles
/.zprofile
UTF-8
1,877
2.53125
3
[]
no_license
# export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home # export JAVA_HOME="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home" # export PATH=$PATH:$JAVA_HOME/bin export JAVA_OPTS='-Dfile.encoding=UTF-8' # for tmuxx export PATH="$HOME/dotfiles:$PATH" # 2013/Sep/3 for cons...
true
c90653f8d0ee8dc6591533af8f910e75c53c84eb
Shell
marinelli/optlocal
/opt/local/bin/get-latest-firmware
UTF-8
2,814
3.984375
4
[]
no_license
#!/bin/sh get_url () { case "$1" in garr-http|garr) URL_PROTOCOL='http' URL_HOST='mirror1.mirror.garr.it' URL_PATH='mirrors/openwrt/snapshots/trunk' ;; openwrt-http|openwrt) URL_PROTOCOL='http' URL_HOST='downloads.openwrt.org' URL_PATH='snapshots/trunk' ;; open...
true
5d1e60f45346d294ab3b0f6ca84f1e02baea6326
Shell
rocketpants/tools
/unity_plugin_project/export_package.sh
UTF-8
420
2.515625
3
[]
no_license
UNITY_PATH="/Applications/Unity/Unity.app/Contents/MacOS/Unity" PROJECT_PATH="$(pwd)" BUILD_PATH="$PROJECT_PATH/Build" LOG_PATH="$PROJECT_PATH/Temp/export_package_log.txt" NAME="$(basename `pwd`)" VERSION="$(cat VERSION.txt)" ASSETS="Assets/RocketPants" EXPORT_PATH="$BUILD_PATH/$NAME-$VERSION.unitypackage" $UNITY_PATH...
true
256d34d4f4935ff3de14c749c7019ca68941c324
Shell
eflows4hpc/hecuba
/cassandra4slurm/scripts/initialize_hecuba.sh
UTF-8
1,807
2.796875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash echo "===== Initialize Hecuba ====" # CQLSH_HOST and CQLSH_PORT are environment variables that can be set to connect to a host different than local host #if [ "x$CQLSH_HOST" == "x" ] ; then # export CQLSH_HOST=localhost #fi commands="CREATE KEYSPACE IF NOT EXISTS hecuba_locks WITH replication= {'class':...
true
818b35e808e6f20639501ce289aa94547ef40014
Shell
chunxiaoqiao/set_up_new_system_ubuntu
/set_up_ubuntu_1804.sh
UTF-8
5,592
2.84375
3
[]
no_license
#!/bin/bash #把软件源添加到国内 echo "Configuring system ..." sudo apt-get upgrade pwd #gnome-terminal --tab -- bash -c "cd ../ ; pwd;exec bash" echo "install cmake ..." sudo apt-get install g++ sudo apt-get upgrade sudo apt-get upgrade sudo apt-get install make tar -xvf cmake-3.18.4-Linux-x86_64.tar.gz cmake-3.18.4-Linux-x86...
true
d04a2728d017375f28dfe59c0d0bd269f30f4337
Shell
LWindram/screenshooter
/sshot.sh
UTF-8
445
3.71875
4
[]
no_license
#!/bin/bash ###################### # # Created 12-03-14 Luke Windram # # Takes a silent screenshot and # saves it to the specified location # # ###################### # check destination file exists # if not, create it if [ ! -f /private/var/doc ] then mkdir -p /private/var/doc fi # assign unique name with datestam...
true
4c911e69b1499ec9e3da8b3ffc30772e746b79e9
Shell
xElysioN/ut4dedicatedscript
/ut4dedicated.sh
UTF-8
4,502
3.90625
4
[]
no_license
#!/bin/bash # Script Variables USER="CHANGE" DIRECTORY=/opt/ut4/update TYPE="install" LINK="none" FILE="none" # Server Variables SERVERNAME="Unreal Server" MOTD="Welcome" PORT=7777 MAP="DM-DeckTest" GAMETYPE="Duel" # Don't change EXEDIRECTORY=$DIRECTORY/LinuxServer/Engine/Binaries/Linux CONDIRECTORY=$DIRECTORY/Linux...
true
5ed80fc9e8f6769c0e0514ce92851d898d3e9206
Shell
yangy30685/app
/git.sh
UTF-8
288
3.375
3
[]
no_license
#!/bin/bash TIME=`date "+%Y-%m-%d %H:%M:%S"`; echo start... echo git pull git add -A > /dev/null 2>&1 if [ $? -eq 0 ]; then git commit -m "update time $TIME" fi if [ $? -eq 0 ]; then git push origin master > /dev/null 2>&1 echo Done! exit 0 else echo No change made! exit 1 fi
true
8f68caee7321fa37a48d4595af18bae39293ce6d
Shell
kenguru33/ubuntu-replay
/shell-environment.sh
UTF-8
2,854
3.484375
3
[]
no_license
#!/bin/bash set -o pipefail # set -o nounset info="\\e[1;1m" nc="\\e[0m" if [[ "${UBUNTU_REPLAY_ONLINE:-}" -eq 1 ]]; then # shellcheck source=lib/package.sh source <(wget -qO- "${UBUNTU_REPLAY_SRC_URL}/lib/package.sh") &>/dev/null # shellcheck source=lib/spinner.sh source <(wget -qO- "${UBUNTU_REPLAY...
true
91f4c839f804079ffbdbaeb0d48169a3d02126b1
Shell
siwai0208/git-pipeline
/scripts/after_install
UTF-8
2,126
2.546875
3
[]
no_license
#!/bin/bash ACCESS_KEY_ID=$(aws ssm get-parameter --name ACCESS_KEY_ID --with-decryption --query Parameter.Value) ACCESS_KEY_ID=`echo $ACCESS_KEY_ID | sed -e 's/^"//' -e 's/"$//'` BUCKET=$(aws ssm get-parameter --name BUCKET --with-decryption --query Parameter.Value) BUCKET=`echo $BUCKET | sed -e 's/^"//' -e 's/"$//'` ...
true
bc08bb38813809e2ceeee57d67b8a827ba1907b1
Shell
westpa/user_submitted_scripts
/LSF_submit_script/run.lsf.all
UTF-8
2,252
3.25
3
[]
no_license
#!/bin/bash -x #BSUB -nnodes 2 #BSUB -P LSC115 #BSUB -q batch-hm #BSUB -J westpa #BSUB -W 0:30 #BSUB -e job_logs/%J.err #BSUB -o job_logs/%J.out #BSUB -alloc_flags gpudefault set -x cd $LS_SUBCWD export LMOD_SH_DBG_ON=1 source env.sh || exit 1 module load bzip2/1.0.6 module load zlib/1.2.11 export SERVER_INFO=$WEST...
true
ad8591b7f9cecf50640538106059ed2522b720e3
Shell
jubitaneja/artifact-cgo
/test_precision.sh
UTF-8
2,828
3.015625
3
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
#!/bin/sh CGO_HOME=$(pwd) souper_prec=$CGO_HOME/scratch/precision/souper souper_build=$CGO_HOME/scratch/precision/souper/build souper=$souper_build/souper souper_check=$souper_build/souper-check souper2llvm=$souper_build/souper2llvm-precision-test souper2llvm_db=$souper_build/souper2llvm-db llvm_build=$souper_prec/t...
true
874a45ceb0d7b8a63b178f9ec3eff2619b91121d
Shell
EQ4/gnuradio-livesdr
/config/chroot.d/50-pybombs-00-install
UTF-8
1,603
3.3125
3
[ "MIT" ]
permissive
#!/bin/sh set -o nounset #set -x #DEBUG cd $SCRIPT_BINDDIR . ./.config . config/config-vars . bin/chroot-functions.sh # Exit if already run [ ! -f $STAMPDIR/50-pybombs-00-install.stamp ] || exit 0 # Clone pybombs git repository into source dir cd $ROOTFS_SRCDIR || { $PRINTERROR Unable to change directory to sou...
true
5aec4d804632367712598a7dfd56d65ceb9bafa9
Shell
maisem/tailscale-qpkg
/update_upstream_version.sh
UTF-8
265
2.9375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash if [ -z "${TSTAG}" ]; then TSTAG=$(curl https://api.github.com/repos/tailscale/tailscale/tags -s | jq '.[0].name' -r) fi CURRENT=$(cat upstream_version | sed "s/\./\\\./g") sed -i "s/$CURRENT/$TSTAG/g" Makefile README.md upstream_version
true
104f537ed724c736f57031f6affca610dfe24e7a
Shell
Swhite215/Code-Reference-Linux
/bash/cal.sh
UTF-8
288
2.5625
3
[]
no_license
# Example CAL Commands, a tool for displaying a calendar cal cal -m 1 # Displays month (1 - 12) cal -y 2020 # Displays entire year calendar cal -3 # Displays previous, current, and next month ncal ncal -J # Julian Calendar ncal -e # Date of Easter ncal -w # Number of week below column
true
c79286f39f87864d61048f05eda4498227fbbd4a
Shell
my6889/kong-api
/prepare.sh
UTF-8
1,727
3.1875
3
[]
no_license
#!/bin/bash set -e echo "Creating Database Container..." docker-compose up -d postgresql sleep 5 echo "Create Database Container Completed" echo "##################################################################" echo "Creating Database KONG..." docker-compose exec --user postgres postgresql psql -c "CREATE DATABASE ...
true
48cf86370b73a0b82d8ef2b4fdb3d0e25db4e2b5
Shell
Itokoyamato/42_projects
/piscine_c/j09/ex09/where_am_i.sh
UTF-8
193
2.890625
3
[]
no_license
ip=`ifconfig | grep "inet " | cut -d ' ' -f2` ip_nbr=`ifconfig | grep "inet " | cut -d ' ' -f2 | wc -l | tr -d ' '` if [ "$ip_nbr" -eq "0" ]; then echo "Je suis perdu!\n" else echo "$ip" fi
true
cc53fd2f17d05f46934131aab79b55d94dfc5400
Shell
giacThePhantom/Tirocinio
/local/VCFRiduzione/counts/tocsv.sh
UTF-8
753
3.4375
3
[]
no_license
#!/bin/sh out="countsnp.csv" chr=$(seq 1 22)" X MT" rownames="" files="Not_intersected_count.txt 103_intersect_count.txt 103_exonic_intersect_count.txt GENCODE_intersect_count.txt" echo "Chr,"$(seq -s "," 1 22)",X,MT" > $out for i in ${files}; do case "$i" in Not_intersected_count\.txt) printf "Not intersected," >...
true
c02169ce25f1e727af1de098d060273c9fbbbf4e
Shell
precisely/bioinformatics
/code/old-23andme-imputation/docker/build.sh
UTF-8
1,483
3.9375
4
[]
no_license
#!/usr/bin/env bash set -Eeo pipefail readlinkf() { perl -MCwd -MFile::Glob -l -e 'print Cwd::abs_path File::Glob::bsd_glob shift' "$1"; } basedir=$(dirname "$(readlinkf "$0")") script=$(basename "${BASH_SOURCE[${#BASH_SOURCE[@]}-1]}") ### parameter handling if [[ "$#" -eq 0 ]]; then echo "usage: docker-build.s...
true
4a584e82dcb1386712e3b99eaf450b347e1eac6d
Shell
databoose/RSCServer
/start_mysql.sh
UTF-8
303
2.609375
3
[]
no_license
printf "\n" printf "Starting mysql service..." printf "\n" sudo /etc/init.d/mysql start printf "\n" printf "mysql should be running as of now" ( trap exit SIGINT ; read -r -d '' _ </dev/tty ) ## wait for Ctrl-C printf "\n" printf "control + c detected, exiting." printf "\n" sudo /etc/init.d/mysql stop
true
cf3171105a677a09c70cc4e825dd5f4a26e01f22
Shell
ijindal/baseline
/docker/run_docker.sh
UTF-8
1,403
3.84375
4
[ "Apache-2.0" ]
permissive
usage() { echo "Usage: $0 [-g <GPU number>] [-n <container name>] [-t <container type: tf/pytorch>] [-e <external-mount-directories>]" 1>&2; exit 1; } while getopts ":g:n:t:e:" x; do case "${x}" in g) GPU_NUM=${OPTARG} ;; n) CON_NAME=${OPTARG} ;; ...
true
5d28019b1fef18b8de4a788286f58b395bd17c28
Shell
nossal/dotfiles
/zsh/zshrc
UTF-8
747
2.65625
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
# # Executes commands at the start of an interactive session. # # Authors: # Sorin Ionescu <sorin.ionescu@gmail.com> # if [ "$TERM" = "linux" ]; then export TERM="xterm-256color" /bin/echo -e " \e]P0282b35 \e]P1dc3c3c \e]P24eb355 \e]P3d28e5d \e]P43e758c \e]P5b73999 \e]P600aba5 \e]P7a8a9b0 \e]P...
true
647c1b1f7a5ba9b9ad0f6924efbfafdaff5215a5
Shell
li8182/dinosar
/bin/make_release.sh
UTF-8
713
3.203125
3
[ "MIT" ]
permissive
#!/bin/bash # Release a new dinosar version # USAGE ./make_release.sh 0.1.3 # Note that every push to GitHub automatically runs travis CI and # Documentation will automatically be generated on Read the Docs VERSION=$1 echo 'Creating release version $VERSION' # remake documentation with sphinx cd .. cd docs sphinx-api...
true
28c1dc91351443bc33d338863e20867a014b4ff0
Shell
friedenberg/dotfiles
/vim/ftplugin/go-test.bash
UTF-8
713
3.265625
3
[ "MIT" ]
permissive
#! /usr/bin/env bash PATH="$(realpath "$(dirname "$(readlink "$0")")/result/bin"):$PATH" test_one() ( no="$1" pkg="$2" tmp="$(mktemp -d)" trap "rm -r '$tmp'" EXIT if ! go test -c $pkg/*.go -o "$tmp/tester" >"$tmp/out" 2>&1; then echo "not ok $no $pkg # failed to build tester" >&2 cat "$tmp/out" ...
true
bcbcebf6fa9a896cb6bc4b6f2cf52559aeb25184
Shell
progamesigner/dotfiles
/gnupg/install.sh
UTF-8
3,183
3.171875
3
[ "MIT" ]
permissive
#!/usr/bin/env sh head "Setting up GnuPG" install_browser_manifest () { if [ -d "$(dirname "$1")" ]; then manifest_path="$1/gpgmejson.json" info "Installing browser manifest at \"$manifest_path\"" cat <<-EOF > "$manifest_path" { "name": "gpgmejson", "description": "JavaScript bin...
true
c2acdb2c35cfaa69f6668afae6cbaf2bb9bebed0
Shell
jordond/powerhour-site
/docker/start.sh
UTF-8
240
2.609375
3
[ "MIT" ]
permissive
#!/bin/bash cd /usr/src if [ -z "$staging" ]; then echo "Checking out master branch"; git checkout master else echo "Checking out develop branch"; git checkout develop fi git pull npm install --unsafe-perm npm run build npm start
true
9f2afb1ab21bdedcbb9a14d4b2aba6a550db2279
Shell
mjzffr/version-control-tools
/testing/docker/builder-autoland/start-autoland.sh
UTF-8
396
3.046875
3
[]
no_license
#!/bin/bash cd $AUTOLAND_HOME . venv/bin/activate cd autoland PID=$(ps x | grep python | grep -v grep | awk '{ print $1 }') [ -n "$PID" ] && kill $PID (python autoland.py --dsn="dbname=autoland user=postgres host=autolanddb" >& /home/autoland/autoland.log) & if [ -n "$(ps x | grep apache2 | grep -v grep | grep -v a...
true