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
735e8d00ca403ed6a8a0f7b8e9e25afd97f17954
Shell
touqeeranjum/Automation
/DHCP
UTF-8
2,724
3.25
3
[]
no_license
#!/bin/bash #by: Anjum Touqeer #Date: 31 Dec 2018 #Function: This script configures a DHCP Server #Script: DHCP.sh dhclient -r dhclient -v yum clean all yum install dhcp -y firewall-cmd --add-service=dhcp --permanent firewall-cmd --reload echo Enter Hostname to set it as DHCP Server name read hsname echo Enter IP to ...
true
255c68d911c4cc152a948aa4e8c7e7500373a765
Shell
brian4286/S3-server-backup
/s3-server-backup.sh
UTF-8
1,370
3.625
4
[]
no_license
#!/bin/bash #title :s3-server-backup.sh #description :Backup nginx configs, website data and dumps db's with innobackupex or mysqldump #author :https://github.com/brian4286 #version :2015011601 #usage :cron #notes :Assuming Debian layout, you have XtraBackup backup and S3. Not much checking here, pretty dumb. # #...
true
daf74f116e4f497cd2236c507c12b28e490e436a
Shell
hashnfv/hashnfv-ovsnfv
/build/build_ovs_rpm.sh
UTF-8
7,954
3.328125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Copyright (c) 2016 Open Platform for NFV Project, Inc. and its contributors # # 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/L...
true
16b5ccc9f01c69f658f57a8d7fb5f949c443ba45
Shell
xinyulu3344/utils
/monitor.sh
UTF-8
1,465
3.625
4
[]
no_license
#!/usr/bin/env bash # 统计TCP重传率 # nstat初始值 nstat_all_init="`nstat -az`" # 获取初始TcpRetransSegs、TcpOutSegs值 tcp_retrans_segs_temp=`echo "$nstat_all_init" | grep TcpRetransSegs | awk '{print $2}'` tcp_out_segs_temp=`echo "$nstat_all_init" | grep TcpOutSegs | awk '{print $2}'` echo "" echo 初始时间: `date "+%Y-%m-%d %H:%M:%S...
true
4f33291ec301d431fb138c00af18f66462a8924c
Shell
urtens/jenkins-provisioning
/clone-repos.sh
UTF-8
1,355
4.03125
4
[]
no_license
#!/bin/bash set -e REPOS_FILE=${REPOS_FILE:-/usr/share/jenkins/data/repos.txt} TEMP_REPOS_DIR="/tmp/repos" JOBDSL_DIR="${TEMP_REPOS_DIR}/jobdsl" echo "$(date) START JENKINS SETUP" rm -rf "${TEMP_REPOS_DIR}" mkdir -vp "${TEMP_REPOS_DIR}" # Get job dsl files from git repos if [ -f "${REPOS_FILE}" ]; then echo "$...
true
02be6932fbb6a6e74fd7afedf5edcf2e8f5a178e
Shell
themalkolm/dotfiles
/brew-backup
UTF-8
493
3.796875
4
[]
no_license
#!/bin/bash # # brew-backup generates Brewfile that will hopefully install the same # software (WARNING: options won't be kept) # taps=$(brew tap) for tap in $taps; do echo tap $tap done echo "" formulas="$(brew list -1)" for f in $formulas; do # try default if brew info $f &> /dev/null; then echo install $f...
true
fb8c3d58762047a54d712bb3f70294f97af2391e
Shell
F5Networks/f5-appsvcs-templates
/scripts/copy-node-modules.sh
UTF-8
1,245
3.734375
4
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
#!/usr/bin/env bash set -eux src="$1" target="$2" include_optional="$3" tmpdir="_tmpnodemodules_" skip_babel=${SKIP_BABEL:-0} rm -rf "${tmpdir}" mkdir "${tmpdir}" cp "${src}"/package* "${tmpdir}"/ pushd "${tmpdir}" mapfile -t file_modules < <(grep 'file:' package.json | sed 's/\s*".*": "file:\(.*\)",/\1/') for file_m...
true
169a1432b06f2bb3159a63d0433ec0249b30ac3d
Shell
yhmo/milvus
/core/src/index/thirdparty/build.sh
UTF-8
692
3.765625
4
[ "Apache-2.0", "BSD-3-Clause", "Zlib", "MIT", "JSON", "LGPL-2.1-only", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/bash BUILD_TYPE="Release" while getopts "p:t:d:h" arg do case $arg in t) BUILD_TYPE=$OPTARG # BUILD_TYPE ;; h) # help echo " parameter: -p: postgresql install path. -t: build type usage: ./build.sh -t \${BUILD_TYPE} ...
true
6aad62d06e65df6096a2715d780b8e8f13cb29d5
Shell
velo/jvm
/jvm.sh
UTF-8
2,525
3.96875
4
[ "MIT" ]
permissive
#!/bin/sh _jvm_set-java-path() { local version="$1" local previous_java_home="$JAVA_HOME" local new_java_home if [ -f ~/.jvmconfig ]; then new_java_home="$(grep "${version}"= ~/.jvmconfig | cut -f2 -d'=')" elif [ -d "/usr/lib/jvm/java-${version}-oracle/" ]; then local new_java_home="/usr/lib/jvm/java-...
true
8be5ba4fd3d26d65c7d671d2da6ed9d95504c71c
Shell
ruohoruotsi/sampleRNN_ICLR2017
/datasets/music/download_archive_preprocess.sh
UTF-8
1,065
3.5625
4
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
# Requires 2GB of free disk space at most. SCRIPTPATH=$( cd "$(dirname "$0")" ; pwd -P ) DL_PATH="$SCRIPTPATH"/download/ mkdir -p "$DL_PATH" echo "Downloading files to "$DL_PATH"" # See: https://blog.archive.org/2012/04/26/downloading-in-bulk-using-wget/ wget -r -H -nc -nH --cut-dir=1 -A .ogg -R *_vbr.mp3 -e robots=off...
true
73f666400365b4459f63be11108154ce50a0a9ab
Shell
spesmilo/electrum
/contrib/osx/notarize_app.sh
UTF-8
2,321
3.625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # from https://github.com/metabrainz/picard/blob/e1354632d2db305b7a7624282701d34d73afa225/scripts/package/macos-notarize-app.sh if [ -z "$1" ]; then echo "Specify app bundle as first parameter" exit 1 fi if [ -z "$APPLE_ID_USER" ] || [ -z "$APPLE_ID_PASSWORD" ]; then echo "You need to...
true
d95b26a379a0553eb4b815ae92211bc0f449f31f
Shell
Lila-pv/wikihouse.cc
/bin/copy_production_database
UTF-8
269
2.515625
3
[]
no_license
#!/bin/bash heroku_app=wikihousecc database=wikihouse_development dump=latest.dump set -ex heroku pg:backups:capture -a $heroku_app heroku pg:backups:download -a $heroku_app pg_restore --clean --if-exists --no-acl --no-owner -h localhost -d $database $dump rm $dump
true
a00152a33af55fee72668fc7c66993ddbd537e90
Shell
FauxFaux/debian-control
/i/inadyn/inadyn_1.99.4-1+b1_amd64/postrm
UTF-8
625
3.671875
4
[]
no_license
#!/bin/sh set -e NAME=inadyn RUNDIR=/run/$NAME LOGDIR=/var/log/$NAME CONF=/etc/$NAME.conf if [ "$1" = "purge" ] then if [ -d $RUNDIR ]; then rm -rf $RUNDIR fi rm -rf $LOGDIR for i in $LOGDIR $CONF do dpkg-statoverride --remove $i 2>/dev/null || true done fi # Automatically added by dh_installinit if [ ...
true
c0873553f16c9a2b1ded7815d069146592753d25
Shell
pns-si5-al-creditrama-d-1920/creditrama-team-d
/register.sh
UTF-8
347
3.21875
3
[]
no_license
#!/bin/bash if [ "$#" -ne 3 ]; then echo "Please provide 3 arguments: sh register.sh #username #password #email" exit fi username=$1 password=$2 email=$3 curl -X POST \ http://localhost:8080/register \ -H "Content-Type: application/json" \ -d "{ \"username\": \"$username\", \"password\": \"$password\",...
true
3aa48004e0b18de6c93a9741179fe5a07c132775
Shell
DerBunman/DieBenutzerumgebung
/roles/common/files/dotfiles/.profile
UTF-8
1,160
3.296875
3
[ "MIT" ]
permissive
# ===================================== # << THIS FILE IS MANAGED BY ANSIBLE >> # ===================================== # # DO NOT EDIT THIS FILE - CHANGES WILL BE OVERWRITTEN # INSTEAD CHANGE THIS FILE IN THE ANSIBLE REPOSITORY. # ~/.profile: executed by the command interpreter for login shells. # This file is not re...
true
ffad41a7171a75449e2c550235f98c00cd0df6a2
Shell
zasdfgbnm-dumpster/spark-slurm-sample
/apache-spark.sh
UTF-8
1,229
2.96875
3
[]
no_license
#!/usr/bin/env bash #SBATCH --job-name=spark-job #SBATCH --nodes=1 #SBATCH --ntasks=2 #SBATCH --mem=4gb #SBATCH --time=100:00:00 #SBATCH --output=spark-job.out # settings export SPARK_HOME="/ufrc/roitberg/qasdfgtyuiop/bin/spark" jobscript="$SPARK_HOME/examples/src/main/python/pi.py" jobargs="20000" max_slaves=200 core...
true
65a8f4a5fbe9bda7734ee4e37e3735c2dc0146ee
Shell
maruware/mongo-k8s-sidecar
/init.sh
UTF-8
1,108
3.21875
3
[]
no_license
until ping -c 1 ${HOSTNAME}.mongo; do echo "waiting for DNS (${HOSTNAME}.mongo)..." sleep 2 done until /usr/bin/mongo --eval 'printjson(db.serverStatus())'; do echo "connecting to local mongo..." sleep 2 done echo "connected to local." HOST=mongo-0.mongo:27017 until /usr/bin/mongo --host=${HOST} --ev...
true
efa06cc859915d71b6568e9eb7f1673e8cdbe9a7
Shell
xiy/rvm-openshift
/scripts/notes
UTF-8
3,437
3.78125
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash if ! typeset -f rvm_pretty_print >/dev/null 2>&1 then source "${rvm_scripts_path:-"$rvm_path/scripts"}/functions/logging" fi if [[ "$1" == "initial" ]] then notes_type=Upgrade PAGER=cat new_notes() { typeset file file="$rvm_path/config/displayed-notes.txt" rm -f "${file}" t...
true
381569cbd11f43dfd45a8c09d97db22f3daa0cdc
Shell
ralmodiel/sync-svn-updates-to-s3
/svnco2s3.sh
UTF-8
5,511
3.734375
4
[]
no_license
################################################################################ # Description: # Requires shell commands svn and ruby-based s3cp (https://github.com/aboisvert/s3cp) # Invokes an svn update command and uses the result to update or delete the files in a S3 bucket # Allows update of http ...
true
482e0070a0bf86dcf811f3a89db2434b20d748f7
Shell
dgsousa/pm_board
/client/deploy.sh
UTF-8
438
2.734375
3
[]
no_license
#!/bin/bash echo 'compressing build into tar file...' tar czf pm_board.tar.gz public echo 'copying tarball into remote server...' scp pm_board.tar.gz dsousa@danielmooncloud.com:~ echo 'removing tarball' rm pm_board.tar.gz echo 'entering remote server...' ssh dsousa@danielmooncloud.com << 'ENDSSH' rm -rf /home/dsous...
true
387a97b4baa0aa9a4c8aa164c152c68fa1da527d
Shell
aashaqshah/cmssw-1
/Utilities/ReleaseScripts/scripts/git-addpkg
UTF-8
795
3.59375
4
[]
no_license
#!/bin/sh -ex # Mimics addpkg behavior in git. if [ $# -gt 2 ]; then echo Too many arguments exit 1 fi if [ $# -lt 1 ]; then echo Not enough arguments exit 1 fi if [ "X$#" == X1 ]; then CMSSW_TAG=$CMSSW_VERSION else CMSSW_TAG=$2 fi PKG_NAME="$1" cd $CMSSW_BASE/src if [ ! -d "$CMSSW_BASE/src/.git" ]; then...
true
accd526270b5851b5423efe5dcacae387f0019f3
Shell
sigsergv/dotfiles
/attic/udev-hdmi.sh
UTF-8
337
3.21875
3
[]
no_license
#!/bin/sh # this script clones LVDS1 display to HDMI1 export DISPLAY=:0 XUSER=elena LOG="logger -t HDMI-UDEV" #LOG=true HDMI_STATUS="$(cat /sys/class/drm/card0-HDMI-A-1/status)" if [ "${HDMI_STATUS}" = connected ]; then $LOG "connected" sudo -u $XUSER DISPLAY=$DISPLAY xrandr --output HDMI1 --auto --...
true
0b17ff3eee917f350eda6c5bfd7ceb88a44d017d
Shell
ase1590/bash-scrips
/mainpc/bashrc
UTF-8
1,413
2.5625
3
[]
no_license
# # ~/.bashrc # streaming() { INRES="1440x900" # input resolution OUTRES="640x360" #output resolution, currently disabled FPS="15" # target FPS QUAL="fast" # one of the many FFMPEG preset STREAM_KEY="$1" # use the terminal command Streaming streamkeyhere to stream your video to twitch or justin AXUM="keystreamhere" ...
true
3c9dbc62687a6d7049d617a6d148c1b29399d766
Shell
boonpin/configuration
/scripts/expect-ssh-get-info.sh
UTF-8
649
3.453125
3
[]
no_license
#!/usr/bin/expect -f ## Script for ssh and get the `ps` and `free` info from device ## below the sample of device from IP 192.168.1.199, username/password as admin/admin set now [clock seconds] set date [clock format $now -format {%Y%m%d}] set dir "./device-192-168-1-199/${date}" spawn mkdir -p ${dir} spawn ssh ad...
true
b2b8c39dd6cb3780bbd6a7c7a26513acf3126e7c
Shell
stilyan/EnergoVikNotifications
/EnergoVikNotifications.sh
UTF-8
4,322
3.390625
3
[]
no_license
#!/bin/bash EnergoClientId="xxxxxxxxxxxx" VikClientId="yyyyyyyy" # Modify the sendmail arguments if you are not using gmail. EmailSenderUsername="xxxxxxxxxxxxxx@gmail.com" EmailSenderPassword="xxxxxxxxxxxxxxx" EmailRecipient="xxxxxxxxx@sms.mtel.net" # End of config ################################## ENERGO ########...
true
19edc4e50e704dfbb33a6f9ad7ef7ec194ebd977
Shell
ngaxavi/dotfiles
/setup.sh
UTF-8
293
3.015625
3
[]
no_license
#!/bin/sh BASEDIR=$(dirname $0) . $BASEDIR/inc/functions explain "Install ansible" tell sudo pacman -Syy python-passlib ansible --noconfirm --needed explain "Change to ansible Installation" tell cd ansible explain "Start Installation" tell ansible-playbook -i localhost playbook.yml
true
4bb826da4e105007f1d815a66a9b8f3215d4a44c
Shell
sporttery/okooo_bolool
/src/myscp.sh
UTF-8
471
3.59375
4
[ "MIT" ]
permissive
#!/bin/sh [ $# -eq 0 ] && { echo 必须传递参数,文件或者目录 exit } [ ! -d "$1" -a ! -f "$1" ] && { echo $1 并不是文件也不是目录 exit } destFile=$2 [ "A${destFile}" == "A" ] && { destFile=$1 } #for ip in 1 2 3 4 5 6 7 8 9 10 for ip in 5 6 7 8 9 10 do hostname=okooo-$ip echo $hostname if [ -d "$1" ] ; then echo "scp -r $1 $hostname:$destFile" ...
true
66ed6eab2dd772667fac32b5af36f3986b63e739
Shell
Mr-Slippery/dockernel
/pass_shared_dir_to_spawned_sibling_container/host/path/docker-path-utils.sh
UTF-8
251
3.140625
3
[ "BSD-2-Clause" ]
permissive
resolve_source_path () { TO_RESOLVE=$1 RESOLVED=$(docker inspect first | jq '.[].Mounts' | jq -r ".[] | select(.Destination==\"${TO_RESOLVE}\") | .Source") if [ -z "${RESOLVED}" ] then echo -n "${TO_RESOLVE}" else echo -n "${RESOLVED}" fi }
true
88a233b040cf15fd0c7f12523277fe3491305abf
Shell
BackupTheBerlios/snap-svn
/branches/engine/2.4/src/scripts/motif_sort.sh
UTF-8
323
2.65625
3
[]
no_license
#!/bin/sh # the purpose of this file is to provide a common way # for the sorting of a simplified motif file such as created by the motiffinder.pl # and the motif_simplify.pl script # Revision: Aviad Rozenhek 17/4/05 # we sort the file according to the sequence name and offsets #sort -t ' ' -k 1,1 -k 2n,2n ...
true
5c647a819211cfbd131ca325098d93969aaf9d2b
Shell
milbul/OS
/lab4/4task.sh
UTF-8
273
3.296875
3
[]
no_license
#!/bin/bash [[ -d $HOME/restore ]] || mkdir $HOME/restore backup=$(ls $HOME | grep "Backup" | sort | tail -1) for file in $(ls $HOME/$backup); do [[ -z "$(echo $file | grep '\.[0-9]\{4,\}-[0-9]\{2,\}-[0-9]\{2,\}$')" ]] && cp $HOME/$backup/$file $HOME/restore/$file done
true
d241170703569e43e296752304d773be506b3890
Shell
SaltwaterC/lib.bash
/test/t_dir.sh
UTF-8
1,843
3.421875
3
[]
no_license
#!/usr/bin/env bash source ../lib.bash testDirExists() { # function exists assertEquals "Function dir_exists exists" "function" $(type -t dir_exists) # test with output assertEquals "Output success case" $TRUE $(dir_exists $(dirname $0)) assertEquals "Output failure case" $FALSE $(dir_exists do-not-exist) # ...
true
f10db9a622b9d1ef1b1ba7c26adb3b4d171dbecc
Shell
Constancebergeron/software
/timeSynch.sh
UTF-8
801
2.984375
3
[]
no_license
#!/bin/bash printf "\n\nBoot Sequence Initiated\n\n" sleep 1 printf "Testing Wi-Fi connection.....\n\n" ping -c1 google.com if [ $? -eq 0 ] then printf "\n\n\nWifi and Internet Connection Status O.K\n\n\nProceeding....\n\n\n" printf "Synchronizing with Time Server\n\n" ntpdate -b -s -u pool.ntp.org printf "Curren...
true
a033bed8779a109b38dadb435f2fc293040c24be
Shell
pwyoung/computer-setup
/mac/defunct/scripts/install_openshift.sh
UTF-8
3,917
3.78125
4
[]
no_license
#!/bin/sh # GOAL # Follow the instructions at https://github.com/STTOOA/wiki/wiki/MacBook-Setup to start # The OpenShift cluster # # RESOURCES # https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md#macos-with-docker-for-mac # # NOTES # Docker are working to include Kubernetes in their distri...
true
92a3bce1a327e33fc6084dcc8d8aa264034a6715
Shell
strictosensus/gitlab_ynh
/scripts/install
UTF-8
3,075
3.59375
4
[]
no_license
#!/bin/bash # Exit on command errors and treat unset variables as an error set -eu # This is a multi-instance app, meaning it can be installed several times independently # The id of the app as stated in the manifest is available as $YNH_APP_ID # The instance number is available as $YNH_APP_INSTANCE_NUMBER (equals "1...
true
b9519dc07b696f4aeb74ef043594ea1db7e5f8e8
Shell
zachlatta/dns
/bin/build
UTF-8
408
3.09375
3
[]
no_license
#!/usr/bin/env bash # # Expect to be inside of the git repo when this is ran # SCRIPT_DIR is the directory this script is in (which is ./bin in the repo). # From https://stackoverflow.com/a/246128. SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" # Get us in the root of the repo cd "$SCRIPT...
true
89c05dc1b51b122302e02b66254007b436b67e47
Shell
AymanMagdy/automate-k8s-gcp-the-hard-way-with-ansible
/create_k8s_gcp_cluster_machines.sh
UTF-8
1,041
3.046875
3
[]
no_license
#! /bin/bash # The public IP PUBLIC_IP=$(gcloud compute addresses describe kubernetes-controller \ --region $(gcloud config get-value compute/region) \ --format 'value(address)') # Creating the master machine. gcloud compute instances create controller \ --async \ --boot-disk-size 200GB --can-ip-forward \ --image-fam...
true
d3973796f0f4a829306201757b13eccf928fed36
Shell
jamestrimble/vc3-to-hrc
/minizinc_solve.sh
UTF-8
235
2.796875
3
[]
no_license
if [ -f $1.hrc ] then python ../hrc-minizinc/hrc-to-minizinc.py 0 < $1.hrc > $1.dzn && \ mzn-g12lazy ../hrc-minizinc/hrc.mzn $1.dzn | grep UNSATISFIABLE exit $((1-$?)) else echo "Usage: $0 INSTANCE (omit .hrc extension)" fi
true
15751a78dd7750bb5696d1dd6362c1b3fa5e7faf
Shell
Azure/azurehpc
/scripts/pbsdownload.sh
UTF-8
521
3.84375
4
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
#!/bin/bash version=${1-19} case "$version" in 19) filename=pbspro_19.1.3.centos_7.zip url=https://github.com/openpbs/openpbs/releases/download/v19.1.3/$filename ;; 20) filename=openpbs_20.0.1.centos_8.zip url=https://github.com/openpbs/openpbs/releases/download/v20.0.1/$fil...
true
17ed31b9eb9495caf52cecf3ff936a837c69e3a1
Shell
pdadhich/hbc-ddw-o5
/o5_bi_demand_dly_data.sh
UTF-8
6,917
3.265625
3
[]
no_license
#!/usr/bin/ksh ############################################################################################################################# ##### SAKS INC. ############################################################################################################################# ##### #####...
true
7065e4a25e7dfd793cdb22ac6c492d23780aaa76
Shell
lemonlatte/docker-readthedocs
/config/bin/rtd-install.sh
UTF-8
587
2.515625
3
[ "MIT" ]
permissive
cd $APPDIR set -e unzip /tmp/master.zip >/dev/null 2>/dev/null && \ mv readthedocs.org-master/* readthedocs.org-master/.??* . && \ rmdir readthedocs.org-master PYTHON=/venv/bin/python PIP=/venv/bin/pip cp -f /etc/default/rtd-config.py $APPDIR/config.py $PIP install -U \ --allow-external bzr --allow-unverified b...
true
f0a8ea75baccf53d4612488d31dee874f4299e95
Shell
cloudnativelabs/kube-router
/build/image-assets/motd-kube-router.sh
UTF-8
1,470
3.5
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env sh echo "Welcome to kube-router on \"${NODE_NAME}\"!" echo echo "For debugging, the following tools are available:" echo "- ipvsadm | Gather info about Virtual Services and Real Servers via IPVS." echo " | Examples:" echo " | ## Show all options" echo " | ipvsadm --help" e...
true
e29e722939c91631b49cfff2d8d25aca7aeff4b2
Shell
fmacias64/deepdive_ocr_app
/run.sh
UTF-8
3,139
2.71875
3
[]
no_license
#! /bin/bash set -e if hash psql 2>/dev/null; then # check psql exists true else echo 'ERROR: psql does not exist.' exit fi if [ $# = 2 ]; then # Export DBNAME from command line export SUPV_GRAM_LEN=$1 export DBNAME=$2 fi if [ -z "$DBNAME" ]; then # if empty echo 'ERROR: DBNAME is unset....
true
4f271ec99c0da5322a5cc7342832b71c35dcaacb
Shell
dry-dock/aarch64_u16all
/version/postgres.sh
UTF-8
573
2.609375
3
[ "MIT" ]
permissive
#!/bin/bash -e POSTGRES_VERSION=9.5 echo "================= Installing Postgres $POSTGRES_VERSION ===================" apt-get install -y postgresql-"$POSTGRES_VERSION" postgresql-server-dev-"$POSTGRES_VERSION" postgis echo "================= Adding PostgreSQL cnf ===================" cp -rf /u16all/pg_hba.cnf /etc/...
true
04250f48dbd291f57b4d1435a83b7b2b2828f60b
Shell
LOEWE-NICER/servald-helpers
/s_addfolder
UTF-8
381
3.21875
3
[]
no_license
#!/bin/sh if [ -z $SERVALINSTANCE_PATH ]; then echo No SERVALINSTANCE_PATH set!! export SERVALINSTANCE_PATH=/tmp/serval #exit 1 fi if [ -z $1 ]; then echo "Usage $0 <folder>" exit 1 fi SID=`$SERVAL_ROOT/servald id self | sed -n 3p` tar -zcvf /tmp/`basename $1`.tar.gz $1 $SERVAL_ROOT/servald rhizome add file $...
true
741578a88c2f0d2776ce9cfde1a848d5b0d1a312
Shell
Spencerx/gdrive_docker
/store_file.sh
UTF-8
1,746
4.40625
4
[]
no_license
#!/usr/bin/env bash # Store a file in google drive, at inside a specific directory. # NOTE: This will not store a file if the full path (All the directories) are # not built already at the google drive's side. # This script relies on the "drive" tools, which has a sync mindset. It doesn't # just let you throw in f...
true
1aed797c06b43ed97d7db04fbcbaf14670567ddf
Shell
helpermethod/jreleaser
/.github/scripts/update-wiki.sh
UTF-8
921
3.625
4
[ "MIT", "CC0-1.0", "BSD-2-Clause-Views", "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause" ]
permissive
#!/bin/bash # env vars: # VERSION: x.y.z or early-access # TAG: vx.y.z or early-access # GH_BOT_EMAIL # JAVA_HOME set -e echo "📝 Updating release page" PAGE="wiki/Releases/Release-${TAG}.md" mv "wiki/Releases/wiki-release-page.md" "${PAGE}" java .github/scripts/update_release_page.java checksums_sha256.txt ${PAGE} ...
true
591ed5bd7a65f244eadc7a275cf76921df1d69a7
Shell
mtnygard/todo-backend-pedestal
/scripts/start-transactor.sh
UTF-8
259
2.84375
3
[]
no_license
#! /usr/bin/env bash abspath() { # $1 : relative filename echo "$(cd "$(dirname "$1")" && pwd)/$(basename "$1")" } PROPS=$(abspath `dirname "$0"`/../config/transactor.properties) pushd ${DATOMIC_HOME:=~/work/datomic-free-0.9.5173} bin/transactor $PROPS
true
5ac26fad9bf7c2d509e9a2350a72cda6544aae9b
Shell
IzumaNetworks/k8s-on-lxd
/test/setup.sh
UTF-8
1,223
3.828125
4
[ "Apache-2.0" ]
permissive
#! /bin/bash set -e p=/vagrant n=t2 # we are called via 'su' which does NOT load standard environment variables for a normal user # This wouldn't be the case for desktop user # so, let's load them. source /etc/environment source /etc/profile setup_parameters=() master_parameters=(--name "$n") worker_parameters=(--...
true
fb1c8ccae2587ed01703a6809a719b3c366bab80
Shell
jayjag04/capstone-project
/media-network1/networkDown.sh
UTF-8
2,751
3.3125
3
[]
no_license
#!/bin/bash source ./00_setEnv.sh function clearContainers() { CONTAINER_IDS=$(docker ps -a | awk '($2 ~ /dev-peer.*/) {print $1}') CONTAINER_IDS=$(docker ps -aq) if [ -z "$CONTAINER_IDS" -o "$CONTAINER_IDS" == " " ]; then echo "---- No containers available for deletion ----" else docker rm -f $CONT...
true
23233861f18e97eee3f6eb9760b7203faf94a541
Shell
Schniz/dotfiles
/bin/odiff
UTF-8
81
2.90625
3
[ "MIT" ]
permissive
#!/bin/bash FILE=$(dfile $1) if [ "$FILE" != "" ]; then nvim $(echo $FILE) fi
true
36433f3797b12de70609e1f5f6a9127de3f3fc28
Shell
timothyadetunji/EAA.lab.1
/goldstar.sh
UTF-8
110
2.78125
3
[]
no_license
#!/bin/bash if [ "$EUID" -ne 0 ] then echo "Please run as root" exit else echo "Please run as root" fi
true
080911dc479bb86416d724186d6d9f7c699bb27f
Shell
Aniket-Pradhan/MyDotFiles
/polybar/music
UTF-8
735
3.71875
4
[]
no_license
#!/bin/bash declare -c title declare -c artist player_status=$(playerctl status 2> /dev/null) if [[ $? -eq 0 ]]; then artist="$(playerctl metadata artist)" lenny=${#artist} if [[ $lenny -gt 9 ]]; then artist="${artist:0:9}..." else artist=${artist:0:9} fi title="$(playerctl metadata title)" # title="${tit...
true
b113ca6860130520b5fda071655435e1470ca370
Shell
cwlowder/getclassi
/update_repo.sh
UTF-8
452
3.65625
4
[]
no_license
#!/bin/bash # Get current branch name prod_branch=$1 current="$(git rev-parse --abbrev-ref HEAD)" echo "Current branch: $current Production branch: $prod_branch" >> update.log if [ "$current" = "$prod_branch" ] then echo "restarting server" git pull origin $current sleep 2 && pkill python3.6 & echo "Restarting se...
true
9b083397cdcffc0f2a5930f747a154b5b2218b78
Shell
filcab/Dot-files
/.shells/bin/notify-say
UTF-8
462
3.28125
3
[]
no_license
#!/bin/sh case $(uname -s) in Darwin) #say << EOF & #$@ #EOF say "$@" & #alert #X="$@" osascript -e 'display alert system attribute "X"' #notification X="$*" osascript -e 'display notification system attribute "X"' #display notification "message" with title "title" subtitle "sub...
true
8ffcf2dd9b13289194b15e1728384cac41cdce63
Shell
Skamasle/sk-php-selector
/sk-php-selector.sh
UTF-8
9,215
3.625
4
[]
no_license
#!/bin/bash # Skamasle PHP SELECTOR for vesta # version = beta 0.2.4 # From skamasle.com # Run at your risk. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Pub...
true
de82a36f1bf7aae623caab636b12f279f0d206b7
Shell
BerkeleyAutomation/secure_fog_robotics
/gdpfs-docker/install-gdp.sh
UTF-8
430
2.578125
3
[]
no_license
#!/usr/bin/env sh set -e PACKAGES="git libevent-dev libevent-pthreads-2.0-5 libsqlite3-dev libssl-dev uuid-dev libjansson-dev protobuf-c-compiler libavahi-client-dev libsystemd-dev libmysqlclient-dev python" apt-get update apt-get install -y $PACKAGES git clone git://repo.eecs.berkeley.edu/projects/swarmlab/gdp.git...
true
e200ec8dc26b8571883fa7446a605c1da72a828f
Shell
kubeflow/pipelines
/manifests/gcp_marketplace/deployer/init_action.sh
UTF-8
2,410
3.6875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Copyright 2020 The Kubeflow Authors # # 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 o...
true
f3e496eac24ad57b17f04d592cecec814727e124
Shell
WangHL0927/grafana
/packaging/rpm/control/postinst
UTF-8
3,213
3.8125
4
[ "Apache-2.0" ]
permissive
#!/bin/sh set -e [ -f /etc/sysconfig/grafana-server ] && . /etc/sysconfig/grafana-server startGrafana() { if [ -x /bin/systemctl ] ; then /bin/systemctl daemon-reload /bin/systemctl start grafana-server.service elif [ -x /etc/init.d/grafana-server ] ; then /etc/init.d/grafana-server start elif [ -x /etc/...
true
39b24ae3d66965066d78f707111e0bcc64773dc6
Shell
AJet/DFeedback
/DFRelaunch.sh
UTF-8
935
3.625
4
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
#!/bin/sh #------------------------------------------------------------------------------------------------- # Copyright (c) 2008 DaisyDisk Team: <https://daisydiskapp.com> # Some rights reserved: <https://opensource.org/licenses/mit-license.php> #-----------------------------------------------------------------------...
true
81336857a924e5ce745f3cfe04dd2d76f266d164
Shell
zen0fpy/goxx
/install_git.sh
UTF-8
1,446
3.15625
3
[]
no_license
#/bin/bash yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc gcc perl-ExtUtils-MakeMaker iconv="libiconv-1.14.tar.gz" wget -c http://ftp.gnu.org/pub/gnu/libiconv/$iconv if [[ $? -ne 0 ]];then echo "fail to download icon" && exit fi iconv_dir=`echo $iconv|sed 's/.tar.gz//g'` t...
true
f302576d6737b0a65f75f3f38ca0ddca26db55c6
Shell
ozgurshn/pinterestDL
/scripts/download_gecko_driver_linux.sh
UTF-8
556
2.984375
3
[ "MIT" ]
permissive
LATEST_VERSION=$(curl --silent "https://github.com/mozilla/geckodriver/releases" | grep -E "releases/tag/(.+)\">" | sed -E 's/.*"([^"]+)".*/\1/' | head -1 | grep -E -o "v[0-9]+\.[0-9]+\.[0-9]+") echo "Installing geckodriver $LATEST_VERSION" wget wget "https://github.com/mozilla/geckodriver/releases/download/$LATEST_VER...
true
dd82eef5d82a26a45edf71f589d79a31547a30ff
Shell
nattynerdy/concourse
/concourse-server/scripts/upgrade
UTF-8
2,548
3.59375
4
[ "MIT", "LicenseRef-scancode-proprietary-license", "Apache-2.0", "GPL-1.0-or-later", "GPL-2.0-or-later", "BSD-3-Clause", "WTFPL", "GPL-2.0-only", "CDDL-1.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-refer...
permissive
#!/usr/bin/env bash #?Upgrade to a newer version of Concourse Server. # Copyright (c) 2013-2023 Cinchapi Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licens...
true
59dfdd293fb1d2c38edefbfdfcc92f91ef9f4a16
Shell
tylerwstewart/tetr-scripts
/get-shell_64
UTF-8
178
2.75
3
[ "MIT" ]
permissive
#!/bin/sh . ./docker.sh update_docker_image $TAG_DOCKER_CURRENT_64 if [ "$1" = "-D" ]; then shift; TAG="$1" shift update_docker_image "$TAG"; fi docker_shell --login;
true
7ca57480e90753435b809dfdcd1c4f67017fed77
Shell
cosm/tweettriggers
/script/setup
UTF-8
362
3.109375
3
[ "MIT" ]
permissive
#!/bin/bash set -e echo "Checking yml files" for file in database.yml twitter.yml do if [[ ! -f "config/$file" ]]; then echo "MISSING CONFIG FILE: $file" exit 1 fi done echo "Building bundle" bundle install echo "Creating all databases" rake db:create:all echo "Migrating database" rake db:migrate echo...
true
b5531eb4f27f8f480efc64497e58bcbf2b2dffc3
Shell
vekio/dotfiles
/dotfiles.sh
UTF-8
6,521
4.15625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # # ============================================================================= #%SYNOPSIS #+ ${SCRIPT_NAME} [OPTIONS] COMMAND #% #%DESCRIPTION #% Installs and config different setups #% If no command is given, install default setup #% #%COMMANDS #% default install default setup #%...
true
e805ecef76abe47b0342f7d5dfd7a25a44a2e3f9
Shell
femoyano/workflow
/multi_scene/other/submit_mosaic_compare.sh
UTF-8
441
2.75
3
[]
no_license
#!/bin/zsh #$ -b y #$ -V #$ -j y #$ -N mosaic_compare # Script to submit the python scripts that compare either two or multiple # mosaic files cd /projectnb/landsat/projects/Colombia/Mosaics/M1A # Compare two mosaics python ~/Scripts/Python/MosaicCompare_two.py # Compare multiple mosaics (sequential dates) #for y i...
true
ce86909d9d5fac78520edbb2272c1b81159c889b
Shell
alextall/plexify
/plexify.sh
UTF-8
1,878
4.0625
4
[ "MIT" ]
permissive
#!/bin/bash # # Plexify.sh # # This script accepts a video file as input and transcodes it to lower bitrate # 2160p, 1080p, 720p, and 480p copies depending on the source resolution. PATH="/usr/local/bin/:${PATH}" readonly handbrake=$(command -v HandBrakeCLI) readonly input=${1} readonly input_dir=$(dirname "${input}"...
true
9baf9d05ab9120122e3a7441d0ff4f815872a95c
Shell
svelhinh/Projects
/Projects/nibbler/libs/libsfml/config_sfml.sh
UTF-8
170
2.765625
3
[]
no_license
#!/bin/sh cmake --version; if [[ $? == 127 ]]; then echo "Please, install cmake" ; exit ; fi git clone https://github.com/SFML/SFML.git (cd SFML && cmake . && make);
true
c60360dc04e7f8c89afb4af7a4a343c693fcf9fd
Shell
pkpraveen895/Xcrypt-System-Call-in-Linux-Kernel
/script10.sh
UTF-8
1,175
2.625
3
[]
no_license
# check various file sized data - length 1002 printf "\n check various file sized data - length 1002 \n\n" make sh install_module.sh printf "\n copy command, generated output in output4.txt \n" printf "\n Input is : \n ./xhw1 -p "ABCDEFG" -c /usr/src/hw1-vyelleswarap/CSE-506/input2.txt /usr/src/hw1-vyelleswarap/CSE-5...
true
e036f21a0234e1da03950166c708463650cec107
Shell
aztecsurprise/mac-intro
/cleanup.sh
UTF-8
804
2.671875
3
[]
no_license
#! /bin/bash # this script is intended to clean up the resources created by the setup.sh REGION=$(cat terraform.tfstate|jq -r '.outputs.location.value') REPO=$(cat terraform.tfstate|jq -r '.outputs.repo.value') TOKEN=$(cat token) USERNAME=$(cat terraform.tfstate|jq -r '.outputs.username.value') EMAIL=$(cat terraform.tf...
true
ce62fbee845247f54f12a59122f12e477341843d
Shell
pceeb/lab4-challenges-lennicec
/Week4_mini-challengeLC.sh
UTF-8
429
3
3
[]
no_license
#!/bin/bash echo "Cats eat 5 billion birds a year" | sed 's/\(Cats eat\) \(5 billion\) \(birds a year\)/\2?\2!/' echo "12345abcde678910fghij" | sed 's/\(12345\)\(abcde\)\(678910\)\(fghij\)/\2\4\1\3/' echo "12345abcde678910fghij" | sed 's/\([0-9]*\)\([a-z]*\)\([0-9]*\)\([a-z]*\)/\2\4\1\3/' | sed 's/\(..\)/\1\t/g' ec...
true
3fec6699f593580499702d64ee2e0ae38f573662
Shell
spirit01/odborna_praxe
/script_for_job
UTF-8
605
2.890625
3
[]
no_license
#!/bin/bash # příprava experimentu shopt -s expand_aliases alias pow='python -c "from sys import argv as a; print(pow(float(a[1]), float(a[2])))"' for i in 0.0 10. 20. 30. 40. 50. 60. 70. 80. 90. 10. : do cp input_can_pvtz tmp1 sed -i "s/XXXXX/${i}/g" tmp1 mv tmp1 input_can_pvtz.$i #k = 0_can #...
true
821d3414a36f76ae1b421eda522ccb3f178def76
Shell
kmizobata/dotfiles
/zshfiles/libs/key-bindings.zsh
UTF-8
1,430
2.53125
3
[]
no_license
################################### # Keybind configuration # キーバインド設定 ################################### #emacs風のキーバインド #Ctrl-A : 行頭へジャンプ #Ctrl-E : 行末へジャンプ #Ctrl-L : クリアスクリーン #Ctrl-U : 一行削除 #Ctrl-B : ←キー #Ctrl-F : →キー #Ctrl-P : ↑キー(履歴を戻る) #Ctrl-N : ↓キー(履歴を進む) #Ctrl-D : Deleteキー #Ctrl-H : BackSp...
true
b4827f1501d14797a0858ac519bdf3e4eb98f046
Shell
mdjukic/repos
/q_weworks/dbalign.sh
UTF-8
1,538
3.359375
3
[]
no_license
#!/bin/env bash # # Define the steps dir, where *sql objects reside # STEPSDIR=${HOME}/repos/steps ALIGNDIR=${HOME}/repos/align # # Get last HWM written, and only rollback from this point # LASTHWM=$(cat ${ALIGNDIR}/dbalignHWM.log) # # Rollback DDL build # clear printf '=%.s' {1..100}| tr '=' '-'; printf '\n' pri...
true
a2c33491a3215f74bf40ea5c65b8fc3b443662bd
Shell
rekirt/shell
/bookdemo/chapter11/test9.sh
UTF-8
144
3.265625
3
[]
no_license
#!/bin/bash # var1=baseball var2=hockey if [ $var1 \> $var2 ] ; then echo $var1 is greater than $var2 else echo $var1 is less than $var2 fi
true
3ab790ec4fce6a7ca29a1ffd450813125fba3fc9
Shell
dankegel/uusm-demo
/busyuusm.sh
UTF-8
1,982
3.890625
4
[]
no_license
#!/bin/sh # Simple script to set up clone of uusm.org # DO NOT RUN ON SYSTEMS WITH MYSQL INSTALLED. IT WILL NUKE ALL MYSQL DATA. set -e set -x drupalmajor=6 drupalminor=28 # Don't use this password if your MySQL server is on the public internet sqluser="root" sqlrootpw="q9z7a1" projectname="uusm-demo" # Ubuntu pa...
true
8a8f88e6eb73e7f2dd3ada17ca7b13a28491ee45
Shell
divulguemania/Installer
/distros/centos7/install_basics.sh
UTF-8
1,341
3.125
3
[ "MIT" ]
permissive
#--------------------------------------------------------------------- # Function: InstallBasics # Install basic packages #--------------------------------------------------------------------- InstallBasics() { echo -n "Updating currently installed packages... " yum -y update echo -e "${green}done${NC}" ec...
true
fc7155ce4f56157d8d1db5da0c4470c0ca623fb5
Shell
opensourceBIM/voxelization_toolkit
/surface_count.sh
UTF-8
1,431
2.578125
3
[ "MIT" ]
permissive
echo " import os import sys import time import tempfile import subprocess from collections import defaultdict S = float(sys.argv[1]) def run_voxelfile(fn, args=None): def make_args(d): for kv in d.items(): yield \"--%s=%s\" % kv di = defaultdict(dict) proc = subprocess.Popen(...
true
a2cc9ddeb88fdb0c1bc8f37e83c275e7a5d1e900
Shell
BenjaminLiCN/csv-whattocook
/deploy.sh
UTF-8
372
2.8125
3
[]
no_license
#!/usr/bin/env bash #post build scripts echo "build successfully, deploying to the server..." cd /var/lib/jenkins/workspace/whattocook echo "kill the existing process" pid=`ps |grep java|awk '{print $1}'` if [ -n "$pid" ] then ps |grep java|awk '{print $1}'|xargs sudo kill -9 echo "There is a process running" fi BU...
true
e85d71e4f73e09a6122d482772f090ad7392b12c
Shell
Kangaroux/tf2-docker
/docker/server.sh
UTF-8
1,354
3.5
4
[ "MIT" ]
permissive
#!/bin/bash set -e function download_server() { ./steamcmd.sh +login anonymous +force_install_dir ./server +app_update 232250 +quit } # Download the game assets if needed. if [[ -z "$(ls -A server/)" ]]; then echo ">> Downloading server..." download_server elif [[ "$NO_UPDATE" != "1" ]]; then echo ">...
true
2425dced3c69aba219d51bccb64d2886e6ad5f7f
Shell
it4biz/pentaho5-installer
/install
UTF-8
204
3.15625
3
[]
no_license
#!/bin/bash pwd=`pwd` if [ "$(id -u)" == "0" ]; then $pwd/scripts/install.sh $1 else echo "You need to execute as root. Use: sudo ./install (Necessário executar como root. Utilize: sudo ./install)" fi
true
bd2cf250b4d4010d79035fda1adc272a3da52683
Shell
germanramos/hydra-demo
/deploy/scripts/startup/stress
UTF-8
1,474
3.703125
4
[]
no_license
#!/bin/bash # stress - Startup script for hydra stress server # chkconfig: 35 84 15 # description: App for time info # processname: node # config: # pidfile: /var/run/time.pid APP_NAME=stress PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/node DAEMON_ARGS="/opt/hydra-demo/time/cli...
true
41cdd5a839e3230019347aa3798958615a0e9ee5
Shell
rvenutolo/dotfiles-and-scripts
/bin/pless
UTF-8
464
3.65625
4
[]
no_license
#!/usr/bin/env bash set -euo pipefail if [[ "$#" -gt 1 ]]; then echo "${0##*/}: Expected at most 1 argument" >&2 exit 2 fi if [[ "$#" -eq 0 && -t 0 ]]; then echo "${0##*/}: Expected STDIN" >&2 exit 2 fi if [[ "$#" -eq 0 ]]; then highlight --out-format=ansi --force | less --raw-control-chars else case "$...
true
cdd81424fdaa78f1dc5e435ae44f03d8099eae6a
Shell
erigones/esdc-factory
/ansible/templates/usb/scripts/computenode.sh.j2
UTF-8
11,266
2.875
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/bash # # Copyright (c) 2015-2018, Erigones, s. r. o. # unset LD_LIBRARY_PATH PATH=/usr/bin:/usr/sbin:/smartdc/bin export PATH export COMPUTENODE_SETUP_START=$(date +%s) set -o errexit set -o pipefail set -o xtrace export PS4='{% raw %}[\D{%FT%TZ}] ${BASH_SOURCE}:${LINENO}: ${FUNCNAME[0]:+${FUNCNAME[0]}()...
true
69fb7eefa22dd1ac9d1c33f19920cd49e2f0e747
Shell
tianyayouge/QtProjectRoot
/toolReleaseProjects.sh
UTF-8
1,843
3.96875
4
[]
no_license
#/bin/bash echo "Tal project releasing program is running now, the trick is parcing .gitmodules for key information." echo echo "Before run this script, make sure you have calling toolUpdateProject.sh properly." echo currentBranch=$(git symbolic-ref --short HEAD) read -p "Current branch is $currentBranch, are you su...
true
476bbd4dbf46ef0034c7bfe2c3ccc9a2a417fe2b
Shell
urantialife/super-dracos
/DracosInstaller.sh
UTF-8
4,959
3.140625
3
[]
no_license
#!/usr/bin/env bash #===============================================================================================# # Dracos Linux Installer # # # # Script write By Edo Maland & Muhammad Yuga # # OS Penetration ...
true
46ac2ed2e89d383e7d054679a85694a1954d5a99
Shell
karinlag/BioinfTraining
/array_example_scripts/sbatch_array_example_script.slurm
UTF-8
1,160
3.1875
3
[]
no_license
#!/bin/bash ## data submission script #SBATCH --account=nn9305k #SBATCH --time=1:00:00 ##memory specs #SBATCH --array=0-29 # array with 100 jobs #SBATCH --mem-per-cpu=3800M #SBATCH --cpus-per-task=4 #SBATCH --job-name=fastqc #SBATCH --mail-user=thomas.haverkamp@vetinst.no #SBATCH --mail-type=ALL #SBATCH --output=/wor...
true
011d5f35578cdd653de9b16e2ada9832e5088f36
Shell
simdax/Unit_tests
/tests
UTF-8
647
3.390625
3
[]
no_license
#!/bin/bash rm -rf ../logs mkdir -p ../logs options="l R r a t G" options=`./powerset $options` dirs=". ~/libft" echo_infos() { echo `tput setaf 5` echo avec l\(es\) options $1 echo pour le\(s\) folder\(s\) $2 echo -n `tput setaf 2` } go() { echo evaluating : $1 -$3 $4 eval "$1 -1$3 $4" |\ sed -E "s/...
true
3a00e2c51b25b313cbed7d98a2b7aace4dbc30b2
Shell
ci2c/code
/scripts/pierre/Script_shape.sh
UTF-8
3,660
3.234375
3
[]
no_license
#!/bin/bash if [ $# -lt 2 ] then echo "" echo "Usage: Script_shape.sh input_dir output_dir" exit 1 fi input_dir=$1 output_dir=$2 #stat_file=$3 space=0.5,0.5,0.5 iterSegPost=20 numberOfOptimizationIterations=1000 subdiv=10 degree=12 numPerms=20000 signLevel=0.10 signSteps=10000 if [ ! -d ${output_dir} ] then mkd...
true
d6123ad3cd955572f66c1c138c3b8d961440544f
Shell
realmlabs/belvedere
/scripts/ci/prepare.sh
UTF-8
1,881
3.140625
3
[ "MIT" ]
permissive
set -e mkdir -p $INSTALL_PATH cd $INSTALL_PATH echo "Installing erlang... " if [ ! -e $ERLANG_PATH/bin/erl ]; then curl -O http://www.erlang.org/download/otp_src_$ERLANG_VERSION.tar.gz tar xzf otp_src_$ERLANG_VERSION.tar.gz cd $ERLANG_PATH echo "Installing erlang... configure " ./configure --enable-smp-supp...
true
5b464f17805e59a9a7d852ddfff46de4ec2fcb7e
Shell
BurningBright/repository
/shell-study/20151022_01.sh
UTF-8
162
2.640625
3
[]
no_license
#!/bin/bash #this is my first shell. it used to displays the date and who's logged on echo -n this is date: date echo -n this is user: who echo "that's you name"
true
756f1ebdc9af5452b8535faea92acdf30b585c8a
Shell
xann16/jpeg-xl
/docker/build.sh
UTF-8
2,355
4.0625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # Copyright (c) the JPEG XL Project # # 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 l...
true
c19e590ee16800af1f87f39d822745701e511bc3
Shell
kaiwan/L2_kernel_trg
/kernel_build/kbuild.sh
UTF-8
1,156
3.53125
4
[ "MIT" ]
permissive
#!/bin/bash # kbuild.sh # Simple kernel build script # Lightly tested! YMMV name=$(basename $0) [ $# -ne 1 ] && {   echo "Usage: ${name} path-to-kernel-source-tree-to-build"   exit 1 } KSRC=$1 [ ! -d ${KSRC} ] && {  echo "${name}: dir ${KSRC} invalid?" exit 1 } runcmd() { echo "[+] $@" eval "$@" [ $? -ne 0 ...
true
38068dc908766c177d67b19a9170174d07671447
Shell
xingniu/multitask-ft-fsmt
/LePoD/example.sh
UTF-8
1,060
3.015625
3
[ "MIT" ]
permissive
#!/bin/bash root_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/.. && pwd )" file_1=$root_dir/experiments/osi-tag-translation-unk-transfer/decode-1/perplexity/test_1.trans.detok file_2=$root_dir/experiments/osi-tag-translation-unk-transfer/decode-1/perplexity/test_2.trans.detok work_dir=$root_dir/LePoD/score ## set...
true
c8b226449b85680e2cd483f0db1ff7718b3d439e
Shell
ravasthi/dotfiles
/shellrc/go.bash
UTF-8
345
2.8125
3
[]
no_license
# -------------------------------------------------------------------------------------------------- # Go # -------------------------------------------------------------------------------------------------- if [[ -x $HOMEBREW_PREFIX/bin/go ]]; then mkdir -p $HOME/.go export GOPATH=$HOME/.go export PATH=$PATH:$G...
true
7e9a806edf934a4a6f57a0b2905d41cc6fee8e11
Shell
pished/arch-dotfiles
/.config/zsh/aliasrc
UTF-8
2,437
3.21875
3
[]
no_license
#!/bin/sh # add color to commands alias \ grep="grep --color=auto" \ diff="diff --color=auto" \ dir='dir --color=auto' \ vdir='vdir --color=auto' \ grep='grep --color=auto' \ fgrep='fgrep --color=auto' \ egrep='egrep --color=auto' type "exa" >>/dev/null && alias \ ls='exa --ico...
true
497ef645fe38d234166d30d6c1d55d4359982635
Shell
lky1001/tron-android-wallet
/app/src/main/protos/install-protobuf.sh
UTF-8
356
3.375
3
[ "LGPL-3.0-only", "Apache-2.0" ]
permissive
#!/bin/sh set -e # check to see if protobuf folder is empty if [ ! -d "$HOME/protobuf/lib" ]; then wget https://github.com/google/protobuf/releases/download/v3.5.1/protobuf-java-3.5.1.tar.gz tar -xzvf protobuf-java-3.5.1.tar.gz cd protobuf-3.5.1 && ./configure --prefix=$HOME/protobuf && make && make install else ...
true
1b9be14f3d9ec1401c9f61e8cf003c309404974e
Shell
magiruuvelvet/gentoo-portage-config
/hooks/net-im/coturn
UTF-8
548
3.015625
3
[]
no_license
#!/bin/sh source /etc/portage/hooks/functions/check-env.sh # only need the client for debugging # remove server instprep() { if [ ! -z "${D}" ]; then rm -r "${D}/lib/systemd" rm -r "${D}/etc" rm -r "${D}/usr/lib/tmpfiles.d" rm -r "${D}/usr/local/etc" rm -r "${D}/usr/local/...
true
70f2324ce91831b7f3e0151f02357dc90884a395
Shell
mcne65/Blockly-Music
/deepstream/scripts/camera-to-pravega-no-blur.sh
UTF-8
1,410
2.890625
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # # Copyright (c) Dell Inc., or its subsidiaries. All Rights Reserved. # # 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 ...
true
ebd24fa6d321cd0b9fb07bf41a4e1131c115f3d2
Shell
errordeveloper/cilium
/contrib/k8s/k8s-unmanaged.sh
UTF-8
906
2.625
3
[ "GPL-1.0-or-later", "Apache-2.0" ]
permissive
#!/bin/bash # # Copyright 2018 Authors of Cilium # # 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 ag...
true