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
fd6a86d7bbd499bb4b87b5df3aada2e2ca9d24dd
Shell
riga/cms-bot
/cvmfs/cvmfsdirtab.sh
UTF-8
825
2.515625
3
[]
no_license
#!/bin/bash #Shared files for cmsdir in $@ ; do echo "/${cmsdir}/share" for x in cms/data-L1Trigger-L1TMuon cms/data-GeneratorInterface-EvtGenInterface 'cms/data-MagneticField-Interpolation/*' ; do echo "/${cmsdir}/share/${x}" done #cmssw externals echo "/${cmsdir}/*_*_*/external/*" for x in blackhat b...
true
b1965ab0aa0a552ba43736de00a7232b96dbe627
Shell
Bopzor/sib
/sib.sh
UTF-8
1,173
4.03125
4
[]
no_license
#!/bin/bash if [ $# -eq 0 ] then echo "This script need a video file to read" echo -e "\nUsage:\nsib FILE \n" exit 1 fi # trap ctrl-c and call ctrl_c() trap ctrl_c INT SIB_SESSION="sib-session" file="$1" dirname=$(dirname "$file") filename=$(basename "$file") name="${filename%.*}" pathname="$PWD/$dirna...
true
82d62f09543d64b187ace8cc0b317e7f35dd1259
Shell
FSMaxB/lfs-me-repos
/7.6-systemd/XML-Parser-2.42_01
UTF-8
498
2.875
3
[]
no_license
pkgbuild_version=5 pkgname=XML-Parser pkgver=2.42_01 dependencies=( "!$pkgname" 'expat' 'perl' ) sources=( "http://cpan.metacpan.org/authors/id/T/TO/TODDR/${pkgname}-${pkgver}.tar.gz" ) sha1sums=( 2fd519619aa47c8c330365358c6783f4e5ed916c ) lfs_me_prepare() { tar -xf "${sources_dir}/${pkgname}-${pkgver}.tar....
true
ea00934d6eeca68dc7ab53b00913a66565b0eb9f
Shell
VinsUni/sdp-cytoscape3
/scripts/deploy.sh
UTF-8
275
2.84375
3
[]
no_license
#!/usr/bin/env bash DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"/../ cd "${DIR}" || exit 1 . env.sh || exit 1 for app in `find "$DEV_APPS_DIR" -mindepth 1 -maxdepth 1 -type d`; do env -i DEV_CY3_BUNDLE_DIR="$DEV_CY3_BUNDLE_DIR" bash "$app/scripts/deploy.sh" done
true
d63715575086f492a4d742f9da1e343f10685769
Shell
redshirtrob/binfiles
/dual-monitor.sh
UTF-8
347
3.109375
3
[]
no_license
#!/bin/bash # # Move workspaces to HDMI-2 # # usage: dual-monitor.sh xrandr --output eDP-1 --auto --output HDMI-2 --auto --right-of eDP-1 workspaces=$(i3-msg -t get_workspaces | jq '.[] | select(.output == "HDMI-2") | .num' | tr '\n' ' ') for workspace in $workspaces do i3-msg "workspace $workspace, move workspa...
true
ada053c639d4d5a0cd36345604bd5695903769d5
Shell
JulianGoeltz/myConfigFiles
/toolbox/lockAlt.sh
UTF-8
526
2.859375
3
[]
no_license
#!/bin/bash # set -euo pipefail # pausing dunst to not show notifs on lock screen state_of_dunst=$(dunstctl is-paused) dunstctl set-paused true xrandr --output DP2-2 --mode 1920x1080 --same-as eDP1 /usr/bin/google-chrome-stable "/home/julgoe/Documents/apple_update_screen/macOSUpdates.html" --proxy-server="foopy:99...
true
21b36b4a9689b58e0481a1e694b345525d26c4f0
Shell
Karkanius/MIECT
/Ano_2/LFA/antlr4-bin-v5/bin/antlr4
UTF-8
197
2.859375
3
[ "MIT" ]
permissive
#!/bin/bash if [ -z "$ANTLR4_PATH" ]; then java -ea org.antlr.v4.Tool $* else java -ea -cp .:`ls --color=never $ANTLR4_PATH/antlr-4*-complete.jar | tail -1` org.antlr.v4.Tool $* fi exit $?
true
02204980ff3b3060a17f6abd2365b39ca70bf2e4
Shell
strayfluxinteractive/strayflux
/tools/dependencies.sh
UTF-8
874
3.125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # Exit immediately if a command exits with a non-zero status set -e # Print commands and their arguments as they are executed. set -x # Bii code wget http://apt.biicode.com/install.sh && chmod +x install.sh && ./install.sh rm install.sh # G++ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y...
true
2d8af30f61692626d34f499960db12be19eb9e26
Shell
xzpeter/small-stuffs
/e
UTF-8
635
3.703125
4
[]
no_license
#!/bin/bash # we have to use sed working both on Mac OS and Linux. if uname | grep -qiE 'darwin|freebsd'; then # this is MacOS sed_prm=-E elif uname | grep -qi linux; then sed_prm=-r else echo "Unknown system!" exit 1 fi # we should support things like: # $ e file.c:14 # this should edit file.c with line 14 prms...
true
9434132b7ae27a0f77d50c0e571b113d84c95e11
Shell
8688Add/OpenWrt-CI
/x86/myautocore/files/x86/autocore
UTF-8
1,272
2.75
3
[]
permissive
#!/bin/sh /etc/rc.common # Copyright (C) 2017 lean <coolsnowwolf@gmail.com> START=99 start() { rfc=4096 cc=$(grep -c processor /proc/cpuinfo) rsfe=$(echo $cc*$rfc | bc) sysctl -w net.core.rps_sock_flow_entries=$rsfe >/dev/null for fileRps in $(ls /sys/class/net/eth*/queues/rx-*/rps_cpus) do echo $cc > $fileRp...
true
776cc6c476a5bc78fc952cd6b3c6c13d513085d8
Shell
xenserver/planex-release
/build.sh
UTF-8
955
3.171875
3
[]
no_license
#!/usr/bin/env bash set -xe build_release() { DIST_NAME=$1 DIST_VERSION=$2 RELEASE_TYPE=$3 sed -e "s/@RELEASE_TYPE@/${RELEASE_TYPE}/g" SPECS/planex-release.spec.in > SPECS/planex-${RELEASE_TYPE}.spec sed -e "s/@DIST@/${DIST_NAME}/g" -e "s/@DIST_VERSION@/${DIST_VERSION}/g" -e "s/@RELEASE_TYPE@/${RELEAS...
true
cd7a1175c1fec81ca041189dead5e7fede110e49
Shell
DEVPARMAR06/lucifer
/DBMS.sh
UTF-8
7,108
3.171875
3
[ "Apache-2.0" ]
permissive
echo "--> DBMS Functions <--" while [ true ] do echo "\n1.View All \n2.Insert \n3.Search \n4.Delete \n5.Update \n6.Sort \n7.Exit" echo "Enter Choice: " read c while [ -z $c ] do "Enter Choice: " read c done #----------------------------------------------------------------------- if [ $c -eq 1 ] then cat pr-8ans #--...
true
7d1867505fbb72d9d2381255959399d60e30205a
Shell
rapidsai/dask-cudf
/ci/release/update-version.sh
UTF-8
1,500
4.25
4
[ "Apache-2.0" ]
permissive
#!/bin/bash ############################# # dask-cudf Version Updater # ############################# ## Usage # bash update-version.sh <type> # where <type> is either `major`, `minor`, `patch` set -e # Grab argument for release type RELEASE_TYPE=$1 # Get current version and calculate next versions CURRENT_TAG=...
true
31f8d415a79dcd01c2190bea98d98ff1d462a699
Shell
hakoerber/wine-scripts
/splinter-cell-chaos-theory/scripts/start.bash
UTF-8
355
2.546875
3
[]
no_license
#!/usr/bin/env bash source "$(dirname $0)/../../common/settings.bash" source "$(dirname $0)/info.bash" export INFOFILE="$(dirname $0)/info.bash" export EXECPATH="drive_c/Program Files/Ubisoft/Tom Clancy's Splinter Cell Chaos Theory/System/splintercell3.exe" export OPTIONS="explorer /desktop=d1,1920x1080" "$STARTSCRI...
true
fde0eb3a45b3d6aa87484889e7ee886b3d59b84f
Shell
deepaksrivastav/promote-to
/build.sh
UTF-8
843
3.484375
3
[]
no_license
#!/bin/bash set -o pipefail IFS=$'\n\t' DOCKER_SOCKET=/var/run/docker.sock if [ ! -e "${DOCKER_SOCKET}" ]; then echo "Docker socket missing at ${DOCKER_SOCKET}" exit 1 fi if [ -n "${SOURCE_IMAGE}" ]; then SOURCE_TAG="${SOURCE_REGISTRY}/${SOURCE_IMAGE}" fi if [ -n "${TARGET_IMAGE}" ]; then TARGET_TAG="${TAR...
true
7a93d65a6295a6678c396c7fac5ee4fcc937e191
Shell
rokerkony/angular-critical-ie11-bug
/scripts/serveDistLocallyNotMinified.sh
UTF-8
521
3.359375
3
[]
no_license
#!/bin/bash set -e _NAME="serve locally:" ## make sure you have clean exit for npm run and CI echo "$_NAME checking script dependencies" SCRIPTNAME=${0##*/} NPM=$(command -v npm) || { echo "$_NAME $SCRIPTNAME: npm is not available"; exit 1; } echo "$_NAME building a project" ${NPM} run build:notMinified rm -rf _loca...
true
1e83adfafda244f322c704a52223555d0896a551
Shell
bOmBeLq/symfony-demo
/docker.sh
UTF-8
148
2.953125
3
[]
no_license
#!/usr/bin/env bash if [[ -z "$@" ]] ; then TO_EXEC='bash'; else TO_EXEC=$@; fi docker exec -it -u symfony-demo symfony-demo-php ${TO_EXEC}
true
e55620f09de9987df1e82273afcfd56e668e2f50
Shell
benkelly/dev-environment
/config_server.sh
UTF-8
3,075
3.90625
4
[]
no_license
#!/bin/bash function fix_disk { echo "Arranging data disk" echo "Un mounting data disk" umount /dev/sdb1 echo "Wiping diskk" dd if=/dev/zero of=/dev/sdb bs=1024 count=8096 echo "Creating partition table" parted -s /dev/sdb mktable gpt echo "Creating partition" parted -...
true
ce630ad05b86e6302bcc86eb72e88adc33a3a69e
Shell
JRasmusBm/dotfiles
/layouts/home
UTF-8
140
2.828125
3
[]
no_license
#!/bin/sh set -e _layout() { if test "$1" = 'supported'; then xrandr | ggrep -q 'HDMI-1 connected' exit $? fi } _layout "$@"
true
1c766075396003331306f877af47833d31afa405
Shell
boklm/mageia-puppet
/modules/buildsystem/templates/binrepo/wrapper.upload-bin
UTF-8
586
3
3
[ "BSD-3-Clause" ]
permissive
#!/bin/sh binrepouser="<%= scope.lookupvar('buildsystem::var::binrepo::login') %>" uploadbinpath="<%= scope.lookupvar('buildsystem::var::binrepo::uploadbinpath') %>" packagerscommittersgroup="<%= scope.lookupvar('buildsystem::var::groups::packagers_committers') %>" function isingroup() { grp="$1" for group in `gr...
true
fc8bb1f0123076632a4e1807f8df09677f4c2dc8
Shell
DanHam/packer-testing
/vmware/iso/centos/scripts/00-remove-extraneous-packages.sh
UTF-8
1,573
3.640625
4
[]
no_license
#!/usr/bin/env bash # # Remove extraneous packages installed by Anaconda # # Set verbose/quiet output based on env var configured in Packer template [[ "$DEBUG" = true ]] && REDIRECT="/dev/stdout" || REDIRECT="/dev/null" # Logging for Packer echo "Removing extraneous packages installed by Anaconda..." # The following...
true
0157192e1192764c475d4b1b3e76815efa8625d7
Shell
particleman314/ShellLibrary
/test/stringmgt/repeat.sh
UTF-8
300
2.75
3
[ "MIT" ]
permissive
#!/usr/bin/env bash answer=$( repeat ) assert_failure $? answer=$( repeat --repeat-char '|' ) assert_failure $? answer=$( repeat --repeat-char '+' --number-times 0 ) assert_failure $? answer=$( repeat --repeat-char '+' --number-times 10 ) assert_success $? assert_equals '++++++++++' "${answer}"
true
1b0d65fed554623bba0830cd77737efb078d0019
Shell
id774/scripts
/installer/install_django.sh
UTF-8
1,815
3.71875
4
[]
no_license
#!/bin/sh # ######################################################################## # Install Django # $1 = python path # $2 = django version # $3 = django minor version # $4 = not save to src # $5 = nosudo # # Maintainer: id774 <idnanashi@gmail.com> # # v2.0 10/24,2013 # Install for stable version. # v1...
true
2866027eabc2ce23aa46d622ed5f60447335d734
Shell
weilaidb/PythonExample
/regularexpress/home/weilaidb/software/git-2.0.5/t/t6002-rev-list-bisect.sh
UTF-8
3,500
2.640625
3
[]
no_license
#!/bin/sh # # Copyright (c) 2005 Jon Seymour # test_description='Tests git rev-list --bisect functionality' . ./test-lib.sh . "$TEST_DIRECTORY"/lib-t6000.sh # t6xxx specific functions # usage: test_bisection max-diff bisect-option head ^prune... # # e.g. test_bisection 1 --bisect l1 ^l0 # test_bisection_diff() date >pa...
true
3a19efb4ee8079f613b0b5675d72691d51b17f23
Shell
themonki/recipes-deploy-vagrant
/trabajoGrado/Prototipe/PrototipeGTKInterface/scripts/cancel-job.sh
UTF-8
736
3.640625
4
[]
no_license
#!/bin/bash # -*- mode: sh -*- # vi: set ft=sh : ##Script que cancela un job dado su contact USER_PASS="" STRING_CONTACT="" export PATH_PROXY_VALIDACION=$PWD_PROTOTIPEGTK_SCRIPTS/proxyValidacion.sh file_exists() { FILE=$1 if [ -e $FILE ]; then return 0; else return 1; fi } function print_error { ...
true
ae6020e986e34eda111fed75a94c95d61333af67
Shell
alejandro2014/recipes
/generate
UTF-8
112
2.59375
3
[]
no_license
#!/bin/bash for recipe in `ls *.md | cut -f 1 -d "."`; do pandoc ${recipe}.md -s -o ./html/${recipe}.html done
true
2d0d6d6672ee4fd1757791a3b417f943459b80aa
Shell
global-121/121-platform
/tools/git-hooks/pre-commit
UTF-8
1,497
3.203125
3
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
#!/usr/bin/env bash # # git hook to run a command before actually committing when running `git commit`: # check_if_need_to_lint() { if git diff --cached --name-only | grep --quiet "$1*" then cd "$(git rev-parse --show-toplevel)" || exit npm run lint --if-present --prefix "$1" fi } # Include all packages...
true
f0f1658a706a4fb84dccf9cb6e81a37a7783eb1d
Shell
wruibo/tools
/shell/line_counter.sh
UTF-8
611
4.0625
4
[]
no_license
#!/bin/sh usage=" Usage:\n \t$0 <path> <name> <limit>\n count the line number of files match <name> in the <path> which line number less than <limit>" if [ $# -lt 2 ] then echo $usage exit 0 fi path=$1 name=$2 limit=10000 if [ $# -gt 2 ] then limit=$3 fi echo $limit echo "counting the line number of file $name...
true
ac958135e32dbae539f067b83fe259d64d455de5
Shell
Duanzuning/Test
/gensim.sh
UTF-8
1,566
3.15625
3
[]
no_license
#!/bin/bash for((i=29;i>=29;i--));do run_date=`date +%Y-%m-%d --date="-${i} day"` rundate=`date +%Y%m%d --date="-${i} day"` day=`date +%d --date="-${i} day"` month=`date +%m --date="-${i} day"` week_day=`date +%w --date="-${i} day"` week_number=`date +%W --date="-${i} day"` week=`date +%W --date="-${i} day"` corpusd...
true
833415ab90a491c7bc1b7777b83649d9b2e6a62a
Shell
jingapore/command_line_scripting
/getopts.sh
UTF-8
1,360
3.84375
4
[]
no_license
while getopts :h opt; do case ${opt} in h) echo "Usage:" echo " pip -h" echo " pip install <package>" exit 0 ;; \?) echo "Invalid Option: -$OPTARG" exit 1 ;; # a) # echo "Now at opti...
true
123c77a8d87fc2d97ea9798ab3ef2dcf6f490212
Shell
J-U-B/OPSI-dotnet-check
/OPSI/postinst
UTF-8
2,518
3.859375
4
[]
no_license
#! /bin/bash #===================================================================== # postinst script # This script executes after unpacking files from that archive and registering the product at the depot. # # The following environment variables can be used to obtain information about the current installation: # PRO...
true
563b91d9d58e855856d6c051cda0f2372f07c514
Shell
htown101/Networking
/fizzbuzzpt2
UTF-8
404
3.640625
4
[]
no_license
#!/bin/bash # program: Fizzbuzz part 2 # Heather McMillen # Date of last revision: 3/3/2013 num=1 value=0 echo -n "Enter a number > " read value while [ $num -lt $value ] do if [ $(($num % 3)) -eq "0" ]; then echo "fizz" elif [ $(($num % 5)) -eq "0" ]; then echo "buzz" elif [ $(($num % 3)) -eq "0" -a $(($nu...
true
8f7508b1ea89e7bb023fafecb385e6f60f601fe3
Shell
RedHatGov/redhatgov.workshops
/container_security/files/nodes/registry-files/gen-certs/gen-cert.sh
UTF-8
787
3.265625
3
[]
no_license
#!/bin/bash # # Edit myserver.cnf and set the FQDN and ORGNAME variables to reflect your system then run this script. # if [ -f /home/ec2-user/files/cert.pem -a -f /home/ec2-user/files/key.pem ]; then echo "Using existing certificate and key from '/home/ec2-user/files'." cp /home/ec2-user/files/cert.pem myserver.cer...
true
070ec6dd2643af05ba62b03f3375bbd16dd588b5
Shell
willghatch/dotfileswgh
/commands/racket-dev-environment.sh
UTF-8
467
2.953125
3
[]
no_license
#!/bin/sh NIXFILE=$DOTFILESWGH/nixos/racket/racket-env.nix if test "$1" = "fhs"; then NIXFILE=$DOTFILESWGH/nixos/racket/racket-fhs-env.nix fi if test -f /etc/NIXOS; then exec nix-shell $NIXFILE --pure \ --keep CURRENT_DEV_PATH \ --keep CURRENT_DEV_MODE \ --keep EMACS_DOT_D_PATH \ ...
true
30cc6a70ba76fca79fa51aefddc294c3d4290136
Shell
meedan/alegre
/postgres/shared-sync.sh
UTF-8
168
3.296875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e SRC=${SRC:-/opt/shared} DEST=${DEST:-/usr/share/postgresql/$PG_MAJOR} if [ -e $SRC/* ] ; then echo "Sync $SRC.." cp -rf $SRC/* $DEST fi
true
8877c76803389dac4e826ee02f5f5190221d6fe4
Shell
ilaaridh/Kaldi-for-ASR-of-Swiss-German
/archimob/extract_audio.sh
UTF-8
1,732
4.4375
4
[]
no_license
#!/bin/bash # This script extracts the audio from a set of input videos, and converts it # to one channel linear pcm, 16 bits, 8KHz. # # Input: # 1.- input_dir: folder to take the input videos. Note that only the files # with .mp4 extension will be processed. Change $INPUT_EXTENSION below to # consider ot...
true
90cc13a0be8bd45be97d1f8b0a58fae84ac5aef5
Shell
Raidenkyu/FEUP-SSIM
/bin/optimize
UTF-8
160
2.703125
3
[]
no_license
#!/bin/sh if [ $# -ne "1" ]; then echo "Error: Number of steps missing." echo "Usage: bin/train <integer>" exit 0 fi python3 src/optimizer.py auto "$1"
true
2f39f8a035148c878847855a333899d94e8b8701
Shell
krailis/hackerrank-solutions
/Linux_Shell/Bash/Arithmetic_Operations.sh
UTF-8
144
2.703125
3
[]
no_license
#!/bin/bash read X #Y=$(echo "scale=3;$X" | bc) #echo "$Y" #echo $(printf %.$3f $(echo "scale=3;$X" | bc)) printf "%.3f\n" "$(bc -l <<< "$X")"
true
7ebaecb14cf5e3471d44aad891af7495b6a46cbc
Shell
DadaIsCrazy/languages-perfs
/src/primes.sh
UTF-8
431
3.65625
4
[]
no_license
#!/bin/bash MAX=$1; nums=() # 0 and 1 are not primes nums[0]=1 nums[1]=1 # Computing prime numbers for (( i=2; i <= $(bc <<< "sqrt($MAX)"); ++i )) do if [ ! ${nums[$i]} ] then for (( j=i*i; j < MAX; j+=i )) do nums[$j]=1 done fi done # Counting prime numbers total=0 ...
true
664fc29ad22e2bf8fd9446deb97a3355a188df23
Shell
cripton666/evilatack
/wifiatack.sh
UTF-8
9,017
2.703125
3
[]
no_license
#!/bin/bash #creador del script jaime manquel(cripton666) #Derechos reservados de autor #Codigo personal se puede copiar pero dejar credito #herramienta dedicada para poder crear diccionario personalizado y normal #y realizar el hackeo automatizado #Esta herramienta cuenta con la herramienta CUPP que nos permi...
true
119529d1870ba03af6518c230119c81088584152
Shell
davidomelettes/flatland
/scripts/db_init.sh
UTF-8
210
2.765625
3
[]
no_license
#!/bin/bash echo "--INITIALSING DATABASE..." PGOPTIONS='--client-min-messages=warning' psql -v ON_ERROR_STOP=1 -q -d flatland -f db_init.sql if [ "$?" -ne "0" ]; then exit 1 fi echo "--DATABASE INITIALISED"
true
88a7ef0d51bc374e75a8ae3a2a3214cc4a206cb6
Shell
majidmvulle/internations-exercise
/build.sh
UTF-8
358
2.859375
3
[]
no_license
#!/usr/bin/env bash env="$1" if [[ "$env" == "" ]]; then env="prod" fi echo "" echo "Running composer" composer install echo "" echo "Building Front End" yarn install yarn run build --$env echo "" echo "Generating database" bin/console doctrine:database:create echo "" echo "Running migrations" echo "y" | bin...
true
b32b90e277b3671bbf4e6c413f771889adfda830
Shell
madumlao/nenv-binstubs
/etc/nenv.d/which/nenv-binstubs.bash
UTF-8
923
3.5
4
[ "MIT" ]
permissive
#!/usr/bin/env bash check_for_binstubs() { local root local binpath local modules_binpath root="$PWD" binpath='bin' modules_binpath='node_modules/.bin' while [ -n "$root" ]; do if [ -f "$root/package.json" ] || [ -f "$root/package-lock.json" ]; then potential_path="$root/$modules_binpath/$NENV_...
true
d462fa8a9fa42aa9ca58517fe298fe467c999856
Shell
e-fujiyuki/dotfiles
/init.sh
UTF-8
4,109
3.953125
4
[]
no_license
#!/usr/bin/env bash # functions exists() { command -v "$1" > /dev/null 2>&1 } ask() { printf "$* [y/N] " local answer read answer case $answer in "yes" ) return 0 ;; "y" ) return 0 ;; * ) return 1 ;; esac } # default ## git directory if [ ! -d ${HOME}/git ]; then echo $(tput set...
true
f2330d0ea9c0400b1442e5add3085c21882311f2
Shell
Niharika2404/BasicShellScript
/folderexist/checkfolder.sh
UTF-8
115
3.421875
3
[]
no_license
#!/bin/bash -x dir=$1 if [ -d $dir ]; then echo "folder exist"; else mkdir -p $dir; echo "folder created"; fi
true
130d7041bc19383c7f4aff6a5f5e97651e305a13
Shell
jordykoppen/dotfiles
/wallpapers/scripts/random
UTF-8
189
2.578125
3
[]
no_license
#!/bin/sh WALLPAPER=$(ls $DOTFILES/wallpapers/images/* | shuf -n 1) ln -sf -v $WALLPAPER $DOTFILES/wallpapers/current >> /dev/null feh --bg-fill $DOTFILES/wallpapers/current >> /dev/null
true
843ae9fba1271e28019041ac88aa57b90b59d191
Shell
Mierdin/devstack-odl
/tools/upload_image.sh
UTF-8
1,029
4.03125
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # upload_image.sh - Retrieve and upload an image into Glance # # upload_image.sh <image-url> # # Assumes credentials are set via OS_* environment variables function usage { echo "$0 - Retrieve and upload an image into Glance" echo "" echo "Usage: $0 <image-url> [...]" echo "" ec...
true
0473098e8ef8be9bc1d1cf994f2e00bbc37342a0
Shell
mzky/Linux-note
/资源/linux面授/脚本/while9and9.sh
UTF-8
204
2.90625
3
[]
no_license
#!/bin/bash #description Input 9*9 #version 0.1 #author gaomeng #date 20160816 i=1 while [ $i -le 9 ] ; do j=1 while [ $j -le $i ] ; do echo -ne "$j*$i=$[$j*$i]\t" let j++ done echo let i++ done
true
2e0e9fbedcf9dd6ad268c077cb3b7c6f60588b52
Shell
pradeepkarnam/Shell_Scripting
/checkfile.sh
UTF-8
102
3.15625
3
[]
no_license
#!/bin/bash read file if [ -s $file ] then echo "file is not empty" else echo "file is empty" fi
true
426eb5a3b89970d8e60c8ad2bf039385b7616814
Shell
JabinHao/vasp-py
/input/convergence.sh
UTF-8
878
3.765625
4
[]
no_license
#! /usr/bin/env bash # this script is used to make sure if the task has converged # Folders should be named in numerical order # To use it: convergence.sh N,note that N is the number of your tasks test -d ./1 || (echo "dir not exist" && exit 1) echo -e "\n" echo -e "===================================================...
true
ce499ba17af87b530b3aa88d3248b485d211e927
Shell
Bugswriter/baph
/baph
UTF-8
9,767
4.1875
4
[]
no_license
#!/bin/bash # simple package installs typeset -r AUR='https://aur.archlinux.org' typeset -r BUILDDIR="$HOME/.cache/aur_builds" typeset -a PACPKGS=() typeset -a AURPKGS=() typeset -A DESC=([s]='search' [u]='update' [i]='install') typeset -A OPTS=([s]='RUN=search' [u]='RUN=update' [i]='RUN=installp' [n]='NOVIEW=--novie...
true
88211a70a0a9e4a1f630044e031456fb29e4117d
Shell
RailsonPFrazao/lista11
/questao1.sh
UTF-8
476
3.609375
4
[]
no_license
#!/bin/bash read -p "Escolha o arquivo a ser alterado:" arq read -p "Escolha entre as opções a- remove todas as letras do arquivo, b- remove todos os digitos do arquivo, c- remove todos os carcteres que não são nem letras nem dígitos de um arquivo:" op [ "$op" = "a" ] && val=$(sed 's/[a-zA-Z]//g' $arq) && echo $val ...
true
561bf767d017c971daa251fed4bbdd0025f08142
Shell
vaishnavisirsat/Day5
/Arithmetic.sh
UTF-8
327
3.375
3
[]
no_license
#!/bin/bash -x read -p "Enter first number : " a read -p "Enter second number : " b read -p "Enter third number : " c result=$(($a+$b*$c)) echo "a + b * c :$result" result=$(($c + $a / $b)) echo "c + a / b : $result" result=$(($a % $b + $c)) echo "a % b + c : $result" result=$(($a * $b + $c)) echo "a + b + c : $r...
true
08df237c392c42ee0be5a5d00c75175f1be6dc66
Shell
JanusL/nlp-project
/preprocess.sh
UTF-8
2,841
2.8125
3
[]
no_license
#!/bin/bash echo "Tokenizing testset...." python scripts/cleanup.py --input data/nlp/asistent_testset.en --output data/nlp/src-test-clean.txt & \ python scripts/cleanup.py --input data/nlp/asistent_testset.sl --output data/nlp/tgt-test-clean.txt python scripts/bert_tokenize.py --input data/nlp/src-test-clean.txt --o...
true
99faf7ea9f6f98337097eae3956e85f205a81fae
Shell
flw-cn/shell-profiles
/install.sh
UTF-8
2,395
3.25
3
[]
no_license
#!/usr/bin/env bash # vim: set fdm=marker: REPO_PATH=~/.flw-shell-profiles REPO_NAME=$(basename $REPO_PATH) install() { dotname=$(basename $1) realname=${dotname/#dot_/.} if [ -z "$realname" ]; then echo Cannot install $dotname. return fi echo -n Install ~/$realname... rm -f ~/...
true
fa088fa7307563a48b3d33e24e7454d081fa2222
Shell
esbenab/AD-Udvidelse
/makeGroupShares/setgroup.sh
UTF-8
3,798
4.1875
4
[]
no_license
#!/bin/bash #title :setgoup.sh #description :Sets the group and rights for a given directory recursively #author :Esben A Black (DKSAS30) #date :10 juli 2015 #version :1.0 #usage :setgroup.sh groupname permission_pattern path #=====================================================...
true
fa5738f77b10cecf1e0de778dc651af5f6b26c1f
Shell
xxhank/ApplicationSupport
/install
UTF-8
674
3.65625
4
[]
no_license
#!/usr/bin/env sh function pause(){ read -p "$*" } CURRENT=`dirname $0` function link_to_home(){ NAME="$1" SOURCE="$CURRENT/$NAME" TARGET="$HOME/$2" if [[ -e "$SOURCE" ]]; then if [[ -e "$TARGET/$NAME" ]]; then echo "\"$TARGET/$NAME\" aleady exist" else ech...
true
d61f9cdb6d37f869ab857fbba0d144fac2e93971
Shell
PoplarYang/bash
/bash/tomcat_lite.sh
UTF-8
443
3.296875
3
[ "MIT" ]
permissive
#!/bin/sh . /etc/init.d/functions # chkconfig: - 85 15 # description: Tomcat # tomcat安装目录 export CATALINA_HOME="/usr/local/tomcat" case "$1" in start) if [ -f $CATALINA_HOME/bin/startup.sh ];then echo $"Start Tomcat" $CATALINA_HOME/bin/startup.sh fi ;; stop) if [ -f $CATALINA_HOME/bin/shutdown.sh ];then ec...
true
f5f723a00612f958d6a40258a728d89e184f542b
Shell
pushaas/pushaas-demo
/03-app-log.sh
UTF-8
562
3.078125
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash ################## # before ################## . .utils.sh printScriptPart printItem "show your application logs" printSubitem "errors are expected and will be solved when you create and bind a Push Service instance to your app" waitEnter ################## # do ################## set -e APP_NAME=$(appNam...
true
31d2dec197fe712fe08b1b7b4165223a6fee189d
Shell
lschellenberg/parityscripts
/pService.sh
UTF-8
286
3.5
4
[]
no_license
#!/usr/bin/env bash if [ $# -eq 0 ] then echo "No arguments supplied" exit 1 fi case "$1" in "start" ) sudo systemctl start parity;; "reload" ) sudo systemctl daemon-reload;; "stop" ) sudo systemctl stop parity;; "status" ) sudo systemctl status parity.service;; esac
true
b2b5ebecb36567bc5aabb34d3e993fc8ae605d01
Shell
harshahota/autotest
/pass.sh
UTF-8
455
2.609375
3
[]
no_license
#!/bin/bash echo "......................................" echo ".........the pass message............" echo ".........the pass mail $1............" echo "......................................" echo "root=harshahota@gmail.com\nmailhub=smtp.gmail.com:587\nAuthUser=jenkinsupdates@gmail.com\nAuthPass=jenkinspassword\nUse...
true
a273cd004b0369302b22ff8dc04726d5a86f4ac5
Shell
paliwalvimal/sensu-grafana
/pdf-report-generator.sh
UTF-8
1,297
3.90625
4
[]
no_license
#!/bin/bash read -p "API Key: " API_KEY read -p "Grafana Server [localhost]: " GRAFANA_SERVER read -p "Dashboard ID (A - for all): " D_UID if [[ -z ${D_UID} ]]; then echo "Required either Dashboard ID or A"; exit 1; fi declare -l GRAFANA_ADDR=${GRAFANA_SERVER} if [[ -z ${GRAFANA_ADDR} ]]; then GRAFANA_ADDR="localhos...
true
6f1b262ed696ee5624099ee347f4cc2e82ac67d1
Shell
rickknowles-cognitant/search-bert
/launch.sh
UTF-8
358
3.296875
3
[]
no_license
#!/bin/sh echo "Waiting 3 seconds for deployer interrupt ..." sleep 3 echo "Looking for CONFIG_URL to download the config" if [ ! -z $CONFIG_URL ] then echo "Found config url and downloading to sandbox" mkdir -p /sandbox git clone $CONFIG_URL /sandbox else echo "No config url supplied" fi echo "Starting ..." ...
true
d6b53daf16f610d4be2740ab0351b65dfeb3904f
Shell
ghoulmann/Psiphon-TKLPatch
/overlay/usr/lib/inithooks/bin/psiphon_cert.sh
UTF-8
416
2.515625
3
[]
no_license
#!/bin/sh echo "####################################################" echo "### Creating SSL certificate and key for Psiphon ###" echo "####################################################" #This prompts for domain name or IP address openssl req -nodes -x509 -new -out /opt/psiphon/apache2/ssl/psiphon2.crt -keyout /o...
true
6daea9fd359c306ab977ba3b2f41e22a3b06ce86
Shell
wolfbox/packages
/glibc/PKGBUILD
UTF-8
3,853
2.640625
3
[]
no_license
_pkgbase=glibc pkgname=glibc pkgver=2.21 pkgrel=1 pkgdesc="The GNU libc" arch=("x86_64") url="http://www.gnu.org/s/libc/" license=(GPL2 LGPL2.1) options=('!strip' '!emptydirs') depends=('linux' 'tzdata') source=(ftp://ftp.gnu.org/gnu/libc/glibc-${pkgver}.tar.gz{,.sig} glibc-2.10-dns-no-gethostbyname4.diff ...
true
b0da872447c7b7bfc9960b01c9525b4f4dcf313b
Shell
deepfence/ThreatMapper
/haproxy/router-entrypoint.sh
UTF-8
1,299
3.875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash cat /usr/local/etc/haproxy/deepfence.crt /usr/local/etc/haproxy/deepfence.key > /usr/local/etc/haproxy/deepfence.pem # Override default cert files by copying user provided certificates for nginx (if present) # the provided filenames should have .key and .crt extensions CERTIFICATE_DIR="/etc/deepfence/cert...
true
fdbe26c7f93b751a16d40c93a62d6a82f9acb259
Shell
7208sagar/shellcriptprogram
/poweroftwo.sh
UTF-8
138
3.328125
3
[]
no_license
#!/bin/bash read -p "enter the Number :-" n for (( i=0; i<n; i++ )) do powerOfTwo=$((2**$i)) echo $powerOfTwo done
true
11e508f9f8c81a32142569ec85de7b75bc72251d
Shell
mateiclaudiu/katas-agile-technical-practices
/scripts/refactor.sh
UTF-8
244
2.546875
3
[]
no_license
#!/usr/bin/env sh #this script runs all backend tests on each file change in the backend code # requirement: brew install fswatch scripts_dir="./scripts" source_dir="./src" fswatch -o -r "$source_dir" | xargs -n1 -I{} "$scripts_dir/tcr.sh"
true
f028d5a858e9c3f00d5748813995d8fa8dba433f
Shell
lsds/sgx-lkl
/src/vicsetup/tests/verity/test-verity.sh
UTF-8
2,616
3.90625
4
[ "MIT" ]
permissive
#!/bin/bash ##============================================================================== ## ## Check usage: ## ##============================================================================== if [ "$#" -gt 1 ]; then echo "Usage: $0 <num-blocks>" exit 1 fi if [ "$#" == 1 ]; then num_blocks=$1 else ...
true
0019c0aabba8e751f34893d3d0daaf0332075301
Shell
Codebyme/AMH-Debian-Install
/OfficialModelScript/PDO_MYSQL-1.0.2/AMHScript
UTF-8
1,933
3.265625
3
[]
no_license
#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin; #info function amh_module_info() { echo 'AMH-ModuleName: PDO_MYSQL-1.0.2'; echo 'AMH-ModuleDescription: PDO扩展为PHP访问数据库定义了一个轻量级的、一致性的接口,它提供了一个数据访问抽象层,这样,无论使用什么数据库,都可以通过一致的函数执行查询和获取数据。'; echo 'AMH-ModuleButton: 安装/卸载'; echo 'AMH-ModuleDat...
true
f73404208e29eb61de7226ea4928f9c0bd4dc3e3
Shell
zouppen/phasefulsplitter
/src/spawner
UTF-8
522
3.8125
4
[]
no_license
#!/bin/bash # # Spawn processors to multiple cores # Usage: ./spawner command number_of_cpus target_dir CMD=$1 MAXJOBS=$2 TARGET=$3 N=1 while read FILENAME; do while true; do JOBS=$(jobs -rp|wc -l) if [[ $JOBS -lt $MAXJOBS ]]; then echo spawning $FILENAME echo "$FILENAME" >$TARGET/blob-$N.filena...
true
3efef804a4bdd433ac79613debf1ce1170a710fc
Shell
WhatHai/document_database
/oracle-master/scripts/install_db.sh
UTF-8
2,367
2.828125
3
[]
no_license
#!/bin/bash # author: BoobooWei # Desc: 安装数据库 # User: Oracle ## 1. 根据模板配置创建参数文件 export ORACLE_SID=BOOBOO mkdir -p $ORACLE_BASE/oradata/$ORACLE_SID mkdir -p $ORACLE_BASE/admin/$ORACLE_SID/adump mkdir -p $ORACLE_BASE/flash_recovery_area grep -v '^#\|^$' $ORACLE_HOME/dbs/init.ora | sed "s/\(ORCL\|orcl\)/${ORACLE_SID}/...
true
916a4f7ed3938fe3ce8c16676ac877e2cc7d1ee5
Shell
bboyadao/shell
/newvps.sh
UTF-8
2,064
3.265625
3
[]
no_license
#!/bin/bash user="${whoami}" echo $user echo "Tiến hành setup trên vps mới" echo "Cài đặt python3, nginx, uwsgi, postgresql..." sudo su -c "ln -sf /bin/bash /bin/sh" sudo su -c "apt-get update" sudo su -c "apt-get -y install nginx python3 python3-pip python3-dev ufw build-essential python3.6-dev postgresql postgresql...
true
89cf6218e326e65bf42433f7df2beb34e17d0cee
Shell
guenther-brunthaler/usr-local-bin-xworld-jv3gwuidf2ezyr5vbqavqtxyh
/mkpairs
UTF-8
281
3.703125
4
[]
no_license
#! /bin/sh # Written in 2008 by Guenther Brunthaler. # Create all possible pairs from input input lines, maintaining their order. # The pairs will be separated by a tabulation character. FIRST= while IFS= read NEXT; do test -n "$FIRST" && printf '%s\t%s\n' "$FIRST" "$NEXT" FIRST=$NEXT done
true
ab5796ff441f639d8cb51a0701b1e7c81eb7f17d
Shell
DimuthuKasunWP/dokku
/tests/unit/20_storage.bats
UTF-8
1,137
2.828125
3
[ "MIT" ]
permissive
#!/usr/bin/env bats load test_helper setup() { global_setup create_app } teardown() { destroy_app global_teardown } @test "(storage) storage:mount, storage:list, storage:umount" { run /bin/bash -c "dokku storage:mount $TEST_APP /tmp/mount:/mount" echo "output: $output" echo "status: $status" assert_...
true
257f2ddec571785e26c06edaa4d79f965b2daf2e
Shell
sounz/SOUNZ-Online
/sounz-1.62.0/postbuild.sh
UTF-8
895
3.28125
3
[]
no_license
#!/bin/bash ########################################################################### # Post-Build script executed after dpkg-buildpackage is invoked to # create the package files. # P Waite, Nov 2007 # # This script can be put anywhere you like, but normally it lives in the # top directory of your source package. # ...
true
d26d7ddf0e1b71a48a99f432667801f8b6fe65ca
Shell
sywen-scut/MultiCoreSystem-simulator
/generator/trace_cpu/analysis/get_lest_line.sh
UTF-8
529
2.640625
3
[]
no_license
for name in barnes blackscholes canneal dedup ferret fluidanimate freqmine raytrace streamcluster swaptions swaptions do for method in xy do dir=cpu_"$name"_"$method".txt dir_out=last_line_"$name"_"$method".txt echo $dir echo $dir_out ...
true
5b818d9342f1b8cdeeee1d599be64d97d248f52b
Shell
moutsian/lm12_Scripts
/from_ibd_conditional/get_high_pcausal_vars.sh
UTF-8
584
2.6875
3
[]
no_license
#!/bin/bash shopt -s nullglob head -n1 "/lustre/scratch113/projects/crohns/iibdgc_meta/results/finemap/12_68492980_CSQ.confset" > "/lustre/scratch115/teams/anderson/ibd_conditional/high_pcausal_CSQ.confset" array3=(/lustre/scratch113/projects/crohns/iibdgc_meta/results/finemap/*CSQ*) for i in ${array3[*]} do echo "$i\...
true
25d0c883e2a0dd5fa3e3e4828fba6dfd59a81f6b
Shell
logimic/shape
/buildMake.sh
UTF-8
602
3.421875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Script for building shape on Linux machine project=shape #expected build dir structure buildexp=build/Unix_Makefiles deploydir=deploy/Unix_Makefiles currentdir=$PWD builddir=./${buildexp} mkdir -p ${builddir} #get path to deploy mkdir -p ${deploydir} pushd ${deploydir} deploydir=$PWD popd #launch cm...
true
bed10cfb6fb8dac0c8a838d23b35eb4ab89a2b29
Shell
ethanpasta/holberton-system_engineering-devops
/0x0C-web_server/4-not_found_page_404
UTF-8
640
2.71875
3
[]
no_license
#!/usr/bin/env bash # Script configures an Nginx 404 page apt-get -y update apt-get -y install nginx ufw allow 'Nginx HTTP' echo "Holberton School says hello :)" | sudo tee /var/www/html/index.nginx-debian.html sed -i '/listen 80 default_server;/a rewrite ^/redirect_me https://www.youtube.com/watch?v=QH2-TGUlwu4 perman...
true
6d39466d3c6935430c1ce9b53594a8b3acc41c32
Shell
cisco/openh264
/autotest/performanceTest/parsePerfData.sh
UTF-8
3,073
3.609375
4
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
#!/bin/bash #usage runGetPerformanceInfo ${PerformanceLogFile} runGetPerformanceInfo_openh264() { if [ ! $# -eq 2 ] then echo "not enough parameters!" echo "usage: ${0} [android/ios] ${PerformanceLogFile}" return 1 fi local Performanc...
true
6c14dc3922921e6d87d27bf059d16e10cf71a783
Shell
qingfenghuohu/os_init
/v2ray.sh
UTF-8
1,321
3.1875
3
[]
no_license
#!/bin/bash /bin/systemctl stop firewalld /bin/systemctl disable firewalld file = /usr/bin/v2ray/v2ray if [ ! -f "$file" ]; then yum -y install ntpdate crontab wget /bin/systemctl restart crond.service /bin/systemctl enable crond.service timedatectl set-timezone Asia/Shanghai ntpdate -u pool.ntp.org ...
true
78f86f9142d59b1866f5d99aa7b606a8bcc79394
Shell
cmward/atc
/scripts/data_prep.sh
UTF-8
2,297
3.53125
4
[]
no_license
#!/bin/bash ## To be run from the project directory. # Usage: # sh data_prep <ufa-dir> <ufa-audio-dir> <atcosim-dir> <atcosim-audio-dir> / # <broadcast-dir> <broadcast-transcript-dir> <partition-path> <data-path> # For example: # sh data_prep.sh corpora/UFA_DE corpora/UFA_DE/audio_fixed corpora/ATCOSIM / # corpora...
true
2732f9f26b15d92249c17ab02dabfe3decda0337
Shell
NVIDIA/DALI
/qa/test_template_impl.sh
UTF-8
8,921
3.40625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Force error checking set -e # Force tests to be verbose set -x # make python output unbuffered to get more accurate timestamps export PYTHONUNBUFFERED=1 topdir=$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )/.. source $topdir/qa/setup_test_common.sh # Set runner for python tests export PYT...
true
b8f9cd7965702e268b39f14a53d919ae9043ae9d
Shell
kissthink/ports
/libs_toolkit/gtk_engine_unico/gtk_engine_unico.build
UTF-8
1,707
3.125
3
[]
no_license
#!/bin/bash # # Maintainer: Christoph J. Thompson <cjsthompson@gmail.com> source /usr/src/ports/Build/build.sh NAME=gtk_engine_unico MAJOR=1.0 VERSION=${MAJOR}.2 BUILD=2 DEPENDS=('gtk+ >= 3.8.0-1') # Description cat > ${PKG}/install/slack-desc <<EOF # HOW TO EDIT THIS FILE: # The "handy ruler" below makes it easier...
true
e285c04c95ba413799d1bccd336bb734ba6ad797
Shell
zhao-lin-li/django_with_containers
/bootstrap.sh
UTF-8
563
4.03125
4
[]
no_license
#!/bin/sh # This script bootstraps the application set -e ### define functions SRC_DIR=$(cd "$(dirname "$0")"; pwd -P) . "$SRC_DIR"/scripts/bootstrap/functions.sh set_defaults() { ENV=development } gather_options() { while getopts "e:" OPT; do case $OPT in e) ENV=$OPTARG ;; esac d...
true
c6ee65ebbb815d8bae9ec866da6f9113d44354cc
Shell
danives/FFTCGDB
/bin/update_cards.sh
UTF-8
7,706
3.9375
4
[]
no_license
#!/bin/bash -e ### Setting default values. # URL - the target to query for scraping cards out of url="http://fftcgdb.com/card" # Stop - what message to search for that would signify we've asked for a non-existant card stop="Whoops! You found an error." # Sets - What sets (Opuses) of cards we want to retrieve. sets=("1...
true
bce56a88b533266fd6ad2004c57e27d70c38a0d8
Shell
south-potato/poseidonos
/test/script/wbtTestScript.sh
UTF-8
19,026
3.40625
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash #Run it from root ibof directory #eg bash ./script/wbtTestScript.sh #cd $(dirname $0) scriptPath=$(pwd) echo "In Directory " $scriptPath ROOT_DIR=$(readlink -f $(dirname $0))/../.. #Relative_Path_root="../.." BIN_DIR=${ROOT_DIR}/bin VM_IP_RANGE_1="10.1.11." VM_IP_RANGE_2="10.100.11." ARRAYNAME=POSArray...
true
8264541dec6fc8045bead8c9590ca38192fa29b8
Shell
kudumi/scripts
/phone/ipv4-address-of-phone.sh
UTF-8
746
4.0625
4
[]
no_license
#!/bin/bash net_id="-i $HOME/.ssh/hq_rsa" net_opts="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" function help_and_quit() { cat <<EOF Usage: ${0##*/} [-i private_key] target_ips --id -d specify the private key file used to login as admin on the target phones EOF ...
true
50b3be3a2e787c3b571e72c2d09704512ca984e8
Shell
jacobke/etrace
/etrace-stream/stream-container/script/env.sh
UTF-8
1,269
3.21875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash SCRIPT_DIR=$(dirname ${BASH_SOURCE[0]}) BASE_DIR=$(cd ${SCRIPT_DIR} && pwd -P) JVM_CONF="${BASE_DIR}/../conf/jvm_conf.sh" if [ ! -f "${JVM_CONF}" ]; then echo "${JVM_CONF} doesn't exist!!! exit" sleep 5 exit 0 fi cd "$SCRIPT_DIR/.." source "${JVM_CONF}" JVM_LOGS_DIR=${BASE_DIR}/../logs/${STR...
true
b74a21135998fe0bbd05f4eff6e949973fb2f2ba
Shell
jinyalin/Myproject
/linux-script/startup.sh
UTF-8
492
3.390625
3
[]
no_license
#!/bin/sh program="com.hskj.thread.MainSever" deploypath="/hskj/Deliver32Send" pid=$(ps -ef| grep "$program" | grep -v grep|awk '{print $2}') datetime=$(date +'%Y %m %d %H:%M:%S') cd $deploypath if [ -n "$pid" ];then echo "$program is already running" else if [ -f nohup.out ];then rm -f nohup.out fi tou...
true
385da93249cdb3dd235db5f8ad2ac818a40d66cc
Shell
luoguohui234/cello
/src/agent/docker/_compose_files/fabric-1.0/scripts/notaryinfo_put.sh
UTF-8
1,805
2.578125
3
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
#!/bin/bash # # Copyright O Corp. All Rights Reserved. # # SPDX-License-Identifier: Apache-2.0 # # Importing useful functions for cc testing if [ -f ./func.sh ]; then source ./func.sh elif [ -f scripts/func.sh ]; then source scripts/func.sh fi CC_NAME="notaryinfo" #CC_02_INVOKE_ARGS='{"Args":["invoke","a","b","10"...
true
5b64ae030ad4366b38781eedc355218eb355e29d
Shell
bkhadka2/Cyber-Security-Projects
/Firewall-Rule-Shell-Code/firewall.sh
UTF-8
9,882
3.6875
4
[]
no_license
#!/usr/bin/sudo bash function mainMenu { option=$(whiptail --title "IPTABLES FIREWALL" --menu "Choose an option" 15 65 8 \ "1:" "Display Firewall Rules" \ "2:" "Add Rules Manually" \ "3:" "Choose Rules" \ "4:" "Delete Firewall Rules" \ "5:" "Display All rules in HTML page" \ "6:" "Quit" 3>...
true
5f71042f02856a686707ce5f03a9c38b01307ca9
Shell
lix90/bm_etl_admin
/bk/check_jobstatus2.sh
UTF-8
976
3.140625
3
[]
no_license
#!/bin/sh jobwaiting=`grep "Waiting for job..." $1` endtime=`date +%Y%m%d_%H%M%S` if [ "${jobwaiting}" != "Waiting for job..." ]; then jobstatus=-1 else jobstatus=1 fi ${binfiledirectory}/dsjob \ -server ${DSSERVER} \ -user ${DSUSER} \ -password ${DSPAS...
true
ea7ca196878c1127fec73209ce5e0b731376b249
Shell
urmyfaith/sinstallation
/preferences/sound.sh
UTF-8
2,918
2.65625
3
[]
no_license
################################################################################ # Sound ################################################################################ # Toggle Startup Sound function osx_sound_startup_chime { local enabled; if [[ "$1" == "enabled" ]]; then enabled...
true
9608c1a412c5e0a6f1f0147e1deb77270e5ec84d
Shell
Obliteron/tde-slackbuilds
/Misc/inkscape/inkscape.SlackBuild
UTF-8
7,604
3.0625
3
[]
no_license
#!/bin/sh # Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST # Copyright 2009, 2010, 2011, 2012, 2013, 2014, 2015 Eric Hameleers, Eindhoven, Netherlands # Copyright 2015-2017 Thorn Inurcide # Copyright 2015-2017 tde-slackbuilds project on GitHub # All rights reserved. # # Permission to use,...
true
414cee55cd71e3d16f273dc0973286e1335e88cc
Shell
Vanova/voicemap
/experiments/runner.sh
UTF-8
312
2.625
3
[]
no_license
#!/bin/bash export PYTHONPATH="`pwd`/../:$PYTHONPATH" source activate ai3 model=siamese log_dir=../logs/$(date "+%d_%b_%Y") log_file=$log_dir/${model}_$(date "+%H_%M_%S").log mkdir $log_dir echo "Log to: $log_file" #python -u ./train_sre_siamese.py > ${log_file} python -u ./train_wav_siamese.py > ${log_file}
true
cc97c69c1e39c115c85e3c8cc2e4fc52793bf562
Shell
ytsworld/greenhouse-client
/scripts/build.sh
UTF-8
356
2.84375
3
[]
no_license
#! /bin/bash set -e # The build has to run on a raspberry device as cross compiling does not work for libraries that use "C" cd /tmp/greenhouse-client # Cleanup old binary if exists if [ -e "./greenhouse-client" ]; then rm -f "./greenhouse-client" fi go get go build -o greenhouse-client ./cmd chmod +x greenhou...
true
3fb76cd9464e6cf45992ea935f1ae4409859de35
Shell
AditiPawar24/boot-camp-shell-scripting
/Assignment4/ExtendArray.sh
UTF-8
541
3.390625
3
[]
no_license
#!/bin/bash -x function isSort() { echo $1 ${#Array[@]}=$1 temp=0 for ((i=0; i <= $((${#Array[@]} - 2)); i++)) do for ((j=((i+1)); j <= ((${#Array[@]} -1 )); j++)) do if [[ ${Array[i]} -gt ${Array[j]} ]] then temp=${Array[i]}; Array[i]=${Array[j]}; ${Array[j]=$temp; ...
true
c841fc1fb2f1e430011fb3a62297b45738b49958
Shell
sudip-aubergine/rentroll
/test/rus/functest.sh
UTF-8
13,899
3.0625
3
[]
no_license
#!/bin/bash TESTHOME=.. SRCTOP=${TESTHOME}/.. TESTNAME="RentableUseStatus" TESTSUMMARY="Test Rentable Use Status code" DBGENDIR=${SRCTOP}/tools/dbgen CREATENEWDB=0 RRBIN="${SRCTOP}/tmp/rentroll" CATRML="${SRCTOP}/tools/catrml/catrml" #SINGLETEST="" # This runs all the tests source ${TESTHOME}/share/base.sh echo "ST...
true