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
8a1bcd166c2031036c3fd2cde12eafeed168fe91
Shell
fergald/virtual-scroller
/publish.sh
UTF-8
1,239
4.1875
4
[ "Apache-2.0" ]
permissive
#! /bin/bash -ex # Publish a sha and/or branch to gh-pages. # # publish.sh <sha> # # Will cause the repo to be published under # https://fergald.github.io/virtual-scroller/versions/<sha> # and # # publish.sh <branch> # # will figure out the sha for that branch, publish that and # link versions/<branch> to that sha. if...
true
fa058cd3a9d91b8006dee0ffc2464d35edc90f00
Shell
Lyuji282/extempore
/extras/integration-test.sh
UTF-8
1,394
3.5
4
[ "BSD-2-Clause" ]
permissive
#!/usr/bin/env bash # this script should be run from inside the extras/ subdirectory cd .. # move up one level into top-level extempore directory SRC_DIR=$PWD # uncomment this next line if you want to test the full "pull down LLVM" behaviour # unset EXT_LLVM_DIR if [ ! -f $SRC_DIR/extras/integration-test.sh ]; then...
true
f733af5f279b945a6ba2023d728a50edb120d4a9
Shell
Tech-XCorp/bilder
/packages/funcsigs.sh
UTF-8
1,847
3.140625
3
[]
no_license
#!/bin/sh ###################################################################### # # @file funcsigs.sh # # @brief Build information for funcsigs. # # @version $Rev$ $Date$ # # Copyright &copy; 2015-2017, Tech-X Corporation, Boulder, CO. # See LICENSE file (EclipseLicense.txt) for conditions of use. # #############...
true
e9a62f0c6bf46169d00db37090182870df02fab2
Shell
vers10ne/nim-beacon-chain
/scripts/reset_testnet.sh
UTF-8
1,093
3.15625
3
[ "MIT", "Apache-2.0" ]
permissive
#!/bin/bash set -eu cd $(dirname "$0") NETWORK_NAME=$1 source "$NETWORK_NAME.env" cd .. if [ -f .env ]; then # allow server overrides for WWW_DIR and DATA_DIR source .env fi PUBLIC_IP=$(curl -s ifconfig.me) NETWORK_DIR=$WWW_DIR/$NETWORK_NAME NIM_FLAGS="-d:release -d:SECONDS_PER_SLOT=$SECONDS_PER_SLOT -d:SHAR...
true
dcfc9f5f58f0832f313b2982ebb4673662515deb
Shell
navneetyadav/lab2
/lab2_q1.sh
UTF-8
268
3.125
3
[]
no_license
# introduce the library #!/bin/sh # ask the user his name echo "HELLO" echo "WHAT IS YOUR NAME?" # enter the name read "name" # print user name echo "YOU ARE $name" # making the folder of his name mkdir $name cd $name # making a cpp_file of his name touch $name.cpp
true
efe90a42801cbbdec35ec2b8825e036087210ff3
Shell
jbacon/Portfolio
/ExpressApi/docker-run.sh
UTF-8
1,000
3.34375
3
[]
no_license
#!/bin/bash -ex set -x; DIR="$(cd "$(dirname "$0")" && pwd)" NPM_RUN_SCRIPT='startDev' if [ "${ENVIRONMENT}" = "production" ]; then NPM_RUN_SCRIPT='startProd' fi # Stop/Remove Existing Node docker stop node docker rm node MONGOD_CONTAINER_IP=$(docker inspect mongod --format '{{ .NetworkSettings.IPAddress }}') doc...
true
c271b7c35280bfb5aa37ecda24a80ed099b6005d
Shell
3286465057/blog
/mysql/init/backup.sh
UTF-8
294
3
3
[]
no_license
#!/bin/bash backup_dir="/backup" password="setapassword" if [ ! -d $backup_dir ]; then mkdir -p $backup_dir fi mysqldump --defaults-extra-file=/etc/mysql/my.cnf -uroot -p"$password" --databases solo > $backup_dir/data_$(date +%Y%m%d).sql rm -f $backup_dir/data_$(date -d -7day +%Y%m%d).sql
true
accf6dd5c3719fdcdc1502beb9e1714fadace45b
Shell
DarkWiiPlayer/darkrc
/bin/git-as
UTF-8
326
2.921875
3
[ "Unlicense" ]
permissive
#!/bin/sh user=$1 shift 1 export GIT_AUTHOR_NAME="$(git config user.$user.name)" export GIT_AUTHOR_EMAIL="$(git config user.$user.email)" export GIT_COMMITTER_NAME="$(git config user.$user.name)" export GIT_COMMITTER_EMAIL="$(git config user.$user.email)" echo "Running as $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL>" git...
true
d3f513f7d776382218554e4d29171454085c4dba
Shell
Zero-Grav/voron-script
/modules/french.sh
UTF-8
845
3.609375
4
[]
no_license
#!/usr/bin/env bash # # Passage du RPI en français if [ -f _common.sh ]; then source ./_common.sh elif [ -d modules ]; then source ./modules/_common.sh fi ######################### ### CHECK UTILISATEUR ### ######################### if [ `whoami` == 'root' ]; then _log "${RED}Ne lancez pas ce script en super-adm...
true
fac9a022f34f9ff1d1e2a8ef18d663ede0bfbe49
Shell
ItzMxrcxl/backupmypi
/ressources/usr/bin/backupmypi/main.sh
UTF-8
2,358
3.828125
4
[]
no_license
#!/bin/bash # Author: Marcel Kallinger https://github.com/ItzMxrcxl # BackupMyPi Script echo "~~~~~~~~~~~~~~~BackupMyPi - Backup~~~~~~~~~~~~~~~~" echo "Author: Marcel Kallinger" echo "https://github.com/ItzMxrcxl" echo "" if [[ ! -f "/usr/bin/backupmypi/config.txt" ]] then echo "ERROR: Config Datei existiert nicht" ...
true
32a572463290de4c96d6b0340dc0eed6a8e2e07c
Shell
BuaBook/archive-system
/archive.sh
UTF-8
3,521
4.125
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # BuaBook Archive System # Copyright (C) Sport Trades Ltd # 2016 readonly PROGNAME=$(basename $0) readonly PROGDIR=$(readlink -m $(dirname $0)) readonly SOURCE_CONFIG=${BAS_CONFIG}/$(hostname)/archive.config readonly TARGET_CONFIG=${BAS_CONFIG}/$(hostname)/archive.target readonly RSYNC_OPTIONS="...
true
005db5e10b76d61389827cc18f29d284bfd69526
Shell
git-for-windows/MINGW-packages
/mingw-w64-ladspa-sdk/PKGBUILD
UTF-8
669
2.6875
3
[ "BSD-3-Clause" ]
permissive
# Maintainer: Jeff Hubbard <musikernel@gmail.com> _realname=ladspa-sdk pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=1.13 pkgrel=2 pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA) SDK (mingw-w64)" arch=('any') url="https://www.ladspa.org/" license=("LGPL") # bsdtar fai...
true
5d229daed80514edba71cdabd7c79a8fbf58c8c9
Shell
SNURFER/scan-build-customize
/analyzer/run-analyzer.sh
UTF-8
613
2.8125
3
[]
no_license
#!/bin/sh rm -rf analysis_result rm -rf static_analysis mkdir static_analysis cd static_analysis ../scan-build cmake -DCMAKE_BUILD_TYPE=Debug ../.. ../scan-build -plist-html -o ../analysis_result --use-cc /usr/lib/llvm-7/bin/clang --use-c++ /usr/lib/llvm-7/bin/clang --use-analyzer /usr/lib/llvm-7/libexec/c++-analyz...
true
4ef6600491a9d0d05063b122a231770a6a6dae57
Shell
termux/termux-packages
/scripts/build/termux_create_pacman_subpackages.sh
UTF-8
9,289
3.609375
4
[ "Apache-2.0", "MIT", "ISC", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "Libpng", "X11", "BSD-3-Clause", "Zlib" ]
permissive
termux_create_pacman_subpackages() { # Sub packages: if [ "$TERMUX_PKG_NO_STATICSPLIT" = "false" ] && [[ -n $(shopt -s globstar; shopt -s nullglob; echo lib/**/*.a) ]]; then # Add virtual -static sub package if there are include files: local _STATIC_SUBPACKAGE_FILE=$TERMUX_PKG_TMPDIR/${TERMUX_PKG_NAME}-static.sub...
true
54d1edebd25d89ec6da157acf74b090af22eadfd
Shell
melindam/chef
/cookbooks/jmh-bamboo/templates/default/bamboo_agent.erb
UTF-8
652
2.9375
3
[]
no_license
#!/bin/bash # description: Bamboo Agent # chkconfig: 234 21 81 case "$1" in start) su - bamboo -c "cd /home/bamboo; export JAVA_HOME=<%= @java_home %>; \ <%= @java_home %>/bin/java -Dbamboo.home=<%= @agent_home %> -jar <%= @agent_name %> <%= @bamboo_server %> start" ;; stop) su - bamboo -c "cd /...
true
4eaa94e4fe92c2ff8a2687c5dd84ca583c31d475
Shell
alvinamartya/infra-test-so
/setup-infra.sh
UTF-8
521
2.953125
3
[]
no_license
#!/bin/bash # prog : setup-infra.sh if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi # install required apps apt install -y nginx mysql-server php-fpm php-mysql composer php-json php-xmlrpc php-curl php-gd php-xml php-mbstring # remove original content rm -rf /etc/nginx/sites-available/* /etc/n...
true
7ab0378a7f8fd78a4f8e299d4d73743163c5d525
Shell
marionxue/Ansible
/mongodb-rs/roles/exporter/templates/runexporter.sh.j2
UTF-8
850
3.203125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash exporterpath="/opt/ansible/exporter" mongodb_exporter="mongodb_exporter-linux-amd64" node_tar_exporter="node_exporter-0.16.0.linux-amd64.tar.gz" if [ -f ${exporterpath}/${node_tar_exporter} ];then cd ${exporterpath} tar xf ${exporterpath}/${node_tar_exporter} chmod +x ${exporterpath}/node_exporter-0...
true
ec6e7d3472bdd292cf3285e91a69bd01423190d9
Shell
efficientbug/dotfiles-neutron
/x/.xinitrc
UTF-8
720
2.953125
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/sh # Source misc. environment system settings if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi # Wallpaper sh .fehbg # Enable restarting X with Ctrl+Alt+Backspace setxkbmap -option terminate:ctrl_alt_bksp # Remap Caps Lock to Esc...
true
7fdb9649ef2e86c46df75d0ed696b16d6a34b978
Shell
JDevTechnology/Scripts
/auto-wall.sh
UTF-8
225
2.734375
3
[]
no_license
#!/usr/bin/bash img=(`find /home/user/WallPapers/DistroTube/wallpapers/ -name '*' -exec file {} \; | grep -o -P '^.+: \w+ image' | cut -d':' -f1`) while true do feh --bg-scale "${img[$RANDOM % ${#img[@]} ]}" sleep 10m done
true
c620e38657ec32418b3bd32a8b83df96a9739e98
Shell
dotCMS/zarchive_qa
/artifacts/aws/createAMI_ubuntu.sh
UTF-8
2,374
2.96875
3
[]
no_license
#!/bin/bash # Must be run as root user date > /root/setup_start.txt env > /root/setup_env.txt #setup jenkins directory mkdir /opt/jenkins chown ubuntu:ubuntu /opt/jenkins #update software repo lists apt-get -y update #upgrade all installed software apt-get -y upgrade # update hard and soft file limits sed -i.dist '...
true
50852e4633ebe214dda8e07a3a622fafaf610850
Shell
danielhoherd/pub-bin
/docker-images
UTF-8
504
3.078125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # Author: github.com/danielhoherd # License: MIT # Purpose: Format 'docker images' in a vertical style similar to mysql's \G # https://docs.docker.com/engine/reference/commandline/images/#formatting docker images --format="{{.Repository}}:{{.Tag}} .ID: {{.ID}} .Repository: {{...
true
256dc2a0acb9ae4def09d4221d20be83717b4d44
Shell
neffets/docker-omd
/entrypoint.sh
UTF-8
1,880
4
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash SLEEP_TIME=60 MAX_TRIES=5 SITE=${SITENAME:=sp} ####################################################################### groupadd -g 1001 "${SITE}" || echo "* group $SITE already exists" useradd -s /bin/bash -m -d /omd/sites/${SITE} -u 1001 -g "${SITE}" "${SITE}" || echo "* User $SITE already exists...
true
fd4b96332714ca451f4f0708c32dde6c89d6f33b
Shell
nordugrid/arc
/debian/nordugrid-arc-arex.postinst
UTF-8
254
2.921875
3
[ "MIT", "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0", "CPL-1.0" ]
permissive
#!/bin/sh set -e if [ "$1" = "configure" ] ; then # check hostcert is already generated (update vs install) if [ ! -f /etc/grid-security/testCA-hostcert.pem ] ; then arcctl test-ca init arcctl test-ca hostcert fi fi #DEBHELPER#
true
b267c932bca577ded2e24958be0b86421c55f991
Shell
denniskano/presto-hive-kerberos-docker
/test-presto.sh
UTF-8
1,064
3.203125
3
[]
no_license
#!/usr/bin/env bash set -euo pipefail # Terminal Control codes # see: https://stackoverflow.com/a/5947802 COLOR_GREEN='\033[0;32m' COLOR_RESET='\033[0m' function log() { echo -e "${COLOR_GREEN}[$(date +'%Y-%m-%dT%H:%M:%S%z')]: $*${COLOR_RESET}" } BUCKET_NAME=hadoop-data log "Create buckets" ./aws-cli.sh s3 rm --...
true
8a1f2fd1265fbcdaad987e8929dfcbc57d949763
Shell
thebigb/lxc-utils
/etc/bash-completion.d/lxc-utils
UTF-8
844
2.84375
3
[]
no_license
#!/bin/bash have lxc-start && { _lxc_names() { COMPREPLY=( $( compgen -W "$( lxc-ls )" "$cur" ) ) } _lxc_running() { COMPREPLY=( $( compgen -W "$( lxc-ls --running )" "$cur" ) ) } _lxc_generic_n() { local cur prev COMPREPLY=() _get_comp_words_by_ref cur prev _lxc_names "$cur" return 1 } _l...
true
534dcc44490ae2a0a8f05286c9ba57ee23151d93
Shell
VividCortex/johnny-deps
/configure
UTF-8
613
3.84375
4
[ "MIT" ]
permissive
#!/bin/bash prefix=/usr/local usage() { echo "Usage: configure [-h|--help] [--prefix=prefix]" } while [ "$1" != "" ]; do case "$1" in --prefix=*) prefix=${1#--prefix=} ;; --prefix) shift prefix=$1 ;; -h|--help) us...
true
39145cd5224e2b7c5641fa3dc4f3539ce187a6d3
Shell
doohee323/tz-k8s-vagrant
/tz-local/resource/nexus/install.sh
UTF-8
2,321
2.828125
3
[]
no_license
#!/usr/bin/env bash sudo apt-get install openjdk-8-jdk -y cd /opt wget http://download.sonatype.com/nexus/3/nexus-3.22.0-02-unix.tar.gz sudo tar -xvf nexus-3.22.0-02-unix.tar.gz ln -s nexus-3.22.0-02 nexus sudo adduser nexus sudo chown -R nexus:nexus /opt/nexus sudo chown -R nexus:nexus /opt/sonatype-work sudo sed -i...
true
2862b96971c210211611177df2c4b08559ed5837
Shell
brianlions/solar-wind-lisp
/add_header.sh
UTF-8
709
3.75
4
[]
no_license
#!/bin/bash author_name="Brian Yi ZHANG" author_email="brianlions@gmail.com" date_format="%a %b %d %H:%M:%S %Y %Z" #date_format="%Y/%m/%d %H:%M:%S" for fn in "$@" do # get first commit id of the specified file commit_id=`git log --oneline "$fn" | tail -1 | gawk '{ print $1 }'` # get date and time from comm...
true
c67e5d2102312b1be693caafe514892ab6fd1f93
Shell
Nina-Om/wrf_hydro_model_tools
/forcing/download/HRRR/download_HRRR.sh
UTF-8
352
3.140625
3
[]
no_license
#!/bin/bash # Purpose: Download HRRR files for WRF-Hydro forcing # Author: K. FitzGerald # Date: March 2018 # Usage: ./download_HRRR.sh <YYYYMMDD> if [ "$#" -ne 1 ]; then echo "Incorrect number of arguments" exit fi date_str=$1 wget -r -np -nd -A "hrrr.t14z.wrfsfcf??.grib2" http://www.ftp.ncep.noaa.gov/data...
true
70e34a24f66863ef5b93474f3bad8bb357c3f9d3
Shell
woojiahao/meetup
/heroku-run.sh
UTF-8
454
2.640625
3
[ "MIT" ]
permissive
#!/bin/bash read -p "Enter your application name: " applicationName echo "Creating Heroku application" heroku create "$applicationName" echo "Adding Heroku Postgresql addon" heroku addons:create heroku-postgresql:hobby-dev read -p "Enter your bot token: " token heroku config:set BOT_TOKEN="$token" echo "Setting Hero...
true
4e885050248cf97c894f1f6bb1cba7f826ec6d66
Shell
p4p1/Projects
/usb_onion-master/bin/help
UTF-8
801
3.328125
3
[]
no_license
#!/bin/bash # Made by: papii # help command when you need help :D function loadupMessage { printf "+---------------------------------------------------------------------+\n" printf "|------------- Welcome to ONION's HELP, made by papiii ---------------|\n" printf "|-- here you can find most of the documentation y...
true
241c9f64d2e0176da3e979490b67675643f41ff4
Shell
netsec-ethz/scion
/rules_openapi/internal/header.sh
UTF-8
304
3.078125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # This file is copied from https://github.com/cgrindel/rules_updatesrc/blob/main/examples/simple/header/header.sh src="$1" out="$2" header="$3" first_line=$(head -n 1 "${src}") if [[ "${first_line}" != "${header}" ]]; then echo "${header}" > "${out}" fi cat "${src}" >> "${out}"
true
3b3ef2da1cbbfd36a03c317186a3d55c6d292734
Shell
Gitlinzi/abcdefgtesttodo
/save-verinfo.sh
UTF-8
319
3.328125
3
[]
no_license
#!/bin/sh #version file name fileName="version.html" #read custom file name if [ -n "$1" ];then fileName="$1" fi info="git branch: $GIT_BRANCH \ngit url: $GIT_URL \nbuild url: $BUILD_URL \nbuild id: $BUILD_ID \n" echo "============= SAVE VERSION INFO ==============" echo -e $info > $fileName cat $fileName
true
6e1285d64d2f595a1fc93408d4c26560ef3def1d
Shell
marcushill/troubadour-server
/scripts/install.sh
UTF-8
325
2.578125
3
[]
no_license
#!/bin/bash set -x # Show the output of the following commands (useful for debugging) # Import the SSH deployment key openssl aes-256-cbc -K $encrypted_7fecd50c2af5_key -iv $encrypted_7fecd50c2af5_iv -in troubadour_key.enc -out troubadour_key -drm troubadour_key.enc chmod 600 troubadour_key mv troubadour_key ~/.ssh/id...
true
a25f96585254bbd4f23073e02401623eec01b371
Shell
ajp8164/ows
/scripts/debian/postinst
UTF-8
963
3.609375
4
[ "MIT" ]
permissive
#!/bin/bash set -e set -o pipefail # add group if ! getent group | grep -q "^ows:" ; then echo "Creating system group: ows" groupadd --system ows fi # add user if ! getent passwd | grep -q "^ows:"; then echo "Creating ows system user" useradd --gid "ows" --system -m ows fi # build nodejs addons cd "/...
true
b135df0338ecae2abaff0faffacd168645b1ab11
Shell
missionLife/mission-life-new-user-email-invitation
/scripts/build
UTF-8
1,270
3.234375
3
[]
no_license
#!/usr/bin/env bash set -e # Exit on any child process error source ./scripts/setup_env npm run clean mkdir -p dist echo "Transpile ES6 to CJS" npm install npm run transpile -- --ignore spec.js echo "Processing infrastructure template for $DRONE_BRANCH" # echo "{\"SEARCH_ALERT_AWS_ACCESS_KEY_ID\":\"${SEARCH_ALERT...
true
b7e985b3e647acdfa043b6dde01be5fa1084a9f0
Shell
Tylores/BESS
/tools/build-run.sh
UTF-8
315
2.625
3
[]
no_license
#!/bin/bash # setup environment export CPU=x86_64 export OS=linux export VARIANT=debug # modbus setup export MBLIB=/usr/local/lib export MBINC=/usr/local/include # boost setup export BOOSTINC=$HOME/src/boost_1_66_0 # build export SRC=bess make -C ../build # run ./../build/bin/debug/$SRC -c ../data/config.ini
true
4a0551671d355a042b8b60fba97a340eb2b36e93
Shell
gitPty/hello-world
/scripts01/show123.sh
UTF-8
327
3.59375
4
[]
no_license
#!/bin/bash function printit(){ echo -n "Your choice is " } echo "This progran will print your selection!" case ${1} in "one") printit;echo ${1} | tr 'a-z' 'A-Z' ;; "two") printit;echo ${1} |tr 'a-z' 'A-Z' ;; "three") printit;echo ${1} |tr 'a-z' 'A-Z' ;; *) echo "Usage ${0} {one|two|three}" ;...
true
9bfff82ecb5d285f9c7b8ebfcaf23bdc11ebbbab
Shell
pseyfert-cern-gitlab-backup/Urania
/PhysFit/B2DXFitters/scripts/Bash/runSFitOnData.sh
UTF-8
1,149
2.75
3
[]
no_license
#!/bin/bash #Prevent core dump ulimit -c 0 #source /afs/cern.ch/lhcb/software/releases/LBSCRIPTS/prod/InstallArea/scripts/LbLogin.sh #source `which SetupProject.sh` Urania v5r0 #Options export nickname="SSbarAccFloatingNoFTcalib" export inputfile="root://eoslhcb.cern.ch//eos/lhcb/wg/b2oc/TD_DPi_3fb/sWeightedData/sWe...
true
516f13d224dbc5578e694b543d95d053b3e707e4
Shell
schanur/libbivalvia
/bivalvia/message.sh
UTF-8
4,299
3.703125
4
[ "MIT" ]
permissive
BIVALVIA_PATH="$(dirname "${BASH_SOURCE[0]}")" # source "${BIVALVIA_PATH}/config.sh" # source "${BIVALVIA_PATH}/require.sh" #Debug source "${BIVALVIA_PATH}/debug.sh" # Allowed message level: # 0: emerg # 1: alert # 2: crit # 3: err # 4: warning # 5: notice # 6: info # 7: debug # 8: trace # if no message level was s...
true
f355e58954ed47a8458ceda3ac1b194b0fa6e501
Shell
VUW-FAIR/CascadeDataStream-SciFacHPC
/SciFac_Job_Submission_Script.sl
UTF-8
2,471
3.703125
4
[ "Apache-2.0" ]
permissive
#!/bin/sh ### To submit a job to the queing system, use: qsub SciFac_Job_Submission_Script.sl #$ -S /bin/bash #$ -N DataStream # Job Name as it appears in the que. #$ -wd /srv/global/scratch/hashmimu #$ -l s_rt=240:00:00 # Walltime #$ -l h_slots=1 # Number of Nodes #$ -l virtual_free=2.5G #...
true
7d130ee64df291913f45c8dde15bf65fa3f738f1
Shell
xiuminga/examples
/todo-list/setup/createModels.sh
UTF-8
1,172
3.53125
4
[ "UPL-1.0" ]
permissive
#!/bin/bash # # Copyright (c) 2020, Oracle and/or its affiliates. # # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. # # # If you used createDomain.sh to create the WebLogic Server domain, this script can be used to discover # that domain, and generate the Verraz...
true
2c31fb101e52799267b8b97de5fa415324eeeb20
Shell
ypereirareis/consul-template-example
/tests.sh
UTF-8
674
2.609375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -eux ./launch.sh start # Give time to consult-template to generate files sleep 2 # Check that files were generated after consul-template has started cat ./config/dev.json | grep "http://dev.mycompany.com" cat ./config/prod.json | grep "http://prod.mycompany.com" curl --request PUT --data PRO...
true
e945909e8846e0cb38012e21422a0a8daa487a5b
Shell
PavaniSamineni/Script
/toPrintUsersAndDirectories
UTF-8
204
2.625
3
[]
no_license
#!/bin/bash echo "current home Directoriy : " $HOME echo "Currecnt user : " $(whoami) echo "today is : " $(date +%d/%m/%y) echo "current terminal number : " $(tty) echo "number of user logged in : " $(w)
true
0462bb05d3baa51575d9ec5cebca08dd36ac7a68
Shell
mmondelli/swift-gecko
/bin/fasta_extractor
UTF-8
946
3.625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash db=$1 runId=$2 if [ $# != 2 ]; then echo "***ERROR*** Use: $0 database script_run_id" exit -1 fi SQLITE_CMD="sqlite3 $db" for i in $(ls *.fasta) do #echo $i id=$(echo "select distinct file_id from file f natural join staged_in s where f.name like '$i' and s.app_exec_id like '%$runId%';" | $SQLITE_...
true
8d57eb8e4d7f18221eae3e39a4eb0e5a5d7c5919
Shell
mplsbk/themes
/bak-magic.zsh-theme
UTF-8
829
3.0625
3
[]
no_license
# af-magic.zsh-theme # Repo: https://github.com/andyfleming/oh-my-zsh # Direct Link: https://github.com/andyfleming/oh-my-zsh/blob/master/themes/af-magic.zsh-theme if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" # primary prompt PROMPT='$FG[237]...
true
941aa2d99ca6ee456de09b48f76883ec4b0cbedc
Shell
lpolyudova/bin
/zshrc
UTF-8
2,013
3.140625
3
[]
no_license
#!/bin/zsh # Load custom aliases if [[ -f ~/.public_alias ]] then . ~/.public_alias fi if [[ -f ~/.private_alias ]] then . ~/.private_alias fi # ## Load PATH if [[ -f ~/.path ]] then . ~/.path fi # # library-cli-sdk # The next line updates PATH for the Google Cloud SDK. #source '/Users/lpolyudova/D...
true
305f6eee5415abc7eb7eb85e708e048a762b988d
Shell
asheplyakov/hntwsm
/script68.sh
UTF-8
212
3.25
3
[]
no_license
#!/bin/sh set -x module=$(find /lib/modules/`uname -r` -name foo.ko) # WRONG by construction if [ -n $module ]; then echo do something wrong fi # Correct if [ -n "$module" ]; then echo do someting right fi
true
21be726a32293243ff9abb074acefbb4f2b3f9af
Shell
mfalgert/ews
/impl/final-t1-i2/scripts/test.sh
UTF-8
469
2.6875
3
[]
no_license
#!/bin/bash # perform test echo "removing old procsses..." sudo pkill -f -9 send_from_peers.py sudo pkill -f -9 test_wd.sh sudo pkill -f -9 test_an.sh echo "test.sh now running..." sudo python scripts/send_from_peers.py & sleep="$(shuf -i 33-63 -n 1)" sleep $sleep while true; do sudo sh scripts/test_wd.sh "20.0.7.1...
true
2ac57a44b9ed38a040ef8bd0251ec065ea5ded18
Shell
rahul0204/labexam
/grep_io_least_one_ocurrence_of_pattern_hello.sh
UTF-8
229
2.515625
3
[]
no_license
Q . Display lines of file which can contain at least one ocurrence of pattern "hello" in abc.txt and xyz.txt redirect output to output.txt (use grep command) #!/bin/sh grep -l "rohit" abc.txt xyz.txt > output.txt
true
1184f423c3a1a941b4e0141c16a5455be010c50c
Shell
tower111/pwn-change-libc
/clibc
UTF-8
660
3.609375
4
[]
no_license
#!/bin/bash FILE_NAME=$1 LIBC_VERSION=$2 WORKDIR=$(pwd) LIBC_DIR=/glibc LIBC_DIR=$(find $LIBC_DIR -name "$LIBC_VERSION*") if [ "$LIBC_DIR" = "" ];then echo "Not support version or your $LIBC_DIR don't have libc" exit fi EBIT=$(file $FILE_NAME |awk '{print$3}'|cut -c 1-2) if [ $EBIT -eq "32" ];then libc_d...
true
0325e84224e2d540c8f1b2e6958b9fdc17aa822c
Shell
LeSpocky/eis
/cui-vmail/cui-vmail-update.sh
UTF-8
6,396
3.109375
3
[]
no_license
#!/bin/sh #------------------------------------------------------------------------------ # eisfair configuration update script # Copyright 2007 - 2014 the eisfair team, team(at)eisfair(dot)org #------------------------------------------------------------------------------ # include configlib . /var/install/include/co...
true
460cfb5cdb828fb41fb1c3db8a0e492995196933
Shell
titopluto/virl_troubleshoot
/srv_validate.sh
UTF-8
6,116
3.78125
4
[]
no_license
#!/bin/bash ## This script will collect key parts of your VIRL server configuration settings and ## place them into a single file (SrvValTest.txt). This file can be collected and ## forwarded to VIRL support community for assistance. ## Validation script created by alejandro gallego (alegalle@cisco.com) ## Last modifie...
true
bfaa9d1b690c880820efbc2229c2ac7d20b55371
Shell
skyNet2017/Luban
/lubanturbo/src/main/cpp/include/pkgscripts/makecygwinpkg
UTF-8
929
3.4375
3
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "IJG", "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
#!/bin/sh set -u set -e trap onexit INT trap onexit TERM trap onexit EXIT TMPDIR= onexit() { if [ ! "$TMPDIR" = "" ]; then rm -rf $TMPDIR fi } PACKAGE_NAME=libjpeg-turbo VERSION=1.1.1 SRCDIR=/home/tgall/libjpeg-turbo-android/wip umask 022 rm -f $PACKAGE_NAME-$VERSION-cygwin.tar.bz2 TMPDIR=`mktemp -d /tmp/ljtbu...
true
6cf498cc310a284ab12a47b19bc2da26a094a4c6
Shell
olgaiv39/faceswap-data-generation
/preprocess/convert-tedx-videos.sh
UTF-8
505
2.609375
3
[ "MIT" ]
permissive
cd .. cd videos cd tedx cd youth ls > list-youth.txt for i in *.mkv; do ffmpeg -i "$i" -codec copy -threads 0 -c:a aac "${i%.*}.mp4" done a=1 for i in *.mp4; do new=$(printf "tedx-youth_%02d.mp4" "$a") mv -i -- "$i" "$new" let a=a+1 done cd .. cd france ls > list-france.txt for i in *.mkv; do ffmpeg -i...
true
ce2b4b4340ec4a40b0a1e6d0d669d7f2742a2864
Shell
karenyyng/AirlineDelayBenchmark
/config/load_py3_2018.0.0.sh
UTF-8
2,895
2.578125
3
[ "Apache-2.0" ]
permissive
export CONDA_ENV=airline export ENV_DIR=/global/common/software/bdc export INTEL_PYTHON_VERSION=2018.0.0 export PY_VERSION=35 export PY_DOT_VERSION=3.5 export PY_MAJOR_VERSION=3 if [[ -z $CONDA_ENV ]]; then echo "CONDA_ENV is not defined. Quitting installation script." exit 1 fi if [[ $NERSC_HOST == "cori"* ]]...
true
8d172df1485821ee95d01abbc710dcc41bc8ea3e
Shell
tom-weiss-github/home
/tag_count_audit.sh
UTF-8
170
3
3
[]
no_license
#!/bin/bash while true do git tag -d $(git tag) > /dev/null 2>&1 && git fetch > /dev/null 2>&1 echo Tag count is `git tag | wc -l` at `date`. sleep 300 done
true
509477e3d58375fe815e860024a1e92d342bce95
Shell
idachev/own-debian-configs
/win_cntrl_start.sh
UTF-8
1,012
3.59375
4
[]
no_license
#!/bin/bash #set -v WIN_CLASS=$1 PRG=$2 # check if the program has a window visible FOUND=$(wmctrl -l -x | awk -F ' ' "BEGIN {found=0;} {if (\$3 == \"$WIN_CLASS\") {found=1;}} END {print found;}") #echo $FOUND # find on which desctop is the program window WIN_DESKTOP=$(wmctrl -l -x | awk -F ' ' "BEGIN {found=-2;} {i...
true
ad4c653b2bbc770e8b671dc8a923e41fd811d380
Shell
leizhnxp/nginx_ssl
/run.sh
UTF-8
267
3.3125
3
[]
no_license
#!/usr/bin/env bash self_dir=`readlink -f $0|xargs dirname` case $1 in start) sudo nginx -p $self_dir/ -c $self_dir/nginx.conf ;; stop) sudo sh -c "cat $self_dir/nginx.pid | xargs kill" ;; *) echo "usage : run.sh [start|stop]" esac
true
00af4e91eeeccd53cb18fa8ec6989de50fd954b7
Shell
Tronix117/gith-monitor
/scripts/gith-monitor
UTF-8
826
3.796875
4
[]
no_license
#!/bin/bash # # gith-monitor init file for starting up the gith-monitor daemon # # chkconfig: - 20 80 # description: Starts and stops the gith-monitor daemon. PATH=$PATH:/usr/local/bin NAME="gith-monitor" PID="/var/run/$NAME.pid" LOG_DIR="/var/log/$NAME" SERVER="/usr/local/lib/node_modules/$NAME/index.coffee"...
true
6ca1e3414af2033b6a2ecacc464625f2d36b525e
Shell
rondemena/firecracker-containerd
/tools/thinpool.sh
UTF-8
1,432
3.5
4
[ "Apache-2.0" ]
permissive
#! /bin/sh # # Copyright 2018-2019 Amazon.com, Inc. or its affiliates. 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. A copy of the # License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "li...
true
e7b9395cb95b7a935c1c29002b854c93bf1e1a5d
Shell
efiens/saarctf-example-service
/install.sh
UTF-8
1,775
3.6875
4
[]
no_license
#!/usr/bin/env bash set -eux # Install the service on a fresh vulnbox. Target should be /home/<servicename> # You get: # - $SERVICENAME # - $INSTALL_DIR # - An user account with your name ($SERVICENAME) # 1. TODO Install dependencies # EXAMPLE: apt-get install -y nginx apt-get update apt-get install -y socat # 2. T...
true
adf48376e942cfc0b6232aff6303ddc431d8555d
Shell
born4web/install_gitea
/install_gitea_sqlite_download_gitea.sh
UTF-8
2,292
3.921875
4
[]
no_license
#!/bin/bash # Gitea demanded version . setup_gitea_demanded_version.sh # library with help scripts . ./bash_script_library.sh echo " ------------------------------------------- * Checking Gitea demanded version * ------------------------------------------- " if [[ $gitea_version == "" ]]; then echo "Error...
true
a5cd8241f4e57ec69fca15c83b0d6b8bf904d15d
Shell
mfens98/p-one_noise
/G4/absorption/reanalyze/run.sh
UTF-8
336
2.703125
3
[]
no_license
#!/usr/bin/bash ST=$1 EN=$2 (( ST = 1*ST )) (( EN = 1*EN )) echo "Arguments: $ST $EN" for (( i = ST; i <= EN; i++ )); do printf "$i/$EN\n" /cvmfs/icecube.opensciencegrid.org/py3-v4.0.1/RHEL_7_x86_64/bin/python3 /data/p-one/mens/G4/absorption/reanalyze/reanalyze.py /data/p-one/mens/G4/absorption/reanalyze/cedarLink...
true
e394ec2f4290205e224f654f5ca69203f6101d33
Shell
BongoFriendee/CryptoInfo
/cinfo
UTF-8
645
3.5
4
[]
no_license
#!/bin/bash #defining basic urls cburl='https://min-api.cryptocompare.com/data' ccurrprice='/price?fsym=' dayavg='/dayAvg?fsym=' #search file to see if a fiat currency is defined. while read i; do if [[ "${i,,}" == usd ]] ; then fiat='&tsym=USD' ; fiats='&tsyms=USD' elif [[ "${i,,}" == eur ]] ; then fiat='&ts...
true
1be31265765766f78e32a1ca13714449bcc10ddf
Shell
michaelerule/michaelerule.github.io
/publications/media/2021_sorrell_rule_oleary/highres_rasters/rasterize_all.sh
UTF-8
508
2.984375
3
[]
no_license
#!/usr/bin/env bash for IMGNAME in ./*.svg; do echo $IMGNAME BASENAME="${IMGNAME%.*}" echo $BASENAME #cairosvg $IMGNAME -o $BASENAME.pdf inkscape --file=$BASENAME.svg --export-area-drawing --without-gui --export-pdf=$BASENAME.pdf inkscape -z --export-dpi 1200 -e $BASENAME.png $BASENAME.pdf ...
true
d87bec9591c59d115874e6d3da0b2189b96a5a75
Shell
GuoMingJian/Turbo
/TBXcworkspace/TBBusiness/TBBusiness/Server/Analytics/TACCore.framework/Scripts/basements/utils.sh
UTF-8
303
3.53125
4
[ "MIT" ]
permissive
# 入参 path 要查找的路径, pattern 模式 SEARCH_FIELS=() searchFiles() { path=$1 pattern=$2 files=`find ${path} -name "${pattern}" -maxdepth 100` if [ ${#files[@]} == 0 ]; then echo "xx" else files=`echo ${files[@]} | tr ' ' '\n' | sort -r` SEARCH_FIELS=${files[@]} fi }
true
b4adca4a065ccee05887cdf354230edcd1153370
Shell
SamoulY/chuanqi_dev
/server/trunk/server/sh/start_all.sh
UTF-8
666
3.421875
3
[]
no_license
#!/bin/bash # 开启服务器 # @author: zhengsiying # @date: 2015.04.09 # #获取当前 sh 文件的目录 source `dirname $0`/header.sh source ${SCRIPT_PATH}/config.sh cd ${SCRIPT_PATH} chmod +x start_one.sh echo "=======================================================" #获取数组的 个数 NODE_COUNT=${#NODES[*]} for ((i=0; i<${NODE_COUNT}; i++)); do ...
true
dff21f598340c071a8f269430b690ba9feb6dfc0
Shell
coughls/MRSA_scripts
/scripts/quality_control.sh
UTF-8
2,172
3.265625
3
[]
no_license
#!/usr/bin/env #Requires these tools: #FASTQC #Trimmomatic #fastx_quality_stats from the FASTX toolit #and scripts: #get_seq_len_fastq_2.py #(in this repository) #read_stats.py (in this repository) #Run FASTQC fastqc *.fastq -t 12 -o FASTQC #uses 12 threads #Quality Trim ##parameters for trimmomatic l=30 #quali...
true
b8be17ff362c8b14ad1ee91599992e7b4ebe6697
Shell
sq3ope/iot
/linuxpl/librus/deploy_to_remote_host.sh
UTF-8
408
2.734375
3
[]
no_license
project_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" source "$project_dir/src/config/remote.inc" rsync -av -e "ssh -p $port" src/ "$username@$host:public_html/librus/" ssh -p $port "$username@$host" <<EOF ./public_html/librus/create_dummy_files.sh ./public_html find ~/public_html/librus -ty...
true
315b3e2334432bf843ebcb6c8c20afc95b3977e1
Shell
chiju/automation_scripts
/ssh-with-pki-certs/ssh_ca.sh
UTF-8
1,981
3.234375
3
[]
no_license
#!/bin/bash pki_name='chiju' ca_dns_name=$(curl -s ifconfig.co) listen_address='0.0.0.0:8443' provisioner='chiju' password="pass" # Installing step if ! [[ $(dpkg -l | grep step-cli) ]] then curl -LO https://github.com/smallstep/cli/releases/download/v0.12.0/step-cli_0.12.0_amd64.deb sudo dpkg -i step-cli_0.12.0_am...
true
6fcc310e11761d9a37bae553cb4b29cebbe23a99
Shell
bishopst28/CIS361
/project3/filterNoiceWords.sh
UTF-8
245
3.640625
4
[]
no_license
#!/bin/bash if [ ! -f $* ] then echo "filterNoiceWords Usage: bash filterNoiceWords [FileName]" exit 1 else noiceFile=${*: -1} fi while read -r line do set $line if [ ! grep -Fxq $1 $noiceFile ] then echo $line fi done
true
5375de0f8f45b178796e7b7281e23d58e9dcf6ad
Shell
chintitomasud2/Script
/Script-Primax/lab-teambridge
UTF-8
9,704
3.90625
4
[]
no_license
#!/bin/bash # # Copyright 2014 Red Hat, Inc. # # NAME # lab-teambridge - grading script for RH254/RH299 link aggregation labs # # SYNOPSIS # lab-teambridge {setup|solve|grade} # # This script only works on server. # # DESCRIPTION # This script performs the grading steps for the link aggregation # pr...
true
bc3dfb0db2eb85f1c54e3078ae459c13d76b5e0e
Shell
pgajdos/apache-rex
/mod_proxy_ftp-basic/run.sh
UTF-8
1,519
3.3125
3
[ "LicenseRef-scancode-other-permissive", "MIT", "NTP", "LicenseRef-scancode-rsa-1990", "LicenseRef-scancode-rsa-md4", "Beerware", "RSA-MD", "HPND-sell-variant", "Spencer-94", "LicenseRef-scancode-zeusbench", "metamail", "Apache-2.0" ]
permissive
exit_code=0 . ../lib/processman mkdir $AREX_RUN_DIR/ftpmirror echo 'FTP HELLO' > $AREX_RUN_DIR/ftpmirror/welcome # run ftp daemon cat << EOF > $AREX_RUN_DIR/vsftpd.conf anonymous_enable=YES anon_root=$AREX_RUN_DIR/ftpmirror anon_world_readable_only=YES listen=YES listen_address=127.0.0.1 listen_port=$AREX_FTP_PORT ...
true
7e4d2ae1348a0d17e42740d855c4dbe1aea1de55
Shell
sifadil/pcsx2-playground
/build.sh
UTF-8
919
3.359375
3
[]
no_license
#!/bin/sh # Usage: sh build.sh [option] # option can be all (rebuilds everything), clean, or nothing (incremental build) # Modify the individual build.sh for specific program options like debug symbols # Uncomment if building by itself, rather then with all the plugins #Normal export PCSX2OPTIONS="--enable-sse3 --ena...
true
0832f5dc4c5dbf6c362b406eca7fc13e856264f0
Shell
JSterling8/AllAboutThatBash
/palindrome
UTF-8
1,744
4.34375
4
[]
no_license
#!/bin/bash # This command uses the bash shell. # Author: Jonathan Sterling # Date last modified: 13 December 2012 # This command will determine whether or not a word or phrase entered is a palindrome. expectedArgs=1 if [ $# -ne $expectedArgs ] # If there's not 1 and only 1 in...
true
34073f7f61100ed0561890ac58543bc5578f3cf7
Shell
mohisen/zdotfiles
/7/ping-cmd.sh
UTF-8
2,950
2.890625
3
[]
no_license
# commandlinefu.com by David Winterbottom # Ping all hosts on 192.168.1.0/24 fping -ga 192.168.1.0/24 2> /dev/null # Ping all hosts on 192.168.1.0/24 nmap -sn 192.168.1.0/24 # Ping all hosts on 192.168.1.0/24 nmap -sP 192.168.0.1-254 # Ping all hosts on 192.168.1.0/24 ping -b 192.168.0.255 # Ping all hosts on 192....
true
3b749c3036ccfad93ad0aad92f6e890189923f4b
Shell
yocra3/CHD_Marato
/scripts/set_project.sh
UTF-8
2,733
2.671875
3
[]
no_license
#'################################################################################# #'################################################################################# #' Set up server for CHD_MARATO project #'################################################################################# #'##########################...
true
ab09b96d170c14e2ffa24899f2939b3ad935d216
Shell
darcseid/PQ-OpenSSL
/oqs-scripts/build_liboqs.sh
UTF-8
910
3.5625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash ########### # Build liboqs # # Environment variables: # - OPENSSL_DIR: path to install liboqs, default ${PROJECT_ROOT}/oqs # - LIBOQS_LIBTYPE: if 'shared', build a shared library, else build a static library. # - LIBOQS_USE_OPENSSL: the value to pass to the -DOQS_USE_OPENSSL build flag. Can be 'ON' or '...
true
6515ade14d141e9e860ff75ac5baaa67dd0ae8cb
Shell
nagyist/countly-sdk-js
/example/ionic_example.sh
UTF-8
785
2.765625
3
[ "MIT" ]
permissive
#!/bin/sh # This is a shell script to create example app for Ionic. rm -rf app_ionic ionic start app_ionic blank cd app_ionic/src/app/home/ rm home.page.ts curl https://raw.githubusercontent.com/Countly/countly-sdk-cordova-example/master/app_ionic/src/app/home/home.page.ts --output home.page.ts ionic cordova plugin...
true
af8cba845d97a104019818ca5728fb929a614ac7
Shell
mylxsw/init.d-template
/examples/consul
UTF-8
2,183
3.90625
4
[ "MIT" ]
permissive
#!/bin/sh ### BEGIN INIT INFO # Provides: consul # Required-Start: $local_fs $network $named $time $syslog # Required-Stop: $local_fs $network $named $time $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Description: Service Discovery and Configuration Made Easy ### END INIT INFO...
true
8f064afd83fd21c93050961f01636f7f0ecd2c53
Shell
ffac/munin-plugins
/dnsmasq_stats
UTF-8
342
3.078125
3
[]
no_license
#!/bin/sh case $1 in config) cat <<'EOM' graph_title IPv4 leases given graph_vlabel lease count graph_category dnsmasq graph_args --base 1000 -l 0 graph_scale no IPv4leases.label IPv4 lease count IPv4leases.info Reserved IPv4 Adresses EOM exit 0;; esac printf "IPv4leases.value " cat /var/lib/misc/d...
true
f534f7280d6c2a1206e5cbe42c20f98d7aa12be5
Shell
iov-one/ponferrada
/scripts/test_restart.sh
UTF-8
487
3.53125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -o errexit -o nounset -o pipefail command -v shellcheck > /dev/null && shellcheck "$0" # get this files directory regardless of pwd when we run it SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" "${SCRIPT_DIR}"/test_stop.sh if [[ $(docker ps -q) ]]; then echo "Some docker containers ...
true
f42a291f7e56c2b1105aa975a8881e90ef774bdb
Shell
vunhan/dots
/.xinitrc
UTF-8
577
2.703125
3
[]
no_license
#!/bin/sh # # ~/.xinitrc # if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi ## Source .xprofile - Vũ Nhân [ -f /etc/xprofile ] && source /etc/xprofile [ -f ~/.xprofile] && source ~/.xprofile amixer -c 0 set Speaker 100% [[ -f ~/.Xresourc...
true
2870c378a6fc38f40e3a565fb2946317d6357c65
Shell
cjvance/Slomoco
/rus.call.slomoco.glm.sh
UTF-8
628
2.984375
3
[]
no_license
#!/bin/bash mc_list=( nomc slo slo2 volreg ) smooth_list=( smooth nosmooth ) stim_list=( learn unlearn ) for mc in ${mc_list[*]}; do case ${mc} in "nomc" ) condition_list=( nocovar ) ;; "slo"|"slo2"|"volreg" ) condition_list=( covar nocovar ) ;; esac for condition in ${condition_list[*]}; do ...
true
0624d501a674e9de1cb4a27c9e359daa9c32922d
Shell
handyc/aks
/createmasters
UTF-8
476
3.703125
4
[]
no_license
#!/bin/bash SOURCE=$1 MASTERS=$2 NVALUE=$3 mkdir -p $MASTERS COUNTER=1 while [ $COUNTER -le "$3" ]; do ####### create dictionary files for all texts echo "Now processing ngrams of length $COUNTER..." for f in $SOURCE/*.$COUNTER.ngram do cat "$f" >> $MASTERS/$COUNTER.master.txt echo "Added $f to master unsorted list...
true
1756380eba8abbfd8358c3b8c67629904eb41d95
Shell
polyactis/ICNNPipeline
/GenSeq/wigFilteredByHeight.sh
UTF-8
422
2.984375
3
[]
no_license
#$ -cwd #$ -l h_data=1024M #$ -pe shared 4 set -o nounset # Treat unset variables as an error if [ $# -ne 2 ]; then echo SYNOPSIS: `basename $0` wig baseline exit fi if [ "x`echo $PATH | grep -o PIPELINE | uniq`" != "xPIPELINE" ]; then export PATH=.:~/PIPELINE/bin:$PATH fi ...
true
c2f05faaa5427f2e97ba57fecb18e65047517d19
Shell
jmcalalang/f5-big-iq-lab
/lab/scripts/reactivate_licenses.sh
UTF-8
1,759
3.0625
3
[ "MIT" ]
permissive
#!/bin/bash # Uncomment set command below for code debuging bash # set -x # BIG-IQ must be configured for basic auth, in the console run `set-basic-auth on` bigiq="10.1.1.4" bigiq_user="admin" bigiq_password="purple123" ############# ############# ############# ############# License Pool ############# ###########...
true
89ef06b029a84556b66737987b116820dd218bbf
Shell
mumbai272/aryalinux
/scripts/blfs/2.0/ojdk-conf.sh
UTF-8
1,561
2.875
3
[]
no_license
#!/bin/bash set -e set +h export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin export XORG_PREFIX="/usr" export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc \ --localstatedir=/var --disable-static" . /etc/alps/alps.conf cd $SOURCE_DIR cat > 1434309266731.sh << "ENDOFFILE" cat > /etc/profile...
true
4e28d24e24e33d94c563e26237a7a8ea6e15b018
Shell
bodgergely/linux_kernel_hacking
/boot_x64.sh
UTF-8
292
2.671875
3
[]
no_license
#!/bin/bash # BRANCH=master BRANCH=`cat branch-linux` if [ ! -z $1 ] then BRANCH=$1 fi qemu-system-x86_64 \ -kernel ~/busybox/build/linux-$BRANCH/arch/x86_64/boot/bzImage \ -initrd ~/busybox/build/initramfs-busybox-x86.cpio.gz \ -nographic -append "console=ttyS0 nokaslr" \ -s
true
ce9ba828c7e09ee28250fb1bc07838388c77ba6d
Shell
freestar4ever/VHTE
/start.sh
UTF-8
1,304
3.21875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash function get_random_file { echo "${1}/$(ls $1 | grep jpg | sort -R | tail -1)" } clear echo "removing all known profiles...date. Current time is: "`date` rm -Rf profile echo "Start training for ==steve_jobs==" python recognition.py --name steve_jobs --profile "faces/steve_jobs/40.jpg" "faces/steve_j...
true
225e6c72fe910db987f4831d1e998b00581500e4
Shell
xborder/ClearPhoto
/experiments/simple experiments/sat_avg.sh
UTF-8
338
3.3125
3
[]
no_license
#!/bin/bash sum=0 count=0 num=0 for i in $(ls $@) do # printf "$i\n" ./sat "$i" # echo "$?" num="$?" sum=`expr $sum + $num` count=`expr $count + 1` if [ "$num" == 0 ] then rm "$i" fi done #avg=`expr $sum/$count` #printf "Avg= $avg \n" RESULT=$(awk "BEGIN {printf \"%.2f\",${sum}/${count}}") printf "...
true
a65e0da1948a4da2bbbc6e5dec07fd583c5bcc6f
Shell
vipshmily/rt-n56u3
/Padavan-build-k2p/shadowsocks.sh
UTF-8
22,327
2.59375
3
[]
no_license
#!/bin/sh # # Copyright (C) 2017 openwrt-ssr # Copyright (C) 2017 yushi studio <ywb94@qq.com> # Copyright (C) 2018 lean <coolsnowwolf@gmail.com> # Copyright (C) 2019 chongshengB <bkye@vip.qq.com> # # This is free software, licensed under the GNU General Public License v3. # See /LICENSE for more information. #...
true
45a40bc7b1e8790030b2b1577176e4fde207bbf6
Shell
A2-Collaboration/epics
/scripts/cbrem/scripts/setPlane.sh
UTF-8
970
3.75
4
[ "EPICS" ]
permissive
#!/bin/sh #Script to set the coherent peak to para (1) or perp (2) # #source the epics env to get the pathe to caget etc. . /opt/epics/thisEPICS.sh if [ $# -ne "3" ]; then echo echo "Usage: $0 <P> <G> <plane>" echo " P and G are the EPICS macros for goni and cbrem. Eg. HD:CBREM: HD:GONI:"; ech...
true
d90af8ac59f5f5636d2210eb945b509a61a933bf
Shell
yeyinzhu321/mutual-ssl-demo
/src/main/resources/shell/2.intermediate.sh
UTF-8
1,329
3.046875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # create intermediate intermediate mkdir /root/ca/intermediate cd /root/ca/intermediate mkdir certs crl csr newcerts private chmod 700 private touch index.txt echo 1000 > serial echo 1000 > crlnumber # update the configuration file cp -p /root/ca/openssl.cnf /root/ca/intermediate/openssl.cnf vi /...
true
869cea640f3e0a84453dbb038e0d09ec33d24343
Shell
CumulusNetworks/DUE
/templates/common-templates/post-install-config.sh.template
UTF-8
744
2.671875
3
[ "MIT" ]
permissive
#!/bin/bash # DUE_VERSION_COMPATIBILITY_TRACKING=1.0.0 # SCRIPT_PURPOSE: Run configuration inside the docker container, after package install. # NOTE: this script will normally be overridden by one in the container template directory. # Bash should be installed at this point. # Copyright 2021,2022 NVIDIA Corporation....
true
b6f9b0d32b01310c38043532039b6e0d8bdc883a
Shell
wtmJepsen/Paracooba
/aws-run-march.sh
UTF-8
666
2.796875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" DAEMON_THREADS=$(grep -c ^processor /proc/cpuinfo) let DAEMON_THREADS=DAEMON_THREADS/2 if [ -z ${AWS_BATCH_JOB_MAIN_NODE_PRIVATE_IPV4_ADDRESS+x} ]; then aws s3 cp s3://${S3_BKT}/${COMP_S3_PROBLEM_PATH} $DIR/build/problem....
true
05effa0af533943eed12638c0e5d109ff713559f
Shell
calidion/node-auto
/node-auto.sh
UTF-8
1,022
3.359375
3
[]
no_license
#!/usr/bin/bash # or git clone git://github.com/joyent/node.git if you want to checkout a stable tag git clone --depth 1 git://github.com/joyent/node.git cd node if [ -z $1 ]; then echo "checking default version v0.10.6" git checkout v0.10.6 # optional. Note that master is unstable. else echo "checking custo...
true
6f1b9ab3ad7f4e338d371a81d579533a26e6fd92
Shell
SuJiKiNen/pyfiledir
/shell/completion.bash
UTF-8
1,945
3.90625
4
[]
no_license
#!/usr/bin/env bash _pyfiledir_setup_pythonpath(){ _PYFILEDIR_PATH="$(cd "$(dirname "$(dirname "${BASH_SOURCE[0]}")")" || return; pwd -P )" if [ "$OSTYPE" = "msys" ]; then PYTHONPATH=${PYTHONPATH:+${PYTHONPATH};}$_PYFILEDIR_PATH else #----------|-if PYTHONPATH not empty add leading colon | ...
true
53ad4f23ef8739ff9b3431b23a77ebe3714dd328
Shell
pki-io/build
/scripts/build/centos6/centos6.sh
UTF-8
237
2.8125
3
[ "Apache-2.0" ]
permissive
#!/bin/sh set -e set -u set -x GO_PACKAGE=go1.4.1.linux-amd64.tar.gz if [ -e *.rpm ]; then rm *.rpm fi cp $HOME/$GO_PACKAGE ./ docker build -t=centos6 . rm $GO_PACKAGE docker run -it --rm -v `pwd`:/pki centos6 /bin/sh /pki/makeRPM.sh
true