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
64226883605c55752ec55c4110a3253f353b4cf1
Shell
Lhari/deployer
/build/mkcomposer.sh
UTF-8
2,230
2.5625
3
[]
no_license
. vars/settings.sh # Old Extensions, removed for various reasons cat > composer.json <<- _EOF_ { "name": "Klean/CI Deployer", "description": "first iteration of CI deployer files", "authors": [ {"name": "Kasper Hansen", "email": "Kasper@klean.dk"} ], "repositories": { "installer-ma...
true
1410f284f2471f914a454b3081e20f9812887bc5
Shell
go-slide/slide
/.github/workflows/scripts/format.sh
UTF-8
181
2.65625
3
[ "MIT" ]
permissive
#!/bin/sh if [ "$(go fmt | wc -l)" -gt 0 ]; then echo "run go fmt before PR" exit 1 fi if [ "$(golint | wc -l)" -gt 0 ]; then echo "run go lint before PR" exit 1 fi
true
c45936c6ceee9080c00e95e8578233c9e725e2a4
Shell
vinijaiswal/lenet-bigdl
/docker/start-notebook
UTF-8
1,030
2.515625
3
[]
no_license
#!/bin/bash # setup paths, please use absolute path export SPARK_HOME=/usr/src/app/spark-2.1.1-bin-hadoop2.7 export BigDL_HOME=/usr/src/app/bigdl-dist-spark-2.1.1-scala-2.11.8-linux64-0.2.0-dist export PYSPARK_DRIVER_PYTHON=jupyter export PYSPARK_DRIVER_PYTHON_OPTS="notebook --allow-root --notebook-dir=./ --ip=* --n...
true
63a9fc27e0cddd3aa65853541aaeb243ca5a655a
Shell
ComplianceAsCode/content
/linux_os/guide/services/ntp/chronyd_configure_pool_and_server/tests/correct_chrony_configuration.pass.sh
UTF-8
752
3.359375
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # packages = chrony {{{ bash_instantiate_variables("var_multiple_time_servers") }}} {{{ bash_instantiate_variables("var_multiple_time_pools") }}} config_file="{{{ chrony_conf_path }}}" IFS="," read -a SERVERS <<< $var_multiple_time_servers for srv in "${SERVERS[@]}" do NTP_SRV=$(grep -w $srv $config_...
true
fc674a01da55014eb22cc8d54b0a1c06c11ca85f
Shell
erosness/sm-server
/scripts/pq.sh
UTF-8
590
2.8125
3
[]
no_license
#!/bin/bash host='localhost:5055' track='{"turi" : "tr://wimp/tid/18771487","title" : "Bah (landing)","artist" : "Valby Vokalgruppe","cover" : "http://images.osl.wimpmusic.com/im/im?w=100&h=100&albumid=18771477"}' case "$1" in "play") curl -X POST -d "$track" $host/pq/play ;; "get") cu...
true
d072e0f3d32065d08b344074a1af1355af71d75c
Shell
samiramiss11/Bash-Script
/Skript2019-01-02a.sh
UTF-8
210
3.375
3
[]
no_license
#! /bin/bash echo "enter directory name" read dir #check if this directory exist: if [ ! -d $dir ] then echo "directory exists" else #make the directory: mkdir -p $dir read 2 touch $2 mv $2 dir/. fi
true
6989bff649f32a0817775190a7973615e0b2e0cd
Shell
DarkCat09/ttyclock
/ttyclock.sh
UTF-8
1,452
3.671875
4
[]
no_license
# Terminal Clock # ver.1 stty -echo printf "\x1b[0m" clockStr= showDate=1 exitFromScript= delay=0.001 standard=0 if [[ $1 = "-c" ]] then # Color if [[ $2 = "" ]] || [[ $2 = "0" ]] then clockStr="" elif (( $2 < 10 )) then clockStr="\x1b[3${2}m" else echo "ttyclock: inval...
true
e783d4a602fb467ec3d535efd28788e8d8dc1c81
Shell
bahusoid/WDMyCloud-Gen2
/Transmission/install.sh
UTF-8
786
3.40625
3
[ "MIT", "GPL-1.0-or-later", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
#!/bin/sh [ -f /tmp/debug_apkg ] && echo "APKG_DEBUG: $0 $@" >> /tmp/debug_apkg path_src=$1 path_des=$2 APKG_MODULE="Transmission" APKG_PATH=${path_des}/${APKG_MODULE} APKG_BACKUP_PATH=${APKG_PATH}/../${APKG_MODULE}_backup mkdir -p ${APKG_BACKUP_PATH} cp -arf ${APKG_PATH}/config ${APKG_BACKUP_PATH} cp -rf $path_sr...
true
f5c9fe4a6ab2e031b2228e6bac84fc9bdb196314
Shell
KvMadan/UnixBasics
/practice/case.sh
UTF-8
286
3.453125
3
[]
no_license
#!/bin/bash # Example of CASE Statements case "$1" in start) echo "Starting sleep walking server" /tmp/sleep-walking-server & ;; stop) echo "Stopping sleep walking server" kill $(cat /tmp/sleep-walking-server.pid) ;; *) echo "Usage $0 start|stop"; exit 1 esac
true
04c79c1736544c1f50ded7447fbdaa4c2089cfea
Shell
GameServerManagers/LinuxGSM
/lgsm/modules/command_start.sh
UTF-8
7,312
3.4375
3
[ "MIT" ]
permissive
#!/bin/bash # LinuxGSM command_start.sh module # Author: Daniel Gibbs # Contributors: http://linuxgsm.com/contrib # Website: https://linuxgsm.com # Description: Starts the server. commandname="START" commandaction="Starting" moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" addtimestamp="gawk '{ print ...
true
01d91e42ca1b7d3986d712678a975a353a0b3add
Shell
lonkamikaze/bsda2
/src/lst.sh
UTF-8
15,697
3.796875
4
[ "ISC" ]
permissive
test -n "$_lst_sh_" && return 0 readonly _lst_sh_=1 # # Portable string backed array library. # # @file # @see lst.md # # # Run lst() with RS set to the ASCII Line Feed character. # # @warning # The Line Feed character is White Space and thus subject to # special expansion rules, which affects the processing of # emp...
true
dcc81647bd21fa680a3d46564f868bcadb07e97a
Shell
karldickman/chores
/cli/list-commands.sh
UTF-8
1,340
3.21875
3
[]
no_license
#!/bin/bash echo "All commands are prefixed with \"chore-\". READ COMMANDS burndown Get a burndown report. completions-needed Get the number of completions needed to achieve high confidence in the average chore duration. get-completion-id Get the database identifier of the active completion of a chore....
true
ba2b6fd7c100edaa9e98dfec0a81372ecba64db2
Shell
neil-rti/ros2_mp_latency
/scripts/run_suite_a.sh
UTF-8
1,813
3.09375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash ############################# # change variables here # NOTE that total test time = (TEST_DURATION + 5) * set size of next 5 vars, # for example (60 + 5) * 3 * 3 * 5 * 2 * 9 = 52650 seconds, or 14.6 hours. DDS_BACKENDS='rmw_connextdds rmw_fastrtps_cpp rmw_cyclonedds_cpp' F_PUBLISHER_SET='1 10 20' MSG_SIZE...
true
853b6d05eb9cccdf7e7c7f9fe5e8191914498efd
Shell
Kesin11/dotfiles
/install-git-diff-highlight.sh
UTF-8
539
2.828125
3
[]
no_license
#!/bin/bash echo 'Setup git/contrib/diff-highlight...' # debian if [ -e /usr/share/doc/git/contrib/diff-highlight ]; then sudo ln -s /usr/share/doc/git/contrib/diff-highlight/diff-highlight /usr/local/bin/diff-highlight sudo chmod +x /usr/local/bin/diff-highlight # Fallback to download old one script diff-hig...
true
c4140117dc04f53ec2569143d99c8c8dbdc04ad2
Shell
Gavazzi1/cuda-convolutions
/util/centos-opencv-install.sh
UTF-8
2,470
2.578125
3
[]
no_license
mkdir installation mkdir installation/OpenCV-master sudo yum -y install epel-release sudo yum -y install git gcc gcc-c++ cmake3 sudo yum -y install qt5-qtbase-devel sudo yum install -y python34 python34-devel python34-pip sudo yum install -y python python-devel python-pip sudo yum -y install python-devel numpy pytho...
true
736b2b71ffd8b41a9adf2f832504b498aa3f2553
Shell
phanirajkiran/mksoc
/scripts/Divided_scripts/build_patched-kernel.sh
UTF-8
4,045
3.53125
4
[]
no_license
#!/bin/bash #-----------------------------------------------------------------------------# # Variables #-----------------------------------------------------------------------------# CURRENT_DIR=`pwd` WORK_DIR=$1 #KERNEL_URL='https://github.com/altera-opensource/linux-socfpga.git' KERNEL_FILE_URL='ftp://ftp.kernel.o...
true
e0eae48da2dd19eaa72aa999b3329e83f976c7b8
Shell
xinghua24/BookmarkDemo
/database/start-mysql-local-server.sh
UTF-8
652
2.671875
3
[ "Apache-2.0" ]
permissive
#################################### # for development only # run mysql server on port 3306 # username: root # password 3306 # # run phpmyadmin at http://localhost:7000/ #################################### #!/bin/bash # Create network docker network create bookmark-network # Create mysql container docker run -d --...
true
83f276d19a76cdcbefa49588a4cc79e77300198d
Shell
Christian1626/ELK
/Dashboards/export.sh
UTF-8
1,573
3.21875
3
[]
no_license
#!/usr/bin/env bash # ./export.sh .kibana_mg /home/christian/Documents/ELK/Dashboards/dashboard_mg # $1 : kibana index # $2 : dashboards directory # # Saves all dashboards in Kibana mkdir -p $2 if [ $# -eq 2 ] then # dashboard mkdir -p $2/dashboard curl -s --noproxy 127.0.0.1 "127.0.0.1:9200/$1/dashboard/_se...
true
808360289ceb2eb91cc901ef43b9f9545181f6f2
Shell
warwick-hpsc/riot
/libriot2/scripts/createFileLog.sh
UTF-8
646
3.65625
4
[]
no_license
#!/bin/bash if [ $# == 0 ] then dir=. else dir=$1 fi echo -n "" > master.tmp for i in ${dir}/*.log do declare -A filedb exec < ${i}.filedb while read line do fileid=`echo $line | awk '{ print $1 }'` filename=`echo $line | awk '{ print $2 }'` matchingid=`grep -w $filename ${dir}/master.filedb | awk '{...
true
35b4fcb1266399a77584cfbf4bf3386c943f0cf5
Shell
sullof/home-bin
/find-by-dates.sh
UTF-8
95
2.5625
3
[]
no_license
#!/bin/bash #!/bin/bash for i in $(find $1/ -newermt "$2" ! -newermt "$3"); do echo $i done
true
732bedd233dbe6690285414989a7b2a7799838bb
Shell
tsduck/tsduck-test
/tests/test-039.sh
UTF-8
1,354
2.6875
3
[]
no_license
#!/usr/bin/env bash # Test multiple CW in text file for scrambler plugin. source $(dirname $0)/../common/testrc.sh test_cleanup "$SCRIPT.*" test_tsp \ -I file $(fpath "$INDIR/$SCRIPT.ts") \ -P scrambler 0x0204 --atis-idsa --cw-file $(fpath "$INDIR/$SCRIPT.cw.txt") --cp-duration 3 \ -P analyze -o $(fpath "...
true
2a9308e506dc13ddad6a1383bc7b09ffe19d997c
Shell
nilium/go-fex
/version.sh
UTF-8
296
3.640625
4
[ "Apache-2.0" ]
permissive
#!/bin/sh if [ -r "VERSION" ] ; then . ./VERSION fi : ${MAJOR:=0} ${MINOR:=0} ${PATCH:=0} VERSION="$MAJOR.$MINOR.$PATCH" case $1 in --major) echo "$MAJOR" ;; --shell) echo "MAJOR=\"$MAJOR\"" echo "MINOR=\"$MINOR\"" echo "PATCH=\"$PATCH\"" ;; *) echo "$VERSION" ;; esac
true
da36a2e22fdb03b127610aa2adc769ca3b46b680
Shell
drm343/simple-config
/plugin/ecd.plugin.bash
UTF-8
1,175
3.765625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash ecd () { run_ecd () { echo -ne $(pwd) result="$(ls -al | sed 1d | fzy -p 'Press esc, or select . to exit program > ' | sed 's/\x1b\[[0-9;]*m//g' | # remove color control code awk '{print $NF}')" if [ "$result" = "." ]; then ...
true
2a3839fa451b6ea81f9a0b60c1e03411adac12a3
Shell
ProfJust/ero
/ero_install/install_summit_pkg_on_noetic_remote_pc.sh
UTF-8
3,044
2.875
3
[]
no_license
#!/bin/bash # script to setup Summit_XL-Workspace # Version vom 27.4.2021 incl Map directory kopieren echo -e "\033[34m ---------- ERO SS21 - Workspace einrichten ------------ \033[0m " echo "Shellskript zur Installation der SummitXL-Pakete" sudo apt-get dist-upgrade pwd cd ~/catkin_ws/src/ # no noetic version av...
true
54bb957aba5667f7e39cfe88264410f2c648d359
Shell
javalosp/buildscripts
/uk/ac/archer/unittest.pbs
UTF-8
1,290
3.296875
3
[]
no_license
#!/bin/bash --login ############################################################################### # # This is an example PBS script for testing Fluidity on Archer, and # can be found in the GitHub FluidityProject/buildscripts repository # as: # # /uk/ac/archer/unittest.pbs # # This script is submitted by build.b...
true
0218ab28190560ba7b6fd20f34fa50e4890f9aa4
Shell
tomerpq/All-Projects-Of-Tomer-Paz
/Operation Systems Projects(Multi Threading - C, bash)/Bash/ex12.sh
UTF-8
220
3.078125
3
[]
no_license
#Tomer Paz - 315311365 #!/bin/bash ls -v $1 | while read fn do if [[ $fn == *.txt ]] then echo $fn "is a file" fi done ls -v $1 | while read fn do a="$1/$fn" if [[ -d $a ]] then echo $fn "is a directory" fi done
true
46a5e9065d14c95a00c32446256e92991e88ef25
Shell
jkkummerfeld/lamb
/lamb/experiment/tune_ptb_10m.sh
UTF-8
1,550
2.546875
3
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
#!/bin/bash # Copyright 2018 DeepMind Technologies Limited. 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 # # Unless r...
true
488f87057815c0e90da41b4814c510c8d272d658
Shell
CASE-Association/case-AudioSystem
/Resampling_plugin/volumio-plugins/plugins/audio_interface/brutefir3/alsa-capabilities
UTF-8
51,020
3.796875
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # shellcheck disable=SC2191 ## ^^ we frequently use arrays for passing arguments to functions. ## This script for linux with bash 4.x displays a list with the audio ## capabilities of each alsa audio output interface and stores them in ## arrays for use in other scripts. This functionality is expo...
true
9acffff25e009b1493cd83281b597db39bc99424
Shell
elfraera/doit
/assets/scripts/.tmp/06-fix-includes.sh
UTF-8
893
2.640625
3
[]
no_license
#!/bin/bash # REV04: Tue Jan 7 10:11:48 WIB 2020 # REV03: Tue Jul 2 12:44:23 WIB 2019 # REV02: Mon Jul 1 02:07:00 WIB 2019 # REV01: Sun Jun 30 17:54:17 WIB 2019 # START: Thu Jun 27 19:27:34 WIB 2019 # # Copyright (C) 2019 Rahmat M. Samik-Ibrahim # http://RahmatM.Samik-Ibrahim.vLSM.org/ # This program is free script...
true
c0b420e93442b2ed8f61f3e0163b6041bbf47c24
Shell
u10v8/teslamodel3
/simpleifelse.sh
UTF-8
93
3
3
[]
no_license
#!/bin/bash echo "number" read x if [ $x -eq 5 ] then echo "five" else echo " not five" fi
true
d6b9d628b33119c05d81f6e74425bdb2f7f037a5
Shell
bitc/hdevtools
/tests/test_sample_error.sh
UTF-8
255
3
3
[ "MIT" ]
permissive
#!/bin/sh set -e SOCK=`mktemp -u` EXPECTED_ERRORS='SampleError.hs:9:5: Not in scope: `foo'\''' if ERRORS=`$HDEVTOOLS check --socket=$SOCK SampleError.hs` then false elsh [ "$ERRORS" = "$EXPECTED_ERRORS" ] fi $HDEVTOOLS --socket=$SOCK --stop-server
true
af94a292b5324deec0f3dfd6372eeae4f5d90d76
Shell
JakeWharton/dodo
/root/app/sync.sh
UTF-8
371
2.796875
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/with-contenv sh if [ -n "$HEALTHCHECK_ID" ]; then curl -sS -X POST -o /dev/null "$HEALTHCHECK_HOST/$HEALTHCHECK_ID/start" fi # If the sync fails we want to avoid triggering the health check. set -e curl -sS -X POST --fail http://localhost/sync if [ -n "$HEALTHCHECK_ID" ]; then curl -sS -X POST -o /dev/...
true
719079ff6002b052bcbded0bb3a439ff58aa22e1
Shell
Ortega-Dan/linuxBashScripting
/bash/switchCase.sh
UTF-8
152
2.78125
3
[]
no_license
read char case $char in y) echo YES ;; Y) echo YES ;; n) echo NO ;; N) echo NO ;; esac
true
8779eaa9917681f3e244ead3021d242f31ffb2d0
Shell
kvrmuruganandam/Devops
/aws/Instance.sh
UTF-8
1,442
3.71875
4
[]
no_license
#!/bin/bash #Listing the instances list_instance(){ T=$(aws ec2 describe-instances --query 'Reservations[*].Instances[*].[Tags[].Value,InstanceId]'|tr '"[],' " "|tr "\t" " ") echo $T|tr " " "\n"|awk ' {print;} NR % 2 == 0 { print ""; }'| awk ' {print;} NR % 3 == 0 { print "******************"; }' } #Create New Instan...
true
cecc2ec81c617c98a4003df508b10af66ce0b4f3
Shell
Laged/archthings
/home/user/.zshrc
UTF-8
568
2.625
3
[]
no_license
# env vars export EDITOR=/usr/bin/vim # theme ZSH_THEME="arrow" # load zgen source "${HOME}/.zgen/zgen.zsh" # if the init script doesn't exist if ! zgen saved; then # specify plugins here zgen oh-my-zsh zgen oh-my-zsh plugins/git zgen oh-my-zsh plugins/yarn zgen oh-my-zsh plugins/npm zgen oh-my-zsh plug...
true
15d26d5ba65dec5df1b5ef4482a0c4e80369395b
Shell
mwarzynski/uw_operating_systems
/filesystem/scripts/run.sh
UTF-8
485
3.3125
3
[]
no_license
#!/bin/sh BUILD="" if [ "$#" -eq 1 ] && [ $1 = "kernel" ]; then BUILD="kernel" fi cp src/read.c sources/new_minix/fs/mfs/ cd sources diff -rupN minix new_minix > ../mw371854.patch cd .. # Revert MINIX image to last clean one. cp snapshots/minix.img minix.img # Run MINIX. ./scripts/qemu.sh > /dev/null 2> /dev/nul...
true
202c3b033813c4fd343538022c285dfad600bc92
Shell
huynmela/hpc-apps-gcp
/gromacs/install.sh
UTF-8
1,650
2.96875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # # # Maintainers : @schoonovernumerics # # //////////////////////////////////////////////////////////////// # # Update MOTD cat > /etc/motd << EOL ======================================================================= Gromacs-GCP VM Image Copyright 2021 Fluid Numerics LLC =========================...
true
c04a214c74c4dbba441adfbc94732904a98851f4
Shell
hhalex/conceptopedia
/env/buildhbase.sh
UTF-8
2,938
3.265625
3
[]
no_license
#!/usr/bin/env bash # Permet d'initialiser Hadoop et HBase source ~/.bashrc # Permet d'utiliser des alias en non shell interactif shopt -s expand_aliases # Raccourcis CONCEPTOPEDIA=~/tests_java/Conceptopedia.jar WIKIPEDIA_FOLDER=~/wikipedia alias Conceptopedia0="java -jar $CONCEPTOPEDIA --mode 0" alias Conceptopedia1...
true
a1399c7aae7178a9800957685dbae85701444fbd
Shell
messbees/EvolutionServer
/install.sh
UTF-8
306
2.765625
3
[]
no_license
#!/bin/bash reset echo "Begin Evolution Cli installation..." CLIENT="/client.py" CLIENT_PATH="$PWD$CLIENT" chmod a+x $CLIENT_PATH SERVER_PATH="/server.py" SERVER_PATH="$PWD$TP" chmod a+x $SERVER_PATH sudo ln -s $CLIENT_PATH /usr/bin/evo sudo ln -s $SEVER_PATH /usr/bin/evo-client echo "Links created."
true
89566f183378aa250b368d256345b7718f202d4a
Shell
Spagettileg/mysql
/createuser.sh
UTF-8
316
3.046875
3
[]
no_license
#!/bin/bash # Creates a user record for the current Cloud9 user # Author: Matt Rudge echo "Creating the ${C9_USER} user in MySQL" sudo mysql -e "CREATE USER '${C9_USER}'@'%' IDENTIFIED BY '';" echo "Granting privileges" sudo mysql -e "GRANT ALL PRIVILEGES ON *.* TO '${C9_USER}'@'%' WITH GRANT OPTION;" echo "Done"
true
9f1a07efb0bb2aad9e2b9522a4928e32de7bb203
Shell
estsauver/suricatta
/build-docs.sh
UTF-8
278
3.171875
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh VERSION="latest" (cd doc; make) rm -rf /tmp/index.html mv doc/index.html /tmp/index.html; git checkout gh-pages; rm -rf ./$VERSION mkdir -p ./$VERSION/ mv -fv /tmp/index.html ./$VERSION/ git add --all ./$VERSION/index.html git commit -a -m "Update ${VERSION} doc"
true
b467c0faad7af6bf6d55f186fb7d3e43ac52d209
Shell
Fredrick-Kakembo/Test_Pipeline
/bin/kakembo
UTF-8
2,101
3.875
4
[]
no_license
#! /bin/bash #This portion is extracted from the eTract pipeline developed by Ivan Gunz kakembo=$0 ### Variables #### OUTWD= INDIR= CPUS=4 REFERENCE= VERSION="1.0" kakembo=$0 ARGPARSED0=$0 ALLARGSPARSED=$@ usage() { cat <<EOF Thanks for using eTrack $VERSION Developed by as a mini-project by Group-4 EanBIT Resi...
true
7b5616ac12514b70098834a19cc4941db6d5621b
Shell
bioinf/exome
/bqsr.sh
UTF-8
1,313
2.84375
3
[]
no_license
#1/bin/bash # Run BQSR for WES data # Note that the platform must be specified to correct only using the target regions PLATFORM=$1 # illumina or roche for BAM in *.realigned.bam do while [ $( jobs | wc -l ) ge 12 ]; do sleep 1; done java -Xmx20g -jar /Molly/barbitoff/software/gatk-protected/target/GenomeAnalysisT...
true
5be597ebffdc2737951f729eccf3242b047ff878
Shell
aratik711/wh_nodejs_app
/wh_terraform/scripts/Ubuntu16/server_config.sh
UTF-8
1,285
3.65625
4
[]
no_license
#!/bin/bash USER=$1 USER_PASS=$2 HOSTNAME=$3 echo $HOSTNAME echo "Add user compose" sudo adduser --disabled-password --gecos "" $USER echo "Set Password for user $USER" echo "$USER:$USER_PASS" | sudo chpasswd echo "Add user compose in sudoers file" sudo sed -i '$a'$USER' ALL=(ALL) ALL' /etc/sudoers echo "Add pas...
true
897b0f0cda6069ede4e27bb93502e6b0f0d6187c
Shell
rupashreeh/VAJRA
/tacas2020-benchmarks/viap/run_viap.sh
UTF-8
285
3.0625
3
[ "MIT", "BSL-1.0", "BSD-2-Clause" ]
permissive
rm -rf viap_results mkdir viap_results for file in *.c do echo "RUNNING VIAP FOR $file" base=`basename $file .c` cat $file > temp.c memlimit -t 100 viap_tool.py --spec=unreach-call.prp temp.c > viap_results/$base.log 2>&1 tail -4 viap_results/$base.log rm -f temp.c done
true
244a02f84b9890c0b68bed1101bf42bef18477e3
Shell
lhaclove/RNA-Seq-pipeline
/process.sh
UTF-8
1,475
2.71875
3
[]
no_license
prefix=$PWD basename1="_1.clean.fq" basename2="_2.clean.fq" export REF439GTF="/public/home/liuhao/ref/V439/Zea_mays.AGPv4.39.chr.gtf" export REF439HTI="/public/home/liuhao/ref/V439/Zea_mays.AGPv4.hisat2" export REF439BWI="/public/home/liuhao/ref/V439/Zea_mays.AGPv4.bowtie2" export REF439FA="/public/home/liuhao/ref/V439...
true
024785902a05ee013b76e87b1e6c2264bfea60fd
Shell
0mp/mpds-orange
/infrastructure/scripts/cluster-setup-accounts.sh
UTF-8
1,092
3.265625
3
[]
no_license
#! /bin/sh - set -eu set -x project="mpds-task-orange" terraform_user="terraform" terraform_service_account="$terraform_user@$project.iam.gserviceaccount.com" # Authenticate through gcloud if no gcp service account is used: if [ "$(gcloud config get-value account)" = "" ]; then gcloud auth application-default login...
true
d3131d4cb3c29ec2aba3de69489dedccca50b99e
Shell
taylorking/serverside
/random_csv.sh
UTF-8
226
2.796875
3
[]
no_license
#!/bin/bash touch csv1 touch csv2 touch csv3 for i in `ls csv*` do for j in `seq 1 10` do export LINE=$RANDOM for k in `seq 1 4` do export LINE=$RANDOM,$LINE done echo $LINE >> $i done done
true
1e5dcc564c2ea36e6316485ee0b58db1391aa27a
Shell
kristen-schneider/exome-bakeoff
/pipeline_metrics/scripts/5-metrics/intersect_worker.sh
UTF-8
1,470
3.21875
3
[]
no_license
#!/usr/bin/env bash # #SBATCH -p short #SBATCH --job-name=intersect_driver #SBATCH --ntasks=1 #SBATCH --time=4:00:00 #SBATCH --mem-per-cpu=10G #SBATCH --output=/Users/krsc0813/exome-bakeoff/bash_scripts/5-metrics/intersect_worker.out #SBATCH --error=/Users/krsc0813/exome-bakeoff/bash_scripts/5-metrics/intersect_worker....
true
4a078051039898d29ac88448568f74dc67a7ee3d
Shell
getrostt/openshift-liveoak-diy
/.openshift/action_hooks/build
UTF-8
577
3.203125
3
[]
no_license
#!/bin/bash # This is a simple build script and will be executed on your CI system if # available. Otherwise it will execute while your application is stopped # before the deploy step. This script gets executed directly, so it # could be python, php, ruby, etc. set -x source $OPENSHIFT_REPO_DIR/.openshift/action_hooks/...
true
6841ec90be21c05755f56ac7efad53bb504aaa91
Shell
nguio/SIINCO_web
/FormasOracleForms/Repautw95/Unix/Copia de cargue.sh
UTF-8
4,996
3.078125
3
[]
no_license
fecha=$1 sh vercaran.sh fecha if [ $? -ne 0 ] then echo "El proceso del dia anterior no termino" -- cp .control.old .control exit fi cp .control .control.old fecha=$1 echo "fecha: "$fecha #Verifica el arhivo de cargue de productos indica=`grep limptemp: .control.old |cut -d ':' -f3` fecha_ant=`grep limptemp: .cont...
true
af2b2fcfaf0ff587199f7b6917c0fd27b3542447
Shell
mstssk/dotfiles
/setup-ln.sh
UTF-8
637
3.5625
4
[]
no_license
#!/bin/bash -u cd `dirname $0` # ディレクトリ用のシンボリックリンク作成関数 # # ディレクトリのシンボリックリンクにもう一度 ln -s すると、 # エラーや上書きにはならずリンク先ディレクトリに再起的にリンクを作成されてしまう。 # ディレクトリの存在チェックを行うことで多重処理を防ぐ。 function _lndir() { if [ -e "$2" ]; then echo "$2: Dir or SymLink already exists" else ln -s "$1" "$2" fi } ln -s $HOME/dotfiles/.zsh $HOM...
true
b0d60c90c669042f46affa3ed019eecf103296b0
Shell
lg/hiveos-docker
/start.sh
UTF-8
2,732
3.421875
3
[]
no_license
#!/bin/ash if ! test -f /hiveos-rig/hiveos.qcow2; then echo "The file /hiveos-rig/hiveos.qcow2 doesnt exist (or isnt volume linked), going to create it now." if ! test -f /hiveos-rig/rig.conf; then echo "Missing /hiveos-rig/rig.conf file. Aborting." exit 1 fi cd /hiveos-rig echo "Downloading HiveOS....
true
f3e9c810a6b86c67d35dcee661a66bdb00f4e637
Shell
junchuan/omcs
/develop
UTF-8
341
3.03125
3
[]
no_license
#!/bin/bash fail() { echo "$@" exit 1 } pip install csc-pysparse || fail "Installing csc-pysparse failed." for project in csc-utils simplenlp conceptnet divisi2; do echo Installing $project ... cd $project || fail "$project does not exist" python setup.py develop || fail "python setup.py develop in $project ...
true
402a8378e5626c03f9efaee7c8194bb8ff6c51bb
Shell
MikeMoldawsky/OS-TAU
/ex5/kernel/Testers/Scripts/dispatcher_test.sh
UTF-8
1,352
3.328125
3
[]
no_license
#!/bin/bash printf "\nInput is in the format:\nargv[1]={r | {w | s} }\n" printf "if read: tuples of\t<channel, filename> ......<channel, filename>\n" printf "if write: triples of\t<channel, msg, filename> ...... <channel, msg, filename>\n" p="/dev/msd" # message slot device path c=0 i=1 channels=4 while [ $c -lt $ch...
true
922afefe781fb3052e3ed74f7fdff435162d5a44
Shell
avoivo/jenkins_k8s_slave
/entrypoint
UTF-8
1,332
3.390625
3
[ "MIT" ]
permissive
#!/bin/bash set -e echo "inside jenkins slave" if [ $# -eq 1 ]; then # if `docker run` only has one arguments, we assume user is running alternate command like `bash` to inspect the image exec "$@" else if [ -n "${GCLOUD_ACCOUNT}" ]; then echo ${GCLOUD_ACCOUNT} >> /usr/local/auth.base64 base64 -d /usr/...
true
33d0dd1607154606379a3f012268bbed3fb2c4e2
Shell
SBU-BMI/quip_prad_cancer_detection
/dice/run_dice_calc.sh
UTF-8
1,467
3.828125
4
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash # Example: # ./run_dice_calc.sh "/prad_old_model/heatmap_txt" "/prad_new_model/heatmap_txt" "/prad_old_model/heatmap_txt_3classes_separate_class" "/prad_new_model/heatmap_txt_3classes_separate_class" if [ $# -eq 0 ]; then echo 'Usage: ./'$(basename "$0") '/path/to/old_heatmap_txt /path/to/new_h...
true
d3f0e67c3d616d7e46dfb7f6efe392dd90b10263
Shell
iwannay/kratos
/tool/kratos-gen-project/testdata/test_in_gomod.sh
UTF-8
456
2.859375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e dir=`pwd` cd $dir rm -rf ./a kratos new a cd ./a/cmd && go build if [ $? -ne 0 ]; then echo "Failed: all" exit 1 else rm -rf ../../a fi cd $dir rm -rf ./b kratos new b --grpc cd ./b/cmd && go build if [ $? -ne 0 ];then echo "Failed: --grpc" exit 1 else rm -rf ../../b fi cd $di...
true
8ac30870785e61ce2b73072987a7bb5d0d00bb74
Shell
benbenolson/newton-install
/scripts/serf/1.3.0.sh
UTF-8
692
3.140625
3
[]
no_license
#!/bin/bash -e ################################################################################ # SERF version 1.3.0 INSTALL SCRIPT # for use on UTK Newton only # # Files changed in order to compile: # None ################################################################################ CURDIR=$PWD #First build ...
true
11c0126e049492a26b44549fea47daa2174516ac
Shell
zoeabryant/dotfiles
/.bash_profile
UTF-8
654
3.140625
3
[]
no_license
#!/bin/bash export DOTFILES="$HOME/projects/dotfiles" # Don't check mail when opening terminal. unset MAILCHECK # enable colors alias ls="command ls -G" export LSCOLORS='Gxfxcxdxdxegedabagacad' # Set TextMate as default editor export EDITOR="/usr/local/bin/mate -w" export GIT_EDITOR='/usr/local/bin/mate -w' # sour...
true
1ef6c9586a99bf12d7ea3341304b1b468e7ea8a3
Shell
Cloudxtreme/ClouDNS-1
/MS1/domaininfo.init.debian
UTF-8
1,919
3.90625
4
[]
no_license
#!/bin/sh ### BEGIN INIT INFO # Provides: domaininfo # Required-Start: $local_fs $network $syslog # Required-Stop: $local_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Domain info collector # Description: Collects information about domains based on BIND lo...
true
6a6627b657b64d92d164fc0b5a8d37fb6de44a84
Shell
18309220622/c-
/monitor/system_monitor.sh
UTF-8
3,054
3.734375
4
[]
no_license
#!/bin/bash if [[ $# -eq 0 ]] then setTerminal=$(tput sgr0) #1.检查操作系统的类型 os=$(uname -o) echo -e "\E[1;33m" 'Operator System Type:' ${setTerminal} ${os} #2.检查操作系统的版本和名字 os_name=$(cat /etc/issue | grep "release") echo -e "\E[1;33m" 'OS Release Version and Name:' ${setTerminal} ${os_name...
true
4b1c36e583cd4e7ea0281fb8481cee07f542f148
Shell
mateuszkiebala/bsk
/zad6/add_revoked_users.sh
UTF-8
300
3.25
3
[]
no_license
#!/bin/bash if [ -z "$@" ]; then echo "Arguments not present." echo "Usage $0 [list of usernames to revoke]" echo "You can get username from [username].csr" exit 99 fi echo "Revoking users..." for user in "$@"; do #Revoke user /etc/openvpn/easy-rsa/./revoke-full $user done
true
c04089dc5a951f2d2a57311c68d35b6d1058ec79
Shell
samsulmaarif/samsulmaarif.github.io
/scripts/sysadm1.sh
UTF-8
899
3.171875
3
[]
no_license
#!/bin/bash # # Samsul Ma'arif @ 2017 <samsul@puskomedia.id> echo "" echo "cek partisi & mount point" df -h | grep /home df -h | grep /var echo "" echo "Cek RAM & swap" free -m echo "" echo "Cek SSH Server" cat /etc/ssh/sshd_config | grep Port cat /etc/ssh/sshd_config | grep Root echo "" echo "Cek user KaryawanX...
true
0ec7bf343ab5ec041c9d5505b50fdb0db4cbb2cf
Shell
venezia/go-sample
/setup.sh
UTF-8
6,470
3.875
4
[ "MIT" ]
permissive
#!/usr/bin/env bash ###### # setup.sh # # Sets up infrastructure for a continuously-built and deployed container-based # web app for Azure App Service. # # $1: image_name: Name of image (aka repo) to use or create. Defaults to # $IMAGE_NAME. # $2: image_tag: Name of image tag. Defaults to $IMAGE_TAG # $3: repo_url...
true
2d3749db9b89075f85801cf0abb64986ca29aa73
Shell
aneeshp1994/Jetson-TX2-sh
/6. install MySQL Apache2 Php.sh
UTF-8
1,397
2.609375
3
[]
no_license
# Install MySQL echo 'Executing sudo apt-get update...' sudo apt-get update echo 'Done.' echo 'Installing mysql...' sudo apt-get install --upgrade -y mysql-server echo 'Done.' echo 'Installing mysqldb for python3...' sudo apt-get install --upgrade -y python3-mysqldb echo 'Done.' # Install apache2 echo 'Installing apac...
true
5dbc765fbe23e9a998ebdd1c42a3fda8fbf2fa32
Shell
unb-libraries/docker-rsnapshot-mysql
/scripts/run.sh
UTF-8
221
2.6875
3
[ "MIT" ]
permissive
#!/usr/bin/env sh for i in /scripts/pre-init.d/*sh do if [ -e "${i}" ]; then echo "[i] pre-init.d - processing $i" . "${i}" fi done echo "[i] run.sh - Waiting for cron" cron && tail -f /var/log/rsnapshot.log
true
b66adef37ed9dc401429385dabe8842671ac0efa
Shell
srikavyapendiala/shellscript
/todo/main.sh
UTF-8
312
3.625
4
[]
no_license
#!/bin/bash COMPONENT=$1 source components/common.sh if [ ! -f components/${COMPONENT}.sh ]; then ERROR "Invalid File" exit 1 fi USER_NAME=$(whoami) if [ "${USER_NAME}" != "root" ]; then ERROR "You should be a root user to execute these scripts" exit 1 fi export COMPONENT bash components/${COMPONENT}.sh
true
e2f59844340fc39f062130533cfb6b6e04ee7e96
Shell
fuzengjie/script
/backup_lib/bak_repo.sh
UTF-8
478
2.796875
3
[]
no_license
#!/bin/bash #description /data/repo Backup Script BACKUP_SERVER="backup.sa.beyond.com" HOSTNAME=`hostname` MODULE="Backup" USER=backup PASSWORD_FILE=/data/script/backup_lib/passwd LOCAL_FILE=/data/repo DATE=`date +%Y%m%d%H%M` REMOTE_NAME=`echo $LOCAL_FILE | awk -F "/" '{print $NF}'` LOG=/data/logs/backup.log ...
true
2587624df19fad13eca6e40abd6d688be92b3882
Shell
luciano073/scripts
/install-vim.sh
UTF-8
2,556
2.75
3
[]
no_license
!#/usr/bin/env bash # # Script name : install-vim.sh # # Descrição : Instala o editor de texto Vim e alguns plugins # # Autor : Luciano Marques # # Versão : 0.1 # # Dependências : sudo # # Data : Dezembro/2012 #--------------------------------------------- echo -e '\033[32m\n --->Instalan...
true
711a3d022f7326bc842051616525429bc35cc37f
Shell
ConSol/sakuli
/src/docs-manual/src/main/scripts/create_index_adoc.sh
UTF-8
2,184
3.96875
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash #cd "$1" #cont="<html><body><ul>" # ##find . -name 'v*' -type d #-exec echo {} + >> cont # #echo $cont #perl -e 'print ; while(<>) { chop $_; print "<li><a href=\"./$_\">$_</a></li>";} print "</ul></body></html>"' > index.html #!/bin/bash set -e ROOT="$1" HTTP="/" OUTPUT="$2" OUTPUT_DIR=$(dirnam...
true
bd4c7632c344c58b329f06dbb6fa50d3b423ce7b
Shell
bladedancer/axway-demo
/v7-gov-demo/demo-run.sh
UTF-8
1,466
3.046875
3
[]
no_license
#!/bin/bash ROOT=$(dirname ${BASH_SOURCE}) . $ROOT/../util.sh backtotop desc "Amplify Central Dataplane Governance Demo!" desc "This script will launch the agents and install the project." . env.sh desc "Creating the environment" show "project/environment.yaml" run "amplify central --baseUrl=$AMPLIFY_URL apply -f...
true
83e9a281fb033836b761d62ffdf7c8b87d24643d
Shell
rodrigohpalmeirim/dotfiles
/.local/bin/statusbar/cpu-utilization
UTF-8
306
2.953125
3
[]
no_license
#!/bin/sh case $BLOCK_BUTTON in 1) $TERMINAL -e htop ;; 3) notify-send "CPU module" "\- Shows CPU utilization. - Click to show process viewer." ;; esac echo `grep "cpu " /proc/stat` `sleep 0.1 && grep 'cpu ' /proc/stat` | awk -v RS="" '{printf " %.1f%\n", ($13-$2+$15-$4)*100/($13-$2+$15-$4+$16-$5)}'
true
d2f232648d7559fb04e4bae6059b65b90b2a2917
Shell
zot/Leisure
/leisure/build/runNw
UTF-8
328
2.5625
3
[ "Zlib" ]
permissive
#!/bin/sh dir=$(dirname $(realpath $0)) getDir() { cygpath -d $dir/$1 } export NODE_PATH="$(getDir lib);$(getDir src);$(getDir node_modules);$(getDir ../../../client);$(getDir ../../../lib)" echo -E $NODE_PATH #exec /cygdrive/c/Apps/nw-0-9-2/nw --stack-size=3000 $dir/nwRepl cd $dir exec /cygdrive/c/Apps/nw-0-9-2/nw...
true
d083d563f6080759fb6821d30337155c59fa03b3
Shell
fsouza/dotfiles-old
/nvim/langservers/setup.sh
UTF-8
3,126
3.625
4
[ "ISC" ]
permissive
#!/usr/bin/env bash set -eu function _clone_or_update() { repo=$1 path=$2 if [ -d "${path}" ]; then git -C "${path}" pull else git clone "${repo}" "${path}" fi } function _create_opam_switch_if_needed() { if [[ $(opam switch show) != "${PWD}" ]]; then opam switch create . ocaml-base-compiler.4.11.1 --wi...
true
8a3e7c47e3c6b93d9f016181497b36d069773f63
Shell
azharudd/apple-llvm-infrastructure-tools
/libexec/apple-llvm/helpers/mt_list_commits.sh
UTF-8
4,358
3.828125
4
[ "NCSA", "LLVM-exception", "Apache-2.0" ]
permissive
# helpers/mt_list_commits.sh mt_list_commits() { local d="$1" shift run printf "start %s\n" "$d" && run git log --date-order --date=raw \ --format="%H %ct %T %P%x00%an%n%cn%n%ad%n%cd%n%ae%n%ce%n%B%x00" \ "$@" && run printf "all\n" && run git log --date-order --date=raw --reverse...
true
2b993ff5d79ffce05555c72d6c01e1bf099b28f4
Shell
sysnux/astportal
/astportal2/utils/mixmonitor2mp3.sh
UTF-8
491
2.703125
3
[]
no_license
#! /bin/bash # # Script de conversion de fichier WAV en MP3, et effacement du fichier WAV # # Paramètre: nom complet du fichier WAV à convertir # # Utile pour Asterisk / MixMonitor, par exemple: # exten => _XXXX,n,MixMonitor(${date:0:4}/${date:4:2}/${date:6:2}/out-${CHANNEL:4:6}-${EXTEN}-${CDR(uniqueid)}.wav,,/usr/lib...
true
e9261591c6ec6e9fa12b8d91233d6fa9d0cb6b70
Shell
danielrenebayer/HVAC-RL-Framework-Evaluation
/list-all-checkpoint-runs.sh
UTF-8
161
2.859375
3
[]
no_license
#!/bin/bash for fl in $(ls -1 checkpoints); do for dt in $(ls checkpoints/$fl); do if [ ${dt:0:1} == "2" ]; then echo $dt $fl/$dt fi done done | sort
true
093458e9ee14b679155fa86f026187d404754768
Shell
huximp/ShellPent
/dnszone.sh
UTF-8
93
2.59375
3
[]
no_license
#!/bin/bash for server in $(host -t ns $1 | cut -d " " -f4); do host -l -a $1 $server done
true
4273b28cdb070d01bf243399d0d3ac0b6513c712
Shell
JLoos92/master_thesis
/Elmer_setup/copybump.sh
UTF-8
2,958
2.984375
3
[]
no_license
#!/bin/zsh -l ###----------------------------------------------------------------------------# ### Copy, read and write for new gauss-bump topography ###----------------------------------------------------------------------------# #scp -r /Users/Schmulius/Desktop/UniMaster/Thesis/Clemens_Grid_Bump/BED_Bump400.xyz Cl...
true
20006ff77dc19a7e24a53cbeaa805280c5ae794e
Shell
mashimaroa15/raspberrypi
/install/nodejs.sh
UTF-8
557
3.328125
3
[ "MIT" ]
permissive
echo -e "\n--- Installing NodeJS & NPM ---\n" curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.0/install.sh | bash > /dev/null 2>&1 export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm source ~/.bashrc > /dev/null 2>&1 nvm install node nvm alias default node nvm...
true
2a5571b2044f323eb896921a24a4e6fd63dfa246
Shell
hchiao/aws-app-challenge
/scripts/clean-up.sh
UTF-8
517
2.734375
3
[]
no_license
#!/bin/bash set -eo pipefail rm -f output.yml output.json function/*.pyc rm -rf package function/__pycache__ ARTIFACT_BUCKET=$(cat bucket-name.txt) aws s3 rb --force s3://$ARTIFACT_BUCKET rm bucket-name.txt STACK=aws-s3-lifecycle FUNCTION=$(aws cloudformation describe-stack-resource --stack-name $STACK --logical-resour...
true
1476bf1f7a24db69dc0f51ee990c14ddc01f3958
Shell
avimehenwal/fan-gallery
/scripts/compress-images.sh
UTF-8
828
3.984375
4
[ "MIT" ]
permissive
#!/bin/bash # AUTHOR : avimehenwal # DATE : 20 - Sep - 2020 # PURPOSE : image compression optimization # FILENAME : compress-images.sh # # Compress images from lossless png format to lossy webp compression if [ $# -eq 0 ]; then echo "ERROR:: Please provide an absolute/relative path to images dir...
true
382ace9e8b82d743015d2077958b9395b02478e8
Shell
adambloniarz/CAGe
/scripts/dump_reference.sh
UTF-8
394
3.21875
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # Dump reference fasta file in preparation for running CAGe. # Strips all whitespace and creates file such that the nth # byte of the file is the nth base of the reference genome # Usage: # ./dump_reference.sh <INPUT_FASTA> <CHROMOSOME> <OUTPUT_FILE> # Example: # ./dump_reference.sh na12878.fa chr20 na12878...
true
640915a431fda9a3d94ed7b8afbee22736a635de
Shell
rkeene/KitCreator
/tclcurl/build.sh
UTF-8
770
3.09375
3
[ "BSD-3-Clause", "Zlib", "MIT", "TCL" ]
permissive
#! /usr/bin/env bash # BuildCompatible: KitCreator version='7.22.0' url="https://github.com/flightaware/tclcurl-fa/archive/1fd1b4178a083f4821d0c45723605824fbcdb017.tar.gz" sha256='5abad0f369205b8369819f3993a700bb452921bcab7f42056ef29a1adc3eb093' tclpkg='TclCurl' function postinstall() { if [ "${pkg_configure_shared...
true
9e6b824f49026e2bfd7d1dc2cc43502192f08406
Shell
vruano/warp
/dockers/skylab/emptydrops/build.sh
UTF-8
224
3.203125
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash tag=$1 if [ -z $tag ]; then echo -e "\nYou must provide a tag" echo -e "\nUsage: bash build_docker.sh TAG\n" exit 1 fi docker build -t quay.io/humancellatlas/secondary-analysis-dropletutils:$tag .
true
793dd1ce13a7734cf5bc17fbdeb7204faa32b2b2
Shell
yanjiew1/mozbuildtools
/start-script/compress.sh
BIG5
1,851
2.90625
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash #Copyright (c) 2008, Jay Wang #All rights reserved. # #Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this list of conditions and th...
true
cee99c436e4e59d40905092f9d2bf661051cc845
Shell
delkyd/alfheim_linux-PKGBUILDS
/gcp-cups-connector/PKGBUILD
UTF-8
1,377
2.84375
3
[]
no_license
# Maintainer: grimsock <lord.grimsock at gmail dot com> # Contributor: Fraser P. Newton <fpnewton90 [at] gmail [dot] com> pkgname=gcp-cups-connector pkgver=v1.12.r2.g27a84c8 pkgrel=1 pkgdesc="The Google Cloud Print (aka GCP) CUPS Connector shares CUPS printers with users of Google Cloud Print." arch=('i686' 'x86_64' '...
true
901e80ec341a5647dad477cb13e2d1dbb7b86b3a
Shell
a2i2/hassio-to-pubsub
/hassio-to-pubsub/rootfs/run.sh
UTF-8
808
2.765625
3
[ "MIT" ]
permissive
#!/usr/bin/with-contenv bashio # Fail hard on errors. set -euo pipefail # Load configurable options from options.json. echo "Loading configuration..." home_id="$(bashio::config 'home_id')" gcp_project_id="$(bashio::config 'gcp_project_id')" export HOME_ID="${home_id}" export GCP_PROJECT_ID="${gcp_project_id}" # Load...
true
244ac3b964eea733df5cc05a0fd4cbdcd786a4d5
Shell
victorhdamian/bootstrap
/mac/install_consul.sh
UTF-8
459
2.5625
3
[]
no_license
#!/bin/bash #################################### # # Installs consul in macOS 10.13.6 (17G65) # Darwin 17.7.0 2018 # # ref.:https://www.consul.io/downloads.html # #################################### # latest 1.2.3 # ./install_consul.sh 1.2.3 wget https://releases.hashicorp.com/consul/$1/consul_$1...
true
93b87f8a6a39ca61d7965bdf4156d58777bd9199
Shell
paraiko/BeeDataProcessing
/processing_pipeline_v1/gmic_runavg_90min_single10m_files_active.sh
UTF-8
1,911
3.828125
4
[]
no_license
#!/bin/bash recNr=$1 #FILES=/NAS/BeeNas/01_RawData/00_rawh264files/$recNr/*.h264 inputPath="/NAS/BeeNas/03_ProcessedData/01_ghosting/00_ghost_avg-10m_jpg" outputPath="/NAS/BeeNas/03_ProcessedData/01_ghosting/01_ghost_ravg-90m_jpg" tempPath="/NAS/BeeNas/03_ProcessedData/01_ghosting/temp/ravg-90m" fileCtr=0 #create out...
true
fe6e3cb35b5d5cfa00d0f9ee9b9cedc672bcd2bb
Shell
UncleBen420/Smart_home_mse_iot
/KNX/utilz/camstream
UTF-8
1,894
3.65625
4
[]
no_license
#!/usr/bin/env sh ################################################################################ # Prototype: webcam live stream with ffmpeg direted to a local icecast server. # An icecast server must be setup with the following minimal mount point # configuration: # <mount type="normal"> # <mount-name>/iot-lab</...
true
d2ce7dd3f1af090aec9c22502e937bbc50bb85df
Shell
ashu-mehra/acmeair
/app.sh
UTF-8
1,544
3.890625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash check_server_started() { local retry_counter=0 while true; do echo "INFO: Checking if server started (retry counter=${retry_counter})" grep "Web application available" /logs/messages.log &> /dev/null local web_app_started=$? ...
true
828dde5f5c8b51586b93a069771bb78e01ae3829
Shell
emmericp/ixy-perf-measurements
/small-pages/ring-test-for-page-size.sh
UTF-8
853
2.875
3
[]
no_license
#!/bin/bash # USE THE CORRECT PCIE ADDRESSES OR THIS WILL CRASH YOUR SYSTEM # run this script with both the huge page version of ixy and the normal one. compare results. kill $(pidof ixy-fwd) # fixme: cleanup cd /home/paul/ixy-git for i in 64 128 256 512 1024 2048 4096 do echo "Running test for ring size $i" sed ...
true
a5615bf287d38f8b40db8c2fdfa4882c6e8cda7e
Shell
mkoura/usermounts
/usermounts.sh
UTF-8
6,038
4.25
4
[]
no_license
#!/bin/sh # Requirements: zenity (optional), notify-send (optional) # confirm=1 force_no_x=0 me="${0##*/}" while [ "${1+defined}" ]; do case "$1" in -n | --no-confirm ) confirm=0 ;; -x | --no-x ) force_no_x=1 ;; -c | --config ) shift ; cfg="$1" ;; -h | --help ) echo "Usage: $m...
true
04961af839749f7d7cad576c4918fe7c75b29ada
Shell
cdlm/infrastructure
/dotfiles/zsh/zshrc
UTF-8
492
2.546875
3
[ "MIT" ]
permissive
# -*- mode: sh -*- Z=~/.zsh # language options setopt function_argzero # module / dependency loading # require: load & initialize a separate module # provide: mark the module as loaded (if it does not provide an eponym function) function require() { for name ($*) autoload -Uz $name && $name; } function provide() { fo...
true
2d9ef700bf7f4016ac464a5a20dbb9da1e462fe2
Shell
cristina-grosu/hdfs-preview
/entrypoint.sh
UTF-8
1,987
2.875
3
[]
no_license
#!/bin/bash HADOOP_HOME="/opt/hadoop" HADOOP_SBIN_DIR="/opt/hadoop/sbin" HADOOP_CONF_DIR="/opt/hadoop/etc/hadoop" YARN_CONF_DIR="/opt/hadoop/etc/hadoop" . "/root/.bashrc" if [ "$HOSTNAME_MASTER" != "" ]; then sed "s/HOSTNAME/$HOSTNAME_MASTER/" /opt/hadoop/etc/hadoop/core-site.xml.template > /opt/hadoop/etc/hadoop/co...
true
91cd3949bb0fec81ed69c543cda4c4a8e7f0195f
Shell
Lex-Man/DockerCourse
/bash/script.sh
UTF-8
205
3.3125
3
[]
no_license
#!/bin/bash while true; do FILE=~/tmp/file7 if test -f "$FILE"; then echo "$FILE exists." else echo "INIT ..." touch /tmp/file7 fi echo "DONE" sleep 1d done
true
c00af1f602fa87365f9b4e1d356e63d26724865d
Shell
barakb/testing-grid
/bin/check_dotnet_logs.sh
UTF-8
355
3.484375
3
[]
no_license
#!/bin/sh BUILD_DIR=`pwd`/../local-builds/$1; echo "investigating ${BUILD_DIR} directory" RETVAL=checksucess; for file in `find ${BUILD_DIR}`; do if [ `grep -c no.invocation.in.progress.at.the.server $file` -gt 0 ]; then echo `grep -Hn no.invocation.in.progress.at.the.server $file`; RETVAL=checkfailed...
true
65fdd4e28c0f884891cfc3d13050ead17e64e1ed
Shell
stephenwaite/openemr-kube
/images/openemr/first_start.sh
UTF-8
2,129
3.796875
4
[]
no_license
#!/bin/bash set -x -e -o pipefail auto_setup() { CONFIGURATION="server=${MYSQL_HOST} rootpass=${MYSQL_ROOT_PASS} loginhost=%" if [ "$MYSQL_ROOT_USER" != "" ]; then CONFIGURATION="${CONFIGURATION} root=${MYSQL_ROOT_USER}" fi if [ "$MYSQL_USER" != "" ]; then CONFIGURATION="${CONFIGURATIO...
true