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
d8f8c4fee31a08610f3b0942e31b9d607c9b463a
Shell
heia-fr/telecom-tower-installer
/install.sh
UTF-8
1,261
3.1875
3
[]
no_license
#!/bin/bash echo "**********************************************************************" echo '* _____ _ _____ *' echo '* |_ _|__| | ___ ___ ___ _ __ ___ |_ _|____ _____ _ __ *' echo '* | |/ _ \ |/ _ \/ __/ _ \| '\''_ ` _ \ | |/ _ \ \ /\ / / _ \ ...
true
c37ad8d1a0f1a97e76c7203f15104ab888767223
Shell
Tech-XCorp/bilder
/packages/qt3d_aux.sh
UTF-8
2,004
3.3125
3
[]
no_license
#!/bin/sh ###################################################################### # # @file qt3d_aux.sh # # @brief Trigger vars and find information for qt3d. # # @version $Rev$ $Date$ # # Copyright © 2012-2017, Tech-X Corporation, Boulder, CO. # See LICENSE file (EclipseLicense.txt) for conditions of use. # #...
true
7afa4092b8c325e8de49e3d3922a0ca0c937161d
Shell
KizzyCode/Update-FreeBSD-Shell
/install.sh
UTF-8
964
3.265625
3
[ "MIT", "BSD-2-Clause" ]
permissive
#!/bin/sh set -eu # Get env PREFIX="${PREFIX:-/usr/local}" # Print status info echo "Creating entries..." # Create update.d directory install -v -d "$PREFIX/sbin" install -v -d "$PREFIX/libexec/update.d" # Install scripts install -v -m 0755 "sbin/update" "$PREFIX/sbin/update" install -v -m 0755 "libexec/update.d/00...
true
3f496f62b5121204318edff4b2584f37bd9224d2
Shell
alexjvr1/AriciaAgestis_PopGenMS
/FSC.FULLModel.ARRAY.sh
UTF-8
6,351
3.28125
3
[]
no_license
#!/bin/bash # Modified from Laurent Excoffier's script at https://github.com/vsousa/EG_cE3c/blob/master/CustomScripts/Fastsimcoal_Runs/runFsc.sh # The script will launch several runs of fastsimcoal as an array job # to estimate the demographic parameters from the SFS using a # conditional maximization (CM) of the param...
true
83d7b3037500bdcd117a0d87ce2a26e28457f378
Shell
diegofps/demo_openalpr
/bin/simulate_all
UTF-8
1,018
3.34375
3
[]
no_license
#!/bin/bash TARGET=$1 APPNAME=$2 REST_TIME=60 if [ -z $APPNAME ]; then echo "Sintax: $0 <TARGET=10.20.31.92> <APPNAME=openalpr|facedetection|tesseract>" exit 1 fi function run { CLUSTER=$1 PROXY=$2 ssh locust@$TARGET "cd /home/ngd/Sources/demo_openalpr/bin && sudo ./expose ${APPNAME} ${PROXY...
true
0e8640281a18ca72e3807815259d2adb132f3aaf
Shell
yangzhih/shell
/LogCollect/modules/sysconf/cpucheck.sh
UTF-8
2,685
3.09375
3
[]
no_license
#!/bin/sh # cpu information #echo -ne "###Following is CPU Information###\n" >>$DIR/result/cpuinfo.csv #echo "test====$DIR=====" ouputPath=$1 #echo "ouputPath==$ouputPath===" echo -ne "Vendor \t`cat /proc/cpuinfo |grep "vendor"|uniq |awk -F ':' '{print $2}'`\n" >>$ouputPath/cpuinfo.csv echo -ne "Model Name \t`cat /proc...
true
57b1f734b10afb58d4055bb45920845a1a9e67d3
Shell
radixxdl/seismichazardcalc
/WEB-INF/scripts/cron/gmt_cleanup.sh
UTF-8
761
3.21875
3
[]
no_license
# this script removes old gmt plots. it can be run manually if needed, but is currently # running every night at midnight as a cron job. it leaves directories that are only # 6 or less hours old, so that if you make a map close to midnight, it won't get deleted # until the next day # the data directory cd /usr/local/...
true
d026e6a8fd8f6a7a6ba81418c1e9ee53c04477bd
Shell
aklump/deploy_rollback
/routes/clean.sh
UTF-8
444
3.125
3
[ "BSD-2-Clause" ]
permissive
#!/usr/bin/env bash # # Route to clean rollback information # if may_rollback; then lobster_warning "This command will erase the rollback entry, making it so that a rollback is not possible." if lobster_confirm "Are you sure?"; then rm "$rb_data_dir/hash_rollback.txt" fi fi if ! may_rollback; then lobster_...
true
3825c0d0b4b25c8b3d478373882ef1f426d822ae
Shell
seanlokeee/ServianCD
/generate-sshkey.sh
UTF-8
404
2.515625
3
[]
no_license
#make the shell search for first match of bash in $PATH #!/usr/bin/env bash #-t algorithm -b keysize -f filetostorekey -q dontshowoutput -P passphrase ssh-keygen -t rsa -b 2048 -f ~/.ssh/ServianSSHKeyPair -q -P '' #sets permissions so that only owner can read to prevent unprotected private key file err chmod 400 ~/.ssh...
true
fcde6573e47592d20369c8187386512ba241d6c6
Shell
sidihamady/Comet
/Main/LibLua/LuaExt/build/gnu/build.sh
UTF-8
666
3.515625
4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash # Comet Build System # (C) 2010-2022 Pr. Sidi HAMADY # http://www.hamady.org # sidi@hamady.org BITS=$(getconf LONG_BIT) CWD=$(pwd) SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do SCRIPTDIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" SOURCE="$(readlink "$SOURCE")" [[ $SO...
true
bc076709ffec048ca5a6a576478b70a4b27aef97
Shell
josebummer/ugr_fundamentos_de_software
/Modulo 1/Practica 6/p6/for
UTF-8
95
2.734375
3
[]
no_license
#!/bin/bash for x in `seq 0 1 10`; do #let y='x*2' #let z='x * 2 + 1' echo $x done
true
200d1ad172681e047e8502f87e79d54d02986b9b
Shell
chivanillo/calculator
/gh-pages-deploy.sh
UTF-8
980
3.828125
4
[]
no_license
#!/bin/bash directory=_site branch=gh-pages build_command() { jekyll build } echo -e "\033[0;32mCreating $directory directory...\033[0m" mkdir $directory echo -e "\033[0;32mCreating $branch branch...\033[0m" git branch $branch echo -e "\033[0;32mUsing orphan branch to initialize $branch branch in a clean way...\03...
true
19a11ad8c86765bbe8b2705a438585a2a52d5c7a
Shell
12937995/shell_tool
/print env
UTF-8
285
3.28125
3
[]
no_license
#!/bin/bash #print the env of the process #writen by --lijunqi read -p "process name:" process process_id=$(pgrep $process) #no using ifs #oldIFS=$IFS for item in $process_id; do echo -e "\e[1;42m The env of "$item" is:\e[0m" cat /proc/$item/environ | tr '\0' '\n' done #IFS=$oldIFS
true
5d23c8cfdbf07d5a23c6b3c1a1f3bc9b0d769df3
Shell
pierrehenrymuller/Skywave-Linux
/full-sdr-upgrader.sh
UTF-8
7,902
3.0625
3
[]
no_license
#! /bin/sh # full-sdr-upgrader for Skywave Linux, version 0.9 # Copyright (c) 2018 by Philip Collier, radio AB9IL <webmaster@ab9il.net> # SDR Updater is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either ver...
true
45d02b29a8673708b42049cce12b4fa0084e3a65
Shell
markbucklin/dotfiles
/node/nvm.bash
UTF-8
310
2.796875
3
[]
no_license
#!/bin/bash # export NVM_DIR="$HOME/.nvm" # # [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" if [ $SHELL="/bin/bash" ]; then [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion fi # export PATH="`npm bin -g`:$PATH" # alias npm-ls-bin="ls $(npm bin -g)"
true
93d5399e832b013d094a7e72a05b5d66da61998a
Shell
tohax/Lamobo-D1
/src/librootfs/akaimer39lib/etc/init.d/wifi.sh
UTF-8
535
2.765625
3
[]
no_license
#!/bin/sh IP=192.168.1.123 GW=192.168.1.1 AP=TP PASS=acurarsx SSID=\"$AP\" PSK=\"$PASS\" if wpa_cli -iwlan0 list_networks | grep 0; then wpa_cli -iwlan0 remove_network 0; route del default gw $GW; fi wpa_cli -iwlan0 add_network wpa_cli -iwlan0 set_network 0 ssid $SSID wpa_cli -iwlan0 set_network 0 key_mgmt WPA-PSK wp...
true
12166541318b24087cdf8477080714c651026423
Shell
limoges/education
/iut/systems/tp2/test.sh
UTF-8
1,584
3.484375
3
[]
no_license
#/bin/sh N=/toto fail () { echo $@ ./sem_unlink $N 2>/dev/null ./shm_unlink $N 2>/dev/null exit -1 } # making the executables make -q all # cleaning up, just in case ./sem_unlink $N 2>/dev/null ./shm_unlink $N 2>/dev/null # doing the tests ./sem_create $N || fail sem_create failed ./sem_crea...
true
fc4ebabf5e86f6f78ae90c49f284c1a4c0f1ab69
Shell
berryhill/gf-frontend
/resources/deploy.sh
UTF-8
1,330
2.859375
3
[ "MIT" ]
permissive
#!/bin/bash set -e echo "Build Docker" docker build -t gcr.io/${PROJECT_NAME}/gf-frontend:$TRAVIS_COMMIT . docker tag gcr.io/${PROJECT_NAME}/gf-frontend:$TRAVIS_COMMIT gcr.io/${PROJECT_NAME}/gf-frontend:latest echo "Authenticate Google Cloud Engine" echo $GCLOUD_SERVICE_KEY | base64 --decode -i > ${HOME}/gcloud-serv...
true
a8948eb733dec7e54bf6080193d63cc3ef23b8ac
Shell
SCOTT-HAMILTON/extra
/instantshell/PKGBUILD
UTF-8
1,107
2.625
3
[]
no_license
# Maintainer: paperbenni <paperbenni@gmail.com> _pkgname=instantshell pkgname=$_pkgname pkgver=20204208429760e pkgrel=1 pkgdesc="zsh shell config for instantOS" url="https://github.com/instantOS/instantSHELL" arch=('any') license=('MIT') depends=('sh' 'zsh' 'bash') makedepends=('git') provides=(instantshell) conflicts=...
true
4c9f3a3750e38655051a18a13e5f3d88f485eed2
Shell
pnsn/squacapi
/scripts/bootstrap_local_db.sh
UTF-8
1,245
3.359375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # copy the staging subset to local docker postgres # docker db container must be running source app/.env if [ $1 ] then echo "bootstrapping from $1" else echo "Please provide source to bootstrap with" echo "bootstrap_local_db.sh staging|local" echo "local is a local sql file at...
true
77e9231fc64bccf162479feb0c4b096ffe7e38af
Shell
tyrone-dev/vpn_trafficjail
/vpn_traffic_jail.sh
UTF-8
2,264
3.78125
4
[]
no_license
#!/bin/bash # Script to ensure VPN is running with kill switch functionality DEBUG_MODE=true DEBUG_PATH=/usr/vpn_trafficjail/vpn_log.txt VPN_DIR=/etc/openvpn # directory where your opvn file is stored ISP_IP='' # set your ISP IP - mask is fine i.e. 171. or 171.2. # takes opvn file as cli argument VPN=$1 restartVPN(...
true
08c1afbbab23e44885c7315f0ddcd83a8df295ce
Shell
freight-trust/docker
/packages/tests/sleep.sh
UTF-8
215
3.640625
4
[ "MIT", "Apache-2.0" ]
permissive
#!/bin/sh exit_code="$1" die() { exit $exit_code } start_sleep() { echo "Waiting for SIGTERM or SIGINT to exit" while true do sleep 1 done } SIGINT=2 SIGTERM=15 trap die $SIGINT $SIGTERM start_sleep
true
85329274a3ce712323f39700309970535c8bea2d
Shell
bsubash/lab1-seviypolezhakin
/lab3/lab03_z45.sh
UTF-8
263
3.15625
3
[]
no_license
#!/bin/bash if [ -n "$1" ] && [ "$1" == "-task" ];then echo "Задание" echo "45. Печатать только те строки, которые совпадают с регулярным выражением." echo echo fi cat $1 | sed '/regex/!d' exit 0
true
a7ea4d6b9373aa94045c353f5b8a4d5d1e95c30d
Shell
ory/sdk
/scripts/init.sh
UTF-8
1,236
2.671875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -Eeuo pipefail # Do not accidentally echo keys set +x echo $MVN_GPG_ASC_BASE64 | base64 -d | gpg --batch --no-tty --import --yes mkdir -p ~/.gem mkdir -p ~/.m2 echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc echo "---" >> ~/.gem/credentials echo ":rubygems_api_key: $RUBYGEMS_TOKEN" >...
true
8b7aa4c121ef9e8d19d3547c0d93d020d924a981
Shell
streemline/LinuxScripts
/Applications/zsh/zshrc
UTF-8
1,997
2.984375
3
[ "MIT" ]
permissive
# Created by https://github.com/EdJoPaTo/LinuxScripts/tree/master/Applications/zsh # Heavily inspired by https://github.com/ChrisTitusTech/zsh uptime if [[ -d "/usr/share/zsh/plugins" ]]; then # probably Arch Linux ZSH_PLUGINS=/usr/share/zsh/plugins else # probably macOS ZSH_PLUGINS=/usr/local/share fi if [[ -d ...
true
d0f895c77141930396b23c367bf434f6e427d01b
Shell
mckernanin/denverdevs.org
/clearcache.sh
UTF-8
788
3.71875
4
[ "MIT" ]
permissive
#!/bin/bash POSITIONAL=() while [[ $# -gt 0 ]] do key="$1" case $key in -e|--email) AUTH_EMAIL="$2" shift # past argument shift # past value ;; -k|--authkey) AUTH_KEY="$2" shift # past argument shift # past value ;; -z|--zone) ZONE="$2" shift # past argument shi...
true
a325ea5578040da6bf7e2c11c3124ab361b369a8
Shell
GeoscienceAustralia/dea-dev-infra
/scripts/code_check.sh
UTF-8
1,249
4
4
[]
no_license
#!/usr/bin/env bash # Convenience script for running Travis-like checks. set -eu set -x { readarray -t PY_FILES < <(find lambda_functions ! -name 'test_*.py' ! -path '*node_modules*' ! -path '*.serverless*' -name '*.py') } &> /dev/null # Lint and formatting check of all python files in lambdas pycodestyle "${PY_F...
true
80b60c50427aec8729d0e8c8c3d8c07a32a4c9e7
Shell
CyberShadow/aconfmgr
/test/t/t-2_apply-1_packages-6_aur-1_makepkg-2_root.sh
UTF-8
660
2.59375
3
[ "MIT" ]
permissive
#!/bin/bash source ./lib.bash # Test building AUR packages when aconfmgr was launched as root. TestNeedRoot TestNeedAUR TestPhase_Setup ############################################################### TestAddPackageFile test-package /testfile.txt 'File contents' TestCreatePackage test-package foreign TestAddConfig Add...
true
3fa2dc4eb39c6955363908c3d0285626ed22f917
Shell
SupLinux/jmeter-openshift
/openshift/start_test.sh
UTF-8
1,382
3.734375
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash #Script created to launch Jmeter tests directly from the current terminal without accessing the jmeter master pod. #It requires that you supply the path to the jmx file #After execution, test script jmx file may be deleted from the pod itself but not locally. if [ $# -lt 3 ]; then echo "Input p...
true
af15834ce80125ee7786361151996db7d9a32a0a
Shell
SmartRouter/BuildRoot_v2
/base/pkgsrc/root/usr/sbin/execpak
UTF-8
1,001
3.828125
4
[]
no_license
#!/bin/sh #ExecPak 1.0 by Washington Rodrigues 2008# usage() { echo;echo "execpak [name of addon].";echo exit } MNT="/var/lib/lrpkg/mnt" . /tmp/boot.info [ -z "$1" ] && usage mount -o ro /dev/boot $MNT -t $FSTYPE FILENAME="$MNT/"`basename $1 .tgz`".tgz" [ ! -e "$FILENAME" ] && { echo;echo "Addon Packet not found!";echo...
true
d01b18f3907fc929c7942c9958a2d145005c6fc6
Shell
jan-safar/vdes_tech_spec
/md_to_docx.sh
UTF-8
954
3.765625
4
[]
no_license
#!/bin/bash REFERENCE_DOC_OPT="" OUTPUT_FILE="output/technical_specification_of_vdes-pandoc.docx" while getopts ":t:" opt; do case $opt in t) case $OPTARG in pandoc) echo "Using the standard pandoc template." ;; iala) echo "Using the IALA Guideline template." REFERENCE_DOC_OPT="--refe...
true
49e923dc9b6e7d14139fe8dc6474f316ce4523b0
Shell
Ozgurujim/slims8
/conf.d/10downloads
UTF-8
242
2.734375
3
[]
no_license
#!/bin/bash -ex dl() { [ "$FAB_HTTP_PROXY" ] && PROXY="--proxy $FAB_HTTP_PROXY" cd $2; curl -L -f -O $PROXY $1; cd - } VERSION="master.zip" URL="https://github.com/slims/slims8_akasia/archive/$VERSION" dl $URL /usr/local/src
true
4e491d32239f585beff51e95c2de4de1021b350b
Shell
Pandade1997/speaker_asvspoof
/make_data/prepare_data_bk.sh
UTF-8
3,685
3.046875
3
[]
no_license
#!/bin/bash #datalst=$1 #datadir=$2 #stage=$3 CUDA_DEVICES=1 stage=3 datalst=/exdata/HOME/snie/DeepNoiseTrackingNetwork/data/speech/speech.lst datadir=/exdata/HOME/snie/DeepNoiseTrackingNetwork/data/ words_vocab_file=word_seg_vocab.txt # Prepare wav.scp, text, utt2spk, spk2utt, utt2data and data2utt from a dataset_ls...
true
e1b3be40479faf9fc4363b5f67dcd2bc80a4e7a9
Shell
xtuling/study_center
/trunk/Common/DeployScript/task/dt.sh
UTF-8
1,239
3.640625
4
[]
no_license
#!/usr/bin/env bash # 发布环境配置 PROJ_DIR="$WORKSPACE/" # 发布工程目录 CONFIG="Conf_" # 新框架配置名称 PACKAGE_NAME=`basename $0 sh`"tar.gz" # 打包名称 VERSION=$(date +%Y%m%d%H%M%S)"_"`basename $0 sh`"tar.gz" # 备份版本名称 # 以下变量值根据上线的应用自行修改 HOS...
true
6444fc9e0dcd17be70da569db6a4d96580293530
Shell
rephus/chromium-screensaver
/chromium-screensaver.sh
UTF-8
638
3.375
3
[]
no_license
#!/bin/bash app="https://www.youtube.com/embed/jI-kpVh6e1U?loop=1&iv_load_policy=3&controls=0&autoplay=1&autohide=1&showinfo=0" wait=5000 #Time in miliseconds chromium_id="" while true; do idle=`xprintidle` if [ $idle -gt $wait ]; then if [ -z $chromium_id ]; then chromium-browser --app="$app" ...
true
843b2344f443f0bdd2dd30bb4f26fb3056896e32
Shell
jammm/Langevin-MCMC
/tup/test/t2188-tup-ln.sh
UTF-8
1,919
3.28125
3
[ "GPL-2.0-only", "MIT" ]
permissive
#! /bin/sh -e # tup - A file-based build system # # Copyright (C) 2015-2018 Mike Shal <marfey@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distribu...
true
ec5537e46feb572d98bb9a3f1dc88549487613c8
Shell
NIU1606853/Oscars
/Opcio1
UTF-8
2,232
3.359375
3
[]
no_license
#!bin/bash function MENU () { echo " -------------------------------------------------- Històric d’Oscars -------------------------------------------------- 1.1 Mostrar històric d’Oscars a millor actor (alfabètic). 1.2 Mostrar històric d’Oscars a millor actriu (edat) 1.3 Mostrar històric d’Oscars (actors/a...
true
5ffd87054f3d9fbafb2dad3018f2bb05503399fe
Shell
alecwhittington/dotfiles
/coleman/install.sh
UTF-8
1,056
3.71875
4
[]
no_license
#!/bin/sh # # Coleman # # This installs Coleman. echo "🧞‍♂️" echo " 🧞‍♂️ Checking for Coleman 🧞‍♂️" # Check for Coleman if test ! $(which coleman); then echo " Installing 🧞‍♂️ Coleman for you." if [ -d "$HOME/.coleman" ]; then echo " Coleman config directory already exists" else echo " ...
true
c4eb5e4d63b939e451c7b91ae7b17eb97fce5293
Shell
osbilln/shell
/fi-build-all.sh
UTF-8
48,144
3.390625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -e # set -x source /etc/profile function log() { local msg=${1?} >> $LOG_FILE echo -ne `date +['%Y-%m-%d %H:%M:%S']`" $msg\n" >> $LOG_FILE } function mk_dir() { local dir=${1?} if [ ! -e $dir ]; then mkdir -p $dir fi } function check_error { if [ $? -ne 0 ] ; then ...
true
2bfb4bfe5573ffd29f777b4373b4c023353eaf0d
Shell
zetkin/translators-interface
/nginx/run.sh
UTF-8
613
3.421875
3
[]
no_license
#!/bin/sh set -e exec 2>&1 echo "Generating nginx config files" rm /etc/nginx/sites-enabled/* for tpl in /etc/nginx/sites-templates/*.conf do conf=`basename $tpl` envtpl < $tpl > /etc/nginx/sites-enabled/$conf done if [ -n "$APP_USE_TLS" ] then echo "Requesting TLS certificate for system" letsencryp...
true
cff7a5138174814ffb0c612e2e8d6aa664b12aeb
Shell
egetin/dotfiles
/.bashrc
UTF-8
496
2.609375
3
[]
no_license
# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # Uncomment the following line if you don't like systemctl's auto-paging feature: # export SYSTEMD_PAGER= # User specific aliases and functions # Basic paths to use in common distributions export VISUAL=vim export EDITOR="$VISUAL" ...
true
ec3f849d2c80ea7da32944ff35a3c2d36658c808
Shell
self20/swerpbox
/docker/frontend/make-ssl
UTF-8
316
2.515625
3
[]
no_license
#!/usr/bin/env sh # Short helper script to generate self signed SSL certificates. mkdir -p /config/frontend/certs openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 \ -subj "/C=SB/ST=SwerpBox/L=SwerpBox/O=SwerpBox/CN=$1" \ -keyout /config/frontend/certs/ssl.key -out /config/frontend/certs/ssl.crt
true
3a6ff26e1464d7c931b0900160a133a8c4e0ac87
Shell
JasonEX/pan-web
/aux-files/entrypoint.sh
UTF-8
2,229
3.390625
3
[]
no_license
#!/bin/bash set -eux # Host entry fix ping -c1 -q host.docker.internal 2>&1 | grep "bad address" >/dev/null && echo "$(ip route show | awk '/default/ {print $3}') host.docker.internal" >> /etc/hosts && echo "Hosts File Entry Added" || : sed -i 's#^DocumentRoot ".*#DocumentRoot "/var/www/html"#g' /etc/apache2/httpd.co...
true
60f5cb94584274e822911f3d0e2823ee7a72dbdb
Shell
bogdanap/worker
/script/package-build
UTF-8
2,991
3.96875
4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/usr/bin/env bash set -o errexit main() { : "${CHECKOUT_ROOT:=${TRAVIS_BUILD_DIR:-/code}}" # shellcheck source=/dev/null source "${CHECKOUT_ROOT}/packaging/functions.bash" # shellcheck source=/dev/null source "${CHECKOUT_ROOT}/packaging/config.bash" __define_platform "$1" : "${PACKAGE_TYPE:=${2}}" ...
true
18b5dc1555cd1b560c317cabf67c5afe25b6541d
Shell
ernestgwilsonii/CLC_Blueprint_Packages_on_Linux_Training
/b.sh
UTF-8
1,115
3.046875
3
[]
no_license
#!/bin/bash # # _____ _ _ _ _ _____ _ _ # / __ \ | | | | (_) | | / __ \ | | | # | / \/ ___ _ __ | |_ _ _ _ __ _ _| | _ _ __ | | __ | / \/ | ___ _ _ __| | # | | / _ \ '_ \| __...
true
7a9c6d1e8d18f09ee207e9191a49f33e2ca64e32
Shell
ImpossibleShape/kde-ruleset
/converted/KDE/kdebindings/kdebindings-ruby-filterbranch
UTF-8
420
2.703125
3
[]
no_license
#!/bin/bash bindir="${RULESETDIR:?\$RULESETDIR must point to the kde-ruleset directory}/bin" source "$bindir/filter-goodies" tempdir="$(calc_tempdir rubyfilterbranch)" git filter-branch --tag-name-filter cat -d "$tempdir" --tree-filter ' handle_move() { if test -d old/$1; then if test -d $1; then rm -rf...
true
f3e0fc5c9c7ab67e5ee3398a33c34ba911cdad82
Shell
aline-cruz/posix-
/lab5.sh
UTF-8
2,019
3.625
4
[]
no_license
#!/bin/bash #script de forma interactiva para las instrucciones que se piden en el lab1 dentro del repositorio de linux-labs https://github.com/tuxtter/linux-labs/blob/master/Linux-basic-Labs/linux-lab2.sh #este funciona mediante 2 arreglos en los que se guardan los textos de las instrucciones y las respuestas array=('...
true
00663180597e8838eb5a71afb210530edd0022af
Shell
synth3sis/i2checks
/plugins/check_switchalive
UTF-8
183
3.0625
3
[]
no_license
#!/bin/bash host=$1 ping -c 2 $1 1>/dev/null 2>/dev/null if [[ $? -eq 0 ]]; then exitCode=0 echo "SWITCH ALIVE" else exitCode=2 echo "SWITCH DOWN" fi exit $exitCode
true
c266f6af887b10654d5f71c8b0f2596f7f61b876
Shell
nb/impromptu
/bin/impromptu-client
UTF-8
576
3.703125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # Record the shell's environment. REQUEST="$(printenv)" # Set the current shell. if [ -n "$1" ]; then REQUEST+=" IMPROMPTU_SHELL=$1" fi generate_prompt() { curl --max-time 1 --silent \ -H "Accept: application/json" -H "Content-type: application/json" \ -X POST -d "$REQUEST" http://localho...
true
e2ca05c0e77bc0ad69c1adf1175fd7e62b8cdb94
Shell
mpskex/MyThesis
/figures/pdfcrop.sh
UTF-8
210
3.328125
3
[]
no_license
#!/bin/bash # crop all pdf with `_pad` note filelist=`ls -1 | grep _pad` filelist=(${filelist// /,}) num=${#filelist[*]} for ((i=0; i<$num; i++)) do { pdfcrop ${filelist[i]} ${filelist[i]//_pad/} } done
true
8b571417db9567522fd2510a125b0b9e45109a3d
Shell
duy-tran/unix1
/QT project/search.sh
UTF-8
758
3.4375
3
[]
no_license
#!/usr/local/bin/bash SAVEIFS=$IFS IFS=$(echo -en "\n\b") #echo -e "\e[96mList of images in $1" declare -A number i=0 for var in `find "$1" -name "$2" -type f -exec file {} \; | awk -F: '{if ($2 ~/.*kbps.*kHz.*/) print $1}'` do fileName=$(basename "$var") if [ -z "${number[$fileName]}" ] then number[$fileName]=1 ...
true
4bc8b76f91db3bbb073e691b9ccb0e323fea6f26
Shell
r0ckms0ckm/urbanist-bots
/everylothartfd/build.sh
UTF-8
1,586
3.015625
3
[]
no_license
#!/bin/bash set -euo pipefail rm -f parcels-projected.db parcels.db # https://openhartford-hartfordgis.opendata.arcgis.com/datasets/parcels curl -o parcels.zip https://opendata.arcgis.com/datasets/67dfdd25d3b4450c9db1313c73c90f0c_11.zip unzip parcels.zip layer=$(ogrinfo Parcels.shp | grep '1: ' | awk '{print $2}') ...
true
28806c2f5eccc09504e421b09cf4136c678ecf58
Shell
V-ampire/kmsjob
/scripts/install.sh
UTF-8
1,948
3.390625
3
[]
no_license
#!/bin/bash base_python_interpreter="" project_domain="" project_path=`pwd` # Загрузить переменные окружения export $(xargs < backend/.env) # Задать интерпритатор Python read -p "Python interpreter: " base_python_interpreter # Домен сайта read -p "Your domain without protocol (for example, google.com): " project_dom...
true
d7486e7c536064b00f662ebf3414a505a6e4b313
Shell
a-barinov/liteqube
/2.Network/default.net-dispvm/debian-core/etc/protect/template.core-net/config/rc.local
UTF-8
1,020
3.078125
3
[]
no_license
#!/bin/bash while ! ps -A | grep qrexec-agent >/dev/null 2>&1 ; do sleep 1 done sleep 1 mkdir -p -m 700 /run/liteqube qrexec-client-vm core-keys liteqube.SplitFile+secret_key > /run/liteqube/secret_key chmod 600 /run/liteqube/secret_key for LINK in /etc/NetworkManager/system-connections/* ; do [ -L "${LINK}"...
true
1bf2684195801549c018c835693bc09d8d394d0b
Shell
Giinge/downboy
/downboy
UTF-8
129
3.015625
3
[]
no_license
#!/bin/bash for PORT in $@ do PID=$(lsof -i :$PORT | awk 'FNR ==2 {print $2}') echo "kill -9 $PID" kill -9 $PID done
true
3e242b8e48330c85200546a913083cdc4d7eeefe
Shell
JannikLassahn/dotfiles
/install.sh
UTF-8
383
2.53125
3
[]
no_license
#!/bin/bash dir=~/.dotfiles # Remove existing files sudo rm -rf ~/.tmux.conf > /dev/null 2>&1 sudo rm -rf ~/.zshrc > /dev/null 2>&1 sudo rm -rf ~/.p10k.zsh > /dev/null 2>&1 sudo rm -rf ~/.config/nvim > /dev/null 2>&1 # Symlink new files ln -sf $dir/tmux/tmux.conf ~/.tmux.conf ln -sf $dir/zsh/.zshrc ~/.zshrc ln -sf $...
true
a648253f111b14d273e1f03ee15012fe6156d1b7
Shell
bioe007/config-bash
/alias.sh
UTF-8
999
2.6875
3
[]
no_license
# ls alias l.='ls -lAdF ${H} ${LS_COLOUR} .*' # list only hidden things alias la='ls -lAF ${H} ${LS_COLOUR}' # list all alias ll='ls -lF ${H} ${LS_COLOUR}' # list long alias ls='ls -F ${LS_COLOUR}' # list with flags # packaging alias p="sudo pacman" alias c="sudo clyde" alias mp="makepk...
true
d7725e78fc843b4bc42eb3b4c58c1ddd751cdf58
Shell
stiga-huang/topN-freq-urls
/build.sh
UTF-8
315
3.53125
4
[]
no_license
#!/bin/bash : ${CMAKE_BUILD_TYPE:=Debug} # parse command line options for ARG in $* do case "$ARG" in -release) CMAKE_BUILD_TYPE=Release ;; -asan) CMAKE_BUILD_TYPE=ADDRESS_SANITIZER ;; esac shift; done cmake . "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}" make -j4
true
158a5bcf227051d3bd7efa718963fcb440818e9a
Shell
gnowledge/gstudio-docker
/scripts/numa-arch-check.sh
UTF-8
396
2.9375
3
[]
no_license
#!/bin/bash #--------------------------------------------------------------------------------------------------------------# export GNUM_ARC=NO_IDEA; num_o=`numactl --show | grep -w "cpubind" | grep -v 'cpubind-' | awk '{gsub("cpubind: ", "");print}'`; if [ $num_o == "0" ]; then echo "Numa arch - No" ; export...
true
648432bc7f8dfae0ce27842694d0cceed4a9dedf
Shell
philipstears/dotfiles
/install
UTF-8
294
3.03125
3
[]
no_license
#!/usr/bin/env bash set -eu -o pipefail cd "$(dirname "${BASH_SOURCE[${#BASH_SOURCE[@]} - 1]}")" source ./include/utils main() { ensure_not_root install_base install_packages } install_base() { sudo ./base/install ./base/config } install_packages() { ./packages/install } main
true
fc1cf8c11ef4b58664f48a76d6aeb1c52cc5fda1
Shell
siler/dotfiles
/home/.zshrc
UTF-8
1,721
2.703125
3
[]
no_license
# Update path first to prioritize /usr/local/bin export GOPATH=$HOME/code/go export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:$GOPATH/bin:/usr/lib/go/bin # Path to your oh-my-zsh configuration. ZSH=$HOME/.oh-my-zsh # Set name of the theme to load. # Look in ~/.oh-my-zsh/themes/ # Optionally, if y...
true
893c49a66e61921941482a983f78671c7ec76140
Shell
hu7777chenyi/Shell
/secure/essh.sh
UTF-8
1,514
3.15625
3
[]
no_license
trap "echo '(closed)';exit 3" 1 2 USERNAME=`whoami` tips="Tips: Password is valid for three months If prompted to change the password 1. Please enter the original password 2. Change the password ( Length >=10 bit, must contain three of alphabet [lower or upper], digital and symbol) Any ...
true
365b68bc95f4c195ce5fe216b833bf67d6fc5bbb
Shell
RDCEP/1896
/run_all.reference.canada.sh
UTF-8
1,494
2.609375
3
[]
no_license
#!/bin/bash for c in barley rapeseed; do echo Running $c . . . bin/reference/downscaleCanadaReference.py -i data/$c/final/${c}.canada.reference.province.nc4 \ -g data/$c/aux/${c}.spam.nc4 \ -a data/$c...
true
7cdc75c8db361d400ffbcd48a3e139b092216e65
Shell
intel/intel-iot-refkit
/meta-refkit-core/recipes-ostree/initramfs-framework-ostree/files/ostree
UTF-8
2,453
4
4
[ "MIT" ]
permissive
#!/bin/sh # We consider the ostree module always enabled if it is installed. ostree_enabled () { if [ -d /rootfs/ostree/deploy ]; then return 0 else info "ostree: doesn't look like an ostree-based image... disabling." return 1 fi } # Prepare the latest ostree deployment for pivot-r...
true
63657ce8dbfcf0a2e7756a56905af402f798bea0
Shell
jew5490/aws-sample-lab-cw-dashboard
/scripts/get-peak-event-instances.sh
UTF-8
1,232
3.484375
3
[]
no_license
#!/bin/bash -e declare -a regions=( "eu-north-1" "ap-south-1" "eu-west-3" "eu-west-2" "eu-west-1" "ap-northeast-3" "ap-northeast-2" "ap-northeast-1" "sa-east-1" "ca-central-1" "ap-southeast-1" "ap-southeast-2" "eu-central-1" "us-east-1" "us-east-2" "us-west-1" "us-west-2" ) arns=() for i in "${regions[@]}" do ar...
true
58ad97e8d0358ebbb6aec37fbd02e2f6348fc7cf
Shell
tuw-cpsg/tuw-latex-beamer-theme
/install.sh
UTF-8
876
4.0625
4
[ "MIT" ]
permissive
#!/bin/sh ## # @date 2016-09-13 # @brief Installs the theme locally. # # Local manual installation as described in: # https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages # http://tex.stackexchange.com/questions/1137/where-do-i-place-my-own-sty-or-cls-files-to-make-them-available-to-all-my-te ## THEMEDIR=tuw...
true
6d01d81aae5cc5be462879f2f43c663b02dc9a2f
Shell
google-code/android-io-model
/samsung/app/AdobeReader/loadtime.sh
UTF-8
646
2.65625
3
[]
no_license
pane_time=`cat adobe.log|grep adobe|grep Displayed|grep Pane|cut -d'+' -f2|cut -d' ' -f1` total=`/scratch/suli/android/samsung/app/AdobeReader/parse_ms.sh $pane_time` echo "pane time:" echo $total echo $total >> $1 reader_time=`cat adobe.log |grep adobe|grep Displayed|grep .AdobeReader|cut -d'+' -f2` total=`/scratch/s...
true
884fa0f6a1dfa7039712e61d73857ed9305a517b
Shell
edge2992/PARIS
/SRA/advance/a021samsort.qsub
UTF-8
1,102
2.609375
3
[]
no_license
#!/bin/sh #$ -S /bin/bash #$ -cwd #$ -l short #$ -l s_vmem=4G,mem_req=4G #$ -pe def_slot 16 #$ -o ./log #$ -e ./log PROJECTPATH="/lustre7/home/edge2992/myprojects/PARIS" TARGETFILE="SRR2814766_head10000.fastq.gz" TARGETID=$(basename $TARGETFILE .fastq.gz) source ~/.bashrc TRIMMOMATIC="/usr/local/biotools/t/trimmomat...
true
c3e95c114dbd383f385463bbb7b0b9bfdbf5a442
Shell
henri/rbenv-plug
/bin/rbenv-unplug
UTF-8
1,399
4.21875
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # # Summary: Remove plugins. # # Usage: rbenv unplug [-f|--force] <plugin> [<plugin> ...] # # -f Attempt to remove the specified plugins without prompting # for confirmation. If the plugins do not exist, do not # display an error message. set -euo pipefail [ -n "${RBENV_DEBUG-}" ]...
true
5ecb67fbc80c4969dd1f227e512c30e93234ad0b
Shell
markalward/compiler
/runtests.sh
UTF-8
765
3.90625
4
[]
no_license
#!/bin/bash # this shell script runs tests in a given directory. TESTDIR # must be set to the desired directory when running this script. for test in ${TESTDIR}/* do testname=$(basename $test) if [[ $testname =~ .*good.* ]] ; then str="success" else str="failure" fi echo "running test ${testname} (expected $...
true
3c471fcc3390f204b786c2436f418d211994cc8c
Shell
g2graman/ProjectEuler
/scripts/run_tests.sh
UTF-8
1,200
3.828125
4
[]
no_license
#!/bin/bash #ICDIFF=icdiff #if [ -d ./bin ] && [ -f ./bin/icdiff ]; then # ICDIFF=./bin/icdiff #fi if [[ -n "${RACKET_DIR-}" ]] && [[ -e "$RACKET_DIR/bin/racket" ]]; then RACKET="$RACKET_DIR/bin/racket" else RACKET=racket fi SELECTED_FIXTURES=$1 if [ -z "${1-}" ]; then for file in $(ls); do if [ $(ls "$file"...
true
4350efe8b65afbf1a798df1bab69165a32b764ae
Shell
atomicturtle/t-stig
/RHEL-06-000258.sh
UTF-8
2,861
2.953125
3
[ "MIT" ]
permissive
#!/bin/bash # ########################################################################## #Red Hat Enterprise Linux 6 - DISA STIG Compliance Remediation Content #Copyright (C) 2013 #Vincent C. Passaro (vince@buddhalabs.com) # ########################################################################## # #################...
true
861f6fda8b9b91de065fa40a3ea3c5bd34c85052
Shell
CHTAP/extractors
/docker/run_extractors.sh
UTF-8
1,824
3.03125
3
[]
no_license
INFILE=$1 CONFIG=$2 DBNAME=docker # Exporting CUDA env CUDA_VISIBLE_DEVICES=0 # Initializing database and moving to container home #echo "Creating Database: $DBNAME" cd /home/repos/extractors/src/shell #sh ../src/utils/kill_db.sh ${DBNAME}; # Activating environment source activate chtap # Creating database echo ...
true
3af0650026389b882d8d056c81ecb2de61c5ebeb
Shell
strin/caffe-android-opencl
/scripts/get_eigen.sh
UTF-8
680
3.5625
4
[ "BSD-2-Clause-Views" ]
permissive
#!/usr/bin/env sh set -e EIGEN_VER1=3 EIGEN_VER2=2 EIGEN_VER3=7 EIGEN_DOWNLOAD_LINK="http://bitbucket.org/eigen/eigen/get/${EIGEN_VER1}.${EIGEN_VER2}.${EIGEN_VER3}.tar.bz2" EIGEN_TAR="eigen_${EIGEN_VER1}.${EIGEN_VER2}.${EIGEN_VER3}.tar.bz2" EIGEN_DIR=eigen3 WD=`pwd` DOWNLOAD_DIR=${WD}/download INSTALL_DIR=${WD}/andr...
true
8402627195d94224b54fe2ee23cc8f15b0941f63
Shell
santhosh-tekuri/dotfiles
/bin/go-publish
UTF-8
152
2.84375
3
[]
no_license
#!/usr/bin/env bash set -e if [ $# = 0 ]; then >&2 echo 'usage: go-publish PACKAGE@VERSION' exit 1 fi GOPROXY=proxy.golang.org go list -m $1
true
50036312bcf592aa9b6b64a58413341316a00dd6
Shell
lingsamuel/shell-utils
/stack.sh
UTF-8
1,621
3.765625
4
[]
no_license
#!/bin/bash new_stack() { local STACK_NAME=$1 local STACK_SIZE=${2:-100} declare -ax $STACK_NAME # 生成 BP、SP local STACK_BASE_POINTER_NAME="${STACK_NAME}_BP" export $STACK_BASE_POINTER_NAME=$STACK_SIZE local STACK_POINTER_NAME="${STACK_NAME}_SP" export $STACK_POINTER_NAME="${!STACK_BASE...
true
d80ab2c545c26c503bc8446177392304baefab10
Shell
LeiWang1999/videoScript
/mkv_ch2mp4_sub_ch1.sh
UTF-8
420
3.03125
3
[]
no_license
#!/bin/bash # mkv视频转mp4带字幕 bitrate=$1 filelist=$(find *.mkv) if [ ! $bitrate ]; then for filename in *.mkv do ffmpeg -i $filename -c:v libx264 -c:a aac -map 5:s:0 subtitles=$filename default -c:a aac -strict -2 "${filename%.*}".mp4 done else for filename in *.mkv do ffmpeg -i $filename -b $bitrate -c:v libx264 -c:a a...
true
6268a2bb59d0b2846b0f90d0ff2cebb74fa3e5e9
Shell
gaiar/conda-recipes
/recipes/casa-tools/build.sh
UTF-8
2,742
3.359375
3
[ "MIT", "BSD-3-Clause" ]
permissive
#! /bin/bash # Copyright 2015-2017 Peter Williams and collaborators. # This file is licensed under a 3-clause BSD license; see LICENSE.txt. [ "$NJOBS" = '<UNDEFINED>' -o -z "$NJOBS" ] && NJOBS=1 set -e test $(echo "$PREFIX" |wc -c) -gt 200 # check that we're getting long paths export PATH="$PREFIX/qt4/bin:$PATH" # P...
true
8821681f6cc53d833c18e675a35c1bc40aab4c64
Shell
pwyoung/computer-setup
/ubuntu/defunct/usb-wifi.sh
UTF-8
905
2.734375
3
[]
no_license
# Resources # https://ubuntuforums.org/showthread.php?t=2361347 # https://unix.stackexchange.com/questions/332886/how-to-get-see-error-message-in-journald # For awus036ach ac1200 wireless adapter # # Make sure it's not installed. # Turning the wifi off required reinstallation sudo apt-get remove rtl8812au-dkms || ...
true
217e772b9342df9b6ae7cade037a2318e94dd3c0
Shell
tiberiuc/docker-mongodb
/scripts/backup.sh
UTF-8
260
2.828125
3
[ "MIT" ]
permissive
#!/bin/bash BACKUP_FOLDER=/tmp/backup BACKUP_FILE=/tmp/mongodb.tgz rm -f ${BACKUP_FILE} rm -rf ${BACKUP_FOLDER} mkdir -p ${BACKUP_FOLDER} cd ${BACKUP_FOLDER} mongodump --quiet tar -czf ${BACKUP_FILE} * cd / rm -rf ${BACKUP_FOLDER} echo ${BACKUP_FILE}
true
ebbc2640582f2a3e588f95e1761d8a30a65c4c53
Shell
thedatasociety/lab-cassandra
/binder/start.cassandra
UTF-8
711
3.234375
3
[]
no_license
#!/bin/bash echo "Starting cassandra" cd $CASSANDRA_HOME mkdir logs mkdir data #solving the nightmare #setting min (-Xms) and max (-Xmx) heap sizes to echo "-Xms1G" >> $CASSANDRA_HOME/conf/jvm.options echo "-Xmx2G" >> $CASSANDRA_HOME/conf/jvm.options #had to edit the script to avoid user id problems. See the comme...
true
9fe541c9a3b9131a6898d4b53d340c0f0ebdc161
Shell
mzeeshan01/parmibench
/scripts/gen_defs.sh
UTF-8
324
3.40625
3
[]
no_license
#!/bin/bash OUTFILE=$1 PROCESSORS=$2 NAME=$(echo $1 | sed 's|\([^.]*\).*|\1|' | tr '[:lower:]' '[:upper:]') echo "#ifndef _${NAME}_H_" > $OUTFILE echo "#define _${NAME}_H_" >> $OUTFILE echo "" >> $OUTFILE echo "#define PROCESSORS $PROCESSORS" >> $OUTFILE echo "" >> $OUTFILE echo "#endif /* _${NAME}_H_ */" >> $OUTF...
true
aab464c0ae091e367a5a7f4034430656304d78d7
Shell
phcerdan/configuration_files
/load_scripts/binCentos/staticRelease-HOME-dev.sh
UTF-8
403
3.109375
3
[]
no_license
#!/bin/bash export staticRelease_folder=~/devtoolset/staticRelease if echo $staticRelease_loaded |grep -q 'loaded' then echo "staticRelease already loaded" else export staticRelease_loaded='loaded' #Modify path for dependancies of OPENFOAM: CGAL export PATH=$staticRelease_folder/bin:$PATH export LD_LIBRARY_PATH=$s...
true
e5048736a8b5327bda6a54f3369b06e5b787604c
Shell
tiffany-taylor/Voting
/containers/installer/entrypoint.sh
UTF-8
440
2.8125
3
[ "MIT" ]
permissive
set -e set -x ENV_TO_USE=${ENV_DESCRIPTION:=default} echo "ENV_TO_USE is ${ENV_TO_USE}"; php composer.phar install # Generate config settings used per environment php vendor/bin/configurate \ -p server_config.php \ autoconf.source.php \ autoconf.php \ $ENV_TO_USE php cli.php misc:wait_for_db php...
true
e6d44220d8ae53aac145932cd88f2809cdc0fc94
Shell
ooftv/ooftvstreamtools
/tools/oofautocompressor.sh
UTF-8
2,758
3.640625
4
[]
no_license
#!/bin/bash # this is a simple script that compresses folders that are auto-downloaded to, # then moves the compressed versions into a compress folder. # It should only compress new items # it does this by comparing the download folder to the compress folder and compresses any missing items # this gets called by the m...
true
dbe4b84c7b5547abef80562eb1ed448e7f6a30cd
Shell
holomorph/freefem
/tetgen/PKGBUILD
UTF-8
591
2.765625
3
[]
no_license
pkgname=tetgen pkgver=1.5.0 pkgrel=2 pkgdesc="A Quality Tetrahedral Mesh Generator" arch=('i686' 'x86_64') url="http://wias-berlin.de/" license=('AGPL3') options=('staticlibs') source=("http://wias-berlin.de/software/tetgen/1.5/src/$pkgname$pkgver.tar.gz") sha256sums=('4d114861d5ef2063afd06ef38885ec46822e90e7b4ea38c864...
true
9cf7d5098490457562084bacb4be5b38892b99f2
Shell
luoweidd/bash-shell
/ghy-opvs/ghy-create_gitlab.sh
UTF-8
842
2.6875
3
[]
no_license
#!/bin/bash platform=`uname -i` if [ $platform != "x86_64" ];then echo "this script is only for 64bit Operating System !" exit 1 fi echo "the platform is ok" cat << EOF +---------------------------------------+ | your system is CentOS 7 x86_64 | | start optimizing....... | +---------------------...
true
e5bc8a69aeec713fd226f0be5bc559198bdbaf02
Shell
vkhatri/chef-nrpe
/test/integration/default/bats/lwrp.bats
UTF-8
340
2.59375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash @test "lwrp installs check_iowait nrpe" { run test -f /etc/nagios/nrpe.d/check_iowait.cfg [ "$status" -eq 0 ] run test -f /usr/lib/nagios/plugins/check_iowait.sh [ "$status" -eq 0 ] } @test "lwrp does not install check_test nrpe" { run test -f /usr/lib/nagios/plugins/check_test [ ...
true
0852f91af69a5166f6462edfbe7cefbdb17b4616
Shell
broadinstitute/viral-ngs-deploy
/virtualized/run.sh
UTF-8
16,386
4.09375
4
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
#!/bin/bash # 2015 Christopher Tomkins-Tinch # Broad Institute of MIT and Harvard function ask() { while true; do if [ "${2:-}" = "Y" ]; then prompt="Y/n" default=Y elif [ "${2:-}" = "N" ]; then prompt="y/N" default=N else promp...
true
e7061ead2695ff4978f324d95c8fe5d77cae9238
Shell
costrouc/cpsc462
/parallelProg01/runTests.sh
UTF-8
321
3.203125
3
[]
no_license
#!/bin/bash echo "Bash version: ${BASH_VERSION}" # Remove old files for test rm -f timing.txt numbers*.txt # Create new number files python generateNumFiles.py 9 # Run test on each file for test in numbers*.txt do /usr/bin/time --format="$test %E" ./readNumbers src1 $test computeEffort 1.0 2>> timing.txt don...
true
19f96965967777105d61e053285147334b26cecb
Shell
nsa-yoda/server-configs
/configs/web-server.php.sh
UTF-8
1,062
3.078125
3
[]
no_license
#!/bin/bash apt-get update apt-get upgrade -y # Install php, mcrypt, git, nginx and fail2ban apt-get install php5 apt-get install php5-apc apt-get install php5-fpm apt-get install php5-cli apt-get install php5-curl apt-get install php5-json apt-get install php5-oauth apt-get install php5-mcrypt apt-get install php5-m...
true
20ffb72b4cf917400493bcdc5c352d6fe907a7df
Shell
dcelasun/pkgbuilds
/the-binding-of-isaac/PKGBUILD
UTF-8
1,807
3
3
[ "MIT" ]
permissive
# Maintainer: D. Can Celasun <can[at]dcc[dot]im> pkgname=the-binding-of-isaac pkgver=20111101 pkgrel=6 pkgdesc="A randomly generated action RPG shooter with heavy Rogue-like elements." url="http://www.bindingofisaac.com" license=('custom: commercial') arch=('i686' 'x86_64') depends_x86_64=('lib32-sqlite' 'lib32-libid...
true
31b3b00c6f6d4d07bab63d04efab5ca8b0cd7493
Shell
mictsai60229/PageRank_hadoop
/execute.sh
UTF-8
740
3.09375
3
[]
no_license
#!/bin/bash # Do not uncomment these lines to directly execute the script # Modify the path to fit your need before using this script #hdfs dfs -rm -r /user/TA/CalculateAverage/Output/ #hadoop jar CalculateAverage.jar calculateAverage.CalculateAverage /user/shared/CalculateAverage/Input /user/TA/CalculateAverage/Outpu...
true
336c29ca07c90799d985f9544e7b69bdde60512d
Shell
localrivet/godev
/scripts/entrypoint
UTF-8
385
3.546875
4
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
#!/bin/bash CURDIR=$(dirname $0); noop() { printf -- ''; } ARG="$@"; CMD="$1"; case $CMD in 'build') ${CURDIR}/$@; exit 0; ;; 'test') ${CURDIR}/$@; exit 0; ;; 'init') ${CURDIR}/$@; exit 0; ;; 'shell') ${CURDIR}/$@; exit; ;; 'start') ${CURDIR}/$@; exit 0; ...
true
5cbef957d2cdafec8778144096e79f227f741169
Shell
jkodner05/LowResPOS
/run.sh
UTF-8
1,498
3.109375
3
[ "MIT" ]
permissive
#!/bin/bash header="#$ -cwd \n#$ -V \n#$ -l mem=64G \n#$ -l h_cpu=372800 \n#$ -pe parallel-onenode 1 \n#$ -S /bin/bash \n#$ -M jkodner@seas.upenn.edu \n#$ -m eas \n#$ -j y -o /home1/j/jkodner/" source $1 #set in config file #MESSAGE: Printed at top of output #INTERMED_DIR: Where intermediate outputs should go #...
true
9bb3fa9ce489df320266ee4e343731f6b65320b3
Shell
UTDATECPIRL/kitchen-of-ones-own
/download-scripts-master/frames_rgb_flow/rgb/test/download_P32.sh
UTF-8
2,983
3.46875
3
[]
no_license
#!/bin/bash if [ "$#" -eq 1 ]; then outputPath="$1/EPIC_KITCHENS_2018" else outputPath="$HOME/Downloads/EPIC_KITCHENS_2018" fi if ! [ -x "$(command -v wget)" ]; then echo "Error!: wget is not installed! Please install it and try again" exit 1 fi echo -e "\n### ----------------------------------------...
true
765c70f3e98c8a23064cb34728e5ebb8059ab353
Shell
striblab/dispatch-analysis
/lib/convert-sources.sh
UTF-8
2,040
2.8125
3
[ "MIT" ]
permissive
#!/bin/bash # Assumed to be run from the root of this project # # Convert files into CSV in format: # AREA--AGENCY--TYPE--YEAR/DATE.csv SOURCES="data/sources"; BUILD="data/build"; # Make build directory mkdir -p $BUILD; # Minneapolis and UofM in2csv "$SOURCES/Minneapolis/NEW911Calls2017_Q1.csv" | csvformat -l > $BUI...
true
8fb0bacd4a160e6b2754478931f15f72a579aefc
Shell
stoiver/anuga_core
/tools/find_repeated_old_div.sh
UTF-8
299
3.5625
4
[ "Apache-2.0" ]
permissive
# Find all lines in Python code which contain multiple old_div for repeats in 1 2 3 4 5 ; do find ./ -name "*.py" -exec grep -EHn "(old_div.*){${repeats}}" {} \; >/tmp/old_div${repeats} echo $repeats "or more repeats of old_div per line: number of lines:" `wc -l /tmp/old_div${repeats}` done
true
85b732621f7172fb81e1b806402ba42da29be5d8
Shell
johnsilvan/gitlz
/gitlz.sh
UTF-8
924
4.21875
4
[]
no_license
#!/usr/bin/env bash VERSION="0.0.1" version() { printf "gitlz $VERSION - the lazy way to use git\n" } display_help() { cat <<-EOF usage: gitlz [options] [COMMAND] [args] commands: gitlz Add, commit, and push to remote in case extreme laziness! gitlz <message> Execute gitlz with <...
true
0ba4d5df2821c98307020590e83a9d09ad9113df
Shell
rserota/shell_scripts
/.zshrc
UTF-8
1,784
2.703125
3
[]
no_license
PROMPT=$'\n'"%?%t %~ %#: " # vim bindings bindkey kk vi-cmd-mode bindkey vv vi-cmd-mode bindkey nuy vi-cmd-mode bindkey tfw vi-cmd-mode # basic aliases alias ..="cd .." alias ...="cd ../.." alias l="ls" alias sl="ls" alias la=" ls -lah" alias code="open -a '/Applications/Visual Studio Code.app'" # git aliases alias...
true