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
695755b168d301a9fc0be8302befba141350ecf4
Shell
FauxFaux/debian-control
/r/rng-tools/rng-tools_2-unofficial-mt.14-1+b2_amd64/postinst
UTF-8
1,617
3.390625
3
[]
no_license
#! /bin/sh # postinst script for rng-tools # Copyright (c) 2003-2010 by Henrique de Moraes Holschuh <hmh@debian.org> # Copyright (c) 2002 by Viral Shah <viral@debian.org> # Distributed under the GNU General Public License version 2 or later versions set -e # summary of how this script can be called: # * <posti...
true
8aa201d587b63f944c44ff597675e35430995864
Shell
chefdoeuvre/ds-aws-hw
/install_wordpress.sh.tpl
UTF-8
1,095
2.828125
3
[]
no_license
#! /bin/bash sudo apt update sudo apt install apache2 wordpress php libapache2-mod-php php-mysql git binutils -y sudo sh -c 'echo "Alias /blog /usr/share/wordpress <Directory /usr/share/wordpress> Options FollowSymLinks AllowOverride Limit Options FileInfo DirectoryIndex index.php Order allow,deny A...
true
604ad4bd2427804ac043194ec11adcc5b6bafa9c
Shell
eumagnun/keycloak-fapi
/setup-fqdn.sh
UTF-8
536
2.9375
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # ARG1: Hostname of FAPI Conformance suite server # ARG2: Hostname of Keycloak server # ARG3: Hostname of Resource server CONFORMANCE_SUITE_FQDN=${1:-conformance-suite.keycloak-fapi.org} KEYCLOAK_FQDN=${2:-as.keycloak-fapi.org} RESOURCE_FQDN=${3:-rs.keycloak-fapi.org} DIR=$(cd $(dirname $0); pwd) cd $DIR ....
true
c5017ccb4c7d12bac4174ae2edc9e1e5a74b2d14
Shell
ianmiell/katipo
/travis_install_curl.sh
UTF-8
746
3.578125
4
[ "curl", "BSD-3-Clause" ]
permissive
#!/bin/bash set -ex function travis_artifacts_install() { local os=$(uname | tr '[:upper:]' '[:lower:]') local arch=$(uname -m) [[ $arch == x86_64 ]] && arch=amd64 local source="https://s3.amazonaws.com/meatballhat/artifacts/stable/build/$os/$arch/artifacts" local target=$HOME/bin/artifacts mkdir -p $(dir...
true
7f22f54fbf38b358d8bdd244f598b26d4964f1ee
Shell
gnoack/fleetspeak
/terraform/main_vm_start.sh
UTF-8
3,382
3.703125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e TIME_LIMIT=1800 # apt_install command_to_check package_name function apt_install { while [[ ! `command -v $1` ]]; do apt-get -y update ||: apt-get -y install $2 ||: sleep 3 done } function log { echo $(date -u) - $* >> $HOME/results.txt } function retry { ...
true
eea7d1c55813f9d0316ec873f6f110149f0aac58
Shell
zenghongjun/NattyClientForIOS
/tools/do-compile-natty.sh
UTF-8
6,570
3.046875
3
[]
no_license
#! /usr/bin/env bash # # * Author : WangBoJing , email : 1989wangbojing@gmail.com # * # * Copyright Statement: # * -------------------- # * This software is protected by Copyright and the information contained # * herein is confidential. The software may not be copied and the information # * contained herein may...
true
2311391c7c279dc9d836f1a38158d2c24bfc6b45
Shell
petronny/aur3-mirror
/xz-alpha/PKGBUILD
UTF-8
1,181
2.734375
3
[]
no_license
# $Id$ # Maintainer: Pierre Schmitz <pierre@archlinux.de> # Contributor: François Charette <firmicus@gmx.net> pkgname=xz-alpha _pkgname=xz pkgver=5.1.2 _pkgver="${pkgver}alpha" pkgrel=2 pkgdesc='Library and command line tools for XZ and LZMA compressed files. Alpha development version.' arch=('i686' 'x86_64') url='htt...
true
b628224c409f7d0245a76d59b69062d547e6b72d
Shell
cloudnull/random_scripts
/ops-tools/super-submodule-update.sh
UTF-8
1,591
3.796875
4
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
#!/usr/bin/env bash # 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 agreed to in writing, software # ...
true
38d28b8c6fefed00ee7ade1f312e010a895617eb
Shell
hvihvi/14kb
/14kb.sh
UTF-8
1,173
3.3125
3
[]
no_license
#!/usr/bin/env bash set -e bytesToHuman() { b=${1:-0}; d=''; s=0; S=(Bytes {K,M,G,T,E,P,Y,Z}iB) while ((b > 1024)); do d="$(printf ".%02d" $((b % 1024 * 100 / 1024)))" b=$((b / 1024)) let s++ done echo "$b$d ${S[$s]}" } echo "URI: ${1}" SIZE=$(curl -so /dev/null "${1}" -w '%{s...
true
6286deb646109886ec435ae5d323b12dad634c88
Shell
elppans/ShellTestes
/ShellScript_do_zero/Scripts/xubapp_src
UTF-8
3,697
3.734375
4
[]
no_license
#!/bin/bash Aviso(){ clear echo -e '\n Este e um script de instalacao/configuracao para Ubuntu \n' echo -e '\b Sera adicionado alguns GPGs e Repositorios no Ubuntu,' echo -e '\b Apos a adicao, ira ser feito um upgrade no sistema para nao haver falhas' echo -e '\b Na instalacao de pacotes importantes.' echo -e '\...
true
de360a5d909a4a545a8962410bf7cdcb3b7b8515
Shell
umanathlanka/edgeapps
/network-functions/sdewan_cnf/e2e-scenarios/one-single-node-cluster/iperf_files/iperf_img/iperf_client.sh
UTF-8
619
3.109375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # SPDX-License-Identifier: Apache-2.0 # Copyright (c) 2020 Intel Corporation # Modify the iperf-server IP as per the setup server_ip=192.168.2.2 # Modify interface name (net0) if needed client_ip=172.16.30.15 duration=60 streams=1 pkt_size=1024 # Start Iperf client to send TCP stream towards Iperf serv...
true
9d8922da6f95611f9dd867124f76d0bd750e417a
Shell
samcom12/hpc-collab
/clusters/vx/cfg/vxdb/config/slurm/8.create-cluster-db
UTF-8
2,510
3.59375
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash -vx ## $Header: $ ## Source: ## @file vcdb/config/slurm/1.create-cluster-db VCLOAD=../../../provision/loader/shload.sh if [ ! -f "${VCLOAD}" ] ; then echo "${0}: missing: ${VCLOAD}" exit 99 fi source ${VCLOAD} # if we're given an argument, append test output to it declare -x OUT=${1:-""} if [ -n "$...
true
d10f3de36573e71889e32c712b157f3c12848ffa
Shell
CompTools/PS2-the-bash-masters
/pset2_prob2.txt
UTF-8
3,180
3.546875
4
[]
no_license
#!/bin/bash #this first part will create the headings for the chart and create our chart file echo "GNV to:,Total flights,Total flights delayed(>15min),Total flights delayed due to Weather" | column -s ',' -t > Q2_chart.txt #here we will actualy get the flight info using grep to search for it and then other comman...
true
d1aec13a928d6bc2e4abc01afa829becf1559e03
Shell
maniacallysane/maniacal-scripts-of-sanity
/Minstall.sh
UTF-8
2,644
3.15625
3
[]
no_license
#!/bin/bash updatePackages() { echo "Do you want to update your packages? [y/n]: " read var if [ $var == "y" ] || [ $var == "Y" ] then sudo pacman -Syu -y echo "Package Update Finished" elif [ $var == "n" ] then return else echo "Do you want to continue? [y/n]: " ...
true
1137af3fdd1c31bfadad67451ecd43f5615b5d9e
Shell
GrahamAMurphy/forth-tree
/chips/scip/messtest/cross.sh
UTF-8
581
3.265625
3
[]
no_license
#!/bin/sh # Compile MESSENGER generic instrument programs. Generate an motorola file for # the application in autoboot format (for saving in EEPROM). File should be # loaded, then copied from page 0 to EEPROM. # Usage: compile.sh [dpu|epu|all] echo "Compiling EPU application ..." # Setup correct environment t=`cat ...
true
b1787f33dbcd857bb075d10dd68caf8d860a5efa
Shell
NCSU-Libraries/trln-blacklight-quickstart
/init.sh
UTF-8
1,071
3.84375
4
[]
no_license
#!/bin/sh function assert_success() { if [ $? -ne 0 ]; then die "$1" fi } die () { echo "$@" exit 1 } # make sure we have some kind of ruby executable on path # first check for system ruby if [ ! $(type -P ruby ) ]; then # OK, let's try to use chruby if [ "$(type -t chruby)" != 'function' ]; then source /...
true
0afdbaf0de434b77f9a2f391eae579ac7c511a38
Shell
kuzuha/git-tasukete
/git-あれして
UTF-8
1,957
4.09375
4
[]
no_license
#!/bin/bash # $ git あれして # 1. mergeを取り消したい # 2. rebaseをやめたい # 3. zipを作りたい # 4. コミットするのbranchを間違えた # 5. 最後のコミットの状態に戻す # 6. 前回のコミット説明文を書き直したい # 7. 特定のコミットを取り消したい # どれやるの? > 2 # git rebaseをやめたい を実行するよ(Y/n) > # or # $ git あれして コミット # 1. コミットするのbranchを間違えた # 2. 最後のコミットの状態に戻す # 3. 前回のコミット説...
true
03d710df5727a0afe23adc27a95d9ac617c822bd
Shell
Morjiai/libiOS
/Linux/libs.sh
UTF-8
503
3.03125
3
[]
no_license
#!bin/bash echo "Installing libs" read -r -p "Are you using ubuntu? [y/N] " response case $response in [yY][eE][sS]|[yY]) sudo apt-get install libusbmuxd-dev libplist-dev libplist++-dev libgnutls-dev libssl-dev usbmuxd make automake autoconf libtool pkg-config gcc cython doxygen mkdir -p ~/src cd ...
true
3e7230d6ac5035027cf824980c1bb3e151a5a2d6
Shell
ssavitzky/pia-historical
/bin/pia_wrapper
UTF-8
2,934
3.546875
4
[]
no_license
#!/bin/sh # $Id$ # Pia launcher. Also handles other classes in the PIA hierarchy. # Always tacks on -p propertyFile, which may be a misfeature. # # Usage: # pia_wrapper [-v] [class [arg]... ] ### find out where java is. # Resort to a kludge to get around the fact that "type foo" # returns something like "foo is xxx...
true
359fd2cda431ca187065e04d29f275bf14569924
Shell
silastittes/calibrator
/getLongSeqs.sh
UTF-8
260
2.90625
3
[]
no_license
#filter infile by length #first input is fasta #second is min sequence length #third is max sequence length awk -v min=$2 -v max=$3 '$1 ~ /^>/ {print $0} $1 !~ /^>/ {if (length($0) >= min && length($0) <= max) print $0}' $1 | grep -B1 ^[ATGC] | sed '/^--$/d'
true
7f5b2a8997a1073d6f24e0fe26fca4db307fc87f
Shell
smatsushima1/rc_files
/install/fedora/vim
UTF-8
199
2.90625
3
[]
no_license
#!/bin/bash read -p 'Enter username: ' a # Vim if [ ! -d /home/$a/git ] then mkdir /home/$a/git fi yum install -y ncurses-devel* git clone git@github.com:vim/vim.git ~/git ./configure make make install
true
8d48cdc29a0b7b1479edc2ca372158ae1235698d
Shell
smintz/nomadgen
/build_pex.sh
UTF-8
348
2.703125
3
[ "MIT" ]
permissive
#!/bin/bash PY_VERSION=${TOX_ENV_NAME:-$(python -c 'import sys; print("py" + "".join(map(str, sys.version_info[:2])))')} THRIFT_LOCATION=$(pip show thrift | grep ^Location | awk '{print $NF}') pex -v -r <(grep -v thrift requirements.txt) -o $(dirname $0)/build/nomadgen-$(uname | tr "[A-Z]" "[a-z]")-${PY_VERSION}.pex ....
true
0e2073e2343235f7cbecb27e500ac1746d292c08
Shell
abhiagrwl/boot-camp
/loops/avg.sh
UTF-8
196
2.703125
3
[]
no_license
#!/bin/bash -x no1=$((RANDOM%100)) no2=$((RANDOM%100)) no3=$((RANDOM%100)) no4=$((RANDOM%100)) no5=$((RANDOM%100)) sum=$(($no1 + $no2 + $no3 + $no4 + $no5)) echo $sum avg=$(($sum/5)) echo $avg
true
fc6616947286b77af333966bc8bee455f2071e71
Shell
uconndxlab/firebase-tools
/entrypoint.sh
UTF-8
220
2.9375
3
[ "MIT" ]
permissive
#!/bin/sh set -e if [ -z "$FIREBASE_TOKEN" ]; then echo "FIREBASE_TOKEN is required to run commands with the firebase cli" exit 126 fi if [ -n "$APP" ]; then firebase use --add $APP fi sh -c "firebase $*"
true
c3f57f49948e4a22a998d958d5473f2b0acaa284
Shell
okadlec/skripty
/obrazky.sh.save.1
UTF-8
365
2.734375
3
[]
no_license
#!/bin/bash function informace { echo "Zadejte vstupni slozku" read zdroj return "$zdroj" echo "Zadejte vystupni slozku" read cil return "$cil" } echo "**********Zadej volbu:**********" echo "1)Konverze" echo "2)Zmena kvality" echo "3)Zmena rozmeru" echo "4)Otoceni obrazku" echo "5)Efekt charcoal" echo "6)Efekt implo...
true
aa43f0241e965422bca9647d38711f35eee49009
Shell
MaramGowri/trainingRajNav
/Prerequsuites-Kubernetes.sh
UTF-8
879
2.515625
3
[]
no_license
#!/bin/bash yum update -y #update packages yum install curl -y yum install wget -y yum install jq -y #Kubectl install curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.13.0/bin/linux/amd64/kubectl chmod +x ./kubectl sudo mv ./kubectl /bin/kubectl yum install kubectl -y #kops install c...
true
36ae12fa2107cd3275d3683b5c905e88e3f40e13
Shell
applyfun/protect_qc
/tabulate_study_IDs.sh
UTF-8
1,528
3.5
4
[]
no_license
### QC of PROTECT data ### Ryan Arathimos ### 23/10/2019 #First create a list of IDs categorised by each study present in the PROTECT datasets cd ~/brc_scratch/output/protect_qc printf "data_root=~/brc_scratch/data/protect_qc output_root=~/brc_scratch/output/protect_qc" > Config.conf source Config.conf #append a...
true
781c582565cd970ff75ff07e8641ae4d3611e441
Shell
rktjmp/systemd-reset-nic
/reset-nic.sh
UTF-8
297
2.53125
3
[]
no_license
#!/bin/bash ip link set down eno1 PCI=`/usr/bin/lspci | /bin/egrep -i 'network|ethernet' | /usr/bin/cut -d' ' -f1` PCIPATH=`/usr/bin/find /sys -name *\${PCI} | /bin/egrep -i *pci0000*` /usr/bin/logger -t "ResetNIC" "Resetting PCI NIC ${PCIPATH}" echo 1 > ${PCIPATH}/reset ip link set up eno1
true
a72e2c1ae0716aa770f8c4d2ec179fa5a143c33a
Shell
efrainbonilla/ficha-debian
/build.sh
UTF-8
440
2.890625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash if [ -d dist ]; then rm -rfv dist fi python3 setup.py bdist cd dist tar -xvf ./ficha*.tar.gz cp -v -a ./usr ../ficha_0.1_all cd .. #Build the DEB package dpkg -b ficha_0.1_all/ cp -v -a ficha_0.1_all.deb dist # Build a tar.gz to be install with python3 setup.py install command python3 setup.py s...
true
b1727a315cc8c28a6726e5949cc250508491af7b
Shell
stunstyle/fmi-os-lab
/homework_1/solution_A.sh
UTF-8
360
3.34375
3
[]
no_license
#!/bin/bash IFS=$' ' for morse_char in $(cat secret_message); do work=$(mktemp) echo $morse_char > $work sed -ri 's/(.)/[\1]/g' $work edited_morse_char=$(cat $work) egrep " ${edited_morse_char}$" morse | cut -d' ' -f1 | tr [A-Z] [a-z] >> encrypted done cat encrypted | tr -d '\n' > encrypted2 echo "" >> encrypte...
true
0805a00724a3a02eb589034726f068dbeeafc29c
Shell
akbence/adventofcode2020
/day02/shell/task.sh
UTF-8
1,176
3.75
4
[]
no_license
#!/bin/bash function validate1 { min=$1 max=$2 ch=$3 pw=$4 declare -A arr for ((i = 0 ; i < ${#pw} ; i++)); do actual_char=${pw:$i:1} arr[(($actual_char))]=${arr[(($actual_char))]-0} arr[(($actual_char))]=$((${arr[(($actual_char))]} + 1)) done if [ -z "${arr[(($ch))]}" ]; then return ...
true
8867839c5ff53f4e3749c879d24a421c6fc80220
Shell
dcvezzani/scripts
/github-open.sh
UTF-8
357
3.46875
3
[]
no_license
#!/bin/bash chk=$(git branch) if [ $? -neq 0 ]; then echo "The current directory doesn't seem to have a git repo." exit fi git_remote=$(git config --get remote.origin.url) github_url=$(echo "$git_remote" | sed 's#\.git$##g;s#^git\@#https://#g;s#^\([^:]*:[^:]*\):\(.*\)#\1/\2#g') echo Copying "$github_url" echo "$git...
true
2c07f007de885e6caf7fd761638e69337e0c828c
Shell
Kittenshark/Tsoha-Bootstrap
/config/environment.sh
UTF-8
244
2.75
3
[]
no_license
#!/bin/bash # korvaa tämä omalla käyttäjätunnuksellasi USERNAME="evkossi" # korvaa tämä haluamallasi kansion nimellä PROJECT_FOLDER="kukkia" # sovelluksesi tulee sijaitsemaan osoitteessa USERNAME.users.cs.helsinki.fi/PROJECT_FOLDER
true
c225555025cec31a0ab39a88ecf0f1ae9855d05c
Shell
Paul-Joshy/dotfiles
/home/.profile
UTF-8
8,606
2.90625
3
[]
no_license
# ~t/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package. # the default umask is set in /etc/profile; for setting ...
true
7f08a9633a6fdea25e52461f62d0f285b7e87138
Shell
sambkup/DS-ZES
/resources/launcher.sh
UTF-8
677
3.4375
3
[]
no_license
#!/bin/sh min=101 max=116 ############################## # Modify these parameters: PWD=/Users/Sammy/Desktop/Launch_Codes CONFIG_FILE_PATH=config.txt mkdir /Users/Sammy/Desktop/Launch_Codes || echo "directory already exists"; cd $PWD ############################## # generate launcher files for i in $(seq $min $m...
true
906f1be7a4465d472b9df5190c2a258d2afe721e
Shell
nibircse/ovs-deb
/src/subutai-dnsmasq
UTF-8
573
3.25
3
[ "Apache-2.0" ]
permissive
#!/bin/sh DHCP_RANGE=$1 IP_ADDR=$2 OPTIONS="-k --dhcp-range=${DHCP_RANGE} --dhcp-leasefile=/var/spool/subutai/dnsmasq.leases --dhcp-option=6,${IP_ADDR}" #if $(systemctl is-active --quiet bind9.service); then # BIND=1; #fi #if $(systemctl is-active --quiet dnsmasq.service); then # DNSMASQ=1; #fi if $(lsof -ni :...
true
b98e94964b773a74ae2f20771e62a886c60ae314
Shell
djachenko/submodule_scripts
/remove_branch.sh
UTF-8
220
3.65625
4
[]
no_license
echo "remove $1" branches=$(git branch --list "$1") for branch in $branches ; do echo $branch done echo "Remove those branches? y/n" read -p "> " decision if [ $decision = 'y' ]; then git branch -d $branches fi
true
5729af2bb1575bc9b0e0747861a91f9a0adee95e
Shell
jmccreight/wrf_hydro_tests
/toolbox/make_log_file_name.sh
UTF-8
1,019
4.03125
4
[]
no_license
#!/bin/bash candidateSpecFile=$1 testSpecFile=$2 ## Purpose: Prefix the full path to the candidate spec file to the ## base file name of the test spec file, removing all ".sh" ## extensions, and adding the ".log" extension. ## Note the candidate spec file retains a full path if present so ## the l...
true
4bf8c01ef8291311ed8951a4ada2afe4ea7a964f
Shell
sockduct/Templates.Linux
/record.sh
UTF-8
298
2.625
3
[ "MIT" ]
permissive
#! /bin/dash # # James Small # SDEV-###-##, <Season> Semester <Year> # Week # Assignment # Date: x #, 2020 # Problem # # # <Program Name> Recorder # echo echo " --- Sample run of $1 --- " echo "Executing ./${1}:" ./$1 echo ">> $1 exited with status code of $?" echo " --- End of sample run --- " echo
true
8843bf6401459134cdde2181de085b548c1b82c5
Shell
nehagiribhat/CodInClub_Problems
/ProblemsOnForLoop/factorial.sh
UTF-8
111
3.046875
3
[]
no_license
read -p "enter number " num; fac=1 for ((i=2 ; i<=num ; i++)) do fac=$(($fac*$i)) done echo "factorial=$fac"
true
d5de05a4112461256a26cefbb63948f4fc366d35
Shell
NVIDIA/DeepLearningExamples
/PyTorch/Recommendation/NCF/prepare_dataset.sh
UTF-8
3,108
3.125
3
[ "Apache-2.0" ]
permissive
# Copyright (c) 2018, deepakn94, robieta. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
true
8ec77bc5ad44e7998beed9de9da3188884586365
Shell
toshiya240/dotfiles-bash
/home/.bashrc
UTF-8
122
3.234375
3
[]
no_license
if [ -d $XDG_CONFIG_HOME/bash/rc.d ]; then for f in $XDG_CONFIG_HOME/bash/rc.d/*.sh; do source $f done fi
true
bd4c368a24b6f5d7ef8b90140ff1f85d0b3baa51
Shell
tatyana-ruzsics/uzh-corpuslab-gen-norm
/src/Main-arch-eval-c.sh
UTF-8
6,741
2.890625
3
[]
no_license
#!/bin/bash # Usage: ./Main-arch-eval.sh DATA_FOLDER_NAME RESULTS_FOLDER NMT_ENSEMBLES BEAM SYNC_MODEL_TYPE NMT_MODEL_TYPE NMT_MODEL_SPEC # NMT ensemble evaluation # ./Main-arch-eval.sh Archimob-pos arch-8-context-shuff 5 3 nmt # NMT + HLLM # ./Main-arch-eval.sh Archimob-pos arch-8-context-shuff 5 3 we norm_soft # NM...
true
6156e467b1e5920ef147875abbfc28d435f96525
Shell
alkaine/PGT
/actions/run
UTF-8
1,017
3.484375
3
[]
no_license
#! /bin/sh function pgt_run { log_action_separator "RUN" get_target echo "Starting $PACKAGE/$PACKAGE.$ACTIVITY..." # TODO check if the activity exists start=$(adb $targetoption shell am start -n $PACKAGE/$PACKAGE.$ACTIVITY) if [[ "$(echo $start | grep "Warning:\ Activity\ not\ started" -c)" = "1" ]]; then ...
true
523dedcce15470737888727fe61e68d4c414e875
Shell
andrijaJ01/configs
/.config/qtile/colors.bak
UTF-8
609
2.75
3
[]
no_license
#!/bin/bash wallpaper=`ls -1 /home/andrija/.config/qtile/wallpapers | rofi -dmenu` while getopts ld option do case "${option}" in l) wal -l -i /home/andrija/.config/qtile/wallpapers/$wallpaper && pywalfox update && pywal-discord cp -v /home/andrija/.cache/wal/colors.css /home/andrija/...
true
b8f763236bbed9e8fe4ed582930d18312cfc3795
Shell
ECALELFS/ECALpro
/submit/Utilities/deleteEOSfile.sh
UTF-8
2,043
3.765625
4
[]
no_license
#! /bin/bash # now EOS is mounted, but you must be on lxplus host=`echo "$HOSTNAME"` if [[ ${host} != *"lxplus"* ]]; then echo "Error! You must be on lxplus to use this script. Do ssh -XY lxplus and work from a release." return 0 fi iter_ini=4 iter_fin=4 # it is included in sequence below ...
true
585da5a71d2fc00b86e125cff5dcecc66e16a108
Shell
zhao07/smartos-live
/src/fw/tools/bin/rebuild-node-modules
UTF-8
1,407
2.75
3
[]
no_license
#!/bin/bash # # Copyright 2013, Joyent, Inc. All rights reserved. # # Creates a node modules suitable for checking in and installing in # the platform NM=node_modules NM_ORIG=node_modules.orig rm -rf ${NM} #npm install #rm -rf ${NM_ORIG} #mv ${NM} ${NM_ORIG} mkdir ${NM} cp ${NM_ORIG}/assert-plus/assert.js ${NM}/asse...
true
580a703b2eaa30b650f832dacc22dbf1d3490f09
Shell
domaframework/doma-gen
/publish.sh
UTF-8
479
2.5625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash if [[ $TRAVIS_PULL_REQUEST == "false" ]] && [[ $TRAVIS_BRANCH == "master" ]]; then echo $PASSPHRASE | gpg --output $SIGNING_SECRETKEYRINGFILE --batch --passphrase-fd 0 --decrypt encrypted-maven.gpg ./gradlew publish -s \ -PsonatypeUsername=$SONATYPE_USERNAME \ -PsonatypePassword=$SO...
true
d22c1a17f10a9bd06e695c80a11236a10154e79d
Shell
JeffersonLab/QwAnalysis
/Extensions/Scripts/jlabscp
UTF-8
1,848
3.984375
4
[]
no_license
#!/bin/bash login=login.jlab.org port=8022 # Usage instructions if [ $# -lt 1 ] ; then echo "Usage: `basename $0` [options] [[user@]host:]file [[user@]host:]file" exit 0 fi # Get options for scp opts="" while [ ! "${1/-*/}" ] ; do opts="${opts} $1" shift done orig=$1 # Destination defaults to same filename in c...
true
dddabacda595c53c02d108882543af8ce6709c19
Shell
kernelsmith/env-customization
/git/update_master_from_upstream_simple.sh
UTF-8
1,007
3.734375
4
[]
no_license
#!/bin/sh # this script tries to be posix compliant, so no bash'isms # usage: $0 [branch] # Updates branch from upstream. If no branch given, master is assumed # function declarations puts() { echo "[*] $1" } branch="master" if [ -n "$1" ]; then branch="$1" fi echo git checkout $branch # we're going to use the ht...
true
bba1cfda3619d79361fda2f5984ac26ab0b9ad3e
Shell
bhavidhingra/custom-console-bash
/util/__println_as
UTF-8
308
3.515625
4
[]
no_license
#!/usr/bin/env bash #shellcheck disable=SC1091 # Usage: __println_as "bold" "red" "Your Text" function __println_as() { source "$__CUSTOM_CONSOLE_UTIL"/__apply_tput while [[ $# -gt 1 ]]; do __apply_tput "$1" shift done msg="$1" printf "%s\n" "$msg" tput sgr 0 }
true
fe81fd5d91d9aebc8dab3f4b4185103db5ffac78
Shell
cotrat/UBUNTU-FILES
/Documents/ShellTesting/wordstat2
UTF-8
1,070
3.34375
3
[]
no_license
#!/bin/bash optind=1 divnum=1 char='#' for x in $@;do if [[ $x == '-c' ]]; then cc=1 fi if [[ $x == '-p' ]]; then char=${@:$((optind+1)):1} fi if [[ $x == '-s' ]]; then divnum=${@:$((optind+1)):1} fi if [[ $x == '-r' ]]; then rr=${@:$((optind+1)):1} rrcheck=1 fi optind=$(($optind+...
true
9f229a468d5374751b7d5d9dac7491023aa1ab0a
Shell
noisy/configs
/git/hooks/commit-msg
UTF-8
1,168
3.796875
4
[]
no_license
#!/bin/sh # # An example hook script to check the commit log message. # Called by "git commit" with one argument, the name of the file # that has the commit message. The hook should exit with non-zero # status after issuing an appropriate message if it wants to stop the # commit. The hook is allowed to edit the commi...
true
65ba5a7a2aa85e55773037e5f343f2e32ce942ef
Shell
mah0x211/mixdown
/autorelease.sh
UTF-8
3,156
3.6875
4
[ "MIT" ]
permissive
#!/usr/bin/env sh # # autorelease script # created by mah0x211 # set -eu # # you can generate a token at https://github.com/settings/tokens # #GITHUB_TOKEN='<your-githup-api-token>' # # install required packages # apt-get install jq file curl -y # # create binary files # echo "CREATE RELEASE FILES" WORKDIR=${PWD} ...
true
65a47b6f3c87b18c4e4daa3b024f7e5dca64d85e
Shell
ilventu/aur-mirror
/bespin-kdm-svn/PKGBUILD
UTF-8
724
2.6875
3
[]
no_license
# Contributor: Marius Dransfeld <marius.dransfeld@googlemail.com> pkgname=bespin-kdm-svn pkgver=1251 pkgrel=1 pkgdesc="Bespin KDM theme" arch=(any) url="http://kde-look.org/content/show.php/Bespin?content=63928" license=('LGPL') _svntrunk="https://cloudcity.svn.sourceforge.net/svnroot/cloudcity" _svnmod="bespin" buil...
true
a270a7011d3933eaeac3f90276917ab7db2a3322
Shell
ma-hunter/toy-compiler
/code/start.sh
UTF-8
1,129
3.765625
4
[]
no_license
#!/bin/bash set -e root=$(dirname $(readlink -f $0)) case $1 in setup);& s) sh $root/script/setup.sh;; clear);& c) sh $root/script/clear.sh;; install);& i) sh $root/script/install.sh;; generate);& g) sh $root/script/generate.sh;; build);& b) sh $root/script/build.sh;; test)...
true
cd8d0b74ae7cf3a2df948d38a61217d7d4422030
Shell
AdamDWalker/hacks
/autossrf.sh
UTF-8
438
3
3
[]
no_license
#!/bin/bash target=$1 echo "Getting waybackurls..." waybackurls $target >> blindssrftesturl.txt echo "Getting all urls..." gau $target >> blindssrftesturl.txt echo "Testing for ssrf vulnerabilities..." cat blindssrftesturl.txt | sort -u | anew | httpx | qsreplace 'http://169.254.169.254/latest/meta-data/hostname' | ...
true
a1d3a251218872508897e1f87b32d7799e12b7d5
Shell
s3rj1k/dropbear-custom
/debian/dropbear-lite.postrm
UTF-8
149
2.609375
3
[ "LicenseRef-scancode-other-permissive" ]
permissive
#!/bin/sh set -e test "$1" = 'purge' || exit 0 if test -e /etc/dropbear; then rm -rf /etc/dropbear fi update-rc.d dropbear-lite remove >/dev/null
true
aae896eb23a528283ccfb1c0f732dd4bfd45e7e8
Shell
philandstuff/wind.cards
/deploy.sh
UTF-8
1,801
2.859375
3
[]
no_license
#!/usr/bin/env bash set -eu PREFIX=s3://wind.cards CACHE_SHORT='max-age=300' CACHE_FOREVER='max-age=31536000' # html aws s3 cp assets/bassoon.html ${PREFIX}/bassoon --content-type 'text/html; charset=utf-8' --cache-control ${CACHE_SHORT} # css # for some reason, the default webpack css approach (ExtractTextWebpackP...
true
cc9b6f65b7cd7357bfb247d8839e2c270010fc39
Shell
paulproteus/autotune-the-news
/script.sh
UTF-8
480
3.203125
3
[]
no_license
rm *temp-*m4a for thing in *.m4a do AtomicParsley "$thing" -W \ --artist 'The Gregory Brothers' \ --album "Auto-Tune the News" \ --track "$(echo "$thing" | egrep -o '[0-9]+ ' | head -n1 | xargs printf "%d")"/$(ls -1 *.m4a | wc -l) \ --title "$(echo "$thing" | egrep -o ' - (.*).m4a' | sed -r s'/\.-[a-zA-Z0-9]+\.m4a$//'...
true
d79c1abbf37f64c1aad8b63d67141711ddad7dc7
Shell
golodhrim/aboriginal
/images/lfs-bootstrap/mnt/build/mpfr.sh
UTF-8
292
2.59375
3
[]
no_license
#!/bin/sh # TODO: The --enable-thread-safe here requires TLS ./configure --prefix=/usr --docdir=/usr/share/doc/mpfr-3.0.0 && make -j $CPUS || exit 1 if [ ! -z "$CHECK" ] then make check || exit 1 fi make install || exit 1 if [ ! -z "$DOCS" ] then make html && make install-html fi
true
091ae9649c1de5b92637cd794c5ad2903d4284cc
Shell
mgochare/jenkins
/os/report.sh
UTF-8
1,138
3.390625
3
[]
no_license
#!/bin/bash #exec 3<&0 #exec 0< ${file} #exec 0<&3 OS_INFO (){ cat << EOF ------------------------------------------------------------------------------------------------------------------- Server : $HOSTNAME -------------------------------------------------------------------------------------------------------------...
true
d50db0566a12275a8705046623aa6c1a75989b3a
Shell
Gavriliuk/cp
/cp-text
UTF-8
363
3.375
3
[]
no_license
#!/bin/bash # This file has to be sourced because it modifies the environment export RED=`tput setaf 1` export GRN=`tput setaf 2` export NOC=`tput sgr0` log() { echo $(date +%H:%M:%S) $@; } pre() { echo -n $(date +%H:%M:%S) $@; } wrn() { log $GRN"WARNING: $@ $NOC"; } err() { log $RED"ERROR: $@ $NOC"; } export -f lo...
true
29210d7f4e9b6ef3d773f626bd0f0a5bab1e8a22
Shell
mr-ytseng/openairinterface5g
/ci-scripts/createVM.sh
UTF-8
4,865
3.21875
3
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-generic-cla" ]
permissive
#!/bin/bash #/* # * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more # * contributor license agreements. See the NOTICE file distributed with # * this work for additional information regarding copyright ownership. # * The OpenAirInterface Software Alliance licenses this file to You under # * ...
true
2d443147001b57b05dc3e034986cd09e3e9eca02
Shell
worgelabolg/notepad
/sublime 文件/backup_rman.sh
UTF-8
1,925
2.859375
3
[]
no_license
#!/bin/sh #current_hours=`date +%k%M` current_hours=2230 function backup { case $1 in 0) rman target / << EOF run { allocate channel d1 type disk; allocate channel d2 type disk; allocate channel d3 type disk; allocate channel d4 type disk; backup as compressed backupset filesperset 1 incremental...
true
5a2c23eb72eed32fe87d786f4074efa63a397bb9
Shell
realbazso/dev-env-base
/run.sh
UTF-8
527
2.578125
3
[]
no_license
#!/bin/bash mkdir -p /home/dev/.ssh chown -R 2111:2111 /home/dev groupadd admin useradd -d /home/dev -u 1111 -G admin -s /bin/bash dev if [ -f //home/dev/.ssh/dev.key ]; then echo "key ok"; else ssh-keygen -q -f /home/dev/.ssh/dev.key -P ""; ca...
true
cbd0d4426db8ef429ed26d6f7baa397e4b6aa448
Shell
rrapolu12/DAPLabs
/MasterStandy Labs/dap-setup/standalone/1-generate-standalone-key-csr.sh
UTF-8
620
3.203125
3
[]
no_license
#!/bin/bash # GENERATE: Basic Script to generate a SSL certificate CSR request for DAP Master Server (standalone) # Global Variables serverType="standalone" country="US" state="MA" city="Boston" organization="CyberArk" commonName="dap-standalone.cyber-ark-demo.local" # Generate SSL Key sudo openssl genrsa -out dap-$...
true
f072402ff839f28ec143fe123637ce1fc56da77f
Shell
pocteo/oc_03_vagrant
/provisioning/shell/install_ansible.sh
UTF-8
433
2.59375
3
[]
no_license
#!/bin/bash # We rely on the official documentation of Ansible # See https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#latest-releases-via-apt-debian echo "Install Ansible..." echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" | tee -a /etc/apt/sources.list sudo apt...
true
cb60370ba43c247e154a00369ebfc3d4e10ab35a
Shell
jghiloni/go-basher-demo
/scripts/script-under-test.bash
UTF-8
448
3.359375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e set -o pipefail function capitalize() { for var in "$@"; do echo -n $var "" | tr '[:lower:]' '[:upper:]' done } function readInput() { input=$(cat) echo $input } function convertToTitle() { echo "this should be in title case" | make-title-case } function testSpies() { echo $PATH ...
true
d176e6423844f65d893e55044ef02e5c54cf6119
Shell
PeiKaLunCi/ais
/bin/setup.sh
UTF-8
855
2.765625
3
[]
no_license
#!/bin/bash VMS_DIR=${PWD}/python-vms PROJECT=ais AIS_DIR=${PWD}/lib/gym/envs mkdir -p ${VMS_DIR} virtualenv --no-download -p python3 ${VMS_DIR}/${PROJECT} source ${VMS_DIR}/${PROJECT}/bin/activate pip install --upgrade pip # Install libraries pip install numpy torch torchvision matplotlib scikit-image pygame # Ins...
true
43844c8db2dc8f16809e3250c8184252ac08956f
Shell
huzhennan/emacs-visual-studio-code
/push.sh
UTF-8
333
2.515625
3
[]
no_license
#!/bin/bash git config --global user.email "kzkarino@rhodonit.com" git config --global user.name "KzKarino" CI_BUILD_DATE=`date +"%Y/%m/%d %T %Z"` CI_REMOTE_REPOSITORY="git@github.com:${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}.git" git add --all :/ git commit -m "[auto] make build(${CI_BUILD_DATE})" git p...
true
19bb04ed450f9d2e5afdf91644eb98a731490997
Shell
mschmitt/Dotfiles
/Bash/bashrc.d/0605_waitfor.bash
UTF-8
3,280
3.96875
4
[]
no_license
# A slightly overengineered function that waits for things to appear or go away # waitfor -n address|hostname <-p port> - Wait for network thing to appear # waitfor -N address|hostname <-p port> - Wait for network thing to go away # waitfor -f filename - Wait for file to appear # waitfor -F filename ...
true
59f16557133d30247c1aed9e0b6ce6de234902b1
Shell
dma-vitch/script
/bash/hdp/hdfs/fix_under_block_replica.sh
UTF-8
316
3.171875
3
[]
no_license
#!/bin/bash #su - hdfs #Usage sudo -u hdfs ./fix_under_block_replica.sh replica=${1:-3} hdfs hdfs fsck / | grep 'Under replicated' | awk -F':' '{print $1}' >> /tmp/under_replicated_files for hdfsfile in `cat /tmp/under_replicated_files` do echo "Fixing $hdfsfile :" hadoop fs -setrep $replica $hdfsfile done
true
e8070097f2e5349da4fb7d9c932e6eb7f0a282cb
Shell
strongit/NewhostInit
/useful-scripts/ap
UTF-8
417
3.921875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # @Function # convert to Absolute Path. # # @Usage # # print Absolute Path of current directory. # $ ./ap # # print Absolute Path of arguments. readlink -f # $ ./ap a.txt ../dir1/b.txt # # @author StrongIt [ $# -eq 0 ] && files=(.) || files=("$@") for f in "${files[@]}" ; do ! [ -e "$f" ] && ...
true
9da54f4719e703a9e73168d75c23ab130fc3b665
Shell
ak12jee/url
/study/restart.sh
UTF-8
1,984
3.828125
4
[]
no_license
#!/bin/bash ############################################################################ #Author: 小刘子 #Function: This script is used to restart the Hunan mahjong program. #Version: V1.0 #Date: 2017/12 ############################################################################ # Shell Env SH...
true
b0e29b8b2f889dfd74580b35d3dbfef705b9d349
Shell
Riyaz-creator/jenkins-microservice
/student.sh
UTF-8
376
2.96875
3
[]
no_license
#finding student result fail if marks are less then 35 #!/bin/bash read -p "Enter first marks of subject " a read -p "Enter second marks of subject " b read -p "Enter thrird marks of subject " c if [ $a -lt 35 ];then echo "student failed" elif [ $b -lt 35 ];then echo "student failed" elif [ $c -lt 35 ];then echo...
true
41433c322728a113d9f81c9523e637c4e31410d8
Shell
bitcoinheiro/raspiblitz
/home.admin/config.scripts/internet.dns.sh
UTF-8
1,960
3.953125
4
[ "MIT" ]
permissive
#!/bin/bash # command info if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then echo "config script to set a the DNS server that should be used" echo "internet.dns.sh [DNS-SERVER]" exit 1 fi # 1. parameter DNSSERVER="$1" echo "The DNS server you want to set is: ${DNSSERVER}" # checking for IP address if...
true
eeb434f18a36b85609434101d5a8db5b62976b45
Shell
atiratree/vm-benchmarking
/benchmarking/bin/bench/util/get-name.sh
UTF-8
800
3.359375
3
[ "MIT" ]
permissive
#!/bin/bash BENCH_UTIL_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" UTIL_DIR="`realpath "$BENCH_UTIL_DIR/../../util"`" source "$UTIL_DIR/common.sh" DIR="${DIR:-}" NAME="$1" INSTALL_VERSION="$2" RUN_VERSION="$3" ID="$4" assert_name "$NAME" if [ -z "$DIR" ]; then DISTRO_LEN=${#DISTRO} if [ ${NAME:0:$DIST...
true
9ceddf7f9eecc3f2f09aa491f2904a056a3cf222
Shell
nano-bot/mingw-w64-clang
/scripts/build-compiler-rt-armv7-git
UTF-8
854
2.828125
3
[]
no_license
#!/bin/bash PREFIX=~/llvm eval PREFIX=$PREFIX export USRPREFIX=$PREFIX/usr TARGET=armv7-w64-mingw32 export PATH=$PREFIX/usr/bin:$PATH export CC=$TARGET-clang CXX=$TARGET-clang++ AR=$PREFIX/usr/bin/llvm-ar RANLIB=$PREFIX/usr/bin/llvm-ranlib cd .. mkdir build-compiler-rt-armv7-git cd build-compiler-rt-armv7-git cmak...
true
8eebb8638a2803ae22e52861ae73ed6ca24eaf46
Shell
js-ts/ekz
/images/kind/generate.sh
UTF-8
421
2.96875
3
[ "Apache-2.0" ]
permissive
BUILD="0" EKSD_YAML="eksd.yaml" wget -O- https://distro.eks.amazonaws.com/kubernetes-1-19/kubernetes-1-19-eks-3.yaml > ${EKSD_YAML} CHANNEL=$(yq eval '.spec.channel' $EKSD_YAML) NUMBER=$(yq eval '.spec.number' $EKSD_YAML) VERSION=$(yq e '.status.components[] | select(.name=="kubernetes").gitTag | split("v") | .[1]'...
true
0481eed946dc26e1390087d460d750277b40928d
Shell
jeramirez/base
/src/kudzu/build
UTF-8
436
3
3
[]
no_license
#!/bin/bash if [ `/bin/arch` == "i686" ] then echo rpm -Uvh $ROCKS_REBUILD_SRPM rpm -Uvh $ROCKS_REBUILD_SRPM export SPECFILE=kudzu.spec awk ' /^BuildPrereq: dietlibc/ { \ next; \ } \ /^make RPM_OPT_FLAGS="%{optflags} -I." all kudzu/ { \ printf("make DIET=\"\" "); \ printf("RPM_OPT_FLAGS=\"\%{optflags} -I...
true
5bbcf51846f05e450562e5a90b01626605b5ef47
Shell
nemilya/snapmobile-box
/build_android.sh
UTF-8
2,577
3.3125
3
[]
no_license
#!/bin/bash echo "Build Android mobile" # USAGE: ./build_android.sh snap_file.xml # or ./build_android.sh http://URL/snap_file.xml # was called 'snapmobile_init.sh' for init: # ready to user git source of snap-mobile (checkout mobileapp) export originalsource="/home/vagrant/source-origin/snapmobile" export cordo...
true
fe5b7a9d4a229fc5307752fc0bb5924d679bc64e
Shell
dinar095/wiki
/wiki.sh
UTF-8
4,463
3.234375
3
[]
no_license
#!//bin/bash TITLE=Wiki vHOST=localhost vPORT=5432 vUSER=isogd vPASSWORD=Qwerty123 vDBNAME=wiki vPASSH=Qwe vLOGIN=root USER=$(whiptail --title $TITLE --inputbox "ВВедите существующего пользователя базы данных" 10 60 $vUSER 3>&1 1>&2 2>&3) exitstatus=$? if [ $exitstatus = 0 ]; then vUSER=$USER else echo "Cancel" ex...
true
1ce8be8661fb23c721965a225e02f4fcd46773b4
Shell
feiguohaihou/KeepLearning
/Shell/7.流程控制/break_continue.sh
UTF-8
155
2.78125
3
[]
no_license
#! /bin/bash for i in 1 2 3 4 do if [ $i == 1 ] then continue elif [ $i == 3 ] then break fi echo "i == $i" done
true
13e199435335d26318ebca8e353de31ac70f7300
Shell
ra2637/emacs.d
/IndentAndTabify
UTF-8
3,500
4.3125
4
[]
no_license
#!/bin/sh # copy source-file and Indent using Emacs ERROR() { echo error: $* exit 1 } USAGE() { [ -z "$1" ] || echo error: $* echo usage: $(basename "$0") '<options...>' echo ' --help -h This message' echo ' --verbose -v More...
true
8879b83745536c313ddac53cb72f3e6d50ca471e
Shell
grepp/heroku-buildpack-nodejs
/test/unit
UTF-8
6,155
4.125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # testing monitor_memory_usage # allocate ~14 mb of memory and wait a bit use_memory() { for index in $(seq 10); do value=$(seq -w -s '' $index $(($index + 100000))) eval array$index=$value done sleep 0.5 } # print each argument to a separate line on stdout print_args() { while ((...
true
965cf7128ac385777f87188893bcd8be043bfaf1
Shell
zzwei1/nuwrf
/scripts/pleiades/run_avg_tsfc.pleiades.sh
UTF-8
2,199
3.21875
3
[]
no_license
#!/bin/sh #PBS -S /bin/sh #PBS -N avg_tsfc #PBS -l select=1:ncpus=1:model=bro #PBS -l walltime=00:10:00 #PBS -W group_list=s0942 #PBS -j eo #Optional e-mail notifications ##PBS -m abe ##PBS -M user@nasa.gov #Optional queue designation ##PBS -q devel #---------------------------------------------------------------------...
true
d13ae5d576080c51274afd555d985659912e8738
Shell
jjbuchanan/Monophoton_aTGC_2016
/Generation/sherpa_installation.sh
UTF-8
1,028
2.828125
3
[]
no_license
#!/bin/bash export WORKINGDIR="/afs/hep.wisc.edu/cms/jjbuchanan/aTGC_generation" cd $WORKINGDIR scram project CMSSW_9_3_15 cd CMSSW_9_3_15/src cmsenv export TOPDIR=$PWD git cms-addpkg -q GeneratorInterface/SherpaInterface git clone https://github.com/SiewYan/SherpaGeneration.git -b EXO-2.2.5 cp $TOPDIR/Generator...
true
7ce9ca72034e6aae3792bf34940139ae05c12d17
Shell
kt0/dotfiles
/zsh/theme.zsh
UTF-8
2,214
3.390625
3
[ "MIT" ]
permissive
CURRENT_RUBY="%{$fg[white]%}{%{$fg[red]%}\$(ruby_prompt_info)%{$fg[white]%}}%{$reset_color%}" PROMPT="%F{green}%2c%F{cyan} >%f " # RPROMPT="\$(git_prompt_status)\$(git_prompt_info) $CURRENT_RUBY" # Temporarily removed this due to issue in WSL2 and Git RPROMPT="" ZSH_THEME_GIT_PROMPT_PREFIX="%F{yellow}" ZSH_THEME_GIT_...
true
53c168c1babd603f59357ff739d16354e4b49edf
Shell
libe-max/libe-tools
/prod.sh
UTF-8
2,359
3.21875
3
[]
no_license
#!/bin/bash -e echo "Did you run standard.js? (y/n)" read resp if [ $resp != "y" ]; then echo "Well, do it then. Bye." exit 0 fi echo "Did you commit everything in libe-tools-back? (y/n)" read resp if [ $resp != "y" ]; then echo "Who are you kidding?" exit 0 fi echo "Did you commit everything in libe-tools-f...
true
7a72da4bb826cbcdb03a9a89362851e1d66e486d
Shell
gorzala/nextcloud
/bootstrap-os.sh
UTF-8
1,088
3.34375
3
[]
no_license
#!/bin/bash # Author: Marc Gorzala # I am using this script on a freshly created servers of my # cloud provider to install something like the following # # * git # * docker # * docker-compose # just everything to enable me to start the nextcloud compose project # # You can use this script as a guide what you have to i...
true
a7421a5455566b714fbac98d0bfebd39af201249
Shell
mcreenan/dotfiles
/install.sh
UTF-8
460
3.84375
4
[]
no_license
#!/bin/sh DIR="$( cd -P "$( dirname "$0" )" && pwd )" for file in *; do [ $file == "install.sh" ] && continue source="$HOME/.$file" # FROM -> (ex: /home/user/.vimrc) target="$DIR/$file" # TO (ex: /home/user/dotfiles/vimrc) if [ -e $source ] then if [ -L $source ] then rm $source && ln -s $targe...
true
1427f03698c04724e7a30c73586a10cbb3e9f589
Shell
simon-anthony/DBAtools
/bin/crsstat.sh
UTF-8
676
2.828125
3
[]
no_license
#!/bin/sh - #ident $Header$ # vim:syntax=sh:sw=4:ts=4: eval `grep -s '^ORA_CRS_HOME=' /etc/cmcluster/*/oc.conf` if [ "$ORA_CRS_HOME" ] then PATH=$ORA_CRS_HOME/bin:$PATH fi crs_stat | awk -F= ' BEGIN { printf("%-30s%-16s%-9s%-9s%-9s\n", "Name", "Type", "Target", "State", "Node") for (i=0; i<73; i++) printf("...
true
c34216de0e928d975dd17c3a114f38106a7e4b16
Shell
abracarambar/transposon
/Genotype.sh
UTF-8
656
2.734375
3
[]
no_license
#!/bin/bash ###################################################################### # # Maely Gauthier 19/07/2018 # This is an adaptation of scripts developed by Eugene gardner # see http://melt.igs.umaryland.edu/manual.php#_Other_MELT_Tools # ###################################################################### BAM=...
true
07c9bf5e69d042d0922f0b2b32975816e3a62817
Shell
WProbot/demyx
/install.sh
UTF-8
2,837
3.609375
4
[]
no_license
#!/bin/bash # Demyx # https://demyx.sh DEMYX_DOCKER_CHECK=$(which docker) DEMYX_SUDO_CHECK=$(id -u) if [[ "$DEMYX_SUDO_CHECK" != 0 ]]; then echo -e "\e[31m[CRITICAL]\e[39m Must be ran as root or sudo" exit 1 fi if [[ -z "$DEMYX_DOCKER_CHECK" ]]; then echo -e "\e[31m[CRITICAL]\e[39m Docker must be install...
true
bcf445b61e582058934bda18fe25236d17aafc42
Shell
ivanbrennan/vln
/completions/vln
UTF-8
530
2.96875
3
[]
no_license
#!/usr/bin/env bash _vln () { local word=$2 \ prev=$3 \ pluginsDir=${VIM_PLUGINS_DIR:-$HOME/Development/code/vim-plugins} case $COMP_CWORD in 1) COMPREPLY=( $(compgen -W "dotvim plug replug unplug" -- "$word") ) ;; 2) case $prev in pl...
true
0a74e887ad7081b21fc0e647bedd55d0e380e0b5
Shell
TomHarrop/readfish-test
/test_commands.sh
UTF-8
6,868
2.890625
3
[]
no_license
#!/usr/bin/env bash set -eux # testing only! mount the reads directory, e.g. sshfs -o ro host:/path data/reads # open the shell # add the following to troubleshoot? # -B toml:/opt/ont/minknow/conf/package/sequencing \ singularity shell \ --writable-tmpfs \ --nv \ -B tmp/var:/var,tmp/run:/run \ r...
true
43a4ce6de628fefcd4d5f4804d57bf26e296bbc2
Shell
Jumpaku/AtCoder
/tools/tasks.sh
UTF-8
861
3.421875
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh set -eux TASK_COUNT=$(jq '.tasks | length' <atcoder.json) for TASK_IDX in $(seq 0 "$(( ${TASK_COUNT} - 1 ))" ); do TASK=$(jq -r ".tasks[${TASK_IDX}].task" <atcoder.json) # Task directory mkdir -p "tasks/${TASK}" # Sample inputs INPUT_COUNT=$(jq ".tasks[${TASK_IDX}].input | length" <atcoder.json...
true
066137332f2d2fb366f80bd3d390a4b2ca548f73
Shell
charliemblack/base-spring-gemfire
/bin/start_data_node.sh
UTF-8
1,075
2.84375
3
[]
no_license
#!/bin/bash if [ $# -lt 1 ] then echo "Usage : $0 server_number" exit fi source `dirname $0`/env.sh mkdir $TEST_CASE_HOME/data/server$1 > /dev/null 2>&1 rm -f $TEST_CASE_HOME/data/server$1/.cacheserver.ser > /dev/null 2>&1 options=-Dgemfire.name=server$1 options="$options -Xmx1g" options="$optio...
true
e1d1091ae3030431dc5ebb548c5ffc1663d15173
Shell
n-daniel/YCSB
/runalltest.sh
UTF-8
2,178
3.078125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Make sure only root can run our script if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 exit 1 fi echo "##########################################" echo "# AEROSPIKE" echo "##########################################" /etc/init.d/citrusleaf start sleep 10 export THREADS=1 ./...
true