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
64b6dc9b5387ab7fcbf725b503f35f7eac32fb8b
Shell
LeelaPakanati/dotfiles
/.zshrc
UTF-8
4,012
2.765625
3
[]
no_license
HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1000 setopt appendhistory autocd extendedglob notify bindkey -v zstyle :compinstall filename '/home/lee/.zshrc' export TERM=xterm-256color autoload -U colors && colors PS1="%{$fg[yellow]%}%m%{$fg[green]%}|%{$fg[cyan]%}%~%{$fg[blue]%}$%b " autoload -Uz compinit zstyle ':com...
true
5a01488f8133fecef8acdfc3c70e546d11ca23de
Shell
wilmardo/docker-platformio-core
/platformio.sh
UTF-8
636
3.28125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash VOLUME_CONTAINER_NAME=vc_platformio VOLUME_CONTAINER_IMAGE=sglahn/vc_platformio:latest IMAGE_NAME=sglahn/platformio-core:3.4.0 if [ ! "$(docker ps -a | grep $VOLUME_CONTAINER_NAME)" ]; then docker run -u `id -u $USER`:`id -g $USER` --name $VOLUME_CONTAINER_NAME $VOLUME_CONTAINER_IMAGE fi DEVICE= if [...
true
54889a38da2c38684c36a3f9352956ae4afc52f4
Shell
VsrsCif/ebMS-SVEV
/ebMS-SVEV-example/msh/config/gen-keytores.sh
UTF-8
4,606
2.640625
3
[]
no_license
#/bin/sh mkdir keystore # generate key echo "generate key" $JAVA_HOME/bin/keytool -genkey -alias msh.e-box-a.si -keypass key1234 -keystore keystore/msh.e-box-a-keystore.jks -storepass test1234 -dname "cn=msh.e-box-a.si,ou=test,ou=msh,ou=jrc,ou=si" -keyalg RSA $JAVA_HOME/bin/keytool -genkey -alias msh.e-box-b.si -keyp...
true
8e6f4064a06982db8dcd202528256a7be614e8ee
Shell
ragusa87/symfony4-bootstrap
/bin/quality_control
UTF-8
757
3.21875
3
[]
no_license
#!/bin/bash ENV_PATH=".env" if [ -f "${ENV_PATH}" ]; then source ${ENV_PATH} fi # Syntax checks php -l src/ bin/console lint:twig templates/ bin/console lint:xliff translations/ bin/console lint:yaml etc/ # Coding standard checks echo -e "\n\e[33mRunning PHPCS...\e[0m\n" vendor/bin/phpcs -p --colors --standard=PS...
true
d6517269e7abdd387340e2536440da0f1584078a
Shell
UCSF-Costello-Lab/LG3_Pipeline
/scripts/mutation_overlaps.sh
UTF-8
1,284
3.34375
3
[]
no_license
#!/bin/bash # shellcheck source=scripts/utils.sh source "${LG3_HOME:?}/scripts/utils.sh" source_lg3_conf PROGRAM=${BASH_SOURCE[0]} echo "[$(date +'%Y-%m-%d %H:%M:%S %Z')] BEGIN: $PROGRAM" echo "Call: ${BASH_SOURCE[*]}" echo "Script: $PROGRAM" echo "Arguments: $*" LG3_HOME=${LG3_HOME:?} LG3_OUTPUT_ROOT=${LG3_OUTPUT_R...
true
1334af3690c184ff775e72f28c2b7f078004c934
Shell
gcardy/ansible-laptop
/roles/dotfiles/files/bash/bash.d/auto-complete.sh
UTF-8
672
3.03125
3
[]
no_license
# bash autocomplete # aws cli bash autocomplete complete -C aws_completer aws # We assume that its only linux or mac # so just 2 conditions here if [[ "$OSTYPE" == "darwin"* ]]; then # assumes you install bash_completion in brew if [ -f `brew --prefix`/etc/bash_completion ]; then . `brew --prefix`/etc...
true
35c3a39e2c728664706d22e2f1db491ae0d5eb8a
Shell
shirasagi/ss-vagrant
/packer/scripts/disable-ipv6.sh
UTF-8
547
3.21875
3
[ "MIT" ]
permissive
os=${os:-"centos7"} if [ "$os" == "centos6" ]; then echo 'NETWORKING_IPV6=no' >> /etc/sysconfig/network echo "options ipv6 disable=1" > /etc/modprobe.d/disable-ipv6.conf /sbin/chkconfig ip6tables off sed -ie 's/::1/# ::1/' /etc/hosts fi if [ "$os" == "centos7" ]; then sysctl -w net.ipv6.conf.all.disable_ipv...
true
7bdebd09912fa5b77523910bfe957aeb34bc5890
Shell
anyWareSculpture/sculpture-client
/scripts/anyware
UTF-8
1,551
4.0625
4
[ "MIT" ]
permissive
#!/bin/sh get_script_dir() { SOURCE="${BASH_SOURCE[0]}" # While $SOURCE is a symlink, resolve it while [ -h "$SOURCE" ]; do DIR=`cd -P "$( dirname "$SOURCE" )" && pwd` SOURCE=`readlink "$SOURCE"` # If $SOURCE was a relative symlink (so no "/" as prefix, need to resolve it relative t...
true
f46a5cb0ab47062eb5f1175e193e7ed55498ab14
Shell
gilbertoamarcon/local-osm
/run.sh
UTF-8
601
3.765625
4
[]
no_license
#!/bin/bash # Tiles obtained from # https://openmaptiles.com/downloads/planet/ # Example usage: # ./run.sh /media/gil/storage/maps/2017-07-03_planet_z0_z14.mbtiles 8080 # Default Parameters port=8080 # Input Args args=("$@") if [ "$#" -lt 1 ];then printf 'Invalid Arguments. Usage:\n./run.sh <path-to-map> <port-num...
true
84401bbe29f29fa4523d602a73ecbca6b8d94662
Shell
jessie-morris/hindsight-aws
/deploy.sh
UTF-8
990
3.640625
4
[]
no_license
#!/usr/bin/env bash function deploy { local -r bucket="${1:?Bucket name required.}" shift aws cloudformation deploy \ --stack-name=${STACK_NAME} \ --template-file hindsight.yaml \ --capabilities CAPABILITY_NAMED_IAM \ --parameter-overrides DataBucketName=${bucket} \ ...
true
86694ba612a51bb3e3697eae0c245a1a8119a931
Shell
saradhathiagu/upload_files
/Commands_Ubuntu/Commands_1.sh
UTF-8
3,816
2.625
3
[]
no_license
#! /bin/bash BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" BASE_IMAGENAME=api:base; IMAGENAME=solar_panel_2; function remove() { if [ "$(docker ps -aq)" ];then docker rm $(docker ps -aq) fi if [ " $(docker images -f dangling=true -q) " ];then docker rmi $(docker images -f dangling=true -q) fi if [ "...
true
65d1165e4b7ea983a7515a068314bf6afad3ea27
Shell
m4x91/Osiris
/scripts/backup/backup.sh
ISO-8859-1
3,448
3.609375
4
[]
no_license
#!/bin/bash ############################################################################### # # backup.sh - Skript, das ein Backup aller wichtigen Komponenten des Servers # macht. # # Copyright (c) 2016 i-Vertix NMS (info@pgum.eu) # # Development: # Jochen Platzgummer # # Version 2.3 # # Changelog # 20.0...
true
e19b13943afc3c7b35afd3825889e3fd42a10996
Shell
clems4ever/minipage-hub
/add-website
UTF-8
1,592
4.03125
4
[ "MIT" ]
permissive
#!/bin/bash source config if [ "$#" -ne 2 ]; then echo "Usage: add-website <DOMAIN> <WEBSITE_DIR>" exit 1 fi DOMAIN=$1 WEBSITE_DIR=$2 WEBSITE_CONFIG_DIR=$CONFIG_DIR/$DOMAIN ENVFILE_PATH=$WEBSITE_CONFIG_DIR/envfile echo "=== Website deployment ===" echo "" echo "Your website will be hosted at $DOMAIN and will ser...
true
79179ad1ad40911143b3615947e5ae0ae808f119
Shell
NokkuPrudhvi/SampleService
/service-jenkins-batch/scripts/jenkin.sh
UTF-8
630
2.703125
3
[]
no_license
#!/usr/bin/env bash # It runs on host startup. # Log everything we do. set -x exec >> /var/log/user-data-jenkins.log 2>&1 wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add - sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' sudo apt-ge...
true
6a1a5405ca4aeec42fb53dbb0d6507f1a7c27211
Shell
orosz-usgs/wqx-load
/download_epa_wqx_dump_files.sh
UTF-8
405
3.28125
3
[ "LicenseRef-scancode-warranty-disclaimer", "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/bash # download the Postgres wqx dump files from the epa # looks for the epa download python script in the same directory as this script # usage: download_epq_wqx_dump_files.sh [script options] script_dir=`dirname $0` script="$script_dir/epa_wqx_download.py" echo Installing python requirements pip3 install -r $...
true
3b2c46d846a93260bd6cc584e7cea4fc5426f14e
Shell
davidtheriault/general
/practice/replace.sh
UTF-8
495
3.171875
3
[]
no_license
# Perl Search and Replace, goes through files from find and replaces all occurances of PUPPY with NEW: # perl -i tells it to make the changes to the file in place, could also use the -i.bak option which would leave the orginal with a .bak extention perl -i -pe 's/OLD/NEW/g' filename # -p option tells perl to run the co...
true
cf415930cda86062d07ed0e4e48238163bdb1463
Shell
romanperesypkin/cpluplus_patterns
/build.sh
UTF-8
345
3.71875
4
[]
no_license
#! /bin/bash # Using: # ./build.sh - to buuild projects # ./build.sh clean - to clean projects printf "start building ------->>\n" DIRS="./*" cmd=$1 echo "command to invoke: ${cmd}" for i in ${DIRS} ; do if [ -d ${i} ]; then echo "DIR: ${i}" cd ${i} && ./build.sh ${cmd} cd .. fi done printf "<<...
true
a3f9789b582162a7c8dd4a946c50564970cbbf9d
Shell
SMAPPNYU/smapputil
/sh/run_jupyter_dumbo.sh
UTF-8
498
2.546875
3
[]
no_license
module load python/gnu/2.7.11 module load R/3.3.2 module load java/1.8.0_72 module load spark/2.1.0 PORT=$(shuf -i 6000-9999 -n 1) echo ssh -L $PORT:localhost:$PORT $USER@dumbo.es.its.nyu.edu jupyter notebook --port=$PORT --no-browser ': Run this in the Dumbo cluster to run a Jupyter notebook. Rather than the sbat...
true
06875efded4d6f1e372bacde28e641efff1d4c26
Shell
oswalpalash/dot-files
/.bashrc
UTF-8
2,335
3.21875
3
[]
no_license
# If not running interactively, don't do anything if [[ $- != *i* ]] ; then return fi # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" # set variable identifying the chroot you work in (used in the prompt below) if [ -z "${debian_chroot...
true
b4d08da460bec712237a339102f5c64cb255c7e8
Shell
blu-base/fer_steamreforming_supplements
/cfd-furnace/collect-results.h
UTF-8
5,365
3.609375
4
[ "CC-BY-4.0" ]
permissive
#!/bin/bash RESULTSTEM="results/output" ## Assorted Data echo -e "ID\tValid\tCase\tMassFlowPerTube\tInnerRadius(m)\tPressureDrop(Pa)\tOutletTemperature(K)\tHeatTransferBalance_Inlet/Outlet(W)\tHeatTransferPerAreaMean(W/m2)\tHeatTransferPerAreaSTD(W/m2)\tHeatTransferPerAreaVAR(W/m2)\tHeatTransferMean(W)\tHeatTransf...
true
76abfda7a7a68b707b6b08baca5d1ce9b08c394b
Shell
butchhoward/scripts
/baz_tools.sh
UTF-8
4,535
3.640625
4
[]
no_license
#!/usr/bin/env bash #source this script to get the useful functions # You have to be already logged in for these to work: # az login # az acr login --name leadingagilestudios DEFAULT_REGISTRY="leadingagilestudios" function _baz_repositories_help() { echo echo "baz repositories [registry-name]" echo "...
true
d8a8a687f6f46dd21d432f523c3b91a26baf0cbf
Shell
gemsanyu/Azure-OnDemand
/azod-slurm/scripts/image-grafana.sh
UTF-8
735
2.640625
3
[]
no_license
#!/bin/bash echo "#### Configuration repo for InfluxDB:" cat <<EOF | tee /etc/yum.repos.d/influxdb.repo [influxdb] name = InfluxDB Repository - RHEL \$releasever baseurl = https://repos.influxdata.com/centos/\$releasever/\$basearch/stable enabled = 1 gpgcheck = 1 gpgkey = https://repos.influxdata.com/influxdb.key EOF ...
true
abdee60424365dd02d7a600873b9d20a1298fdd3
Shell
s3strm/worker-instance
/bin/list_movie_bucket_files
UTF-8
676
3.5625
4
[]
no_license
#!/usr/bin/env bash PROJECT_DIR="$(dirname $0)/../" source ${PROJECT_DIR}/etc/settings b2 authorize-account ${BACKBLAZE_ACCOUNT_ID} ${BACKBLAZE_APPLICATION_KEY} > /dev/null FILES=() more_files() { local file_count=${#FILES[@]} if [[ ${file_count} -eq 0 ]]; then FILES+=( $(b2 list-file-names ${BACKBLAZE_MOVIE_...
true
1ad305ae9ac69cfb3fbb2633468a0e3155f42633
Shell
masakeida/monetary_policy_lsa
/mkFreq.sh
UTF-8
176
2.59375
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh . fileList.sh for file in ${file_list} do cp ${file}_fmt.txt input.txt ./morphological.py cp output.txt ${file}_mecab.txt done rm input.txt output.txt
true
79e6fe1d716119ae4682ed4e717b8ff095791d8f
Shell
xvlm/watchdog_linux
/shell/startup.sh
UTF-8
680
3.5625
4
[]
no_license
#!/bin/ksh # This shell is used to check the fts real time service is alive, if not, restart fts. trap " " 2 #Define variable #检测间隔时间 EXEC_INTERVAL=60 #启动脚本所在目录 SHELL_NAME="run.sh" #当前目录 FILE_DIR=$(cd "$(dirname "$0")"; pwd) #APP目录 APP_DIR=$FILE_DIR #JRE目录 SHELL_DIR=$APP_DIR/conf checkitem="$0" procCnt=`ps -ef|grep "$...
true
61ab246528616ee47636b32f306b17f728298d3c
Shell
ngkim/vagrant
/keepalived-bridge-multi-nic/init_node_WAN-SW-BRIDGE.sh
UTF-8
549
3.453125
3
[]
no_license
#!/bin/bash BR1="br0" BR1_ITFS=("eth1" "eth2" "eth3" "eth4" "eth5" "eth6" "eth7") init_bridge() { BR_NAME=$1 declare -a BR_ITFS=("${!2}") sudo sysctl -w net.ipv4.ip_forward=1 sudo brctl addbr $BR_NAME for idx in ${!BR_ITFS[@]}; do itf=${BR_ITFS[$idx]} echo "sudo brctl ...
true
83260826a31a68c74d83463cd8c59e7e2f46d5ff
Shell
hattan/terrabash
/test/spec/spec_helper.sh
UTF-8
1,534
3.609375
4
[]
no_license
# shellcheck shell=sh # This callback function will be invoked after core modules has been loaded. spec_helper_configure() { # Available functions: import, before_each, after_each, before_all, after_all import 'support/custom_matcher' } # Resource Helper Functions get_resource_group_by_name() { resourceGroupNam...
true
91d1ed55726fbb36e6099d0bd7f763a87f408ab5
Shell
aduh95-test-account/uppy-test
/bin/endtoend-build-ci
UTF-8
2,797
3.734375
4
[ "MIT" ]
permissive
#!/usr/bin/env bash set -o pipefail set -o errexit set -o nounset # Set magic variables for current file & dir __dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" __file="${__dir}/$(basename "${BASH_SOURCE[0]}")" __base="$(basename ${__file} .sh)" __root="$(cd "$(dirname "${__dir}")" && pwd)" if [ -z "${CI:-}" ]; ...
true
3397b16fb19ffa547fcc3acd34017153d0e3367d
Shell
YeomanYe/linux-shell-practice
/Linux Shell脚本攻略/第3章 以文件之名/diff_patch.sh
UTF-8
637
3.375
3
[]
no_license
#/bin/bash -xv : ' cat version1.txt line2 line3 line4 happy hacking! cat version2.txt this is the original text line2 line4 happy hacking! GNU is not UNIX ' # 非一体化形式的diff输出 diff version1.txt version2.txt # 一体化(unified)形式的diff输出 diff -u version1.txt version2.txt # 生成一个修补文件 diff -u version1.txt version2.txt > version.pa...
true
7cb7e33380da07172921b89da052fcec2e0a2b20
Shell
emadghaffari/grpc_oauth_service
/ssl/generator.sh
UTF-8
1,034
3.078125
3
[]
no_license
# private files: ca.key, server.key, server.pem, server.crt # share files: server.pem (needed by the CA), ca.crt (needed by client) # server name SERVER_CN=localhost # Step1: Generate Certificate Authority + Trust Certificate (ca.crt) openssl genrsa -passout pass:1111 -des3 -out ca.key 4096 openssl req -passin pass...
true
1c3ae239fa825a30cb7b1f1991da6d2b85490a25
Shell
yinwh79/wangbin-src
/user/timeget.sh
UTF-8
414
2.96875
3
[]
no_license
#!/bin/sh printf "start: ntp client \n" killall ntpd echo "1970-00-00 00:00:00" > /tmp/ntpd_last.log if [ `uci get system.@system[0].ntpenabled -q` -eq "0" ] then echo ntpd disabled ! exit fi ntpd -p `uci get system.@system[0].ntpserver1 -q` -p `uci get system.@system[0].ntpserver2 -q` -p `uci get system.@system[...
true
e970db61012b307cc2bb763e57a3b0a6db99dfa4
Shell
adiyoss/dotfiles
/dot_backup.sh
UTF-8
578
2.78125
3
[]
no_license
#!/bin/bash echo "Copying local files to repo..." HERE=~/Workspace/code/dotfiles/ cp -r ~/.zsh_config $HERE cp -r ~/.functions $HERE cp -r ~/.aliases $HERE cp -r ~/.zshrc $HERE cp -r ~/.tmux.conf $HERE cp -r ~/.ssh/config $HERE/.ssh/ cp -r ~/.gitconfig $HERE cp -r ~/.vim_runtime/my_configs.vim $HERE cp -r ~/.config/nv...
true
3a65bf48e32e488da86025f1daf2b3f6380d4655
Shell
Madaerpao/tlbb
/gs/global/setini.sh
UTF-8
2,983
2.984375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # author: yulinzhihou # mail: yulinzhihou@gmail.com # date: 2020-05-17 # comment: 根据env文件的环境变量,修改对应的配置文件,复制配置文件替换到指定目录,并给与相应权限 #\cp -rf /etc/gs_ini/*.ini /tlgame/tlbb/Server/Config && chmod -R 777 /tlgame && chown -R root:root /tlgame #tar zxf /.tlgame/gs/scripts/ini.tar.gz -C /tlgame/tlbb/Server/Co...
true
b174b0fc62edaa3aeeaddc2c12cbc8a46cbc44a8
Shell
KrisSaxton/lfs-build-6.2
/nbd/nbd-2.9.11-1/install/040-configure
UTF-8
402
2.5625
3
[]
no_license
#!/bin/bash source configure pushd ../unpack/* export PKG_CONFIG_PATH=$AB_PACKAGE_GLIB_INSTALL_DIR/lib/pkgconfig CFLAGS="\ -I$AB_PACKAGE_GLIB_INCLUDE_DIR \ " \ LDFLAGS="\ -L$AB_PACKAGE_GLIB_LIB_DIR \ " \ ./configure \ --prefix=$AB_PACKAGE_INSTALL_DIR \ --mandir=$AB_PACKAGE_INSTALL_DIR/share/man \ --enab...
true
87cbb515508c721cb3affd8f95c71c5c13e5fb7d
Shell
nativejie/server-test
/restart.sh
UTF-8
272
3.25
3
[]
no_license
#!/bin/bash port=$1 echo "要停止的端口号为:$1" if [ ! -n "$port" ];then port=3000; fi echo "PORT: $port" # netstat –tunlp # netstat -tunlp pid=$(lsof -t -i:$port) echo "PID: $pid" if [ -n "$pid" ];then kill -9 $pid fi echo "开始启动" ts-node src/index.ts
true
76b381cc78736f34067fb503a13e73ede48bb5c5
Shell
chrishunt/oh-my-zsh
/custom/03.aliases.zsh
UTF-8
732
2.796875
3
[ "MIT" ]
permissive
alias df='df -h' alias dunnet='emacs -batch -l dunnet' alias dus='du -hs' alias irc='weechat-curses' alias l='ls -CF' alias la='ls -a' alias ll='ls -l' alias ls='ls -h' alias lt='ls -ltr' alias negdir='for i in *.tif; do negfix8 -cs "$i"; done' alias tmux-pbcopy="tmux saveb -|pbcopy" alias tmux="TERM=screen-256color-bc...
true
21a916043fc75aa9f029effb7fe25d50b06c5091
Shell
clarafu/concourse-demo
/scripts/add_commit
UTF-8
298
2.921875
3
[]
no_license
#!/bin/bash set -ex cd $(dirname $0)/.. num=$(($( cat commit.txt) + 1)) echo $num > commit.txt git config user.email "dummy@example.com" git config user.name "Dummy User" git add commit.txt git ci -m "increment commit to $num" ssh-agent bash -c 'ssh-add scripts/app_private_key; git push origin master'
true
cb32dcfcc9d5f9c8cc40054a22eeed2bf2d61651
Shell
Megalawls/Some-Ubuntu-Things
/zooscript.sh
UTF-8
686
3.890625
4
[]
no_license
#!/bin/bash echo "Zooscript Initialised" #read name #echo "Hello $name" echo "Which animal folder would you like to go into?" read folder cd ~/Desktop/shells/zoo/$folder pwd fextension="facts.txt" #Creates $folderfacts if it doesnt exist if [[ ! -f ${folder}$fextension ]]; then touch ${folder}$fextension echo "${f...
true
52b17fbe0ae5a0ea7e89758f75ab5e97ecce36b1
Shell
FredHutch/angus-tophat-dmel
/make/run.sbatch.sh
UTF-8
457
2.71875
3
[]
no_license
#!/usr/bin/env bash echo "loading modules: $(date '+%Y-%m-%dT%H-%M-%S')" t_start=$(date '+%s') ml TopHat/2.1.1-foss-2016b ml Bowtie2/2.2.9-foss-2016b t_end=$(date '+%s') echo "modules loaded in $((t_end - t_start)) seconds" export NPROCS=${SLURM_CPUS_ON_NODE} echo "starting make: $(date '+%Y-%m-%dT%H-%M-%S')" t_sta...
true
da39d17eb9a90452c1a22857b0fc2890541016ac
Shell
dragonmaus/__bin.old
/src/sshmenu.sh
UTF-8
178
2.78125
3
[ "BSD-3-Clause-Clear" ]
permissive
#!/bin/sh set -e host=$(sed -n '/^# My local servers$/,/^# Public servers$/s/^Host \(.*\)$/\1/p' < ~/.ssh/config | sort -u | dmenu) [[ -n $host ]] exec st -e ssh "$host" "$@"
true
83005c3902cd57719f68a1f61cb1d22253361f8f
Shell
vhbvb/iOS-CI
/test.sh
UTF-8
4,467
3.34375
3
[]
no_license
SDKName=${JOB_NAME%%_*} Space=${SDKName}SDK Demo="${SDKName}Demo" Scheme="MobPushDemo" UnitTest="${Scheme}Tests" # 更新预览用的本地html updatePreview() { RetainCycles="${WORKSPACE}/RetainCycles" if [ -d $RetainCycles ] then rm -r $RetainCycles fi cp -r "${WORKSPACE}/../FBMemoryProfiler/RetainCycles" ...
true
06919d68e517194bb8df0471abf22ab475837c8f
Shell
hangphan/resistType_docker
/bin/bbtools/textfile.sh
UTF-8
613
3.75
4
[ "BSD-3-Clause-LBNL" ]
permissive
#!/bin/bash function usage(){ echo " Written by Brian Bushnell Last modified January 21, 2015 Description: Displays contents of a text file. Usage: textfile.sh <file> <start line> <stop line> Start line and stop line are zero-based. Please contact Brian Bushnell at bbushnell@lbl.gov if you encounter any problems...
true
a0df70fb153990b5ef56e98be9b00b05d36985b6
Shell
aritama/sisop-2012-2c
/organizar.sh
UTF-8
812
2.546875
3
[]
no_license
#!/bin/bash mkdir -p ~/Desarrollo/Workspace/2012-2c-bashenato/ cp -r ../2012-2c-bashenato/PROCER/ ~/Desarrollo/Workspace/2012-2c-bashenato/ cp -r ../2012-2c-bashenato/SHIELD/ ~/Desarrollo/Workspace/2012-2c-bashenato/ cp tests.zip ~/ cd ~/ unzip tests.zip cp tests/* ~/ rm -f -r tests rm tests.zip cd ~/Desarrollo/Wor...
true
c83dc9cf3ad867c22f422c3bc546979a5c7344f3
Shell
woggioni/x-toolchain
/packages/readline/PKGBUILD
UTF-8
2,369
2.796875
3
[]
no_license
# Maintainer: pingplug <pingplug@foxmail.com> # Contributor: Filip Brcic <brcha@gna.org> # Thanks to the patch from the MXE project <mxe.cc> pkgname=${_target}-readline _basever=8.1 _patchlevel=001 pkgver=$_basever.$_patchlevel pkgrel=1 pkgdesc="Library for editing typed command lines (${_target})" arch=('any') depen...
true
d5593b98a49de8bb69e390f02107890f4d3b20e6
Shell
gitvmn/spider
/bin/spider.sh
UTF-8
1,419
3.46875
3
[]
no_license
#!/bin/bash # sed -i 's/\r$//' filename # 只需要在Master节点配置 USERS_FILE=/opt/spider/users # 保存用户信息的文件位置 # PUBLIC_URL= http://log.tc.mybank.cn # 如果配置了nginx,需要配置此项 # master end --------------------- # agent start -------------------- MASTER= #http://172.17.10.5:3000 # agent end ---------------------- PORT=3000 HOSTNAME=...
true
ba42a6a398cb6249f9c9cedb99aad7c1deba2376
Shell
leftygbalogh/UtilityScripts
/git-cron-auto-commiter.sh
UTF-8
760
3.265625
3
[]
no_license
#!/bin/bash #running cron as in */53 */7 * * * /usr/local/sbin/git-cron-autocommiter.sh >> /home/ebalgza/git-commit.log 2>&1 PATH=$PATH:/usr/local/git/bin/ echo ${PATH} date gitFolder=/tmp username="Rodimus Prime" useremail="autobots@inv.ericsson.commit" cd $gitFolder gitFileList=$(git status | grep "modified: " |...
true
b68cc4d5e7c2e4a3889fc487125510928e948231
Shell
SwooshyCueb/irods-kuleuven
/bin/apply-patches
UTF-8
1,332
3.015625
3
[]
no_license
#!/bin/bash # Patch sql setup scripts sed -i "s/^SET SESSION .*storage_engine=.*/SET SESSION default_storage_engine='InnoDB';/" /var/lib/irods/packaging/sql/icatSysTables.sql /var/lib/irods/packaging/sql/mysql_functions.sql # Let irods cope with ipv6 database servers #curl https://raw.githubusercontent.com/pypyodbc/p...
true
fd8a1a7fd66dc0825abc1ddeb03f54aa74b48ff6
Shell
orthodoxenthusiastic/X-Core
/run.sh
UTF-8
373
3.53125
4
[]
no_license
#!/usr/bin/bash r="\e[31;1m" w="\e[00m" cat << EOF EOF title=($w'Starting Script Mr.Zck18... ') spinner=($r'|' $r'/' $r'-' $r'\' ) count(){ spin & pid=$! for i in `seq 1 10` do sleep 1; done kill $pid } spin(){ while [ 1 ] do for i in ${spinner[@]}; do echo -ne "\r$i $title"; ...
true
ef6886f64ad1603027bd63ffdab39649b03449b8
Shell
vujadeyoon/AWS-Neuron-Test
/Bash/bash_3.sh
UTF-8
1,477
2.828125
3
[ "MIT" ]
permissive
#!/bin/bash # # path_root=$(pwd) # # rm -rf ./Pytorch_Retinaface/ # # # gdown.pl for google drive git clone https://github.com/circulosmeos/gdown.pl # # # PyTorch RetinaFace git clone https://github.com/biubug6/Pytorch_Retinaface mkdir -p ./Pytorch_Retinaface/weights/ # # # Download PyTorch pretrained model from the G...
true
709904882c58448f57bc837a7c29ffed6e31b5ee
Shell
compor/exitus
/utils/scripts/fill-the-gap-data.sh
UTF-8
285
3.3125
3
[]
no_license
#!/usr/bin/env bash [[ -z $1 ]] && echo "missing max number of entries" && exit 1 ENTRIES=$1 [[ -z $2 ]] && echo "missing report file location" && exit 1 REPORT_FILE=$2 awk -v N=$ENTRIES '{ a[$1]=$2; } END{ for(i=2; i<=N; i+=4) if(a[i]) print a[i]; else print 0; }' "$REPORT_FILE"
true
4f0fdb3cc7f04672d783f90a742a52fb30434658
Shell
LamaAni/postgres-xl-helm
/experimental/permissions_with_vault/install.sh
UTF-8
5,809
2.984375
3
[ "MIT" ]
permissive
#!/bin/bash SINGLE_NODE_CLUSTER="true" PGXL_NAME="pgxl" CONSUL_NAME="consul" VAULT_NAME="vault" #================================================================================================= # SETUP PGXL #------------------------------------------------------------------------------------------------- git clone ...
true
45de1eb78f69b8297c255ea67be91789a82e066c
Shell
UtsavChokshiCNU/GenSym-Test2
/run.sh
UTF-8
105
2.578125
3
[]
no_license
IFS=$'\n' x=$(find ./src/g* -type f) for file in $x do git add $file git commit -m "Commiting all" done
true
06f0da242e25bc9d0a74d01fe5b78b6a7fc4c73b
Shell
Luxan/ServerClientQTCrypto
/generate_documentation.sh
UTF-8
231
2.828125
3
[]
no_license
#!/bin/bash if [ ! -e doxygen_config_file ] then echo "Could not find configuration file for doxygen." echo "Creating default config file..." doxygen -g doxygen_config_file fi doxygen doxygen_config_file
true
23837254b108d87951cef8e108f6c5869c4aee1a
Shell
oncoapop/data_reporting
/beast_scripts/primer3.sh
UTF-8
1,303
3.65625
4
[]
no_license
#!/bin/sh # This Script was written by Damian Yap (Apr 2013) # Primer3 is installed on beast # and needs a specific input # This script runs primer3 # on .txt files in the format (record sep "=") # Working Directory dir="/home/dyap/Projects/Tumour_Evol/" clear cd $dir ls # Source and Output directories where Barc...
true
144f8e8dd86bf1273a8868bf8d8c1c776af84c63
Shell
friendbear/bashr_scripts_utf8
/chap07/nice.sh
UTF-8
606
3.265625
3
[]
no_license
#!/bin/sh # nice.sh - niceコマンドのサンプル # do_load # システムに負荷をかける(CPU利用率を上げる)関数 do_load() { while true; do gzip -9 -c /bin/sh > /dev/null # システムに負荷をかける done } # バックグラウンドでシステムに負荷をかける do_load & bgpid=$! # 異なるnice値で同じプログラムを実行する time nice -n 0 gzip -9 -c /bin/sh > /dev/null time nice -n 10 gzip -9 -c /bin/sh >...
true
6f2d8c0a769e1c30cb83b42a2e3e0a64c968703b
Shell
SteveSatterfield/HEVf
/idea/src/hev-testSuite/test_moth/mkMoth
UTF-8
4,640
3.453125
3
[]
no_license
#!/usr/bin/env bash # Test Suite data directory TS_DATA="${HEV_IDEA_DIR}/testSuite" MOTH_DATA="${TS_DATA}/moth_data" SRC_DIR="$HR/idea/src/hev-testSuite/test_moth" # Dir that test will run from RUN_DIR="${HEVROOT}/test/renderTest/testCase_moth" # Convert SAVG files it IVE and copy to test suite dat dir directory for...
true
c9baebb7d6c26b48a467fcd5bf8b75b8501a9ddf
Shell
ElkHairCaddis/substitutionCode
/getTop100FamiliesData.awk
UTF-8
5,250
3.59375
4
[]
no_license
#!/bin/bash # Have a list of the most active families in the Nielsen consumer data set according to number of trips # and dollars spent. Would like to subset the "XXXX_trips.tsv' and 'XXXX_purchases.csv' files to # create one merged file for each family. # Define input/output directories and files inDataDir='/scra...
true
748088676cce6f743107d479c5eadd5c82d357df
Shell
jweslley/git-hub
/bin/git-fork
UTF-8
612
3.15625
3
[ "MIT" ]
permissive
#!/bin/sh domain=$(git config remote.origin.url | cut -d/ -f3) owner=$(git config remote.origin.url | cut -d/ -f4) repo=$(git config remote.origin.url | cut -d/ -f5) user=$(git config github.user) test "$domain" != "github.com" && echo "not a github repo." && exit 1 test -z "$owner" && echo "unable to define repo own...
true
4270d9e7f35775dd93a305df73c44afa26c67834
Shell
gs-niteesh/rtems-release
/rtems-release-kernel
UTF-8
4,559
3.625
4
[]
no_license
#! /bin/sh # # RTEMS Tools Project (http://www.rtems.org/) # Copyright 2015,2016,2019 Chris Johns (chrisj@rtems.org) # All rights reserved. # # This file is part of the RTEMS Tools package in 'rtems-tools'. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided tha...
true
2bfaf04961c81affb149e579fdf73f7ecafc2a4d
Shell
tayfun/keep
/conf/wrapper_script.sh
UTF-8
1,065
3.25
3
[]
no_license
#!/bin/sh # Script for running multiple commands in a container. # Adapted from https://docs.docker.com/engine/admin/multi-service_container/ uwsgi --plugins-dir /usr/lib/uwsgi/ --need-plugin python3 --uwsgi-socket 127.0.0.1:8000 --chdir /app --wsgi-file $PROJECT_NAME/wsgi.py --master --processes 2 --threads 2 --env D...
true
0685512ca061e75e70bbc11ae1c35c3d4bc8e531
Shell
AppliedLogicSystems/ALSProlog
/core/unused_alsp_src/i386/oldstuff/CPDOSPHAR
UTF-8
1,102
3.328125
3
[ "MIT" ]
permissive
#!/bin/sh # # Copy files of MS-DOS version of 386 system (for PharLap Environment) # DESTDIR=/elvis/pcfs/tmp ( cd DOSPHAR/obj ; \ ( for i in *.[chs] ; do ( topc $i > $DESTDIR/$i ) ; done ) ; \ ( for i in *.m4 ; do ( topc $i > $DESTDIR/$i ) ; done ) ; \ ( cp libta.lib $DESTDIR/libta.lib ) ; \ ( cp vmrmc.o $DES...
true
0c99690687bef1eefe08ce8c7e2bd89c69123349
Shell
bborsari/Scripts
/utils/comment.script.sh
UTF-8
183
3.375
3
[]
no_license
#!/bin/bash # script to comment file # usage: comment.script.sh <file> file=$1 awk 'BEGIN{FS=" "; OFS="\t"}{if (( $1 ~ /^#/ ) || ($1=="")) {print $0} else {print "# "$0}}' $file
true
f909429c29df0d6da7da20eb64f1ca8bb0654dd8
Shell
sowmyaiyer/new_repo
/flu/check_rRNA_numbers.sh
UTF-8
548
2.828125
3
[]
no_license
for time in {"A","B","C","D","E","F","G","H"} do echo $time samtools view -F 4 ../bowtie_out/112213flucap_rRNA_${time}.sorted.bam | awk '{ print $3}' | sort | uniq -c > ../txt/rRNA_reads_time_${time}.txt total_rRNA_reads=`awk 'BEGIN{sum=0}{sum=sum+$1}END{print sum}' ../txt/rRNA_reads_time_${time}.txt` echo "total r...
true
7f6301b82fa8de64c294f56ebfbf89d3cdcf34e2
Shell
pzi/dotfiles
/.bash_profile
UTF-8
1,597
3.265625
3
[]
no_license
# Load the shell dotfiles, and then some: # * ~/.path can be used to extend `$PATH`. # * ~/.extra can be used for other settings you don’t want to commit. for file in ~/.{aliases,bash_prompt,functions}; do [ -r "$file" ] && [ -f "$file" ] && source "$file" done unset file # Case-insensitive globbing (used in pathna...
true
ea7934dd788d8a68cc01134848bc71e10359201b
Shell
arjunkc/scanner-scripts
/install.sh
UTF-8
1,328
3.46875
3
[]
no_license
#!/bin/bash # based on version brscan-skey version 0.2.4-1 # needs changes if brother scripts change shopt -s extglob #DEFAULT_BRSCAN_DIR="/opt/brother/scanner/brscan-skey" DEFAULT_BRSCAN_DIR="/tmp/brscan-skey" if [ -e "$DEFAULT_BRSCAN_DIR" ]; then # VERSION is used for all other scripts # BINVERSION is used...
true
14aae5fd6088c17d0f567c407ee0202722f23d05
Shell
nosleep77/scripts
/crd_jenkins_confluence/crd_scriptv3.sh
UTF-8
8,607
3.796875
4
[]
no_license
#!/bin/bash set -euo pipefail GREEN='\033[0;32m' RED='\033[0;31m' BLUE='\033[0;34m' PURPLE='\033[0;35m' NC='\033[0m' if [ $# -lt 4 ] then echo "Missing argument" exit 1 fi Env=$1 Version=$2 Grafana_URL=$3 Token=$4 Namespace=$5 Filename=$6 exit_code=0 echo "<html><head> <title>GrafanaDashbo...
true
757875e35972c9759fbd2f81e4a4bf47b79bedbe
Shell
xamuko/si
/scripts/ejercicio12.sh
UTF-8
157
3.15625
3
[]
no_license
#!/bin/bash if [ $HOME = manolo ] then echo "Este usuario es manolo." exit 1 fi if [ $HOME != manolo ] then echo "Este usuario no es manolo." exit 1 fi
true
c81f39b5e8d4fb0441d1d702fa4b78cf4e991a89
Shell
YancyW/MyProcessor
/bin/analysis_all.sh
UTF-8
1,009
3.46875
3
[]
no_license
#!/bin/bash if [[ $# != 3 ]] ; then echo "usage: ./analysis_all.sh input_class_name (all/2f/4f/higgs/4f_WW/4f_ZZ..) final_state (l/sl/h/lep/e2/e1..) " exit fi input_class_name=${1,,} final_state=${2,,} mass=${3,,} DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" four=("4f_ww" "4f_zz" "4f_zzww" "4f_szee...
true
626168c5d1f08f0eefd06c6d18c01f78432ce1f8
Shell
songtaogui/pan-Zea_utilities
/PANZ_magma.sh
UTF-8
9,853
3.765625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # set -o xtrace # set -o errexit set -o nounset set -o pipefail # >>>>>>>>>>>>>>>>>>>>>>>> Common functions >>>>>>>>>>>>>>>>>>>>>>>> gst_log () { local info=$1 echo -e "\033[36m[$(date +'%y-%m-%d %H:%M')]\033[0m $info" >&2 } gst_rcd () { local info=$1 echo -e "\033[32m>>>---------...
true
d01aefe5209caa866480d19a974b00a677443c7c
Shell
sugar-activities/4503-activity
/opera/package/lib/xml.sh
UTF-8
2,135
3.421875
3
[]
no_license
# -*- mode: sh -*- xml_parse() { local state line char content ent tagname nesting haschildren state=outside line='' content='' nesting='' haschildren=false while true; do if [ -z "$line" ]; then char=" " else char=$(printf '%s\n' "$line" | cut -c 1) fi case "$state:$char" in outside:'<') s...
true
d59fca766f7670f94e44344f0b822fc8d4754600
Shell
particleman314/ShellLibrary
/test/file_assertions/assert_is_file.sh
UTF-8
410
2.859375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash dir="${SUBSYSTEM_TEMPORARY_DIR}" file="${SLCF_SHELL_TOP}/test/file_assertions/assert_is_directory.sh" std_opts="--suppress ${YES} --dnr" assert_is_file ${std_opts} assert_failure "$( __get_last_result )" assert_is_file ${std_opts} "${file}" assert_success "$( __get_last_result )" assert_is_file...
true
666489c87acee6837acc95038d23893673f644cc
Shell
mdehollander/longread-UMI-pipeline
/longread_UMI_mockanalysis.sh
UTF-8
2,448
3.484375
3
[]
no_license
#!/bin/bash # DESCRIPTION # Script for processing Nanopore UMI amplicon data # from Zymo mock bacterial rRNA genes. # # IMPLEMENTATION # author Søren Karst (sorenkarst@gmail.com) # Ryans Ziels (ziels@mail.ubc.ca) # license GNU General Public License ### Source commands and subscripts ----...
true
d5030ad224b512af0cb29d613d18fb6acf9e9637
Shell
neomatrix1993/riak-scripts
/riak_conf.sh
UTF-8
538
2.625
3
[ "MIT" ]
permissive
#!/bin/sh local_host=$(ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}') sed -i -e 's/nodename = riak@127.0.0.1/nodename = riak@'$local_host'/g' /etc/riak/riak.conf sed -i -e 's/listener.http.internal = 127.0.0.1:8098/listener.http.internal = '$local_host':8098/g' /etc/riak/riak.conf sed -i -e 's/lis...
true
4cbd241c6d0889d66c31b3c8044a281b5949afbc
Shell
cnJun/LetsEncryptInstall
/bin/input.sh
UTF-8
272
3.515625
4
[]
no_license
cfg="$1" if [ ! -n "$cfg" ]; then read -p "please enter config filename:" cfg fi if [ ! -n "$cfg" ]; then echo "please input config filename!" exit fi if [ ! -f "./$cfg.sh" ]; then echo "this config filename not exist!" exit fi source "./$cfg.sh"
true
57837f8c952e0867c1db2ae539f7be321f60c657
Shell
ngkz/dotfiles
/packages/hotkey-scripts/brightness.sh
UTF-8
375
3.265625
3
[ "MIT" ]
permissive
#!@bash@/bin/bash set -euo pipefail PATH=@path@ case "$1" in up) light -A 5 summary="Brightness up" ;; down) light -U 5 summary="Brightness down" ;; esac brightness=$(light -G | cut -d. -f1) body="${brightness}%" notify-send -a brightness -i display-brightness-symbolic -h "int:value:$brightness" -h strin...
true
8bacfacbaed02744ea8fd5f4b3cf1ac6efb886fd
Shell
rjgonza/Lab
/bash/until_file_exists.sh
UTF-8
194
3.546875
4
[]
no_license
#!/bin/bash read -p "Please enter the name of a file: " file until [[ -e $file ]]; do read -p "$file dose not exist, please try again: " file done echo "Finally, you got one, $file exists!"
true
02aceae600abdd6e7dcbfd1499fc1b1e9a76db92
Shell
vlamenco/neuroimaging
/collateValues
UTF-8
2,219
3.578125
4
[]
no_license
#!/bin/bash # formerly collateResults # N.B. IF ONLY A SINGLE VARIABLE IS NEEDED, DO THIS: # cat /projects2/udall/task/fnirt/RC4???/pbAll.gfeat/cope1.feat/stats/cope10z1c2.txt>pdhcActC2nocue.csv if [ "x$1" = "x" ]; then echo 'collateValues - collect single values across directories into a table' echo 'Usage:' ech...
true
053d920a0b75bfc5d6e55ef546cf931f6271d931
Shell
ipubrich/labtest
/lab_management/lab_stop.sh
UTF-8
3,942
4.0625
4
[]
no_license
#!/usr/bin/env bash ## ## 01 remove bridges in var ## 02 bring up docker ## 03 bring up containers in var ## 04 build VM's ## 05 update iptable rules ## # Variables LOG_FILE="./log.txt" ### LOG FILE BRIDGES=('br111' 'br112' 'br113' 'br114' 'br115') CONTAINERS=('nnat_ftp') TEMP_FILE='/tmp/lab_management.txt' # User-d...
true
f7cdcdf017c5c9efd0c825221edac772cbf36881
Shell
Rhdrarja/safe-server
/bin/createuser-spdy-nghttpx-squid.sh
UTF-8
1,802
3.546875
4
[ "MIT" ]
permissive
#!/bin/bash source /opt/.global-utils.sh if [ "x$1" = "x-h" -o "x$1" = "x--help" ] then echo "$0 USERNAME PASSWORD PORT" exit 0 fi if [[ ! -f ${SPDYConfig} ]]; then touch ${SPDYConfig} rm ${SPDYSquidPassWdFile} touch ${SPDYSquidPassWdFile} fi if [[ ! -f ${SPDYSquidPassWdFile} ]]; then touch ${SPDYSquidP...
true
960eb6069ac35e14b699c4b940343fe034fa22dc
Shell
thongqle11/scripts
/bash/switch/VC-Failover-10G.sh
UTF-8
1,223
3.3125
3
[]
no_license
#!/bin/sh # To run, pipe script to ssh session of VCM # example: ./VC-Failover.sh | ssh Administrator@172.24.102.240 #Protocol being tested. Uncomment the one being tested. PROTOCOL=fcoe #PROTOCOL=iscsi #IO Module Bays Used. Quitman->1/2, Quintana Mezz1-> 3/4, Quintana Mezz2-> 5/6, Quintana Mezz3-> 7/8 IO_MODULE1=3...
true
9b092c779e5e3b604b8c245b9a05f0ec4eb8060a
Shell
siosios/odd-scripts
/D7-32bit.sh
UTF-8
5,259
2.78125
3
[]
no_license
#!/bin/bash apt-get update && apt-get -y upgrade # go to root cd # disable ipv6 echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 sed -i '$ i\echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6' /etc/rc.local # install wget and curl apt-get update;apt-get -y install wget curl; # set time GMT +7 ln -fs /usr/share/zonei...
true
8e39d0d775d01b486936549775f877efd45886cd
Shell
crystalbobby/some-shell-scripts
/greetings.sh
UTF-8
262
3.3125
3
[]
no_license
#!/bin/sh echo "Is it morning? Please anszer yes or no" read timeofday if [ $timeofday = "yes"] then echo "Good :orning" elif [ $timeofday = "no"]; then echo "Good afternoon" else echo "Sorry, $timeofday not recognised. Enter yes or no" exit i fi exit 0
true
0ed6941e83ca4d83934b9e51735301d6eb91ccaa
Shell
JimmyLoloy98/Bash-Course---Excersises
/variables.sh
UTF-8
340
3.46875
3
[]
no_license
#!/bin/bash #Uso de variables. #no deben existir espacios entre asignaciones de variables. echo "Digit your name: " echo 'This is a variable: $var' echo UID = $UID echo HOME = $HOME echo USER = $USER var1=10 var2=$var1 echo "the value of var1 is: $var2" var3=`date` echo "Date: " $var3 test=`date +%y%m%d` echo "...
true
947690cc12ce105a4772fc8bf15ac3d51aacb9a9
Shell
ahmad0807/LinuxAssignment
/LinuxAssignment/Ex4.sh
UTF-8
138
2.578125
3
[]
no_license
#!/bin/bash var_arr=(“man” ”bear” ”pig” ”dog” ”cat” “sheep”) for((i=0; i<5; i++)) do echo "${var_arr[i]}" done
true
6ab96d6c04613271a7f3675c750fc0a4348f10a5
Shell
scpcorp/skynet-webportal
/setup-scripts/setup.sh
UTF-8
2,367
2.9375
3
[ "MIT" ]
permissive
#! /usr/bin/env bash set -e # Copy over basic configuration files. cp ./tmux.conf ~/.tmux.conf cp ./bashrc ~/.bashrc source ~/.bashrc # Add SSH keys and set SSH configs sudo cp ./ssh_config /etc/ssh/ssh_config mkdir -p ~/.ssh cat ./authorized_keys >> ~/.ssh/authorized_keys # Nodejs install prerequisite https://node...
true
eeabab26a4b8c96ad53caa19018af816ef7e439a
Shell
LinneaAx/cryo
/all_scripts/make_subdir.sh
UTF-8
252
3.234375
3
[]
no_license
#!/usr/bin/bash args=("$@") filename=${args[0]} while IFS=' ' read -r value1 value2 remainder; do #read -r line || [[ -n "$line" ]]; read -r value1 value2 remainder; do # echo "read line $line" echo "$value2" done < "$filename"
true
41f569dc05ed2e1154a66bacde7ff68466dd0f17
Shell
jhrozek/dotfiles
/bin/check_mail.sh
UTF-8
255
2.90625
3
[]
no_license
#!/bin/bash MAILBOXES_FILE=~/.muttrc_mbsync_mboxes FOLDER=/home/remote/jhrozek/.maildir/Inbox/ while true do mbsync -a echo -n "mailboxes " > $MAILBOXES_FILE find $FOLDER -type d -name cur -printf '%h ' >> $MAILBOXES_FILE sleep 120 done
true
a6d4a19762381d20137e08e2e632a12bfbff7d94
Shell
nhatch/rrt
/run_all_experiments.sh
UTF-8
725
2.65625
3
[]
no_license
#!/bin/bash ./hack_compile.sh SEED=12345 for DYNAMIC_OBSTACLES in 0 1; do for TASK in gate bugtrap forest blob; do echo "STARTING $TASK $DYNAMIC_OBSTACLES point_first" ./headless_point_first.out $TASK $DYNAMIC_OBSTACLES $SEED >> final_results_all.txt echo "STARTING $TASK $DYNAMIC_OBSTACLES point_second"...
true
0fded7f868d54c7c5ca7e403958c460cd69051ac
Shell
Skullabs/kikaha
/kikaha-maven-plugin/resources/META-INF/defaults/bin/inc.cmds-unix.sh
UTF-8
1,104
3.796875
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # FUNCTIONS retrieve_server_pid(){ ps -o uid,pid,cmd ax | grep "config.app.dir=$(pwd)" | grep -v grep| head -n 1 | tr '\t' '@' | sed 's/ */@/g;s/^@//' | cut -d '@' -f 2 } start_server(){ PID=$(retrieve_server_pid) if [ ! "$PID" = "" ]; then warn "Server already running" exit 1 else info...
true
f0489601eea5190023f92eeb103b081ad5c7abd3
Shell
bwoebi/drag0n
/drag0n.app/Contents/System/bin/executer.sh
UTF-8
269
3.15625
3
[]
no_license
#!/bin/bash # A quick "how to fix your shit": # 1st: we need a dumb terminal to avoid pesky stderr messages: export TERM=dumb # 2nd: Our entire cmd is in a variable we need to EVALUATE. eval "$THE_ARGS" # 3nd: We need to clean the mess we started. export THE_ARGS=""
true
e5f795b814f8b8a4b8ab8325167a12f04325fcb2
Shell
Plan9-Archive/antshill
/grid/stosvc
UTF-8
4,891
2.9375
3
[]
no_license
#!/bin/rc # attaches to hubfs and runs on storage node rfork spawnmax=`{cat /usr/grid/spawnmax} if(~ $#spawnmax 0) spawnmax=5 if(! test -e /usr/grid/stononce) echo 1009 >usr/grid/stononce nonce = `{cat /usr/grid/stononce} if(! test -e /usr/grid/nextstoport) echo 20000 >/usr/grid/nextstoport ndb/ipquery sys $sysname...
true
7b3a95c46bfbf394b26a413946e00a89af939402
Shell
ankitraj311/Bash
/17_professional_menu.sh
UTF-8
847
3.828125
4
[]
no_license
#!/bin/bash : ' select car in BMW MERCEDES TESLA ROVER TOYOTA do echo "you have selected $car" done ' : ' select car in BMW MERCEDES TESLA ROVER TOYOTA do case $car in BMW) echo "BMW Selected $car";; MERCEDES) echo "MERCEDES Selected $car";; TESLA) echo "TESLA Selected $car";; ROVER) echo "ROVER Selec...
true
abaf8d23345636ba2abdf6a7ab69729c95f8bdd7
Shell
Hayao0819/EG-Installer
/softwares/genymotion.entry
UTF-8
747
3.421875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash name="Genymotion" package_name="genymotion" description="Linuxで動くVirtualBoxベースのAndroidエミュレータ" run_preparing=true function preparing () { curl -o /tmp/make_from_aur.sh https://gist.githubusercontent.com/Hayao0819/3389c0ab2f000da13dbfe8e06315131b/raw/601833a210eeb4e19fea48584569e29d0f8517dc/aur...
true
00cf79bde0a4dd08958747ee3892fe9bdac2da79
Shell
ruian1/Slurm_MPID
/run_mpid.sh
UTF-8
946
2.6875
3
[]
no_license
#!/bin/bash # This runs inside the container and builds the container # We assume you did the first-time setup already INFILE_LIST=$1 OUTDIR=$2 RUNID=$3 RUNID2=$4 echo "WORKDIR",$WORKDIR echo "INFILE_LIST",$INFILE_LIST echo "OUTDIR"=$OUTDIR # go to the working directory #cd $WORKDIR echo $OUTDIR source /usr/local/...
true
8d6742b729354587314bae38949eba3116325aa7
Shell
GunioRobot/maloader
/unpack_xcode.sh
UTF-8
2,325
3.484375
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh # # Copyright 2011 Shinichiro Hamaji. 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 of ...
true
2b118f98a284613b111f19107ea42e12d320145c
Shell
svenkoenig/lokaler-vm
/remote/db_settings.sh
UTF-8
207
2.5625
3
[]
no_license
OWNER='sven' DUMP_DIR='/home/sven/db/dumps' # ---------- import local settings ---------- SETTINGS_LOCAL="`dirname \"$0\"`/db_settings_local.sh" if [ -f $SETTINGS_LOCAL ]; then source $SETTINGS_LOCAL fi
true
74d7e822ab670ba92535101f8d0fe1d08925769c
Shell
Venki22/Jenkins
/JenkinsCLI-Scripts/TriggeredJob.sh
UTF-8
484
2.734375
3
[]
no_license
echo "Please enter the job which you want to triggered" read jobname echo "Trigger the job $jobname" #reading details from properties files and -f2 is field 2 value userName=`grep JENKINS_USERNAME Jenkins.properties | cut -d "=" -f2` token=`grep JENKINS_TOKEN Jenkins.properties | cut -d "=" -f2` url=`grep JENKINS_UR...
true
a292c28b74e1bb71fc7f5690e15394243cff61b1
Shell
xuanloct4/Backup
/Documents/BuildScript/build_script.sh
UTF-8
660
2.84375
3
[]
no_license
#!/bin/bash #My First Script #Info to be configured target_name="$appname" sdk="iphoneos" certificate="iPhone Distribution: Aron Bury" project_dir="$HOME/Documents/Apps/iOS/awesomeapp/$appname" build_location="$Home/Builds/$appname current_path=$(pwd) appName="jamesApp" jamesApp_workspace="jamesAppV2.xcworkspace" i...
true
0b9d91c83dcdeb3ba435716dc174a13bea288e26
Shell
zbigg/bashfoo
/memoize.sh
UTF-8
1,311
3.703125
4
[ "MIT" ]
permissive
#!/bin/sh bashfoo_require temp normalize_name_as_file() { echo "$@" | tr "/{} \"'" "_______" } memoized() { #set -x local mangled_file_name="$(normalize_name_as_file $@)" #TBD, consider bashfoo.mktempname (which doesn't exist yet) local tmp_cached_file_name="/tmp/.memoized_$USER_$$_$mangled_...
true
4b809f75a39eabd666c77386d67f88fde91fdb7e
Shell
Sabayon/build
/bin/bump_injected_kernel_mods
UTF-8
1,056
3.015625
3
[]
no_license
#!/bin/sh kernel="${1}" if [ -z "${kernel}" ]; then echo "$0 <kernel>" echo "example: $0 2.6.35-sabayon" exit 1 fi packages="app-emulation/open-vm-tools-kmod app-emulation/virtualbox-guest-additions app-emulation/virtualbox-modules app-emulation/vmware-modules app-laptop/omnibook app-laptop/tp_smapi media-video/em...
true