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
52907da714fb55a6387f5dc920738c978badc502
Shell
AnoML/sandbox
/scenarios/network/db_server_slow_network/execute.sh
UTF-8
237
2.53125
3
[]
no_license
#!/bin/bash #Enforces a slow network(Packet delay) source ../../config.sh echo "Enforcing a packet delay of maximum ${network_packet_delay}ms" tc qdisc change dev eth1 root netem delay ${network_packet_delay}ms 20ms distribution normal
true
e73e02886d666c20fd966662a2354d92d8b2f818
Shell
projectriff-archive/ci
/tasks/helm-charts/build/run
UTF-8
2,033
3.75
4
[]
no_license
#!/usr/bin/env bash set -o errexit set -o nounset set -o pipefail build_root=$PWD source "$build_root/git-pfs-ci/tasks/scripts/common.sh" cp -pr $build_root/git-helm-charts $build_root/riff pushd $build_root/git-helm-charts helm init --client-only function_controller_version=$(head "$build_root/function-cont...
true
33f5cb19d00dd083dde7c3bf601e6db470596440
Shell
hixio-mh/package
/slicetag.sh
UTF-8
2,316
4.15625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash function on_master () { # identify if the current branch is a tag, or if not assume it is 'master' local githash=`git rev-parse HEAD` local tags=`git show-ref --tags | grep $githash | wc -l` # if tags > 0, then we're in a tag, otherwise on 'master' if test $tags -gt 0 ; then r...
true
97c81b4634fe8e78baf7911f13b558c763d63928
Shell
shoetsu/translator
/test_many.sh
UTF-8
391
3.34375
3
[]
no_license
#!/bin/bash usage() { echo "Usage:$0 root_dir" exit 1 } if [ $# -lt 1 ];then usage; fi root_dir=$1 opt="" #opt='--target_attribute=Weight --test_data_path=dataset/test.weight.csv' #opt='--test_data_path=dataset/test.price.empty.csv' #opt='--test_data_path=dataset/test.annotated.csv' for checkpoint in $(ls ...
true
a5e176683386a6f045f3c46f44b2b79ee71e8219
Shell
varthdader/Pineapple-MK4
/2.8.1/mk4-module-randomroll-3.2/randomroll/install.sh
UTF-8
1,003
3.328125
3
[]
no_license
#!/bin/sh randomrollDir="$( cd "$( dirname "$0" )" && pwd)" indexMD5=`md5sum /www/index.php` var1=${indexMD5:0:32} randomrollMD5=`md5sum "$randomrollDir"/files/index.php` var2=${randomrollMD5:0:32} if [ "$var1" != "$var2" ]; then if [ ! -f /www/index.php.bak ]; then cp /www/index.php /www/index.php.bak fi cp "$r...
true
e8a2baf7de559d3be5fb690403050d7b4cf4b8d8
Shell
zen-tools/scripts
/parallel_work.sh
UTF-8
1,466
3.375
3
[]
no_license
#!/usr/bin/env bash DATA=( "1 OpenNews: Каналу #rusunix 2 года." "3 OpenNews: Тестирование системы UNIX новостей" "5 OpenNews: Hurd живет!" "9 OpenNews: Обзор статей в журнале "Открытые системы. СУБД" N 11-12 за 1999 г." "11 OpenNews: Вышла новая версия программы KDevelop (1.2)." "13 ...
true
5effa5fd607e315f9e0ab698d85e13d711f9294e
Shell
jaredlovell/awsdemo
/ebs_backup/build.sh
UTF-8
459
2.921875
3
[]
no_license
#!/bin/bash S3LOC=s3://mybucket/lambdabuilds FUNCTIONS="ebs-backup-snapshot-cleanup ebs-backup-snapshot-create" for f in $FUNCTIONS; do zip $f.zip $f.py echo "aws s3 cp $f.zip $S3LOC/" done echo "aws s3 cp cf.yml $S3LOC/" #deploy the whole stack is an option too # aws --region us-west-2 cloudformation create-...
true
2d38743f09661f4bb3c9467827dea30c3a4cf388
Shell
EricZBL/ClusterBuildScripts
/install/haproxyInstall.sh
UTF-8
9,000
3.109375
3
[]
no_license
#!/bin/bash ################################################################################ ## Copyright: HZGOSUN Tech. Co, BigData ## Filename: haproxyInstall.sh ## Description: 安装配置Haproxy代理 ## 实现自动化的脚本 ## Version: 2.0 ## Author: zhangbaolin ## Created: 2018-06-28 ####################...
true
4a2f8ad928e55415862ae4021e521d2fe35c90bf
Shell
j3yxz/test
/Esercitazione03/script1.sh
UTF-8
168
2.75
3
[]
no_license
#!/bin/bash echo echo "ordine crescente:"; cont=1; while (( ${cont} <= $# )); do echo "arg ${cont} is ${!cont}"; (( cont=${cont}+1 )); done ./script2.sh "$@";
true
5c50def77999c45d1468f20a358838febf324af8
Shell
casep/isc_coding
/trakautomation/preflightchecks.d/TrakMappingCONV.sh
UTF-8
1,873
3.546875
4
[]
no_license
#!/bin/sh -e # Checks main Trak database hase a CONV mapping to DATA which has previously been wrongly mapped from source . ./functions.sh check_Unix() { # itterate through all instances until we find a Trak one for instance in `cache_getinstances.pl`; do path=`cache_instance2path.pl "$instance"` conf="$path/c...
true
2c0678ae38572530de668ae346da8de43b949aa7
Shell
nhurleywalker/GLEAM-X-pipeline
/bin/IDG.tmpl
UTF-8
3,897
3.203125
3
[]
no_license
#! /bin/bash -l set -ux dbdir=DBDIR function test_fail { if [[ $1 != 0 ]] then ${dbdir}/bin/track_task.py fail --jobid=${SLURM_JOBID} --taskid=1 --finish_time=`date +%s` exit $1 fi } # Set version number version=4.0 # First IDG pipeline Feb 2020 cores=NCPUS memory=MEMORY jobname=JOBNAME base=BASEDIR self=SE...
true
bfab94beed0bb7db64e9fa90b9595b3d1243e9ce
Shell
UAMS-DBMI/PosdaTools
/posda/fastapi/start_api.sh
UTF-8
196
2.890625
3
[ "Apache-2.0" ]
permissive
#!/bin/sh python3 check_db.py if [ $? -eq 0 ] then uvicorn --workers $API_WORKERS --host 0.0.0.0 --port $API_PORT main:app else echo "The database is not available yet, exiting." exit 1 fi
true
123f17b0fad29ed68dd14976a54ad4103ab14fef
Shell
feralresearch/exts-quiz-maker
/env.sh
UTF-8
1,299
4
4
[ "MIT", "CC-BY-4.0" ]
permissive
#!/bin/bash # Adapted from technique described here: # https://medium.freecodecamp.org/how-to-implement-runtime-environment-variables-with-create-react-app-docker-and-nginx-7f9d42a91d70 # Rebuild output file DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" DOTENV=$DIR/$1 OUTPUT=$DIR/$2 echo $DOT...
true
445ada560fe10601a5b880834257f0c3739d54a5
Shell
gsilvers/utils
/update_hosts_fromweb.sh
UTF-8
1,747
3.71875
4
[]
no_license
#!/bin/bash # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Author: Greg Silverstein greg.silverstein@gmail.com # # This script is released under an mit license but basically use it # any way you want. Give me credit if you want whatever but # it is provided with no guarantees use at your own ris...
true
73826f40fe3f115d0714032b6c9e39a462b6352f
Shell
leopires/daily-sh-script
/conda-update.sh
UTF-8
271
3.40625
3
[]
no_license
#!/usr/bin/env bash set -e CONDA_PATH=`which conda` if [ -z "${CONDA_PATH}" ]; then echo "Please check if you have 'conda' installed." exit 1; else echo "'conda' found at: '${CONDA_PATH}'" fi conda update --all -y conda clean --all -y conda list exit 0
true
9baa1ffee20a5c792a6d26a12cf1ef677a34c5f4
Shell
buren/dot-bash
/profiles/unix-profile.bash
UTF-8
3,893
3.40625
3
[]
no_license
#!/bin/bash if [[ $SHELL != '/bin/zsh' ]]; then # Case-insensitive globbing (used in pathname expansion) shopt -s nocaseglob # Append to the Bash history file, rather than overwriting it shopt -s histappend # Autocorrect typos in path names when using `cd` shopt -s cdspell fi # Detect which `ls` flavor i...
true
d15737f98d9688d6c02d7ab8ef6628bf83b76375
Shell
cmcmullan-r7/dotfiles
/git_template/hooks/ctags
UTF-8
218
2.78125
3
[]
no_license
#!/bin/bash set -e cd `git rev-parse --git-dir`/.. # goto root dir of this repo trap 'rm -f .git/$$.tags' EXIT # when this script revieces exit signal - delete tmp file ctags -f .git/$$.tags mv .git/$$.tags .git/tags
true
66e3e4c1d9c5ab4379c50d5cd3927de57956972b
Shell
sfindeisen/rsync-backup
/rsync-backup-common.sh
UTF-8
1,289
4.125
4
[ "Apache-2.0" ]
permissive
#!/bin/sh # rsync flags # # Note: # -x, --one-file-system don't cross filesystem boundaries RSYNC_OPTS="-a -HAEXR -x -h --progress --exclude-from=${SCRIPT_DIR}/rsync-exclude.txt" # Executable script name APPNAME=$(basename $0 | sed "s/\.sh$//") log_info() { echo "$APPNAME: [info] $1"; } log_warning() { echo...
true
08e6bcd29ff75e5b07132cbc6f3b039ccb719471
Shell
dmitry-salnikov/meteorka
/helpers/docker-tools.sh
UTF-8
513
3.296875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash DOCKER_HUB_USERNAME="mitusha" source ./git-tools.sh "$DOCKER_HUB_USERNAME" REPO_REF="$(git-ref-repo)" TAG_HEAD="$(git-ref-commit)" TAG_LATEST="$(git-ref-latest)" docker-build() { docker build -t "$TAG_HEAD" . } docker-tag() { docker tag "$TAG_HEAD" "$1" } docker-tag-latest() { docker tag ...
true
ccea78dc7465410f018f01527387a1e199adfa81
Shell
KatieMishra/VoiceClassification
/sphinxbase/autoconf-2.69/automake-1.14/t/warnings-win-over-strictness.sh
UTF-8
2,104
3.125
3
[ "GPL-2.0-only", "GPL-3.0-only", "GPL-1.0-or-later", "FSFAP", "GPL-3.0-or-later", "Autoconf-exception-3.0", "LicenseRef-scancode-other-copyleft", "GPL-2.0-or-later", "MIT", "BSD-2-Clause" ]
permissive
#! /bin/sh # Copyright (C) 2011-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program ...
true
e4493392347d1cfef824fec3fccc5f1c062fe38d
Shell
ACAD-UofA/tools
/src/foldreads/pipeline/09_mappingStats.sh
UTF-8
1,836
3.328125
3
[]
no_license
#!/bin/sh module load SAMtools/1.4.1-foss-2016b stats() { f=$1 samtools depth $f > ${f}.depth sample=`basename $f | cut -d . -f1` ref=`basename $f | cut -d . -f2` tot_pairs=`awk '/^Total read pairs/ {a+=$NF} END {print a}' ${sample}_*.metrics` folded=`awk '/folded read pairs/ {a+=$(NF-1)} END {print a}' ${samp...
true
cf9038eafd331fa3edc59bdebd662b7d95d1dec3
Shell
nikisix/ff
/install.sh
UTF-8
523
3.203125
3
[]
no_license
#!/bin/bash FF_DIR=~/.ff mkdir $FF_DIR cd $FF_DIR curl -O "https://raw.githubusercontent.com/nikisix/ff/master/ff.sh" curl -O "https://raw.githubusercontent.com/nikisix/ff/master/ff.py" curl -O "https://raw.githubusercontent.com/nikisix/ff/master/README" echo "alias ff='. $FF_DIR/ff.sh'" >> ~/.bashrc chmod 775 $FF_DIR/...
true
66321a4277ba6fa415ab7a08ade700366c7ed2b5
Shell
AndrewKralovec/svn-publisher
/svn-branch-cp.sh
UTF-8
755
3.546875
4
[]
no_license
PR_BRANCH_NAME=${1:-"pull_request_preview"} PR_MESSAGE=${2:-"Creating a PR branch for /app/trunk."} # NOTE: Svn requires to be in the working dir to execute. if [[ ! -z "$REPO_LOCAL_PATH" ]]; then cd "$REPO_LOCAL_PATH"; fi # TODO: Fix code repeat get_remote_url() { if [[ -z "$REMOTE_BASE_URL" ]]; then echo "$...
true
dad7e072251ede17f9566af48755e9932cd2c391
Shell
amyburgh/init
/system/03
UTF-8
331
2.671875
3
[]
no_license
#!/bin/sh echo "\033[1;33m3. What file has to be modified to make it permanent?\033[0m" echo "etc/hostname" echo "\033[1;33mCommand:\033[0m sudo echo \"new_name\">etc/hostname" echo "\n\033[1;33mDeduction:\033[0m The command above will replace the hostname with \"new_name\" if the user has admin privileges." read -p...
true
4cb7699772163687fb97680773f06863342ebb44
Shell
Nanjangpan/ModuBoan
/취약점 스크립트/scripts/U-26.sh
UTF-8
285
3.25
3
[]
no_license
#!/bin/bash echo -e "[U-26] automountd 제거" if [ !$(ps -ef | grep "automountd" | grep -v "grep") ];then echo -n -e "\033[34m[PASS]\033[0m" else echo -n -e "\033[31m[WARN]\033[0m" fi echo -e "automountd에 대한 설정이 비활성화 되어 있어야 합니다" echo -e " "
true
a86c2c6db8f3c4be1bb1850ff79ba29e41e67767
Shell
seismicmike/mmscraps-wp
/.docksal/commands/sync
UTF-8
378
2.671875
3
[]
no_license
#!/usr/bin/env bash ENV=${1:-live} shift cd $PROJECT_ROOT rm -f $PROJECT_ROOT/backups/database.sql.gz fin drush cache-clear drush -y echo "Downloading database" terminus backup:create $COMPOSE_PROJECT_NAME.$ENV --element=db terminus backup:get $COMPOSE_PROJECT_NAME.$ENV --element=db --to=$PROJECT_ROOT/backups/databas...
true
1eeb12d1344d384b7dfdd268c20aa8a1e0b2587b
Shell
schmkr/dotfiles
/bash/functions.sh
UTF-8
1,938
3.734375
4
[]
no_license
## A set of useful functions, from: ## https://github.com/mathiasbynens/dotfiles/blob/master/.functions ## # Start an HTTP server from a directory, optionally specifying the port function server() { local port="${1:-8000}" sleep 1 && open "http://localhost:${port}/" & # Set the default Content-Type to `text/plain` ...
true
523d9d1e3d69f8b06fd5f66a5fc9b0a057f440d6
Shell
bendudson/py4cl
/install.sh
UTF-8
9,439
3.90625
4
[ "MIT" ]
permissive
#!/bin/sh # cl-travis install script. Don't remove this line. set -e # get <destination> <url(s)> get() { destination=$1; shift for url in "$@"; do echo "Downloading ${url}..." if curl --no-progress-bar --retry 10 -o "$destination" -L "$url"; then return 0; else ...
true
c60a8d932125db893d9de86e7d10df16d2ddd4e9
Shell
CloudTestDrive/helidon-kubernetes
/setup/common/switch-git-branch.sh
UTF-8
1,450
3.953125
4
[]
no_license
#!/bin/bash -f export SETTINGS=$HOME/hk8sLabsSettings if [ -f $SETTINGS ] then echo "$SCRIPT_NAME Loading existing settings information" source $SETTINGS else echo "$SCRIPT_NAME No existing settings cannot continue" exit 10 fi if [ -z "$AUTO_CONFIRM" ] then export AUTO_CONFIRM=false fi CUR...
true
59e8ca4248c044006cb6831dc2f9718060def24a
Shell
cesaremov/Solanum_Arcanum-Lycopersicum
/methodology_01/supportScripts/03.hisat2-build.sh
UTF-8
622
2.765625
3
[]
no_license
#!/bin/bash # Paths lustrePath="/LUSTRE/usuario/" fullPwd=${PWD/\/home/$lustrePath/} genomePath="Genome" # Genome file genomeFile="$genomePath/S_lycopersicum_chromosomes.3.00.fa" # Logfile logFile="$fullPwd/$genomePath/hisat2-build.log" #echo $logFile # Base name base="$genomePath/Slycopersicum" # Cluster paramete...
true
1ff3c0c98a6877ed7f8cc8ae1057c5c162de5ed0
Shell
SEEG-Oxford/ABRAID-MP
/config/deploy/up_gs.sh
UTF-8
6,312
3.3125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -e GS_TEMP_DIR="$(mktemp -d)" GS_UPDATE_CMD="fileAsk" setupTempConfigFiles() { echo "${deploy_props[geoserver.root.password.hash]}" > "$GS_TEMP_DIR/passwd" cp "$WEBAPP_PATH/geoserver/data/security/usergroup/default/users.xml" "$GS_TEMP_DIR/users.xml" sed -i "s|password=\".*\"|password=\"$...
true
fa7c7cecc926d6b82f39dba6dc1617565b7b81a0
Shell
FelixZhu/scripts
/cf
UTF-8
559
3.53125
4
[]
no_license
#!/bin/bash if [ "$1" = "" ];then echo "no input" fi #echo $argv echo -e "\033[42;31m Search " $1 "\033[m" # #for i in $argv #do # case i in # '-i') # ;; # esac #done function find_word() { find . -type f \ | sed -e '/\/tags$/d' -e '/\/\.git/d' -e '/\/\.svn/d' -e '/\.swp$/d' \ ...
true
ea7a845061a4bb0e4d286599535e9f2e89eec15f
Shell
Octoober/sh-webpack-starter-template
/webpack-template.sh
UTF-8
1,033
4.1875
4
[]
no_license
#!/bin/bash # Vars gitRepo="https://github.com/Octoober/webpack-starter-template.git" q="[ \e[32m?\e[0m ]" # Input project name function inProjectName() { echo -ne "${q} Project name: "; read projectName } # Create project function create() { echo -e "\nGit clone: ${gitRepo}" git clone $gitRepo $projectName rm ...
true
ffd1ac410332de5b9ca92c7bd2050d362479d9d4
Shell
Spark-Liang/NoteBook
/编程/云技术/k8s/安装部署/ref/check_haproxy.sh
UTF-8
279
3.21875
3
[]
no_license
#!/bin/sh # HAPROXY down A=`ps -C haproxy --no-header | wc -l` if [[ $A -eq 0 ]]; then systemctl start haproxy if [[ `ps -C haproxy --no-header | wc -l` -eq 0 ]]; then killall -9 haproxy echo "HAPROXY down" | mail -s "haproxy" sleep 3600 fi fi
true
d997f83babba4e8694d1abda4d76e653e8203818
Shell
dayudodo/LNPPR
/include/sqlite.sh
UTF-8
3,831
3.5
4
[ "BSD-3-Clause" ]
permissive
# Copyright (C) 2020 - 2021 LetSeeQiJi <wowiwo@yeah.net> # # This file is part of the LNPPR script. # # LNPPR is a powerful bash script for the installation of # Nodejs + Nginx + Rails + MySQL/PostgreSQL + Redis and so on. # You can install Nginx + Rails + MySQL/Postgresql in an very easy way. # Just need to edit the i...
true
a19639dd64a8b577990e2fb8eb579139b93bc0e9
Shell
maniankara/atlassian-jira-docker
/jira-app/startjira.sh
UTF-8
525
3.296875
3
[]
no_license
#!/bin/bash echo "Waiting for connecting: jira-db:3306"; while ! nc -z jira-db 3306; do sleep 3; done; echo "Connection passed, executing mysql scripts"; mysql -h jira-db -uroot -p$MYSQL_ROOT_PASSWORD -e "drop database $MYSQL_DATABASE; CREATE DATABASE $MYSQL_DATABASE CHARACTER SET utf8 COLLATE utf8_bin;" echo "urL:...
true
44c243ff0e28ec11e1c6319b0e57092114c5b3d1
Shell
gordcorp/cf-staticfile_buildpack-helloworld
/bin/cideploy.sh
UTF-8
646
3.53125
4
[]
no_license
#!/usr/bin/env bash # Exit immediately if there is an error set -e # cause a pipeline (for example, curl -s http://sipb.mit.edu/ | grep foo) to produce a failure return code if any command errors not just the last command of the pipeline. set -o pipefail # The git branch we are on readonly GITBRANCH="$(git symbolic-...
true
2f4cdb6a947c5c77383bf3767369278ef391d052
Shell
aqreed/travis-ci-cpp-example
/run_coverage_test.sh
UTF-8
331
2.59375
3
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
#!/bin/bash # calls the code coverage testing program gcov # fist clean all object files make clean # compile all the cpp files, link etc make # run test-library.out, with test coverage (see makefile flags) ./test/test-library # gcc suite test coverage program gcov test/lib.cpp # code coverage is in the file "lib...
true
4cd48ee7f17bb75009bb274ea77e8c77d4e4f36d
Shell
aabarbosa/shell
/scripts/test.sh
UTF-8
588
3.578125
4
[]
no_license
#!/bin/bash # This is not part of the project and should not be. # its use aim to perform Debug and developer tests. echo "Please type "\quit" to leave, "run" to start the server..." echo "init to start a new installation..." while : do read INPUT_STRING case $INPUT_STRING in quit) echo "Breaking!" bre...
true
dfd612a5ed1b20f91bc0dd926fc0163e4252ed12
Shell
intel/irstessi
/ut/scripts/count.sh
UTF-8
1,882
3.015625
3
[ "BSD-3-Clause", "LicenseRef-scancode-other-permissive", "BSL-1.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash <<LICENSE_BSD Copyright 2011 - 2017 Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the...
true
27bf07fa363308affc802ee28c75715732310788
Shell
misc0110/latexrun
/test/T-nooutput.sh
UTF-8
452
3.953125
4
[ "MIT" ]
permissive
#!/bin/sh set -e # Test running just latexrun empty.tex, where empty.tex produces no output. TMP=tmp.$(basename -s .sh $0) mkdir -p $TMP cat > $TMP/empty.tex <<EOF \documentclass{article} \begin{document} \end{document} EOF function clean() { rm -rf $TMP } trap clean SIGINT SIGTERM # Intentionally use just the l...
true
b2b9391d5a5709da5380bb532a9b8a0fdcc99913
Shell
mattschouten/screen-time-bouncer
/remote_logoff.sh
UTF-8
448
3.5
4
[]
no_license
#!/usr/bin/env bash set -euo pipefail usage(){ echo "Usage: $0 <Target username>" exit 1 } [[ $# -eq 0 ]] && usage TARGET_USER=$1 ssh 172.16.1.110 -q <<EOF PID=\$(ps -e -o user:16,pid,cmd | grep gdm-x-session | grep $TARGET_USER | tr -s ' ' | cut -d ' ' -f 2) echo "Going to kill \$PID and end gdm-x...
true
58ddb39fd1a7b580e2887fda36ed31d664344fdb
Shell
maxh0723/drive
/project.sh
UTF-8
307
3.109375
3
[]
no_license
#!/bin/bash case "$1" in clean) rm -rf *.class echo "Project cleaned" ;; build) for i in `ls -1 *.java` do javac -cp .:lib/BreezySwing.jar $i done if [ $? == 0 ]; then echo "Compilation complete." fi ;; run) java -cp .:lib/BreezySwing.jar GUI ;; *) $0 build ;; esac
true
a0b6074e0a323f80bf3f283b81f03ec18a8916c2
Shell
krytarowski/netbsd-llvm-build
/buildbotScripts/bashShell/svntotbuild/setEnv.sh
UTF-8
1,124
2.953125
3
[]
no_license
#!/usr/bin/env bash # Do not generate any output from this file. It is sourced from files (getRevision.sh) that need # a clean output stream. set -e ulimit -c unlimited export originalDir=$(pwd) export rootDir=$(pwd)/.. export buildDir=$rootDir/build export remoteDir=/data/local/tmp/lldb dataRoot="" if [ ! -d "/lldb...
true
5385bccf26c125f5801987d3d2c4cb033981839f
Shell
navikt/sykdom-i-familien-sanity
/scripts/backup-and-migrate-production.sh
UTF-8
793
3.84375
4
[]
no_license
#!/bin/bash # Remember to run sanity login to authenticate before running this script. #set -x programname=$0 display_usage() { printf "This does backup production dataset and migrates staging dataset to production. \n\n" printf "Usage: $programname" exit 0 } # check whether user had supplied -h or --he...
true
feb726a98eeb74a2297e583e74dda446cf3ce87b
Shell
Cloudxtreme/docker_compose_mesos
/docky
UTF-8
1,944
3.71875
4
[]
no_license
#!/bin/bash CGROUP=/sys/fs/cgroup ps cax | grep docker > /dev/null if [ $? -eq 1 ]; then mount -n -t tmpfs -o uid=0,gid=0,mode=0755 cgroup $CGROUP for SUBSYS in $(cut -d: -f2 /proc/1/cgroup) do [ -d $CGROUP/$SUBSYS ] || mkdir $CGROUP/$SUBSYS mountpoint -q $CGROUP/$SUBSYS || ...
true
65a7983bb7a77c07a2fca723ff2d01585316622b
Shell
blueafoo/lbrycrd
/packaging/docker-for-binary/deploy.sh
UTF-8
990
4.125
4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash set -euo pipefail hash docker 2>/dev/null || { echo >&2 'Make sure Docker is installed'; exit 1; } set +eo pipefail docker version | grep -q Server ret=$? set -eo pipefail if [ $ret -ne 0 ]; then echo "Cannot connect to Docker server. Is it running? Do you have the right user permissions?" exit 1 f...
true
b5810175a2f463c8ab19443fe7f4fbc8634f62cf
Shell
breydivasquez/docker
/agetic-plantillas/frontend/docker/entrypoint.sh
UTF-8
245
2.515625
3
[]
no_license
#!/bin/sh set -e sed -i -e 's/src=maps\//src=/g' /usr/share/nginx/html/index.html sed -i -e 's/.js.map/.js/g' /usr/share/nginx/html/index.html find /usr/share/nginx/html/ -type f -exec sed -i "s~BACKEND\_URL~${BACKEND_URL}~g" {} \; exec "$@"
true
8c308cdb68f9a1734491d409cfe0ca7778306710
Shell
wang-shun/groundwork-trunk
/groundwork-monitor-dr/scripts/generic_app.capture
UTF-8
1,956
3.75
4
[]
no_license
#!/bin/bash -e # generic_app.capture # Copyright 2010 GroundWork Open Source, Inc. ("GroundWork"). All rights # reserved. Use is subject to GroundWork commercial license terms. # DO NOT EDIT THIS FILE. # It is a generic version that is probably symlinked # to the place where it is being used. Instead, make # a co...
true
173c2edabcf9b5b7971dafc60e25a7f4ad83e66a
Shell
IJHidding/Internship-Helsinki
/splitfiles.sh
UTF-8
254
2.578125
3
[ "MIT" ]
permissive
#!/bin/zsh # a quick script to separate the uniprot file. input=$1 grep "ACT_SITE" "$input" > protein_act_site.tsv grep "BINDING" "$input" > protein_binding.tsv grep "DNA_BIND" "$input" > protein_dna_bind.tsv grep "METAL" "$input" > protein_metal.tsv
true
751ed261b97ca93d3201801bfcd048ecd1aa94b0
Shell
berli/AutoShadowSocks
/git_commit.sh
UTF-8
526
3.0625
3
[]
no_license
#!/bin/bash SCRIPT_DIR="$(dirname $0)" if [ '.' = "${SCRIPT_DIR:0:1}" ]; then SCRIPT_DIR="$(pwd)/${SCRIPT_DIR}" fi echo SCRIPT_DIR = ${SCRIPT_DIR} cd "${SCRIPT_DIR}" git add -A OSX/SSLinker/* git add -A OSX/Resources/* git add -A OSX/SSLinker.xcodeproj/xcshareddata/* "./OSX/osxComponents/git_commit.sh" COMMIT_M...
true
7c3f8912386c5970ddf5e9bc7b67e9d4b4af0a04
Shell
dgdell/reelvdr
/src/archiv/translations/mklangfiles-avg.sh
UTF-8
1,196
2.8125
3
[]
no_license
#!/bin/sh srcpath=../.. dest="origs-`date --iso-8601`" [ ! -d $dest ] && mkdir $dest #xml file for menu + setup menu cp -a $srcpath/etc/vdr/plugins/setup/setup-lang.xml $dest/ for i in burn \ reelbox \ skinreelng \ graphlcd \ remote \ setup \ extrecmenu \ channelscan \ filebrowser \ epgsearch \ epgtimer...
true
e29983807768f0c900cdfc910eaad0ab4bb389b8
Shell
songguang-2010/k8s_installer
/scripts/add_node.sh
UTF-8
715
2.90625
3
[]
no_license
#!/bin/sh if [ -z $1 ] then echo "node name is missing" exit 1 fi nodeName=$1 #当前文件所在路径 filePath=$(cd "$(dirname "$0")"; pwd) #root directory rootPath=$(cd "$(dirname "$filePath")"; pwd) . ${rootPath}/scripts/common/constant.sh # load config items # . ${configPath}/config_var.sh #execute install_prepare_node_n...
true
22a1d0887708f3a25fc120d4818a146df313e173
Shell
Mohitkaushal97/File
/bs_docker.sh
UTF-8
1,226
2.71875
3
[ "MIT" ]
permissive
#!/bin/bash echo "Docker install, tested Ubuntu 18.04" # docker:: https://docs.docker.com/install/linux/docker-ce/ubuntu/ sudo apt-get update -y sudo apt-get remove -y docker docker-engine docker.io containerd runc sudo apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-proper...
true
1a5ce4884f9353b6e0d85e7eb8af203a874489f5
Shell
praveenprem/Bootstrap
/nextcloud.sh
UTF-8
6,116
3.296875
3
[ "MIT" ]
permissive
#!/bin/env bash echo "Updating box....." echo "======================================================================" apt update apt -y upgrade apt -y install vim wget gpg echo "Installing required packages....." echo "======================================================================" apt -y install nginx maria...
true
e2f03193760d5170e1a7bfccdf8c03f4ce6a1410
Shell
jolynnjones/psych516w2020
/Week_9/tensors_batch.sh
UTF-8
313
2.75
3
[]
no_license
#!/bin/bash curTime=`date +"%Y%m%d-%H%M%S"` mkdir -p ~/logfiles/EDSD/${curTime}-tensors for i in `cat ~/psych516/EDSD/participants.txt`; do sbatch \ -o ~/logfiles/EDSD/${curTime}-tensors/o-${i}.txt \ -e ~/logfiles/EDSD/${curTime}-tensors/e-${i}.txt \ ~/psych516/scripts/tensors_job.sh \ ${i} sleep 1 done
true
36415fd0b31afc3c64ee8402663f552bab7ae69f
Shell
justinfiore/pass-utils
/bin/pass-exec-psql
UTF-8
3,134
4.15625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -eu script_dir="$( cd "$( dirname "$0" )" && pwd )" source "$script_dir/commons" DEFAULT_PASS_HOME="$HOME/.password-store" function show_help() { cat <<EOF Usage: `basename $0` [options] [--] [any extra args to pass to psql] Execute 'psql' against a database from a password entry constructed...
true
351bb284b8b0a361fb25a16bc5102e1d8c27f48a
Shell
zeus911/SAVPN_BSNL01
/crm.ear/crm.war/WEB-INF/bin/XMLConverter/XMLConverter.sh
UTF-8
1,396
3.375
3
[]
no_license
#! /bin/bash ############################################################################### # # **** COPYRIGHT NOTICE **** # # (c) Copyright 2003-2010 Hewlett-Packard Development Company, L.P. # ############################################################################### ########################################...
true
4709b79e57e2083bac91849d5e25f134cc2a5de1
Shell
ragtz/titan_utils
/submit-titan.sh
UTF-8
440
3.46875
3
[]
no_license
#!/bin/bash # Identifies the best titan-machine to run a command on and executes that command remotely. Aliases must live in .bashrc in order to be respected. Best GPU should be identified by the python script. results=$(python ~/titan_utils/titan_utils.py) IFS=$'\n'; results=($results); unset IFS; best_titan=${results...
true
bc21fa06c7ddea9a978b387c67ef2621750cf9ab
Shell
sjas/dotfiles-5
/.shell/aliases
UTF-8
6,979
3.296875
3
[]
no_license
function is_zsh() { [ -n "$ZSH_NAME" ]; } function exists() { command -v "$1" >/dev/null; } # Bootstrap functions if ! exists yadm; then function yadm() { if ! exists git; then echo "Install git" return 1 fi local yadm yadm="$HOME/.local/bin/yadm" mkdir -p "$(dirname "$yadm")" cur...
true
7318c105e8e4241f433cff07339ca21aae211181
Shell
prashkotak/ansible
/b1.sh
UTF-8
888
3.1875
3
[]
no_license
Launch_instance() { } while : do clear echo "-------------------------------------" echo " Welcolme to Aws Cloud " echo "-------------------------------------" echo "[1] Launch Ec2 Instance" echo "[2] Launch s3 Bucket " echo "[3] Launch Load Balance" echo "[4] Launch Auto Scall...
true
a2e5b14765a60b2302cf2b54b5cf8115554d4a23
Shell
bol/dotfiles
/zsh/zsh.d/macos.zsh
UTF-8
679
3.46875
3
[]
no_license
function __setup_macos() { [[ -e /opt/homebrew/bin/brew ]] && eval "$(/opt/homebrew/bin/brew shellenv)" if ! (( $+commands[brew] )); then read -q "?The brew command was not found on your path. Do you want to install it? " || return -1 print '' /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com...
true
54b11b4168374d49915fe3d403d5f54c34dc6a68
Shell
nicelhc13/cmp_gal_git
/scripts/commits/dist_cc_push.sh
UTF-8
452
2.65625
3
[]
no_license
#!/bin/bash # execute cc_push of dist-app ITER_NO=3 THREAD_NO=56 GRAPHS=( "friendster" "webGraph" "road-usad" "twitter" "socLive") for iter in {0..$ITER_NO}; do for graph in ${GRAPHS[@]}; do echo bin/cc_push paper_inputs/${graph}_galois.csgr -t=${THREAD_NO} -symmet...
true
a4ccc0a9c10fe8a4eebac3e56fdc4d447b6b14d7
Shell
robert-schmidtke/v8-travis
/fetch-v8.sh
UTF-8
1,833
2.921875
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash set -x # use ccache export PATH="/usr/local/opt/ccache/libexec:$PATH" # fetch V8 if necessary if [ ! -d "./v8build/v8" ]; then cd ./v8build # get the Google depot tools git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH=${PATH}:$(pwd)/depot_tools ...
true
64e38df6d5a59fd72f6ea5573997dcc238052553
Shell
OscarSLi/tor-traceroutes
/deprecated/reorg.sh
UTF-8
988
3.6875
4
[]
no_license
#-------------------------------------------------------------- # Purpose: (Deprecated) Reorganizes files copied from PL nodes # Execution: bash reorg.sh <DIRNAME> # Author: Oscar Li #-------------------------------------------------------------- DIRNAME=$1 # Reorganizes files cd "$DIRNAME" ls > nodes.txt while read ...
true
b97d82d3295ef0c5ef2972747ba71b380395e999
Shell
viscid-hub/mayavi-feedstock
/recipe/build.sh
UTF-8
362
2.953125
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash if [ "$(uname -s)" == "Darwin" ]; then $PYTHON setup.py install --single-version-externally-managed --record record.txt else USERNAME=$(id -u -n) # Xvfb :1 -screen 0 1280x1024x24 -auth localhost & # export DISPLAY=:1 $PYTHON setup.py install --single-version-externally-managed --record record.txt...
true
b95e44281f32420a3e338debff36fa30fb3a5b3e
Shell
phanirajl/amazon-keyspaces-examples
/java/datastax-v4/connection-lambda/2-deploy.sh
UTF-8
392
2.671875
3
[ "MIT-0", "Apache-2.0" ]
permissive
#!/bin/bash set -eo pipefail ARTIFACT_BUCKET=$(<bucket-name.txt) TEMPLATE=template.yml BUILD_TYPE=gradle echo "Building with $TEMPLATE..." ./gradlew build aws cloudformation package --template-file $TEMPLATE --s3-bucket $ARTIFACT_BUCKET --output-template-file out.yml aws cloudformation deploy --template-file out.yml -...
true
2e771caf97e470b76d12f732d75a284ab3e536e1
Shell
Ahmad-Shafique/General-purpose-programming
/PROGRAMMING/test/today1.12.2015.sh
UTF-8
122
3.21875
3
[]
no_license
#!/bin/bash clear echo "Enter a number" read input if test `expr $input % 2` -eq 0 then echo "Even" else echo "Odd" fi
true
e3d20e7f94c73ce4868a455fc6a8e8da8355f96e
Shell
rahpaere/pktgen
/stats.sh
UTF-8
228
3.21875
3
[]
no_license
#! /bin/sh gather () { ta=$tb pa=$pb tb=`date +%s.%N` pb=`cat /sys/class/net/eth1/statistics/rx_packets` } report () { echo "scale=9; ($pb - $pa) / ($tb - $ta)" | bc } gather while true do sleep 10 gather report done
true
ca73119cb3b91886a1a4196e6b696716d21e3c56
Shell
xMonny/Operating_systems_course
/Exercise-shell/05-b-4600.sh
UTF-8
346
3.65625
4
[]
no_license
#!/bin/bash if [ "$#" -ne 3 ]; then echo "Expect 3 arguments" exit 10 fi if ! [ "${1}" -eq "${1}" -o "${2}" -eq "${2}" -o "${3}" -eq "${3}" ] 2>/dev/null; then exit 3 fi NUMBER="${1}" LEFT="${2}" RIGHT="${3}" if [ "${LEFT}" -ge "${RIGHT}" ]; then exit 2 fi if [ "${LEFT}" -gt "${NUMBER}" -o "${NUMBER}" -gt "${R...
true
35edc5fcc104d78b1ba4822665c1486b98d1c29c
Shell
yijunyu/piStar
/tool/istar2/merge.sh
UTF-8
920
3.546875
4
[ "MIT" ]
permissive
#!/bin/bash if [ ! -d $1 ]; then echo Please first create models insider the $1 folder exit 0 fi #if [ -f $1.istar2 ]; then # read -p "The command will write to the file $1.istar2, which already exists, Are you sure to overwrite it? " -n 1 -r # echo # if [[ $REPLY =~ ^[Nn]$ ]]; then # exit 0 # fi #fi echo > /tmp/mer...
true
0318dcb942fd9b95e1558d87aab3f9efb24716a4
Shell
ccolorado/tooling_scripts
/scripts/greedydoc
UTF-8
2,646
4.59375
5
[]
no_license
#!/bin/bash # A greedy approach for searching directories code and documentation # this script helps search multiple directories with a single command # Each directory can costumize the way the search command given a # configuration mapping the required directory to a command template # Function to display usage inst...
true
ed5234e895abc106a487bdb82faca23833e16690
Shell
zhb339/book-learning
/操作系统/Linux/Linux程序设计/第2章_shell程序设计/case
UTF-8
123
2.984375
3
[]
no_license
#!/bin/sh echo "enter sss" read tt case "$tt" in yes) echo "aaa";; no ) echo "bbb";; * ) echo "sorry";; esac exit 0
true
c57be002d1b448535e836bb604f3007a1d325159
Shell
ramaxlo/dotfiles
/setup.sh
UTF-8
1,437
3.546875
4
[]
no_license
#!/bin/bash setup_bin() { echo "Setup bin" if [ ! -d ~/bin ]; then mkdir ~/bin fi cp -a bin/* ~/bin echo "Clone grabserial repo" git clone https://github.com/ramaxlo/grabserial.git cp grabserial/grabserial ~/bin rm -rf grabserial echo "Install go related binaries" tar Jxf go_bin.tar.xz -C ~/bin } setu...
true
0c1b33316b64e7f1cf50a5e11af6b3fc88c84640
Shell
making/terraforming-aws
/om/show-next-instructions.sh
UTF-8
1,474
3.09375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -eu source $(dirname "$0")/common.sh GUID=$(om \ --target "https://${OPSMAN_DOMAIN_OR_IP_ADDRESS}" \ --username "$OPS_MGR_USR" \ --password "$OPS_MGR_PWD" \ --skip-ssl-validation \ curl \ --silent \ --path "/api/v0/staged/products" \ -x GET \ | jq -r '.[] | selec...
true
2ee5ed02bfa7318c050baf3aea05594d182afd3e
Shell
rispoli/misc-scripts
/prelude.sh
UTF-8
428
3.34375
3
[]
no_license
#!/usr/bin/env bash set -o errexit # Force exit at the first error set -o nounset # Treat unset variables as an error set -o pipefail export PS4='+ ${FUNCNAME[0]:+${FUNCNAME[0]}():}line ${LINENO}: ' syslogname="$(basename "$0")[$$]" exec 3<> "/tmp/$0.$$.log" B...
true
5a502c9bbd1f378abb0138db6fe7b4ab2d22f170
Shell
ejconlon/lambdabot
/lambdabot/script/discover.sh
UTF-8
275
2.578125
3
[]
no_license
#!/bin/bash set -eux PROFILE="$1" REGION="$2" API_ID=$(aws apigateway get-rest-apis --profile ${PROFILE} --region ${REGION} | \ jq -r --arg name "lambdabot" '.items[] | select(.name == $name).id') echo "https://${API_ID}.execute-api.${REGION}.amazonaws.com/api"
true
5ee69dff4db2de2b888932a39a66029b3b62e897
Shell
jbw/dotfiles
/home/git/git-identity
UTF-8
807
3.640625
4
[]
no_license
#!/usr/bin/env bash # get each set of usernames from the git config (which will be generated from our `default.nix` above) IDENTITIES=$(git config --global --name-only --get-regexp "user.*..name" | sed -e 's/^user.//' -e 's/.name$//') # filter them with fzf ID=$(echo "${IDENTITIES}" | fzf -e -1 +m -q "$1") if ! git co...
true
078f6a7aee88fe8fa2246f97ee08009ecc8a5a31
Shell
wenjingn/zhanhd-game
/zhanhd/shell/install/start.sh
UTF-8
660
2.5625
3
[]
no_license
#!/bin/bash if [ -z $1 ]; then cat <<eof /usr/local/php/bin/php /data/php/games/system/serve --appdir=/data/php/games/zhanhd \ --host=0.0.0.0 --port=8000 --monitor=9000 --host6=:: --port6=8000 --verbose=0 --worker-num=8 --task-worker-num=8 \ --logfile=/data/php/log/zhanhd.log --daemonize=1 eof else node=$1 port=$(($nod...
true
f42d547d5d0671e997a32001160b787f0118b717
Shell
huangyoje/trace-vs
/bin/start.sh
UTF-8
3,590
4.25
4
[]
no_license
#!/usr/bin/env bash BASE_DIR=$(dirname "$0") LOGS_DIR=$BASE_DIR/../logs UNIT_TIME=5 CHECK_COUNT=36 CLOSE_WAIT_TIME=`expr $UNIT_TIME \* $CHECK_COUNT` tracer=$1 $BASE_DIR/start-${tracer}.sh function func_check_process { echo "---check $1 process status.---" pid=`cat $PID_DIR/$PID_FILE 2>/dev/null` ...
true
d29635ed5e4ae0d7345661cf0ce727a6d7236b60
Shell
fernandomayer/R-config-files
/knitr-pdflatex.sh
UTF-8
605
2.953125
3
[]
no_license
#!/bin/bash ## Run knitr and pdflatex sequentially BASENAME=$(basename $1 .Rnw) echo echo ------------------------------------------------------------------- echo Run knitr in $BASENAME.Rnw echo ------------------------------------------------------------------- echo RNWFILE=$BASENAME.Rnw Rscript -e "knitr::knit(\"$...
true
bad6241a2262b88f31b24195c62d76db5f5bfdf0
Shell
nulldriver/cf-cli-resource
/spec/ssh/allow-disallow-space-ssh_spec.sh
UTF-8
1,435
2.875
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env shellspec set -euo pipefail Describe 'ssh' setup() { org=$(generate_test_name_with_spaces) space=$(generate_test_name_with_spaces) source=$(get_source_config "$org" "$space") || error_and_exit "[ERROR] error loading source json config" test::login test::create_org_and_space "$o...
true
e2e41583e95f937b69ed7d3b72f3990a29377536
Shell
PXLbros/pxl-web-vagrant
/provision/databases/mysql.sh
UTF-8
4,225
3.40625
3
[]
no_license
#!/bin/bash export LOG_FILE_PATH=databases/mysql.log . /vagrant/provision/helpers/include.sh title "MySQL" MYSQL_CONFIG_PATH=/etc/mysql/mysql.conf.d/mysqld.cnf MYSQL_ROOT_USER=root MYSQL_ROOT_PASSWORD=root MYSQL_USER_NAME=vagrant MYSQL_USER_PASSWORD=vagrant # MYSQL_VERSION="8" if ! grep -qF "MYSQL_USER_NAME" /h...
true
3b875ac668cad9d50efc69143e3b0b2b6f9abf30
Shell
shotanue/vv
/vv_services/movie_service/scripts/build_proto.sh
UTF-8
413
2.609375
3
[]
no_license
#!/usr/bin/env bash PROJECT_ROOT=${PROJECT_ROOT} if [[ ${PROJECT_ROOT} == "" ]]; then echo '${PROJECT_ROOT} is required.' exit; fi PROTOBUF_DIR=${PROJECT_ROOT}/internal/app/interface/rpc/v1/protocol PROTOBUF_FILE=${PROTOBUF_DIR}/movie.proto #MOVIE_SERVICE=${PROJECT_ROOT}/internal/app/interface/rpc/v1 # gola...
true
95b87d92156d6f4201db4b81bbad4c421e484484
Shell
kukrimate/projects
/osdev/osldr/scripts/check_copyright
UTF-8
354
2.703125
3
[ "ISC" ]
permissive
#!/bin/sh # Linker scripts, C files and headers for i in `find -name *.h -or -name *.c -or -name *.ld`; do scripts/copyright_header -t c $i || scripts/copyright_header -u -t c $i done # Assembly files and include files for i in `find -name *.asm -or -name *.inc`; do scripts/copyright_header -t nasm $i || scripts/co...
true
4d36a1f214c6b844a9cbe958d166973fd6724ab4
Shell
dmage/ocdev
/snippets/check/cluster-is-stopped
UTF-8
399
3.53125
4
[]
no_license
#!/bin/bash set -eu # OCDEV HELP: Check that the cluster is stopped. if oc status >/dev/null 2>&1; then echo "Expected a stopped cluster, but your cluster is running." >&2 if [ -n "${OCDEV_FORCE_CLUSTER_IS_STOPPED-}" ]; then exit 0 fi echo >&2 echo "You may set the environment variable OCD...
true
248fdd356a5dc134ef5ba68eb5024e4863bd6cf5
Shell
nkinkade/ndt-support
/init/stop.sh
UTF-8
490
2.546875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash sudo -s <<\EOF source /etc/mlab/slice-functions if pgrep -f ndtd &> /dev/null ; then echo "Stopping ndtd:" pkill -KILL -f ndtd rm -f /var/lock/subsys/ndtd fi if pgrep -f fakewww &> /dev/null ; then echo "Stopping fakewww:" pkill -TERM -f fakewww rm -f /var/lock/subsys/fakewww fi ...
true
e143808061b3ea4b62a041e19afa2e023ed7b12d
Shell
jkothuru/Devops_labs
/labs/jenkins/setup-Jenkins.sh
UTF-8
1,634
2.859375
3
[]
no_license
#!/bin/bash sudo apt install -y unzip wget #Install JAVA #sudo add-apt-repository ppa:webupd8team/java #sudo apt-get update #apt-get install -y oracle-java8-installer sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install -y openjdk-8-jdk #Install Jenkins wget -q -O - h...
true
282907f5ba8327372eb39cf67bdcb1e6047f28bf
Shell
esmi/op2ls
/wns/wns_include.sh
UTF-8
1,863
3.953125
4
[]
no_license
#!/bin/bash # # FILE: wns_include.sh # defined() { if (( $# != 1 )) then error "defined accepts exactly one argument" fi if [ -n "${!1}" ] then return 0; else return 1; fi } pushd() { builtin pushd ${@} > /dev/null } popd() { builtin popd ${@} > /dev/null } readonly -f defined pushd popd export -f d...
true
9b60750fab33ec60c7c7889851e6df72453da8d2
Shell
dkgroot/DPorts
/net/exaddos/files/exaddos.in
UTF-8
1,160
3.34375
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh # $FreeBSD: head/net/exaddos/files/exaddos.in 345266 2014-02-20 21:06:43Z zi $ # # PROVIDE: exaddos # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following line(s) to /etc/rc.conf to enable exaddos: # # exaddos_enable="YES" . /etc/rc.subr name=exaddos rcvar=exaddos_enable load_rc_config $name exaddos_...
true
234b307e7dd1f3d7f370a9a4285bedc7f25e93ea
Shell
fedorova/perf-logging
/trace-processing/text-to-synoptic.sh
UTF-8
245
3.046875
3
[]
no_license
#!/bin/sh if [ -z ${SCRIPTS_HOME} ]; then SCRIPTS_HOME=${HOME}/Work/WiredTiger/perf-logging/trace-processing fi for file in "$@"; do ${SCRIPTS_HOME}/timing_to_synoptic.py $file ${SCRIPTS_HOME}/run-synoptic.sh ${file}.synoptic done
true
b98a89090e4dd68c7ff2db8dd2b0c2d166b63eb7
Shell
apire001/UNIXSystemAdministration
/lab2/part3.sh
UTF-8
656
3.5625
4
[]
no_license
#!/bin/bash log=$(find /home/andy/lab2 -name 'uptime.*') if [ -e "$log" ]; then awk 'NF>1{print $NF}' /home/andy/lab2/uptime.log > temp.txt line=$(cat temp.txt | wc -l) lastword=$(sed -n ${line}p < temp.txt) rm temp.txt fi found="found" lost="lost" path=$(find /home/andy/lab2 -name lab2-test) date=$(dat...
true
f57ef85b8583c1a1170197d9a8988761b212487f
Shell
Jenny-Nelson-Group/gaussian_scripts_TDDFT
/write_ginput.sh
UTF-8
18,061
3.796875
4
[]
no_license
#!/bin/bash ################################### ### Alise Virbule, 1st May 2016 ### ################################### ### Based on Jarv's launch_coms ### ################################### #################################################### ################ FILE PATHS ###################### #the paths can't be ...
true
b46c8f538bd322157178b559b21b4b9dad0c3ed1
Shell
christofferivano/soal-shift-sisop-modul-1-D05-2021
/soal3/soal3c.sh
UTF-8
2,326
3.046875
3
[]
no_license
#!/bin/bash gambar_kucing() { mkdir "/home/amanullahd/Kucing_$(date +"%d-%m-%Y")" cd "/home/amanullahd/Kucing_$(date +"%d-%m-%Y")" for ((num=1; num<=23; num=num+1)) do if [ $num -le 9 ] then wget -a Foto.log https://loremflickr.com/320/240/kitten -O "Koleksi_0$num" else wget -a Foto.log https://loremflickr.com/320/24...
true
5e39d5700f8a42d24b9e68e35fe982a64a729b50
Shell
kalevalp/watchtower-experiments
/collision-count/scripts/run.sh
UTF-8
1,556
3.1875
3
[]
no_license
#! /bin/bash export resdir=results$(date +%Y%m%d%H%M%S) mkdir "${resdir}" echo '#####################################################' echo '#######' Running collision count microbenchmark '#######' echo '####### ' output dir is ${resdir} '#######' echo '#####################################################'...
true
7e5424101606a62f46ca73fc91c886617f38c99d
Shell
xmanatee/algo
/link-cut-max-flow/debugging/pathnode_test_script.sh
UTF-8
353
2.875
3
[]
no_license
#!/bin/bash name="pathnodetest" files="$name.cpp" files="$files" for i in linkcut/*.cpp do files="$files $i" done g++ -std=c++11 -O3 tests/pathnodetestgen.cpp -o q_g g++ -std=c++11 -O3 $files -o q_pn echo "COMPILED" echo "gen : " time ./q_g $1 $2 $3 > f_pn_test echo "" echo "pn : " time ./q_pn< f_pn_test >...
true
c45028abf96713c6c1d0db804112be9d6080120a
Shell
But-I-Play-One-On-TV/sra-tools
/test/tarballs/test-tarballs.sh
UTF-8
4,284
3.5625
4
[ "LicenseRef-scancode-us-govt-public-domain", "LicenseRef-scancode-ncbi", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash # =========================================================================== # # PUBLIC DOMAIN NOTICE # National Center for Biotechnology Information # # This software/database is a "United States Government Work" under the # terms of the United States Copyright A...
true
9f9ab385f380974872c12453f2591058b31535d3
Shell
petronny/aur3-mirror
/sub3dtool/PKGBUILD
UTF-8
484
2.796875
3
[]
no_license
# Maintainer: Eero Molkoselka <molkoback@gmail.com> pkgname=sub3dtool pkgver=0.4.2 pkgrel=1 pkgdesc="Convert subtitle files to 3D" url="https://code.google.com/p/sub3dtool/" arch=('any') license=('GPL') makedepends=('gcc') source=("https://sub3dtool.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") md5sums=('04908035...
true
2f802b5a9cacd37e886c8d7c7bc9691037b32574
Shell
kodx/dotfiles
/bin/xdg-video.sh
UTF-8
1,170
3.71875
4
[]
no_license
#!/bin/sh # $1 - action # $2 - type of file action=$1 filetype=$2 player=mpv [ -n "${MC_XDG_OPEN}" ] || MC_XDG_OPEN="xdg-open" do_view_action() { filetype=$1 case "${filetype}" in *) #mplayer -identify -vo null -ao null -frames 0 "${MC_EXT_FILENAME}" 2>&1 | \ #sed -n 's/^ID_//p' ...
true
6c4ffdd81d65d2fac956ee6ed4b0ca3893299765
Shell
FelixOfficial/Pixie
/04_Software/05_Deliverables/StartPixie.sh
UTF-8
365
2.921875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash PARENT_DIR=$(dirname "$0") platform='unknown' unamestr=`uname` if [[ "$unamestr" == 'Linux' ]]; then platform='linux' java -Dlogback.configurationFile=./cfg/logbackRelease.xml -jar bin/Pixie.jar elif [[ "$unamestr" == 'Darwin' ]]; then platform='Mac' java -Dlogback.configurationFile=./...
true