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
1aedf354556e17b4cc9a7b8ce5d15e6de5f4438c
Shell
grom72/2021-04-21
/examples/J/scripts/run_E.sh
UTF-8
306
2.765625
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash -ex # # shell commands to run E_recordlog # # remove any leftovers from previous runs rm -f /pmem/E_recordlog # first run (no pmem file has been created yet) ./scripts/runE # show the pmem file that was created ls -l /pmem/E_recordlog # second run (pmem file exists already) ./scripts/runE
true
b019bf20bfc03563746c4608bd01ead25449f28f
Shell
RutujaBiradar/Hello
/fileexist.sh
UTF-8
124
3.15625
3
[]
no_license
#! /bin/bash echo "Enter a name:\c" read fname if[ -f $fname ] then echo "file exist" else echo "create file" fi
true
5345b03e59d1d11395f779699225185ee2ea5052
Shell
chieping/dotfiles
/dot_tig_functions.sh
UTF-8
193
3.140625
3
[]
no_license
#!/bin/bash print_and_copy() { tee >(copy) echo } copy() { if type xclip >/dev/null 2>&1; then xclip -selection clipboard elif type pbcopy >/dev/null 2>&1; then pbcopy fi }
true
8dd0f6bdb4dedec817337fba82dda4d0cd856562
Shell
asiegman/redshift-demo
/cf.sh
UTF-8
1,004
3.515625
4
[]
no_license
#!/bin/bash -e set -e CFFILE=file://cf-redshift.yaml STACK=testredshift function validate { aws cloudformation validate-template --template-body ${1} } function create { aws cloudformation create-stack --stack-name ${STACK} \ --template-body ${CFFILE} \ --timeout-in-minutes 30 \ --on-...
true
32c595401729de4ed5f5735a7148161497836caf
Shell
iXit/Mesa-3D
/.gitlab-ci/container/build-deqp-runner.sh
UTF-8
785
3.03125
3
[]
no_license
#!/bin/sh set -ex if [ -n "${DEQP_RUNNER_GIT_TAG}${DEQP_RUNNER_GIT_REV}" ]; then # Build and install from source DEQP_RUNNER_CARGO_ARGS="--git ${DEQP_RUNNER_GIT_URL:-https://gitlab.freedesktop.org/anholt/deqp-runner.git}" if [ -n "${DEQP_RUNNER_GIT_TAG}" ]; then DEQP_RUNNER_CARGO_ARGS="--tag ${DE...
true
c96d5b2d85326ecd44d64b0f54fbe6f09d4de458
Shell
zulip/zulip
/tools/ci/setup-backend
UTF-8
628
3.90625
4
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
#!/usr/bin/env bash set -e set -x # This is just a thin wrapper around provision. # Provisioning may fail due to many issues but most of the times a network # connection issue is the reason. So we are going to retry entire provisioning # once again if that fixes our problem. tools/provision "$@" || { ret=$? if...
true
6efe18985e76511224743427985f5287abc62a73
Shell
jamestomasino/dotfiles
/bash/.bash_profile.d/functions/flog
UTF-8
728
3.921875
4
[ "Unlicense" ]
permissive
#!/usr/bin/env bash # fshow - git commit browser (enter for show, ctrl-d for diff, ` toggles sort) flog() { local out shas sha q k while out=$( git log --graph --color=always \ --format="%C(auto)%h%d %s %C(black)%C(bold)%cr" "$@" | fzf --ansi --multi --no-sort --reverse --query="$q" \ --print...
true
bf36ceb7bd928807e60d5b20164952c77bb10f92
Shell
anandray/devops
/scripts/systems/anand/systems/syslogchk-log6c-bash.sh
UTF-8
662
2.828125
3
[]
no_license
#!/bin/bash YEAR=`date +%Y` MONTH=`date +%m` DAY=`date +%d` HOUR=`date +%H` MIN=`date +%M` # LOG = /disk1/log/$YEAR/$MONTH/$DAY/$HOUR$MIN.log for i in {1..10}; do stat /disk1/log/$YEAR/$MONTH/$DAY/$HOUR$MIN.log | grep Modify | grep "`date +'%Y-%m-%d %T'`"; sleep .1 done for i in {1..10}; # TRACK = /disk1/log/$YEAR/$...
true
f1db5ba96bf1017755254782767cba3268d0ddf2
Shell
hualaw/ServerWebkit
/bin/startwebkit.sh
UTF-8
127
2.5625
3
[]
no_license
#!/bin/bash if [ ! -d /tmp/qtembedded-0 ] then mkdir -p /tmp/qtembedded-0 fi chmod 700 /tmp/qtembedded-0 ./webkit $1 $2 &
true
a41d7b14c2a4a1e75506330e5f6d8164e26f56be
Shell
sonologic/pabcast
/run.sh
UTF-8
654
3.3125
3
[]
no_license
#!/bin/bash source="alsa_input.pci-0000_00_14.2.analog-stereo" dumpdir="/home/gmc/streamdump" ezstreamcfg="/home/gmc/stream/test.xml" title="Live broadcast" artist="http://signal.hackerspaces.org/" album="Signal" record(){ while [ 1 ]; do file="${dumpdir}/raw-`date +%Y-%m-%d-%H%M%S`.wav" echo "Recording ...
true
2dee2e1f8bc1a77ae046228b49985e94c96343a3
Shell
YuukanOO/drone_ynh
/scripts/install
UTF-8
5,885
3.640625
4
[]
no_license
#!/bin/bash #================================================= # IMPORT GENERIC HELPERS #================================================= source _common.sh source /usr/share/yunohost/helpers app=$YNH_APP_INSTANCE_NAME final_path=/opt/yunohost/$app ynh_clean_setup () { true } # Exit if an error occurs during the e...
true
8381990548e8476c74490d7d030f4d2da5e1128e
Shell
mannepanne/hdp_stuffs
/hdp_prep_slaves.sh
UTF-8
1,389
2.953125
3
[]
no_license
#!/usr/bin bash # MANUAL PREPARATION WORK: # Login to AWS EC2 Zone (eu-west my preference) # Configure 3 (minimum, because Zookeeper quorum needs) Instances of Centos 7 HVM # (Tried RHEL 7.4 at first, but turned out to miss certain things like wget and libtirpc-devel - easy to install but why) ### t2.xlarge (smallest s...
true
f1ed15877e5a65c2ecf26f4551057dcfb0ba754b
Shell
spiralofhope/shell-random
/live/sh/functions/youtube-download-skeleton.sh
UTF-8
338
2.953125
3
[]
no_license
#!/usr/bin/env sh # Download just a YouTube video's skeleton; no video: # - General info # - Thumbnail # - Description # - Comments youtube_download_skeleton() { # Set the terminal title \printf '\033]0;...\007' \youtube-download.sh "$@" --skip-download # Restore the terminal title \cd . ...
true
1364fa152ceb7967c7ed36973ca70989c14a49a3
Shell
ageri/custom-labs
/scripts/docker/ubuntu-bionic64.sh
UTF-8
677
3
3
[ "MIT" ]
permissive
#!/bin/bash echo "UBUNTU BIONIC64 - DOCKER" echo "1. Installing dependencies." sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y echo "2. Adding GPG Key." curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - echo "3. Adding repository." sud...
true
6ce4cfe8723e69333b5517b2918f14fcae7adbf6
Shell
conda-forge/ctng-compilers-feedstock
/recipe/install-libgcc.sh
UTF-8
2,665
3.34375
3
[ "BSD-3-Clause", "BSD-2-Clause", "GCC-exception-3.1", "GPL-3.0-only" ]
permissive
set -e -x export CHOST="${gcc_machine}-${gcc_vendor}-linux-gnu" # libtool wants to use ranlib that is here, macOS install doesn't grok -t etc # .. do we need this scoped over the whole file though? #export PATH=${SRC_DIR}/gcc_built/bin:${SRC_DIR}/.build/${CHOST}/buildtools/bin:${SRC_DIR}/.build/tools/bin:${PATH} pus...
true
7039ef54da5c82137d3ea2a88920fc73271de79e
Shell
Azure-Samples/azure-intelligent-edge-patterns
/remote-patient-monitoring-edge-demo/test.sh
UTF-8
6,017
4.15625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash ################################################################################ # IMPORTANT - READ ME # # Use at your own risk! # # This is a developer tool for performing end-to-end tests of this solution. # Some usage instruction is included, but YOU are responsible for understanding # what t...
true
ac16f6dc0c76b6dd3d91f28a195f9aec875f5c55
Shell
dgleba/vamp206a
/mate/createvboxmatev2.sh
UTF-8
1,335
2.609375
3
[ "MIT" ]
permissive
:create vbox empty... linux #: this is a linux script file. #: edit paths and names throughout this file... # get random mac addr #:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #:create the vm vboxmanage createvm --name redekmatev2 --ostype Ubuntu_64 --register vboxmanage modifyvm redekmatev2 --memory 1212 -...
true
62db55bf4363dd9deefa6ce5b224f3322fe6bbe5
Shell
wesm/zlib-feedstock
/recipe/build.sh
UTF-8
244
2.671875
3
[ "Zlib", "BSD-3-Clause" ]
permissive
#!/bin/bash ./configure --shared --prefix=$PREFIX make make check make install # Remove man files. rm -rf $PREFIX/share # Copy license file to the source directory so conda-build can find it. cp $RECIPE_DIR/license.txt $SRC_DIR/license.txt
true
7bd94aa5306e377c681c97a57c3efe60e8a84311
Shell
mba811/manager-for-upyun
/nodebob/build.linux.sh
UTF-8
1,236
2.875
3
[ "MIT" ]
permissive
#!/bin/bash -e echo "nodebob v0.1" echo "---" echo CUR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo "Creating bundle for linux-ia32..." mkdir -p release.linux-ia32 rm -f release.linux-ia32/app.nw zip -b app -r release.linux-ia32/app.nw app/* cat buildTools/nw.linux-ia32/nw release.linux-ia32/app.nw > ...
true
fc87641e6a0bd60a2654c08f1d37c421b1188462
Shell
RenShuhuai-Andy/WMT18-English-Chinese-Machine-Translation
/process.sh
UTF-8
630
2.59375
3
[ "MIT" ]
permissive
TEXT=data/wmt18_en_zh DICT=$1 case $DICT in disjoint) fairseq-preprocess \ --source-lang en --target-lang zh \ --trainpref $TEXT/train --validpref $TEXT/dev \ --testpref $TEXT/test \ --nwordssrc 32768 --nwordstgt 32768 \ --destdir data/data-bin-disjoint \ --workers 20 ;; joint) fairse...
true
8e51773427ef14072b717f4a533c70aed7e64d26
Shell
kubevirt/project-infra
/hack/generate-prow-debug-kubeconfig.sh
UTF-8
2,277
3.859375
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # based on # https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/#to-create-additional-api-tokens # we create a new token for the service account from which we generate a new KUBECONFIG # we use cluster and context definitions from the currently used KUBECONFIG set -x set...
true
e3252b6ea6f7f0305791a4e8e5b8d1e754c2c2dd
Shell
AndrewSB/dotfiles
/githooks/pre-commit
UTF-8
959
4.03125
4
[]
no_license
#!/bin/sh # Check if the commit message contains the string if git diff --cached --diff-filter=ACMR | grep -q "/*========== Copilot Suggestion"; then echo "Error: Commit contains Copilot suggestions generated by Copilot for Xcode." exit 1 else # Run local pre-commit hook if exists if [ -e ./.git/hooks/pre-comm...
true
56e2945c7fed1e18cade97ae68d193d32e095fed
Shell
astrocatalogs/supernovae
/scripts/repo-status.sh
UTF-8
153
2.9375
3
[ "MIT" ]
permissive
#!/bin/bash repos=($(awk -F= '{print $1}' rep-folders.txt)) echo ${repos[*]} cd .. for repo in ${repos[@]}; do cd ${repo} pwd git status cd .. done
true
3334ab201cdb60317130817180c6ec298d13865d
Shell
raihaninfo/Shell-Scripting
/bin/read_with_printf.sh
UTF-8
113
2.765625
3
[]
no_license
#!/bin/bash # echo "Enter your value" printf "Enter your value : \n" read x echo "The variable x value is : $x"
true
486e4310db13c2142d9336260ef824e4022c76cc
Shell
carze/vappio
/vappio-install/recipes/shockandawe.sh
UTF-8
2,902
3.15625
3
[]
no_license
#!/bin/bash DATE=`date +"%Y.%m.%d"` # git is needed to pull down shockandawe apt-get -y install git-core ####################### # postgresql ####################### apt-get -y install postgresql-8.4 apt-get -y install postgresql-contrib-8.4 # Because we want to have a password-less login we have to export a custom...
true
cb6ac0f4f11763a17fdf32bc701059dc8c6e0212
Shell
jsonn/src
/share/examples/emul/svr4/etc/SVR4_MAKEDEV
UTF-8
3,309
3.296875
3
[]
no_license
#!/bin/sh - # $NetBSD: SVR4_MAKEDEV,v 1.10 2007/07/05 19:34:36 dsl Exp $ # # Copyright (c) 1995 Christos Zoulas # All rights reserved. # # 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 cod...
true
a2491e77829926b43e3e26157c3bbe45fc1a67ea
Shell
govenv/govenv
/test/which.bats
UTF-8
4,219
3.390625
3
[ "MIT" ]
permissive
#!/usr/bin/env bats load test_helper create_executable() { local bin if [[ $1 == */* ]]; then bin="$1" else bin="${GOVENV_ROOT}/versions/${1}/bin" fi mkdir -p "$bin" touch "${bin}/$2" chmod +x "${bin}/$2" } @test "outputs path to executable" { create_executable "2.7" "python" create_executable "3.4...
true
52f786bce75652709b0a2d99e4d1e2c51cb5f5d8
Shell
r-ash/scripts
/eps2svg
UTF-8
629
4.125
4
[]
no_license
#!/bin/bash set -e usage() { echo "$(basename "$0") [-h] [-i] [-o] -- programe to convert eps file to svg. You must have ghostscript installed so ps2pdf is available and pdf2svg installed This is just a wrapper around those 2 functions to do it in one call where: -h display this page -i input file -o ...
true
991143e2e1d179bc0f0cdaf86112d87ab165090d
Shell
n2iw/Invariant-tools
/check_merge.sh
UTF-8
367
3.203125
3
[]
no_license
#!/usr/local/bin/bash for i in {1..27}; do echo buggy_$i files=$(colordiff -qr buggy_$i/src fix_$i/src | cut -f 4 -d " " | cut -d "/" -f2-100) good="Good to go" for f in $files; do #echo $f colordiff -qr merged2/$f fix_$i/$f if [ $? -ne 0 ]; then good="Different" fi done echo buggy_$...
true
51877e0d86746646dfb8d4f20f92b356d17cced0
Shell
Roobles/LibRooBash
/ifconfig
UTF-8
305
3.140625
3
[]
no_license
#!/bin/bash ETH_CMD=(interface) case "$#" in 0) ;; 1) case "$1" in addresses) ETH_CMD+=(-t $1) ;; interfaces) ETH_CMD+=(-t $1) ;; *) ETH_CMD+=(-t addresses -i $1) esac ;; *) ETH_CMD+=($@) ;; esac eval ${ETH_CMD[@]}
true
8b85d446b468ef2951d3c7ce5b58bef75f220987
Shell
weahead/cli
/app/npm/init
UTF-8
789
3.734375
4
[ "X11", "MIT" ]
permissive
#!/usr/bin/env bash set -e ROOT_DIR=$(dirname "$(perl -e 'use Cwd "abs_path"; print abs_path(shift)' "$0")") . "${ROOT_DIR}/../../utils" PROJECT_DIR=$(wa_project_dir) if ! wa_image_name | grep "weahead\\/nodejs" 1>/dev/null 2>&1; then echo "Project not based on a 'weahead/nodejs' image." echo "Check 'FROM'...
true
8103481e50a7fa9e4ce4aff54762b480e1a2c992
Shell
KangLin/RabbitThirdLibrary
/build_script/build_boost.sh
UTF-8
4,397
3.765625
4
[]
no_license
#!/bin/bash #作者:康林 #参数: # $1:编译目标(android、windows_msvc、windows_mingw、unix) # $2:源码的位置 #运行本脚本前,先运行 build_$1_envsetup.sh 进行环境变量设置,需要先设置下面变量: # BUILD_TARGERT 编译目标(android、windows_msvc、windows_mingw、unix) # RABBIT_BUILD_PREFIX=`pwd`/../${BUILD_TARGERT} #修改这里为安装前缀 # RABBIT_BUILD_SOURCE_CODE #源码目录 # RAB...
true
283a3b496a3a27340c5b22ac2c60454b82962298
Shell
delkyd/alfheim_linux-PKGBUILDS
/dustforce-hib-dustmod/dustforce-dustmod
UTF-8
554
3.78125
4
[]
no_license
#! /usr/bin/env sh # Dustmod segfaults when it can't write to its install dir, so it's horrible # hack time: create a temp dir, symlink all the game files to it, and run from # there temp_dir= cleanup () { test -n "$temp_dir" && rm -rf "$temp_dir" exit "$1" } trap 'cleanup 1' INT TERM temp_dir="$(mktemp -d...
true
e3c44d39e3019ae5f802ffc59e97c818a0480989
Shell
jesseDMoore1994/RPi-Cpp-Toolchain
/toolchain/docker/merged/cross-build/install-scripts/scipy.sh
UTF-8
1,212
3.140625
3
[]
no_license
#!/usr/bin/env bash # https://gist.github.com/benfogle/85e9d35e507a8b2d8d9dc2175a703c22 #################### # Script to build numpy and scipy wheels for ARM. set -ex GFORTRAN=${HOST_TRIPLE}-gfortran BUILD_PYTHON=`which python3.9` HOST_PYTHON="${RPI_SYSROOT}/usr/local/bin/python3.9" SYSROOT="${RPI_SYSROOT}" scipy...
true
f8cda06d64548ec2504a1c9f30aa09592f90dfa0
Shell
maxus266/networkservicemesh
/scripts/vagrant/scripts/load_images.sh
UTF-8
161
3.09375
3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash if [ -d "/vagrant/images" ]; then for i in /vagrant/images/*; do echo "Loading into docker: $i" docker load -i "$i" done fi
true
da59bf605462638e977bbb439198085ed86a987b
Shell
guowenjian90/dotfiles
/install.sh
UTF-8
2,854
2.6875
3
[]
no_license
# brew install wget # brew install curl echo "Reinstall tmux" sudo apt --reinstall install tmux # brew install tmux echo "Reinstall bat" sudo apt --reinstall install bat # brew install bat echo "Reinstall fzf" sudo apt --reinstall install fzf # brew install fzf echo "Reinstall ag" sudo apt --reinstall install silve...
true
02a30898dfdadd94a27faee0453407aa91b0e93e
Shell
jakutis/dotfiles
/bin/online
UTF-8
432
3.671875
4
[]
no_license
#!/usr/bin/env bash PROTOCOL="$1" HOST="$2" if [ "$PROTOCOL" = "http" -o "$PROTOCOL" = "https" ] then while true; do sleep 1 && echo OK GO && wget "${PROTOCOL}://${HOST}/" -O /dev/null || break; done; elif [ "$PROTOCOL" = "icmp" ] then while true; do sleep 1 && echo OK GO && ping -D -O -c 3 -W 3 -U -v "$HOST" || ...
true
6a0f61d872a68392dc9e913360a5d657baf76fcb
Shell
cash2one/xiaodu
/monitor2/create_data_for_news.sh
GB18030
1,365
3.296875
3
[]
no_license
#!/bin/bash #ʱΪnewsƵ set -x host=`hostname | awk -F "\.baidu\.com" '{print $1}'` today=`date +%Y%m%d` MAILLIST=$(head -n 1 ../share/mail.conf) MAILLIST=wangweixin@baidu.com #õtitle_metadataĿ CONF_NAME=indexdb.conf CONF_PATH=../conf/ page_table_num=`grep 'page_table_num' ${CONF_PATH}${CONF_NAME} | awk -F ":" '{print ...
true
a29b7b2b6301a70d8a5769fa5d86665018cb8853
Shell
julia-allyce/streaking
/commit.sh
UTF-8
352
3.03125
3
[]
no_license
#! /bin/bash rm -rf streaking git clone "https://${GITHUB_TOKEN}@${GITHUB_REPO}" cd streaking git config user.name "Julia Allyce" git config user.email ${EMAIL} COUNTER=0 DAY=$(date +%u) while [ $COUNTER -lt $DAY ]; do echo "lol" >> README.md git add README.md git commit -m "killin' it" let COUNTER=...
true
19b3b3203412f4a344da7063598e4c3d544da535
Shell
dsouzarohan06/miscellaneous_scripts
/jumpboxes
UTF-8
1,013
3.421875
3
[]
no_license
#!/bin/bash passwd="<Enter password here>" # You can add the encrypted password here using: `echo "password" | openssl enc -base64 -e` and then use -d flag to decrypt the encrypted text # Eg. passwd=`echo "asfadsgfsdg" | openssl enc -base64 -d` ping $1 -c 1 -q >> /dev/null 2>&1 if [ "$?" -ne "0" ]; then echo "Jumpbo...
true
543a002c6dfdc180f1add7f689a2974176bb1f9f
Shell
mateuadsuara/env-setup
/bin/gl
UTF-8
1,130
3.921875
4
[]
no_license
#!/bin/bash while getopts d:b:r:t: option do case "${option}" in d) DIFF=${OPTARG};; b) BRANCHES=${OPTARG};; r) REMOTES=${OPTARG};; esac done if [[ ! -z "$BRANCHES" ]] then FILTERS="${FILTERS} --branches=*${BRANCHES}*" fi if [[ ! -z "$REMOTES" ]] then FILTERS="${FILTERS} --remotes=*${REMOTES}*" fi if [ -z "$FIL...
true
1555e019a79de05383da7ec9de47d63cfe85f3df
Shell
dochead/dotfiles
/zsh/zsh_aliases.zsh
UTF-8
6,824
2.609375
3
[ "MIT" ]
permissive
alias edal='code ~/dotfiles/zsh/zsh_aliases.zsh' alias edz='code ~/.zshrc' alias edbrew='code ~/Brewfile' alias edssh='code ~/.ssh/config' alias reload!='. ~/.zshrc' alias gcd='git checkout develop' alias gmod='git merge origin/develop' alias gfb='git checkout -b feature/' function gpp() { git add -A . git com...
true
2f0f86395073d5a70458659f6be2caa21280dedd
Shell
wanglixiang90/shellGlobStar
/src/find/find-regex.sh
UTF-8
224
2.875
3
[]
no_license
declare currentFolder=$(cd `dirname $0`;pwd) #$0表示当前shell文件 #到当前目录中 # filelist=$(find $currentFolder -regex .*.sh) filelist=`find $currentFolder -regex .*.sh` echo "regex文件查询结果:"$filelist
true
12d882f9b67f52ca088ae1ebe516f83f7abf4d3f
Shell
arashicage/dedup-shell
/01_prep_data.sh
UTF-8
194
2.625
3
[]
no_license
#! /bin/bash for i in $(seq 1 100) do i_with_prefix_zero="key"$(echo $i |awk '{printf("%04d\n",$0)}') redis-cli -c hmset "04:"$i_with_prefix_zero h1 1 h2 2 h0001 1 h0002 2 > /dev/null done
true
11f5ba74c143bad843cbcc1d6388360ebe038091
Shell
spacegoing/GitConfig
/.bin/tmux/tsgs/tsg_richrl_v2
UTF-8
896
2.734375
3
[]
no_license
#!/bin/bash # Get current window size X="$(tput cols)" Y="$(tput lines)" Y="$(( $Y-1 ))" # create pytorch sessions tmux new -s e -n e -x $X -y $Y -d tmux send -t e:e 'emacs' C-m tmux new-window -n run -d tmux send -t e:run 'cd ~/current_dev' C-m # create run sessions tmux new -s r -n r -x $X -y $Y -d # cd to current...
true
fa51ad0b52ba074bd4f3c32e3d12e60224b6b7df
Shell
razorinc/fata-morgana
/test/data/www-dynamic/openshift/hooks/copy-scaffolding
UTF-8
2,464
3.40625
3
[]
no_license
#!/bin/bash # #-- # Copyright 2010 Red Hat, Inc. # # 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, ...
true
6065d584815f105e56c8cf2a9f813bd2f0f8ddb7
Shell
yhli1016/misc
/templates/qe/run_plotband.sh
UTF-8
281
3.109375
3
[]
no_license
#! /bin/bash function plotband() { cat > plotband.in << EOF bndstr.dat bndstr.pd 1 $1 1.889726125 EOF plotband.x < plotband.in > plotband.out wait } topdir=$(pwd) for i in $(seq 1 10); do cd $topdir/$i vbm=$(grep occupied scf.out | awk '{print $5}') plotband $vbm done
true
2d245bff97b02f8eaeac7354ebb16eb30e3818f7
Shell
zhmch/packer-ng-reinforce
/start.sh
UTF-8
1,388
3.390625
3
[]
no_license
#!/bin/bash source packer.config echo "==========输出配置信息==========" echo $INPUT_APK_PATH echo $KEYSTORE_PATH echo $KEYSTORE_PASSWORD echo $KEYSTORE_ALIAS echo $KEYSTORE_ALIAS_PASSWORD echo $CHANNELS_FILE_PATH output_dir="build/output" building_dir="build/packing" rm -rf build mkdir -p $output_dir mkdir -p $building_...
true
9a117dcb7580b6345cf0a78b4d2f5d195f8e60dd
Shell
asimvsingh/challenge
/goap_starter.sh
UTF-8
1,123
3.765625
4
[]
no_license
#!/bin/bash if [ $# -ne 1 ]; then echo "wrong number of agruments" echo "Usage: goapp_starter.sh <host_name>" exit 1 fi #generate new ports for starting the server admin_port=`python /home/avsingh/challenge/find_new_port.py` app_port=`python /home/avsingh/challenge/find_new_port.py` #start the server, also du...
true
00fe0702cdda5a683f33e6623159ba63ff122bea
Shell
shunsunsun/ftp.kaist.ac.kr
/geoul/trunk/src/sync/run-sync/prepare
UTF-8
750
3.203125
3
[]
no_license
#!/usr/bin/env bash # prepare -- before running synchronization script of a package # # Created: 2009-10-12 # # Written by Jaeho Shin <netj@sparcs.org>. # (C) 2006-2009, Geoul Project. (http://project.sparcs.org/geoul) . "$GEOUL.sh" # load values eval `load-config sitename` eval `load-package numFailures` # sanitiz...
true
19fcb30b3ad7b140b0d325210df069f3b2d77e4e
Shell
klee8/key-scripts-for-hihi-snpchip-design
/setup_split_vcfs.sh
UTF-8
828
3.015625
3
[ "MIT" ]
permissive
# create awk script to divide each file by chromosome for WGS and RAD data #!/bin/bash # split wgs data (chr in column 34 in vcf file) for i in {1..10} 3in1 10in1; do mkdir assembly_$i; echo '''grep -v "#" ../../8_add_ZF_locations/POS_TEMP/assembly.TEMP.ann.pos.vcf | awk REPLACE{print >> $34."_subset.vcf" ; close(...
true
f21ef21e45ecb13f3a3412b8cf3539062925c399
Shell
chrix98/ChrisBashBosh
/.bash_aliases
UTF-8
454
3.671875
4
[]
no_license
if [ -d "${CBBINSTALLDIR}/.bash_aliases.d" ]; then echo " ... ${CBBINSTALLDIR}/.bash_aliases.d" if [ -d "${CBBINSTALLDIR}/.bash_variables.d/enabled-$(hostname)" ]; then BASHDIR_ALIASES="${CBBINSTALLDIR}/.bash_aliases.d/enabled-$(hostname)" else BASHDIR_ALIASES="${CBBINSTALLDIR}/.bash_aliases.d/available-...
true
6ab3ec43f1caf060f63fa91390fde06de428ee2b
Shell
gijs/SafestWay
/install.sh
UTF-8
10,207
3.5625
4
[]
no_license
#!/bin/bash cat <<HEADER _______. ___ _______ _______ _______.___________. / | / \ | ____|| ____| / | | | (----' / ^ \ | |__ | |__ | (----'---| |----' \ \ / /_\ \ | __| | __| \ \ | | .----) | / ___...
true
7911de0b84bbda43f3593cc098c761c5cd394d27
Shell
Iteam1337/docker-letsencrypt-cron
/scripts/run_letsencrypt.sh
UTF-8
691
3.046875
3
[]
no_license
for d in $DOMAINS do echo "Running letsencrypt for $d" letsencrypt --standalone --standalone-supported-challenges\ http-01 --agree-dev-preview --agree-tos --renew-by-default\ --server https://acme-v01.api.letsencrypt.org/directory\ --email $EMAIL -d $d certonly ec=$? echo "letsencrypt exit code $ec" if [ $ec...
true
edefcdc814dc76c7b71c6ad15f63a3f631b33490
Shell
mcmhav/s
/bin/trigger_in
UTF-8
394
3.421875
3
[]
no_license
#!/usr/bin/env bash cleanup() { exit } trap cleanup SIGINT t2s() { sed 's/d/*24*3600 +/g; s/h/*3600 +/g; s/m/*60 +/g; s/s/\+/g; s/+[ ]*$//g' <<<"$1" | bc } ITERATIONS=$(t2s "$1") for i in $(seq "$ITERATIONS"); do sleep 1 echo "$i" done | python "$CSYS_BIN/_tqdm.py" --total "$ITERATIONS" >>/dev/null shift ...
true
4c1fa74d23bf29d0863643ba50555e48e7169313
Shell
lunastorm/wissbi
/test/integration/report_metric_test.sh
UTF-8
835
2.8125
3
[ "MIT" ]
permissive
#!/bin/bash testSendOneLineMsg() { env WISSBI_META_DIR=$TMP_META_DIR $BUILD_DIR/wissbi-sub wissbi.metric > $TMP_META_DIR/metric & METRIC_SUB_PID=$! env WISSBI_META_DIR=$TMP_META_DIR $BUILD_DIR/wissbi-sub foo > $TMP_META_DIR/received & SUB_PID=$! sleep 2 echo "hello world" | env WISSBI_META_DIR...
true
ec4c1b599701598894a3bbafa17e37300dcad64f
Shell
p3ll1n0r3/dotfiles
/.script/lspkg.sh
UTF-8
651
3.625
4
[]
no_license
# Project name : lspkg # Description : List installed packages with information # Start date : 20180810 # Last update : 20180810 # Todo : Create option to include version # Todo : Parameter for an individual package lspkg() { INSTALLED=$(pacman -Q | awk {'print $1'}) LARGEST=0 for i in $INSTALLED ...
true
b5109db1ac915e49cf6a84bad6c801bf2000c850
Shell
lujiwen/MyAndroidLibrary
/script/backup.sh
UTF-8
2,343
3.890625
4
[]
no_license
#! /bin/bash cd `dirname $0` cd .. # <change> WINBACKDIR=/cygdrive/g LINUXBACKDIR=/root/Backup # </change> showinfo(){ echo -e "\033[41;33m [uforgetmenot]: <I> $1 \033[0m" } error() { echo -e "\033[47;30m [uforgetmenot]: <E> $1 \033[0m" exit 1 } if [ -n $1 ] && [ -d $1 ] && [ ! "$1" == "" ];then PROJECT=$1 ...
true
b260ae6ff5a8614355909c3bd9753e85013773a1
Shell
babaji87/Innovation2021
/setupDay1.sh
UTF-8
3,728
2.703125
3
[]
no_license
echo "########################## " echo -e " Set Shell variables" echo "######################### " SUBSCRIPTION="e247041b-0729-4095-9488-564fbc84a3b7" RESOURCE_GROUP="default" AKS_CLUSTER_NAME="anjnaaks" AKS_VNET_SUBNET="default-3" ACR_REG_NAME="anjnaacr" ACR_REG_NEW_NAME="anjnaacr1" POSTGRES_USER_NAME="anjna1k" AKS...
true
77396a8e35acb67a3cc2e4043fc14811f8e9cd7c
Shell
metakirby5/.dots
/_setup/osx
UTF-8
1,791
3.515625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e DOTS=~/.dots DEPS=~/.local/deps get_ready() { unset ready while [ "$ready" != y ]; do read -rp "Enter 'y' when you are ready." ready done } cd if [ ! -d "$DOTS" ]; then echo "Cloning .dots into $DOTS..." git clone git@github.com:metakirby5/.dots.git else echo "$DOTS detect...
true
b2249e1a84e5f5f82d2f7cc9e2999cb0e41a6817
Shell
cbrpnk/dotfiles
/.bashrc
UTF-8
824
2.609375
3
[]
no_license
# # ~/.bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return set -o vi export PATH=$PATH:$HOME/bin export PS1='\e[0;32m[\u@\h \W]\$\e[m ' export EDITOR=/bin/vim export GOPATH=/home/cbrpnk/mixpig/servers/app umask 027 alias grep='grep -E --color=auto' alias egrep='egrep --color=auto' ...
true
31edb2e03499d2bbb376c6c26777599565bde1a1
Shell
fandigunawan/erpiko
/scripts/build-deps-mac.sh
UTF-8
648
2.59375
3
[ "BSD-3-Clause" ]
permissive
rm -rf deps mkdir deps # LibreSSL cd deps rm -rf libressl-portable-tip wget -O tip.zip https://github.com/mdamt/libressl-portable/archive/tip.zip unzip tip.zip cd libressl-portable-tip ./autogen.sh patch -p0 < ../../patch/cmp.patch mkdir ../libressl cd ../libressl ../libressl-portable-tip/configure --enable-static cd ...
true
76b18d2d93d17a8808f7cbc1c65ee966104cc681
Shell
flyingzhang/tekmine-dockers
/my_redmine/docker-entrypoint.sh
UTF-8
3,281
3.171875
3
[]
no_license
#!/bin/bash set -e delivery_method="${DELIVERY_METHOD:-async_smtp}" smtp_addr="${SMTP_ADDR:-localhost}" use_ssl="${DELIVERY_USE_SSL:-true}" if [ "$use_ssl" != "false" -a "$use_ssl" != "0" ]; then smtp_port="${SMTP_PORT:-465}" else smtp_port="${SMTP_PORT:-25}" fi smtp_auth_mod="${SMTP_AUTH_MOD:-login}" smtp_domain="...
true
2b2635d17f76ae0963da714862c441b3977b78eb
Shell
kbumsik/azure-iot-edge-v2
/iotedge/start.sh
UTF-8
743
3.09375
3
[]
no_license
#!/bin/bash # remove docker.pid if needed rm /var/run/docker.pid # Launch docker daemon in our service dockerd & 2>/dev/null #wait for docker to start. sleep 5s # Configure connection string sed -i '/device_connection_string/c\ device_connection_string : \"'${DEVICE_CONNECTION_STRING}'\"' /etc/iotedge/config.yaml ...
true
55aad1658b123e8495064ce1f99ad239ced10de8
Shell
Diderot-Language/examples
/data/ddro-gen.sh
UTF-8
1,528
2.984375
3
[]
no_license
#!/bin/bash # unu/bash script for making Diderot portrait test dataset set -o errexit; set -o nounset; shopt -s expand_aliases JUNK=""; function junk { JUNK="$JUNK $@"; }; function cleanup { rm -rf $JUNK; } trap cleanup err exit int term # image linked from the https://en.wikipedia.org/wiki/Denis_Diderot curl -O htt...
true
2d5e24b4183d0fe607a6aa592c23bffa73285cfc
Shell
calllivecn/iso
/make-mini-linux.sh
UTF-8
3,404
3.40625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # date 2017-12-03 08:57:58 # author calllivecn <c-all@qq.com> #1. init # check所以需要的文件和软件包工具. # 软件包: debootstrap, parted, genisoimage, isolinux, # squashfs-tools, syslinux, syslinux-efi, syslinux-utils, # dpkg # #2. build_workspace 创建好一个临时工作目录和需要的iso目录, # mktemp -d; mkdir boot; grub-install; make efi.im...
true
6ce3b129f7329a665c50995c87360db83563aa3f
Shell
S-H-GAMELINKS/MastodonScript
/mastodon_docker.sh
UTF-8
2,021
2.515625
3
[ "CC0-1.0" ]
permissive
sudo apt update sudo apt upgrade sudo apt install daemon sudo apt install -y build-essential sudo apt install git sudo apt install docker.io sudo apt install docker-compose sudo apt install -y libssl-dev libreadline-dev sudo apt install letsencrypt sudo adduser --ingroup docker docker sudo su -l docker -c "cd ~ &&...
true
dd044571e90c10353a23762939ab9d3021f30eda
Shell
SSabev/SDPCode
/vision/mplayer.sh
UTF-8
345
2.890625
3
[]
no_license
die () { echo >&2 "$@" exit 1 } if [ -z $1 ]; then die "No temp dir specified"; fi TMPDIR=$1 if [ -d "$TMPDIR" ]; then rm -rf "$TMPDIR" fi mkdir "$TMPDIR" cd "$TMPDIR" mplayer -tv device=/dev/video0:driver=v4l2:input=2:width=768:height=576:norm=pal tv://1 -zoom -aspect 4:3 -vo jpeg -really-quiet &> /de...
true
22fbc0235f798dd39a9b884ce78231756f47a64c
Shell
bikle/rluck
/svm4hp60min/run_svm4hp.bash
UTF-8
626
3
3
[]
no_license
#!/bin/bash # run_svm4hp.bash # I use this script as an entry point into a backtest of the svm4hp strategy. . /pt/s/rluck/svm4hp60min/.orcl . /pt/s/rluck/svm4hp60min/.jruby set -x cd $SVM4HP cd svm2/ export myts=`date +%Y_%m_%d_%H_%M` # Now I generate some scripts from some templates: jruby sedem.rb # Now, for e...
true
6f3e6931c6fb84bbd5dda114659c2b602a43a95c
Shell
sagar-528/Shell-Scripting
/degCdegF.sh
UTF-8
920
3.921875
4
[]
no_license
#!/bin/bash -x #->Problem Statement: Help user find degF or degC based on their Conversion Selection. #->Author: Sagar Gupta #->Date: Mar 2020 echo "To find Degree F or Degree C" function conversion() #Function define { echo "Enter the choice for conversion" echo "1.Freezing point" echo "2.Boiling point" read...
true
750f609f5e4008aa6cf873f80110a5ec7ebbd6df
Shell
pfillion/owncloud
/rootfs/usr/local/bin/secret-helper.sh
UTF-8
1,741
4.3125
4
[ "MIT" ]
permissive
#!/bin/bash set -eo pipefail shopt -s nullglob ####################################### # Get secret in file from the environnement variable. # Example: # The container read the password in this env: ROOT_PASSWORD # The secret file is must be creted with '_FILE' suffix: ROOT_PASSWORD_FILE # Call get_secret_from_env 'RO...
true
728e271c72f7cc8c00c7642218995fbe1100ca25
Shell
kaiana/deprecated
/bigcontrolcenter-internet-bigconnect/usr/share/bigcontrolcenter/categories/internet/bigconnect/description.sh.htm
UTF-8
653
2.59375
3
[]
no_license
#!/bin/bash #Control Center for BigLinux # #Authors: # Bruno Goncalves Araujo <www.biglinux.com.br> # #License: GPLv2 or later ################################################# #Translation export TEXTDOMAINDIR="/usr/share/locale-langpack" export TEXTDOMAIN=bigcontrolcenter-internet-bigconnect name_application=$"Co...
true
a298591c62d552caa61e551c44789c521ebf6dc0
Shell
openoms/bitcoin-tutorials
/electrs/testnet/t2_electrs_systemd_service.sh
UTF-8
964
2.65625
3
[]
no_license
# Install the electrs systemd service. # Prerequisite: 1_electrs_on_RaspiBlitz.sh # To download and run: # $ wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/2_electrs_systemd_service.sh && bash 2_electrs_systemd_service.sh sudo systemctl stop electrs sudo systemctl disable electrs sudo...
true
d3893049336fc7dea020cf70bc53bc03f97588a7
Shell
tilfin/serverbackup
/bkcmd.d/K13gitlab
UTF-8
419
2.96875
3
[ "MIT" ]
permissive
#!/bin/bash ############################## # # backup Gitlab # ############################## echo "Gitlab backup start." sudo -u git -H bundle sh -c "cd ~/gitlab; bundle exec rake gitlab:backup:create RAILS_ENV=production" created_file=`\ls -t /home/git/gitlab/tmp/backups/ | head -1` cp /home/git/gitlab/tmp/backup...
true
e37278497b0d243ad7d13d640ef5099fed895c35
Shell
pradeepnetha/ec2launch
/pradeepec2launch.sh
UTF-8
1,897
2.9375
3
[]
no_license
#echo "enter ami id" #read img_id #echo "enter instance type" #read instance_type #echo "select key-pair" #read key_name #echo "enter sg name" #read sg_name #echo "enter subnet id" #read sub_id #echo "enter region" #read region_name #img_id=ami-0b500ef59d8335eee #instance_type=t2.micro #key_name=asg-new #sg_name=sg-04...
true
a7298bf9eda92a8ca03a05f7daf1cf50fa5f8759
Shell
cnlohr/gaia_dr2_hipparcos
/process.sh
UTF-8
165
2.78125
3
[ "MIT" ]
permissive
#!/bin/bash gcc -o process process.c let "i=0" rm processed.csv for f in csv/*.gz; do let "i=i+1" echo $i $f cat $f | gunzip | ./process >> processed.csv done
true
8f2aa915328cdde6be66558e9e5cab901006f4d1
Shell
xbo2018/club
/setup_soft_teamviewer.sh
UTF-8
430
2.796875
3
[]
no_license
#! /bin/bash . common-definition.sh echo 'teamviewer' if ! ppa_isExists "teamviewer" ; then echo " deb http://linux.teamviewer.com/deb stable main deb http://linux.teamviewer.com/deb preview main " | sudo tee -a /etc/apt/sources.list.d/teamviewer.list wget https://download.teamviewer.com/download/linux/signature/Te...
true
5b90f05d8b3b4812b8e7fb67a45d923b98065029
Shell
dvesters/bash_shares
/VarLogRotate
UTF-8
56,892
3.546875
4
[]
no_license
#!/bin/bash #shopt -o -s xtrace # Originele maker:: Donovan Vesters # Versie 1.0 - 12-06-2010 # # Dit script roteerd de logfile die in de long listing options aanwezig zijn als # deze niet aan de gewenste waarde voldoen zie hiervoor de variable die in de een # van de eerste functions aanwezig zijn. # Extra longl...
true
e06dc41e99b05a5166b9b849fb0a6e1ac738da2b
Shell
krattai/AEBL
/core/alpha/hstchk.sh
UTF-8
2,200
2.84375
3
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
#!/bin/bash # Copyright (C) 2017 Uvea I. S., Kevin Rattai # # Lists responding hosts # # user@host:~$ nmap -A x.x.x.x/22 | grep "FQDN" # | FQDN: quad00 # | FQDN: onq00 # | FQDN: idethd14 # | FQDN: srvr-via00 # | FQDN: sixxs # | FQDN: uvea-nas00 # | FQDN: xxx-pav-17 # | FQDN: aebltst1 # | FQDN: aeblsh...
true
ec211b5a402f9bbf5531bc93da33e8612cc66126
Shell
stevehoover/1st-CLaaS
/bin/vnc_ec2
UTF-8
3,381
3.765625
4
[ "CC-BY-SA-2.0", "BSD-3-Clause" ]
permissive
#!/bin/bash # BSD 3-Clause License # # Copyright (c) 2018, alessandrocomodi # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright...
true
f2bfc7d50dc8db3f8f4d7692a864cfd9f90d33c6
Shell
SaltyPlombir/motd-bash
/update-motd.d/11-diskinfo
UTF-8
1,082
3.640625
4
[]
no_license
#!/bin/bash ############################ source /etc/update-motd.d/strings/setlang.sh ############################ FILE_SYSTEMS=('/dev/sda3') ############################ dothedf() { fs=`df --output=source -h | grep $1` used=`df --output=source,used -h | grep $1` size=`df --output=source,size -h | grep $1` pcent=`d...
true
75bbc78cde02e99cc65d4423ee837cee755968c7
Shell
mitainesoft/mitzon
/watchdog_mitaine_mitzon.bash
UTF-8
715
3.21875
3
[ "Apache-2.0", "MIT" ]
permissive
#!/bin/bash MITAINEMITZONHOME=/opt/mitainesoft/mitzon MITAINE_MITZON_PROC=`ps -ef | grep /opt/mitainesoft/mitzon/MitzonBackend/mitzonURLCmdProcessor.py | grep -v vi | grep -v grep | awk '{print $2}'` if [ -n "$MITAINE_MITZON_PROC" ] then echo "mitzonURLCmdProcessor already running PID='$MITAINE_MITZON_PROC'" else...
true
9db8330882ab8e3da9f44a4a77f3232450aabfad
Shell
kicsikrumpli/lemonad
/lemonad.sh
UTF-8
259
3.265625
3
[]
no_license
#!/bin/bash maybe() { read line if [ -z "$line" ]; then echo "✘ $1" > /dev/stderr else echo "$line" | $@ fi } log() { tee >( while read line; do echo "[$1] $line"; done > /dev/stderr ) } end() { tee > /dev/null }
true
7e95b21c0ff7c610ae24d9f22d43b650fd54128f
Shell
losinggeneration/gitwar
/gitwar
UTF-8
2,115
4.1875
4
[]
no_license
#!/bin/bash branch_name="$(git symbolic-ref HEAD 2>/dev/null)" || branch_name="(unnamed branch)" # detached HEAD branch_name=${branch_name##refs/heads/} function submitTurn { echo 'Submitting game data...' git add gitwar.log &> /dev/null git commit -m "$1 $2" &> /dev/null git push origin "$branch_name" ...
true
ae94e3803e376109591a482bf1cccb09f650bf5d
Shell
graceliu801/qpp-conversion-tool
/tools/bin/docker_deploy.sh
UTF-8
839
3.78125
4
[ "CC0-1.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/bash function build_and_tar_converter_image() { echo "Build the QPP Conversion Tools Docker image" docker build -t qpp_conversion . echo "Export the QPP Conversion Tools Docker image as a tar file" docker save -o qpp_conversion_docker_image.tar qpp_conversion } function run_ansible() { echo "Running the ...
true
4d6dfcca9fbbdc53b968f9e7c92299006c91991e
Shell
jsoftware/addonrepos
/install.sh
UTF-8
745
3.75
4
[]
no_license
#!/bin/sh # # make addons subdirectory and install all addons cd `dirname "$(realpath $0)"` # protocol # P=https|git # use git instead of https if you have write access to the repos # url = git@github.com:jsoftware/arc_zip.git # url = https://github.com/jsoftware/jsource.git set -e P=git # P=https mkdir -p addons...
true
a24d01b33c84f2ca1bb4e01f96995207cc830d64
Shell
julio-saito-linx/you-helper
/you-helper.sh
UTF-8
2,700
4.03125
4
[ "MIT" ]
permissive
#!/bin/bash #Youtube-DL DASH Video and Audio merging script #Written by QuidsUp #Edited by Christoph Korn #Edited by saitodisse URL=$1 QualVideo=$2 QualAudio=$3 if [ -z $URL ]; then echo "Usage: bash you-helper.sh url" echo " or: bash you-helper.sh url 137 140" exit fi #Find what quality of videos are availa...
true
7fbb3b6f455c04922cd5c25cb30a3231dff624d9
Shell
SethMusker/HybPiper_phasing_phyloscripts_modified
/7_align_genes.sh
UTF-8
1,579
2.53125
3
[ "CC0-1.0" ]
permissive
#!/bin/sh #SBATCH --account=biosci #SBATCH --partition=ada #SBATCH --time=1-10:00:00 #SBATCH --nodes=1 --ntasks=40 #SBATCH --job-name="HybPiper_Align" #SBATCH --mail-user=sethmusker@gmail.com #SBATCH --mail-type=FAIL source activate alignment MYBASE=/scratch/mskset001/Mike_files_imbricata/trimmed/alleles_workflow/ren...
true
8ba437cd7973e75d7a128753c6c2babac0fc81cd
Shell
baohaojun/Wrench
/commit-all.sh
UTF-8
423
2.875
3
[]
no_license
#!/usr/bin/env bash set -e for x in ~/src/github/Wrench-*; do ( cd $x if test $(basename $0) = reset-all.sh; then git reset --hard origin/$(basename $PWD) exit fi git diff HEAD^^ --name-status git push >/dev/null 2>&1 && git push origin HEA...
true
aa46cad947cb8ec1c643952a4977ae4572046b51
Shell
kchaitanya56/gatling-simulation
/scripts/createClusterOnAWS.sh
UTF-8
2,775
4.3125
4
[]
no_license
#!/usr/bin/env bash set -e function help_text { cat <<EOF Usage: $0 [ -cln|--cluster-name ECS_CLUSTER_NAME ] [ -con|--config-name ECS_CONFIG_NAME ] [ -r|--region AWS_REGION ] [ -p|--profile AWS_PROFILE] [-h] --cluster-name ECS_CLUSTER_NAME (required) ECS cluster name. --config-name ECS_CON...
true
d839356967284deb7ecec38f48185d9ffcfec98d
Shell
vvinayreddy/OpenStack
/installUndercloud.sh
UTF-8
1,504
3.171875
3
[ "MIT" ]
permissive
#!/bin/bash # Add stack user in the system if [ $(id -u) -eq 0 ]; then read -p "Enter username : " username read -s -p "Enter password : " password egrep "^$username" /etc/passwd >/dev/null if [ $? -eq 0 ]; then echo "$username exists!" exit 1 else pass=$(perl -e 'print crypt($ARGV[0], "password")' $password...
true
4801d301dc5f37c5bf9fcb411101c6c3eb8d6836
Shell
lucloner/VPN-Server-Scripts
/testgoogle.sh
UTF-8
1,998
3.125
3
[]
no_license
#!/bin/sh echo 'now:'`date` ret=0 testns(){ ret=0 vpn_stat=0 ip=`sh /root/testip0.sh $1 8.8.8.8 | sed -n 1p` ping -c 10 $ip if [ $? -eq 0 ] then echo 'ping '$1' ok' rm test*.tag expressvpn refresh return 0 else ret=1 echo ping $1 failed vpn maybe off testconn vpn_stat=$? if [ $vpn_stat -eq 0 ] ...
true
f5a073b734ddc84c86838533f61f73898a929853
Shell
llewellyn-evo/meta-evo
/recipes-evo/evo-envinit/evo-envinit/commod-mx6ul/21-generate-mac.sh
UTF-8
272
3.328125
3
[]
no_license
#!/bin/sh FILE=/lib/systemd/network/Bridge.netdev if test -f "$FILE"; then echo "$FILE exists." #Create a random MAC Address for Bridge Interface MAC=$(hexdump -n3 -e'1/3 "52:54:00" 3/1 ":%02X"' /dev/random; echo "") echo "MACAddress=${MAC}" >> $FILE fi
true
1b05a4aeb615becc0fa939ac3a3bbd7f4d5f28ac
Shell
cpanxaoc/gtk-perl-misc
/glib_prove-options.t.sh
UTF-8
781
2.59375
3
[]
no_license
#!/usr/bin/env bash if [ ! -e "t/options.t" ]; then echo "Hey! Need to run this script in the Glib source tree" exit 1 fi LANG=de_DE.ISO8859-1 LC_ALL= \ prove -v -I blib/lib/ -Iblib/arch/ t/options.t LANG=de_DE.ISO8859-1 LC_ALL=hr_HR.ISO8859-2 \ prove -v -I blib/lib/ -Iblib/arch/ t/options.t LANG=de_DE....
true
fba4869666fa385ac5f58f5cf9c034ced26a7fa7
Shell
ttimbers/Shell_scripts
/Individual_worm_sbMme.sh
UTF-8
794
2.640625
3
[]
no_license
##run choreography to extract ID (D), speed(s), bias(b), morphwidth(M), midline(m) and area (e) on all files in a directory for zipfolder in *; do java -Xmx8g -jar /Users/michelleroux/Documents/Tiffany/MWT_analysis/Chore.jar --shadowless -p 0.27 -M 2 -t 20 -S -N all -o DsbMme --plugin Reoutline::despike --plugin Respin...
true
b4ba0019b78c8f907df8ea1ac50380feed9fb32d
Shell
pwinslow/Lepton-Number-Violation-at-100-TeV
/Data_Production/Scan_Cleanup.sh
UTF-8
2,579
3.46875
3
[ "MIT" ]
permissive
#!/bin/sh ##################################################################################################################################### # The purpose of this script is to reduce and collect the results of the parameter scan performed by the Scan_Sub_script.sh # # script. After running, each parameter poi...
true
7d3fddc61b9a51893ef106dc58eb514a197a573e
Shell
Brokenwind/AutoHadoop
/src/build-cluster.sh
UTF-8
1,842
3.15625
3
[]
no_license
#!/bin/bash name="iot" rootpass="12072227" norpass="19930309" # the path we will use jdkpath="/usr/local/java/" hdpath="~/" hdconpath=$hdpath"hadoop/etc/hadoop/" home="~/" # the names of archives we will upload arcjdk="jdk-7u79-linux-x64.tar.gz" archadoop="hadoop-2.6.0.tar.gz" # the symbol link name lnjdk="jdk" lnhd="h...
true
c68b7aa7ceaeedb444636107a5dc3b31a17366ca
Shell
rws-github/ibm-pipeline-env-tests
/test.sh
UTF-8
1,684
2.96875
3
[]
no_license
#!/bin/bash echo "" > _temp.xml _num_tests=0 _num_failures=0 # Java 7 ./unit-test-cli.sh "Java 7" "java is not available or not version 1.7.0" 'java -version 2>&1 | grep "java version \"1.7.0\""' 'java -version' >> _temp.xml _test_exit_code=$? source update_suite_totals.sh # Java 8 export ORIGINAL_PATH=$PATH export ...
true
f5660508a48e89c3a0dfb892528e7d111eefc047
Shell
adamdicarlo/dotfiles
/home/.zsh/aliases.zsh
UTF-8
3,541
3.03125
3
[]
no_license
alias ..='cd ..' alias ...='cd ../..' alias ....='cd ../../..' alias .....='cd ../../../..' alias icat='kitty +kitten icat' alias nvimconfig="$EDITOR ~/.config/nvim/init.vim" alias zshconfig="$EDITOR ~/.zshrc" alias v="$EDITOR" if which exa &>/dev/null; then # Replace ls with exa alias ls='exa -al --color=always -...
true
a0e9eb7a7ee9240eaff4a43737ee05bce7bb8831
Shell
juggernaut0/vote
/drop_and_migrate.sh
UTF-8
474
3.015625
3
[]
no_license
set -e CONTAINER=$(docker ps -f "name=test-db" -q) if [ -z "$CONTAINER" ]; then CONTAINER=$(docker run --name test-db --rm -d -p 6432:5432 postgres:12) sleep 5 fi echo "$CONTAINER" NAME="vote" docker exec -i "$CONTAINER" psql -U postgres << EOF DROP DATABASE IF EXISTS ${NAME}; DROP ROLE IF EXISTS ${NAME}; CREAT...
true