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
64dca6b1b0aaa41de22daf87f9dd3b165e20be48
Shell
cory-work/local_site_tools
/remove_site.sh
UTF-8
1,748
3.0625
3
[ "MIT" ]
permissive
# Copyright (c) 2019 Adobe # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, ...
true
ed84edb5c60144af385c96ce98105945ae03dd55
Shell
ARM-Solutions/Antivirus_Kali
/K_master.sh
UTF-8
3,702
3.203125
3
[]
no_license
#Any comments with ## are meant for Debian and should be ignored seperate() { for I in $(seq 30); do echo -n " "; done } list() { echo -e " badfile hosts top backdoor firewall kernel startup rootlogin passwords shadow updates admins qqr sudoers guest autologin policy viruses external scan " } badfile() { echo -n "[...
true
7def62125fb9bbfd558ba8b3b8567f19dfa5dc6e
Shell
h4tr3d/IncludeOS
/test/fs/integration/fat16/fat16_disk.sh
UTF-8
630
4.09375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash ### FAT16 TEST DISK ### DISK=my.disk MOUNTDIR=tmpdisk # If no args supplied, create a fat disk and fill with data if [ $# -eq 0 ] then # Remove disk if exists rm -f $DISK # Create "my.disk" with 16500 blocks (8 MB) dd if=/dev/zero of=$DISK count=16500 # Create FAT filesystem on "my.disk" mkf...
true
240141f0b7a87dc4f8b4f54c551cb20f5658ec91
Shell
anar-shamilov/vagrant-elasticsearch-cluster-with-snapshot
/scripts/elkinstall.sh
UTF-8
1,732
2.515625
3
[]
no_license
#!/usr/bin/env bash rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch sudo cat <<'EOF' > /etc/yum.repos.d/elasticsearch.repo [elasticsearch-6.x] name=Elasticsearch repository for 6.x packages baseurl=https://artifacts.elastic.co/packages/6.x/yum gpgcheck=1 gpgkey=https://artifacts.elastic.co/GPG-KEY-ela...
true
91ae3da2dbde65a0fca3f871dd8f64d3e5608e93
Shell
amarshah1/bigquery-openstreetmap
/layered_gis/transport/transport.sh
UTF-8
3,086
2.859375
3
[ "BSD-3-Clause" ]
permissive
#!/bin/sh LAYER=( "5622:amenity=bus_station" "5641:amenity=taxi" "5655:aeroway=helipad" "5656:aeroway=apron" "5661:amenity=ferry_terminal" ) for layer in "${LAYER[@]}" do CODE="${layer%%:*}" KV="${layer##*:}" K="${KV%%=*}" V="${KV##*=}" echo "SELECT $CODE AS laye...
true
322d20224ebe30ce49494d22895207b08623d1ff
Shell
bdereims/cPod
/shwrfr/compute/list_vapp.sh
UTF-8
723
2.640625
3
[ "MIT" ]
permissive
#!/bin/bash #bdereims@vmware.com . ./env PS_SCRIPT=list_vapp.ps1 SCRIPT_DIR=/tmp/scripts SCRIPT=/tmp/scripts/$$.ps1 mkdir -p ${SCRIPT_DIR} cp ${COMPUTE_DIR}/${PS_SCRIPT} ${SCRIPT} sed -i -e "s/###VCENTER###/${VCENTER}/" \ -e "s/###VCENTER_ADMIN###/${VCENTER_ADMIN}/" \ -e "s/###VCENTER_PASSWD###/${VCENTER_PASSWD}...
true
400a790f89dd48e10a47fbb7b2714db47d71884a
Shell
somebodyhuman/kubicluster
/scripts/worker/setup_containerd.sh
UTF-8
6,181
3.671875
4
[ "Apache-2.0" ]
permissive
#/!bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" source ${DIR}/../utils/env-variables "$@" CNI_PLUGINS_DIR=${NODE_WORK_DIR}/cni-plugins-${CNI_PLUGINS_VERSION} CONTAINERD_DIR=${NODE_WORK_DIR}/containerd-${CONTAINERD_VERSION} # download and extract cni plugins if [ ! -f ${NODE_WORK_...
true
4838d6222f52f3d9369bb6b6b9858f93d15d2ce3
Shell
arashmodrad/Parallel-computing
/Homework 4/2D/GPU/run_script_gpu.qsub
UTF-8
335
2.6875
3
[]
no_license
#!/bin/bash ### ### #SBATCH --time=10:00:00 #SBATCH --tasks=1 #SBATCH --job-name=sw_2d_GPU #SBATCH --output=outputGPU.o%j #SBATCH -p gpuq NX=200 DT=0.004 LX=10.0 TFINAL=0.2 for i in {1..40}; do dt=$(bc <<< "scale = 15; $DT / $i") ./sw_2d $((i*NX)) $dt $LX $TFINAL done status=$? if [ $status -ne 0 ]; then e...
true
8c8f94006a5e8b2071532287015d2e5adfb078ff
Shell
pete-may/bash
/.bash_profile
UTF-8
1,451
2.984375
3
[]
no_license
export PATH=/usr/local/opt/python/libexec/bin:/usr/local/share/python:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Applications/Wireshark.app/Contents/MacOS if [ -f ~/.bashrc ]; then source ~/.bashrc fi # added by Anaconda2 5.1.0 installer export PATH="/Users/peter.may@ibm.com/anac...
true
063b1b883f671b803107f27602f40714afb9c7a5
Shell
9thcirclegames/wisdom-of-cthulhu
/_scripts/install.countersheet.sh
UTF-8
1,380
2.875
3
[]
no_license
#!/usr/bin/env bash # Build Dir if [ -n "${TRAVIS+x}" ]; then echo "** Executing in Travis CI environment"; export BUILD_DIR=$TRAVIS_BUILD_DIR else if [ -n "${WOC_BUILD_DIR+x}" ]; then echo "** Executing in local environment; build dir set to $WOC_BUILD_DIR"; export BUILD_DIR=$WOC_BUILD_DIR else ...
true
27457a86a0cbb46fb6699b79773bc0409ac99e8e
Shell
dalalsunil1986/Beelzebub
/scripts/grab_genisoimage.sh
UTF-8
422
3.28125
3
[ "NCSA", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash PRECMD="" if [ ! -v MISC_TOOLS_DIR ] then export MISC_TOOLS_DIR="/usr/local/beelzebub-tools" PRECMD="sudo" fi mkdir -p $MISC_TOOLS_DIR if [ ! -e "$MISC_TOOLS_DIR/genisoimage" ] then pushd "$MISC_TOOLS_DIR" $PRECMD wget "http://u.vercas.com/genisoimage" RES=$? if [ $RES != 0 ] then $PRECMD w...
true
5213843915f5fa1960cd8e7762d9cbb0af7d6146
Shell
shafiahmed/beansight-website
/design/exportsHTML/makelocal.sh
UTF-8
367
2.71875
3
[ "Apache-2.0" ]
permissive
echo "Create a folder, create .html files with HTML code (that you get by showing the sources of the pages). Then enter the name of the folder:" read -e FOLDER svn export ../../Website/trunk/beansight/main/public $FOLDER/public find ./ -type f -name '*.html' -exec sed -i 's/\/public/public/g' {} \; find ./ -type f -nam...
true
2163ffa7320c977b83756431499be5d6d5a251c5
Shell
burtonjb/computer-graphics
/run_lua_scripts.sh
UTF-8
385
2.90625
3
[]
no_license
# The lua files need to be run from the ./bin folder, or I need to fix the lua path (lua doesn't resolve paths for libraries) # I've created this shell script for cleaning up, running all the lua files, and then creating the images rm images/*.pam rm images/*.png rm images/*.jpeg cp './lua/utils.lua' 'bin/' cd bin f...
true
fb7ea6dd322606dbf49244cb5414fffca1c98e23
Shell
iocron/typo3-theme-githooks
/post-merge
UTF-8
5,703
3.828125
4
[ "MIT" ]
permissive
#!/bin/bash # shellcheck source=/dev/null # MIT © Sebastian Pieczona - sp@iocron.com # Bash Exit if a command exits with a non-zero status # set -e # Set Generic Variables if [[ -d "$(pwd)/.git" ]]; then GIT_DIR="$(pwd)/.git" TPL_DIR="$(pwd)" ROOT_DIR="$(dirname "$(dirname "$(dirname "$(pwd)")")")" elif [[ -d "$...
true
a72996afc7532cb479f95eea8756510505c8eb43
Shell
combet/CLstack2mass
/stack_install.sh
UTF-8
2,208
3.703125
4
[ "MIT" ]
permissive
#!/bin/bash -xe # # A script to setup the Travis build environment with Miniconda # and install the LSST stack into it. MINICONDA_VERSION=${MINICONDA_VERSION:-"latest"} CHANNEL=${CHANNEL:-"http://conda.lsst.codes/stack/0.13.0"} CACHE_DIR="$HOME/miniconda.tarball" CACHE_DIR_TMP="$CACHE_DIR.tmp" CACHE_TARBALL_NAME="min...
true
cf2fe4a0ec208dbcd7d3706602f73b42b81e5b72
Shell
elves/posixsh
/pkg/spec/posix/export.test.sh
UTF-8
585
3.515625
4
[ "BSD-2-Clause", "BSD-3-Clause", "Apache-2.0" ]
permissive
#### Exporting a variable to external commands export foo=bar sh -c 'echo $foo' ## stdout: bar #### Exportinging multiple variables export foo=bar lorem=ipsum sh -c 'echo $foo $lorem' ## stdout: bar ipsum #### Exporting a variable without assigning to it foo=bar export foo echo $foo ## stdout: bar #### Exporting an ...
true
749c30d1549b38f6752ad178740d03d11a610956
Shell
fairliereese/lab_pipelines
/lr_splitseq_pipeline/sbatch_tc.sh
UTF-8
1,016
2.984375
3
[]
no_license
#!/bin/bash #SBATCH --job-name=tc #SBATCH -n 32 #SBATCH -A SEYEDAM_LAB #SBATCH -o processing_tables/%x.o%A #SBATCH -e processing_tables/%x.e%A #SBATCH --partition=standard #SBATCH --time=24:00:00 #SBATCH --mail-type=START,END #SBATCH --mem=64G #SBATCH --mail-user=freese@uci.edu module load samtools opref=$1 sam=${opr...
true
88d51883d68c12bbf9ad16853f08486098b5af21
Shell
durgeshanaokar/windup-documentation
/legacy/scripts/windupDocCopyWiki.sh
UTF-8
11,104
2.5625
3
[]
no_license
if [ "$1" == "" ]; then echo "You must pass the path to the windup.wiki GitHub directories on the command line." echo "For example: scripts/windupDocCopyWiki.sh ~/GitRepos/windup.wiki" exit fi echo "Copy the original wiki files from $1 into the wiki-docs/ folder" cp $1/*.asciidoc wiki-docs/ echo "" ech...
true
131d5983ef21fa36532195e35fc00af676d18320
Shell
joiningdata/databio_sources
/uniprot/import_uniprot.sh
UTF-8
609
2.6875
3
[]
no_license
STAMP=`TZ=UTC date "+%FT%T"` curl -LO ftp://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.dat.gz gunzip -c uniprot_sprot.dat.gz | egrep '^(ID|AC|DE|GN|OX|DR|//)' >uniprot.filtered.dat grep '^AC ' uniprot.filtered.dat |cut -c6- |sed $'s/; */\\\n/g' |grep -v '^$' >uniprot_acc...
true
ef04d86b3b7624bcf94e5d62ea80f00a74f87e48
Shell
Lenv12138/HLS-Cryptography-Accelerator
/zip
UTF-8
222
3.0625
3
[]
no_license
#! /bin/bash set -e DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" cd "$DIR" DIRS="rsa sha aes cracker" OUT="submission.zip" rm -rf $OUT git clean -xdf $DIRS zip -r $OUT $DIRS README.md md5sum $OUT
true
4a4c004a3ca950fcaef17c8f1ec75ceccb2242e1
Shell
rnestler/dotfiles
/bin/watchfile.sh
UTF-8
309
3.78125
4
[]
no_license
#!/bin/bash set -e function die { echo usage: $0 file command exit 1 } [ -f "$1" ] || die file="$1" shift ### Set initial time of file LTIME=$(stat -c %Z "$file") while true; do ATIME=$(stat -c %Z "$file") if [[ "$ATIME" != "$LTIME" ]]; then echo $* $* || true LTIME=$ATIME fi sleep 1 done
true
3e9a467dab0d5d256279077c1e9a36563af18385
Shell
Kho-Dialga/configs
/.local/bin/game/dmenugame
UTF-8
1,965
2.6875
3
[]
no_license
#!/bin/sh # Small dmenu script that launches games. # Game title # Command for launching the game vidya="\ Touhou Puppet Dance Performance tpdp Touhou 06: Embodiment of Scarlet Devil 2hu 06 Touhou 07: Perfect Cherry Blossom 2hu 07 Touhou 07.5: Inmaterial and Missing Power 2hu 075 Touhou 08: Imperishable N...
true
316ff963c40887a3287ffae6e1c4e0b94e199f7d
Shell
h0wXD/Raspberry
/WebControlledSocket/etc/init.d/quadrelay
UTF-8
677
3.5625
4
[ "MIT" ]
permissive
#!/bin/bash #/etc/init.d/quadrelay #TODO after: #sudo chmod +x /etc/init.d/quadrelay #sudo update-rc.d -f quadrelay start 4 GPIO="/usr/local/bin/gpio" COUNT=3 case "$1" in start) echo "Starting relay" > /tmp/quadrelay # write to pins; which makes sure the relay is kept off for i in $(seq 0 $COUNT); do $GPIO wri...
true
2d6bd894a5b0b3a4a76eed0f911cfce1bcfde0e9
Shell
SumGuyV5/FreeBSDScripts
/bash_setup.sh
UTF-8
858
4.21875
4
[]
no_license
#!/bin/sh if [ `whoami` != root ]; then echo "Please run as root" exit 1 fi if [ "$1" = "" ] || [ "$1" = "-h" ]; then echo "Please run as root and pass the user name." exit 1 fi if [ "$(uname)" = 'Linux' ]; then echo "This Script is for FreeBSD." exit 1 fi if [ ! -x /usr/local/bin/bash ]; then echo "Pl...
true
5b1b8b52235ef93a942aafb99be5e55c5cf1436a
Shell
11philip22/scripts
/proxy_check.sh
UTF-8
105
2.5625
3
[ "MIT" ]
permissive
if nc -z $1 $2; then exec nc $1 $2 # connect directly else exec ssh m1006 nc $1 $2 # use proxy fi
true
745a779813637d5231a37fe8707b6c35d09b0ff5
Shell
yoshuawuyts/templates
/note/main
UTF-8
375
3.765625
4
[ "MIT", "Apache-2.0" ]
permissive
#!/bin/sh __dirname=$(dirname "$(readlink -f "$0")") . "$(readlink -f "$__dirname/../shared.sh")" # define note if [ -z "$1" ]; then printf 'What is the note about?\n❯ ' read -r note if [ "$note" = "" ]; then printf 'no details provided, exiting\n' exit 1 fi else note="$1" fi note="$(echo "$note" |...
true
0e129f9e1911c84356f8c8709e137a78b14f0de5
Shell
Tetoronie/Scripting-and-Automation
/Bash/13/Class/blockApache-skel.bash
UTF-8
2,393
4.34375
4
[]
no_license
#!/bin/bash # Script to view Apache logs via a GUI and generate a block list for bad IPs. function which_ruleset() { the_ruleset=$(yad --form --title="Select Ruleset" --field="Select Ruleset:CB" "IPTables\!Cisco\!Windows Firewall") } function console_status() { # Get the return value retVal=$? # Allow user to...
true
de74afd063e0ebe852107da69d10c0282a43fdfd
Shell
hmgu-itg/Genetics-of-Osteoarthritis-1
/GWAMA.sh
UTF-8
12,939
3.125
3
[]
no_license
# GWAMA.sh # 30th March 2020 # Path to working directory wd=$1 # Data paths input=$2 # Install latest version of GWAMA: mkdir $wd/GWAMA mkdir $wd/GWAMA/gwama cd $wd/GWAMA/gwama wget http://www.geenivaramu.ee/tools/GWAMA_v2.2.2.zip unzip GWAMA_v2.2.2.zip make # Excecutable is called: $wd/GWAMA/gwama/G...
true
5b9889c4fb98378f131c1e60a0bf001dc1dc9bc0
Shell
flint-stone/magic-docker-grader
/msgdropsinglefailure_grader.sh
UTF-8
1,217
3.265625
3
[]
no_license
#echo "============================================" #echo "Message Drop Single Failure Scenario" #echo "============================" grade=0 magic=`head -1 ${1}` if [ ${magic} -ne 131 ] then echo ${grade} exit fi joincount=`grep joined $1 | cut -d" " -f2,4-7 | sort -u | wc -l` if [ $joincount -eq 100 ];...
true
e2c7be9e098c8ffb3e939582a8ba1f98f2bcf10b
Shell
FernandoBasso/dotfiles
/bin/mntserv-vbsmidia.bash
UTF-8
1,682
4.0625
4
[]
no_license
#!/usr/bin/env bash my_dirs=(~/ServDev ~/ServProd ~/ServTemp) # # TODO: Check if `mountpoint` command is available on the system. # usage() { echo "Usage: ${0##*/} --(on|off)" } do_mount() { for my_dir in "${my_dirs[@]}" ; do if mountpoint -q "$my_dir" ; then echo "~/${my_dir##*/} alread...
true
9c747f7ebe02c93f895a1812f4a6af3f73f9fcad
Shell
seObando19/holberton-system_engineering-devops
/0x0C-web_server/0-transfer_file
UTF-8
314
3.78125
4
[]
no_license
#!/usr/bin/env bash # Bash script that transfers a file from our client to a server expectedValue=4 ARGC=("$#") ARGV=("$@") if [ $ARGC -eq $expectedValue ] then scp -i "$4" -o "StrictHostKeyChecking=no" "$1" "$3@$2":~ else echo "Usage: 0-transfer_file PATH_TO_FILE IP USERNAME PATH_TO_SSH_KEY" echo "$ARGC" fi;
true
2f1f3ea1f1273e1fc330d7ae52a9a6a5702e02bb
Shell
trussworks/brainsik-ott-concourse-ci
/set-pipelines.sh
UTF-8
227
2.875
3
[ "MIT" ]
permissive
#!/bin/bash # # Sets all pipelines in the pipelines directory. # set -ex fly="fly -t demo" cd pipelines; for pipeline in *.yml; do $fly set-pipeline -p ${pipeline/.yml/} -c $pipeline -l ../credentials.yml -n done; cd ..
true
05f94ba35000e49b30b1414ebe813f1fb1c1cef3
Shell
krasimirvasilev1/nbu-masters
/raspberry/rasp_check.sh
UTF-8
2,131
3.875
4
[]
no_license
#!/bin/bash set -x function log () { echo "`date +"%m-%d-%Y %T"`: $1" } function check_cloud_health () { wget -q --spider http://google.com } function cloud_check () { local pic=$1 local cloud_url=$2 local cloud_response=`(echo -n '{"image": "'; base64 $pic; echo '"}') | curl -sH "Content-Type: ...
true
3a482d01e79136ffe11285cc8d690f759ce84046
Shell
adzhou/oragle
/coreutils/tests/tail-2/assert-2.sh
UTF-8
1,390
3.375
3
[ "BSL-1.0", "GPL-3.0-or-later", "GFDL-1.3-or-later", "GPL-3.0-only" ]
permissive
#!/bin/sh # This variant of 'assert' would get a UMR reliably in 2.0.9. # Due to a race condition in the test, the 'assert' script would get # the UMR on Solaris only some of the time, and not at all on Linux/GNU. # Copyright (C) 2000-2014 Free Software Foundation, Inc. # This program is free software: you can redist...
true
f1c8127eecfc37d82a3c7b7772dbf79e5af0f1d6
Shell
steve8x8/geotoad
/tools/proximity.sh.ex
UTF-8
386
3.34375
3
[ "BSD-2-Clause" ]
permissive
#!/bin/bash CENTER=GC77 # or whatever should be the center of your search DISTANCE=2km # radius around $CENTER # extract coordinates for $CENTER cache geotoad -q wid -x list -o `pwd`/$CENTER.list $CENTER # get coordinates from list COORDS=`awk '{printf("%s,%s\n",$2,$3)}' $CENTER.list` # now run the real ...
true
421d356ef9171d127e96d00058e15b7707da1b52
Shell
open-mpi/ompi
/contrib/ompi-time.sh
UTF-8
33,128
3.859375
4
[ "mpich2", "BSD-3-Clause-Open-MPI" ]
permissive
#!/bin/sh # # Copyright (c) 2015 Mellanox Technologies, Inc. # All rights reserved. # Copyright (c) 2022 Cisco Systems, Inc. All rights reserved # $COPYRIGHT$ # # Additional copyrights may follow # # $HEADER$ # # This script is used to measure PMIx performance. # # --exec: scenario to...
true
60f4323a8f0d8647149a15ec4c2318f8d6053e8d
Shell
Vinesma/.dotfiles
/install/scripts/setup-yt-dlp.sh
UTF-8
916
3.671875
4
[]
no_license
#!/usr/bin/env bash # # Setup/update yt-dlp, a video extractor/downloader for youtube and other sites. WORK_DIR=$HOME/.dotfiles/install/workdir/ SOURCE=https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp SOURCE_DOCS=https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.tar.gz ZSH_COMPLETION_DIR...
true
282199b9c2f6f000f27d22ecc1592f82091b5f2c
Shell
w0lker/maven_scripts
/mvn-completion
UTF-8
630
3.6875
4
[]
no_license
#!/bin/bash local_etc="$HOME/.local/etc" local_mvn_etc=$local_etc/maven settings=$(ls $local_mvn_etc) name=$1 names="" index=0 for setting in $settings; do setting_name="$(echo "$setting" | sed 's/\.xml$//')" if [ $index -eq 0 ]; then names=$setting_name else names="$names $setting_name" fi inde...
true
5029e396efa3dfe9dd73fc0bc61445d0377e0432
Shell
rook/rook
/tests/scripts/helm.sh
UTF-8
1,120
4.09375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash +e temp="/tmp/rook-tests-scripts-helm" helm_version="${HELM_VERSION:-"v3.8.0"}" arch="${ARCH:-}" detectArch() { case "$(uname -m)" in "x86_64" | "amd64") arch="amd64" ;; "aarch64") arch="arm64" ;; "i386") arch="i386" ...
true
ca7102f83e5d4b5caf762b65007d82b6e25b696e
Shell
artera/copr-repo
/bin/dockerrun
UTF-8
410
3.1875
3
[]
no_license
#!/bin/bash set -e BASEDIR="$(dirname "$(dirname "$(readlink -fn "$0")")")" cd "$BASEDIR" IMAGE=centos7-mock if [ -z "$(docker images -q $IMAGE)" ]; then docker build -t $IMAGE . fi mkdir -p cache exec docker run --privileged=true -it \ -v "$PWD:/home/builder/rpmbuild" \ -v "$HOME/.gnupg:/home/builder/.gnupg" ...
true
e4845d87cc76916b6ae995097911c763af659681
Shell
mradkov/aepp-todolist
/deploy-gh-pages.sh
UTF-8
444
2.625
3
[ "ISC" ]
permissive
#!/usr/bin/env bash GIT_REV="$(git rev-parse HEAD)"&& \ rm -rf dist && \ rm -rf node_modules && \ npm install && \ NODE_ENV=prod npm run build && \ cd dist/ && \ git init && \ git remote add origin git@github.com:mradkov/aepp-todolist.git && \ git checkout -b gh-pages && \ git add * && \ git commit -m "todolist aepp $...
true
d222e916cf08c6989f2587d6e1335d888cc2b3eb
Shell
dergoegge/dotfiles
/tmux_status_right
UTF-8
365
3.265625
3
[]
no_license
#!/bin/zsh # vim:ft=sh function _hg_status_line() { hg root >/dev/null 2>&1 || return 1 print "hg: [$(hg branch)]$(hg diff --stat | tail -n1) |" } function _git_status_line() { git rev-parse --is-inside-work-tree >/dev/null 2>&1 || return 1 print "git: [$(git symbolic-ref -q HEAD --short)]$(git diff --short...
true
50bc4cb25687a9df43fa24f2e4dc750736aa965f
Shell
umccr/workflows
/configurations/scripts/draw_fusions_hg38.sh
UTF-8
2,113
3.484375
3
[]
no_license
#!/usr/bin/env bash # ...
true
5cb759abf418399de0d7a42fa64162f0913013e4
Shell
sbandyo2/apigatewaymodule
/gateway/gateway-entrypoint.sh
UTF-8
265
2.5625
3
[]
no_license
#!/bin/sh echo 'Starting the custom script' while ! nc -z auth-server 9101 do echo "Waiting for upcoming Authentication Server" sleep 2 done echo 'Pre-requisite done now moving on the execution of current container service' nohup java -jar gateway.jar
true
f8a62f8c21be8a1354b2ee64bc966bbef6b259e0
Shell
thelaser/gcp_snippets
/CloudScripts/bash/check_ownership/check_projects_ownership.sh
UTF-8
1,508
4.03125
4
[]
no_license
################ # Explanations # ################ # This script finds and shows from the list of projects accessible by the active account, the projects owned explicitly by an account in GCP (without counting inheritances from an organization) # If run without arguments, it will perform the search for the account bei...
true
357c36ec45cfb5a30b6d4cbe9457eb7f0485a57b
Shell
diegocasmo/dotfiles
/zsh/aliases.zsh
UTF-8
1,711
2.703125
3
[]
no_license
# Aliases alias ..="cd .." alias ...="cd ../.." alias dt="cd ~/Desktop" alias dn="cd ~/Downloads" alias ls="ls -G" alias la="ls -AGFoh" alias grep="grep --color=auto" alias rsynccopy="rsync --partial --progress --append --rsh=ssh -r -h " # cp with progressbar alias rsyncmove="rsync --partial --progress --append --rsh...
true
c794338ffe9ed05f8a2d6ba87afd7b93d185552f
Shell
alrickemilien/ft_ls
/icons-in-terminal/uninstall.sh
UTF-8
401
3.265625
3
[]
no_license
#!/usr/bin/env bash set -xe rm -rf ./fonts/ FONT_DIRECTORY=${HOME}/.fonts/ if [ `uname` = "Darwin" ]; then FONT_DIRECTORY=${HOME}/Library/Fonts/ fi rm -f ${FONT_DIRECTORYcons}/*.ttf # run fc-cache -fv ~/.fonts to let freetype2 know of those fonts if [ `uname` != "Darwin" ]; then fc-cache -fvr --really-force >...
true
f8a24e888f84d2107c9731c730cefc1c0cf5f6ab
Shell
FAIMS/reviewExporter
/export.sh
UTF-8
1,806
3.8125
4
[]
no_license
#!/bin/bash # $1 module directory e.g. /var/www/faims/modules/b28ea04f-2e6b-421a-a3fd-8be4c6c50259 # $2 user entered data as json file e.g. /tmp/something.json => {"Label1":"some text","Label2":["Item1","Item2"],"Label3":"Item2"} # $3 directory to put generated files in e.g. /tmp/exported_files # $4 file to write m...
true
b86baabc5ca69dc12c7e03cc682942351de91e1b
Shell
spyysalo/consensus-pipeline
/pipeline/220-list-pubmed-contents.sh
UTF-8
1,027
3.84375
4
[ "MIT" ]
permissive
#!/bin/bash # List PubMed DB contents. set -euo pipefail SCRIPT="$(basename "$0")" # https://stackoverflow.com/a/246128 SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" INDIR="$SCRIPTDIR/../data/pubmed/db" OUTDIR="$SCRIPTDIR/../data/pubmed/contents" inpath="$INDIR/pubmed.sqlite" if ...
true
450f8b2f75f18107eb1f046ed047f8bdf24b4867
Shell
FrontEndCoffee/laravel-docker
/build-and-release.sh
UTF-8
1,066
4.0625
4
[]
no_license
#!/bin/bash set -e AUTHOR="uptimeproject" RED='\033[0;31m' GREEN='\033[0;32m' NC='\033[0m' MODE=${1:--local} function print_info { printf $GREEN printf "$1\n" printf $NC } function print_error { printf $RED printf "$1\n" printf $NC } function deploy { CONTEXT=$1 FILE="$1/$2" IMAGE="$AUTHOR/$1" ...
true
6cdb4f168dc43b416aa27abe8d9948c44877e085
Shell
gmasson/nuxtool
/modules/update-dist/help.sh
UTF-8
184
2.78125
3
[ "MIT" ]
permissive
#!/bin/bash case $language in pt-br) echo -e "$green update-dist $fcolor - Atualiza sua distribuição" ;; *) echo -e "$green update-dist $fcolor - Updates its distribution" ;; esac
true
2a84a226a3852738256c677599c5010a5b488b15
Shell
sash2104/loop_exp
/src/preprocessing/convertAllVideo.sh
UTF-8
314
3.078125
3
[]
no_license
#!/bin/bash in_dir="$HOME/loop_exp/data/original/" out_dir="$HOME/loop_exp/data/small/" for video in `ls ${in_dir}*.mp4` do file=${video##*/} ./convertVideoSize.sh ${in_dir}${file} 240 ${out_dir}${file} done for video in `ls ${out_dir}*.mp4` do file=${video##*/} ./video2image.sh ${out_dir}${file} done
true
0240f4312a05283f68b06c5c652b30a3db4aadce
Shell
lemejiamo/holberton-system_engineering-devops
/0x04-loops_conditions_and_parsing/8-for_ls
UTF-8
139
3.359375
3
[]
no_license
#!/usr/bin/env bash # Prints the name of files that have '-' list=$(ls) for i in $list do echo "$i" | cut -d '-' --field=2 done
true
ff226dfb0e52512f53529ac35caefdd74a6d77e8
Shell
b2bdd/custom-site-template
/provision/vvv-init.sh
UTF-8
17,538
3.78125
4
[]
no_license
#!/usr/bin/env bash # Provision WordPress Stable set -eo pipefail echo " * B2BDD site template provisioner ${VVV_SITE_NAME} - downloads and installs a copy of WP stable for testing, building client sites, etc" # fetch the first host as the primary domain. If none is available, generate a default using the site name ...
true
4e89ba9dfd12042cd6da8830033a6dad19fa5edc
Shell
otus-kuber-2019-06/SergeSpinoza_platform
/kubernetes-vault/vault-guides/secrets/database-mysql-gcloud-demo/scripts/install_mysql_ubuntu.sh
UTF-8
669
2.953125
3
[ "MIT" ]
permissive
#!/bin/bash set -e cd /tmp echo "Installing MariaDB MySQL..." sudo apt-get update -y sudo apt-get install -y mariadb-server echo -e "\n[mysqld]\nbind-address=0.0.0.0\nskip-name-resolve=1" | sudo tee -a /etc/mysql/my.cnf # Start MySQL and set root password sudo systemctl start mysql sudo mysqladmin -uroot password '...
true
1292fca8d6bd9527a08f4a447778ff454d154d87
Shell
xeno-by/rsc
/bin/scalafmt
UTF-8
440
3.125
3
[ "Apache-2.0", "BSD-3-Clause", "DOC", "MIT" ]
permissive
#!/usr/bin/env bash VERSION="1.2.0" CACHE="$HOME/.scalafmt" COURSIER="$CACHE/coursier" SCALAFMT="$CACHE/scalafmt-$VERSION" if [ ! -d $CACHE ]; then mkdir -p $CACHE fi if [ ! -f $COURSIER ]; then curl -L -o $COURSIER https://git.io/vgvpD chmod +x $COURSIER fi if [ ! -f $SCALAFMT ]; then $COURSIER bootstrap c...
true
610116c28ea0702ecb20cbd543f9c5be2c37ad94
Shell
canercandan/agat-engine
/resources/admin/variable/create_passwd.sh
UTF-8
511
3.453125
3
[]
no_license
#!/usr/bin/env sh LOGIN=$1 PASSWD=$2 GROUP="agat" HTDIGEST_PATH=$3 passwd_digest= is_login() { if [ "$LOGIN" = "" ]; then exit 0 fi } is_passwd() { if [ "$PASSWD" = "" ]; then exit 0 fi } is_path() { if [ "$HTDIGEST_PATH" = "" ]; then exit 0 fi } passwd_generate() { passwd_digest=$(...
true
c86d2dd8889d25387ee56bf4a754ff2b35f0821f
Shell
trumanz/algorithms
/coin_or/coin_install.sh
UTF-8
335
2.65625
3
[]
no_license
#!/bin/sh DIR_3PP=$(pwd)/3pp DIR_3PP_INSTALL=${DIR_3PP}/install_dir mkdir -p ${DIR_3PP_INSTALL} && cd ${DIR_3PP} \ wget https://www.coin-or.org/download/source/Bcp/Bcp-1.4.3.zip && \ unzip Bcp-1.4.3.zip && cd Bcp-1.4.3 && mkdir build && cd build && ../configure --prefix=${DIR_3PP_INSTALL} && \ make && make test &...
true
0f387d828bc85156ee0b543241f58e128c250f2f
Shell
zInnovationLab/BMzCC
/scripts/jenkins_slave/pull_images.sh
UTF-8
267
2.796875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash read -r -a IMGS <<< $(echo $(curl http://${REGISTRY}:${REGISTRY_PORT}/v2/_catalog |python -m json.tool | grep -o '"'${USR_NAME}'/bluemix.*"' | sed 's/"//g')) for img in "${IMGS[@]}" do # echo "$img" docker pull "${REGISTRY}:${REGISTRY_PORT}/$img" done
true
76827f4b5e28d83ddd301cd585d2651a9c36a881
Shell
hurwitzlab/Centrifuge_Bubble
/config.sh
UTF-8
1,022
3.15625
3
[]
no_license
#!/bin/bash #Establish current working directory export CWD=$PWD #Directory where scripts are located export SCRIPT_DIR="$CWD/scripts" #Centrifuge Database Location export CENT_DB="/rsgrps/bh_class/b_compressed+h+v/b_compressed+h+v" #Directory containing FASTA/Q files (Centrifuge ran on these files) export FASTA_DI...
true
fa8c9d437e71c1ec6adedb86ab9cec9b0f667b26
Shell
ululh/seo_monitor
/grafana_mysql/mysql_scripts/initial_load.sh
UTF-8
303
2.90625
3
[]
no_license
#!/bin/bash PASS=$1 mysql -uroot -p$PASS < /mysql_scripts/create_table_mdr.sql for file in $(ls /var/lib/mysql/CSVs) do sed -e "s/TOTO/$file/" /mysql_scripts/load_csv.sql.template > /mysql_scripts/load_csv.sql cat /mysql_scripts/load_csv.sql mysql -uroot -p$PASS < /mysql_scripts/load_csv.sql done
true
78b2ad648284fdc00e4798def90fb73c2e5a80a1
Shell
zunda/photocan
/etc/usbmount/mount.d/99_copy_photo
UTF-8
628
3.703125
4
[ "LicenseRef-scancode-other-permissive" ]
permissive
#!/bin/sh logger -t photocan $UM_MOUNTPOINT has been mounted mkdir -p /tmp/photocan/backup mkdir -p /tmp/photocan/upload rm -f /tmp/photocan/poweroff.* name=`basename $UM_MOUNTPOINT` echo $UM_MOUNTPOINT > /tmp/photocan/backup/$name logger -t photocan Checking $name for photos to be backed up /usr/local/bin/backup-ph...
true
8d6fcf668c280ccda51b14d74e81047cfc7e4ce1
Shell
gooofy/aqb
/dist.sh
UTF-8
3,894
2.703125
3
[ "MIT" ]
permissive
#!/bin/bash VERSION=0.8.3preview1 WORKDIR=`pwd`/target/m68k-amigaos/dist LHA=${WORKDIR}/aqb-${VERSION}.lha rm -rf ${WORKDIR}/aqb rm -rf ${WORKDIR}/aqb.lha mkdir -p ${WORKDIR}/aqb/lib mkdir -p ${WORKDIR}/aqb/examples mkdir -p ${WORKDIR}/aqb/examples/bench mkdir -p ${WORKDIR}/aqb/examples/demo mkdir -p ${WORKDIR}/aqb/t...
true
24b5b124c438676ab2af89b85a09a321640befc6
Shell
ProjectBarks/STEMClasses
/distribute.sh
UTF-8
3,917
3.921875
4
[]
no_license
#!/bin/sh #Global Variables EXPORT=./export/ TIMESTAMP_SERVER='http://timestamp.digicert.com' UPDATER_FILE='Updater.jar' CORE_FILE='STEMClasses.jar' NOTIFICATION_FILE='libOSXNotification.dylib' #Check if a file exists then copy it to the export directory checkcopy () { if [ -z $1 ] || [ -z $2 ]; then echo...
true
e286f7ae8be1cdb64e5a263bd8b7e86e44ee595a
Shell
igregson/dotfiles
/zshrc
UTF-8
3,848
2.65625
3
[]
no_license
# --------------------------------------------------- # Pure Prompt # source: # https://github.com/sindresorhus/pure#manually fpath=( "$HOME/.zfunctions" $fpath ) autoload -U promptinit && promptinit # pure prompt options PURE_CMD_MAX_EXEC_TIME=10 prompt pure # for better terminal emacs colors export TERM=xterm-256...
true
1bf2b15c1db88907db8705b8785884fc39126d4b
Shell
ho-nl/webcomponents-flag-icon
/svg/convert2PNG
UTF-8
2,127
3.515625
4
[ "MIT" ]
permissive
#!/bin/bash if [ "$2" = "16" ]; then resize="-filter box -resize" width="$2" if [ "$1" == "43" ] || [ "$1" == "32" ] || [ "$1" == "53" ] || [ "$1" == "2" ]; then height="11" elif [ "$1" = "1" ]; then height="$width" fi elif [ "$2" = "36" ]; then resize="-resize" width="$2" if [ "$1" = "43" ]; then height...
true
972bad20028a7cf812c93bfb7a5515e352702e2b
Shell
mbodenhamer/docker-emacs-elpy
/emacs-elpy
UTF-8
891
3.765625
4
[ "MIT" ]
permissive
#!/bin/bash set -e uid=$(id -u) gid=$(id -g) shifts=0 function set_ids { if [[ "$1" == "--uid" || "$1" == "--gid" ]]; then if [[ "$1" == "--uid" ]]; then uid="$2" shifts=$(($shifts + 2)) shift; shift set_ids "$@" return fi if [[ "$1" == "--gid" ]]; then gid="$2" shifts=$(($sh...
true
924f7819d6c5ca0b93cc38e02aa5d9835f4fb2ad
Shell
mahshidgh/data-collection-pipeline
/columbia/scripts/export/export-ssl.sh
UTF-8
1,108
4
4
[]
no_license
#!/bin/bash source constants.sh eval `ssh-agent` ssh-add /home/sanjay/.ssh/sanjay_rsa while true; do for f in $1* do # Get filesize information FILESIZE=$(stat -c%s "$f") echo "Looking at file $f" # Check if filesize is greater than MAX_SSL_FILESIZE if [ $FILESIZE -ge $MAX_SSL_FILESIZE ] then #...
true
46243231dfefe17c35738983a7a3a718126b3140
Shell
mingcheng/ssr-subscriber
/scripts/launcher.sh
UTF-8
1,406
3.734375
4
[]
no_license
#!/usr/bin/env bash ### # File: launch-ssrs.sh # Author: Ming Cheng<mingcheng@outlook.com> # # Created Date: Thursday, August 8th 2019, 3:32:38 pm # Last Modified: Tuesday, April 27th 2021, 7:40:19 pm # # http://www.opensource.org/licenses/MIT ### if [ -z $SSR_SUBSCRIBER ]; then SSR_SUBSCRIBER=http://ssr-subscriber....
true
60ca77dde968abe19d42c1cfb54cbba73d4bc13c
Shell
ucsdscheduleplanner/splanner
/deploy.sh
UTF-8
198
2.6875
3
[]
no_license
#!/bin/bash has_update() { } pull() { } rebuild() { } restart() { } start() { } # first time only deploy() { } cron_job() { if has_update; then pull rebuild restart fi }
true
1e1af272997403eb219e1853a17f62a570a12cf9
Shell
Accacio/dots
/scripts/bin/mpdMenuImage
UTF-8
501
2.75
3
[]
no_license
#!/bin/bash export MPD_HOST="$HOME/.config/mpd/socket" [[ $1 ]] || exit 2 # artists=$(find $1 -maxdepth 2 \( -name "*.jp*g" -o -name "*.png" \) \ # |sort|sxiv -tibof) albumImage=$(find $1 \( -name "*.png" -or -name "*.jp*g" \) \ |sort|sxiv -tibof) [[ $albumImage ]] || exit 2 SAVEIFS=$IFS IFS=$(echo -en "...
true
65aa403e0c00ac6af38e232eb0bd7cecbc17567b
Shell
jmacato/fread-userland
/config/opt/fread/read_config_txt.sh
UTF-8
3,241
4.09375
4
[]
no_license
#!/bin/sh # This script parses the fread.ink settings.txt file CONF_PATH="/mnt/us/fread/config.txt" if [ ! -f "$CONF_PATH" ]; then exit 0 fi OPT_WIFI="disable" OPT_WIFI_IP_METHOD="dhcp" OPT_WIFI_IP_ADDRESS="192.168.15.42" OPT_WIFI_IP_NETMASK="255.255.255.0" # parse each line that looks like "FOO = VAR" into $S...
true
0eb8c37df859dc7fdd6c830d22d5b7b2ae1a03b9
Shell
fretlink/ansible-clever
/scripts/dhall_check.sh
UTF-8
402
3.6875
4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/usr/bin/env bash set -eo pipefail go() { local ERROR=0 while IFS= read -r -d '' file do cd "$(dirname "$file")" || exit echo "Typechecking ${file}" if ! dhall --explain resolve < "$(basename "$file")" >/dev/null; then echo "Failed to resolve $file" ERROR=1 fi; cd - >/dev/null ...
true
7dd204b34beff6b149172e5ae06b4f52abd3b125
Shell
cabaalexander/doom-arch-install
/prompt.sh
UTF-8
3,515
3.96875
4
[]
no_license
#!/bin/bash set -Eeuo pipefail # install 'dialog' (required) if ! command -v dialog &> /dev/null; then sudo pacman --needed --noconfirm -S dialog &> /dev/null fi # Prefix for generated files # ========================== DOOM_PROMPT_REPLY=$(mktemp) trap '{ rm -rf "$DOOM_PROMPT_REPLY" ; }' SIGINT SIGTERM EXIT sd_s...
true
8720a538c23e9d4098f1add7a12f7e067082c77d
Shell
krisfield/meza
/scripts/ElasticSearch.sh
UTF-8
4,047
2.984375
3
[ "MIT" ]
permissive
print_title "Starting script ElasticSearch.sh" # # This script installs everything required to use elasticsearch in MediaWiki # # Dependencies # - PHP compiled with cURL # - Elasticsearch # - JAVA 7+ # - Extension:Elastica # - Extension:CirrusSearch # # Ref: # https://www.mediawiki.org/wiki/Extension:CirrusSearch #...
true
5e7b6d6f088788b04c1d7bd398de767205a9d982
Shell
puddinging/shell_space
/function.sh
UTF-8
253
2.734375
3
[]
no_license
doFunc(){ echo 'this is first func' } doFunc # 带返回值 funcWithReturn(){ echo '带返回值的函数' return '返回值' } echo funcWithReturn # 带参数的函数 funcWithParam(){ echo "$0" echo "$1" } echo funcWithParam 8|
true
1c1d243a2ad5096351ca408a75d0a8fe16b33939
Shell
sycomix/repos
/debian-10-bonescript/version.sh
UTF-8
701
2.6875
3
[]
no_license
#!/bin/bash -e package_name="bonescript" debian_pkg_name="${package_name}" package_version="0.6.3" package_source="${package_name}_${package_version}.orig.tar.gz" src_dir="${package_name}-${package_version}" git_repo="" git_sha="" reprepro_dir="b/${package_name}" dl_path="pool/main/${reprepro_dir}/" debian_version="...
true
9a3c05e202a53350445c059b67194b6e38c832db
Shell
johnjdailey/snowflake-connector-python
/ci/run_travis.sh
UTF-8
1,178
3.375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -e # # Run Travis Tests # # shellcheck disable=SC2034 THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" set -o pipefail if [ "$TRAVIS_OS_NAME" == "osx" ]; then TIMEOUT_CMD=("gtimeout" "-s" "SIGUSR1" "3600s") else TIMEOUT_CMD=("timeout" "-s" "SIGUSR1" "3600s") fi source ./venv/bin/activa...
true
10d5a060694fff22025d8c2ef978018b1999bcdc
Shell
philippwindischhofer/DCGAN
/preprocess_images.sh
UTF-8
729
3.9375
4
[]
no_license
#!/bin/bash CUR_DIR=`pwd` SIZESTRING="32x32" POSARG=() while [[ $# -gt 0 ]] do key=$1 case $key in --in) IN_DIR="$2/" shift shift ;; --out) OUT_DIR="$2/" shift shift ;; *) POSARG+=("$1") shift ;; esac done set -- "${POSARG[@]}" mkdir -p $OUT_DIR PIC_LIST=`l...
true
9fcbed34151bec5aa4962ab89aa43d8ee6f42985
Shell
sdgyxx/CentosShellTools
/shell/funs/getNetWorkName.sh
UTF-8
895
3.359375
3
[]
no_license
#!/bin/bash ############### # Name: 获取网卡名称 # author: ZhangTianJie # email: ztj1993@gmail.com ############### ### 判断安装网络服务 nmcli -v > /dev/null 2>&1 [ $? -ne 0 ] && /data/shell/funs/yumInstallSoftware.sh NetworkManager && [ $? -ne 0 ] && exit 1 ### 启动网络服务 systemctl start NetworkManager.service ### 获取活动的第一个网卡 NetWork...
true
dad80e659c89f5260f118d978d43d8e32aee0880
Shell
DFKI-NLP/eventx
/scripts/random_repeats_sdw.sh
UTF-8
832
2.796875
3
[ "MIT" ]
permissive
# Run 5 random repeats # # edit these variables before running script export CUDA_DEVICE=0 export NUM_EPOCHS=100 export BATCH_SIZE=32 CONFIG_FILE=configs/plass_bert.jsonnet export TRAIN_PATH=data/smartdata-corpus/train/train_sdw_with_events.jsonl export DEV_PATH=data/smartdata-corpus/dev/dev_sdw_with_events.jsonl exp...
true
1a88e5c29b1a58f3f1d2a6a2ab6d883b42766666
Shell
danielgrigg/emacs-hub
/bin/sync
UTF-8
475
3.640625
4
[]
no_license
#!/bin/bash function deleted_bundles { git ls-files -d -- | cut -d'/' -f2 | sort -u } function untracked_bundles { git ls-files --others | while read line; do dirname $line; done | sort -u | grep bundle | cut -d'/' -f2 } for bundle in $(deleted_bundles); do git rm -r bundle/$bundle git commit -qm "Removing p...
true
a442aa8b0a7b6f658dbaa7bca6fd5e9fc6f43fc6
Shell
mwthinker/Scripts
/bash/cmake_replace_sources
UTF-8
1,544
4.34375
4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash if [ "$1" == "-h" ] || [ "$1" == "--help" ]; then echo "Usage: $(basename $0) OPTIONS [keyword='set(SOURCES'] [cmake_file='CMakeLists.txt'] [new_sources] OPTIONS: -h --help show this help -i --interactive ask for permission when modifing and removing files. Replace the source lis...
true
e7bb1e1abc22e41659973d4de687af4d6c47bdbe
Shell
petronny/aur3-mirror
/kscreenlockmgr-git/PKGBUILD
UTF-8
1,172
3.0625
3
[]
no_license
# Maintainer: Alex Merry <dev@randomguy3.me.uk> pkgname=kscreenlockmgr-git pkgver=20110903 pkgrel=1 pkgdesc="A hack to make screen locking work when using Plasma Netbook" arch=(i686 x86_64) url="http://randomguy3.wordpress.com/2011/09/04/screen-locking-with-the-plasma-netbook-interface/" license=('GPL') groups=() depen...
true
17bffae287e33e550f9895103a8e953598bc4c52
Shell
wadaniel/cmairl
/data/createobs.sh
UTF-8
341
3.109375
3
[]
no_license
#!/bin/bash export OMP_NUM_THREADS=4 target=0.0 RUNDIR="./t${target}_base" #RUNDIR="." mkdir $RUNDIR for i in {4..10} do fname=run-vracer-continuous-t${target}-$i.py #fname=run-vracer-$i.py sed "5 a run = $i\ntarget = ${target}" run-vracer.py > "${RUNDIR}/${fname}" pushd . cd $RUNDIR python3 ...
true
3a031e559b9751745284fc95c4c15cfe464ad385
Shell
MoritzFeigl/FSO_mHM
/scripts/02_prepare_env_mHM/submit_mhm_fso_restart.sh
UTF-8
1,760
2.921875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # ---------------------------------------------------------------------- # qsub arguments # ---------------------------------------------------------------------- #$ -N mhm_spinup #$ -S /bin/bash #$ -wd /work/$USER #$ -o /work/$USER/stdout/$JOB_NAME-$JOB_ID-$TASK_ID.log #$ -e /work/$USER/stderr/$JOB_NAME-...
true
6235f38641859d1c3380d325d07df116e94a8b1a
Shell
hixio-mh/node-red-nodes
/hardware/HummingboardGPIO/fixup.sh
UTF-8
633
3.390625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash echo "*********************************************" echo "Moving gpiohb to /usr/local/bin/" if [[ $EUID -ne 0 ]]; then echo "Not running as user root" 2>&1 echo "please run the following commands manually" echo " sudo cp $PWD/gpiohb /usr/local/bin/gpiohb" echo " sudo chmod 4755 /usr/...
true
dad33e58fec9435333c1e51e961e5e6387caa01f
Shell
ryz/blynks-zsh-theme
/blynks.zsh-theme
UTF-8
1,373
3.109375
3
[]
no_license
# blynks, a modified blinks zsh 'theme' # # https://github.com/ryz/blynks-zsh-theme function _prompt_char() { if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then echo "%{%F{blue}%}±" else echo ' ' fi } # This theme works with both the "dark" and "light" variants of the # Solarized color sche...
true
78f99335a1b0487aeb78d0f07ec2534896783959
Shell
ThomasVitale/spring-tutorials
/spring-boot-multitenancy-schema/db/init/db_init.sh
UTF-8
286
2.609375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -euo pipefail which psql > /dev/null || (echoerr "The PostgreSQL client is not in your PATH" && exit 1) export PGPASSWORD=secret_password psql -U james_bond -d secret_database -h localhost -f schema.sql psql -U james_bond -d secret_database -h localhost -f data.sql
true
3c922272837bd57d8db48cafa15c1799ef3ba479
Shell
vishisth29/app_demo
/utils/start.sh
UTF-8
208
2.515625
3
[]
no_license
#!/usr/bin/env bash set -x echo 'Current directory' ${PWD} chmod +x ./utils/build-base-images.sh; ./utils/build-base-images.sh; # docker compose command comes here docker-compose config docker-compose up
true
a6cafd09bfc1ce845fdb334614d7118ba6b32fea
Shell
facloud/todo
/hack/compile-proto
UTF-8
1,469
3.84375
4
[]
no_license
#!/bin/bash # vim: ft=sh set -e ROOT_DIR=$(cd $(dirname $BASH_SOURCE)/..; pwd) check_image() { if ! docker images | grep protoc_image > /dev/null; then $ROOT_DIR/hack/build/protoc/build else echo '[DEBUG] `protoc_image` Docker image was found.' fi } get_rand() { cat /dev/urandom | tr -dc 'a-zA-Z0-9' ...
true
48385292b9c213fbff7dd65a751ecb276e9d8343
Shell
jhaoheng/redmine
/worker/entrypoint.sh
UTF-8
549
3.4375
3
[]
no_license
#!/bin/bash # set base path DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" # environment env | grep HowManayTimeToBackup if [ "$HowManayTimeToBackup" = "" ]; then HowManayTimeToBackup="0 */4 * * *" fi # wait database is running sleep 60s # run first backup bash $DIR/task.sh # crontab ## gene...
true
263ef01f7807d9325f13204b22f8ce7e996d38d4
Shell
iij/mruby
/test/posix/all.sh
UTF-8
553
3.609375
4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/sh D=`dirname $0` result="" retval=0 list=`cd ${D}; ls -1 *.sh | grep -v all.sh` for t in $list; do echo "###################################" echo "# exec test/posix/${t}; start..." sh -c "cd $D; sh $t" ret=$? retval=`expr $retval + $ret` if [ $ret -ne 0 ]; then result="${result} ${t}" fi echo don...
true
2fe556d031c48b6dd37e9e387f02b06beb85806e
Shell
mrgplolek/SystemyOperacyjne2
/lab2/zad1.sh
UTF-8
1,064
3.515625
4
[]
no_license
#!/bin/bash -eu JEDYNECZKA=${1} DWOJECZKA=${2} echo -e "Wpisales ${JEDYNECZKA} oraz ${DWOJECZKA} \n" #gdy, któraś ze ścieżek wyrzuci błąd to tutaj się on pojawi PLIKI_W_JEDYNECZCE=$(ls ${JEDYNECZKA}) for PLIK in $PLIKI_W_JEDYNECZCE do if [[ -d "${JEDYNECZKA}/${PLIK}" ]]; then #flaga -d czyli plik istnieje i je...
true
b1989943d1313289fb07f7a7e6018220010b93aa
Shell
lgsanjos/dot_files
/func/jump
UTF-8
1,738
3.375
3
[]
no_license
#!/usr/bin/env bash JUMP_STORAGE="$HOME/.jumplist" JUMP_STORAGE_TMP="/tmp/jumplisttmp" JUMP_STORAGE_BOOKMARK="$HOME/.jumpbookmark" touch "$JUMP_STORAGE" __add_current_dir_to_jump () { local dir="$(pwd -P)/" local found="$(egrep -m 1 "$dir\$" "$JUMP_STORAGE")" [ "$found" == "" ] && echo "0|$dir" >> "$JUMP_ST...
true
ca61d7390f63525d9a11dcff5c6f1753ecf213e2
Shell
antonyfg/My_config_files
/.local/bin/XMYAY
UTF-8
954
2.828125
3
[ "WTFPL" ]
permissive
#!/usr/bin/env zsh # Author - Haron Prime # License WTFPL http://www.wtfpl.net/ if [[ -z $(pgrep yay) ]]; then urxvtc -name update -e yay -Syu && while [[ -n $(pgrep yay) ]]; do sleep 1 done # XMMWC & UPD=`checkupdates | wc -l` if [[ $UPD -eq 0 ]]; then echo $UPD > /tmp/haron/...
true
c3e89fefe2c035feb3fd031439215f6c2973bf41
Shell
Homebrew/ruby-macho
/test/src/make-inconsistent.sh
UTF-8
1,171
4.0625
4
[ "APSL-2.0", "MIT", "Apache-2.0", "Ruby", "NCSA", "LLVM-exception" ]
permissive
#!/usr/bin/env bash main() { local use_dir for use_dir in "${@}"; do # we only want to build libinconsistent.dylib as a fat mach-o [[ "${use_dir}" = fat* ]] || continue inconsistent_for "${use_dir}" done } inconsistent_for() { # splits a fat directory spec like fat-i386-x86_64 into # its consti...
true
b306a717ba322047d062adead29e8417cd424504
Shell
JMichaelStringer/first
/AzureML-NeMo/setup_data.sh
UTF-8
1,763
3.0625
3
[]
no_license
#!/bin/bash clear MYPWD=${PWD} echo $MYPWD DATA_DIR='DATA_DIR' # rm -rf $DATA_DIR Use bash cleanse.sh instead NER_DATA_DIR=$DATA_DIR/NER GLUE_DATA_DIR=$DATA_DIR/glue_data # pip install wget python create_data.py --data_dir=$DATA_DIR cd $DATA_DIR/ python download_glue_data.py cd $MYPWD mv $DATA_DIR/NER/devel.tsv ...
true
b2129510c4f7fedf4539f8e16123b58d6be63c66
Shell
manuel-freire/wp2-demo
/go.sh
UTF-8
10,296
3.671875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash ####### # This file contains instructions to build the demo environment # from source # # - as root, # - within a bare Ubuntu 14.04 docker image # # 1. To launch into the bare image, use # sudo docker run -p 3000:3000 -p 3350:3350 -p 3111:3111 -p 8080:8080 -it ubuntu:14.04 /bin/bash # # 2. Copy an...
true
1c1a6704491c577b0fadb9d8cc00ee2566fa48c1
Shell
Cloudxtreme/activity.sh
/activity.sh
UTF-8
26,985
3.796875
4
[ "MIT" ]
permissive
#!/bin/bash # Author: Arijit Basu # Email: sayanarijit@gmail.com # Documentation: https://sayanarijit.github.io/activity.sh # set -x # For debugging # Menu with function declarations ---------------------------------------------- declare -A MENU MENU[a]="ping-check" MENU[b]="ssh-check" MENU[c]="c...
true