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
7e14d6d8293daea7531f9ae91a55cec4e37027c2
Shell
luissilv4/SO
/p3.sh
UTF-8
246
3.359375
3
[]
no_license
#!/bin/bash #Troca a extensao de um ficheiro read -p "Introduza a extensão a alterar: " extensao read -p "Introduza a extensão que pretende: " extensao1 for ficheiro in *.$extensao do mv "$ficheiro" "${ficheiro%.$extensao}.$extensao1" done
true
9481238f443e40c99fc1a2454ea00ad6e2cfab7f
Shell
andrevinsky/testid-support
/ensure-variables-and-paths.sh
UTF-8
928
2.96875
3
[]
no_license
#!/usr/bin/env bash set -e if [[ -z "$JEST_JUNIT_OUTPUT_DIR_PARENT" ]]; then export JEST_JUNIT_OUTPUT_DIR_PARENT=$(pwd)/reports fi echo "JEST_JUNIT_OUTPUT_DIR_PARENT=$JEST_JUNIT_OUTPUT_DIR_PARENT" rm -rf "$JEST_JUNIT_OUTPUT_DIR_PARENT" mkdir -p "$JEST_JUNIT_OUTPUT_DIR_PARENT" if [[ -z "$JEST_JUNIT_OUTPUT_DIR" ]...
true
bc901493980bd64ed4493ac7fc9db1388f9c34f9
Shell
amine784/holberton-system_engineering-devops
/0x04-loops_conditions_and_parsing/4-if_9_say_hi
UTF-8
198
3.0625
3
[]
no_license
#!/usr/bin/env bash #a Bash script that displays Holberton School 10 times using until c=0 while (( c < 10 )) do if ((c ==9)) then echo "Hi" fi echo "Holberton School" ((c++)) done
true
f7d51173628c2598c8dd34bfcdaf16f7329aea48
Shell
NguyenAzai/data1
/install-odoo11-on-ubuntu-bash.sh
UTF-8
1,897
2.671875
3
[]
no_license
sudo apt-get update -y sudo apt-get upgrade -y sudo apt install git python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less -y sudo useradd -m -d /opt/odoo11 -U -r -s /bin/bash odoo11 sudo apt-get install node-clean-css -y...
true
79534256f8045a678ce6e26cb54503723cc6c872
Shell
andy2046/bitmap
/scripts/help.sh
UTF-8
173
2.734375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -euo pipefail echo 'usage: make [target] ...' echo echo 'targets:' fgrep -h "##" ./Makefile | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
true
1254483967f088752b8e682b4b7ccdfa79720742
Shell
wordswords/dotfiles
/bin/search-ebooks.sh
UTF-8
242
2.828125
3
[]
no_license
#!/bin/bash set -e BOOKPATHROOT=/mnt/ebooks PARAMS="*$**.epub" EPY_PATH="/home/david/.local/bin/epy" cd "${BOOKPATHROOT}" bookpath=$(find . -type f -iname "${PARAMS}" 2>/dev/null | sort -r | fzf --disabled) "${EPY_PATH}" "${bookpath}" cd -
true
248417c80bdeceec8a87422792d11acdc7bc58af
Shell
amazon-biobank/biobank
/blockchain/test-network/createUserAccount.sh
UTF-8
490
2.578125
3
[]
no_license
cd ./../currency-contract node_modules/.bin/mocha functionalTests/AccountContract-biobank.test.js --grep="createUserAccount" WALLET_PATH=$(cat config.json | jq '.walletPath' | tr -d \") IDENTITY_NAME=$(cat config.json | jq '.identityName' | tr -d \" ) cd - GREEN='\033[0;32m' NC='\033[0m' cd ../../application/encrypt...
true
061279d50a757bb3125bce559e629fca2900e58b
Shell
mindvalley/tf-module-pgbouncer-mig
/scripts/startup.sh.tpl
UTF-8
6,329
3.75
4
[ "MIT" ]
permissive
#!/bin/bash # This script is meant to be run as the Startup Script of a Compute Instance # while it's booting. Afterwards it performs the necessary api requests to login # to a Vault cluster. At the end it also serves a simple webserver with a message # read from Vault, for test purposes, so we can curl the response a...
true
950fb2237ddf25c5951527b45772ff68a9b3589a
Shell
amyq7526110/ebook
/chapter9/E_9_6_2.sh
UTF-8
430
2.78125
3
[]
no_license
#!/bin/bash # cat "$@" - # 使用 ./scriptname 1 2 3 4 5 调用这个脚本 echo "$@" # 1 2 3 4 5 shift echo "$@" # 2 3 4 5 shift echo "$@" # 3 4 5 # 每个shift 都会丢弃$1 # "$@" 将包含剩下的参数 # $@也作为为工具使用,用来过滤传给脚本的输入. # cat "$@"结构接受从 stdin 传来的输入,也接受从参数中指定的文件传来的输入.
true
4f90fec5f23bf5778ed932698ec901b47f604683
Shell
k0kk0k/keep-tBTC-minter
/run.sh
UTF-8
861
3.109375
3
[ "MIT" ]
permissive
#! /bin/bash # `run.sh` can help you start multiple processes at the same time, you can use crontab # */10 * * * * cd ~/keep-tbtc-minter && /usr/bin/nohup /bin/bash run.sh sendBtc 1 >> log_run.log 2>&1 & # */3 * * * * cd ~/keep-tbtc-minter && /usr/bin/nohup /bin/bash run.sh deposit 10 >> log_run.log 2>&1 & # */3 * * ...
true
6a431ba60224f649906d9e61093ca2b4ab8f809e
Shell
mitchpaulus/dotfiles
/scripts/group_count
UTF-8
223
3.21875
3
[ "MIT" ]
permissive
#!/bin/sh # Check that first argument is an integer, greater than 0 if [ $# -ne 1 ] || [ "$1" -lt 1 ] 2>/dev/null; then echo "Usage: $0 <field number>" exit 1 fi awk -F ' ' '{print $'"$1"'}' | mpuniq -c | sort -V
true
345eea2cfc0995ec9b21d992b548558dd41d7e1b
Shell
jmckaskill/tup
/test/t5044-ghost-dir-to-file.sh
UTF-8
494
3.09375
3
[]
no_license
#! /bin/sh -e # Make sure changing a ghost dir to a real file works. Basically the same as # t5044, only we're checking to see that a file can still have ghost children. . ./tup.sh cat > Tupfile << HERE : |> (cat secret/ghost || echo nofile) > %o |> output.txt HERE tup touch Tupfile update echo nofile | diff - output...
true
2d00a7176859f11a8289c54554859389b8f49f60
Shell
bdashrad/nagios-plugins
/check_f5_status
UTF-8
1,288
3.921875
4
[]
no_license
#!/bin/bash # Checks if BIG-IP LTM is Active or Failover # Configuration snmpget="/usr/bin/snmpget" community="" snmpversion=2c # nagios return values export STATE_OK=0 export STATE_WARNING=1 export STATE_CRITICAL=2 export STATE_UNKNOWN=3 export STATE_DEPENDENT=4 if [ $# -lt 1 ]; then echo "Usage: $0 -H ho...
true
b53f4d10784d882010a2ed4475ef1822db9de859
Shell
SunnyQjm/NDNInstaller
/install_ndnrtc.sh
UTF-8
2,450
3.28125
3
[]
no_license
#!/bin/bash # 通用的函数定义和变量定义 source ./common.sh NDN_CPP_VERSION=v0.16 NDNRTC_VERSION=v3.0.2 # install pre echo 'install pre' sudo apt-get install cmake wget autoconf automake libtool git protobuf-compiler libconfig++-dev libconfig++9v5 cd ${DEFAULT_DIR} mkdir ndnrtc-env cd ndnrtc-env export NDNRTC_ENV=`pwd` # de...
true
b026674f6a5d520f38b964c20cedcf184445ec8e
Shell
unixorn/tumult.plugin.zsh
/bin/markdown-open
UTF-8
937
3.78125
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # # https://github.com/rtomayko/dotfiles/blob/rtomayko/bin/markdown-open if [[ "$(uname -s)" != 'Darwin' ]]; then echo 'Sorry, this script only works on macOS' exit 1 fi function debug() { echo "$@" 1>&2 } f=$1 if [ -z "$f" ] || [ "$f" = "-" ] ; then f=/tmp/markdown-$$.txt cat > $f tr...
true
d78d35d786868dd935ce05c6309d77df55ed7a1b
Shell
patrickfarias/ritchie-formulas
/kubernetes/clean/helm-configmap/src/helm-configmap/helm-configmap.sh
UTF-8
390
3.109375
3
[ "Apache-2.0" ]
permissive
#!/bin/sh run() { CONFIGMAP_LIST=$(kubectl -n kube-system get configmap |awk '{print $1}'|cut -f1 -d.|sort|uniq|grep -v 'NAME'); for i in $CONFIGMAP_LIST; do echo "$i"; for j in $(kubectl -n kube-system get configmap | grep "$i" | awk '{print $1}'|cut -d. -f2|cut -dv -f2| sort -n | head -n -2); do echo "$i".v"$...
true
60a9a3419db5c5c9cb9ed5a593a5735ed609c864
Shell
JakeGuy11/dotfiles
/install-programs.sh
UTF-8
985
2.8125
3
[]
no_license
#!/usr/bin/bash # This will install all my other programs read -p "Once you have ensured multilib is enabled in '/etc/pacman.conf' and press enter" ARCH_PACKAGES="" # Just so I can keep track of what packages are what, I'll add them incrementally here # Basic programming packages and libraries ARCH_PACKAGES+="gcc ...
true
1d3b7ca3dbdc6abb1444ea15f20f1d33bcc6f269
Shell
iceFeeder/sscriptss
/backup/contrail-hamon
UTF-8
697
3.3125
3
[]
no_license
#!/bin/bash # chkconfig: 2345 99 01 # description: contrail-hamon service . /etc/rc.d/init.d/functions case "$1" in start) # contral-hamon startup echo -n "Starting contral-hamon: " exec start contrail-hamon echo "OK" ;; stop) # contral-hamon shutdown ec...
true
e3d7f7698366c314de7410c8bc7b42eabdb71041
Shell
hitswint/.emacs.d
/dotfiles/bin/external-edit
UTF-8
1,853
3.484375
3
[]
no_license
#!/bin/bash while getopts "se:" arg #选项后面的冒号表示该选项需要参数 do case $arg in s) sel=1 ;; e) editor=$OPTARG #参数存在$OPTARG中 ;; ?) #当有不认识的选项的时候arg为? echo "Usage: external-edit [-s] [-e editor]" echo "-s s...
true
eec1b818a481fa0aa4fcda663d7a45ed0301930e
Shell
gitter-badger/aur4migrate
/aur4_import.sh
UTF-8
1,117
3.859375
4
[]
no_license
#!/bin/sh if [ $# -lt 1 -o \( "$1" = "-h" -o "$1" = "--help" \) ]; then echo "usage: $0 <path/to/package>" echo "(has to be started from root of the existing repository)" exit -1 fi prefix=$1 pkg=`basename $prefix` gitignore=`pwd`/gitignore-pkg # create a new repository only for $pkg in the branch aur4/$pkg echo ...
true
3b637a8b8877bb62d93a52983a0dea0f1d9390a3
Shell
JessedeDoes/LMServer
/scripts/newTestsParagraphDecoder.sh
UTF-8
5,578
2.734375
3
[]
no_license
BFB=/datalokaal/Scratch/HTR/BFBNew UNI=$BFB/LanguageModels/Unigram/ LM1=$UNI/languageModel.lm DIC1=$UNI/dictionary.txt LAT1=$BFB/StoredExperiments/experimentWithUnigramModel/resultados/res-128gauss/ TEMP1=Temp/Temp1 DIR2=/mnt/Projecten/transcriptorium/Tools/languagemodeling/NewSetOfExperiment/2-gram/FinalInDomainBent...
true
c97e13b32be395653d651dfa5840030b1ee783c2
Shell
jackdwyer/statusboard
/contrib/start_statusboard_kiosk.sh
UTF-8
319
2.921875
3
[]
no_license
#!/bin/bash TIMEOUT=30 have_internet=$(ping -c 1 yahoo.com &>/dev/null; echo $?) if [[ ${have_internet} -eq 0 ]]; then notify-send "have wifi, starting.." else notify-send "sleeping ${TIMEOUT}s; no wifi" sleep ${TIMEOUT}s fi google-chrome-stable --incognito --kiosk http://localhost:8080/ &
true
6c929bb74205b6d44f1b469b12f69356a098e090
Shell
VerKnowSys/svdOS
/etc/rc.svdsysup
UTF-8
346
2.859375
3
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
#!/bin/sh # # ServeD system script to perform lockless filesystem binary updates stty status '^T' 2> /dev/null # Set shell to ignore SIGINT (2), but not children; # shell catches SIGQUIT (3) and returns to single user. trap : 2 trap "echo 'Update interrupted'; exit 1" 3 exec "/etc/rc.svdsysup.sh" printf '\n\n%s\n' ...
true
5b3c89e3cfce540956c3e8dfa21cb47e69715ac6
Shell
NatsumeWeiXia/videosearch
/indexer/global_descriptors/run_shot_based_index_mode_1_test.sh
UTF-8
1,076
3.609375
4
[ "MIT" ]
permissive
#!/bin/bash -e # Get list of keyframe lists KEYFRAMES_LISTS=test_keyframe_lists.txt ls ../test_db/*.txt > $KEYFRAMES_LISTS # Parameters for index GDINDEX_PATH=trained_parameters CENTROIDS=512 LD_MODE=0 VERBOSE=1 if [ $LD_MODE -eq 0 ]; then LD_NAME=sift elif [ $LD_MODE -eq 1 ]; then LD_NAME=siftgeo else e...
true
c0b3bc9cfbeec77671f7d8056e3da46280450022
Shell
alexandroskoliousis/co347
/src/sysmanager.sh
UTF-8
3,164
3.890625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # ./sysmanager.sh [start|stop|clear] # # Copyright (c) 2013-2014, Imperial College London # All rights reserved. # # Distributed Algorithms, CO347 # PIDDIR="`pwd`/pids" VERBOSE=true # If true, stdout is redirected to # log files, one per process. LOG=true USAGE="./sysmanager.sh [start|stop|clear] [clas...
true
eeb6682050affae567818451622e141363b20892
Shell
GitoriousLispBackup/seainit
/start-seainit.sh
UTF-8
571
3.296875
3
[]
no_license
#!/bin/sh #Run the seainit servers. #Suppose that the seainit servers are stored in /sea/seainit-servers/ seainit_server_directory="/sea/seainit-servers"; seainit_log="/sea/log/seainit-log"; #Suppose that SBCL is present. sbcl_path=$(which sbcl); #Change to the directory, so that the daemons can all see each oth...
true
54fa12505b6b55e88066965ad50bc13015d61a79
Shell
echoe/cpcli
/cpcli.sh
UTF-8
5,671
3.609375
4
[]
no_license
#cpanel CLI simplification script for doing things in the CLI that you would rather not have to do in cPanel #Version 0.04 #Declare our variables! process=$1 group=$2 specify1=$3 specify2=$4 specify3=$5 specify4=$6 #These arrays are for the help process so people can figure out what is available. arrayprocess=(mysql em...
true
1c9a50c88fbdf490d9867f7131dc99d5cb13f3a1
Shell
sofwerx/tegola-mobile
/android/TMControllerSvcLib/TMControllerSvc/src/main/tegola-bin-buildscripts/linux/clean_tegola_android_all.sh
UTF-8
662
3.296875
3
[]
no_license
#!/usr/bin/env bash @echo off setlocal # Usage: clean_tegola_android_all <accepts no arguments!> SRC_MAIN_DIR=${MY_ANDROID_STUDIO_WORKSPACE}/src/github.com/terranodo/tegola-mobile/android/TMControllerSvcLib/TMControllerSvc/src/main REQUIRED_ARGS="-b_version_props_copy_path \"${SRC_MAIN_DIR}/assets\" -b_normalized_fn...
true
f3fff00f780c2964937567ef70247ffa9167710a
Shell
TangoMan75/bash_aliases
/src/symfony/sf-dump-server.sh
UTF-8
1,407
4.03125
4
[ "MIT" ]
permissive
#!/bin/bash ## Start project debug server function sf-dump-server() { local CONSOLE local ARGUMENTS=() local OPTARG local OPTION while [ "$#" -gt 0 ]; do OPTIND=0 while getopts :h OPTION; do case "${OPTION}" in h) echo_warning 'sf-dump-server'; ...
true
aa81710e669b60844d2a9f30bcf8030aa8da781e
Shell
addisonbair/kubernetes-aws
/vpn-gateway/vpn-tunnel
UTF-8
3,474
4.09375
4
[]
no_license
#!/bin/bash # # chkconfig: - 24 76 # # Description: Basic script to open VPN tunnel and create route for entire VPC # Path variables PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" # VPN Variables VPN_TUNN="tun0" VPN_USER="user" VPN_HOST="connect.everyonecounts.com" VPN_PASS="pass" PID="/v...
true
4a2f66e7f7bb787233a828a397ea744eccd32a30
Shell
packform/netlify-cms-github-oauth-provider
/.buildkite/build.sh
UTF-8
965
3.53125
4
[]
no_license
#!/usr/bin/env bash # This script runs the build process for the Dockerfile defined in this repo. # Do the following prior to run: # 1) Set these environment variables: # AWS_DEFAULT_REGION - for now "us-west-1" # AWS_ACCESS_KEY_ID - for now use value in Ansible production playbooks # AWS_SECRET_ACCES...
true
7e46227d1107ef03099f8f2c5a6f0735d58a2e05
Shell
zachroofsec/bash-bunny-lab
/payloads/LinuxReverseShell/payload.sh
UTF-8
585
2.84375
3
[]
no_license
#!/bin/bash # INSPIRED BY: https://github.com/hak5/bashbunny-payloads/blob/27d63ad5a535510b20787cc03850b28bbdb727ee/payloads/library/remote_access/LinuxReverseShell/payload.txt # Runs a script in the background that creates a reverse shell connection to the configured address and then removes itself. # Create mock Ba...
true
77ef17b167d73513644eff2824421d673f134485
Shell
grycap/scar
/examples/video-process/split-video.sh
UTF-8
247
2.671875
3
[ "Apache-2.0" ]
permissive
#! /bin/sh echo "SCRIPT: Splitting video file $INPUT_FILE_PATH in images and storing them in $TMP_OUTPUT_DIR. One image taken each second" ffmpeg -loglevel info -nostats -i $INPUT_FILE_PATH -q:v 1 -vf fps=1 $TMP_OUTPUT_DIR/out%03d.jpg < /dev/null
true
e67d1d908c1779abeee135ab3e67aee5881c3f30
Shell
rofl0r/irix-3.x-src
/etc/mkswapdd.sh
UTF-8
534
3.625
4
[]
no_license
#! /bin/sh # # # This will create the swapfs_dd file in /stand # dev= set `devnm /` dev=$1 if test $dev = 'md0a' then echo " swapfs: ST-506 Disk Drives" echo " swapfs: dd if=/dev/rmd0b of=/stand/swapfs_dd bs=250k count=4" dd if=/dev/rmd0b of=/stand/swapfs_dd bs=250k count=4 elif test $dev = 'ip0a' then echo " ...
true
4544790a0973af3bb2e4181deaeff662a0b77834
Shell
rastitkac/awesome-dotfiles
/brew.sh
UTF-8
3,570
2.875
3
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
#!/usr/bin/env bash # Install command-line tools using Homebrew. # Make sure we’re using the latest Homebrew. brew update # Upgrade any already-installed formulae. brew upgrade # Save Homebrew’s installed location. BREW_PREFIX=$(brew --prefix) # Install GNU core utilities (those that come with macOS are outdated)....
true
a240cc763ddac0081b4a109dbd04251d55c4f673
Shell
ss7pro/cloud
/scr.good/novnc.sh
UTF-8
719
2.890625
3
[]
no_license
#!/bin/bash . settings setup_novnc () { apt-get -yy novnc python-numpy for i in 'nova-novncproxy' ; do service novnc stop update-rc.d -f novnc remove mkdir -p /var/log/dt/$i chmod 750 /var/log/dt/$i chown nova:syslog /var/log/dt/$i mkdir -p /etc/service/.$i touch /etc/service/.$i/down mv /etc/servi...
true
59c6610c78e8198025ee4bec86dade63e3fbc3ef
Shell
benjamincjackson/mice_LD
/2_run_SHAPEIT/run_shapeit_assemble.sh
UTF-8
625
2.71875
3
[]
no_license
#!/bin/bash # using the PIRs from the previous step, in combination with the (single chromosome) VCF file # we want to run shapeit in assemble mode. Using default options, the command should look like: #shapeit -assemble # --input-vcf new_VCF.ox.vcf # --input-pir myPIRsList # -O myHaplotypes CHR=$1 /localdisk/home/...
true
6b6aa0a1839f19153b531c2de59b3d60e1b47ca0
Shell
hengyang-zhao/nidus
/assets/exec/perm-stack
UTF-8
517
3.8125
4
[ "MIT" ]
permissive
#!/bin/bash set -euo pipefail DIR=${1:-$(pwd)} if [ "${DIR:0:1}" != / ]; then DIR="$(pwd)/$DIR" fi while :; do perm="$(stat -c %A "$DIR" 2>/dev/null)" if [ -z "$perm" ]; then perm="??????????" fi dev="$(df -P "$DIR" 2>/dev/null | tail -1 | cut -d' ' -f1)" if [ -z "$dev" ]; then ...
true
fa60ac0c460bea93d960ab3db5ec71a4b0a35d47
Shell
davo/Lona
/config/pre-commit-swiftlint.sh
UTF-8
986
3.96875
4
[ "MIT" ]
permissive
#!/bin/bash cd studio # Path to swiftlint when in the studio SWIFT_LINT=./Pods/SwiftLint/swiftlint if [[ -e "${SWIFT_LINT}" ]]; then count=0 for file_path in $@; do export SCRIPT_INPUT_FILE_$count="$file_path" count=$((count + 1)) done ##### Make the count avilable as global variable...
true
67f3ae6b54b0c8cb7e13be3f5588f0aa2de5ddd7
Shell
gladiopeace/qubes-updates-cache
/install
UTF-8
226
2.71875
3
[]
no_license
#!/bin/sh set -ex id=vm-updates getent passwd $id >/dev/null || useradd --shell /bin/false --home / --system --user-group $id install -d -m 750 -o $id -g $id "$DESTDIR"/var/lib/qubes/$id umask 022 cp -R etc usr "$DESTDIR"/
true
c5a8415c7a5f7a3c484879a2a97d605ef023a173
Shell
SMALLIKA-ECU/CSP2101
/scratch/exam.sh
UTF-8
210
2.84375
3
[]
no_license
#!/bin/bash case $1 in "HD") echo "High Distinction";; "D") echo "Distinction";; "CR") echo "Credit";; "C") echo "Pass";; "N") echo "Fail";; *) echo "Unknown Grade";; esac exit
true
2a146c8a0acac7812c2190fa72130c28b267ef1d
Shell
ozio/react-intl-google-docs
/push.sh
UTF-8
464
3.671875
4
[]
no_license
#!/usr/bin/env bash function ask_yes_or_no() { read -p "$1 (y/N): " case $(echo $REPLY | tr '[A-Z]' '[a-z]') in y|yes) echo "yes" ;; *) echo "no" ;; esac } node --no-warnings ./ git --no-pager diff translations if [[ "no" == $(ask_yes_or_no "Push this changes to repository?") ]] then git checkout...
true
8a3e34ca3aca2823ce1bd94528b1bff3c702d3ed
Shell
samdoran/packer-rhel7
/scripts/cleanup.sh
UTF-8
631
3.015625
3
[]
no_license
#!/bin/bash # Remove Ansible and its dependencies. yum -C -y autoremove ansible yum -C -y remove kernel-firmware 'iwl*' # Delete old kernels package-cleanup -C -y --oldkernels --count=1 # Clean yum cache echo "Cleaning up extra files" rm -rf /var/cache/yum/* rm -rf /usr/share/man/* rm -rf /usr/share/info/* rm -rf /u...
true
55930579d7622e61ede9b26a569863ca146ec782
Shell
equk/i5700
/dalvik-cache/system/sd/userinit.sh
UTF-8
579
2.703125
3
[]
no_license
#!/system/bin/sh # # Move dalvik-cache to /cache # # Remove Debugger Mem Dumps if [ ! -d /cache/dalvik-cache ] then busybox rm -rf /cache/dalvik-cache /data/dalvik-cache mkdir /cache/dalvik-cache /data/dalvik-cache fi busybox chown 1000:1000 /cache/dalvik-cache busybox chmod 0771 /cache/dalvik-cache # bind mount d...
true
fec106f497761f7fb3f74a502e764ea1df46483b
Shell
pct/arch
/install.sh
UTF-8
12,173
3.546875
4
[]
no_license
#!/bin/bash ############################################################################### # # This programm should help you install arch linux on your pc (version 4444) # Copyright (C) Vienna 2012 by Mario Aichinger # # This program is free software; you can redistribute it and/or # modify it under the terms of the G...
true
b31af16a82114bfbc85d318e6d0b5bec4f7bddb4
Shell
mjmunger/nagios-asterisk-plugin
/check_phone.sh
UTF-8
1,353
3.9375
4
[]
no_license
#!/bin/bash DEBUG=0 if [ "$#" -eq 0 ]; then MSG="You must pass an extension as an argument to check its status! Config fail." echo $MSG logger $MSG exit 2 fi if ["$DEBUG" == 1 ]; then logger Checking status of SIP $1 fi LINE=`asterisk -rx' sip show peers' | grep "^$1"` if ["$DEBUG" == 1 ]; then ...
true
1942c8bde2447f2dd55f1654c1636f0dea271313
Shell
alessandroleite/vagrant-mesos-spark
/scripts/setup-scala.sh
UTF-8
806
3.671875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash source "/vagrant/scripts/common.sh" #http://scala-lang.org/download/install.html function setupEnvVars { echo "creating scala environment variables" cp -f $SCALA_RES_DIR/scala.sh /etc/profile.d/scala.sh } function installScala { echo "install scala" FILE=/vagrant/resources/$SCALA_ARCHIVE if resource...
true
6a3e7e10554ec1443f415c77f0aac5fae6708163
Shell
lastmansleeping/TableLingo
/evaluate.sh
UTF-8
559
2.9375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash MODELS_DIR="models" DART_TARGET="data/dart/tgt" DART_DEPTH="data/dart/depth" for MODEL in bart t5 robertashare do for VERSION in v0 v1 v2 do for SPLIT in dev test do if [ -f "${MODELS_DIR}/${MODEL}_${VERSION}/pred/${SPLIT}.txt" ]; then python pipeline/evaluate.py \ --pred "${MODELS_DIR}/${...
true
f396a2d7eface3fcd0b0f94f2027a5ad8ccfc6db
Shell
TianhaoFu/paraflow
/paraflow-1.0-alpha1/sbin/logclean.sh
UTF-8
842
3.578125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash PREFIX="dbiir" START=2 END=9 PARAFLOW_HOME="/home/iir/opt/paraflow" PARAFLOW_DIR="/home/iir/opt/paraflow-1.0-alpha1" # deployment deploy() { if [ $(id -u) != "0" ]; then echo "please run $0 $1 in root." exit 0 fi for ((i=$START; i<=$END; i++)) do if [ $i -lt 10 ]; then echo "init the...
true
f7260cf0fedc9031c4132d9abec393be03903c26
Shell
rtauxerre/iptv
/package/build.sh
UTF-8
309
3.296875
3
[]
no_license
#! /bin/sh # Remove previous packages rm -fv iptv*.deb # Build the package fakeroot dpkg-deb --build iptv # Get the version number of the package VERSION=$(cat iptv/DEBIAN/control | grep Version | awk '{print $2}') # Rename the package to include the version number mv -fv iptv.deb iptv_${VERSION}.deb
true
2cf778c58863c9d7846d016cde9a14e975338f92
Shell
BIX-Digital/ods-contrib
/pipeline/provision-repository.sh
UTF-8
5,035
4.15625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -ue set -o pipefail ################################################## ## This script can be used to create an empty ## repository, setup with webhooks. ################################################### BITBUCKET_URL="" COMPONENT_ID="" PROJECT_ID="" TEMPLATE_URL="" function usage { prin...
true
a68abe03c62bf631e2bf6deba935e0831048e685
Shell
peterklipfel/firesuit
/aws.sh
UTF-8
972
2.78125
3
[]
no_license
codename=`cat /etc/lsb-release | grep CODENAME | cut -f2 -d'='` sudo apt-get -y install software-properties-common sudo add-apt-repository ppa:juju/stable sudo apt-get update sudo apt-get -y install juju-core lxc mongodb-server echo "preparing orchsetration environment" sed s/notsosecret/`tr -dc "[:alpha:]" < /dev/ur...
true
b1c8efff18a77061f3b2354e24b9840252968972
Shell
MorrellLAB/sequence_handling
/SlurmJobScripts/Genotype_GVCFs.job
UTF-8
643
2.84375
3
[]
no_license
#!/bin/bash # This script is for submitting a job to Slurm via sbatch set -e set -o pipefail # Required input arguments CONFIG=$1 SEQUENCE_HANDLING=$2 GG_MEM=$3 input_gvcf=$4 SINGLE_ARRAY_LIMIT=$5 gatkVer=$6 intvlFile=$7 parallelizeQ=$8 analysisType=$9 scaffoldsFile=${10} source ${CONFIG} source ${SEQUENCE_HANDLING...
true
10291b5a5fb794e0100eed69bfc0205db4b1fc1e
Shell
yesteph/meetup-cd
/terraform/blue-green/demo.sh
UTF-8
1,240
3
3
[]
no_license
#!/usr/bin/env bash set -e TF_WORKSPACE=blue-green DOCKER_TAG=v1 read -n 1 -p "Apply TF in commons - deployment_step=create_green ?" mainmenuinput cd commons terraform init -get -reconfigure terraform workspace select ${TF_WORKSPACE} terraform apply -var deployment_step=create_green -auto-approve GREEN_ENV=$(terraf...
true
b84938775ae906e44448c23ac71a97e136f81561
Shell
RedBaron80/urlpath
/install.sh
UTF-8
1,201
2.6875
3
[]
no_license
#!/bin/bash sudo apt-get update sudo apt-get upgrade -y sudo apt-get install unzip docker.io -y # Downloading the software wget https://github.com/RedBaron80/urlpath/archive/master.zip unzip master.zip # Installing kubernetes k3s curl -sfL https://get.k3s.io | sh - # Permissions sudo chown ubuntu /etc/rancher/k3s/k3s.y...
true
45cba8c82180cf31102e1707e292a6b76534de35
Shell
semyon-gordeev/jibri
/scripts/launch_recording.sh
UTF-8
501
3.140625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash #Directory for storing pids (should be writeable by jibri user) PID_DIR=/var/run/jibri/ URL=$1 STREAM=$2 TOKEN=$3 YOUTUBE_STREAM_ID=$4 YOUTUBE_BACKUP=$5 # #YOUTUBE_BASE="rtmp://a.rtmp.youtube.com/live2" # #if [ ! -z "$5" ]; then # YOUTUBE_BASE="rtmp://b.rtmp.youtube.com/live2" #fi # #if [ ! -z "$4" ]; ...
true
9d1d3546468d512469590e4a4c7e96ed2d2cfd09
Shell
vishnu388/shell-programming
/sequance-programming/sumNum.sh
UTF-8
208
2.8125
3
[]
no_license
#!/bin/bash -x read -p "Enter 1st number:" a read -p "Enter 2nd number:" b read -p "Enter 3rd number:" c read -p "Enter 4th number:" d read -p "Enter 5th number:" e result=$((a+b+c+d+e)) avg=$((result/5))
true
cf5232c558a62f8a31904cb813451b61dcef359e
Shell
ArcherCraftStore/ArcherVMPeridot
/phpMyAdmin/libraries/plugins/transformations/generator_main_class.sh
UTF-8
363
3.546875
4
[ "GPL-2.0-only", "GPL-1.0-or-later", "GPL-3.0-only", "MIT", "Apache-2.0" ]
permissive
#!/bin/bash # # Shell script that creates only the main class for a new transformation # plug-in, using a template # # $1: MIMEType # $2: MIMESubtype # $3: Transformation Name if [ $# != 3 ] then echo -e "Usage: ./generator_main_class.sh MIMEType MIMESubtype TransformationName\n" exit 65 fi ./generator_plugin.sh ...
true
bfe929270d4c6db1bc432992177112b05be36977
Shell
nickivanov/db2_autostart_scripts
/db2_rhel
UTF-8
3,011
4.0625
4
[ "Apache-2.0" ]
permissive
#! /bin/sh # # /etc/init.d/db2 # # # System startup script for the DB2 instances. # Will start/stop whatever instances are enabled to # start at boot time in the DB2 global registry. # See the DB2 Information Center for the db2greg # utility for more details. # # This is specific for RHEL, may not work on other # dist...
true
2934247e80f2008c103bf87e46475c5a67cda985
Shell
Wes-Eason/avr-toolchain-build-scripts
/util.sh
UTF-8
1,356
3.828125
4
[ "BSD-3-Clause" ]
permissive
function log_ts() { while read -r line; do now="$(date '+%F %T')" echo "[$now] $line" done } function log_prefix() { while read -r line; do prefix="$1" [ -t 1 ] && prefix=$(printf "\e[33m$1\e[0m") echo "$prefix| $line" done } function checkpid() { ps | cut...
true
fe3699789d0f017cad78995b2f1be771842daa12
Shell
kiligings/JobStream
/bin/stop.sh
UTF-8
259
3.171875
3
[]
no_license
#!/bin/sh cd $JOBSTREAM_HOME pid=`ps -ef|grep org.jobstream.MainScheduler|grep -v grep|grep -v PPID|awk '{ print $2}'` if [[ $pid -gt 0 ]] then echo "MainScheduler Stopping..." kill -9 $pid echo "MainScheduler Stopped" else echo "MainScheduler Not Exist" fi
true
88cb2828a9794e62938c2d1d008fd0a72031ddb5
Shell
hdac-io/friday
/scripts/tests_with_cover.sh
UTF-8
293
2.75
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -e echo "" > coverage.txt for d in $(go list ./... | grep -v "client/cli" | grep -v "client/rest" | grep -v "friday/cmd"); do go test -v -race -coverprofile=profile.out $d if [ -f profile.out ]; then cat profile.out >> coverage.txt rm profile.out fi done
true
47472b559d84713e3490184c0fec66692c6c8fbb
Shell
hzbarkan/csipb-jamu-prj
/c2map/ctm/download.sh
UTF-8
1,167
2.984375
3
[]
no_license
#!/bin/bash mainkeyword='diabetes mellitus' declare -a keywords=("medicinal plant" "bioactivity" "bioassay" "extracts" "natural products") # declare -a years=(2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004 2003 2002 2001 2000) declare -a years=(1999 1998 1997 1996 1995 1994 1993 1992 1991 1990 1989 1988 19...
true
e394ed251f1f404e7ec6ab6a94ff3ca753dd74a9
Shell
bgirard/mozhelper
/mozconfig/env.sh
UTF-8
748
2.953125
3
[]
no_license
#!/bin/bash MOZCONFIG_NAME="obj-ff-64gdb" MOZCONFIG=$( cat <<EOF . $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../builds/$MOZCONFIG_NAME mk_add_options MOZ_MAKE_FLAGS="-w -s -j6" ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --enable-debug-symbols ac_add_op...
true
10bd5c735fb7a421a0bd30bb123a5b327e9bcd07
Shell
emerg-med/ross
/emerg-med_resources/printer_setup/rhs/rhs-printfilters/ncpprint
UTF-8
2,013
3.875
4
[]
no_license
#!/bin/sh # This script is an input filter for printcap printing on a unix machine. It # uses the nprint program to print the file to the specified ncp-based # server and queue. # For example you could have a printcap entry like this # # ncp:lp=/dev/null:sd=/usr/spool/ncp:sh:if=/usr/local/bin/ncpprint # # which would ...
true
1b285fd1a2b557263a76722256c5208a22b438e3
Shell
wmayner/dotfiles
/bin/convert2tiff
UTF-8
178
3.3125
3
[]
no_license
#!/bin/sh # Convert all arguments (assumed .png)to a TIFF with 600 dpi for i in $@; do BN=$(basename $i .png) convert -units PixelsPerInch $BN.png -density 600 $BN.tif done
true
ba8717fd3e1f47f75e747c618cc382c2ffaff27b
Shell
vishal0792/Cloud_Infrastructure_Deployment_Python_AWS
/newuserdata.txt
UTF-8
367
2.515625
3
[]
no_license
#!/bin/bash sudo su yum update -y yum install -y httpd.x86_64 yum install -y git systemctl start httpd.service systemctl enable httpd.service echo "Hello World from $(hostname -f)" > /var/www/html/index.html cd mkdir vishal cd vishal git clone https://github.com/vishal0792/Assignment7_1.git yes | cp -r /vi...
true
84f9f0a24d3f9c60828bcb8b0f1828ecb55cded7
Shell
tenchd/mesh-testsuite
/run
UTF-8
1,703
3.078125
3
[]
no_license
#!/bin/bash set -euxo pipefail sudo su -c 'echo 655350 > /proc/sys/vm/max_map_count' sudo cpupower frequency-set -g performance # so firefox is authorized to talk to X from within the containter xhost local:root VOLUME="mesh-artifact-data" RUN_COUNT='1' SPEC_FLAGS='--no-ref' FF_WAIT_SECS="$(head -n 1 firefox-wait-s...
true
c150bc5a9cfdc35a2d3c75f03a61b82b0f52d99d
Shell
ma3ki/startupscripts
/publicscript/mailsystem/setup_scripts/_setup_roundcube_yum.sh
UTF-8
1,977
2.640625
3
[]
no_license
#!/bin/bash -x set -e source $(dirname $0)/../config.source echo "---- $0 ----" yum install -y roundcubemail php-mcrypt php-mysql sed -i 's/^;default_charset/default_charset/' /etc/php.ini sed -i "s/^;date.timezone.*/date.timezone = 'Asia\/Tokyo'/" /etc/php.ini sed -i 's/^post_max_size =.*/post_max_size = 20M/' /etc/...
true
70786019075132206ad3069317a89bf7eca0db6f
Shell
jackrain/spbootdocker
/acs/bin/start
UTF-8
2,208
3.46875
3
[]
no_license
#!/bin/bash AGENT="" if [ ! -n "$JAR_FILE" ] ;then JAR_FILE=bootapp.jar fi if [ ! -n "$HTTP_PORT" ] ;then HTTP_PORT=8080 fi if [ ! -n "$JAVA_OPTS" ] ;then JAVA_OPTS=-Djava.security.egd=file:/dev/./urandom fi echo -e "HTTP_PORT:$HTTP_PORT\nJAR_FILE:$JAR_FILE\nJAVA_OPTS:$JAVA_OPTS" echo "FAT_JAR_...
true
d2fd5ade87cb23f0ffd8258074c33b6083d465e0
Shell
havok4u/profilesys
/profilesys
UTF-8
2,379
3.484375
3
[ "MIT" ]
permissive
#!/bin/bash ################################################################################ # <copyright file="notification.py" owner="Tim Epkes"> # Copyright (c) 2018 All Right Reserved # # Please see the LICENSE.txt file for more information. # All other rights reserved. # # THIS CODE AND INFORMATION ARE PROVIDED "A...
true
38358ae6b29a796b409452cc84b60fd4b148c55b
Shell
cjenkin2/EHWE-21
/vpu_test/encode_yuv.sh
UTF-8
1,885
3.484375
3
[]
no_license
if [[ ($# -ne 5) && ($# -ne 6) ]] then echo "usage: $0 <input_yuv> <output_vid> <width> <height> <cap> [vpu_params]" exit 65 # bad parameters fi INPUT_YUV=$1 OUTPUT_FILE=$2 WIDTH=$3 HEIGHT=$4 CAP=$5 # vpuencoder params if [[ -z $6 ]] then PARAMS="" else PARAMS=$6 fi #helper functions function set_date() { ...
true
5c9f29ad8c003e42900df24d51fe1c41a8095ba8
Shell
basharal/mongo-s3-backup
/start.sh
UTF-8
1,262
3.421875
3
[ "MIT" ]
permissive
#!/bin/bash set -e ACCESS_KEY=${ACCESS_KEY:?"ACCESS_KEY env variable is required"} SECRET_KEY=${SECRET_KEY:?"SECRET_KEY env variable is required"} MONGO_HOST=${MONGO_HOST:?"MONGO_HOST env variable is required"} S3_PATH=${S3_PATH:?"S3_PATH env variable is required"} MONGO_PORT=${MONGO_PORT:-27017} DATA_PATH=${DATA_PAT...
true
71449528d8ecd4459dffc53468689890d26ecb9d
Shell
samsucik/prosodic-lid-globalphone
/egs/reverb/s5/local/REVERB_create_mcdata.sh
UTF-8
2,572
3.421875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Copyright 2013 MERL (author: Shinji Watanabe) # Contains some code by Microsoft Corporation, Johns Hopkins University (author: Daniel Povey) # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the...
true
db81cfa6b1a6674de1aeab3159bcf358eb566e3a
Shell
petronny/aur3-mirror
/finalterm-git/PKGBUILD
UTF-8
1,340
2.796875
3
[]
no_license
# Maintainer : Valentin Hăloiu <vially.ichb+aur@gmail.com> # Contributor : Martin Wimpress <code@flexion.org> _pkgname=finalterm pkgname=${_pkgname}-git pkgver=191.39b078b pkgrel=1 pkgdesc="A new breed of terminal emulator" arch=('x86_64' 'i686') url="http://finalterm.org" license=('GPL3') depends=('clutter-gtk' 'desk...
true
b3dfb605f19b4504bdc394758e0543f2c520c213
Shell
Kilobyte22/pm-arch
/packages/plasma-camera-git/PKGBUILD
UTF-8
835
2.71875
3
[]
no_license
# Maintainer: Bhushan Shah <bhush94 at gmail dot com> pkgname=plasma-camera-git pkgver=r9.0a68cd2 pkgrel=1 pkgdesc="Simple camera application for mobile devices" arch=('any') url="https://community.kde.org/Plasma/Mobile" license=('GPL3') depends=('plasma-framework') makedepends=('git' 'cmake') provides=('plasma-camera'...
true
ee13a1f45181b80397aa8798255ee9a091ce318d
Shell
geparada/my_src
/Tools/sam2bai.sh
UTF-8
175
2.734375
3
[]
no_license
for i in $(ls *.sam) do name=${i%.sam} samtools view -Sb $name.sam -o $name.bam && samtools sort $name.bam $name.sort.bam $name.sort.bam.bai && rm $name.sam $name.bam done
true
aefa705ca80512bc95f97e15ae585ab37d0db9ea
Shell
devopstguru/boto3
/read.sh
UTF-8
242
2.578125
3
[]
no_license
#!/bin/bash input="/etc/fstab" rm /fstabbackup rm /fstab while IFS= read -r line do echo "$line" >> /fstab done < "$input" cat /fstab | grep -A100 /backup >> /fstabbackup aws s3 cp /fstabbackup s3://cf-templates-tqftrjy4ugkm-us-east-1
true
8ccc4193c133bff78b5df5a5eba7b397bcaef947
Shell
KEINOS/Broadcast-inside-Docker-network
/receiver/python3/receiver.sh
UTF-8
431
2.53125
3
[ "MIT" ]
permissive
#!/bin/sh # ============================================================================= # This script receives the broadcast message via "socat" command and pipes the # STDOUT output to the Python3 script. # ============================================================================= socat -u UDP-LISTEN:$PORT_UDP_...
true
a0eb05cebc1e765dc857b33ecf6b229c6e6e1f2d
Shell
aston-r/fibonacci
/deploy-k8s.sh
UTF-8
1,884
4.09375
4
[]
no_license
#!/bin/bash # Fail on any '$? > 0' set -o errexit # Constants DOCKER_HUB_ACCOUNT='yevhenlodovyi' PROJECT_NAME='fibonacci' # Functions function usage() { echo """ Usage: $0 [--publish|--deploy|] Args: --publish: Publish Docker image into registry --deploy: Deploy k8s configuration """ exit 0 } # Main part opts="$...
true
76d87c69c2f95d287434d20f79161dfb7a49c23a
Shell
postarc/geekcash
/install.sh
UTF-8
7,047
3.84375
4
[]
no_license
#!/bin/bash # install.sh # Installs masternode on Ubuntu 16.04 x64 & Ubuntu 18.04 # ATTENTION: The anti-ddos part will disable http, https and dns ports. BINTAR='geekcash-1.3.0-x86_64-linux-gnu.tar.gz' BINADDR='https://github.com/GeekCash/geek/releases/download/v1.3.0.1/geekcash-1.3.0-x86_64-linux-gnu.tar.gz' BPATH='ge...
true
1375de53112b22f74dcd0f8bd6048dc912e829f8
Shell
cnewcome/scripts
/listcol.joe
UTF-8
2,626
4.03125
4
[]
no_license
#!/bin/bash # Passing a $1 argument will list all collectors that have a string that matches that argument. # Passing no argument will use your current working directory and strip out the machinesig # and use that to list all matching collectors with same machinesig. # CRN - 2016-03-10 -- rewrote the search potion to...
true
9cf71765e4bf0b9aedf56b11cd6d80e09ad5921d
Shell
HexHive/FuZZan
/LLVM/scripts/install-msan-files.sh
UTF-8
850
2.671875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash #This script softlinks our modified files into the LLVM source tree #Path to llvm source tree llvm=`pwd`/llvm src=`pwd`/src runtime=`pwd`/compiler-rt rm $runtime/lib/msan/msan_allocator.cc rm $runtime/lib/msan/msan.h rm $runtime/lib/msan/msan_linux.cc rm $runtime/lib/msan/CMakeLists.txt rm $runtime/lib/m...
true
05ac109ad210873ca74a5065053fd66cd2462b30
Shell
BME-DDB/SparkServer
/shell/build.sh
UTF-8
679
3.46875
3
[ "MIT" ]
permissive
#!/bin/bash # /*** # * 编译、清理脚本 # * @author manistein # * @since 2019-04-19 # */ parentPath=$(dirname $(pwd)) function build() { # 编译spark-server echo "=====================" echo "start build spark-server" cd $parentPath/spark-server MONO_IOMAP=case msbuild SparkServer.sln cd $parentPath/spark-server/server/b...
true
11d46bdcd45af291c00e9b4dcb915af0f3dd6616
Shell
a-mail-group/coherent
/src/sys.r12/conf/cohmain/src/mkdev.sh
UTF-8
1,180
3.390625
3
[ "BSD-3-Clause" ]
permissive
# cohamin/mkdev - get general system configuration # Revised: Wed Mar 2 18:10:11 1994 CST DEVDIR=/dev . /usr/lib/shell_lib.sh COMMAND_NAME=$0 source_path $0 "HOME_DIR=" parent_of $HOME_DIR "CONF_DIR=" . $CONF_DIR/bin/conf_lib.sh # Things to do: # # Check on CYRIX configuration. CXHW=$($CONF_DIR/bin/cxtype) case...
true
08ed68d258ebe2403b2ce278bb6a027eb4f93aff
Shell
mad-max-traveller/viz_scripts
/Seed node/1_zero_build_viz.sh
UTF-8
3,460
2.671875
3
[]
no_license
#!/bin/bash . config.sh apt-get update && apt-get install -y build-essential autoconf automake cmake g++ git libssl-dev libtool make pkg-config python3 python3-jinja2 libboost-chrono-dev libboost-context-dev libboost-coroutine-dev libboost-date-time-dev libboost-filesystem-dev libboost-iostreams-dev libboost-locale-de...
true
bf04e908a2ab309949b13812be18c6687564ef8f
Shell
bspan2001/docker-images
/ruby/build.sh
UTF-8
1,284
3.546875
4
[]
no_license
#!/bin/bash -ex DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" IMAGE_NAME=szewec/${DIR##*/} CACHE_DIR=${CACHE_DIR:-${DIR}/.cache} source $DIR/../lib.sh if [[ "$PULL_IMAGES" = "true" ]]; then # pull all tags of the docker image docker pull "${IMAGE_NAME}:2.2" || true docker pull "${IMAGE_NAME}:2.3" || ...
true
588ef38c2e30be5ca4ff4af8740256519ddccf67
Shell
manicminer/dotfiles
/functions
UTF-8
7,273
4.0625
4
[ "Apache-2.0" ]
permissive
# These only work with zsh find_up() { if [[ -n "${2}" ]]; then _path="${2}" else _path="${PWD}" fi while [[ "${_path}" != "" && ! -e "${_path}/${1}" ]]; do _path="${_path%/*}" done if [[ -n "${_path}" ]]; then echo "${_path}/${1}" return 0 fi return 1 } find_up_all() { if [[ -n "${...
true
50393fce42f33f00d03b4c85cd5ed0d26172663c
Shell
FlorianTolk/Dockerized-CouchDB-Standup
/install.sh
UTF-8
1,316
4.0625
4
[]
no_license
#!/bin/bash # Simple script to install Docker function announce() { echo "" echo "#====================================================#" echo "#" echo "# Installing $1" echo "#" echo "#====================================================#" } # Check for sudo # if [ "$EUID" -ne 0 ] then announce "P...
true
65e70b202598b3c2daa888bf9f4c89c01211b3f0
Shell
guozhan1722/SomeOldSrcCode
/webif/files/www/cgi-bin/webif/system-services.sh
UTF-8
4,642
3.171875
3
[]
no_license
#!/usr/bin/webif-page <% . /usr/lib/webif/webif.sh ################################################################### # Services # # Description: # Services control page. # This page enables the user to enable/disabled/start # and stop the services in the directory /etc/init.d # # Author(s) [in order of work d...
true
973ead8ac3a2034b22d13a6648d45e45c8908f37
Shell
AnuvrathElastica/scaling-enigma
/monitor/build_docker_image.sh
UTF-8
196
3.25
3
[]
no_license
#!/bin/bash set -e IMAGE_NAME=`basename $PWD` if [ -z $1 ] ; then ELASTICA_VERSION="latest" else ELASTICA_VERSION="$1" fi sudo docker build --rm . -t "${IMAGE_NAME}":"${ELASTICA_VERSION}"
true
9910e348fd8c27e7dea13279c01b89c73fb41b90
Shell
shwaka/kotlin-publish
/install.sh
UTF-8
169
2.671875
3
[]
no_license
#! /bin/bash for d in example-lib example-mplib; do ( echo "--- Install $d ---" cd $d ./gradlew publishToMavenLocal echo ) done
true
53d4bbb4f4642792a5501a78e63f27d18c7de7e9
Shell
lSoleyl/linux_utils
/lib/require-lib.sh
UTF-8
570
4.1875
4
[]
no_license
#!/bin/bash # A small script, which checks whether a binary is present and if not, # prompts the user to install it # Usage require-lib.sh <binary> [packetname (if different)] if [ -z $1 ]; then echo "Usage: $(basename $0) <binary> [packetname (if different)]" else program=$1 [ -z $2 ] && packet=$program || pack...
true
336190aaa4316dc07eb1c990363a3cd4a89297b4
Shell
nielsbasjes/yauaa
/start-docker.sh
UTF-8
5,532
3.65625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Yet Another UserAgent Analyzer # Copyright (C) 2013-2023 Niels Basjes # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unles...
true
cd40086342ecaa021b251e109d848b794caac36f
Shell
angelo-malatacca/AWS-Utility-Scripts
/ec2-check.sh
UTF-8
1,006
3.171875
3
[]
no_license
#!/bin/bash echo "" echo "This script show you all the instances" echo "in all the AWS available regions" echo "" for region in `aws ec2 describe-regions --output text | cut -f4` do echo -e "\nListing Instances in region: $region:" echo "first check:..." aws ec2 describe-instances --region $region | jq...
true
08d27a3b89cb37f378a5ca7dcbb01016e56952c6
Shell
shovonis/IdeaProject
/therap_training/movies/movie.sh
UTF-8
1,164
2.625
3
[]
no_license
#clearing the shell clear #movielist ls -d */ > movielist rm -fr ratings.html echo "<head> <style> #customers { font-family:"Trebuchet MS", Arial, Helvetica, sans-serif; width:100%; border-collapse:collapse; } #customers td, #customers th { font-size:1em; border:1px solid #98bf21; padding:3px 7px 2px 7px; } #custome...
true
d9e299c383d2977c277b26fa23dbba59b0f75618
Shell
adadgio/deploy
/clean.sh
UTF-8
2,144
3.765625
4
[]
no_license
#!/usr/bin/env bash # Bash deploy script. Copyright (c) 2017 Romain Bruckert # https://kvz.io/blog/2013/11/21/bash-best-practices/ ### # Check input arguments ## if [ -z "${ENV}" ]; then echo -e "${red}✗ No argument supplied for environment (-e|--env|--environment)${nc}" exit 1 fi if [ -z "${VERSION}" ]; then ...
true
a7f66cc147d9ba5bbe229ce2b00713d52bb2ca77
Shell
jensp/Arch-Linux-on-i586
/core/filesystem/profile
UTF-8
1,445
3.359375
3
[]
no_license
# # /etc/profile # # This file is intended to be used for ALL common # Bourne-compatible shells. Shell specifics should be # handled in /etc/profile.$SHELL where $SHELL is the name # of the binary being run (discounting symlinks) # # Sections taken from SuSe's /etc/profile # Note the explicit use of 'test' to cover al...
true
113a98de84588f47893ab6d99d9285d13792956f
Shell
litti/dccu2
/x86_32_debian_all/bin/setlgwkey.sh
UTF-8
1,075
3.59375
4
[ "MIT" ]
permissive
#!/bin/sh # list all keychange files UPDATEFILES="/etc/config/*.keychange" # perform key exchange for every keychange file if [ -f $UPDATEFILES ] then for F in `ls $UPDATEFILES` do echo "Processing update file $F" #parse the file SERIAL=`cat $F | grep Serial | sed s/Serial=//` IP=`cat $F | grep IP | sed s/IP...
true
fdfb9ac629f272132af7438e76440bb8d45937cf
Shell
paulcastro/dinkum
/whiskPackage.sh
UTF-8
1,313
3.296875
3
[]
no_license
#!/bin/sh source local.env PAYLOAD=$(<payload.json) function uninstall() { echo "Disabling rule" wsk rule disable backupFromTrigger echo "Deleting trigger" wsk trigger delete backupTrigger echo "Updating actions" wsk action delete getApiToken wsk action delete getServers wsk action d...
true