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
8fbbbb44403f5877198e26f5678281a7836c2ead
Shell
openshift/os
/ci/prow-entrypoint.sh
UTF-8
9,761
4.125
4
[]
no_license
#!/bin/bash set -xeuo pipefail # Main script acting as entrypoint for all Prow jobs building RHCOS images # Global variables REDIRECTOR_URL="https://rhcos.mirror.openshift.com/art/storage/prod/streams" # This function is used to update the /etc/passwd file within the COSA container # at test-time. The need for this ...
true
b6f7002c34d04539a04c88644a1b6317b2444dc5
Shell
alod83/dogi
/viaf/run_viaf.sh
UTF-8
3,586
2.90625
3
[]
no_license
#!/bin/bash # This script runs a complete linking to viaf # WARNING: This script works without mysql password. Modify to work with password source ../utilities/input.sh echo "VIAF EXTRACTION AND FILTERING PROCEDURE" # Commented, not necessary anymore, already done by the main script (not linking) #echo "Duplicating...
true
6982cabf2b4ba56045898aa272dbc6f66181753c
Shell
astroumd/astr288p-public
/bash/lfind.sh
UTF-8
636
3.796875
4
[ "MIT" ]
permissive
#! /bin/bash # find source code in the local tree and below # if [ $# -eq 0 ]; then echo "Usage: $0 arg1 [arg2 arg3 arg4]" echo 'Search for files *args* from your current working directory down' exit 1 fi #for a in $*; do # find . -name \*$a\* -print #done #exit 0 if [ $# -eq 1 ]; then find . -name \*$1...
true
2f3b02a5390a4935367c25fee91b511ec73d7706
Shell
naumvd95/devops-test-task
/hack/get_version.sh
UTF-8
1,201
4.34375
4
[]
no_license
#!/usr/bin/env bash set -e : "${GIT_CMD:=git}" function _git { ${GIT_CMD} "$@" } function git_describe { _git describe --tags --first-parent "$@" } function get_last_tag { # If no tags yet, use 0.0.0 as base git_describe --abbrev=0 2>/dev/null || echo "0.0.0" } function trim_tag { echo "${1#v}...
true
3b61004f568169326541abb4c2222a70ecca2e57
Shell
Gowthamgeg3/my_assignment
/Day_6/factorial_Forloop.sh
UTF-8
151
3.40625
3
[]
no_license
read -p "Enter the number" num factorial=1 for(( i=1; i<=$num; i++ )) do (( factorial *= i )) done echo "Factorial values of $num is $factorial"
true
0f73e059b730e86acb37aab29e510e9acd8135e3
Shell
johngraycole/cole_intuit
/deploy.sh
UTF-8
211
2.578125
3
[]
no_license
#/bin/sh set -x TOMCAT_PATH="/var/lib/tomcat6/webapps/" PROJECT="Cole_Intuit" sudo service tomcat6 stop sudo rm -rf ${TOMCAT_PATH}${PROJECT}* sudo cp ${PROJECT}.war ${TOMCAT_PATH} sudo service tomcat6 start
true
4e7e56578eece3b67896da241c34323e771cd87c
Shell
juan-gutierrez/embedded-linux
/scripts/ireplace.sh
UTF-8
293
3.046875
3
[]
no_license
#!/bin/bash export PATH=$PATH:$(dirname $(realpath $0)) read -p "find what: " usrInput from=$usrInput read -p "replace with: " usrInput to=$usrInput read -p "filename: " usrInput filename=$usrInput echo "replacing $from with $to on file: $filename" replace.sh "$from" "$to" "$filename"
true
e8c145bac5f06f2280cae14d0cd7d00d163c794b
Shell
gabriel-wilkes/adventure-ja
/configure
UTF-8
25,595
3.921875
4
[]
no_license
#!/bin/sh # configure - home-grown configuration script for bsd-games. # # Copyright (c) 1997, 1998, 1999, 2000, 2003, 2004 Joseph Samuel Myers. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: #...
true
53f733522dcae2d2ef95bd407316178911671ef6
Shell
kokakolako/binfiles
/virt-env
UTF-8
274
2.609375
3
[]
no_license
#!/bin/sh case $1 in 2 | 2.7 ) ~/projekte/python/virt-env/python2/bin/activate cd ~/projekte/python/virt-env/python2 ;; 3 | 3.3 ) ~/projekte/python/virt-env/python3/bin/activate cd ~/projekte/python/virt-env/python3 ;; esac
true
1b7679218ba3bcd4676843875d032bf7e437f7b1
Shell
eBayDataMeta/DataMeta-gems
/util/misc/envCommon.sh
UTF-8
1,073
3.21875
3
[]
no_license
#!/bin/bash chk_srcing() { if [[ "${1}" = "${2}" ]] then (>&2 ruby <<- xx require '${DATAMETA_SCP_COMMON}/common/ansi' include AnsiClr puts %<#{OP}#{BOLD};#{F_RED}m#{LLQBIG}ERROR#{RRQBIG}#{ RESET}: must run this script sourced in the original shell, like this#{ SPEAR} #{OP}#{BOLD};#{F_LGREEN};#{REVERSE}m. ${0} ...
true
29e9ac0a080c21b61d2aeeeb29890da2a8f6626e
Shell
mgarige2/nagios
/libexec/wh/check_netapp_volumes.old
UTF-8
472
2.828125
3
[]
no_license
#!/bin/sh OUTPUT='OK |' for FSIDX in `seq $2 $3` do TEMP="`/usr/local/nagios/libexec/check_netappfiler.py -H $1 -s fs -f $FSIDX -w $4 -c $5 | cut -f2 -d'|'`" #TEMPOUTPUT="`/usr/local/nagios/libexec/check_netappfiler.py -H $1 -s fs -f $FSIDX -w $4 -c $5`" #TEMPSTATUS="`echo $TEMP | cut -f1 -d'|'`" #TEMPPER...
true
666cc1a2a1c55a265789672d8fa150c8194584be
Shell
chavezdg/kvmPing
/kvmPing.sh
UTF-8
2,288
4.34375
4
[]
no_license
#!/bin/bash # This is a script to ping all or one kvm spider's by number. # Author: davidc # Version 2.1; Release date 12/4/19 # Basic syntax to run output of script is: # If no arguments are ran, then all KVM's are pinged that # are in the data center specified. # If an argument is specified with a number, then pin...
true
5e8992be4ca7f87a9f067fa60a0922598f6cde1f
Shell
dwojno/rad-modules
/ci-scripts/api-docs-to-github.sh
UTF-8
974
2.984375
3
[ "MIT" ]
permissive
check_github_credentials() { if [ -z $GH_NAME ] && [ -z $GH_EMAIL ] && [ -z $GH_TOKEN ] then echo "ERROR: github login, email or token is missing." exit 1 fi } echo "Preparing swagger.json files to Redoc." check_github_credentials && git config --global user.name "${GH_NAME}" && git config...
true
af6f9aeee93f562c16558a6c67cec7579100fa89
Shell
strongershell/tohell
/script1.sh
UTF-8
1,131
3.6875
4
[]
no_license
#!/bin/bash # script01.sh - Emulação do Comando seq em Bash # # O comando seq recebe dois numeros e mostra na saida padrao todos os numeros. # existentes entre eles, numa sequencia pronta para ser usada pelo comando for . Caso omitido o # numero inicial , é utilizado 1. # O=+ # Declara o valor da variavel O send...
true
b0f2b1b29afe09f29f4414e7e363d4ad4edca9ee
Shell
xurtis/import
/slides/function-scope/install_file.sh
UTF-8
375
3.578125
4
[]
no_license
install_file () { scope; var src = $1; var dest = $2; mkdir -p "${dest%/*}" cp -l "${src}" "${dest}" scope_return } install_many () { scope; var src = $1; var dest = $2; shift 2 var src_file = "" var dest_file = "" for file in "$@"; do src_file="${src%/}/${file#/}" dest_file="${dest%/}/${file#/}" instal...
true
4cc29664fdc912a5f52bfa6e771c673e86ee99b0
Shell
danqiye1/ubuntu-setup
/startup.sh
UTF-8
431
2.6875
3
[]
no_license
#!/bin/bash source install_dependencies.sh source diable_shortcuts.sh source local_security.sh firefox --new-window --kiosk www.google.com & echo "Recording screen..." recordmydesktop out.ogv & sleep 10 echo "Ending exam..." pids=($(ps -aux | grep firefox | cut -d ' ' -f 6)) for id in "${pids[@]}" do kill -2 $id ...
true
0ffa0ade406940c1479b35c616e61e947ac005f7
Shell
kestred/mysql-migrate
/tools/apply
UTF-8
493
3.5
4
[]
no_license
#!/bin/sh set -eu # Arguments DATABASE=$1 FILEPATH=$2 # Handle OS X support SED_REGEXP="-r" if [ "$(uname)" = "Darwin" ]; then SED_REGEXP="-E" fi # Apply the change and export the updated schema mysql -u root "$DATABASE" < "$FILEPATH" mysqldump --no-data --skip-comments --skip-add-drop-table --skip-set-charset -...
true
a9e186e8ba411064fae7afb357d5eaf5e3ed92f2
Shell
SSun97/holberton-system_engineering-devops
/0x04-loops_conditions_and_parsing/3-until_holberton_school
UTF-8
161
3.15625
3
[]
no_license
#!/usr/bin/env bash # Prints string 10 times using an until loop COUNTER=10 until [ $COUNTER -lt 1 ]; do echo "Holberton School" let COUNTER-=1 done
true
276cefbb0f7a5488ee16e78494b91971119e6995
Shell
amberlauer/automate_azure2
/automate_azure_manual_all/automate_azure_manual.sh
UTF-8
2,033
2.78125
3
[]
no_license
#!/bin/bash #g++ -o automate_azure_manual.o automate_azure_manual.cpp rm *outputs.txt cwd=$(pwd) #cd /home/amber/executables/root_6.16.00/install cd /home/amber/executables/root-6.12.06/install source ./bin/thisroot.sh cd $cwd echo "what to name the output folder" read prefix rm current_work.azr g++ -o automate_azure_...
true
64b6eb577181693f1e2fb0a7fd0358e2078e115b
Shell
JETSCAPE/SummerSchool2021
/Jul23_Jets/get_hydro_profile.sh
UTF-8
278
2.65625
3
[]
no_license
curlcmd=wget command -v ${curlcmd} > /dev/null || curlcmd="curl -LO" command -v ${curlcmd} > /dev/null || { echo "Please install curl or wget" ; exit 1; } $curlcmd "http://yasuki.sakura.ne.jp/JETSCAPE_HYDRO_PROFILE/test_hydro_profile.tar.gz" tar xvzf test_hydro_profile.tar.gz
true
1ab16e053b354f64f255ff22eba393338d445032
Shell
Meenu-Bhati/gtex-estrs-paper
/str-regression/stats.sh
UTF-8
828
2.921875
3
[]
no_license
#!/bin/bash TISSUES="Adipose-Subcutaneous Adipose-Visceral Artery-Aorta Artery-Tibial Brain-Caudate Brain-Cerebellum Cells-Transformedfibroblasts Esophagus-Mucosa Esophagus-Muscularis Heart-LeftVentricle Lung Muscle-Skeletal Nerve-Tibial Skin-NotSunExposed Skin-SunExposed Thyroid WholeBlood" # Number genes tested per...
true
3723e6f820d8dc947633ff78dce7dca96cb04601
Shell
cc13ny/ndsb
/labels2csv_jhlim
UTF-8
1,744
3.5
4
[]
no_license
#!/bin/bash #To prepare a Kaggle sumbission: # Usage: # ./labels2csv_jhlim filelist.txt labelsfile.txt prediction.csv submission.csv ################## #filelist=/home/jaehyun/kaggle/nationalDataScienceBowl/data/orig/filelist_test.txt filelist=$1 cat $filelist | sed 's/.*\///' > filelist_test.txt.tmp cut -d " " -f ...
true
be418d7ab30686c0bd05af2aaf76eb9a51b69237
Shell
mool/fw-pro
/inet_watchdog.sh
UTF-8
2,532
3.625
4
[]
no_license
#!/bin/bash config="/etc/firewall.conf" test "$1" == "debug" && set -x [ ! -f $config ] && echo "ERROR: File $config doesn't exist" && exit 1 source $config root_dnservers="B C D E F I J K L M" pong=0 multipath_total=0 if [ -n "$inet_default" ]; then for letter in $root_dnservers; do if(ping -n -c1 -W2 $let...
true
db8e93ec0da5b097122897076d9d4f9436eede5d
Shell
jethrosun/NetBricks
/scripts/comparisons/start-ovs-thruput.sh
UTF-8
2,772
3.203125
3
[ "ISC" ]
permissive
#!/bin/bash set -o errexit # args # 1: Master core (4) # 2: Number of rings (1) BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)" OVS_HOME="$BASE_DIR/../ovs" DPDK_LIB="$BASE_DIR/../dpdk/build/lib" export LD_LIBRARY_PATH="${DPDK_LIB}:${LD_LIBRARY_PATH}" echo $OVS_HOME #HUGEPAGES_HOME=/opt/e2d2/libhugetlbfs I...
true
3ce645cb9d500f72fc394ba18e7ec2b413df5612
Shell
danguita/dotfiles
/bin/take-screenshot
UTF-8
1,053
4.15625
4
[]
no_license
#!/usr/bin/env bash # # Takes an screenshot in different modes and stores it accordingly. # # take-screenshot --mode={full|selection|full-clipboard|selection-clipboard} SCREENSHOTS_PATH="$HOME/Pictures/screenshots" SCREENSHOT_FILE="$SCREENSHOTS_PATH/screenshot-$(date +%Y-%m-%d_%H-%M-%S).png" DELAY=0.2 # Seconds. usag...
true
abe4ba6437fad61bac49b73623b8ba08a36869c1
Shell
dejayc/bash-proxy-config
/config.sh
UTF-8
793
2.515625
3
[ "BSD-2-Clause" ]
permissive
#!/bin/bash PROXY_DEFAULT_TO='default' # Proxy default fallbacks PROXY_DEFAULT_FOR='nonlocal' PROXY_DEFAULT_URL='http://proxy.example.com/' PROXY_DEFAULT_FTP_URL='ftp://proxy.example.com/' PROXY_DEFAULT_HTTP_URL='' PROXY_DEFAULT_HTTPS_URL='' PROXY_DEFAULT_NO_PROXY='localhost,127.0.0.0/8,[::]' # Proxy configuration na...
true
42eb3cb2bbebee56071957951393c1bde7728f8c
Shell
rescrv/circulatekeys
/circulatekeys
UTF-8
615
3.171875
3
[]
no_license
#!/bin/sh set -e source "${HOME}/.ssh/circulatekeys.rc" URL="http://rescrv.net/circulated_keys.sig" TMPDIR=`mktemp -d -p "${HOME}" -t .circulatekeys.XXXXXXX` trap 'rm -r "${TMPDIR}"' EXIT cd "${TMPDIR}" wget -q "${URL}" signify -V -q -e -p "${KEY}" -x circulated_keys.sig -m circulated_keys || exit 1 touch "${AUTHO...
true
cba6a08d11a75d571c87c07d95a4bbc6431c3837
Shell
dannisliang/SGSWPlatform
/build.sh
UTF-8
3,212
3.609375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash if [ "z${CPU_JOB_NUM}" == "z" ] ; then CPU_JOB_NUM=$(grep processor /proc/cpuinfo | awk '{field=$NF};END{print (field+1)/2}') fi CLIENT=$(whoami) ROOT_DIR=$(pwd) if [ $# -lt 1 ] then echo "Usage: ./build.sh <PRODUCT> [ kernel | platform | all ] [ eng | user ]" exit 0 fi if [ ! -f device/samsung/$1/bu...
true
12858ecca196d3bb385e24bab38cde898f232885
Shell
jeremyary/fis2-mvn-injected-template
/inject_mvn_deps.sh
UTF-8
916
3.5625
4
[ "MIT" ]
permissive
#!/bin/sh echo "Git project fetched. Starting maven dependency resolution..." for d in $(find ./* -name 'Model') do NAME=$(dirname "${d//\.\///tmp/}") cd "$NAME/Model" echo "Model module detected at $NAME, injecting......" mvn -s /tmp/settings.xml -Dmaven.repo.local=/tmp/artifacts/m2 -DskipTests -e ins...
true
dc72bf22f70afbb9adfdee58da79f4d95edfb49b
Shell
3xitLight/openwrt-extra-3xitlight
/wifipineapple-mt300/files/etc/rc.button/BTN_1
UTF-8
313
3.109375
3
[]
no_license
#!/bin/sh # Get Device # device="NANO" # #rebind_sd() { # DEVICE=$(find / -name idProduct -exec grep -l 0745 {} + | awk -F '/' '{ print $(NF-1) }') # echo $DEVICE > /sys/bus/usb/drivers/usb/unbind # echo $DEVICE > /sys/bus/usb/drivers/usb/bind #} # #if [[ $device == "NANO" ]]; then # rebind_sd #fi
true
bf7dab780b7f58f49e94f765e25d1c0f2d96d2c1
Shell
indranig/polygot-bag
/src/main/bash/osx.bashrc
UTF-8
8,820
3.25
3
[]
no_license
#!/bin/sh # # ALIASES alias reload="source $HOME/.bashrc" # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions #------------------------------------------------------------- # Some settings #------------------------------------------------------------- ulim...
true
b8255eae4fc64f7e935aca5498e4a9f309b73db7
Shell
linnovate/reopen
/scripts/extract-images.sh
UTF-8
199
2.71875
3
[]
no_license
#!/bin/bash -xe # make a list of every image that is used anywhere in this folder find ../charts -name "*y*ml" -exec grep -e 'image:' {} \; | grep -v 'Values' | sed "s/.*image: \?//g" | sort | uniq
true
62fb7435f5efd333e4a1dc8fc856e8853ac196da
Shell
Khwarz/dotfiles
/.config/rofi/scripts/menu.sh
UTF-8
1,076
3.25
3
[]
no_license
#!/bin/bash rofi_command="rofi -theme themes/appsmenu.rasi" backscript="$(dirname $0)/$(basename $0) $1" echo $backscript #### Options ### theme=" Theme" network="直 Network" rpi=" Raspberry" mount=" Mount" firewall=" Firewall" bt=" Bluetooth" hama=" Hamachi" rofi=" Rofi" # Variable passed to rofi options="$the...
true
a51a396dba29d88b3a9e5a00b651598973013051
Shell
arejano/dotfiles_arch
/config/polybar/scripts/select_display
UTF-8
904
2.609375
3
[]
no_license
#!/bin/bash ## Created By Aditya Shakya #MENU="$(rofi -sep "|" -dmenu -i -p 'System' -location 5 -xoffset -14 -yoffset -52 -width 10 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< " Lock| Logout| Reboot| Shutdown")" MENU="$(rofi -sep "|" -dmenu -i -p 'Monitor' -width 10 -hide-scrollbar -line-padding 4 -...
true
8f75714e9a69f3b003b6ad1b51c414954b86f35b
Shell
machupicchubeta/dotfiles
/bin/enable_to_sudo_authenticate_with_touch_id.sh
UTF-8
405
3.328125
3
[ "MIT" ]
permissive
#!/bin/bash set -eu set -o pipefail sudo chmod +w /etc/pam.d/sudo if ! grep -Eq '^auth\s.*\spam_tid\.so$' /etc/pam.d/sudo; then ( set -e; set -o pipefail # Add "pam_tid.so" to a first authentication pam_sudo=$(awk 'fixed||!/^auth /{print} !fixed&&/^auth/{print "auth sufficient pam_tid.so";pri...
true
65f7b4a1bd0f5304e854346fa0a63978ab6e7067
Shell
ArneVandeBemdt/systeembeheer-configs
/var/backups/inotify/etc/scripts/firewall_start_2018.12.12_00:41:39
UTF-8
1,332
2.78125
3
[]
no_license
#!/bin/bash #script for enabeling firewall rules in iptables. this is for IPv4 en IPv6 #Arne Van de Bemdt #flush existing rules, go back to default iptables -F ip6tables -F #open ports for incomming connection IPv4 iptables -A INPUT -p tcp --dport 20 -j ACCEPT iptables -A INPUT -p tcp --dport 21 -j ACCEPT iptables -...
true
d46be099551fd17117798ea1da6dc454cd67581d
Shell
jlaswell/dockerfiles
/build.sh
UTF-8
364
3.75
4
[ "MIT" ]
permissive
#/usr/bin/env bash # # Build an individual container image. set -euf -o pipefail readonly AUTHOR="jlaswell" CONTAINER=$1 if [ -d $CONTAINER ] && [ -r $CONTAINER/Dockerfile ]; then docker build --pull -t $AUTHOR/$CONTAINER -f $CONTAINER/Dockerfile $CONTAINER || exit 1 else echo "No configuration found for $CON...
true
11ef0d91ac14778989c5c15f65ff0ba5e4fd89b6
Shell
rakus/shell-scripts
/mvn-download
UTF-8
5,402
3.921875
4
[]
no_license
#!/bin/bash # # FILE: mvn-download # # ABSTRACT: Collect maven dependencies and build zip incl. license info. # # AUTHOR: Ralf Schandl # # Version of org.apache.maven.plugins:maven-dependency-plugin # Note: 2.8 did not work! MVN_DEP_PLUGIN_VERSION=2.10 isScope() { case $1 in compile) return 0;; pr...
true
6df504ae51167ca1b54bb5d4ace4af67facf3141
Shell
Nordix/xcluster
/image/tar
UTF-8
2,002
3.3125
3
[ "MIT" ]
permissive
#! /bin/sh # NOTE: A common pattern is to specify "-" (stdout) as out-file, # so there must be NO log printouts to stdout! dir=$(dirname $0); dir=$(readlink -f $dir) tmp=/tmp/$USER/xcluster_$$ die() { echo "ERROR: $*" >&2 rm -rf $tmp exit 1 } log() { echo "INFO: $*" >&2 } test -n "$1" || die "No out-file" test -...
true
a1b3ff06c8739d361123a68551ccf63ae1192e6a
Shell
adamheins/antigen
/tests/.zshenv
UTF-8
2,554
3.296875
3
[ "MIT" ]
permissive
# zshrc file written for antigen's tests. Might not be a good one for daily use. # Clean the environment from CI so that environment tests will pass. unset ZSH_REMOTE_URL unset ZSH_SOURCE unset ZSH_BUILD_VERSION # Removes travis commit message that may interfere with env-leak tests. # See https://gitter.im/antigen-z...
true
8e3eb444abbe18f1bf9de81b3920414a7a85d6dc
Shell
gbarrand/osc_vis_for_LHCb
/osc/osc_batch/mgr/build_release
UTF-8
1,082
3.46875
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#!/bin/sh -f build_args= while test $# -ge 1 ; do build_args="${build_args} $1";shift; done inlib_mgr=../../../inexlib/inlib/mgr exlib_mgr=../../../inexlib/exlib/mgr ourex_mgr=../../../inexlib/ourex/mgr build_pack=osc_batch version="`../../osc_source/version`" . ${ourex_mgr}/build_header build_distrib=yes if [ "${...
true
34542c5304a96a3a25383c89a746bd44371387d2
Shell
therobut/Arch-Linux-dotfiles
/zshrc
UTF-8
2,045
2.609375
3
[]
no_license
# Path to your oh-my-zsh configuration. ZSH=$HOME/.oh-my-zsh ZSH_CUSTOM=$HOME/.oh-my-zsh-custom # Set name of the theme to load. ZSH_THEME="bira" # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" alias aur=yaourt alias vim=vim-termite alias less=$PAGER alias weechat='termite --cl...
true
ba35f3f10dc189d3525fcf9eeb5c8faadbb16749
Shell
kirsten2/Species_validation
/bin/species_validation.sh
UTF-8
5,339
4.125
4
[]
no_license
#!/usr/bin/env bash #Parse script arguments (name of ortholog-file and output directory), or print script usage if required arguments were not provided usage=" bash $(basename "$0") [-h] [-c CAND_SPECIES] [-i IN_DIR] [-d ORF_DB] Perform a validation analysis of candidate species (inferred from sequenced isolates), w...
true
3072acc49f47da327b39a01c3100848aa4dc5d28
Shell
Infobiotics/ibw
/roadblock.biocompiler/resources/buildAllDatabases.sh
UTF-8
656
3.140625
3
[ "MIT" ]
permissive
#!/bin/bash # Download necessary files and call all 3 scripts for building the databases # Run this script only for generating the databases (partRegistry.db, restrictionEnzymes.db and codonUsage.db) # C. Ladroue echo "#############" echo "Part database" echo "#############" ./createPartsDB.sh echo "################...
true
fa283d411d29e15f8fc34207cd713ea4ee350f8e
Shell
rajiv-ranjan/consulting-utilities
/Openshift/documentation/scripts/docDataExtracter.sh
UTF-8
5,820
3.328125
3
[]
no_license
#! /bin/bash # unset the variables unset MASTER_PUBLIC_URL MASTER_INTERNAL_URL WILDCARD_APP_SUBDOMAIN unset INVENTORY_FILE_PATH MASTER_PUB_CERT_FILE_PATH WILDCARD_APP_CERT_FILE_PATH unset INTERMEDIATE_CERT_FILE_PATH ROOT_CERT_FILE_PATH unset OPENSHIFT_CLUSTER_ADMIN_USERNAME OPENSHIFT_CLUSTER_ADMIN_PASSWORD usage() ...
true
8ccb1df4f535ca12fbc3364c4ff1c47af949d43c
Shell
syelavarthi/shell-scripts
/PGP_Expiration_Tracker.sh
UTF-8
4,031
4.0625
4
[]
no_license
#!/bin/sh ##################################################### # # This Script sends an email with all the PGP Keys expiration details # Steps to use: # 1. Copy this script to a directory (where PGP is installed) and change the TOOL_HOME to this directory # 2. Create a sub-directory with name "config" in TOOL_HOME # 3...
true
69528e2a6e1559ec5591353181b232a47bffd3bc
Shell
StudioEtrange/docker-volume-bindfs
/pool/stella/nix/pool/feature-recipe/feature_miniconda3.sh
UTF-8
9,115
2.796875
3
[ "MIT", "Apache-2.0" ]
permissive
if [ ! "$_miniconda3_INCLUDED_" = "1" ]; then _miniconda3_INCLUDED_=1 # NOTE : # to install full anaconda distribution use : # conda install anaconda # to create a new python2 env 'test_env' # conda create -n test_env python=2 # to switch to new python env : # source activate test_env # to desactivate new python env...
true
c16598f338eea3d3608fd1792b299b8c823f1dfd
Shell
JessHG04/EDA
/Práctica 2/corrige.sh
UTF-8
4,044
3.4375
3
[]
no_license
#! /bin/bash total=0 diferencias="" function CorrigeResto(){ nombre=$1 if test -e $nombre.tmp; then diff $nombre.tmp $nombre.txt > d1.tmp nlin=$(cat d1.tmp|wc -l) if test $nlin -eq 0; then nota=1 else nota=0 diferencias="diferencias en fichero salida txt; ejecut...
true
84df8636b1c67efbbe1019a8fb0d8688224d1198
Shell
dacejs/create-dace-app
/template/build.sh
UTF-8
958
3.5
4
[]
no_license
#!/bin/bash # 程序中有任何异常时返回非零异常错误 set -e export PATH=/usr/local/n/versions/node/12.16.1/bin:$PATH node_env=${deploy_type} # 灰度发布也是线上发布 if [[ "${deploy_type}" = "prepare" || "${deploy_type}" = "prod" ]]; then node_env="production" fi if [ "${deploy_type}" = "dev" ]; then node_env="development" fi echo deploy_typ...
true
e876f2425ea40662899144a2c04163d647ed8da4
Shell
sirinartk/Domain-Name-Status-Checker
/get-title.sh
UTF-8
631
3.5625
4
[]
no_license
#!/bin/bash address=$1 timeout=5 response=$(curl -m $timeout -sk --write-out %{http_code} --silent --output /dev/null http://$address) badtitles="Authorization Required|Index of|Error|Site Temporarily Unavailable" if [ $response != "200" ]; then address=$(curl -m $timeout --write-out %{url_effective} -sk --silent -...
true
01ccc71d098515295ce46f98c221e73e724a5212
Shell
deibyocampo/holberton-system_engineering-devops
/0x05-processes_and_signals/101-manage_my_process
UTF-8
627
3.6875
4
[]
no_license
#!/usr/bin/env bash # Manages the program called manage_my_process if [ "$1" == "start" ]; then ./manage_my_process & echo "$!" > /var/run/my_process.pid echo "manage_my_process started" elif [ "$1" == "stop" ]; then pkill -SIGTERM -f "./manage_my_process" rm /var/run/my_process.pid rm /tmp/my_process echo "ma...
true
564bbeadc87a5d83ab415a17602731674430d268
Shell
piepieninja/PiePieNinja.zshrc
/scripts/snow.sh
UTF-8
927
3.515625
4
[]
no_license
# An example of how to write to the terminal without a constant clear #!/bin/bash ## # # Author: Caleb Adams # CalebDevelops.com # # GitHub Gist: https://gist.github.com/piepieninja/531efce03f18008b7b5e # Shell Repo: https://github.com/piepieninja/PiePieNinja.zshrc/ # ## LINES=$(tput lines) COLUMNS=$(tput cols) de...
true
258245fe0582ef43f1f27f5cd14a605791e2c7a2
Shell
jordaneremieff/python-template
/{{ cookiecutter.package_name }}/bin/lint
UTF-8
288
2.875
3
[ "MIT" ]
permissive
#!/bin/bash export PREFIX="" if [ -d "venv" ] ; then export PREFIX="venv/bin/" fi set -ex ${PREFIX}poetry run black {{ cookiecutter.package_name}} tests --check ${PREFIX}poetry run flake8 {{ cookiecutter.package_name}} tests ${PREFIX}poetry run mypy {{ cookiecutter.package_name}}
true
574d4379846ac1f4da0ba335fc9efbebcb284152
Shell
alist/domoapis
/deploy/core.sh
UTF-8
1,341
3.6875
4
[]
no_license
#!/bin/bash cd "$APP_ROOT" log() { echo " ○ $@" } setup(){ type pm2 >/dev/null 2>&1 || { log "Setting up pm2" sudo npm install -g pm2 } if [ ! -e "${APP_ROOT}/logs" ]; then mkdir -p "${APP_ROOT}/logs" if (test $? -eq 0) then log "Created logs directory: ${APP_ROOT}/logs" else ...
true
1627e357cd4a8b12ee1519f0bcc4abaa61198c43
Shell
ThomasBaier/coding-challenges
/python-euler-problem/ci/build.sh
UTF-8
184
2.53125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -e source ci/conf.sh printf 'LOG - Into workspace\n' cd ${DIR} remove_env create_env activate_env printf 'LOG - Running pyb ..\n' pyb -v deactivate_env
true
a2a4e9a8aa4006bab15f24daa13b9b2d4cfc61df
Shell
Dhanya156/stage2Assignments
/unitConversionUsingFunction.sh
UTF-8
536
4.0625
4
[]
no_license
#! /bin/bash -x echo "1. Enter 1 to convert Celsius temperature into Fahrenheit" echo "2. Enter 2 to Convert Fahrenheit temperatures into Celsius" read choice if [ "$choice" -lt 3 ] then case $choice in "1") echo -n "Enter temperature (C) : " read tc tf=`awk 'BEGIN{printf("%.2f", 9 / 5 * '$tc' + 32 )}'` echo "The tempe...
true
9dc2eaa1372f8af96e8de4be7e7c6ffb989d5f52
Shell
typecode/voxpop
/scripts/init_voxpop.command
UTF-8
3,409
3
3
[]
no_license
#!/usr/bin/env bash cd "`dirname "$0"`" echo '' echo '' echo '' echo ' __ __ ______ __ __ ______ ______ ______' echo '/\ \ / / /\ __ \ /\_\_\_\ /\ == \ /\ __ \ /\ == \' echo "\ \ \'/ \ \ \/\ \ \/_/\_\/_ \ \ _-/ \ \ \/\ \ \ \ _-/" echo ' \ \__| \ \_____\ /\_\/\_\ \ \_\ \ \...
true
e4a1706b444d29c8df9472fe08a27cf3295cbc82
Shell
TizenTeam/sdb
/package/sdb.install.linux
UTF-8
423
3.265625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -x ## Set sdb's environment path s=`cat ${HOME}/.bashrc | grep -n "## Tizen SDK configuration" | cut -f1 -d":"` if [ "x${s}" = "x" ] ; then cat >> ${HOME}/.bashrc << END ## Tizen SDK configuration # This is generated by Tizen SDK. Please do not modify by yourself. # Set sdb environment path export PAT...
true
9543ebde6395362def858afe601932d50f11bcb9
Shell
diasurgical/psx-tools
/build_mpq.sh
UTF-8
933
3.46875
3
[]
no_license
#!/usr/bin/env bash SCRIPTDIR="$(readlink -f $0)" SCRIPTDIR="$(dirname "${SCRIPTDIR}")" PSXDIR=$SCRIPTDIR/ps1_assets DSTREAM=$SCRIPTDIR/dstream.bin DBANK=$SCRIPTDIR/dbank.bin VAG2WAV=$SCRIPTDIR/vag2wav.bin TEMPDIR=$(mktemp -d) #trap "rm -rf $TEMPDIR" EXIT cd $TEMPDIR for DIR in $PSXDIR/*.dir; do TMP=$(basena...
true
86f46198b5f418ed32f9a1c82cd05491b4930ffe
Shell
openstack/ironic-python-agent-builder
/tinyipa/tc-mirror.sh
UTF-8
2,133
3.578125
4
[ "Apache-2.0" ]
permissive
#NOTE(pas-ha) # The first URL is the official TC repo, # the rest of the list is taken from # http://wiki.tinycorelinux.net/wiki:mirrors # as of time of this writing. # Only HTTP mirrors were considered with the following ordering # - those that were unavailable are moved to the bottom of the list # - those that alrea...
true
2b9fa9cdff5c47885c445b0ac2dbc3a4334162a3
Shell
ywj07/LinuxInit
/cdh_init/cluster_hostname_conf.sh
UTF-8
1,648
3.53125
4
[]
no_license
#!/bin/bash # by yeweijie # 2017-07-14 # 最近修改: 2017-08-02 # 用于获取当前集群的IP,对每个IP进行hostname配置、同步hosts以及配置时钟同步的定时任务 HOST_CONF_DIR=/home/hadoop_init/host_conf HOST_CONF_IP=/home/hadoop_init/host_conf/cluster_ip # 配置第一、二级域名。例如hantele.com 或者 richstonedt.com DOMAIN_NAME="richstonedt.com" # 定义ansible集群名 CLUSTER=cdh m...
true
d3a6f362a399e409a0b29b09f13061d0fa1e0bc0
Shell
petronny/aur3-mirror
/hsoconnect/PKGBUILD
UTF-8
2,361
2.609375
3
[]
no_license
# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org> # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=hsoconnect pkgver=1.2.18 pkgrel=7 pkgdesc="HSO command line connection utility" arch=('any') url="http://www.pharscape.org/forum/index.php?topic=743.0" license=('GPL2') depends=('pygtk...
true
07ebaa677bf8356e973e4d16f94d7a0115b97b08
Shell
kencu/macports-ports
/science/hdf5/files/update_revs.sh
UTF-8
532
3.53125
4
[ "BSD-2-Clause" ]
permissive
#!/bin/bash PFILES=$(find $(port dir hdf5)/../.. -name Portfile \ -exec grep -l 'port[^ ]*hdf5' '{}' '+') echo -n "Checking: " for x in $PFILES; do echo -n "$x" pushd $(dirname $x) > /dev/null port info | grep -Eq '(Dependencies.*hdf5|Sub-ports)' if [ $? -ne 0 ]; then popd > /dev/null echo ...
true
0255d438eadf16e94dae1fecaa1a78af64b44245
Shell
gcbpay/Bit3.0.9
/scripts/build-brew.sh
UTF-8
901
3.875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -ex PACKAGE_TMPDIR=./distribution/brew_pkg VERSION=$(cat ./package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | xargs echo -n) TARBALL_NAME=./bit-$VERSION.tar.gz tarName="bit-${VERSION}-brew.tar.gz" if [ ! -e $TARBALL_NAME ]; then echo "Hey! Listen! You need to run bui...
true
e9363e3b341b0e44ee6834ec717593826872ae77
Shell
lengsophy/deployscript
/ubuntu/update.sh
UTF-8
428
2.609375
3
[]
no_license
#!/bin/bash echo "KILL NODE" sudo killall node wait echo "DELTE BUNDLE" sudo rm bundle bundle.tgz -rf wait git pull wait echo "ZIPPING..." sudo meteor bundle bundle.tgz wait echo "UNZIPPING" sudo tar -zxvf bundle.tgz wait cd bundle/programs/server/ echo "INSTALLING PACKAGES" sudo npm install wait cd ../../.. pwd echo ...
true
de3347eed4ea6f687eb42c90f86f96e352cdd2c1
Shell
Perf-Org-5KRepos/verona
/utils/llvm/setup-llvm-builddir.sh
UTF-8
1,535
4.09375
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # Sets up the build dir by downloading the tar ball from Azure, unpacking on # the external repository and changing the cmake paths to the current dir set -e expected_args=1 if [[ $# != $expected_args ]]; then echo "Usage: $0 <image-file>" exit 1 fi git_root="$(git rev-parse --show-toplevel)...
true
f4f05b9835abe36e1e4bc521982ce219c78e551a
Shell
vladfr/dotfiles
/.bash_aliases
UTF-8
3,994
2.890625
3
[ "MIT" ]
permissive
# Aliases alias g='git' alias gst='git status' alias gd='git diff' alias gdc='git diff --cached' alias gdt='git diff-tree --no-commit-id --name-only -r' alias gl='git pull' alias gup='git pull --rebase' alias gp='git push' alias gd='git diff' alias gdt='git difftool' alias gc='git commit -v' alias gc!='git commit -v --...
true
8a926099a013d7a949af9f3171116599d62c855c
Shell
Amihaeseisergiu/Operating-Systems
/lab8/utility2.sh
UTF-8
404
3.390625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash if(($#==0)); then read -p "Dati numarul de executii:" nr elif(($#==1)); then nr=$1 else exit fi if(($nr <= 0)); then echo -e "Numarul de executii trebuie sa fie strict pozitiv!\n" exit fi program="./program4 " fisier="sort" for((i=1;i<=$nr;i++)); do program="$program $fisier$i" done execute=$prog...
true
54e4640c2ef915f7f55c77614abb0dea3d493766
Shell
cristid9/fii
/operating-systems/lab4/test12.sh
UTF-8
674
3.703125
4
[]
no_license
#!/bin/bash ## This shit it's not tested, the server is down for the moment. if [ $# -eq 0 ] then echo "Not enought arguments provided" read begin else begin=$1 fi lines=`grep :studs: /etc/passwd` for line in lines do user_name=`echo line | cut -f1 -d:` if [[ $user_name == $begin* ]] then ...
true
88a008ef9e486ddbd693833172c112dc838e55d6
Shell
h2o666/DevOps01
/devops01a.sh
UTF-8
722
3
3
[]
no_license
#!/usr/bin/env bash PATH=$PATH:/usr/bin PATH=$PATH:/usr/bin function echo_line () { echo "________________________________________________________" } function vol_info () { echo VOLINFO echo_line df -h | egrep "disk|mapper" echo_line } function cpu_info () { echo CPUINFO ...
true
2aecd8487debb6b1b8c975f9e997928a7d0f2b56
Shell
luiselizondo/scripts
/install-maestro-ng.sh
UTF-8
526
3.25
3
[]
no_license
#!/bin/bash echo "Actualizando" apt-get update apt-get install -y python-pip python-dev build-essential python-yaml apt-get install -y git PIP=$(which pip) $PIP install --upgrade pip $PIP install --upgrade virtualenv echo "Instalando maestro-ng" $PIP install --upgrade git+git://github.com/signalfuse/maestro-ng M...
true
aca23fe1478489b712bd758d5623f1c40f9b8f03
Shell
jhadvig/sti-nodejs-010
/.sti/bin/usage
UTF-8
333
2.53125
3
[]
no_license
#!/bin/sh cat <<EOF This is a STI nodejs-0.10 rhel base image: To use it, install STI: https://github.com/openshift/source-to-image Sample invocation: sti build https://github.com/ryanj/node-echo.git openshift/nodejs-0-10-rhel nodejs-echo-app You can then run the resulting image via: docker run -p 3000:3000 nodejs-...
true
f2af6a4677f3f552fbb68a4a7221c371d6d05b4d
Shell
spruha1603/test
/rasta/env.sh
UTF-8
551
3.59375
4
[]
no_license
#!/bin/bash if [ x$RASTAHOME = x ] ; then if [ -f ./env.sh -a -d ./lib/py -a ./lib/robot -a -d ./examples ] ; then export RASTAHOME="`pwd`" else echo "Please set RASTAHOME environment variable to the directory where the RASTA repo was cloned," echo "or source this file in this directory...
true
df04661118ec921762930b1c006be3bda3051793
Shell
NapoleonWils0n/cerberus
/kali-linux/wifi_hacking.sh
UTF-8
11,830
3.140625
3
[]
no_license
#!/bin/bash #----------------------------------------------------------------------------------------# # wifi hacking # #----------------------------------------------------------------------------------------# #----------------------------------------------------------------------------------------# # raw frame inj...
true
d5d1f57ec981695604d11489ee868bfdccf765cb
Shell
ishine/renawre
/tmpl/def/elem.table.sh
UTF-8
1,901
3.234375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # Definition of the base table object #*************************************************************************** # Copyright 2014-2016, mettatw # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtai...
true
8fd670adfaab450d18e74b5132f67e11313a78a9
Shell
pombredanne/pywhale
/image/rc.local
UTF-8
586
2.671875
3
[ "MIT" ]
permissive
#!/bin/sh -e This is the script where all the magic happens. First we check if there is a data volume with the source mounted at /src If it is it's copied to /home/app/src. git archive | tar -x -C /home/app/src Calculates the md5 of the requirements.txt and creates a virtualenv with that md5. If in development mo...
true
60c2f6e700412a9efc0cfacee414684e4f71ed90
Shell
digiwano/zshconfs
/mini-rc-file.zsh
UTF-8
616
2.875
3
[]
no_license
export PATH=/opt/local/bin:$PATH COLOR_USER_HOST=white COLOR_USER_PATH=yellow COLOR_USER_MARK=white COLOR_ROOT_HOST=red COLOR_ROOT_PATH=red COLOR_ROOT_MARK=red PROMPT_END_CHAR="%(#.%{💥%1G%}.%{🌀%1G%}) " PROMPT_PREAMBLE="%{👽%1G%} " if [[ ! -d ~/.zsh ]]; then if which git > /dev/null; then git clone https://g...
true
a72a7f6b530f445cdcac06714b4c3f074e3ba8b6
Shell
tjaffri/ml-dev-ec2-scripts
/install_cuda.sh
UTF-8
1,894
3.5625
4
[ "MIT" ]
permissive
set -e CUDA_REPO_PKG=cuda-repo-ubuntu1804_10.2.89-1_amd64.deb wget -O /tmp/${CUDA_REPO_PKG} http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/${CUDA_REPO_PKG} sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub sudo dpkg -i /tmp/$...
true
f85172150712c87ddea32d81f937ece033e26263
Shell
tgrigo/Week3
/megafoldermaker.sh
UTF-8
1,336
3.765625
4
[]
no_license
#!/bin/bash ###### # I have modified the original mege folder maker to allow the user to input the two folder names, # rather that having to put them in the command line after the script name as per the copy and # paste opton provided in the text # Some colours # $(echo -e $BRed'<text>'$NC) can be used in a read lin...
true
e8443f276756928eb61663127986a2cd812657f8
Shell
termux/termux-packages
/packages/cicada/build.sh
UTF-8
757
2.828125
3
[ "Apache-2.0" ]
permissive
TERMUX_PKG_HOMEPAGE=https://github.com/mitnk/cicada TERMUX_PKG_DESCRIPTION="A bash like Unix shell" TERMUX_PKG_MAINTAINER="Hugo Wang <w@mitnk.com>" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_VERSION="0.9.38" TERMUX_PKG_SRCURL=https://github.com/mitnk/cicada/archive/v$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=7ba8980a5370754...
true
1f8a28ee873af596aab5e71cb1094db3b52ea15c
Shell
hseiyo/photoalbum
/photoalbum.sh
UTF-8
9,908
3.984375
4
[]
no_license
#!/bin/bash function usage { echo "usage:" echo "$0 command options" echo "$0 check options size" echo "$0 mkhtml options size" echo "commands are: check, mkhtml" echo "$0 check" echo "$0 mkhtml [-conf file ] [-migrate] size" echo "size : size of x-size" } # Sub Functions function Messages { local Level=inf...
true
b6664a92d1dc4245816cd97b38da72882d66d1cd
Shell
RHughes98/lab_3
/lab3_script.sh
UTF-8
749
3.625
4
[]
no_license
#!/bin/bash # Authors : Ryan Hughes # Date : 2/7/2020 # Problem 1 Code: # Use grep to search for, and count, phone numbers and emails in a # specified text file echo "Enter filename:" read filename echo "Enter regular expression:" read reg echo "Matches:" echo `grep $reg $filename` echo "Number of (303) phone number...
true
0c5497af627278c2bb24dc8d4b805ddbe43ccdc0
Shell
vonHabsi/Codebot.Setup
/macintosh/install.fpc-3.0.darwin.sh
UTF-8
7,338
3.96875
4
[]
no_license
#!/bin/sh # Author of this script: http://www.getlazarus.org # This is the universal Macintosh script to install Free Pascal and Lazarus # If you need to fix something and or want to contribute, send your # changes to admin at getlazarus dot org with "macintosh free pascal install" # in the subject line. # Change th...
true
40231363b1615b6db228a2dc4c4ddc423937a444
Shell
joe95crone/Genetic-Algorithm-ICS-2D-Optimisation
/TuningCurve_NO_DAT/check_GA.sh
UTF-8
278
3
3
[]
no_license
#!/bin/bash gen=`grep GENERATION run/var_output.txt|tail -1` best=`sort -u -k 2 run/var_output.txt|head -2|tail -1` best2=`grep -B 100 "GENERATION $1" run/var_output.txt|sort -u -k 2| head -2 |tail -1` echo "Best up to " $gen $best echo "Best up to ### GENERATION" $1 $best2
true
9217a719f9012fdd023d3a6527c7253aaf7e5983
Shell
YueBingg/arch-install
/software.sh
UTF-8
199
2.71875
3
[]
no_license
#!/bin/bash install(){ echo -e "\ny\n" | pacman -S base-devel sed -i 's/# %wheel/%wheel/g' /etc/sudoers echo -e "y\n" | pacman -S zsh sed -i 's/bash/zsh/g' /etc/passwd } main(){ install } main
true
0a9be6aaf4fdec039306997c80467f9fe858f1cd
Shell
Nath-G/ft_services
/setup.sh
UTF-8
4,705
3.046875
3
[]
no_license
# **************************************************************************** # # # # ::: :::::::: # # setup_vm.sh :+: :+: :+: ...
true
bed44b0515c7b99655ba7d4d87860a1f121c11ef
Shell
march23sun/Docker-ECS-Node-Mongo
/node-mongo-codecommit-backup/code/aws.sh
UTF-8
1,568
3
3
[]
no_license
#!/bin/sh if [ "${S3_ACCESS_KEY_ID}" = "**None**" ]; then echo "You need to set the S3_ACCESS_KEY_ID environment variable." exit 1 fi if [ "${S3_SECRET_ACCESS_KEY}" = "**None**" ]; then echo "You need to set the S3_SECRET_ACCESS_KEY environment variable." exit 1 fi if [ "${S3_BUCKET}" = "**None**" ]; then ...
true
d56be51542411187d4de9f856a5abeaef77c46b9
Shell
forivall/dotfiles
/plugins/oneliner/ipuml
UTF-8
596
3.03125
3
[ "ISC" ]
permissive
#!/usr/bin/env zsh # good themes for dark terminal: # spacelab # superhero-outline # hacker # cyborg-outline # black-knight # TODO: read the dimensions from the output svg, and set viewer dimensions appropriately. f=$(mktemp --suffix=.png) plantuml -pipe -theme superhero-outline -tsvg | rsvg-convert --dpi-x=300 --dpi-...
true
ea9da2bc6385cabd0e0a691fd6c751dc748f1ee7
Shell
SSantosLab/Pipeline_Master
/checkDB_forcron.sh
UTF-8
2,049
3.65625
4
[]
no_license
#!/bin/bash ## Workflow: ### check if exposure has been processed before, if yes - skip ### if no, then check the nite - if this is a new night, use new season number, else use same season ### run TestAutomate.py cd /data/des41.a/data/desgw/O3FULL/ source gw_workflow/setup_img_proc.sh nohup python checkDB.py &> check...
true
eafc7cfa31c9811d2610b30094e48eedf54282bf
Shell
ibmcb/cbtool
/scripts/mongo_acmeair/cb_run_acme.sh
UTF-8
5,455
3.28125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash cd ~ source $(echo $0 | sed -e "s/\(.*\/\)*.*/\1.\//g")/cb_acmeair_common.sh set_load_gen $@ if [[ ${LOAD_ID} == "1" ]] then GENERATE_DATA="true" else GENERATE_DATA=`get_my_ai_attribute_with_default regenerate_data true` fi GENERATE_DATA=$(echo $GENERATE_DATA | tr '[:upper:]' '[:lower:]'...
true
9172ac3d5e4d1a382e92d8db63836bb5738c1778
Shell
Colin-ECU/Portfolio
/MegaMenu.sh
UTF-8
2,347
4.09375
4
[]
no_license
#!/bin/bash # Colours to be applied to mathmatic functions. BLUE="\e[34m" GREEN="\e[32m" RED="\e[31m" PURPLE="\e[35m" NORMAL="\e[97m" # This changes Dir to the location of the PasswordCheck folder. cd ~/scripts/portfolio/week2/ # This runs the passwordCheck script. ./passwordCheck.sh # If the secret password match...
true
8731750b52712b436b83d4de84fa05476c19ae3e
Shell
HenryHu/scripts
/fixwww
UTF-8
220
3.0625
3
[]
no_license
#!/bin/sh while [ "$1" != "" ]; do echo "$1" > /tmp/filename convmv --notest -f utf-8 -t iso8859-1 "$1" convmv --notest -f gbk -t utf-8 "`iconv -f utf-8 -t iso8859-1 /tmp/filename`" rm /tmp/filename shift done
true
98e8b862282c873a6da7b4b47caf7b6462193562
Shell
demonlife/RedisDesktopManager
/redis-desktop-manager/configure
UTF-8
658
3.09375
3
[ "MIT" ]
permissive
#!/bin/bash cd ./../deps/ chmod -R 777 libssh chmod -R 777 jsoncpp unamestr=$(uname) if [[ "$unamestr" == 'Linux' ]]; then #build libsssh only on linux cd ./libssh sh ./configure --with-openssl --with-libz make sudo make install sudo bash -c 'echo "/usr/local/lib" > /etc/ld.so.conf.d/libssh2.conf' sudo ldconfig #...
true
77586a749a377bd3fd97aca77c9b340d391d3fe0
Shell
Mermouy/git_e17
/git_e17-plugin-bullet
UTF-8
1,813
3.703125
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # # git_e17 - enesim plugin # # # PLUGINS: # - are called via git_e17 <action> plugin <name> # - need to be in the same path as git_e17! # - must be named: git_e17-plugin-<name> # - You can use all functions from git_e17 :) # - conf will get restored automatically # - please do not touch other global vars...
true
35b99e1b417b0e1b37e8544df91c24cca138e620
Shell
rodrigues-i/Bash-Scripting-Lessons
/If_Statements/3rd_exercise.sh
UTF-8
504
3.703125
4
[ "MIT" ]
permissive
#!/bin/bash # prints a message based on the day of the week echo Enter the day of the week: read day echo ------------------------------ : ' This is a multiline comment ' case $day in Monday | monday) echo Oxe ;; Tuesday) echo chatice ;; Wednesday) echo Alegre ;; Thursday) echo Vis...
true
8fb51180765d8015e46e244ac49a8118a159901e
Shell
ZavalichiR/Backup
/SO/Teme/Tema L9/Pb1/main.sh
UTF-8
1,753
3.125
3
[]
no_license
#!/bin/bash if [[ ! -f "./inc/hdr.h" ]] then echo "Fisierul header \"hdr.h\" nu a fost gasit!" exit fi if [[ ! -f "./inc/pcsem.h" ]] then echo "Fisierul header \"pcsem.h$\" nu a fost gasit!" exit fi if [[ ! -f "./obj/err.o" ]] then echo "Fisierul obiect \"err.o\" nu a fost gasit!" exit fi if [[ ! -f "./src/...
true
17b27dba02cdc6b2d09ef0c4a8aa67d46eda2762
Shell
philipsoutham/aws-encryption-performance
/test.sh
UTF-8
2,117
2.9375
3
[]
no_license
#!/bin/env bash for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19; do ####################### SSE ############################### echo "doing sse $i" sar -p 1 > "async_yes_ssl_yes_sse-cpu.${i}.sar.txt" & sar_cpu=$! sar -p -n DEV 1 > "async_yes_ssl_yes_sse-network.${i}.sar.txt" & sar_n...
true
649fa84f9ed38f03b30e6cb6b3433cfd299dda29
Shell
iwishguo/configfiles
/kernel-cs.sh
UTF-8
623
2.890625
3
[]
no_license
#!/bin/bash ## Generic cscope generate file set -ex CODE=`pwd` pushd / find $CODE \ -type f \ ! -path "$CODE/*cscope*" \ ! -path "$CODE/.git*" \ ! -path "$CODE/*.o" \ ! -path "$CODE/*.o.*" \ ! -path "$CODE/*....
true
7dd987bfe19660a39b701913abb33fe165e8127a
Shell
vadimkor56/operating_systems_2018
/lab1/script4.bash
UTF-8
145
3.015625
3
[]
no_license
#!/bin/bash count=1 read a while [[ "$a"%2 != 0 ]] do read a let count=$count+1 let m=$a%2 if [[ "$m" == "0" ]] then break fi done echo "$count"
true
4641ce0d97a7a6989108382c81efc409121c8482
Shell
tudat-team/test-feedstock
/recipe/build.sh
UTF-8
1,093
2.96875
3
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash if [[ "$OSTYPE" == "darwin"* ]]; then # Mac OSX ENABLE_TESTS=true BUILD_ESTIMATION_TOOLS=true NPROC=4 SKIP_JSON_TESTS=false # Reason: The job exceeded the maximum time limit for jobs, and has been terminated. # This will either have to be resolved by changing build config or paying ...
true