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
4886d3ad9ce9434c0be06ece778b9b8791adb3ec
Shell
bellmit/eo-workspace
/base-image/resources/scripts/start-vnc-server.sh
UTF-8
2,630
3.390625
3
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
#! /usr/bin/env bash # since vncserver is running as a daemon, we're creating a foreground process uppon vncserver for supervisord. # Reason: vnc server fails to start via supervisor process: # spawnerr: unknown error making dispatchers for 'vncserver': ENOENT # alternative: /usr/bin/Xvnc $DISPLAY -depth $VNC_COL_DEPT...
true
2085603cf5487d78fff648f45b3a339aa7503a6c
Shell
ArnestInnovativeSolutions/Fabric-ATran
/assettran/upgradechain.sh
UTF-8
1,819
2.703125
3
[]
no_license
set -e # don't rewrite paths for Windows Git Bash users export MSYS_NO_PATHCONV=1 starttime=$(date +%s) CC_SRC_LANGUAGE="node" CC_RUNTIME_LANGUAGE=node # chaincode runtime language is node.js CC_SRC_PATH=/opt/gopath/src/github.com/ccassettran1.0/javascript CC_REVISION="1.1" # TBD cd ../basic-network docker-compose -...
true
70c935c67ab2706b5ae160d55150b3fe3fe82d96
Shell
fbuihuu/kdist
/kdist--lib-git
UTF-8
1,836
3.71875
4
[]
no_license
#! /bin/bash git__check_inside_worktree () { if ! git rev-parse --is-inside-work-tree >/dev/null 2>&1 ; then warn "I'm not in a git repository." fi } git__cd_topdir () { local topdir topdir=$(git rev-parse --show-toplevel 2>/dev/null) && cd "$topdir" } git__git_dir () { git rev-parse --git-dir } git__descri...
true
40f14bada16c0c289907b249edcdc6b083299836
Shell
kisamewave/bash
/test5.sh
UTF-8
287
3.015625
3
[]
no_license
#!/usr/bin/bash current_date=$(date +%F) retval=`sqlplus -s $1 << EOF >> log_$current_date.log whenever sqlerror exit sql.sqlcode; set echo off set heading off select * from test11; exit; EOF` if [ -z "$retval"]; then echo "No rows returned from database" exit 0 else echo $retval fi
true
acd8f507d02c793dad428b71b2a46af0e2c7ecf8
Shell
wufugen/project
/nsd.sh
UTF-8
297
2.796875
3
[]
no_license
#!/bin/bash read -p '请输入您的成绩' num if [ $num -ge 90 ];then echo 优秀 elif [ $num -ge 80 ];then echo 良好 elif [ $num -ge 70 ];then echo 合格 elif [ $num -ge 60 ];then echo 仍需努力 else echo 在牛逼的肖邦,也弹不出我的悲伤! fi
true
2bcac5fb202e2c1ead779c3226ffab2a23c188bc
Shell
hyperledger/fabric-samples
/full-stack-asset-transfer-guide/infrastructure/pkgcc.sh
UTF-8
2,283
3.984375
4
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
#!/bin/sh -l # From the github action # https://github.com/hyperledgendary/package-k8s-chaincode-action/blob/main/pkgk8scc.sh # # SPDX-License-Identifier: Apache-2.0 # usage() { echo "Usage: pkgk8scc.sh -l <label> -n <name> -d <digest> [-m <META-INF directory>]" echo echo " Creates a k8s chaincode pack...
true
397ea4f8d309f21f5d1190f34cc5f5257c7195bf
Shell
xjyx/Scripts-for-Kremsky-Corces-2020-Genome-Biology-paper
/preimplantation_BSseq/doScatterPlotatESCAccessibleSites_strongVweakTFBSs.sh
UTF-8
924
2.859375
3
[]
no_license
compareStage=ESC_strongVweak mkdir png sort -b /media/4TB4/isaac/ATAC_DNAme_embryoComparison/motifs_CpGs/motifs > temp1 cut -f5,7 /mnt/bigmama/isaac/RNAseq_mouseEmbryo/cuffdiff/final/ESC.genes.fpkm | awk '$NF > 10' | cut -f 1 | cut -f1 -d":" | sort -b > temp2 for motif in $(join -i temp1 temp2) do sh getmeatMotifs_ES...
true
50dcc539a8e3e23f9cf188910be500745112451d
Shell
ikitchen/screen
/deploy.sh
UTF-8
469
3.109375
3
[]
no_license
#!/bin/bash echo "Creating remote directory: $SERVER:$REMOTE_FOLDER"; ssh -p $PORT $SERVER " mkdir -p $REMOTE_FOLDER "; echo "Copying archive"; scp -P $PORT $LOCAL_PACKAGE $SERVER:$REMOTE_FOLDER echo "Unpacking archive on remote server"; ssh -p $PORT $SERVER " cd $REMOTE_FOLDER tar xzf $PACKAGE_NAME echo \"Cu...
true
1c41a968e01180a0a89fa93bf7653afa3369287d
Shell
AtsushiSakai/flann_sample
/build_sample1.sh
UTF-8
192
2.5625
3
[ "MIT" ]
permissive
#!/bin/sh # get file path cwd=`dirname "${0}"` expr "${0}" : "/.*" > /dev/null || cwd=`(cd "${cwd}" && pwd)` g++ ${cwd}/sample1.cpp -I /usr/include/ -lhdf5 -std=c++11 -o test && ${cwd}/test
true
11d4676b17c907ee8c0af533aa0a01836ac368c0
Shell
Mierdin/devstack-odl
/tools/xen/scripts/install_ubuntu_template.sh
UTF-8
2,854
3.734375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # This creates an Ubuntu Server 32bit or 64bit template # on Xenserver 5.6.x, 6.0.x and 6.1.x # The template does a net install only # # Based on a script by: David Markey <david.markey@citrix.com> # set -o errexit set -o nounset set -o xtrace # This directory BASE_DIR=$(cd $(dirname "$0") && pwd) # Fo...
true
c532227d24d698b7643a34a84aa558852af8fb11
Shell
grenade/occ-status
/ci/get-ami-lists.sh
UTF-8
701
3.0625
3
[]
no_license
#!/bin/bash -e shopt -s extglob for tc_worker_type in gecko-1-b-win2012 gecko-1-b-win2012-beta gecko-2-b-win2012 gecko-3-b-win2012 gecko-t-win7-32 gecko-t-win7-32-beta gecko-t-win7-32-gpu gecko-t-win7-32-gpu-b gecko-t-win10-64 gecko-t-win10-64-beta gecko-t-win10-64-gpu gecko-t-win10-64-gpu-b; do mkdir -p ami/${tc_w...
true
047162316d4de087e777e18db70ee280b5a70579
Shell
crea28/sysadmin
/monitoring-scripts/check_puppetagent.sh
UTF-8
407
3.46875
3
[]
no_license
#!/bin/bash # Script : check_puppetagent.sh # Author : crea28.fr VERSION="1.1" # Exit codes STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 shopt -s extglob if [[ -e "/var/run/puppet/agent.pid" ]]; then printf "Puppet Agent - OK" exit ${STATE_OK} else printf "Puppet Agent - CRITICAL - /var/r...
true
0daf064a94566e64f4e5442a2e6dee20ff357b25
Shell
Artemkulish/Demo_4
/deploy.sh
UTF-8
863
3.15625
3
[]
no_license
#! /bin/bash function docker-compose (){ docker run --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ -v "$PWD:$PWD" \ -w="$PWD" \ docker/compose:1.24.0 $1 $2 $3 $4 } services=("zookeeper" "kafka" "identity" "vehicle" "trip" "payment" "messaging" "simulation" "eureka" "gateway") for container in ...
true
9f7f88c97ca7ed2ecd2c15532ebcdef20673f704
Shell
nnthuan/dapr-poc
/dapr-image/entrypoint.sh
UTF-8
678
2.625
3
[]
no_license
#!/bin/sh # Make sure config.yaml exists touch "${HOME}/.dapr/config.yaml" # Specify weave network interface # It's needed since dapr use multicast, so make sure that you'd attached a weave network # to this container with multicast enabled weave flag export DAPR_HOST_IP=$(ifconfig ethwe0 | grep "inet " | awk '{print...
true
23caa535f94d047bb5a67f55faa889795a7ec031
Shell
jwolz/yajhfc-extra
/linux-pkg/rpm/template/yajhfc
UTF-8
1,303
3.734375
4
[]
no_license
#!/bin/sh # Start YajHFC # The Java command to use JAVA=java # Directories to search java in # Sun Java is preferred over other versions of Java here (especially GCJ does not work very well for YajHFC...) JAVADIRS=" /usr/lib/jvm/java-7-sun /usr/lib/jvm/java-6-sun /usr/lib/jvm/java-7-openjdk /usr/lib/jvm/java-6-openj...
true
54e3f62b248cd73b213550d902faed7a6e45e682
Shell
ruchshah/rocm-migraphx
/tools/onnxruntime/build_rocm_docker.sh
UTF-8
780
3.328125
3
[]
no_license
#!/bin/bash CACHE=${CACHE:="--no-cache"} DATESTAMP=`date '+%Y%m%d'` if [ ! -f onnxruntime/dockerfiles/Dockerfile.rocm ]; then echo "onnxruntime/dockerfiles/Dockerfile.rocm is missing" exit 0 fi if [ `id -u` != 0 ]; then echo script should be run as root exit 0 fi cp calc-median onnxruntime/dockerfiles c...
true
ecb98b6e72f433ef9642e37b00eea136633e71c6
Shell
pixilla/macports-user-pixilla
/scripts/mp-check-port-select-mysql
UTF-8
1,402
3.578125
4
[]
no_license
#!/bin/bash SELECT_TARGET=$(port dir mysql_select)/files SELECT_BASE=${SELECT_TARGET}/base SELECT_NONE=${SELECT_TARGET}/none # while read base; do # echo $base # done < ${SELECT_TARGET}/base for port in $(port echo name:^\(mariadb\|mariadb-10.0\|mariadb-10.1\|percona\|mysql5[0-9]\)$); do port -q contents $po...
true
7e933e2344ff7032c81178ed442e017141dbae69
Shell
larrybotha/dotfiles
/.functions
UTF-8
5,638
4.21875
4
[ "MIT" ]
permissive
#! /usr/bin/env bash # Create a new directory and enter it function md() { mkdir -p "$@" && cd "$@" || exit } # Create a .tar.gz archive, using `zopfli`, `pigz` or `gzip` for compression function targz() { local tmpFile="${*%/}.tar" tar -cvf "$tmpFile" --exclude=".DS_Store" "${@}" || return 1 size=$( stat -f"%...
true
0e9015a6684cbec097a79a944f3f68638493f268
Shell
xiaoyanger/lnmp
/env/install_env.sh
UTF-8
2,819
3.0625
3
[]
no_license
#!/bin/sh CPU_NUM=$(cat /proc/cpuinfo | grep processor | wc -l) if [ ! -f libiconv-1.15.tar.gz ];then wget https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.15.tar.gz fi rm -rf libiconv-1.15 tar zxvf libiconv-1.15.tar.gz cd libiconv-1.15 ./configure --prefix=/usr/local if [ $CPU_NUM -gt 1 ];then make -j$CPU_NUM else...
true
541f0555f8da15f6a9da8ef804d0c2aadb36d869
Shell
lestrade84/icehouse
/Scripts/02-osdb/03-nuage_integration.sh
UTF-8
579
2.984375
3
[]
no_license
#!/bin/bash . support-functions . parameters.cfg # Variables needed to be defined check_vars IAAS_PASS BE_NODE_1_HOSTNAME # ------------------------------------------------------------------------------------------------------------ if [ "$(hostname -s)" == "$BE_NODE_1_HOSTNAME" ]; then # On one backend server ...
true
cd66c3fdf4c968f56c6df2c0e174673dbc4017b8
Shell
gecos-team/gecosws-installation-disk-generator
/config/var/gensys/live-build/live-build-scripts/rebuild_source
UTF-8
1,507
3.5
4
[]
no_license
#!/bin/sh ## live-build(7) - System Build Scripts ## Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org> ## ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. ## This is free software, and you are welcome to redistribute it ## under certain conditions; see COPYING for details. set -e ...
true
d0ccef2a2298f7a43f5ed29a55ad4b04916ddda6
Shell
dvoraqs/intellij-dependencies-grapher
/scripts/cleanup_data.sh
UTF-8
1,243
3.40625
3
[]
no_license
INPUT_FILE=${1:-"result.txt"} OUTPUT_FILE=${2:-"result.txt"} mkdir cleanup TEMP_FILE="cleanup/temp.txt" TEMP_FILE_2="cleanup/temp2.txt" HEAD_PART="cleanup/head.txt" OTHER_PARTS="cleanup/other.txt" cp $INPUT_FILE $TEMP_FILE # Just ignore PROJECT_DIR var sed -i "" 's/\$PROJECT_DIR\$\///g' $TEMP_FILE # For Jars, keep ...
true
370dbf080ec8a668671e9f2873fe6766a6db050a
Shell
padfed/padfed-network-setup
/src/prod/scripts/lib.sh
UTF-8
6,098
4.09375
4
[]
no_license
#!/bin/bash function echo_red() { echo -e "\033[1;31m$@\033[0m"; } function echo_green() { echo -e "\033[1;32m$@\033[0m"; } function echo_blue() { echo -e "\033[1;34m$@\033[0m"; } function docker() { [[ -v DOCKERDEBUG ]] && echo docker "$@" command docker "$@" } function echo_sep() { for i in {1..80}...
true
7b7795271fde3b1d13674413f95a5155548b81f5
Shell
rogerdowning/SWEPT2
/Python/zPost-master/zPost-master/scripts/start_notebook
UTF-8
254
3.046875
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # Change directory to location of script DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR # Setup the environment . zpost_config.bsh # Start the notebook if [ "$1" != "" ]; then cd $1 else cd ../ipynb fi ipython notebook
true
b2352fb9f7446b3efcfc39a97285790c28f9add9
Shell
CoryMcCartan/configuration
/osx-settings
UTF-8
3,989
2.59375
3
[]
no_license
#!/usr/bin/env bash sudo -v # get permission up front # set computer name compname="cmccartan" sudo scutil --set ComputerName "$compname" sudo scutil --set HostName "$compname" sudo scutil --set LocalHostName "$compname" sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -st...
true
99e2b10557b7eaa776b2fba17f647333b51209c6
Shell
szolotykh/Kinisi
/getthirdparty.sh
UTF-8
1,921
3.375
3
[ "MIT" ]
permissive
#!/bin/sh apt-get update apt-get upgrade # Install dependency # GIT apt-get install git # CMake apt-get install cmake # Build essential apt-get install build-essential gcc -v make -v # ninja apt install ninja-build # SSL apt-get install libssl-dev # Directories RootDir=$PWD ThirdpartyDir="$RootDir/thirdparty" ...
true
d50861e17796714fd9dd14e9ddaa7063cbdb304e
Shell
simhaonline/iac_hetzner
/scripts/s3cmd.sh
UTF-8
367
2.65625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -euo pipefail ACCESS_KEY=$1 SECRET_KEY=$2 ENDPOINT=$3 LOCATION=$4 apt-get install s3cmd -yq cat > /root/.s3cfg <<EOF [default] # Endpoint host_base = ${ENDPOINT} host_bucket = ${ENDPOINT} bucket_location = ${LOCATION} use_https = True # Login credentials access_key = ${ACCESS_KEY} secret_ke...
true
86bcd5b8dd42e442dc3f058425c9831ea37de6fa
Shell
aawwuu/OpenStack-Study
/scripts/批量创建虚拟机
UTF-8
1,964
3.46875
3
[]
no_license
#! /bin/sh net=231e49ee-7c81-413e-a669-184f2044924d image=2f8c90d4-aa09-492d-969e-bcaa4ecbf2e2 count=20 server_name=new_server create_servers() { nova boot \ --flavor $flavor \ --security-group $security-group \ --availability-zone $zone \ --nic net-id=$net \ --block-device id=$image,source=im...
true
18dc14faa381a396bc6aa07006f7ab4e5c772112
Shell
elwinmartin/ChargedHiggsProduction
/AssociatedProduction/bbHW/TanVary
UTF-8
159
2.65625
3
[ "MIT" ]
permissive
#!/bin/bash decimal=".d0" for i in `seq 1 30` do num=$((0 + $i)) arg=$num$decimal sed -i 9s/.*/"$arg"/ bbhw.dat ./bbhw.x done
true
6c81738bf7bdaeda7b00107801b05b5af4ec9424
Shell
katroc/postgres
/pgsqlchk
UTF-8
514
2.78125
3
[]
no_license
#!/bin/bash HOST="localhost" PORT="5432" DB="postgres" USER="postgres" PGSTATUS() { psql -h $HOST -U $USER -p $PORT -c "select pg_is_in_recovery()" -x } if PGSTATUS | grep "pg_is_in_recovery | t" then /bin/echo -e "HTTP/1.1 206 OK\r\n" /bin/echo -e "Content-Type: Content-Type: text/plain\r\n" /bin/echo -e "\r\n" /bin...
true
ea1eaa5d356ae1cb22713e9b35a1e6d7a80cd38f
Shell
nyongja/goodbooks-10k-recommender
/run.sh
UTF-8
281
3
3
[]
no_license
#!/bin/bash mode="" user_id="" if [ "$1" = "" ]; then echo "Please enter the mode(train, predict, recommend)." elif [ "$1" = "recommend" -a "$2" = "" ]; then echo "Please enter user id." else mode=$1 user_id=$2 python run.py --mode "$mode" --user_id "$user_id" mode_run fi
true
e5f346a11072c9ba45196875fdb152922f9bbb68
Shell
HrshWardhan/DevClubBashAssignment
/countFiles.sh
UTF-8
585
3.984375
4
[]
no_license
#!/bin/bash # Count files at a Directory if [[ ($# -eq 2 || $# -eq 1) && -d $1 && -r $1 ]] then var=null count=0 if [ $# -eq 1 ] then var=$( ls $1 ) for name in $var do ((count++)) #echo $count $name done echo $count else ...
true
ac6a60dd848a00ec9f7668eda7bfbd34574aec14
Shell
dbsites/Name-That-Card
/scripts/start-prod-app.sh
UTF-8
868
3.53125
4
[]
no_license
#!/bin/bash # start-prod-app.sh - script run at startup of container in production image only... # will run db-migrate before starting app (npm run start) DB_HOST=$RDS_HOSTNAME # $1 is DATABASE_MIGRATIONS from scripts/staging.sh or scripts/deploy.sh # $2 is DATABASE_SCOPES from scripts/staging.sh or scripts/deplot.s...
true
186b68949bfd2685cd96e8eb6840c4d289cbc017
Shell
SuiTengJie/Adaptive-Downsampling-Model
/src/demo.sh
UTF-8
5,071
2.640625
3
[]
no_license
# retreiving downsampling kernel between HR image dataset 'Source' and LR image dataset 'Target'. # generate downsampled version of 'Source' image from retrieved downsampling kernel saved in './experiments/save_name/down_results/'. CUDA_VISIBLE_DEVICES=0 python train.py --source Source --target Target --name save_name ...
true
288bcf9dad6db52a0bec040aa5649764133e36ca
Shell
afrojer/env-setup
/bash_profile
UTF-8
3,044
3.3125
3
[]
no_license
# I need a pointer to my config directory in here, and a pointer to a custom # shell script directory whose contents will be sourced only on this machine. # # You can probably copy the following lines into: ~/.env-setup # #!/bin/sh # export ENV_ROOT=~/.env # export ENV_ROOT_EXTRA=~/.env.d . ~/.env-setup #############...
true
ce90eb73b6f919a1846e08ac73c112f22ade4976
Shell
moofik/ecommerce-empower
/docker/build/node-server/startup.sh
UTF-8
119
2.65625
3
[]
no_license
#!/bin/bash set -e while ! nc -z $RABBIT_MQ_HOST $RABBIT_MQ_PORT; do sleep 3; done echo "Rabbit MQ is up" exec "$@"
true
eea3549d861c8488a24f31d8e86f91c8eb5be9e1
Shell
Luminarys/synapse
/ci/util.sh
UTF-8
232
3.28125
3
[ "ISC" ]
permissive
#!/bin/bash set -ex is_linux() { case "$TRAVIS_OS_NAME" in linux) return 0 ;; *) return 1 ;; esac } is_osx() { case "$TRAVIS_OS_NAME" in osx) return 0 ;; *) return 1 ;; esac }
true
ba583d7bea81d8451623b6e31c1078cffba5c79a
Shell
nuieskater/ethos-auto-load
/autoupdate.sh
UTF-8
338
3.28125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # if [ "$1" == "restart" ] || [ "$1" == "stop" ] then pkill -ef '/home/ethos/daemon_remote_conf.php' fi proc=$(ps -aux | grep php | grep daemon_remote_conf) if [ "$1" != "stop" ] then if [ "$proc" == "" ] then /usr/bin/php /home/ethos/daemon_remote_conf.php & echo "Success!" else echo "Already ...
true
738e05b94d1e374a39a462ef93c5bf66e1bb2b0c
Shell
liao961120/collabin
/content/yongfu/write-in-rmd/update.sh
UTF-8
860
3.109375
3
[]
no_license
echo 'Enter 1) paged; 2) rmdformats:' read file if [[ $file == "1" ]]; then Rscript -e 'rmarkdown::render("index.Rmd", output_format="pagedown::book_crc")' mv index.html paged.html cp -r index_files *.png *.html ~/liao961120.github.io/notes/write-in-rmd/ elif [[ $file == "2" ]]; then Rscript -e 'rm...
true
51b0d73713c764668e519153610e4702d07b1107
Shell
prasanna1433/MoST
/scripts/check.sh
UTF-8
4,161
3.328125
3
[]
no_license
#! /bin/sh protagonist[0]=F1 protagonist[1]=F2 protagonist[2]=M1 protagonist[3]=M2 activity[0]=Basic_lying activity[1]=Basic_sitting activity[2]=Basic_standing activity[3]=Drinking activity[4]=Eating activity[5]=Grasping_floor activity[6]=Grasping_shelf activity[7]=Jumping activity[8]=Kneeling activity[9]=Lie_to_sit ...
true
d200f058a765dad5d7cbe1cc268b69f517efb215
Shell
matheusysd/Trybe
/my-shell-scripts/exercise4.sh
UTF-8
233
3.28125
3
[]
no_license
#!/bin/bash FILE="/home/Documents/Trybe/my-shell-scripts/README.md if [ -e "$FILE" ] then echo "The path $FILE exists!" fi if [ -w "$FILE" ] then echo "You can modify $FILE" else echo "You CANT modify $FILE" fi
true
fc25d6ce6a6bb08568a0ca6ebd56bec69788b8e8
Shell
crsantos/dotfiles
/scripts/backup.sh
UTF-8
499
3.671875
4
[ "MIT" ]
permissive
#!/usr/bin/env bash function brewBundleDump() { echo "saving /tmp/Brewfile copy" mv Brewfile /tmp # Run bundle dump command to generate a new Brewfile brew bundle dump --file="./Brewfile" echo "Brewfile dump complete." } if [ "$1" == "--force" -o "$1" == "-f" ]; then brewBundleDump; else read -...
true
2432636b84f0c99c346c51a1cb0883d50854f10b
Shell
bencejuhaasz/pinephone-sway-poc
/usr/local/bin/swayphone_appmenu
UTF-8
7,161
2.921875
3
[ "Apache-2.0", "MIT" ]
permissive
#!/bin/bash # modified sxmo_appmenu.sh script # https://git.sr.ht/~mil/sxmo-utils/tree/1.4.1/item/scripts/core/sxmo_appmenu.sh trap gracefulexit INT TERM # include common definitions # shellcheck source=scripts/core/sxmo_common.sh . "/usr/bin/sxmo_common.sh" WINAME=Sys gracefulexit() { echo "Gracefully exiting $0">...
true
2d695288384c6e01ac6c0c15318deb4f66255e81
Shell
thomasgermain07/ft_services
/setup.sh
UTF-8
3,041
3.875
4
[]
no_license
#!/bin/bash ############################ # DELCARATION OF VARIABLES # ############################ MINIKUBE_IP="" # FONT BOLD="\e[1m" # COLORS MSG="\e[97m" # WHITE SUCCESS="\e[32m" # GREEN WARNING="\e[93m" # YELLOW ############ # FUNCTION # ############ printer() { HEADER="\e[32mMINIKUBE: $(date +%T...
true
921172f68fb4ef92853d9e0e0132953f3ff9b476
Shell
jkmiva/cs214
/a1/CompSpec.sh
UTF-8
1,121
2.640625
3
[]
no_license
#Name: Huang Jiaming #NSID: jih211 #StuID: 11207964 echo "-----------------------------------------" echo " Computer Stats: " echo "=========================================" echo "|" printf "| Total CPU's: "$(nproc)"\n" printf "| Number of CPU's being used: "$(ps -ao psr | awk '{sum=0}{if(NR>1...
true
f86c445100887ceec3b91eaa16003c5424971409
Shell
emontnemery/openmediavault
/deb/shairport-sync/debian/shairport-sync.postinst
UTF-8
342
3.109375
3
[ "MIT" ]
permissive
#!/bin/sh set -e case "$1" in configure) if [ -x "/etc/init.d/shairport-sync" ]; then update-rc.d shairport-sync defaults 25 >/dev/null invoke-rc.d shairport-sync start || exit $? fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument '$1'" >&2 exi...
true
72c6dbc937576d7613852bb636bd522e3817ccaf
Shell
brownjedi/dotfiles
/.zshrc
UTF-8
2,460
3.125
3
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
# Path to your oh-my-zsh installation. export ZSH=$HOME/.oh-my-zsh # Default GOPATH export GOPATH="$HOME/go" # export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" # export MANPATH="/usr/local/man:$MANPATH" export PATH=$HOME/bin:$GOPATH/bin:/usr/local/sbin:$PATH # Android # export ANDROID_HOME=~/Library/Andro...
true
7669743663a7d00006ea7a0f40e8514a844bad00
Shell
jasonmimick/cim
/cim.sh
UTF-8
34,972
3.34375
3
[]
no_license
#!/bin/bash # shell script load push and pull # artifacts from Caché # # # Example: # %>cim put _system:SYS@localhost:1234 /tmp/foo.Book.cls # Loads the foo.Book.cls into localhost:1234 # # %>cim get _system:SYS@localhost:1234 foo.Book.cls > /tmp/foo/Book.cls # Get class from Caché and dumps to file # # # TO-DO make ...
true
fc0a7ca16314d2942e61f65756046d2b1a1b4234
Shell
SrikarNimmagadda/datalake
/bin/shared-utility.sh
UTF-8
857
3.5625
4
[]
no_license
#!/bin/bash function verify_environment_vars { : "${COOP:?Need to set COOP env var to Mother Hen coop name.}" echo "Coop: $COOP" : "${HEN_NAME:?Need to set HEN_NAME env var to Mother Hen hen name.}" echo "Hen Name: $HEN_NAME" : "${STACK_NAME:?Need to set STACK_NAME env var to the name of the cloudformation...
true
7890aceffb23936d72aaca4ca0035bdf9cc043d5
Shell
mcstitzer/w22_te_annotation
/sine/run_sines.sh
UTF-8
2,047
3.1875
3
[]
no_license
#!/bin/bash -login GENOME=W22 GENOMEFASTA=../W22__Ver12.genome.fasta CPU=1 ## path to SILIX for clustering SILIX=/home/mstitzer/software/bin/silix ## path to VSEARCH for matching sequences VSEARCH=/home/mstitzer/software/vsearch/bin/vsearch #### get the SINE-Finder program from Wenke et al. 2011 wget http://www.plan...
true
e0e0bfe6c6bd6d678f9bade6c7abdb1bfdc2cbd3
Shell
terriblememory/stupidgit
/gsclone
UTF-8
1,260
4.1875
4
[]
no_license
#!/bin/sh if [ "$#" != 2 ] || [ "$1" == "--help" ]; then echo " gsclone -- Create a subtree from a remote repository." echo " Usage: gsclone [subdir] [address]" echo " Run this script from the root directory of the containing repo." echo " [subdir] is a subdirectory to clone the subtree into." echo ...
true
cce2e2c81f23ae7eb9a8b8fe94f5661e6c8c737f
Shell
jenkinsci/warnings-plugin
/jenkins.sh
UTF-8
136
2.921875
3
[ "MIT" ]
permissive
#!/bin/bash if [[ -z "$JENKINS_HOME" ]]; then echo "JENKINS_HOME is not defined" 1>&2 exit 1 fi cd $JENKINS_HOME ./go.sh cd -
true
c71c500a204a817c6982152b57f25514fc29187d
Shell
minggr/backup
/misc-scripts/setgov.sh
UTF-8
329
3.421875
3
[]
no_license
#!/bin/bash gov=performance [ ! -z $1 ] && gov=$1 echo -n avaliable governors: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors [ $gov == "list" ] && exit 0 echo set to: $gov for f in `find /sys/devices/system/cpu/ -name scaling_governor` ; do sudo su -c "echo $gov > $f" > /dev/null 2>&1 cat...
true
88c20b9336bf407c4946bfec94a124d3601f9789
Shell
darkseed/puppet-kbp
/kbp-base/files/home/pieter/.bash_aliases
UTF-8
987
2.703125
3
[]
no_license
alias kickpuppet='sudo puppetd --verbose --no-daemonize --no-splay --onetime' alias runpuppet='sudo puppetd --no-daemonize --no-splay --onetime --logdest console --logdest syslog' alias twenty_five_get_free_port='sudo grep port /etc/libvirt/qemu/*' alias twenty_five_get_free_ip='cat /etc/dhcp3/dhcpd.conf' if [ -d "/sr...
true
b4b134c0321484a63fb4346093a19e790147c315
Shell
DishenMakwana/Shell-Scripts-programs
/script12.sh
UTF-8
93
3.0625
3
[ "MIT" ]
permissive
a=$1 b=$2 i=1 while [ $i -le $b ] do echo $a "*" $i "=" $(($a * $i)) i=` expr $i + 1 ` done
true
7ad17bfdb02629ce168c5d558d020063923f8081
Shell
rosona/aelf-sdk.js
/.nuget/deploy.sh
UTF-8
525
3.390625
3
[]
no_license
#!/bin/bash HERE=$(cd "$(dirname "$0")";pwd) cd ${HERE} TAG=$1 NUGET_API_KEY=$2 # TODO: verify version VERSION=`echo $TAG | cut -b 2-` NUPKG="${HERE}/Rosona.JSDK.${VERSION}.nupkg" # build mkdir AElf.JSDK/content cp -r ../dist/* AElf.JSDK/content/ dotnet build AElf.JSDK/AElf.JSDK.csproj --configuration Release -P:V...
true
3cbcc64cbb4748e2d00cc0412641633fb3efb5ae
Shell
m-narayan/smart
/ucs/virtualization/univention-xen/usr/lib/xen-tools/univention.d/60-copy-host-files
UTF-8
814
3.96875
4
[]
no_license
#!/bin/sh # # Copy files from a 'skel' directory, if present, into the # new images # prefix=$1 # # Source our common functions # if [ -e /usr/lib/xen-tools/common.sh ]; then . /usr/lib/xen-tools/common.sh else . ./hooks/common.sh fi # # Log our start # logMessage Script $0 starting # # Copy "required...
true
7f9278d38e96c401c411b07fee595f2f067bd788
Shell
Jinwuk/HEVC_VCA_Linux
/RemoveFileInVCA.sh
UTF-8
541
3.171875
3
[]
no_license
#!/bin/bash echo off echo ========================================== echo Usage ./RemoveFileInVCA.sh [File] [Directory] echo Example RemoveFileInVCA.sh ETRI_RA_main10.cfg home echo ========================================== for y in {0..3} do for x in {0..2} do VCADIR=/mnt/vca_node_${y}${x}/home/sgs ech...
true
02ecb1db9b6d99f0a6fd2107df60371e64fc1734
Shell
rmaiquez/bcksmartos
/backup_smartos.sh
UTF-8
3,264
2.90625
3
[]
no_license
#!/usr/bin/bash # script to backups smartos vms # # # Variables to VM ID vm_1=ac732286-a254-67dd-e8d2-ef50bd70d68f vm_2=3mv81426-5116-4e81-8042-fa133c2f5cc3 vm_3=m93f1edb-6930-601e-d65d-eae6478d7624 vm_4=10j6f264-e922-403f-e365-dfa0e490feec vm_5=5tg87cdd-b917-62a5-e78f-e44a3a913fc9 backupdate=$(date "+%d-%m-%Y") # Sh...
true
f721badfb945b1b53545c20ea6938b9168b0729c
Shell
troylee/kaldi
/egs/aurora4/a00/steps/compute_cmvn_utt_stats.sh
UTF-8
1,923
3.875
4
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/bash # Compute per utterance CMVN stats for 0_D_A features echo "$0 $@" # Print the command line for logging fake=false two_channel=false if [ $1 == "--fake" ]; then fake=true shift fi if [ $# != 3 ]; then echo "usage: compute_cmvn_utt_stats.sh [options] <data-dir> <log-dir> <path-to-cmvn-dir>"; ...
true
b43ec013329df502a27d2c56dfd968bed5a2e5fc
Shell
babbahotep/asusmerlinscripts
/exec_on_asus/mail.sh
UTF-8
671
3.078125
3
[]
no_license
#!/bin/sh #mail.sh to from text # echo "This is a test email." | /usr/sbin/sendmail -S"192.168.1.1" -f"router@domain.com" esxi@home.lan userfrom=$1 userto=$2 subject=$3 text=$4 SMTP="192.168.1.1" FROM="$userfrom" FROMNAME="xmail $userfrom" TO="$userto" echo "Subject: $subject" >/tmp/mail.txt echo "From: \\"$FROMNAM...
true
73f1ac0774e924f21025c88e6aca6c06c217fbc7
Shell
nikhil-thomas/chmouzies
/git/git-ppr
UTF-8
1,262
3.734375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -ex TMP=$(mktemp /tmp/.mm.XXXXXX) clean() { rm -f ${TMP}; } trap clean EXIT BASE_REMOTE=${1} USER_REMOTE=${2} [[ -z ${BASE_REMOTE} ]] && { echo "No base remote specified, will be using *rigin*" sleep 3 BASE_REMOTE=origin } [[ -z ${USER_REMOTE} ]] && { echo "No remote specified, will b...
true
ca66e9291135ea5eed1264c6a33ca36d9fc105a9
Shell
ksheeras/CSExpertSearch
/people_data/extract_data.sh
UTF-8
788
3.328125
3
[]
no_license
#!/bin/bash #shopt -s globstar for authorname in * do if [[ ! -f "$authorname" ]] then continue fi #outputfile=$authorname."content" authorids=$(grep "$authorname" /home/adarshms/academics/cs410/project/artnet/authors.txt | awk 'BEGIN { FS = "\t" } ; {print $1}') for authorid in $authorids do ...
true
c3e6dff30327e2cb5a5d144b37b18b1a1b70a0e0
Shell
JeffersonLab/hps-epics
/apps/generalApp/scripts/jtabs_launcher.sh
UTF-8
385
3.1875
3
[]
no_license
#!/bin/bash # # Wrap this with xterm -e for use from MEDM. Set remote hostname below. # host=hlbl00 user=hbops echo "Running JTabs from $host..." if [ "$USER" != "hpsrun" ] && [ "$USER" != "clasrun" ]; then read -p "Enter your username [$user]: " INPUT_STRING if [ "$INPUT_STRING" != "" ]; then user=$INPUT_STR...
true
d422a391ef43f20b082de8c037d3352ba0a29eb5
Shell
ipeglin/DCST1001
/ban.sh
UTF-8
3,330
4.46875
4
[]
no_license
#!/bin/bash # Declaring variable which contains the IP to be banned IP_ADDRESS="$1" # Setting timestamp of when the IP was called to be banned TIMESTAMP=$(date +%s) # Directory path to database file DATABASE_DIR="miniban.db" # Check if the IP_ADDRESS is an empty string if [ -z "$IP_ADDRESS" ]; then # If true: Ign...
true
77b0018483601b747af6829b94fd6fef0cfa9a5f
Shell
modelbrouwers/ansible
/scripts/download_backups.sh
UTF-8
738
3.203125
3
[ "MIT" ]
permissive
#!/bin/bash USER=$1 HOST=$2 BASE=/home/modelbrouw/backup DEST=/tmp day=$3 download_django() { backup_file=modelbrouwers.custom scp $USER@$HOST:$BASE/postgres/$day-daily/$backup_file $DEST/$backup_file } download_forum() { backup_file=modelbrouw_fora.sql.gz scp $USER@$HOST:$BASE/mysql/$day-daily/$bac...
true
b92ad5654f6b616af5b4198cc87b49de64a203d5
Shell
luhussain/jamf-tools
/Scripts/run_command_as_user.sh
UTF-8
365
3.828125
4
[ "MIT" ]
permissive
#!/bin/bash # Get the ID of the logged in user UUID=$(id -u $(logname)) echo "User $(logname): $UUID" # Set the commands you want to run in Jamf # Loop through parameters set in Jamf ($4 - $11) for Command in "${@:4}"; do # Skip empty commands [ -z "$Command" ] && continue echo "Running: $Command as $(l...
true
7d6df03312b0350ad8cdefd37a17989e1e358d77
Shell
lab305itep/vmebur
/getchan.sh
UTF-8
373
2.796875
3
[]
no_license
#!/bin/bash # Soft reset all ADCs # if [ "x"$2 == "x" ] ; then echo Usage ./`basename $0` xil chan exit -1 fi case $1 in 0 ) mem=A0010; csr=3;; 1 ) mem=80010; csr=2003;; 2 ) mem=60010; csr=4003;; 3 ) mem=40010; csr=6003;; esac ./vmebur -q "m 0 2000000;x $csr $2;10004=f0000;w;10004=0" >> /dev/null ./vmebur -q...
true
8c8545780c8ebca67eb4e66e77d794cd365e162e
Shell
earGO/CLOC
/bin/rocm_tools
UTF-8
18,828
3.421875
3
[ "LicenseRef-scancode-unknown-license-reference", "NCSA" ]
permissive
#!/bin/bash # # rocm_tools: Check status of ROCM tools on current system. # # Written by Greg Rodgers Gregory.Rodgers@amd.com # # TODO: Add Python, boost, Kokkos, HcBlas, HcSparse # Please contact Greg if you want your HSA tool added to this list # PROGVERSION=1.3.2 # # Copyright (c) 2016 ADVANCED MICRO DEVICES...
true
c0b2eecbbaf7aca245e0d259301874069818f028
Shell
reorx/scripts
/git-bin/git-splits
UTF-8
2,517
4.125
4
[]
no_license
#!/bin/bash ###################################### # Git Split # # # Installation : # Add this to the same directory that your git executable is in, and make sure it has executable # permissions : i.e.: chmod o+x git-splits # # Splits A Repo's directory into a separate branch # retaining the directory's history, and...
true
569259b0085f8bee7a2641a9141502768ce6f706
Shell
archiecobbs/dbq
/src/scripts/dbq.sh
UTF-8
470
3.296875
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # Get path separators, etc case `uname -o 2>/dev/null` in Cygwin) PATH_SEP=';' TRANSFORM="sed -r -e s|:|;C:\\\\cygwin|g -e s|/|\\\\|g" ;; *) PATH_SEP=':' TRANSFORM='cat' ;; esac PKGDIR="/usr/share/dbq" MAINCLASS="org.dellroad.dbq.Main" CLASSPATH=`find ...
true
9a1a3c0c5cd012b165be447a5218a919152ca82a
Shell
Shaunyl/shell-scripts
/swapcleaner/sskiller.ksh
UTF-8
3,686
3.453125
3
[]
no_license
#!/bin/ksh # Setup environment for cron job . ./oenv4cron.ksh USERID=${USERID:-/} usage() { echo "Usage: $0 [-n kills] [-p] [-e] [-h]" echo " -h help: print this message" echo " -n kills: number of top swap usage sessions to kill - defaults to 3" echo " -e execute: execute script SQL by itself" echo " ...
true
5d88d74e7fd915485103a17864652155da2d4c00
Shell
sheldonmaschmeyer/MonitorProgram
/Version1/AutoEmailScripts/SFTP Users And Monitoring.sh
UTF-8
7,932
4.25
4
[]
no_license
#!/bin/bash #This program adds and removes users from the list of users being monitored. #This program is the property of Skyboard Development Inc. #Monitors an existing user function funExistsUser { #Display instructons to user echo "" echo "Please enter the Username (i.e. don) that you want to monitor." #Di...
true
84b2df5b6322d7129cc7ce0fb691e3597191f7b7
Shell
cancerregulome/gidget
/commands/feature_matrix_construction/shscript/archive/make_gene_lists.sh
UTF-8
759
3.78125
4
[ "MIT" ]
permissive
#!/bin/bash if [ $# -ne 1 ] then echo "Usage: `basename $0` TCGA-fmp-output-directory" echo " TCGA-fmp-output-directory must contain subdirectories named as the tumor types" echo "example: for disk structure as" echo " <path to TCGA outputs>/TCGAfmp_outputs" echo " etc," echo ...
true
ce5ede3a5707c4657d0686c79be2f2b5a9977e18
Shell
daidodo/server-model
/src/test/run_test.sh
UTF-8
248
3.40625
3
[]
no_license
#!/bin/bash if [ $# -lt 1 ] ; then echo "$0 test1 [test2 ...]" exit 1 fi echo "----TEST begin----" ulimit -c unlimited for test in "$@" ; do if ! $test ; then echo "$test failed----" exit 1 fi done echo "----TEST finished----"
true
ec9c17bfbf7f38fdb0e64f7c5df97a37ffb78ae3
Shell
Maarti/RaspberryPiMotion
/home/pi/MotionScripts/deleteOldFolders.sh
UTF-8
551
3.640625
4
[]
no_license
#!/bin/bash # On ecrit la date pour les logs date # Recuperation de la date d'il y a un mois minFolderToKeep=$(date -d 'now - 1 month' +%Y%m%d) echo 'minFolderToKeep = '$minFolderToKeep # Pour chaque dossier de /cam/ (pas les sous-dossiers, ni cam lui-meme) for folderUrl in `find /var/www/html/cam/ -mindepth 1 -maxd...
true
233b50129711c7dc504582c00b4c9e6635bdd7f4
Shell
KnowledgeCaptureAndDiscovery/wings-genomics
/code/library/sqliteDelIdpickerProt/run
UTF-8
1,253
3.46875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Functions: checkExitCode() { EC=$? if [ ${EC} -ne 0 ]; then echo "Error" exit ${EC}; fi } BASEDIR=`dirname $0` if [ $# -lt 1 ]; then echo "Error No inputs provided" && exit 1; fi NINPUTS=1 NPARAMS=0 NOUTPUTS=1 . $BASEDIR/io.sh ${NINPUTS} ${NPARAMS} ${NOUTPUTS} "$@" # Run SQLite query to crop ...
true
4613317820e8d8237bad469bd6509dc89e439712
Shell
dubeyakshat07/python-pachyderm
/etc/testing/travis_install.sh
UTF-8
2,324
3.28125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -ex # install latest version of docker curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" sudo apt-get update -y sudo apt-get -y -o Dpkg::Options::="--force-confnew" ...
true
c22cc249e1f41f88d93da54a9a088dc317a99578
Shell
it-praktyk/packer-ubuntu-1604
/scripts/setup.sh
UTF-8
523
2.828125
3
[ "MIT" ]
permissive
#!/bin/bash -eux # Add vagrant user to sudoers. echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers # Disable daily apt unattended updates. echo 'APT::Periodic::Enable "0";' >> /etc/apt/apt.conf.d/10periodic # Select the fastest mirror for p...
true
98177c5f928dd54dde0384db9814fe906c67bca6
Shell
sri-arjuna/script-tools.tui
/templates/dev/release.conf
UTF-8
1,436
3.328125
3
[]
no_license
#!/bin/bash # "1234567890 ::: this template requires" # | # | sea's Project Release Configuration for project: \$prj_name # | ----------------------------------------------------------- # | # | Please simply comment out commands by adding a "#" in front of the line, # | or enable commands by removing the "#" in front...
true
904b14a455f6a1d6dd565f76d75a3fce9a8d2270
Shell
cryptoandcoffee/miningcore
/build.sh
UTF-8
786
2.65625
3
[ "MIT" ]
permissive
#!/bin/bash #Get depends apt-get update ; apt-get install -y wget dotnet-sdk-2.2 git cmake build-essential libssl-dev pkg-config libboost-all-dev libsodium-dev autoconf automake pkg-config apt-transport-https wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb dpkg -i packages-microso...
true
3ffdf2c64cf2084451b9e551be57cdbed097eb02
Shell
girish-gaude/Linux-bash-Example
/13_system_info.sh
UTF-8
1,973
4
4
[]
no_license
<<comments Author: Girish Gaude Date: 30/Oct/2019 Desciption: Program to print system information Requirements: - 1. Provide a menu for user about what information he wants to check 2. Using switch case display output for selected option. Input: Ask the information Output: Print the information comments #!/bin/ba...
true
fd3a76d2bacc1dec0699e064e64de28526c8ab3a
Shell
DaniBlumstein/Ranitomeya_imitator_genome
/GenomeAssembly/wtdbg2_assembly/2_merge_and_polish/B.bwa.job
UTF-8
751
2.703125
3
[]
no_license
#!/bin/bash #SBATCH --partition=macmanes #SBATCH -J bwa #SBATCH --output bwa.log #SBATCH --cpus-per-task=40 #SBATCH --exclude node117 DIR=$(pwd) ASSEMBLY="merged_quickmerged_pacbio_alldata.fasta" species="Ranitomeya_imitator" prefix="Rimi" READ1="Rimi_S1_L001_R1_001.fastq.gz" READ2="Rimi_S1_L001_R2_001.fastq.gz" ...
true
14b112363bf2fda42c0d57035cd0e2b6806d6e3d
Shell
zxymgl/RNBridge
/RNBridge/bundle.sh
UTF-8
1,675
3.28125
3
[]
no_license
#! bin/bash bundle_array=(common home search login good hot day sort chat mine collection coupon about order address addAddress) # 删除文件夹 rm -r -f dist # 新建文件夹 mkdir dist mkdir dist/bundle mkdir dist/zip # 打包 for bundle in ${bundle_array[@]};do if [ $bundle == common ] then node node_modules/react-nat...
true
b6dbb8559a7c446942c8d6368e45e927c83c515b
Shell
hhs66317/vim
/.bashrc
UTF-8
365
3.046875
3
[]
no_license
# .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # 配置Linux终端如果支持就调整为256色终端 if [ -e /usr/share/terminfo/x/xterm-256color ]; then export TERM='xterm-256color' else export TERM='x...
true
c9f54993264114f380e0e43c7958d89e1fafeb3d
Shell
freeparissky/Info-extract
/prediction-experiments/scripts/getvalues.sh
UTF-8
263
3.078125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash if [ $# -lt 2 ] then echo "Usage: $0 <C/O> <attrib-id>" exit fi if [ $1 = "C" ] then field=1 else field=2 fi grep $2 graphs/relations.graph | awk -F '\t' -v field=$field '{print $field}' | awk -F ':' '{print $3}' | sort |uniq
true
8651f986388733ceef50971e87d7143cb075d3ad
Shell
JamieJQuinn/Thesis
/run_scripts/kink_instability/archie_copy.sh
UTF-8
2,507
2.890625
3
[]
no_license
#!/usr/bin/env bash set -e SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" time_end=300.0 dt_snapshots=25.0 nx=350 ny=$nx nz=2*$nx #nx=512 #ny=512 #nz=512 visc_mantissa='0' resist_mantissa='0' for n in 3; do for m in 4; do #for switching_value in 0.5; do #for nx in 250 300 3...
true
132b0c3a956a6b4c3f9f85a9f78ee8733faeb17f
Shell
valerinistor/cubrid-pacman
/cubrid.sh
UTF-8
370
2.734375
3
[]
no_license
CUBRID=/opt/cubrid CUBRID_DATABASES=/var/lib/cubrid/databases if [ "x${LD_LIBRARY_PATH}x" = xx ]; then LD_LIBRARY_PATH=$CUBRID/lib else LD_LIBRARY_PATH=$CUBRID/lib:$LD_LIBRARY_PATH fi SHLIB_PATH=$LD_LIBRARY_PATH LIBPATH=$LD_LIBRARY_PATH PATH=$CUBRID/bin:$PATH export CUBRID export CUBRID_DATABASES export LD_LIBRARY_...
true
fb3b3fe2fb07d01aedf244eade842aaf6d881985
Shell
Technology-Development/kill-java
/ci/build_archive.sh
UTF-8
316
2.53125
3
[]
no_license
#!/bin/bash set -e echo "" echo " .. Running build" cd service-repo # gradle build export GRADLE_OPTS="-Dorg.gradle.native=false" ./gradlew clean build # create target folder # mkdir -f ../build-output # move all manifests file to target cp manifest.yml ../build-output/ cp build/libs/*.jar ../build-output/
true
b5cdcb2d1b5bd712473b290fea3827536b86d8d8
Shell
pillaiuma/shell
/6.5.sh
UTF-8
233
3.375
3
[]
no_license
for file in * do if [ -f "$file" ] then if [ -s $file ] then echo "$file has more than 0 byte so cannot be deleted" else rm $file echo "$file is deleted with 0 byte" fi else echo "File does not exists" fi done
true
e94b37bd47709ab089312c8ff1c1192a42d32240
Shell
server-securit/Arduino-OS
/bin/arduino-build.sh
UTF-8
5,759
3.296875
3
[ "BSD-2-Clause" ]
permissive
#!/bin/bash # # OS.js - JavaScript Operating System # # Copyright (c) 2011-2015, Anders Evenrud <andersevenrud@gmail.com> # 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 ...
true
41009354583b573b99d003d593a8d6133b37e0b5
Shell
pathak-vikash/dotfiles
/install.sh
UTF-8
1,538
3.515625
4
[]
no_license
#!/bin/sh echo "Setting up your PC..." # install docker if test ! $(which docker); then curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh rm get-docker.sh fi #install docker-compose if test ! $(which docker-compose); then sudo curl -L "https://github.com/docker/compose/releases/dow...
true
d9e0a89ddde8e60daf5c401f377fa34f2c069021
Shell
javuberay/Project-3
/disable-local-user.sh
UTF-8
3,998
3.9375
4
[]
no_license
#!/bin/bash #Javi Ubeda i Jefry Montalvan #Variables id_usuari_execucio=`id -u` nom_script=$0 FALS=0 CERT=1 #Funcio que mostrara l'us bàsic del programa quan no rebi parametres o quan el parametre sigui diferent a (d,r,a) us (){ echo Utilitzacio: ./$nom_script [-dra] USUARI [NOM_USUARI] echo Deshabilitar un comp...
true
af5033be4a372498091d4e691c25e2eab0700568
Shell
zhaoxia413/16S_qiime_wangyingnan
/qiime2_2019.4_rawFq2_diversity.sh
UTF-8
8,076
2.5625
3
[]
no_license
me [zxia@moon 16S_results2019711]$ conda activate qiime2-2019.4 #用完后关闭qiime conda deactivate #import data (qiime2-2019.4) [zxia@moon qiime]$ qiime tools import \ --type 'SampleData[PairedEndSequencesWithQuality]' \ --input-path 16S_samplelist \ --output-path ./paired-end-demux.qza \ (qiime2-2019.4) [zxia@moo...
true
0c173bcab51267d43ed2e065be0e4f7d281bd5d9
Shell
CESNET/glite-lb
/org.glite.lb.client/test/PLOT
UTF-8
2,276
2.53125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Copyright (c) Members of the EGEE Collaboration. 2004-2010. # See http://www.eu-egee.org/partners/ for details on the copyright holders. # # 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 ...
true
8892a08fc0f0964ea8a5f56ea83004def8a71693
Shell
brentp/somalier
/scripts/build.sh
UTF-8
877
2.90625
3
[ "MIT" ]
permissive
#!/bin/bash set -euo pipefail NIM_VERSION=v0.18.0 NIMBLE_VERSION=v0.8.10 base=$(pwd) git clone -b $NIM_VERSION --depth 1 git://github.com/nim-lang/nim nim-$NIM_VERSION/ cd nim-$NIM_VERSION git clone -b $NIM_VERSION --depth 1 git://github.com/nim-lang/csources csources/ cd csources sh build.sh cd .. rm -rf csources ...
true
c65702cc34e4feb634f77015c41e44f72a8b9882
Shell
Murderlon/dotfiles
/macOS.sh
UTF-8
9,074
2.59375
3
[]
no_license
# Close any open System Preferences panes, to prevent them from overriding # settings we’re about to change osascript -e 'tell application "System Preferences" to quit' # Ask for the administrator password upfront sudo -v # Keep-alive: update existing `sudo` time stamp until `.macos` has finished while true; do sudo ...
true
6f3988e5b098ffc283dd17651cc26abb756c56a6
Shell
beko11/TEST_ANBR
/STORM.sh
UTF-8
3,035
3.078125
3
[]
no_license
#!/usr/bin/env bash cd $HOME/STORM token="443519200:AAHRxcJm58Y9HhJUe7Yx6MSDV9EclbJkmk4" install() { cd tg sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get install g++-4.7 c++-4.7 sudo apt-get update sudo apt-get upgrade sudo apt-get install libreadline-dev libconfig-dev libssl-d...
true
7d7010a78b0b793b7313cc63e170b6cbf36ffe2d
Shell
biboon/pfe
/firewall/portfilter.sh
UTF-8
1,768
3.34375
3
[]
no_license
#!/bin/sh # more info on iptables on http://www.thegeekstuff.com/2011/06/iptables-rules-examples/ IPT=/sbin/iptables # Last Revision echo '=== Mur de Feu Ruleset v1.0 stable, Rev 20151026.05 ===\n' HTTP_PORT=80 HTTPS_PORT=443 DNS_PORT=53 NTP_PORT=123 SMTP_PORT=25 POP3_PORT=110 IMAP_PORT=143 # Ne pas casser les con...
true
1410c97f06f47a6cddcff48d7be14df05c13e7f3
Shell
yuanjl1989/StressTest_Monior
/db_monior/oracle_monior/autoawr_by_time.sh
UTF-8
2,716
3.65625
4
[]
no_license
# --------------------------------------------------------------------------+ # Generate AWR report and send mail automatically | # Filename: autoawr_by_time.sh | # Desc: | # ...
true