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
3c0819ac396db10699c1f6a355bcf8c46a867bc1
Shell
greenboxal/korekube
/lib/helpers
UTF-8
1,056
3.671875
4
[]
no_license
#!/bin/bash verify_guard() { NAME=/etc/kubernetes/.${1}_bootstrapped [ -f $NAME ] && exit 0 } touch_guard() { NAME=/etc/kubernetes/.${1}_bootstrapped touch $NAME } credstash_get() { KEY=$1 credstash -r "$EC2_REGION" get "${CLUSTER_NAME}.${KEY}" } credstash_get_file() { KEY=$1 NAME...
true
473d5fb4a38fb3b2794fb6530f402b2753558f21
Shell
christiangda/PuppetMaster
/Vagrant/scripts/provision-couchdb.sh
UTF-8
4,210
2.859375
3
[]
no_license
#!/bin/bash ################################################################################ # Install requirements yum -y install epel-release yum -y install autoconf autoconf-archive automake curl-devel erlang gcc-c++ yum -y install help2man js-devel libicu-devel libtool perl-Test-Harness unzip zip yum -y install py...
true
b168283da5094c5c79140f4b48f2829fbe5fd8ec
Shell
pepaslabs/deploy.sh
/lib/deploy.sh/utils.bash
UTF-8
538
3.71875
4
[ "MIT" ]
permissive
function cp_diff() { local a="${1}" local b="${2}" if [ ! -e "${b}" ] then echo_step "Copying ${color_yellow}$( basename ${a} )${color_off} into $( dirname ${b} )." cp -a "${a}" "${b}" elif files_differ "${a}" "${b}" then echo_step_warning "Files differ: ${color_yellow}${...
true
2f2a70ab178685a5f10f5b107dfa180bae05807e
Shell
simshaun/bash
/.bash_aliases
UTF-8
1,153
2.765625
3
[]
no_license
alias ls='ls -F --color=always' alias dir='dir -F --color=always' alias cp='cp -iv' alias rm='rm -i' alias mv='mv -iv' alias grep='grep --color=auto -in' alias ..='cd ..' # # Shortcuts # function proj () { cd /e/_projects cd "$1" } function work () { cd /e/work cd "$1" } # # Docker # export DOCKER_HOST=tcp...
true
353f00aed143a7b98ceaf28722c5361ca6247d9a
Shell
jrhopper/poMMo
/library/tools/buildscripts/lang_merge.sh
UTF-8
200
2.703125
3
[]
no_license
#!/bin/sh #### ### After generating a fresh .pot file, merges its changes into existing translation files # cd poMMo for i in `find language/ -name *.po`; do msgmerge -U $i ../pommo.new.pot done
true
ef8e9ab462d9828c7d4000608a3a8832e896336c
Shell
eranas97/synthsis_code
/modeltech_examples/examples/ucis/doit.sh
UTF-8
6,185
3.53125
4
[]
no_license
#!/bin/sh # # Copyright 1991-2016 Mentor Graphics Corporation # # All Rights Reserved. # # THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS THE # PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AND IS SUBJECT TO # LICENSE TERMS. # # Simple UCIS Examples - Simulation shell script # # Usage...
true
27787c790d892ae67b20c5329b12f7bf5e096d30
Shell
weaselp/test-travis
/add
UTF-8
207
3.171875
3
[]
no_license
#!/bin/sh query="0" while [ "$#" -gt 0 ]; do query="$query + $1" shift done s=$(psql -c "select $query" -t -U postgres) echo $s exit s=0 while [ "$#" -gt 0 ]; do s=$(( s + $1 )) shift done echo $s
true
1dab8abef66c3d62971a29a32fc02715473c95a1
Shell
sh4ka/installsf
/new_project.sh
UTF-8
1,086
3.59375
4
[]
no_license
#!/bin/bash if [ $# -lt 1 ] then echo 'You must provide a project name.' else project_name=$1 project_dir=~/Proyectos/$1 echo Creating dir ~/Proyectos/$1 mkdir ~/Proyectos/$1 echo 'Installing symfony with composer' composer.phar create-project symfony/framework-standard-edition ~/Proyectos/...
true
3948f470c8ebc4913b4cbd125252ff944e3d7e72
Shell
aim11/PanGenSpark
/compile.sh
UTF-8
2,388
2.859375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash CUR=$( pwd ) # compile needed accessories mkdir modules cd modules git clone "https://gitlab.com/dvalenzu/CHIC.git" git clone "https://gitlab.com/dvalenzu/PanVC.git" git clone "https://github.com/mariusmni/radixSA.git" yum install -y maven2 yum install -y gcc gcc-c++ autoconf automake yum instal...
true
fd562bed0b5b1d674b612737bf313ba0307b3650
Shell
Rtlzoz2012/FBz-v2
/FBz v2.sh
UTF-8
3,654
2.75
3
[]
no_license
#usr/bin/bash clear bi='\033[34;1m' #biru i='\033[32;1m' #ijo pur='\033[35;1m' #purple cy='\033[36;1m' #cyan me='\033[31;1m' #merah pu='\033[37;1m' #putih ku='\033[33;1m' #kuning # [SUBSCRIBE] Am p5 figlet -f standard Rtlzoz Tools | lolcat echo echo " ____________________-=[Private Tools]=-____________________" | lolc...
true
b52ee8d5053cfa491697248f1d9065b434c52964
Shell
coderbradlee/iotex-core-rosetta-gateway
/tests/test.sh
UTF-8
2,751
3.609375
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -o nounset -o pipefail -o errexit # Kill all dangling processes on exit. cleanup() { printf "${OFF}" pkill -P $$ || true } trap "cleanup" EXIT # ANSI escape codes to brighten up the output. GRN=$'\e[32;1m' OFF=$'\e[0m' ROSETTA_PATH=$(pwd) function constructionCheckTest() { cd $ROSETTA_...
true
c9e0fed6320da0739368ee82f8dc62ef7d374cdf
Shell
AlexVoip/py_auto
/tests/scripts/forwork/ssw350/bug53916/run
UTF-8
2,893
3.28125
3
[]
no_license
#!/bin/bash # Тест услуги Callback. Версия ПО 3.3. # # Условия теста: создано два SIP-абонента # Переменные командной строки # $DEV_USER SSW_cocon_user # $DEV_PASS SSW_cocon_password # $DEV_DOMAIN SSW_domain # $EXTER_IP SSW_IP_address # $IP SIPP_IP_address . conf #. tests/scripts/ssw342/conf # Библиотеки source $...
true
11dfcad588fa288210e67d72936dd9a780cb62cc
Shell
chandr20/devstack-plugin-container
/devstack/plugin.sh
UTF-8
981
3.53125
4
[]
no_license
# container - Devstack extras script to install container engine # Save trace setting XTRACE=$(set +o | grep xtrace) set -o xtrace echo_summary "container's plugin.sh was called..." source $DEST/devstack-plugin-container/devstack/lib/docker (set -o posix; set) if is_service_enabled container; then if [[ "$1" == ...
true
40af2d3cef8f712e233a035db2af8ceba1872992
Shell
gregpaton08/home_lock
/ble/lockStatus.sh
UTF-8
151
2.734375
3
[]
no_license
#!/usr/bin/env bash address=`cat lockaddr` res=$(curl $address -X GET > /dev/null 2>&1) if [[ $res == *"true"* ]]; then echo 1 else echo 0 fi
true
f0ae01af96087365454c067a2d89bbb5aaf98413
Shell
DigitKoodit/unix-mansion-adventure
/utils/generate-random-files.sh
UTF-8
279
3.96875
4
[]
no_license
#!/bin/bash FOLDER=$1 FILE_NAME_LENGTH=$2 FILE_COUNT=$3 if [[ ! -d $1 ]]; then echo "Folder doesn't exist" exit 1 fi cd $FOLDER for (( i=0;i<=$FILE_COUNT;i++ )); do RND=$(LC_ALL=C tr -dc 'A-Za-z0-9' < /dev/urandom | head -c $FILE_NAME_LENGTH) echo "$RND" > $RND done
true
ead11d707f191b18036f0e6490335a90bdcca423
Shell
hironeko/dotfiles
/install/functions/functions.sh
UTF-8
2,188
3.65625
4
[]
no_license
#!/bin/bash DOTPATH=$HOME/dotfiles prezto_set () { cat <<EOF ############################################# # # # prezto setup... check # # # ############################################# ...
true
e0f4866d84a82c5b16406777b49f73b4e7934fea
Shell
cmagina/layer-apache-zookeeper
/actions/start-rest
UTF-8
299
3
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e source /etc/environment if [[ -d ${ZOO_BIN_DIR} ]]; then ZOO_HOME_DIR=${ZOO_BIN_DIR}/.. chown -R zookeeper:zookeeper ${ZOO_HOME_DIR} cd ${ZOO_HOME_DIR} su zookeeper -c "ant" fi if [[ -d ${ZOO_REST_DIR} ]]; then cd ${ZOO_REST_DIR} su zookeeper -c "nohup ant run &" fi
true
511c36f5a6cba68c3bd64ef82c7e9dacf0f49cfd
Shell
quantomb/MEM
/BETTS/run_scripts/run_list_SP
UTF-8
2,922
3.296875
3
[]
no_license
#!/bin/bash # # This bash script analytically continues the coarse-grained single particle # density of states and coarse-grained spectra, # # N(w) and Abar(K,w) . # # dsigcluster employs a hilbert transform and a root finder to calculate # # Gbar(K,w) and Sigma(K,w) # # and Sigma is printed into the files ...
true
baac8531ed78d4bd96ca044bd1ef6f06cb90762a
Shell
Skylled/sdk
/tools/dartium/generate_patches.sh
UTF-8
1,819
3.578125
4
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash # set -x # generate_patches.sh [systems] # # Convenience script to generate patches for JsInterop under Dartium. Do not call from build steps or tests # - call fremontcutbuilder and dartdomgenerator instead. Do not add 'real' # functionality here - change the python code instead. # # I find it ...
true
8ef82132907116a1ee5c71084d8d4f33034bec21
Shell
delkyd/alfheim_linux-PKGBUILDS
/codesearch/PKGBUILD
UTF-8
1,197
2.671875
3
[]
no_license
# Contributor: wenLiangcan <boxeed@gmail.com> # Maintainer: aksr <aksr at t-com dot me> pkgname=codesearch pkgver=0.01 pkgrel=3 pkgdesc="A tool for indexing and then performing regular expression searches over large bodies of source code." arch=('x86_64' 'i686') url="https://code.google.com/p/codesearch/" license=('BSD...
true
ce5712460226ba1e0f61b2f7eb993853353d90c3
Shell
heitor57/PhaserMultiMovement
/assets/tilemaps/export
UTF-8
163
2.78125
3
[ "MIT" ]
permissive
#!/bin/bash echo $(pwd) for file in *.tmx do SUB=$(echo $file | cut -d'.' -f 1) tiled --export-map json $file $SUB.json tmxrasterizer $file $SUB.png done time
true
7d737496ce9f1ffb89029b04f723a2e14a478f4f
Shell
ajaymur91/nucl_chtc
/generate_child.sh
UTF-8
1,202
3.375
3
[]
no_license
#!/bin/bash #set -e #if [[ $# -ne 3 ]]; then # echo " Pass the cluster size and trials and Number of samples" >&2 # echo " Usage: bash generate_child.sh <cluster_size> <trials> <samples>" >&2 # exit 2 #fi eval "$(conda shell.bash hook)" conda activate NUCL N=$(($1+2)) T=100 Ns=100 Gm=0.1 eval ech...
true
8fc8df04a355b9aa988180a5854fb48bb7c86358
Shell
irisnet/testnets
/nyancat/v0.16/upgrade_verify.sh
UTF-8
3,812
3.375
3
[]
no_license
#!/bin/bash echo "Parsing... DO NOT QUIT" declare -A hash_height_map declare -A fva_hash_map declare -A fva_vote_map declare -A fva_moniker_map declare -A testnet_identity_map declare -A mainnet_identity_map ### acquire validator_address of validators who has signed one of blocks between 89500 and 89800 from lcd and...
true
953af8f5567478c8f0871653d81df57351a16bfe
Shell
AnotherOctopus/CITest
/enablei2c.sh
UTF-8
2,168
3.8125
4
[ "MIT" ]
permissive
#!/bin/bash # this takes the raspiconfig functions and hardcodes them to be turned # on at run. WARNING, WE NEED TO KEEP UP TO DATE WITH RASPICONFIG # raspiconfig can be found here # https://github.com/asb/raspi-config/blob/master/raspi-config do_i2c() { DEVICE_TREE="yes" # assume not disabled DEFAULT= if [ -e $C...
true
c8d93d0b4588100f39ed0bbcce6899860407f459
Shell
lululau/homebrew-emacsmacport
/build-scripts/build-emacs.sh
UTF-8
495
2.671875
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh source_dir=$1 installprefix=`pwd`/$source_dir/tmproot app_dir=$installprefix/Emacs.app/Contents/Resources emacs_version=$2 compver=x86_64-apple-darwin`uname -r` export PATH="/usr/local/opt/texinfo/bin:$PATH" set -e cd $source_dir ./autogen.sh ./configure --with-mac --enable-locallisppath=/usr/local/share/e...
true
c4894e8a1aa32d0ee0c25476cdba97c5e3306052
Shell
federatedcloud/WRFv4-Benchmarking
/Docker/docker-build.sh
UTF-8
840
3.40625
3
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash # A simple script for building the container export BUILD_OUTPUT_FILE=./build_output.txt echo "Build started, output in ${BUILD_OUTPUT_FILE}" # Save build output log instead of printing to the screen #docker build --network=host --tag cornellcac/wrf:4.2.2 ./ 2>&1 > $BUILD_OUTPUT_FILE # Uncomment ...
true
9f4922e23e8bfd3ef2a46828f81aa822be061bc3
Shell
dgarnier/hub75_bb
/debian_fixups/add_fw_to_initramfs.sh
UTF-8
1,088
3.515625
4
[]
no_license
#!/bin/bash if [ ! -f /etc/initramfs-tools/hooks/pruss ] ; then cat <<EOF > /etc/initramfs-tools/hooks/pruss #!/bin/sh -e # Copy the am335x-pru?-fw into the initramfs if [ "\$1" = "prereqs" ]; then exit 0; fi . /usr/share/initramfs-tools/hook-functions if [ -d /lib/firmware/ ] ; then mkdir -p \$DESTDIR/lib...
true
55fbba45d475043645dc3fff289315e2faee798d
Shell
CW-Huang/gradescope-autograder-template
/make_assignment.sh
UTF-8
909
3.53125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # CHANGE THESE FOR YOUR REPO! GITHUB_REPO='git@github.com:mnoukhov/gradescope-autograder-template.git' REPO_NAME="gradescope-autograder-template" # input the assignment number and the file that students have to fill out name=$1 solution=${2:-"solution.py"} # delete previous files if any rm $name...
true
e34e3f730f79c10ca550d06be8254a6696b946fd
Shell
heckfeld/cosy-pgwish
/tgmt/scripts/xtload
IBM852
385
3.109375
3
[]
no_license
#!/bin/bash #$Header$ # # xtload - ldt Kernel, Applikation und Konfiguration in das Target # # Autor: Michael Simon # Forschungszentrum Jlich, COSY AP # # Usage: # xtload [-n] [-b] [-s] # TLOAD_PROG=`basename $0` TLOAD_INFO=cat TLOAD_USAGE="$PROGNAME [-n] [-b] [-o interface name] [-r] [-s]" export TLOAD_PROG TL...
true
df0ec5444fe93b0afad7dc52626e3479b4c7a930
Shell
mambrus/script3-util
/crypt.sh
UTF-8
1,402
4.34375
4
[]
no_license
#!/bin/bash # # Will tar/untar and encrypt/decrypt file or directory # Script will determine whichever itself by # inspecting the extension (if any) of the first argument. # Normal usage is: # util.crypt.sh mydir yourkeystring # util.crypt.sh mydir.tar.gz yourkeystring if [ -z $CRYPT_SH ]; then CRYPT_SH="crypt.sh" #...
true
6f1e87f7b251fd49b8c8eecbb1ef6f4f76b6bc7c
Shell
2035themes/play-games-plugin-for-unity
/scripts/clean_repo
UTF-8
402
2.875
3
[ "Apache-2.0" ]
permissive
#!/bin/sh if ! [ -f README.md ]; then echo "Run this script from the base of the repo." exit 2 fi for d in samples/CubicPilot samples/Minimal; do rm -rvf $d/Assets/Editor $d/Assets/Editor.meta rm -rvf $d/Assets/GooglePlayGames $d/Assets/GooglePlayGames.meta rm -rvf $d/Assets/Plugins $d/Assets/Plug...
true
0040a0710539b7e169b156be4bbaffb23e0e70cf
Shell
vzlatkov/myscripts
/MyScripts/TerraformAUTOMATION/InitialTests/TerraformInitUsingFucntions.sh
UTF-8
17,663
3.796875
4
[]
no_license
#!/bin/bash ###This is a test to check if I can add JSON files in functions, create an array of those functions and then call the functions and substitude the variables in them. ###########################################################################################################################################...
true
21bc82023446aba6ef90b4a822053773b9711ae1
Shell
hyliang96/serverENV
/local/bin/7z
UTF-8
242
2.9375
3
[]
no_license
#!/bin/bash # get absoltae path to the dir this is in, work in bash, zsh # if you want transfer symbolic link to true path, just change `pwd` to `pwd -P` here=$(cd "$(dirname "${BASH_SOURCE[0]-$0}")"; pwd) "$here/p7zip/7z" "$@" unset -v here
true
6b500302bde7d242f7dfead689b5758932c6f2e2
Shell
Huarong/zufang
/run.sh
UTF-8
1,559
3.625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # zhangxiaoyang.hit[at]gmail.com imgdir="../db/imgdir" mongopath="../db" imglist="data-aggregator/output/imglist" pagedir="page-spider/output/douban" function load_env() { source env/bin/activate } function clean_img_cache() { local imglist="$1" local imgdir="$2" while read url ...
true
2e2109a61e35636586c2f9c1b84ba3610bcf00cb
Shell
Soulflare3/conf-files
/conf-(un)installers/install
UTF-8
3,546
3.4375
3
[]
no_license
#!/bin/sh # Create ~/GitCorp directory, if not exists if [ ! -d ~/GitCorp ]; then echo "creating ~/GitCorp" mkdir ~/GitCorp; echo "command executed: mkdir ~/GitCorp;" echo "created ~/GitCorp" fi # Create ~/Sites directory, if not exists if [ ! -d ~/Sites ]; then echo "creating ~/Sites" mkdir ~/Sites; ec...
true
08be606dabce3bf177055d98cd3beeff0b21e1fb
Shell
sclorg/s2i-php-container
/8.0/s2i/bin/usage
UTF-8
611
3.4375
3
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license" ]
permissive
#!/bin/sh DISTRO=`cat /etc/*-release | grep ^ID= | grep -Po '".*?"' | tr -d '"'` NAMESPACE=centos [[ $DISTRO =~ rhel* ]] && NAMESPACE=rhscl cat <<EOF This is a S2I PHP-${PHP_VERSION} ${DISTRO} base image: To use it in Openshift, run: oc new-app php:${PHP_VERSION}~https://github.com/sclorg/cakephp-ex.git To access ...
true
acd69576cc0751d7c344abb8284f51f2d4e420ec
Shell
laelbarlow/jackhmmerer
/scripts/determine_snakemake_env_options.sh
UTF-8
306
3.09375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # Determine which environment management options to use. env_options="" if test "$(command -v conda)"; then env_options="--use-conda" elif test "$(command -v module)"; then #env_options="--use-envmodules" env_options="" else env_options="--use-conda --use-singularity" fi
true
c3fc732b2136df6afb722feebde48d90a141377e
Shell
chiminey/chiminey
/chiminey/PAYLOAD_ROOT/bootstrap_done.sh
UTF-8
172
3.203125
3
[ "BSD-3-Clause", "MIT" ]
permissive
#!/bin/sh PID=`cat bootstrap.pid` if [ `ps -p $PID | wc -l` -gt 1 ] then # program is still running echo stillrunning else echo Environment Setup Completed fi
true
6d67518c7f1b3598488cd6864d6932a71bd31690
Shell
cmonr/.dotfiles
/setup.sh
UTF-8
566
2.78125
3
[]
no_license
#!/bin/bash # TODO: If this file is not in ~/Projects/.dotfiles, exit # Move to base directory cd ~/Projects/.dotfiles # # Symlinks, symlinks everywhere! # # Bash ln -s {`pwd`,~}/.bashrc # Vim ln -s {`pwd`,~}/.vim ln -s {`pwd`,~}/.vimrc # Screen ln -s {`pwd`,~}/.screenrc # Urxvt ln -s {`pwd`,~}/.Xdefaults ln -s ...
true
439d75df789519329782b792a447159d002153e1
Shell
nguyet04/entreeai
/servers/flaskserver/app/deployflask.sh
UTF-8
742
2.640625
3
[]
no_license
#!/usr/bin/env bash export SQLADDR="sql:3306" export FLASKADDR="flaskapp:80" export MYSQL_ROOT_PASSWORD="flasktest" cd ../databases ./builddb.sh cd ../app ./buildflask.sh # docker push gebizar/flaskapp # docker pull gebizar/flaskapp # docker pull gebizar/flaskdb docker rm -f flaskapp docker rm -f flaskdb docker ...
true
e35bd5f7d5b3fc7e3188d613bd2ddb3a0e8ee812
Shell
crypdex/blackbox
/services/decred/scripts/dashboard.sh
UTF-8
2,367
3.171875
3
[]
no_license
#!/usr/bin/env bash printf " ${color_yellow}Decred ─────────────────────────────────────────────────────${color_clear}" # Get the location of this script __dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" blockchaininfo=$(${blackboxcmd} exec dcrctl getblockchaininfo 2>/dev/null) if [[ $? ...
true
7c4a854ceaa6cc0c5041167ab94a20f638f48cce
Shell
TarasKoval/BashScripts
/leap.sh
UTF-8
379
4.1875
4
[]
no_license
#!/bin/bash #Given a year, report if it is a leap year. set -o errexit set -o nounset if [[ $# -ne 1 ]]; then echo 'Usage: leap.sh <year>' exit 1 fi number=$1 if ! [[ $number =~ ^[0-9]+$ ]]; then echo 'Usage: leap.sh <year>' exit 1 fi if [[ $(($number%4)) == 0 ]] && [[ $(($number%100)) != 0 ]] || [[ $(($number%...
true
ce428bba4c4060b43c553ac9ecc1b1ff42c9e5a1
Shell
theshubhamk/linuxEmer
/Assignments/07_largestWHIle.sh
UTF-8
405
3.5625
4
[]
no_license
#!/bin/bash #Written by SHUBHAM KUMAR SINGH #script to compare larger integer values from a 'n' number of arguments using command line arguments arr=($@) count=$# c=$(expr $count - 1) p=0 q=0 n=0 l=0 echo ${arr[@]} echo the count is $count p=${arr[0]} while [ $c -gt 0 ] do let n=$n+1 q=${arr[$n]} if [...
true
61fc9f5da63e2e432494eec716595658a64d7c4e
Shell
MMTObservatory/pyINDI
/pyindi/www/static/js9/tests/testwait
UTF-8
1,093
3.671875
4
[ "BSD-3-Clause", "MIT" ]
permissive
#!/bin/bash # set -x if [ x$1 != x ]; then cmd="$1"; else echo "usage: $0 [CreateMosaic | DisplaySection | LoadCatalog | LoadRegions | RotateData | RunAnalysis]" exit 0 fi error() { echo "$1" | egrep ERROR 1>/dev/null 2>&1 if [ $? = 0 ]; then echo "$*" else echo "ERROR: $*" fi ...
true
611f5be7d33249718064e685115cd9be42cd73ee
Shell
alice1017/setupscripts
/setup-zsh_linux.sh
UTF-8
1,054
3.6875
4
[]
no_license
#!/bin/bash # Load library LIBPATH="$(dirname $(readlink -f $0))/lib" source "$LIBPATH/load.sh" # Display banner display_banner_msg "Install zsh 5.5.1 from source" # Define variables and function URL="http://www.zsh.org/pub/zsh-5.5.1.tar.gz" FILE="zsh-5.5.1.tar.gz" DIR="zsh-5.5.1" DIRPATH="${SRCDIR}/${DIR}" DEPENDEN...
true
ddeae08e16e39faf96314e399f02e4b622f6f06f
Shell
claudiojunior-me/linux-debian-based-setup
/scripts/config-so-theme.sh
UTF-8
640
2.78125
3
[]
no_license
#!/usr/bin/env sh echo "" echo "#############################" echo "# Styling the SO with Dracula Theme" echo "#############################" echo "" echo " Cloning to Ant-Dracula...." git clone https://github.com/Diego-Brocanelli/Ant-Dracula.git ~/.themes/Ant-Dracula echo " Set to Ant-Dracula theme...." gset...
true
270be64abd01166130d0af831056bf1966008459
Shell
nanoxas/PintOS
/tarea2/src/compile.sh
UTF-8
1,051
3.75
4
[ "MIT-Modern-Variant", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
#!/bin/bash function compile-dir { A=$(pwd) echo "Compiling $1" cd $1 if make > /dev/null; then cd $A else cd $A echo "Compiling $1 failed" exit $2 fi } function pintos-compile { compile-dir filesys 102 compile-dir userprog 103 compile-dir examples 104 } function pintos-cp { echo ...
true
504c86d0c2270092092dd766d11a134ce73ff73a
Shell
csu-anzai/Cloud-computing-with-AWS
/infrastructure/aws/cloudformation/csye6225-aws-cf-terminate-application-stack.sh
UTF-8
351
3.265625
3
[ "Apache-2.0" ]
permissive
echo "stackname : $1" echo "$stackname" stack_delete=$(aws cloudformation delete-stack --stack-name $1) echo "Stack is getting deleted...." result=$(aws cloudformation wait stack-delete-complete --stack-name $1) if [[ -z "result" ]]; then echo "---Stack has not been deleted---" else echo "---Stack has bee...
true
7caaa846a86d2239cf6ae7672e5f199dbaa30c87
Shell
frebib/dotfiles-1
/mk-image/src/03-dotfiles.sh
UTF-8
724
3.171875
3
[]
no_license
#!/usr/bin/env bash set -o xtrace set -e DF_PATH=$HOME/dotfiles REPO_HTTPS='https://github.com/mishajw/dotfiles.git' REPO_SSH='git@github.com:mishajw/dotfiles.git' [[ "$USER" == "misha" ]] || exit 1 sudo pacman -S git zsh python --noconfirm --needed if [[ ! -e $DF_PATH ]]; then echo "Cloning dotfiles" git clon...
true
ef410b15ae0db087ddabb3af5d952c548a5f5e59
Shell
LittleHelicase/jumper
/apps/jumper/scripts/download-assets.sh
UTF-8
312
2.765625
3
[]
no_license
#!/usr/bin/env bash # this script downloads sprite assets from github. WORKING_DIR=$(pwd) SCRIPT_DIR=$(dirname "$0") cd "$SCRIPT_DIR" mkdir ../assets/images/sprites/external cd ../assets/images/sprites/external curl -LO https://github.com/hastebrot/sprites/raw/master/pico8/38190_sprites.png cd "$WORKING_DIR"
true
0639af770070e0d38e56922fbaf11959df67c38f
Shell
fsmo/anasfullstack-dotfiles
/.atom/local-history/Users/anas/projects/anas-dotfiles-v2/2015-10-17_11-02-36 AM_brew.sh
UTF-8
5,305
2.796875
3
[]
no_license
# Ask for the administrator password upfront. sudo -v # Keep-alive: update existing `sudo` time stamp until the script has finished. while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & # Check for Homebrew, # Install if we don't have it if test ! $(which brew); then echo "Installing home...
true
3761e2dc30c5446590b68184e677698ad2535662
Shell
NCAR/container-dtc-nwp
/components/scripts/common/met_point_verf_all.ksh
UTF-8
5,850
3.671875
4
[]
no_license
#!/bin/ksh -l ########################################################################## # # Script Name: met_point_verf_all.ksh # # Author: John Halley Gotway # NCAR/RAL/DTC # # Released: 10/26/2010 # # Description: # This script runs the MET/Point-Stat tool to verify gridded output # from ...
true
23795bddd31089223213185879d34e6a7efd0ce4
Shell
erantapaa/do-tools
/setup
UTF-8
10,598
4.0625
4
[]
no_license
#!/bin/bash # # Script to set up a droplet. read -d '' -r ALL_COMMANDS <<END build_pandoc build_pandoc_as_user fedora_init fedora_install_pkgs fedora_test_all fetch_ghc_7_10_1_bindist fetch_ghc_7_8_4_bindist git_clone_haskell_platform git_clone_haskell_platform_erantapaa git_clone_hl install_haskell_platform install_...
true
eabc08856b64f7232462f426d0c83368d65397e5
Shell
oleskiewicz/bin
/tex2svg
UTF-8
699
3.4375
3
[]
no_license
#!/bin/sh -e [ ! -t 0 ] && eq=$(cat); eq="${eq:-$1}" tmpdir="$(mktemp -d)" mkdir -p "$tmpdir" trap 'rm -r "$tmpdir"' EXIT texfile="${tmpdir}/0.tex" dvifile="${tmpdir}/0.dvi" svgfile="${tmpdir}/0.svg" if [ -z "$eq" ] then cat <<EOF usage: tex2svg "a+b=c" echo "a+b=c" | tex2svg EOF exit 1 fi cat <<EOF > "${texfil...
true
2f6b80ffc0473d9a38f4110b541b2e0fa0a70d1c
Shell
rubencaro/gmail_checker
/check_gmail.sh
UTF-8
2,781
3.78125
4
[]
no_license
#!/bin/bash # poner en crontab, a conveniencia # * * * * * /bin/bash -l -c /home/user/check_gmail.sh # depende de yad, sox, python-keyring, firefox... # necesita info de dbus si se ejecuta desde fuera de X (como en crontab) accounts=("ruben@elpulgardelpanda.com") file_name="check_gmail.sh" notify_flag="$HOME/.check...
true
dd4734c197260809f4d19cd6204984bfdd68e328
Shell
wymcmh/monsys
/web/nginx-1.2.6/c.sh
UTF-8
379
2.90625
3
[ "BSD-2-Clause" ]
permissive
#!/bin/bash cd $(dirname $0) case $1 in start) echo "stopping...done" ./out/sbin/nginx -s stop 2>&1 >/dev/null echo "starting...done" ./out/sbin/nginx ;; stop) echo "stopping...done" ./out/sbin/nginx -s stop ;; status) ps -ef | grep nginx ;; test) wget -q -O - --server-response http://127.0....
true
40dff0db6c6e0d7d73bfa7dd04ac4911b51daabc
Shell
eelregit/fftgal
/src/app/job_Psb.sh
UTF-8
611
2.515625
3
[]
no_license
#!/bin/bash #SBATCH --ntasks=1 #SBATCH --partition=shared #SBATCH --mem=5GB #SBATCH --time=9:00:00 #SBATCH --job-name=Psb #SBATCH --output=P%j.out APP=$SCRATCH/fftgal/Psb Ng=512 L=2560 Nsub=4 wisdom=${Ng}.wsdm alpha=0.02 dK=0.01 indir=/project/projectdirs/boss/galaxy/QPM/dr12d_cubic_mocks a=0.6452 outdir=$SCRATCH/ssm....
true
e3ab459dc77a5372a6516b6541501b423d2b406a
Shell
zgwldrc/repos01
/regex/regexlib.regex
UTF-8
411
2.890625
3
[]
no_license
#!/bin/bash # Example: # echo xx:xx:aa:bb:cc:dd_192.168.1.1 | sed -i "$regex_fetchIpaddrFormat" # output:192.168.1.1 regex_fetchIpaddrFormat='s/.*[^0-9]\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\).*/\1/' regex_0to255='([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])' regex_ipv4address='^(([1-9]|[1-9][...
true
76d9da072220561ac66e68ecf1e21638213f59a7
Shell
jusito/docker-vsftpd-alpine
/base/entrypointTestMode.sh
UTF-8
240
3.109375
3
[ "MIT" ]
permissive
#!/bin/sh if [ "${DEBUGGING}" = "true" ]; then set -o xtrace fi set -o errexit set -o nounset set -o pipefail # start #trap 'pkill -15 vsftpd' 15 #/usr/sbin/vsftpd "$CONFIG_FILE" & echo "vsftpd started" wait "$!" echo "Vsftpd ended"
true
c0503879c4d692130fe8d55f1c57087c77d89db0
Shell
binary-punks/Mail-Toaster-6
/provision-clamav.sh
UTF-8
5,840
3.296875
3
[]
no_license
#!/bin/sh # shellcheck disable=1091 . mail-toaster.sh || exit export JAIL_CONF_EXTRA=" mount += \"$ZFS_DATA_MNT/clamav \$path/var/db/clamav nullfs rw 0 0\";" install_clamav_unofficial() { if [ -z "$CLAMAV_UNOFFICIAL" ]; then local _es_mess=" eXtremeSHOK maintains the ClamAV UNOFFICIAL project at https://gith...
true
d61c646896b6dafe7a96542d2c47a31d89072366
Shell
chelalita/operativ
/Original/Logep.sh
UTF-8
418
3.265625
3
[]
no_license
LOG=".log" DIA=$(date +"%D") HORA=$(date +"%H:%M:%S") if [ $# -gt 3 ] || [ 2 -gt $# ] then echo " Mal uso del log " exit fi if [ ! $3 ] then RAZON="INFO" else RAZON=$3 fi echo "$DIA$HORA-$USER-$1-$3-$2" >> $DIRLOG/$1$LOG if [ -f $1$LOG ] then LINEAS=`wc -l $DIRLOG/$1` else LINEAS=0 fi if [[ LINEAS -gt 10...
true
3956ca59511c446c9017255d4d5c88086fb1c4d0
Shell
draca-be/atlassian
/update-jira.sh
UTF-8
228
2.796875
3
[ "MIT" ]
permissive
#!/bin/sh VERSION=$@ git checkout master && sed -i "s/JIRA_VERSION=.*/JIRA_VERSION=$@/g" atlassian-jira*/Dockerfile && git add atlassian-jira*/Dockerfile && git commit -m "Update JIRA $@" && git tag -f jira-$@
true
1992e22de8be8db6926240121457181838742aa2
Shell
luis-caldas/mydesktop
/programs/local/control/bluetooth.bash
UTF-8
6,947
4.09375
4
[]
no_license
#!/usr/bin/env bash # {{{ Globals # Blue folder BLUE_CACHE_FOLDER="${HOME}/.cache/neoblue" # Warning popup variables BLUE_WARNING_PERCENTAGE=25 BLUE_POP_COOLDOWN_TIME=60 # Seconds # Cache variables BLUE_READ_COOLDOWN=$(( 60 * 2 )) # Seconds # State of folder creation cache_created=0 # }}} # {{{ Utils folder_now...
true
64f4faa8f1806ac32ce080c028816bd1425d2b67
Shell
aziz781/camunda-docker
/build-deploy.sh
UTF-8
1,035
3.328125
3
[]
no_license
#!/bin/bash echo "Setting CAMUNDA env variables" export CAMUNDA_USER=camunda export CAMUNDA_PASSWORD=camunda export CAMUNDA_DB=process-engine export CAMUNDA_DATA=$PWD/docker/volumes/postgres echo "creating volume directory for postgres db" mkdir -p $PWD/docker/volumes/postgres chmod 777 -R $PWD/docker echo "Buildin...
true
24551a12260ed4f890e770ed1a1b2baa5ea18d62
Shell
codehunte/tools
/2fa.sh
UTF-8
1,699
3.625
4
[]
no_license
#!/bin/bash # Root [[ $(id -u) != 0 ]] && echo -e "\n 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}\n" && exit 1 cmd="apt" # 笨笨的检测方法 if [[ $(command -v apt-get) || $(command -v yum) ]] && [[ $(command -v systemctl) ]]; then if [[ $(command -v yum) ]]; then cmd="yum" ...
true
3ef244a0042ac8a39309cc1437f61755f0d8303d
Shell
KairosAerospace/terraform_wrapper_scripts
/terraform/private_cloud/deploy.sh
UTF-8
1,248
3.484375
3
[]
no_license
#!/bin/bash set -xe if [ ! -f $1 ]; then echo "$1 is not a file" exit 1 fi DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" # Some dependent AWS modules (EKS, RDS) do not yet support Terraform 0.12, # So we need to clone the repo, which has patched versions of the dependent # modules loca...
true
53212656fcee03bae09d9aab8b08f8d045b208cd
Shell
jadbox/leaderboard-d
/test.sh
UTF-8
1,263
2.828125
3
[]
no_license
#! /bin/bash # Requires HTTPie. # Description: Scenario test script for the leaderboard server # # If using the Redis server, del uniqueID and scores_list table between runs. echo "Creating users" http --print=bB -f POST localhost:3000 name=Don event:=1 && http --print=bB -f POST localhost:3000 name=Bill event:=1 && ...
true
e167aa8ec968e60c2354e1a9745211a572a29dc3
Shell
whitfin/docker-geoipupdate
/src/exec.sh
UTF-8
635
3.4375
3
[ "MIT" ]
permissive
#!/bin/sh -e # set a configuration file if not already set ! (: "${GEOIP_CONFIG_FILE?}") 2>/dev/null && { GEOIP_CONFIG_FILE="/etc/GeoIP.conf" [[ ! -z $GEOIP_USER_ID ]] && { echo "UserId $GEOIP_USER_ID" > $GEOIP_CONFIG_FILE } [[ ! -z $GEOIP_LICENSE_KEY ]] && { echo "LicenseKey $GEOIP_LIC...
true
71e6917b3e1809b7796186e5a2cfa9e9b44070ec
Shell
pbsinclair42/configs
/.githooks/prepare-commit-msg
UTF-8
764
3.65625
4
[]
no_license
#!/bin/sh case "$2" in template) gittemplatefile=$(git config --get commit.template | sed "s|~|$HOME|g"); cat $gittemplatefile > $1; printf "\n#\n" >> $1; git status -sb | head -n 1 | sed 's/^##/#/g' >> $1; git diff --cached --stat | sed 's/^/#/g' >> $1; printf "#\n#\n" >> $1; git diff --...
true
49ee4a21660ba2cc190a599f88a92974edcbf66f
Shell
Rowantatai/beyondz-platform
/docker-compose/scripts/run.bat
UTF-8
597
3.0625
3
[]
no_license
#!/bin/bash # When you stop the container, it doesn't clean itself up properly so it fails to start next time. Cleanup! if [ -e /app/tmp/pids/server.pid ]; then echo "Cleaning up previous server state" rm /app/tmp/pids/server.pid fi cp -a /app/docker-compose/config/* /app/config/ cp -a /app/docker-compose/.env-do...
true
cd1b4cc9d6f6e58b437101f322d7ed1ed69706c4
Shell
dapr/components-contrib
/.github/scripts/components-scripts/certification-pubsub.aws.snssqs-setup.sh
UTF-8
1,604
2.546875
3
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/sh set -e # Set variables for GitHub Actions echo "AWS_REGION=us-east-1" >> $GITHUB_ENV echo "PUBSUB_AWS_SNSSQS_QUEUE_1=sqssnscerttest-q1-$UNIQUE_ID" >> $GITHUB_ENV echo "PUBSUB_AWS_SNSSQS_QUEUE_2=sqssnscerttest-q2-$UNIQUE_ID" >> $GITHUB_ENV echo "PUBSUB_AWS_SNSSQS_QUEUE_3=sqssnscerttest-q3-$UNIQUE_ID" >> $GIT...
true
821bc2a91998dfbf2bb1c5e8e583c709938c0419
Shell
loftuxab/alfresco-swedish
/updateAlfrescoSource.sh
UTF-8
4,331
2.8125
3
[]
no_license
#!/bin/bash #Base locations of source files, chnage if you need to pull from enterprise branch baseurl=http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root function svnget() { if [ ! -d "alfresco/sv_se/source/$1" ]; then svn co -r $3 $2 alfresco/sv_se/source/$1 else svn update -r $3 alfresco/sv...
true
a8b814b4e323d1ca2b2a05f69996a8123ecf52c9
Shell
MohanNalgire/ng7
/run.sh
UTF-8
211
3.09375
3
[]
no_license
#!/bin/bash if node -v ge 12.0.0;then echo "Node is present" else echo "Install nodejs version 12 and greater" fi if npm -v ge 6.0.0 then echo "" else echo "Install npm version 6.0.0 and greater" fi
true
acb59c25d2b269ff57230afdf06b74f62aff1e18
Shell
Ram-Z/ccr-tools
/ccr-tools
UTF-8
10,536
3.5625
4
[]
no_license
#!/bin/bash ver=0.2 tempdir="/tmp/ccr-tools-$UID" configdir="$HOME/.config/ccr-tools" configrc="$configdir/config" ccrbaseurl="http://chakra-project.org/ccr/" rpcurl="${ccrbaseurl}rpc.php?type" ccrurl="${ccrbaseurl}packages.php" idurl="${ccrbaseurl}rpc.php?type=info&arg=" voteurl="${ccrbaseurl}packages.php" checkurl="$...
true
24aad6aa2a9935a7fc4633d9c8a8602917cc3f6f
Shell
hhadian/kaldi
/egs/wenetspeech/s5/local/wenetspeech_test_aishell.sh
UTF-8
2,588
3.1875
3
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
#!/usr/bin/env bash # Copyright 2021 ASLP, NWPU (Author: Hang Lyu) # Mobvoi Inc (Author: Binbin Zhang) # Apache 2.0 # To accommodate with the setups of other toolkits, we give up the techniques # about SpecAug and Ivector in this script. # 1c use multi-stream cnn model. # Set -e here so that we catch...
true
48f1a1018c87ba070cee7ba0aaaa55fed862c293
Shell
renowncoder/sysbox
/tests/helpers/k8s.bash
UTF-8
16,170
3.984375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash load ../helpers/run load ../helpers/docker load ../helpers/systemd load ../helpers/fs # # K8s Test Helper Functions # (for tests using bats) # function kubeadm_get_token() { local k8s_master=$1 local join=$(__docker exec $k8s_master sh -c "kubeadm token create --print-join-command 2> /dev/null") ec...
true
34635be5cafc7c8be4961433f4c7fe2e48c70049
Shell
usdot-fhwa-stol/carma-platform
/carma/launch/utility/save_pcd_map.bash
UTF-8
1,028
2.859375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Copyright (C) 2020-2021 LEIDOS. # # 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 law or...
true
ce0cac9c59e4e7423ad28842ac0dccd7ac28d92f
Shell
Actat/flocking
/flocking.sh
UTF-8
1,990
3.671875
4
[]
no_license
#!/bin/sh video_length=30 frame_rate=10 frame_number=`expr $video_length \* $frame_rate` field_x=50 field_y=50 fish_amount=200 rm -f out.mp4 rm -rf dat rm -rf eps rm -rf png mkdir dat if [ -f main.c ]; then echo "コンパイルします." gcc -o main.out main.c -lm else echo "main.c が存在しないようです." exit 0 fi if [ -f ...
true
d288158600599c61b71b79c0bc9ebe7f989f537b
Shell
eastmallingresearch/Metatranscriptomics_pipeline
/scripts/assemble.sh
UTF-8
1,588
3.890625
4
[]
no_license
#!/bin/bash #$ -S /bin/bash #$ -cwd #$ -l virtual_free=1G read -r -d '' HELP << EOM ######################################################################### # # # Wrapper script for assmbling data # # ...
true
837e22ab4493796eb2335d4ff2a719da79f2da67
Shell
camm9909/pushbullet_ip_notify
/pb_ipcheck.sh
UTF-8
1,215
3.859375
4
[]
no_license
#!/bin/bash ipcon="ip.txt" # Path place to store IP pubip="ifconfig.me" # WAN IP resolve host pbapi="123456789ABCDEFGHIJKLMNOPQRSTUVWXY" # PushBullet token title="New IP:" # Title of PushBullet Msg #Check if IP store exists if [ -f "$ip...
true
369786cdebcffb8fad991e0fe5f57cd5ab0eaaa2
Shell
phantasmicmeans/webrtc-native-docker
/startapp.sh
UTF-8
347
2.921875
3
[]
no_license
#!/bin/sh echo "script start" app_type=${1} new_handle_id=${2} webrtc_client="yolo" echo "app_type = $app_type" echo "new_handle_id = $new_handle_id" if [ "$app_type" = "$webrtc_client" ] then echo "$app_type start now..." ./WebRTC_SFU_OldLibs $new_handle_id else echo "app_type $app_type is not valid, p...
true
30d9ef1f6e6259a9869191c7882bf08d4129b739
Shell
michaelcunningham/oracledba
/adhoc/gather_stats_npdb510.sh
UTF-8
1,804
3.125
3
[]
no_license
#!/bin/sh target_server=npdb510 this_server=`uname -n | cut -f1 -d.` if [ "$this_server" != "$target_server" ] then echo "You are trying to run this script on the wrong server." echo "It is intended to only run on the "$target_server" server." exit fi log_date=`date +%a` adhoc_dir=/dba/adhoc log_file=$adhoc_dir/l...
true
e6596a09bf92d07c508bcf9d71a06f951afc2598
Shell
CoolmanCZ/upp_cmake
/GenerateCMakeFiles-lib.sh
UTF-8
85,516
2.890625
3
[]
no_license
#!/bin/bash # # Copyright (C) 2016-2023 Radek Malcic # # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list ...
true
f52f2c3a914735f4adb7c9dd312b45397e93443a
Shell
brandonjones085/os
/transpose.sh
UTF-8
278
3.484375
3
[]
no_license
#!/bin/bash row=0 i=1 #This is mostly to just get the number of rows #by counting the first row while IFS= read -r myLine || [ -n "$myLine" ] do row=$( head -n 1 $1 | wc -w ) #number of rows done < $1 for i in $(seq 1 $row) do cat $1 | cut -f$i $1 | paste -s done
true
4f9922e7fd160c42b216bc6d8e97a453b7caa659
Shell
resslerruntime/rice
/cat-cat/tint2/volume.sh
UTF-8
1,024
2.875
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash muted=$(amixer get Master | grep "\[" | cut -d[ -f4 | grep -o "[a-z]*") cur=$(amixer get Master | grep "\[" | cut -d[ -f2 | grep -o "[0-9]*") if (( cur<=0 )); then vol="│\n│\n│\n│\nX" elif (( 1<=cur && cur<=10 )); then vol="│\n│\n│\n│\n╽" elif (( 11<=cur && cur<=20 )); then vol="│\n│\n│\...
true
7b14a3ab05e5c82e527456e843f7ee97d5ba3938
Shell
drewgrubb0/dev-tools
/scripts/github-clone.sh
UTF-8
293
3.703125
4
[]
no_license
#!/usr/bin/env bash PROJECT_NAME=$1 if [ -z $PROJECT_NAME ]; then read -p "Please enter the project name: " PROJECT_NAME fi cd ~/Projects if [ $? -ne 0 ]; then mkdir ~/Projects fi git clone git@github.com:drewgrubb0/${PROJECT_NAME}.git echo "Cloned ${PROJECT_NAME} into Projects" exit 0
true
ae377926f7a029e6bd3b52fc226629653666dedf
Shell
JonasLaksen/deeptsa
/pushing.bash
UTF-8
145
2.515625
3
[]
no_license
FILE=$1 cp $FILE "server_${FILE}" -R git add server_results/ git commit -m "Automatic commit, adding server result ${FILE}" git push origin HEAD
true
304a72d43141fa508a7426eb894ac326829eb783
Shell
jasonLaster/dotfiles
/aliases.zsh
UTF-8
2,226
2.609375
3
[]
no_license
alias g="git" alias s="git grep -e \"$1\"" export OS="~/src/_os" export JS="$OS/_js" export MOZ="~/src/moz" export GECKO="~/src/moz/gecko-dev" export NIGHTLY="/Applications/Firefox Nightly.app/Contents/MacOS/firefox" alias os="cd $OS" alias moz="cd $MOZ" alias gecko="cd $GECKO" alias dbg="cd $GECKO/devtools/client/d...
true
7bd9d96bbbd4e08cc55345196da0a4f357963917
Shell
Cloudxtreme/xztech
/work/peer1/addons/p1post/src/p1post-1.0/usr/local/p1post/script.d/999mh.sh
UTF-8
2,251
3.078125
3
[]
no_license
#!/bin/bash # File: 999mh.sh # Package: p1post # Install Location: /usr/local/p1post/script.d # Name: Managed Hosting Legacy Configurator # # Supported Platforms: # Redhat Enterprise Linux # # Description: Perform standard managed hosting server configuration # and package installation of legacy options an...
true
c63142792687cd686a00128f5a63b3248d4bf80d
Shell
mogenson/eco-speech-detect
/run_me.sh
UTF-8
260
2.8125
3
[]
no_license
#!/bin/bash ctrl_c() { echo "" # new line echo "killing web server" kill $WEB_SERVER_PID exit 0 } trap ctrl_c SIGINT python -m SimpleHTTPServer & WEB_SERVER_PID=$! sleep 1 google-chrome http://0.0.0.0:8000 while true do sleep 1 done
true
2126dd116a77893f9e08273c2500fd0863dd4fa1
Shell
A2795/Week10
/Week10.sh
UTF-8
614
3.140625
3
[]
no_license
#!/bin/bash # Show what your IP address is is by using the ifconfig command ifconfig # Show can now catch a glimpse into your routing table route -n # Show ping ourselves, press ctrlC to stop this ping 127.0.0.1 # Show traceroute to see what path traceroute google.com # Show check their IP addresss with the hos...
true
89159ba2ce083506a7e12476288939fbfafb3789
Shell
joebernard/rn-diff-purge
/multiple-versions-diffs.sh
UTF-8
299
3.109375
3
[]
no_license
#!/usr/bin/env bash set -euxo pipefail IFS=$'\n' GLOBIGNORE='*' command eval 'versions=($(cat VERSIONS))' for vfrom in "${versions[@]}" do echo "from $vfrom" for vto in "${versions[@]}" do git diff origin/version/"$vfrom"..origin/version/"$vto" > diffs/"$vfrom".."$vto".diff done done
true
ec4d9b648826cf36187c6a1b4715f13ca292d80b
Shell
tnakaicode/jburkardt
/opengl/yellow_window.sh
UTF-8
419
2.921875
3
[]
no_license
#!/bin/bash # g++ -c yellow_window.cpp if [ $? -ne 0 ]; then echo "Errors compiling yellow_window.cpp" exit fi # g++ yellow_window.o -framework GLUT -framework OpenGL #g++ yellow_window.o -lGL -lGLU -lglut -lm if [ $? -ne 0 ]; then echo "Errors linking and loading yellow_window.o" exit fi # rm yellow_window.o m...
true
c05767829c272069b5dbbc2866986855c8170c6f
Shell
GsDevKit/GsDevKit_home
/tests/errorTests.sh
UTF-8
6,345
3.09375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash #========================================================================= # Copyright (c) 2015, 2016 GemTalk Systems, LLC. All Rights Reserved <dhenrich@gemtalksystems.com>. # # MIT license: https://github.com/GsDevKit/GsDevKit_home/blob/master/license.txt #=======================================...
true
95d4f86d68eb2e50c1c1a1da14f00319b7b85283
Shell
realtymaps/map
/scripts/app/test
UTF-8
1,610
3.703125
4
[]
no_license
#!/bin/bash set -e set -o pipefail SCRIPT_DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )/.." if [[ "$CIRCLECI" != "" ]] then # when on CircleCI, there's stuff we have to do to prep the dbs before we run the tests echo "***** Creating DBs:" $SCRIPT_DIR/database/createDbs ubuntu for DB...
true
211128e1d369cf867ee99b1372429911ad2cf292
Shell
feroze/.dotfiles
/git_scripts/terminalColors.sh
UTF-8
885
2.890625
3
[]
no_license
#!/bin/bash # ====================== # TERMINAL OUTPUT COLORS # text formats RESET=`tput sgr0` BOLD=`tput bold` DIM=`tput dim` REVERSE=`tput rev` NORMAL="\033[21m" # text colors BLACK=`tput setaf 0` RED=`tput setaf 1` GREEN=`tput setaf 2` YELLOW=`tput setaf 3` BLUE=`tput setaf 4` MAGENTA=`tput setaf 5` CYAN=`tput seta...
true
8766770e97553fbf0f29734ba6fa3e4fe8758b0f
Shell
neil78duan/apollolib
/tool/liveupdate-node/liveupdate-ubuntu.sh
UTF-8
898
3.5625
4
[]
no_license
#! /bin/sh # # PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin/ WORKING=/home/liveupdate/liveupdate-node CONFIG_FILE=$WORKING/configuration.json DAEMON=$WORKING/index.js PIDFILE=/var/run/liveupdate.pid PROG="liveupdate" OPTS="--path $WORKING --pidfile $PIDFILE --config $CONFIG_FILE " test -x $DAEMON || exit 0 ...
true
aefe24960e9ac09aeec91008f5a6ac377794e5c7
Shell
anynines/broker-registrar-boshrelease-OLD
/jobs/broker-deregistrar/templates/run.sh
UTF-8
1,216
2.875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash exec 2>&1 export PATH=$PATH:/var/vcap/packages/jq/bin export PATH=$PATH:/var/vcap/packages/cf-cli/bin set -eu CF_API_URL='<%= p("cf.api_url") %>' CF_ADMIN_USERNAME='<%= p("cf.username") %>' CF_ADMIN_PASSWORD='<%= p("cf.password") %>' CF_SKIP_SSL_VALIDATION='<%= p("cf.skip_ssl_validation") %>' <% brok...
true
069bbfa0a7e8838c80bc6b5ae6d7a8da5676e569
Shell
andyneff/esxi-nut
/internal_package/etc/init.d/install-upsmon
UTF-8
2,264
3.703125
4
[]
no_license
#!/bin/sh # # NUT: # Install/Upgrade/Remove the network UPS tools client # # description: NUT client post-install script # # # Log action # NUT_log() { echo "$1" logger -t NUT "$1" return 0 } add_advcfg_string() { esxcfg-advcfg -q -g "/UserVars/$1" 2>/dev/null if [ $? = 1 ] then esxcfg-advcf...
true
adae6fb9e6d538d9fc647002d58fb887be6036a2
Shell
ChameleonCloud/chi-in-a-box
/roles/chameleon_mariadb/templates/mariadb.j2
UTF-8
2,397
3.953125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # MySQL Backup Script # ROTATE="{{ mariadb_backup_file_age }}" DIR="{{ backup_location }}" set -o pipefail {% if enable_mariabackup|bool == false %} # Dumps mysql databases to a file ##### START CONFIG ################################################### USER="{{ backup_database_user }}" PASS="{{ back...
true