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
794a4277e231bf74c18e471ee2eeeb1c96e0d104
Shell
trangvu/bert
/ner/task_tuning.sh
UTF-8
855
2.8125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash ROOT_DIR=`cd ../.. &&pwd` DATE=`date '+%Y%m%d-%H%M%S'` SRC_PATH=$ROOT_DIR'/bert' DATA_DIR=$ROOT_DIR'/bert/ner/data' module load python/3.6.2 module load cuda/10.0 module load cudnn/7.6.5-cuda10.1 source $ROOT_DIR/env/bin/activate INPUT="train" DATASET="wikibook-tf-128" VOCAB_FILE=$SRC_PATH'/config/en_unc...
true
e262e5e937330c143ab65501c7be22b6e44c7fd4
Shell
hsuyeep/Afaac_cep
/gentcpparset.sh
UTF-8
495
3.109375
3
[]
no_license
#!/bin/bash # Script to generate an AARTFAAC correlation parset with data coming over tcp. # pep/16Jan14 startport=4567; for stat in `seq 2 7`; do for dip in `seq 0 47`; do let "statoff=$stat-2"; let "offset = $statoff*48 + $dip"; let "testport= $startport + $offset"; # check if testport is in use. N...
true
3e0400cefe11ccdf3a5f8e0c0d29d0d9c08d2d80
Shell
jondong/dotfiles
/bin/grep-source
UTF-8
264
3.1875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash if [ -z "$@" ]; then echo "usage: $(basename "$0") <options> PATTERN" exit 1; fi find . -type f \( -name "*.[cChH]" -o -name "*.cc" -o -name "*.[ch]pp" -o -name "*.[ch]xx" -o -name "*.c++" -o -name "*.java" \) -exec grep -n "$@" {} +
true
634571eecc672b70b5c30c3a2bc6ee7f475ecaae
Shell
machadoheather/dmel_seasonal_RTEC
/seasonal_glm/glm_permutations/code_permute_paired20_2sample_caF_popyear.sh
UTF-8
884
2.609375
3
[]
no_license
## June 2017 # Permute final seasonal glms # Folder: /scratch/users/hmachado/nescent_melCA/glm_permutations # 1) create list of populations to permute spring/fall # 2) run seasonal regression switching spring/fall for those populations # 3) use these regressions in calculating: ## in R pops20 = read.table("../../da...
true
9f8aa46e19dbc485f5170e1ac477476c8327aa40
Shell
benbc/home-dir
/bin/go
UTF-8
739
4.09375
4
[]
no_license
#!/bin/sh -u if [ $# -lt 2 ]; then # Not enough arguments echo "Usage: `basename $0` \"command --to --execute\" files to watch" exit 64 fi COMMAND=$1; shift FILES=$@ EXCLUDED="(.*/\.#.*)|(.*/#.*#)|(.*_flymake.*)" # various temporary emacs files: # **/.#foo.rb...
true
a19075263168dcf5aaf37084f3a760c7062ceaee
Shell
thinkmoon/thinkmoon
/package.sh
UTF-8
274
2.765625
3
[]
no_license
package=$(node -p -e "require('./package.json').dependencies") echo $package dependencies=$(echo $package | sed "s/,/\n/g" | sed "s/\({\|}\)//g" | sed "s/:/@/g" | sed "s/\('\|\^\|\~\)//g" | sed "s/@ /@/g") for loop in $dependencies do echo $loop npm pack $loop done
true
acaa40af7265901a58273efbb944b2129ffd034a
Shell
anhmvc/CS131
/HW3/jmm/runtests.sh~
UTF-8
386
2.828125
3
[]
no_license
#!/bin/bash classes=(Null) numThreads=(1 8 32 40) size=(5 50 100) for i in "${classes[@]}"; do for j in "${numThreads[@]}"; do for k in "${size[@]}"; do echo "time timeout 3600 java UnsafeMemory $i $j 100000000 $k"; time timeout 3600 java UnsafeMemory $i $j 100000000 $k; ...
true
4cc881c7ef868d42be0d1088f0c0aa9037c1dd33
Shell
uyorum/dotfiles
/bin/setup.sh
UTF-8
3,230
4.5
4
[]
no_license
#!/bin/bash readonly PROGNAME=$(basename $0) readonly PROGDIR=$(readlink -m $(dirname $0)) usage() { cat <<HELP NAME: $PROGNAME -- Set up for using my dotfiles SYNOPSIS: $PROGNAME [-h|--help] $PROGNAME [-v|--verbose] DESCRIPTION: This script sets up for using my dotfiles. For example: 1. Clone dotf...
true
94cfa7d2aeb43d79230292d8308a4fa39d0b3934
Shell
davidpue/raspberry
/AlexaService
UTF-8
402
3.109375
3
[]
no_license
#!/bin/sh #/etc/init.d/AlexService export PATH=$PATH:/usr/local/bin export NODE_PATH=$NODE_PATH:/usr/local/lib/node_modules case "$1" in start) exec forever --sourceDir=/home/pi/share/node -p /home/pi/share/node fauxmoServer.js #scriptarguments ;; stop) exec forever stop --sourceDir=/home/pi/share/node fauxmoServer.j...
true
bfce33ad7c533d2056d36f08f072050fb035016a
Shell
yuki-create/masterthesis
/1211/ms.sh
UTF-8
2,554
2.671875
3
[]
no_license
cd `dirname $0` # change current directry to [ms] gcc -I/usr/local/include -c ms.c -o ms.o gcc -L/Users/saki/lapack-3.8.0 ms.o -llapacke -llapack -lcblas -lblas -lgfortran -lm -o ms #echo comple completed. # [0]./ms, [1]debug_flag [2]N(pow of integer), [3]mu_k, [4]sigma_k, [5]mu_g, [6]sigma_g, [7] dirname # 正規分布の muは平均...
true
59dbc27543cfe2f9ff827950ddc49670e3a3dd5f
Shell
jackzulaa/dba_bundle
/start_tracing.sh
UTF-8
8,699
3.84375
4
[]
no_license
# ################################################# # Script to Enable tracing for an Oracle Session. # # # # # Author: Mahmmoud ADEL # # # # ### # Created: 24-12-11 # # # # # # Modified: 31-12-13 # Customized the script to run on # various environments. # 04-05-14 Enhanced searc...
true
dad9ae710f18ee72ab862f92472905f9649f5c19
Shell
schasins/PPL-synthesis
/benchmarkSuite/benchmarks.sh
UTF-8
351
2.671875
3
[]
no_license
for strategy in "n" "d" "c"; do for i in {1..5}; do for entry in `ls datasets/`; do echo $entry SUBSTRING=$(echo $entry| cut -d '.' -f 1) echo $SUBSTRING python ../synthesis/synthesizePPLmodel.py datasets/$entry 250 outputs $SUBSTRING-$i $strategy annealing f f t t holdoutsets/"$SUBSTRING"_holdout.c...
true
1a7af7a0155794500ac3d6a3d2b8f9422d440b3f
Shell
matplo/hepsoft
/herwig/_install.sh
UTF-8
2,364
3.03125
3
[]
no_license
#!/bin/bash BT_install_prefix=<hepsoft> add_prereq_module_paths "${BT_install_prefix}/modules" # add_prereq_modules cmake root hepmc lhapdf boost cgal fastjet pythia8 YODA # add_prereq_modules cmake root hepmc lhapdf fj pythia8 YODA rivet add_prereq_modules cmake boost hepmc YODA BT_module_dir=${BT_install_prefix}/mod...
true
08fed813abc3e630059e6cbb1619356f696c3c91
Shell
xbcsmith/lfs
/lfs.sh
UTF-8
39,446
3.125
3
[ "MIT" ]
permissive
#!/bin/bash umask 022 LFS=/lfs LC_ALL=POSIX LFS_TGT=$(uname -m)-lfs-linux-gnu PATH=/tools/bin:/bin:/usr/bin export LFS LC_ALL LFS_TGT PATH mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib/firmware,mnt,opt} mkdir -pv /{media/{floppy,cdrom},sbin,srv,var} install -dv -m 0750 /root install -dv -m 1777 /tmp /var/tmp mkd...
true
6243ea9f0be935fb43eebcb28e85da78d1f5a42d
Shell
jvenezia/git-line
/test/scripts/git-line-update.bats
UTF-8
1,415
3.703125
4
[ "MIT" ]
permissive
#!/usr/bin/env bats source 'test/test_helper/bats-support/load.bash' source 'test/test_helper/bats-assert/load.bash' source 'test/test_helper/test_helper.bash' setup() { setup_tests create_git_repo cd git_repo || exit } teardown() { clean_tests } @test "'git line update' updates DEVELOPMENT_BRANCH f...
true
b4fbf9c44d1d3435e41dcb9385041459d6a3f842
Shell
ruffm/PolyBandit
/install.sh
UTF-8
4,080
2.984375
3
[]
no_license
#!/bin/bash echo "Please enter your PSU ID (abc1234):"; read name; date=$(date); echo "Setting up the levels of the game... please stand by..."; #level1_5=$name${date:0:10}"level1-5"; #level6_10=$name${date:0:10}"level6-10"; #level11_15=$name${date:0:10}"level11-15"; #level16_20=$name${date:0:10}"level16-20"; #Pas...
true
3d6418fd8955b81a8ce1287ed43901061c04f44b
Shell
jaredtkatz/dolt
/bats/create-views.bats
UTF-8
2,941
3.046875
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bats load $BATS_TEST_DIRNAME/helper/common.bash setup() { setup_common } teardown() { teardown_common } @test "create a single view" { run dolt sql <<SQL create view four as select 2+2 as res from dual; select * from four; SQL [ "$status" -eq 0 ] [ "${#lines[@]}" -eq 6 ] [[ "${...
true
99b77ffe5a37e24d03d306f9f0ad4883249030e8
Shell
R4YM3/dotfiles
/install/brew-cask.sh
UTF-8
887
3.15625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash which -s brew if [[ $? != 0 ]] ; then # Install Homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" fi # Install cask packages apps=( 1password cyberduck firefox gitkraken gitup google-chrome iterm2 macdo...
true
8575eb465d13104ee00456ae5030224895a1550c
Shell
xuanngo2001/dvdrip
/update-fb-dvdrip.sh
UTF-8
704
3.390625
3
[]
no_license
#!/bin/bash set -e # Description: Update Firstboot vbox script. fb_run_dir=$(readlink -ev /media/master/github/firstboot/firstboot/scripts/ess-mpv-dvdrip/run) dvdrip_script_dir=$(readlink -ev ./dvdrip) # Update dvdrip to firstboot. yes | cp -v "${dvdrip_script_dir}"/* "${fb_run_dir}" # Commit dvdrip at firstboot. ...
true
cbad86876129dd308d953401a48af73811f102c7
Shell
paretje/dotfiles
/.config/rofi-pass/config
UTF-8
3,160
3.171875
3
[ "MIT" ]
permissive
# permanently set alternative root dir. Use ":" to separate multiple roots # which can be switched at runtime with shift+left/right # root=/path/to/root # rofi command. Make sure to have "$@" as last argument _rofi () { wofi_args=() while [ $# -gt 0 ]; do case "$1" in -dmenu ) wofi_args+=("--dmenu") ;; ...
true
a9bb176d0195599b9eef25dc40b1ddd3cc99d3ef
Shell
cathive/concourse-sonarqube-resource
/test/cli_projects.bats
UTF-8
1,107
3.125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bats setup() { export PATH="${BATS_TEST_DIRNAME}/mocks:${PATH}" } @test "Valid CLI project" { # Variables WORKSPACE=$(mktemp -d "${BATS_TMPDIR}/test-project.XXXXXX") PROJECT_ROOT="${WORKSPACE}/cli_project" OUT_RESULT_EXPECTED="${BATS_TEST_DIRNAME}/workspace/cli_project/out_result.json" OUT_RESUL...
true
3616e035cddd25bf5181517a7ae75adaf5998e4c
Shell
phalapi/phalapi-net
/tools/build_wikis.sh
UTF-8
636
3.609375
4
[]
no_license
#!/bin/bash # # ./build_wikis.sh /mnt/hgfs/F/PHP/PhalApi.wiki/ # # @author dogstar 20150408 # ## Usage if [ $# -lt 1 ] then echo "Usage: $0 <PhalApi.wiki>" echo "" #exit 1 fi ## Env #WIKI_PATH=$1 WIKI_PATH="/mnt/hgfs/F/PHP/PhalApi.wiki" BASE_PATH=$(cd `dirname $0`; pwd) BASE_PATH="/mnt/hgfs/F/PHP/PhalApi...
true
e87fca336a355d763fcb8faefedbd2149d7abd21
Shell
x7c1/plus
/builder/init/release.linux_x86.sh
UTF-8
343
3.53125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash set -xue GH_VERSION="1.2.0" main() { setup_gh } setup_gh() { if command -v gh; then echo "gh already installed." gh --version return fi curl -OL https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_amd64.deb apt install -y ./gh_${GH_VERSION}_l...
true
3369e3853f2ecfa3c92792fd794f9e9cff05f77d
Shell
Sad-Soul-Eater/dotfiles
/configs/bin/keyboard/mic-toggle.sh
UTF-8
537
3.046875
3
[]
no_license
#!/usr/bin/env bash DEFAULT_SOURCE="$(pactl get-default-source)" pactl set-source-mute "$DEFAULT_SOURCE" toggle NOTIFICATION_ICON='' NOTIFICATION_BODY='' if [[ "$(pactl get-source-mute "$DEFAULT_SOURCE" | grep --only-matching --perl-regexp '(?<=Mute: ).+')" == "yes" ]]; then NOTIFICATION_ICON='microphone-sensitivi...
true
fafecebf0f29a16f24fa7b9bd572a840511de253
Shell
Obsecurus/vast
/nix/update.sh
UTF-8
604
2.609375
3
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env nix-shell #!nix-shell -i bash -p coreutils git nix nix-prefetch-github nix-prefetch-git dir=$(dirname "$(readlink -f "$0")") toplevel=$(git -C ${dir} rev-parse --show-toplevel) caf_rev=$(git -C ${toplevel} submodule status -- aux/caf | cut -c2- | cut -d' ' -f 1) broker_rev=$(git -C ${toplevel} submodule...
true
cac2ddbff564801ccd14cc4a28debe7f5d5a65b8
Shell
Bartonio/Warsztat-programisty
/lowercase.sh
UTF-8
238
3.296875
3
[]
no_license
#!/bin/bash # Variables domain="CyberCoBIz" out="" function to_lower() { local str="$@" local output output=$(tr '[A-Z]' '[a-z]'<<<"${str}") echo $output } to_lower "THiS iS A TeSt" out=$(to_lower ${domain}) echo "Domain name : $out"
true
af6c7a3b58063fd5e1402d330fc1fd2badbfb6bc
Shell
vkhazin/azurecdn-setup
/cdnSetup.sh
UTF-8
1,017
2.6875
3
[]
no_license
#!/bin/bash # Update the following variables for your own settings: resourceGroup=azureCDNSetup resourceGroupLocation=westus cdnProfileLocation=westus cdnEndPointLocation=westus profileName=exampleProfileName endPointName=exampleEndPointName pricingTier=Standard_Microsoft #Custom_Verizon, Premium_Verizon, Sta...
true
8500bf58f136b02da44c35142034414b57eead5a
Shell
openshift/release
/ci-operator/step-registry/upi/install/openstack/inventory/upi-install-openstack-inventory-commands.sh
UTF-8
2,879
3.34375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -Eeuo pipefail CLUSTER_NAME="$( yq -r '.metadata.name' "${SHARED_DIR}/install-config.yaml")" OS_SUBNET_RANGE="$( yq -r '.networking.machineNetwork[0].cidr' "${SHARED_DIR}/install-config.yaml")" SVC_SUBNET_RANGE="$( yq -r '.networking.serviceNetwork...
true
8019ed0de638185169bd1932745d0ffdafa52db6
Shell
etauker/config-atom
/install.sh
UTF-8
2,412
4.0625
4
[]
no_license
#!/bin/bash # Styling variables RESET="$(tput sgr0)" RED="${RESET}\033[38;5;1m" GREEN="${RESET}\033[38;5;10m" YELLOW="${RESET}\033[38;5;11m" GREY="${RESET}\e[37m" # Prints help page if [[ $@ = *"-h"* || $@ = *"--help"* ]]; then echo -e " ${GREY}" echo -e " This script installs atom and apm." echo -e "...
true
71c0b31b2874baa5215362be299a34b1128673f3
Shell
YOwatari/dotfiles
/symlinks/zsh/.zsh/plugins/direnv.zsh
UTF-8
344
3.4375
3
[]
no_license
path=($HOME/.local/bin $path) _zsh_direnv_install() { echo "Installing direnv..." curl -sfL https://direnv.net/install.sh | bin_path=$HOME/.local/bin bash } _zsh_direnv_load() { eval "$(direnv hook zsh)" } if ! command -v direnv &>/dev/null; then _zsh_direnv_install fi if command -v direnv &>/dev/null; the...
true
349d01ba81959bf481fe825ed98eb090846fcb5a
Shell
alexMAF93/QA
/baze_date.sh
UTF-8
525
3.328125
3
[]
no_license
#!/bin/bash BAZE=/home/oquat/malex/BAZE/baze > $BAZE if [[ "$1" == "" ]] then printf "\n\n\tusage: $0 SERVER1 [SERVER2...n]\n\n" exit 27 fi h=`echo $@ | sed 's/,/ /g' | sed 's/\&/ /g' | tr -s ' ' | tr [a-z] [A-Z]` for i in $h do ssh -q $i ps -ef | grep pmon | tr -s " " | cut -d " " -f 8 | sed s/^/"==========>>>...
true
9b8415e2cd8b48cbe44055738913390fc8751182
Shell
Inori/FuckGalEngine
/EntisGLS/EntisGLSKit/csxtool/merger
UTF-8
1,660
3.46875
3
[]
no_license
#!/bin/bash #script parses files yosuga_tl.txt and yosuga_orig.txt, merges them #taking JP lines from orig and EN lines from tl, then prints the result #to stdout #result consists of sequence of JP lines with same index, EN lines with #the same index and two empty lines #this script can be used to merge two extracted f...
true
ab62317f305b427a484a2d922370e44f1d2e8d46
Shell
lbrayner/shell_scripts
/mkvsettitle
UTF-8
356
3.375
3
[]
no_license
#!/usr/bin/env bash set -e print_usage() { printf '\n%s\n' "$(basename "${0}") FILE" } if [[ ! ${#} -eq 1 ]] then print_usage 1>&2 exit 1 fi file="${1}" title="$(xmllint --xpath "string(/Tags/Tag[Targets/TargetTypeValue='30']/"\ "Simple[Name='TITLE']/String)" <( mkvextract tags "${file}" ))" mkvproped...
true
b43013009ff0fb6ecb88003ffa7d699c71db1111
Shell
chunyang-wen/code-practice
/Shell/send_mail.sh
WINDOWS-1252
4,635
2.6875
3
[]
no_license
#!/bin/bash set -e DATE=$1 #ƶ python gen_table_html.py data/domain_img_mobile.$DATE template/template_domain.html mail/domain_img_mobile_$DATE.html python gen_table_html.py data/domain_img_txt_mobile.$DATE template/template_domain.html mail/domain_img_txt_mobile_$DATE.html python gen_table_html.py data/domain_topic_1_m...
true
1442af2c469a953ad925a12956580e8da69f5110
Shell
conda-forge/openorb-data-de430-feedstock
/recipe/build.sh
UTF-8
671
3.125
3
[ "BSD-3-Clause", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/bash # Download and build a binary version of JPL ephemeris EPH_TYPE=430 EPH_ASCII="header.430_229 ascp1550.430 ascp1650.430 ascp1750.430 ascp1850.430 \ ascp1950.430 ascp2050.430 ascp2150.430 ascp2250.430 \ ascp2350.430 ascp2450.430 ascp2550.430" # Download a...
true
7f6fdb62f7d963d2ede99ea24abc753b53c0e25a
Shell
pscollins/mshacknight
/processing/main/fix_sound.sh
UTF-8
2,253
4.09375
4
[]
no_license
#!/bin/bash # Bash script to fix sound in Processing for Ubuntu # Tested only in Ubuntu 12.04 and 13.04! # 1) open a terminal # CTRL+ALT+T # 2) cd into the folder that contains the processing folder. # If you have /home/MYUSER/Desktop/MYP5/processing-2.0/ then type: # cd /home/MYUSER/Desktop/MYP5/ # 3) Downl...
true
b7c7bbda575a3f3d5db8507a5972104b10d74e1d
Shell
Mellanox/containerized-ovs-forwarder
/build/build.sh
UTF-8
1,563
3.28125
3
[]
no_license
#!/bin/bash TOPDIR=`git rev-parse --show-toplevel` cd ${TOPDIR}/build # Parse arguments if [ -z "$MLNX_OFED_RHEL_LIBS" ]; then MLNX_OFED_RHEL_LIBS="https://linux.mellanox.com/public/repo/mlnx_ofed/5.2-2.2.0.0/rhel7.7/x86_64/" fi if [ -z "$MLNX_OFED_VERSION" ]; then MLNX_OFED_VERSION=52220 fi #MLNX_OFED_RHEL_LIBS="/.a...
true
0d0b241935058b67d9925d4e4dcc147eb2e78db9
Shell
hugoj-goncalves/Angular2-Toaster
/angular2-toaster/projects/eklesia/angular2-toaster/publish.sh
UTF-8
1,317
3.453125
3
[ "MIT" ]
permissive
#!/bin/bash mydir="$(dirname "$(readlink -f "$0")")" pushd "$mydir" 2>&1 >/dev/null npm install || exit 1 # ng test @eklesia/angular2-toaster --browsers=Chrome_no_sandbox --watch=false || exit 1 CURRENT_VERSION=$(cat package.json | grep version | grep -oP "\d[^\"]+") echo "Current published package version for @ekle...
true
2c657f4da43fd9c32042f5abc36756513ddb1665
Shell
wszhang/ArcherScripts
/Phonons-TF.sh
UTF-8
805
2.84375
3
[]
no_license
#!/bin/bash --login #PBS -N ZnPn-EV #PBS -l select=24 #PBS -l walltime=4:00:00 #PBS -A e05-gener-wal #PBS -q long #Note: select = No. Nodes (e.g. 12 = 12*24 = 288 cores) export OMP_NUM_THREADS=1 ulimit -s unlimited module load vasp5/5.3.3 JOBS=24 export NPROC=`qstat -f $PBS_JOBID | awk '/Resource_List.mpiprocs/ {pr...
true
25da2cbf609e8d756929c696b44f38f136b7a23b
Shell
idrisgulmez/NSChecker
/dns.sh
UTF-8
187
2.671875
3
[]
no_license
#!/bin/bash DOMAINS= "domainname.com domainname2.com nn.com " for domain in $DOMAINS do echo "$domain" echo "-----------------------------------" host -t ns $domain >> ns.txt done
true
6d22e9c7ee388ec10cb84c08f45cf55edfe46224
Shell
sradl1981/bakkPieber
/LayersFluid
UTF-8
1,508
3.0625
3
[]
no_license
#!/bin/sh cd ${0%/*} || exit 1 # run from this directory currDir=$PWD # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions nProcessors=8 echo $nProcessors #moving log-files of primary step mkdir MeshLog mv log.* MeshLog rm -r 0 rm -r processor* echo "splitting the mesh regions into fluid and ...
true
b2776e43298ac5dddcf4abacb4d85f78c3ac9f2b
Shell
kabutz/string-performance
/runconcat.sh
UTF-8
750
2.625
3
[]
no_license
DATE=`date "+%Y-%m-%d-%M-%S"` for algo in MH_INLINE_SIZED_EXACT BC_SB_SIZED_EXACT MH_SB_SIZED BC_SB_SIZED MH_SB_SIZED_EXACT BC_SB; do for i in 11 17; do echo $i; export JAVA_HOME=/opt/jdk-$i JVM_ARGS="-Xmx8g -XX:-TieredCompilation -XX:+UseParallelGC -Djava.lang.invoke.stringConcat=$algo" /opt/jdk-$i/bin/java -sh...
true
a0db9f9eff0e1fad6e6a9a7d68ee95e2098850a7
Shell
orlandothoeny/magento2-vagrant-for-developers
/scripts/host/get_path_to_php.sh
UTF-8
366
3.21875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash cd "$(dirname "${BASH_SOURCE[0]}")/../.." && vagrant_dir=$PWD source "${vagrant_dir}/scripts/output_functions.sh" incrementNestingLevel # Find path to available PHP if [[ -f "${vagrant_dir}/lib/php/php.exe" ]]; then php_executable="${vagrant_dir}/lib/php/php" else php_executable="php" fi ...
true
ba94cd6cb342a9aebac3c3f12555db082200b4c2
Shell
jez/bin
/git-rr
UTF-8
1,107
3.40625
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/sh # Usage: # Once you started git rebase --interactive master, and you are presented # with the list of commit SHAs and commit messages, from Vim: # - visually select all SHAs via "V}k" # - launch git-rr: !git-rr # - ... # - profit! you now have the same info as before, just with the list of # filenames whic...
true
8bd91c2a28869721b58ecb2b9cf2d50d7cd385f8
Shell
minight/cysca-deciders
/challenges/pwn/ropasaurusrex/contents/run_xinetd.sh
UTF-8
334
3
3
[]
no_license
#!/bin/bash # Adapted from: https://rimuhosting.com/knowledgebase/linux/misc/trapping-ctrl-c-in-bash cd /challenge # trap ctrl-c and call ctrl_c() trap ctrl_c INT function ctrl_c() { kill -9 $APP_PID } /usr/sbin/xinetd -dontfork -f challenge.conf & export APP_PID=$! echo "Running succesfully, go forth and hack!" w...
true
c3e658642909a7f32f99e4c4160d6033e34aefde
Shell
mlammers/setup
/bash_profile
UTF-8
1,438
2.71875
3
[]
no_license
# Init rbenv eval "$(rbenv init -)" export ANDROID_HOME=~/Library/Android/sdk export GRADLE_OPTS="-Dorg.gradle.daemon=true" export PATH=${PATH}:${ANDROID_HOME}/tools export PATH=${PATH}:${ANDROID_HOME}/platform-tools export PATH="${PATH}:/Applications/sonar-scanner/bin" export PATH="$PATH:`yarn global bin`" export PA...
true
ca3a9b7a5fa24ae6d11e53d38d85aecb1fc8217a
Shell
DarkAce65/dotfiles
/bspwm/warp/.config/bspwm/scripts/powermenu
UTF-8
381
3.0625
3
[]
no_license
#!/bin/bash power_off=$(printf '\uf1c4') reboot=$(printf '\uf1cc') lock=$(printf '\uf193') log_out=$(printf '\uf195') selected=$(echo -e "${power_off}\n${reboot}\n${lock}\n${log_out}" | rofi -theme power -dmenu -selected-row 2) case $selected in $power_off) shutdown -P now ;; $reboot) reboot ;; $lock) dm-tool lock ;;...
true
af3b9cae987cc8ccadd88a3683cdf194e356db9d
Shell
jomare1188/expert-disco
/scripts/samples2.sh
UTF-8
3,278
3.453125
3
[]
no_license
#!/bin/bash # Load the needed vars and create dirs for this pipeline . vars.sh ## Step 1: locate .bz2 files and extract samples names and .bz2 paths if [ $NO_SAMPLES -eq 0 ] then find ${RAW_DIR} -name "*.bz2" | sort > ${LIST_DIR}/listbz2.txt else find ${RAW_DIR} -name "*.bz2" | sort | head -n ${NO_SAMPLES} > ${L...
true
3ef2a80672687d333dccb91421e4665ad29d59bf
Shell
simonmikkelsen/mapillary_scripts
/old/mv-successfull-files.sh
UTF-8
331
3.625
4
[ "MIT" ]
permissive
#!/bin/sh dest="$1" if [ "$dest" = "" ]; then echo "Usage: $0 destination_dir" exit 1 fi find -name log-upload.txt | while read f do dir="`dirname "$f"`" grep -v 'Success: DONE' "$f" | grep Success | sed 's/^Success: //g' | while read file do mkdir -p "$dest/$dir" mv -v "$dir/$file" "$dest/$dir/" ...
true
d8c3dd9359c4299efb57b2c568c41d68e424730b
Shell
nalamdinesh/My_Data
/Data/Sqoop_Scripts/newSqoopScripts/new_sqoop_import_incremental_timestamp_selectmax.ksh
UTF-8
6,094
2.953125
3
[]
no_license
#!/bin/ksh # # Added on 27 JULY 2016 #--fields-terminated-by '\001' --null-string '\\N' --null-non-string '\\N' --hive-drop-import-delims --relaxed-isolation --split-by ${SPLIT} --delete-target-dir --fetch-size 75000 --target-dir ${RUTA} -m ${HILOS} \ # #exit 0 # LISTA DE PARAMETROS UTILIZADOS # =================...
true
7c01ca7d9e3d07d4377aa5f0d21f06e3682723c3
Shell
IvoNet/docker-x11-chrome
/x11-chrome.sh
UTF-8
2,065
3.546875
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash NAME=x11-chrome PORT=10004 quartz() { # https://fredrikaverpil.github.io/2016/07/31/docker-for-mac-and-gui-applications/ # Command below not needed if socat has been installed as a deamon. It will start x11 when needed # See for the deamon in the _config/xquartz folder # open -a XQua...
true
5c59703580cd8aecb0f258c86d930e76d2971a06
Shell
bitgoldcoin-project/bitgoldcoin
/bgc-server
UTF-8
1,469
3.234375
3
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
#!/bin/sh ### BEGIN INIT INFO # Provides: bgc-service.sh # Required-Start: $local_fs $syslog $remote_fs # Required-Stop: $local_fs $syslog $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start bitgoldcoin daemon ### END INIT INFO PATH=/usr/local/sbin:/usr/local/...
true
c3badb2d33ef8bfdec2549334ae1319295fc40cf
Shell
Owl-A/summer
/ExecScripts/exec.sh
UTF-8
810
3.359375
3
[]
no_license
#!/bin/sh if [ "$#" -ne 4 ]; then echo "Usage: $0 <lab-num> <debian-qcow2-img> <vm-name> <xml-specs-for-vm>" exit 1 fi # create a fresh image echo "1: Creating a fresh image" cp $2 ./$3.qcow2 cp ./lab/lab$1.sh ./lab.sh cp ./lab/labd$1.sh ./destroy.sh echo "2: copying the lab scripts" virt-copy-in -a ./$3.qcow2 ...
true
764b90cb318aefb9bc31f54d0ba6c984d101c2be
Shell
rexsllemel/mineXMRubuntu
/XMR_Minero
UTF-8
3,875
3.03125
3
[]
no_license
#!/bin/sh # Author Piolo Martin # XMR_Miner_Mod RexLoves # Disclaimer Sequence clear echo " XMR_Miner_Mod by RexLoves " echo " Original Script by Piolo Martin " echo " " echo " Disclaimer: " e...
true
4d6a29388e2a793d050c1292810213d85c0a237e
Shell
tst2005sh/pata
/mods/conv/csv/json_array.mod.sh
UTF-8
106
2.53125
3
[]
no_license
# csv -> json_array csv_to_json_array() { "${PATA_DIR:-.}/thirdparty/csv2json/csv2json_array.py" "$@"; }
true
3b4e1b2c6df87a9a1a75122b27523b8e5a0d47df
Shell
reneboypc/YouTube-Downloader
/muxer/Muxer app/Muxer.app/Contents/Resources/script
UTF-8
2,578
4.0625
4
[]
no_license
#!/bin/bash # Obligatory title and information echo "YouTube Downloader Muxer v1.2" echo "-----------------------------------------------" echo "Post processing for YouTube Downloader" echo "See documentation for more information" echo . # Location of ffmpeg (may need to be changed # if wrapping for application wrapp...
true
b41eb9ce763435e1bec20ab122ac60b5db27e7b1
Shell
Vegemash/virtualenvwrapper
/tests/test_lazy_loaded.sh
UTF-8
2,779
3.0625
3
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-permissive" ]
permissive
# -*- mode: shell-script -*- test_dir=$(cd $(dirname $0) && pwd) source "$test_dir/setup.sh" oneTimeSetUp() { rm -rf "$WORKON_HOME" mkdir -p "$WORKON_HOME" source "$test_dir/../virtualenvwrapper_lazy.sh" virtualenvwrapper_load } oneTimeTearDown() { rm -rf "$WORKON_HOME" } setUp () { echo } fun...
true
f236b4373837cc6f70c55798a3a007e53d8b211e
Shell
CyberSys/bifrost-build
/all/openssl-0.9.8t-1/Fetch-source.sh
UTF-8
422
3.078125
3
[]
no_license
#!/bin/bash SRC=openssl-0.9.8t.tar.gz DST=/var/spool/src/"${SRC}" MD5=f5dabb7ffb068eecf245f1b2151df100 [ -s "${DST}" ] || ../../wget-finder --checksum "${MD5}" -O "${DST}" http://www.openssl.org/source/"${SRC}" \ || ../../wget-finder --checksum "${MD5}" -O "${DST}" http://slackware.cs.utah.edu/pub/ope...
true
09ec2b97ae029359a48a531c0b34270142aa6e21
Shell
mururu/exenv
/libexec/exenv-exec
UTF-8
530
3.78125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e [ -n "$EXENV_DEBUG" ] && set -x # Provide exenv completions if [ "$1" = "--complete" ]; then exec exenv shims --short fi EXENV_COMMAND="$1" if [ -z "$EXENV_COMMAND" ]; then echo "usage: exenv exec COMMAND [arg1 arg2...]" >&2 exit 1 fi EXENV_COMMAND_PATH="$(exenv-which "$EXENV_COMMAND...
true
03381119cde837d574915aec16e290d43ae3d009
Shell
vk6flab/band-survey
/make_chart.sh
UTF-8
443
4.125
4
[ "MIT" ]
permissive
#!/bin/bash if [ $# -ne 1 ] ; then echo "Error: No data file specified, aborting." echo echo "Usage: $0 datafile" exit 1 fi if [ ! -f "$1" ] ; then echo "Error: $1 not found, aborting." exit 1 fi # There is an assumption that the datafile ends in ".csv" name=$(basename "$1" .csv) # gnuplot doesn't do paramete...
true
9644ca1efc68e0352a5508790c965319902b7b2b
Shell
open-o/common-tosca-model-designer
/modeldesigner/distribution/modeldesigner-resource/src/main/assembly/run.sh
UTF-8
2,157
3.109375
3
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LicenseRef-scancode-public-domain", "CC-BY-4.0" ]
permissive
#!/bin/sh # # Copyright 2016 ZTE Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
true
17be43660258d3a121747e12f79fd4d79c75de00
Shell
MarianickB/Encrypt
/q2_encrypt.bash
UTF-8
140
3.015625
3
[]
no_license
#!/bin/bash smallletters=`cat $1 | head -n 1` bigletters=`cat $1 | tail -n 1` cat $2 | tr 'A-Z' $bigletters | tr 'a-z' $smallletters
true
8e3fe5feb9668e5e963208af1805545c3fd9551e
Shell
leobarreiro/docker-images
/jenkins/utilities/standalone-run.sh
UTF-8
403
2.625
3
[]
no_license
#!/bin/sh . "./vars.sh" mkdir -p $VOLUMEDIR chown $USER:$USER $VOLUMEDIR -R docker network create $NETWORK_NAME docker container run --name $CONTAINER_NAME -d --restart always \ --network $NETWORK_NAME -p $HTTP_PORT:8080 -p 50000:50000 -m 2048m \ -v $VOLUMEDIR:/var/quasar/ci \ -v /var/run/docker.sock:/v...
true
bad44e69e1a03a93e642bb322203e08fbe26acbb
Shell
p4p4/soft-error-tools
/OpenSEA/ext_tools/install_cudd.sh
UTF-8
582
3.640625
4
[]
no_license
#!/bin/bash if [ "$IMMORTALTP" = "" ] then echo "The Environment variable IMMORTALTP is undefined." exit 1 fi echo "Installing the CUDD BDD library ..." CUDD="cudd-3.0.0" CUDD_ARCHIVE="$CUDD.tar.gz" if [ ! -e "$CUDD_ARCHIVE" ]; then echo " Downloading the CUDD BDD library ..." wget ftp://vlsi.colorado.e...
true
62514860b929be8ec6da9755d839815103a3e10b
Shell
hfuchs/foxup
/foxup-client/etc/foxup-client/pre_backup.d/01-wakeonlan
UTF-8
395
3
3
[]
no_license
#!/bin/sh # 2012-03-11, TODO. . /etc/default/foxup-client # Return when we don't have a MAC. [ -z "$server_mac" ] && exit 0 # Rise and shine! wakeonlan $server_mac > /dev/null || ( $log_err "Could not wake $server."; exit 1 ) for i in `seq 1 15`; do ping -c 1 $server > /dev/null && break sleep 10 done ping -...
true
fd141a6b24cc04b74720bb9c1c5428032b0b5453
Shell
zhilangtaosha/agnos-builder
/internal/ota_push.sh
UTF-8
3,039
3.71875
4
[]
no_license
#!/bin/bash -e # Make sure we're in the correct directory DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)" cd $DIR # Constants OTA_DIR="$DIR/../output/ota" DATA_ACCOUNT="commadist" # Parse input FOUND=0 if [ "$1" == "production" ]; then OTA_JSON="$OTA_DIR/ota.json" DATA_CONTAINER="agnosupdate" FO...
true
c7ed1c27815ad4a3e867b35b34d91f6b93282c1a
Shell
paulwratt/bas-2.5-pw
/test/test05
UTF-8
397
2.9375
3
[ "MIT" ]
permissive
#!/bin/sh echo -n $0: 'GOSUB RETURN subroutines... ' cat >test5.bas <<eof 10 gosub 100 20 gosub 100 30 end 100 gosub 200 110 gosub 200 120 return 200 print "hello, world":return eof cat >test5.ref <<eof hello, world hello, world hello, world hello, world eof sh ./test/runbas test5.bas >test5.data if cmp test5.ref ...
true
cb6568c822c9a3d2a6f1ee00b777d87e5312c1eb
Shell
os-migrate/os-migrate
/toolbox/edit
UTF-8
781
3.34375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -eu DIR=$(dirname $(realpath $0)) OS_MIGRATE_DIR=$(realpath "$DIR/..") if ! podman images | grep '^localhost/os_migrate_toolbox \+latest '; then pushd "$OS_MIGRATE_DIR" make toolbox-build popd fi if ! buildah ps | grep os_migrate_toolbox_edit; then buildah from --name os_migrate_tool...
true
f51aa3eb0fb6e9248f223049fa30764ed14f440a
Shell
Frankkelly1990/Actively_Fake_It_Until_You_Make_it_in_NMT
/Experiment_2_to_7/UFAL_medical_data/get_UFAL_data.sh
UTF-8
466
2.53125
3
[]
no_license
#Download UFAL Medical Corpus wget -nc http://ufallab.ms.mff.cuni.cz/~varis/himlcorpus-data/UFAL_Medical_Corpus1.0_for_WMT17.tar.gz --user=18d140 --password=ufalmedi --continue #Extract only required files #tar -zxvf UFAL_Medical_Corpus1.0_for_WMT17.tar.gz UFAL_medical_shuffled/README tar -zxvf UFAL_Medical_Corpus1.0_...
true
14d7bcf5d1cae5cc6a9c3dedd8dffe48d2ecb60d
Shell
mortenscheel/docker-laravel
/docker-stubs/docker/php-fpm/entrypoint.sh
UTF-8
221
3.15625
3
[]
no_license
#!/usr/bin/env bash set -e if [ ! -z "$WWWUSER" ] && [[ "$(id -u www-data)" != "$WWWUSER" ]]; then usermod -u $WWWUSER www-data fi if [ $# -gt 0 ]; then exec gosu $UID "$@" else exec /usr/bin/supervisord fi
true
0033f2374ea9df18ba7085ccdc6e1ad351d236ba
Shell
lzqmyb/ansible-centos-k8s
/01-update.sh
UTF-8
741
2.6875
3
[]
no_license
#! /bin/bash rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm ;yum --enablerepo=elrepo-kernel install kernel-lt-devel kernel-lt -y #查看默认启动顺序 awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg # CentOS Linux (4.4.4-1.el7.elrepo.x86_64) 7 (Core) # CentOS Linux (3.10.0-327.10.1.el7.x86_6...
true
91723c6468a9739ce40510dc96aac4cffb2f6870
Shell
jmtroy/rabt_blast_project_sb
/20170515_nonpooled_rabt_blastx_w_intergenic_intragenic_exons/code_10_fish_blastx/stickleback_convert_chr_to_group_and_unchr_to_scaffolds.sh
UTF-8
3,857
4.15625
4
[]
no_license
#!/bin/bash # this routine takes a ".bed" file for stickleback fish with # the chromosomes named chrI, chrII ... chrXXI and # converts them to chromosomes named groupI, groupII ... groupXXI # also # the routine changes chrUN rows to the the proper scaffold id and the proper # start and end coordinates for the sc...
true
97117bc6041919f70fabad7dc8172e816c04a972
Shell
heytrav/logstash
/docker_start.sh
UTF-8
563
2.9375
3
[]
no_license
#!/bin/bash sed -i 's/HIPCHAT_TOKEN/'"$HIPCHAT_TOKEN"'/g' /etc/logstash/conf.d/syslog.conf if [ -n "$SSH_PASSWORD" ]; then echo "Configuring ssh: setting root password to ${SSH_PASSWORD}" echo "root:$SSH_PASSWORD" | chpasswd sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_c...
true
c6a59293da8cfcb8e3274c8aa3eba7863f08b544
Shell
iambowen/sockshop-demo
/scripts/pipeline/build_go_chassis_images.sh
UTF-8
2,845
2.796875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e set -x BASEDIR=$PWD WORKDIR=$BASEDIR/src/github.com/ServiceComb CATALOGUE=$BASEDIR/cataloguedir PAYMENT=$BASEDIR/paymentdir USER=$BASEDIR/userdir set +e rm -rf $CATALOGUE $PAYMENT $USER $BASEDIR/src/ set -e mkdir -p $WORKDIR mkdir -p $CATALOGUE mkdir -p $CATALOGUE/catalog mkdir -p $PAYMENT mkdir -p ...
true
8423189e62cd4b4f16ae99adcf754dbec7b96a20
Shell
io7m/coreland-vector
/GENERATION/instgen.sh
UTF-8
1,892
3.484375
3
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/sh fatal() { echo "fatal: $1" 1>&2 exit 112 } IGNORE=" ctxt.h ctxt.sld deinstaller.c deinstaller.ld inst-check.c inst-check.ld inst-copy.c inst-copy.ld inst-dir.c inst-dir.ld inst-link.c inst-link.ld install.c install.h install_core.c install_error.c installer.c installer.ld instchk.c instchk.ld insthier.c...
true
48096baccdcf2bc15bc54c73da15895b97109570
Shell
r0bj/fpm-recipes
/xenial/zabbix-frontend-php/postrm
UTF-8
257
2.875
3
[]
no_license
#!/bin/sh set -e case "$1" in purge) # Can be removed after Wheezy: ucf --purge /etc/zabbix/dbconfig.php || true # Remove config files created by the Zabbix setup wizard rm -f /etc/zabbix/zabbix.conf.php ;; esac
true
e9e973ad4446af582d32031c1f2eba099cb3c2de
Shell
abrahan92/test_ruby
/installations.sh
UTF-8
1,993
3.984375
4
[]
no_license
#!/bin/bash check_command_exists () { command $1 &> /dev/null ; } run_with_docker () { printf "\n\e[33m" read -p "Enter the page number you would like to get / or leave blank to get default page: " page_number if [[ $page_number == "" ]] then echo "You must enter a valid number, example [...
true
7334cbf4940ea3bdd4247cf32f8fb03393ce64c2
Shell
mcheepati/monitoringScripts
/GenGraph/graph_mem(2).sh
UTF-8
1,527
2.9375
3
[]
no_license
usrCPU=`cat $1|awk -F"," '{sum+=$7} END { print "Average = ",sum/NR}'` sysCPU=`cat $1|awk -F"," '{sum+=$8} END { print "Average = ",sum/NR}'` echo "Avg User Utilization:$usrCPU" echo "Avg User Utilization:$sysCPU" echo "Generatiing Graphs" gnuplot << EOF reset set datafile separator "," #set terminal png size 1280,900 ...
true
73e0c2234c063b5bdd9145e6abd27d6c72b4a168
Shell
rossja/dotfiles
/public/bin/httpConnectTest
UTF-8
230
3.21875
3
[]
no_license
#!/bin/bash # run an HTTP CONNECT to google on every server in a list of hosts HOSTFILE='./targets.txt' for i in `cat ${HOSTFILE}`; do echo echo ${i} echo -e "CONNECT http://google.com HTTP/1.0\n\n" |nc ${i} 80 echo done
true
4b19a02f4860336f4cd2216bb9953761e82e85ef
Shell
mytxt/mybookmarks
/src/POSTINSTALL.sh.bak
UTF-8
3,733
2.578125
3
[]
no_license
#!/bin/bash -i # . ./config.postinstall insty xsel insty synaptic fim fbi gparted iotop xsel -x # backup primary to secondary selection xsel -cp # clear primary selection S-Ins a2pc "synaptic" # add synaptic to sudoers, via clipboard, in order to run w/o asking of password # a2pc "service" # service тоже a2pc "apt ...
true
bd4bb82b3a4b1d0d9f1459675992b97bb18ccce2
Shell
Codeon-GmbH/mulle-clang
/bin/migrate-to-next-release
UTF-8
5,903
3.78125
4
[ "Apache-2.0", "LLVM-exception", "NCSA" ]
permissive
#!/usr/bin/env bash [ "${TRACE}" = "YES" ] && set -x && : "$0" "$@" # # optimally these are the only difference between mulle-clang and mulle-lldb # migration # LLVM_PROJECT="clang" # lldb for lldb SOURCEDIRS="include/ lib/" # include/ source/ for lldb # our old branches OLD_LLVM_BRAN...
true
4a705aa8182a283c9b56b373c353990cc2ef9230
Shell
Fusl/ovz6-on-iscsi
/etc/vz/conf/vps.umount
UTF-8
359
2.53125
3
[]
no_license
#!/bin/bash -e [ -f /etc/vz/vz.conf ] || exit 1 [ -f "${VE_CONFFILE}" ] || exit 1 . /etc/vz/vz.conf . "${VE_CONFFILE}" findmnt -lnR -o target "${VE_ROOT}" | tail -n +2 | tac | xargs --no-run-if-empty umount umount -v "${VE_ROOT}" && mount -v -o ro -t tmpfs tmpfs "${VE_ROOT}" iscsiadm -m node -T "iqn.2015-01.ws.fuslvz...
true
627a624cbb43a36140c15ae4e52587eee0def120
Shell
JotaRandom/PKGBUILD
/numix-shine-icon-theme-git/PKGBUILD
UTF-8
845
2.625
3
[]
no_license
# Maintainer: naxuroqa <naxuroqa@gmail.com> pkgname=numix-shine-icon-theme-git _gitname=numix-icon-theme-shine pkgver=22.c53933a pkgrel=1 pkgdesc="An icon theme from the Numix project with a glossy design" arch=('any') url="https://github.com/numixproject/numix-icon-theme-shine" license=('GPL3') depends=('numix-icon-t...
true
1e9ee99e921d0d3b1fd64d44dd97a5189295f43c
Shell
zlokomatic/hyperion.ng
/cmake/debian/postinst
UTF-8
4,533
3.703125
4
[ "MIT" ]
permissive
#!/bin/sh install_file() { src="$1" dest="$2" if [ ! -e "$dest" ] cp "$src" "${dest}" return 1 else echo "--> Service file already exists, skip creation" return 0 fi } echo "--- hyperion ambient light postinstall ---" echo "- install configuration template" mkdir -p /etc/hyperion mkdir -p /usr/share/hy...
true
efee88ea1d2694b03246f899e77118ca0a012ae9
Shell
Clapperclaws/Mad-Move
/experiments_scripts/run_mp_experiment.sh
UTF-8
2,568
2.515625
3
[]
no_license
sudo pkill tcpdump sudo pkill wpa_supplicant sudo pkill carfi-supplicant sudo pkill carfi-roamingd mv in_progress/1* "test_dir" timestamp=$(date +"%s") sudo ip link set dev enp0s20u3u3 multipath backup #create directory with current timestamp mkdir "in_progress/"${timestamp} #Start tcpdump on wireless interf...
true
4c507aa7528eebe8190de00df5c7df569296862c
Shell
MonkeyDoug/Forester
/.config/bspwm/Old scripts/brightness.sh
UTF-8
412
3.1875
3
[]
no_license
#!/usr/bin/env zsh zmodload zsh/mathfunc upBrightness() { currentBrightness=$((int(rint($(light -G))))) dunstify -u normal -t 3000 -r 2943 " Brightness: $currentBrightness%" } downBrightness(){ currentBrightness=$((int(rint($(light -G))))) dunstify -u normal -t 3000 -r 2943 " Brightness: $currentBrightness%" }...
true
cc679938baf4b052a02688f2a382b95df12b1573
Shell
marcodejongh/osx_setup
/setup.sh
UTF-8
1,851
2.875
3
[ "MIT" ]
permissive
#!/bin/sh # Only show active apps in dock defaults write com.apple.dock static-only -bool TRUE # Install brew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # Install brew packages brew update mkdir ~/Screenshots # OSX CHANGES echo "Change default dir for screenshots to ~...
true
20000dee1f86f29f903701287db2533fec5f46c4
Shell
jdobber/go-iiif-mod
/init.sh
UTF-8
703
3.21875
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash pushd () { command pushd "$@" > /dev/null } popd () { command popd "$@" > /dev/null } DEPDIR=".deps" ARCHIVE="https://github.com/chai2010/webp/archive/v1.1.0.tar.gz" mkdir -p $DEPDIR pushd $DEPDIR echo "Downloading and extracting " $ARCHIVE curl -s -L $ARCHIVE -o - | tar -xz -C . echo "Patchi...
true
7e229bc6ae11f831f034fda7799e9c463a02beac
Shell
Yunushan/lfs9.0-for-ubuntu18.04
/5.16.Bash-5.0.sh
UTF-8
272
2.578125
3
[ "MIT" ]
permissive
#!/bin/bash echo "" echo "----------- 5.16.Bash-5.0.sh -----------" echo "" cd $LFS/sources tar xvf bash-5.0.tar.gz cd bash-5.0 ./configure --prefix=/tools --without-bash-malloc make -j8 make tests make install ln -sv bash /tools/bin/sh cd $LFS/sources rm -rf bash-5.0
true
4abaeea981ae6990cfe0528209c455678577cadb
Shell
starlingx/integ
/config/puppet-modules/puppet-hash2stuff/puppet_downloader.sh
UTF-8
291
2.75
3
[ "Apache-2.0" ]
permissive
#!/bin/sh BRANCH="master" repo="https://github.com/mmckinst" module="puppet-hash2stuff" git ls-remote ${repo}/${module} ${BRANCH} SHA=`git ls-remote ${repo}/${module} ${BRANCH} | awk '{print $1}'` echo ${SHA} wget ${repo}/${module}/archive/${BRANCH}.tar.gz -O "${module}"-"${SHA}".tar.gz
true
b318198b464f7a252c99c07d050acb2433a989ba
Shell
forwiat/SpeakerVerifiaction-pytorch
/TrainAndTest/Spectrogram/train_domres.sh
UTF-8
2,862
2.5625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash stage=40 waited=0 while [ `ps 113458 | wc -l` -eq 2 ]; do sleep 60 waited=$(expr $waited + 1) echo -en "\033[1;4;31m Having waited for ${waited} minutes!\033[0m\r" done #stage=1 if [ $stage -le 40 ]; then datasets=cnceleb model=DomResNet resnet_size=8 kernel_size=5,5 channels=8,3...
true
ccb74cc0b9d64bc1994ea15732e7888ba4c37851
Shell
LeavaTail/dotfiles
/vim/tests/check_vim_plugin.sh
UTF-8
1,290
3.859375
4
[]
permissive
#!/bin/bash # # usage: # check_vim_check # # description: # check whether vim plugin installed # # return: # 0: succeed # 1: dein failed install # 2: easymotion failed install # 4: webdevicons failed install # 8: ale failed install # 16 gitgutter failed install # 32 lightline failed install # ...
true
b76df9a09c026a35fa5c540c8185c7ebe96fee2b
Shell
dan-p-steven/dotfiles
/i3/caps
UTF-8
191
2.578125
3
[]
no_license
#! /bin/bash IND=$(xset -q | sed -n 4p | grep 'Caps Lock: off') [[ -z $IND ]] && echo "<span color='#080808' background='#ffbf00'>CAPS</span>"\ || echo "<span color='#3e3e40'>CAPS</span>"
true
c61f9b513167ff7531c53dc59d74d52a248d86dc
Shell
dhvilleg/LinuxActiveUserInventory
/users.sh
UTF-8
2,321
3.296875
3
[]
no_license
#!/bin/sh # # Script %name dep_epimeteo.sh % # %version 1 % # Description Scrip para sacar un informe de usuarios activos del sistema # %created_by Diego Villegas (FDM) % # %date_created Fri Jul 1 152019 ECT 2011 # ===========================================================...
true
3f68e8793fcf14ab41b2518c5aa544f47aa4ddb0
Shell
Wanghaiyang0211/DaZhongDianPing_Vip
/script/ADBBack.sh
UTF-8
964
3.3125
3
[]
no_license
#!/bin/bash # get screen resolution resolu=$(adb shell wm size) width=$(expr "$resolu" : '.*\: \(.*\)\x') height=$(expr "$resolu" : '.*\x\(.*\)') if [ ! $width -o ! $height ]; then echo "resolution is NULL, please check is devices is connected" exit fi width=`echo "$width" | tr -cd "[0-9]" ` height=`echo "$heigh...
true
5210988d008258960abbddbfc0269795a68ff2cc
Shell
defus/ansible-elasticsearch
/retry.sh
UTF-8
499
3.53125
4
[ "JSON", "Apache-2.0" ]
permissive
#!/bin/bash retry() { local -i max_attempts="5" local -i cmd="curl "${curl_opts[@]}" http://localhost:8080/heath | grep -q 'UP'" local -i attempt_num=1 until $cmd do if (( attempt_num == max_attempts )) then echo "Ereur lors du démarrage de l'application" ...
true
67eb357a054df49568bfcd16ca411b3f8d2011c1
Shell
vpetrigo/az-python-agent
/build/builder.sh
UTF-8
697
3.21875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash if [[ -z "${VER_TAG+x}" ]]; then echo "Please set up VER_TAG variable" exit 2 fi declare -A image for arch in amd64 arm64 ; do buildah bud -t vpetrigo/az-python-agent:${VER_TAG}-$arch --override-arch $arch --iidfile iid . image[$arch]=$(cat iid) rm iid done buildah manifest create vp...
true
8cfb2a18ce09b45a57544881ebb8e8f638e95569
Shell
lzckira/cs183_lab3
/lab3.sh
UTF-8
1,621
3.46875
3
[]
no_license
#!/bin/bash echo "1. Find all files in /bin, /sbin, /usr/bin, and /usr/sbin that are setuid and owned by root." find /bin /sbin /usr/bin /usr/sbin -user root -perm -4000 read -p "Hit any key to continue." echo "2. Find all files across the entire system that have setuid or setgid enabled (regardless of owner)." find ...
true
40858a37a1d889e7e2d64202020488a3a088f139
Shell
holdonme/emmc
/validation/test_package/trigBKOPS.sh
UTF-8
1,066
2.78125
3
[]
no_license
BKOPS_lv=$(($1)) echo "running until BKOPS level reach $BKOPS_lv" eCSD_215=$((`cmd8 -r 215 | tail -1 | awk '{print $2}'`)) eCSD_214=$((`cmd8 -r 214 | tail -1 | awk '{print $2}'`)) eCSD_213=$((`cmd8 -r 213 | tail -1 | awk '{print $2}'`)) eCSD_212=$((`cmd8 -r 212 | tail -1 | awk '{print $2}'`)) eMMCSize=$(($eCSD_212+$eCS...
true
2d859c33df5b9fbd48d429502bb1c7c939e68c53
Shell
maysunfaisal/iterative-dev-packs
/java/liberty-buildtasks/bin/build-container-update.sh
UTF-8
936
3.015625
3
[]
no_license
#!/bin/sh # set -e -o pipefail date echo Started - Update build using container folders echo listing /data/idp/src ls -la /data/idp/src date echo copying /data/idp/src to /tmp/app cp -Rf /data/idp/src/. /tmp/app date echo chown -fR 1001 /tmp/app and listing chown -fR 1001 /tmp/app cd /tmp/app ls -la date echo run...
true