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
b23dbe96098b0cd9db505a6a985822d8f98d5ed4
Shell
petronny/aur3-mirror
/libqgit2-git/PKGBUILD
UTF-8
1,462
3.046875
3
[]
no_license
pkgbase=libqgit2-git pkgname=('libqgit2-qt4-git' 'libqgit2-qt5-git') pkgver=0.22.1.r339.b4f0e31 pkgrel=1 pkgdesc='libgit2 bindings for Qt. (GIT Version)' arch=('i686' 'x86_64') url="https://projects.kde.org/projects/playground/libs/libqgit2" license=('GPL2') makedepends=('cmake' 'git' 'qt5-base' 'qt4' 'libgit2-git') s...
true
6db2411d3fa772c475d87011e36383a2d1c49725
Shell
ftnapps/qico
/stuff/ftn
UTF-8
580
3.609375
4
[ "BSD-2-Clause" ]
permissive
#! /bin/sh # # Start FTN services. # # This is a script for RedHat's startup process. # # $Id: ftn,v 1.1.1.1 2004/12/29 21:23:34 mitry Exp $ # chkconfig: 345 86 14 # description: FTN services # . /etc/rc.d/init.d/functions case "$1" in start) echo -n "Starting FTN services: " su news -c 'qico -d' echo qico touch...
true
36686f36c612e4456b818fa63121f83686db8539
Shell
duckinator/dotfiles
/.bash_aliases
UTF-8
1,240
2.984375
3
[]
no_license
# Default Bash aliases. source "$HOME/.bash_demo_aliases" alias sysinfo='konsole --workdir ~ --hide-menubar -e neofetch --loop' alias venv='if [ -n "$VIRTUAL_ENV" ]; then deactivate; else . venv/bin/activate; fi' alias strstrip='python3 -c "import sys; print(sys.stdin.read().strip(), end=\"\")"' alias copy='xclip -...
true
73044c329cc19907813f22aa80350163bc81c3fa
Shell
harriish/anm
/evaluateLabs_a2.sh
UTF-8
1,852
3.953125
4
[]
no_license
#!/bin/bash if [ "$1" == "-h" ]; then echo "Evaluate ANM labs."; echo "Usage:" echo "$1 <labfolder>" echo "Labfolder contains the downloaded folder from Its learning." exit fi myBasedir=$(pwd) timestr=$(date +%Y-%m-%d_%H%M) feedbackFile="$myBasedir/Feedback".$timestr."log" echo "Feedback will be ...
true
1f2f1f304b7342808a90a597372a9aa779195ddf
Shell
kwikwag/voicefilter
/utils/ffmpeg_convert_ext.sh
UTF-8
609
3.265625
3
[ "MIT", "Apache-2.0" ]
permissive
# thanks to https://unix.stackexchange.com/questions/428018/how-to-convert-all-wav-files-in-subdirectories-to-flac # and to https://unix.stackexchange.com/questions/291108/parallel-processing-using-xargs source_ext="${1:-wav}" target_ext="${2:-flac}" shift 2 temp_dir=$(mktemp -d) trap "rm -rf ${temp_dir}" EXIT find -...
true
72aea2da115cd27f9e106cab6e511e6594b7466a
Shell
vinavfx/natron_utils
/install.sh
UTF-8
546
2.875
3
[]
no_license
#! /usr/bin/sh cd $(dirname "$0") # Directorio Raiz plugins="/usr/share/Natron/Plugins" vinarender="$(cat /etc/vinarender)/modules/natron" mkdir -p $plugins rm -rf $plugins/* mkdir -p $vinarender rm -rf $vinarender/* # copia el core a la carpeta plugins de natron cp -rf ./core $plugins cp -rf ./plugins $plugins cp ...
true
642148bc970ffb938901466e7edbf24edade085e
Shell
nskspb/ubuntu-hdl-tools-install
/bin/07_install_vivado.sh
UTF-8
670
3.625
4
[ "MIT" ]
permissive
#!/bin/bash CUR_DIR=${BASH_SOURCE%/*} source $CUR_DIR/config.bash source $CUR_DIR/include.bash # download the web installer or find it in pkg folder INSTALLER=`check_and_download ${VIVADO_URL} ${DOWNLOAD_DIR} ${VIVADO_PKG_NAME}` # create the target folder CUR_USER=`whoami` sudo mkdir -p $VIVADO_INSTALL_PATH sud...
true
41030d8eb2457a9203f4dddbd65459dd7d901a29
Shell
pflanze/ml2json
/html/gendoc
UTF-8
168
2.53125
3
[ "MIT" ]
permissive
#!/bin/bash set -eu mydir=`dirname "$0"` inbase="$mydir/.." outbase="$mydir/out" configpath="$mydir/gen-ml2json.pl" "$mydir/gen" "$configpath" "$inbase" "$outbase"
true
b1eb8f165726175f4bdd3804f1e24f76ff7ac3da
Shell
andcebrod/SCRIPTS-ISO
/menus_vairables_zenity/menuvariable_z_2.sh
UTF-8
408
3.3125
3
[]
no_license
#!/bin/bash #Radiolist zenity con todos los modulos cargados en memoria y desactivarlos lsmod|cut -f1 -d' '>/tmp/modulos.txt fija1="zenity --list --radiolist --column "Elige" --column "Modulos" " var="" exec</tmp/modulos.txt read linea while [ "$linea" ] do var="$var $linea " read linea done exec<&- m="$fija1 $var " ...
true
011b41e6ee6914482899b8a7d1d2e2f8fef628c5
Shell
XavierMoon/docker-nginx-php7
/start.sh
UTF-8
622
2.71875
3
[]
no_license
#!/bin/sh Nginx_Install_Dir=/usr/local/nginx set -e sed -i "s#API_URL#${API_URL}#g" /usr/local/nginx/conf/nginx.conf sed -i "s#WEB_URL#${WEB_URL}#g" /usr/local/nginx/conf/nginx.conf sed -i "s#BASE_DIR#${BASE_DIR}#g" /usr/local/nginx/conf/nginx.conf #chmod -R 777 $BASE_DIR echo -e "127.0.0.1 $API_URL \n 117.114.196....
true
146c6e8534e702c7917a838cb6ee63e4f71d4d98
Shell
bopopescu/trex-emu
/scripts/b
UTF-8
473
2.734375
3
[ "Apache-2.0" ]
permissive
#! /usr/bin/env bash export GOPATH=`pwd`/.. export PKG_CONFIG_PATH=$GOPATH/external_share/zmq/x86_64/ export CGO_CFLAGS="-g -O2 -I"$GOPATH/external_share/zmq/x86_64/include export CGO_LDFLAGS="-g -O2 -L"$GOPATH/external_share/zmq/x86_64/ export GOBIN=$GOPATH/bin if [[ -f $PKG_CONFIG_PATH/libzmq.so && ! -f $PKG_CONFIG...
true
9cc01c11d8fb6507118318624ea540f051a11bf8
Shell
tyagi-iiitv/meld
/scripts/plots/plot_dir.sh
UTF-8
2,306
3.984375
4
[]
no_license
#!/bin/bash # # Plots a directory with results from instrumentation. # DIR="${1}" PROG="${2}" CPU="${3}" HTML="$DIR/index.html" SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if [ -z "${DIR}" ]; then echo "Usage: plot_dir.sh <directory with files>" exit 1 fi plot_part () { FILE="${1}" SCRIPT="${...
true
8ba704af6eb680070a8844089b4f155c598d3d25
Shell
aussieboy88/skywire
/static/script/unix/start
UTF-8
890
3.5
4
[]
no_license
#!/usr/bin/env bash # TODO needs revision, see: # https://github.com/skycoin/skywire/issues/161 # local vars SKYWIRE_UNIX_SCRIPTS=/usr/local/skywire/go/src/github.com/skycoin/skywire/static/script # check for the env vars if [ ! -f /etc/default/skywire ] ; then # does not exist, link it ln -s ${SKYWIRE_UNIX_SCR...
true
a278b49403277b56287c868aa9a0885164326dd3
Shell
CoolCold/iptv-channels
/actions/update/helper/skip.sh
UTF-8
470
3.921875
4
[]
no_license
# @param string $1 (step_number) # @return string (0=true, 1=false) function _isSkippedStep() { local step_number="${1}" local step local skip_steps=() local result=1 if [[ -n "${SKIP}" ]]; then while IFS='' read -r line; do skip_steps+=("$line"); done < <(echo "${SKIP}" | tr ":" "\n") for step in ...
true
a3fc4d5acc2bf2fd689feb29941e82c021c4eeae
Shell
tijira-1999/CodinClub
/day1_8/day6/for/factors.sh
UTF-8
250
3.671875
4
[]
no_license
#!/bin/bash read -p "Enter a number " num echo -n "Factors of $num are " for ((i=1;i*i<=$num;i++)) do if [ $(( $num%$i )) -eq 0 ] then if [ $(( $num/$i )) -eq $i ] then echo -n $i else echo -n "$i $(($num/$i)) " fi fi done echo " "
true
cce605c6f0191031de3c6c790a1326344b84fbae
Shell
isolesty/pkgbuilder
/lib/utils
UTF-8
2,860
3.65625
4
[]
no_license
#! /bin/bash dquilt() { local quiltrc=${HOME}/.quiltrc-dpkg hasBin quilt || die EPACKAGE "Install quilt!!!" if [[ ! -f $quiltrc ]] ; then info "Write quilt configuration: $quiltrc" cat <<'EOF' >>$quiltrc d=. ; while [ ! -d $d/debian -a `readlink -e $d` != / ]; do d=$d/..; done if [ -d $d...
true
dafaca514b8254bc7354ccb99cd45e22ed5cee4a
Shell
pmjordan/turandot
/scripts/nuke-namespace
UTF-8
377
2.796875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")") . "$HERE/_env" # https://medium.com/@clouddev.guru/how-to-fix-kubernetes-namespace-deleting-stuck-in-terminating-state-5ed75792647e NAMESPACE=$1 kubectl get namespaces "$NAMESPACE" --output=json | \ jq .spec.finalizers=[] | \ kubectl rep...
true
9dc5b255ea5263ddd937f0381ab4802f579761b0
Shell
pesoklp13/minecraft_bedrock
/stop-server.sh
UTF-8
572
3.71875
4
[]
no_license
#!/bin/bash ## ## script for Shutdown Minecraft Bedrock server already running in tmux instance ## Created by Animator ## tmuxName=minecraft-server if ! tmux ls | grep -q "$tmuxName"; then echo "No tmux with name $tmuxName is running. Exitting." exit fi execute-command () { local COMMAND=$1 if [[ $tmuxNa...
true
52d390b14f3e43b8c4fa3cd222221da5e5659490
Shell
Inkering/Arduino-Starter
/ccls-reg.sh
UTF-8
258
2.71875
3
[]
no_license
#!/bin/bash # copy the flags file to a ccls file # in same directory cp .clang_complete .ccls # add text "clang" to the beginning of the file # so that ccls will recognize it as a compile_commands file echo "$(echo 'clang' | cat - .ccls)" > .ccls # Done!
true
4ff564707201ca5d8c303de7027b4eb4c7a33481
Shell
stevenflo/MindProx
/memory_profiler/champsim.sh
UTF-8
1,002
3.90625
4
[]
no_license
#!/bin/bash if [ "$#" -lt 5 ]; then echo "Illegal number of parameters" echo "Usage: ./run_champsim.sh [BINARY] [N_WARM] [N_SIM] [TRACE] [OPTION] [TRACE DIR]" exit 1 fi BINARY=${1} N_WARM=${2} N_SIM=${3} TRACE=${4} TRACE_DIR=${5} OPTION=${6} if [ ! -f "bin/$BINARY" ] ; then echo "[ERROR] Cannot fin...
true
cb03ad3d33684ef0b7fd5a78f2f29cef4627ba45
Shell
SyneticNL/service-ssh-agent
/scripts/release.sh
UTF-8
459
2.953125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash if [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; then # develop => edge [[ "${TRAVIS_BRANCH}" == "develop" ]] && TAG="edge" # master => latest [[ "${TRAVIS_BRANCH}" == "master" ]] && TAG="latest" # tags/v1.2.0 => 1.2 [[ "${TRAVIS_TAG}" != "" ]] && TAG="${TRAVIS_TAG:1:3}" if [[ "$TAG" != "" ]];...
true
9a55df78afd40e933aed2e9a0390ff2ffab1912e
Shell
gakkistyle/comp9021
/Ass1/a1_sanity_check/test_a1.sh
UTF-8
1,201
3.953125
4
[]
no_license
#!/bin/bash for i in {0..35} ; do if ! [ -e tests/test$i.in ] ; then echo "You are missing the file tests/test$i.in. Please add it and start again." exit 1 fi if ! [ -e tests/test$i.out ] ; then echo "You are missing the file tests/test$i.out. Please add it and start again." ...
true
0551c776835e4bf93265ed21cb3f85d3ef37a486
Shell
mv28jam/GIT-sh-legacy
/list.sh
UTF-8
162
2.984375
3
[]
no_license
#!/usr/bin/env bash source ./sh/init.sh for path in $target_path/$dev_path/$branch/$repo_path/* do pathname=$(basename $path) echo $pathname done
true
2095146917dace69518530dca71a2b5910b5ae04
Shell
revrepo/revsw-api
/utils/upgrade_mongodb/mongodb_upgrade.sh
UTF-8
1,504
3.484375
3
[]
no_license
#!/bin/bash # Log commands to stdout set -o xtrace # Exit on error set -o errexit # Exit on use of unset variables set -o nounset # Exit and report on pipe failure set -o pipefail export PWD=$(pwd) rm -rf ${PWD}/data/db mkdir -p ${PWD}/data/db/dump cp -R ${PWD}/data/dump/ ${PWD}/data/db/dump step=0 # Get major versi...
true
b2a269334ac384b7d36afc7dcd90a9bbe9aff166
Shell
VirtusLab/git-machete
/ci/docker/ci-deploy.sh
UTF-8
666
3.484375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e -o pipefail -u if [[ ${1-} == "--dry-run" || ${CIRCLE_BRANCH-} != "master" ]]; then do_push=false else do_push=true fi version=$(python3 setup.py --version) docker build \ -t gitmachete/git-machete:$version \ -t gitmachete/git-machete:latest \ -f ci/docker/Dockerfile . [[ $(doc...
true
46b46c655717b370d42d35f2d0f48d51f12de86f
Shell
arun786/shellscript
/ShellScript/ToKnowTheHostname.sh
UTF-8
118
2.515625
3
[]
no_license
#!/bin/bash Hostname=$(hostname) echo "Hostname is $Hostname" HOSTNAME=`hostname` echo "Hostname is $HOSTNAME"
true
4ddda24a8a7daec5bb193f5e261037d764a84341
Shell
BioLockJ-Dev-Team/sheepdog_testing_suite
/test/feature/defaultProps/checkProperty.sh
UTF-8
379
3.640625
4
[]
no_license
#!/bin/bash MASTER_PROP_FILE=$1 PROP_NAME=$2 PROP_VAL=$3 OUT="../output/results.txt" CORRECT_LINE="${PROP_NAME}=${PROP_VAL}" FOUND_LINE=$(grep "${PROP_NAME}=" $MASTER_PROP_FILE) echo "Expected: $CORRECT_LINE" > $OUT echo "Found: $FOUND_LINE" >> $OUT if [ $FOUND_LINE == $CORRECT_LINE ]; then echo "Good!" >> $OUT ...
true
df892b2796b49fa8586811c339ed7ec36f2cae3e
Shell
kafkaesqu3/misc-scripts
/Helpers/TunnelGuardian.sh
UTF-8
842
2.71875
3
[]
no_license
while true; do p1=$(netstat -tlpn | grep 127.0.0.1:8081) p2=$(netstat -tlpn | grep 127.0.0.1:8082) p3=$(netstat -tlpn | grep 127.0.0.1:8083) p4=$(netstat -tlpn | grep 127.0.0.1:8084) p5=$(netstat -tlpn | grep 127.0.0.1:8085) if [ -z "$p1" ] ; then echo "Lost proxy 1 at $(date)" ssh -i /home/david/.ssh/id_r...
true
0f41627c6875685590023d44e42e9012d441929f
Shell
lineCode/c2go
/run-tests.sh
UTF-8
1,334
4.0625
4
[]
no_license
#!/bin/bash CLANG_BIN=${CLANG_BIN:-clang} CLANG_VERSION=$($CLANG_BIN --version) echo "CLANG_BIN=$CLANG_BIN" echo "CLANG_VERSION=$CLANG_VERSION" echo function run_test { export TEST=$1 echo $TEST # Compile with clang. $CLANG_BIN -lm $TEST if [ $? != 0 ]; then exit 1 fi # Run...
true
a9f20263c9bde92230f9b1ef4660d425c88dcbbf
Shell
suquark/IoT-Client
/scripts/hostname_modify.sh
UTF-8
243
2.578125
3
[]
no_license
#!/usr/bin/env bash # For raspberrypi only [ ! $1 ] && echo "Need new hostname" && exit sudo sed -ri "s/127\.0\.1\.1.*/127\.0\.1\.1\t$1/g" /etc/hosts sudo echo $1 > /etc/hostname sudo /etc/init.d/hostname.sh sudo service avahi-daemon restart
true
01b648d0d7701fe7b87b36d917c130430bbee83f
Shell
ajishfrancis/AWS-Backup
/Ansible_MPC_Development/csv_to_inventory.sh
UTF-8
3,580
2.71875
3
[]
no_license
input="/home/ec2-user/Ansible_MPC_Development/serverdetails.csv" echo "variables: " >> /home/ec2-user/Ansible_MPC_Development/roles/aws_ec2creation_role/vars/main.yml while IFS="," read -r f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17 f18 f19 f20 f21 f22 do #Condition 0 if [[ $f2 == "windows" && $...
true
200a559f1fed2087e76b2f3695de0d5509a2bbb7
Shell
FauxFaux/debian-control
/u/unicorn/unicorn_5.4.0-1+b1_amd64/prerm
UTF-8
252
3.125
3
[]
no_license
#!/bin/sh set -e case "$1" in remove|deconfigure) if [ -x /etc/init.d/unicorn ]; then if [ -x "$(which invoke-rc.d)" ]; then invoke-rc.d unicorn stop else /etc/init.d/unicorn stop fi fi ;; esac exit 0
true
bff3fa7f286ca1d59e7992d502ae5908cb28dcea
Shell
brisskit-uol/i2b2-admin-procedures-jl-128
/procedures/bin/apps/catissue/import.sh
UTF-8
6,164
3.78125
4
[]
no_license
#!/bin/bash #----------------------------------------------------------------------------------------------- # Import catissue ontology and catissue pdo's into i2b2. # # Mandatory: the following environment variables must be set # I2B2_ADMIN_PROCS_HOME # Optional : the I2B2_ADMIN_PROCS_WORKSPACE env...
true
1799cbf3e5893988e2f43516d60522d8063dab0e
Shell
wvengen/Rlgi
/resource/scripts/job_prologue_script
UTF-8
852
3.453125
3
[]
no_license
#!/bin/sh # fetch all files from repository repository=`xml -i LGI_job_specifics repository_url` if [ "$repository" ]; then # Since LGI provides no real xml utilities, we have to do some xml # parsing ourselves. This is not something to be copied, don't try # this at home! # Don't download anything starting wi...
true
02e28f297ef2ec03ec780db9b5c973ccf58bf9b6
Shell
UX-admin/RTPfoundation
/postinstall
UTF-8
1,443
2.59375
3
[]
no_license
#!/sbin/sh # # CDDL HEADER START # # The contents of this file are subject to the terms of the Common # Development and Distribution License, Version 1.0 only (the # "License"). You may not use this file except in compliance with # the License. # # A copy of the Common Development and Distribution License...
true
3420c17cb4212c8fecdb738baf94f5824826bdf0
Shell
Java4all/aws-infra.jenkins-scripts
/provision.sh
UTF-8
4,777
3.78125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash -x env getprivateip () { DESCRIPTION=$(ec2-api-tools/bin/ec2-describe-instances ${INSTANCE}) PRIVATEIP=$(echo "$DESCRIPTION" | sed -n -e '/^PRIVATEIPADDRESS/p' | awk '{print $2}') } getstate () { DESCRIPTION=$(ec2-api-tools/bin/ec2-describe-instances ${INSTANCE}) STATE=$(echo "$DESCRIPTION" | sed...
true
1ee1a9f41baf539a3b4a294996da0173369f1139
Shell
mscharmann/ABC-pipeline
/collection_of_scripts/simulate.ddRAD_Dianthus.2018-08-29.sh
UTF-8
3,792
3
3
[]
no_license
# simulate.sh # This script executes the following pipeline: # draw_priors | simulate_coalescent_samples | record_summary_statistics # it is designed for an LSB batch submission system on a computer cluster, requiring the variable $LSB_JOBINDEX # example use: bash simulate.2018-05-15.sh bpfile.txt spinput.txt test ...
true
9384f22d8764fdbc21c5c3bb4479a2ab7ced3cea
Shell
cemvarol/AZ-303-Labs
/Lab-04/Lab-04-Resources.bash
UTF-8
2,672
2.640625
3
[]
no_license
az provider register --namespace 'Microsoft.Insights' a=$(az ad signed-in-user show --query userPrincipalName) A=$(echo "$a" | sed -e 's/\(.*\)/\L\1/') B=${A:$(echo `expr index "$A" @`)} C=${B:: -24} RG=AZ-303Lab-04a VNet=Lab04-VNet01 Nsg=L04NSG NsgR=L04Rule1 L=eastus LB=Lab04-1LB BEndPool=Lab04-1BEpool VM01=L04-VM01 V...
true
98be434dcd6979503c6b8ece021f493bdb441466
Shell
Jrr1232/Fall2020_CS407_BashScripts
/Joaquin/mybash.sh
UTF-8
49
2.6875
3
[]
no_license
for myval in $* do echo "Argument: $myval" done
true
49a9c9da40063f5a8b31922571db8db5e115c849
Shell
aseemsethi/monitor
/bin/logs
UTF-8
1,010
3.328125
3
[]
no_license
#!/bin/bash i=0 colors=( blue green yellow orange ) useColor=${colors[i]} i=$(( $i+1 )) i=$(( $i%${#colors[@]} )) case $2 in ssl) echo "Log file for $1 $2" xterm -bg ${colors[i]} -T "SSL FUNC $1 $2" -e "tail -f /var/monT/$1/ssl_logs"& xterm -bg ${colors[i]} -T "SSL PERF $1 $2" -e "tail -f /var/monT/$...
true
1939edd0636ff595239432f9582d604ad536c0ec
Shell
AllenAn9410/LinuxTry
/test11/build.sh
UTF-8
2,499
3.8125
4
[]
no_license
#!/bin/bash function get_input(){ printf "\n -----${BLUE}EE Docker test${NC} ----- \nbegin prepare your docker env.[default value is the first item]\n" read -p "Project id:" proj_id if [ -z $proj_id ] ; then exit 0 fi if [ $proj_id -lt 2000 ] || [ $proj_id -gt 4999 ] ; then echo "error id : ${proj_...
true
92af40651f0de2d48817139988aa082e10516b15
Shell
chimpwizards-wand/spell-model
/scripts/new-spell.sh
UTF-8
342
3.40625
3
[]
no_license
#!/bin/sh while [[ $# -gt 0 ]] do key="$1" case $key in -h|--help) help="true" shift # past argument ;; -n|--name) export NAME="$2" shift # past argument ;; --default) ;; *) # unknown option ;; esac shift # past argument or value done gh repo create chimpwi...
true
4f3eb544c2343da2da269eec01b280797ee0fca0
Shell
davinkevin/PodcastScripts
/Cauet sur NRJ/Download/CauetDownload.sh
UTF-8
223
2.703125
3
[]
no_license
#!/bin/bash while [ true ]; do Date=`date --date now '+%Y-%m-%d - %H-%M-%S'` wget $2 -O "/home/kevin/Cauet/$(date --date now '+%Y')/$(date --date now '+%m')/$(date --date now '+%d')/$1 - $Date.mp3" -a "/dev/null" done
true
5a2bcedb4115d5e9449ff74b476b56f915064599
Shell
JakDar/magec
/data/pl/all/stage1.sh
UTF-8
912
3.484375
3
[]
no_license
#!/usr/bin/env bash set -euo pipefail mkdir -p data/stage1/{sub,wiki,ppc} stage1() { ../../tools/moses-scripts/scripts/tokenizer/normalize-punctuation.perl -l pl <"$1" | sed -E 's/[^[:alnum:] ,\.\?\!]/ /Ig; s/ +/ /g' | # alphaa will alow for czech, arabic and so on rg -v '^\s*$' | sd '[0-9]' '1' >"$2" # replace...
true
b5820830e5a3459f8d3301d1fee18ad51f017b34
Shell
23ua/dotfiles
/.zshrc
UTF-8
2,021
2.59375
3
[]
no_license
# Path to your oh-my-zsh installation. export ZSH=$HOME/.oh-my-zsh # locale export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 # fix emacs-zsh integration if [ -n "$INSIDE_EMACS" ]; then export TERM=screen-256color fi # theme if [ -n "$INSIDE_EMACS" ]; then ZSH_THEME="pygmalion" # ZSH_THEME="gentoo" else ...
true
5663d8addd9884964aedbfc399dff3251077683e
Shell
rvaughan/rosbot
/bash/handler_build
UTF-8
3,794
4.0625
4
[]
no_license
#!/bin/bash # handler_build - builds PDF quotes and reports from XML files # # This script is part of the PenText framework # https://pentext.org # # Copyright (C) 2016 Radically Open Security # https://www.radicallyopensecurity.com # # Auth...
true
e90acae0aa6cd480d9afc1006e49cb514b8c8183
Shell
Mittemi/fog
/infrastructure/base-image/docker-entrypoint.sh
UTF-8
1,220
3.921875
4
[]
no_license
#!/bin/bash # Start the first process cd /beat filebeat -e & status=$? if [ $status -ne 0 ]; then echo "Failed to start filebeat: $status" exit $status fi # Start the second process /usr/share/run_app.sh status=$? echo "Application stopped, wait 60 seconds to ship some logs" sleep 60 if [ $status -ne 0 ]; then ...
true
33721188fd3c15dfef10dc5a53bdb0a594e30622
Shell
zhaofutao/install_python
/install_python.sh
UTF-8
886
2.546875
3
[]
no_license
#!/bin/shell curl "https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tgz" -O Python-2.7.14.tgz tar zxvf Python-2.7.14.tgz pathname=`pwd` cd Python-2.7.14 && ./configure -prefix=${pathname}/Python-2.7.14 --enable-optimizations && make -j && make install cd - wget "https://pypi.python.org/packages/72/c2/c09362ab293...
true
99dd2ea044db65134e47b1ac7270df3ccb7d1a04
Shell
ZhizhouTian/buildroot-busybox
/build.sh
UTF-8
7,582
3.921875
4
[]
no_license
#!/bin/sh usage() { cat <<EOM Usage: build [-a] [-j <N>] build -m <module> [-j <N>] build -p build -c build -h -a Build all components and output the ramdisk.img. (default) -m <module> Build the specified module and output to target dir in <top>/buildroot/output/t...
true
b32bf2dd7a5d02732e8426c821ecd64186e5198f
Shell
github188/test
/performance/self-run/test-raid.sh
UTF-8
889
3.171875
3
[]
no_license
#!/usr/bin/env sh mddev="" timelimit=1800 result_dir="/root/xdd-result" [ -z "$1" ] && echo "usage $@ <mddev> [timelimit]" && exit 1 mddev="$1" [ ! -z "$2" ] && timelimit="$2" mkdir -p $result_dir while :; do # 顺序写半个小时 tmp="$result_dir/xdd-write-$(date +%Y%m%d-%H%M%S)" xdd -op write -targets 1 $mddev -dio -datap...
true
abd439a551b3d4c6b519e39f044bb83bed45f721
Shell
ajt/dotfiles
/brew.sh
UTF-8
2,451
2.921875
3
[]
no_license
# Install command-line tools using Homebrew # Make sure we’re using the latest Homebrew brew update # Upgrade any already-installed formulae brew upgrade BREW_PREFIX=$(brew --prefix) # Install GNU core utilities (those that come with OS X are outdated) # Don’t forget to add `$(brew --prefix coreutils)/libexec/gnub...
true
aa96a84036f06d7821bb81af84642ac5a23c3d11
Shell
aidanharris/You-Dont-Know-JS
/makeEbook.sh
UTF-8
1,141
3.84375
4
[ "Unlicense" ]
permissive
#!/bin/bash set -e if [ -z "$1" ] then echo "Usage: " echo " $0 parent directory of ebooks to build e.g:" echo ' '"$0 " '"'"$PWD"'"' exit 1 fi printf '\n' for d in "$1"/*/ do if [[ $(basename "$d") != "epubs" ]] then if [[ $(basename "$d") != "kickstarter-survey-site" ]] then CWD="" for f in "$1/$...
true
1e54ac9d8ac9c8b546ac259fdf1135d553901968
Shell
jildertmiedema/Vaprobash
/scripts/nodejs.sh
UTF-8
615
3.234375
3
[]
no_license
#!/usr/bin/env bash echo ">>> Adding PPA's and Installing Node.js" # Add repo for latest Node.js sudo add-apt-repository -y ppa:chris-lea/node.js # Update sudo apt-get update # Install node.js sudo apt-get install -y nodejs # Change where npm global packages location npm config set prefix ~/npm # Add new npm glob...
true
17fdc68ba4cddac8b9c30b31ac14a28b8472eaf5
Shell
JohnOmernik/zeta
/1_remote_zetaprep.sh
UTF-8
2,463
4.15625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # Change to the root dir cd "$(dirname "$0")" # Make sure you edit cluster.conf prior to running this. . ./cluster.conf ########################## # Get a node list from the connecting node, save it to nodes.list # Run the Package Manager for a clean copy of packages # Upload the private key to the node ...
true
64d949d8edcfdbdf69abfb6de4146a0eb20de4ee
Shell
durongze/shellscript
/django/install_django.sh
UTF-8
4,162
2.671875
3
[]
no_license
#!/bin/bash #1.install sudo python -m pip install "django<2" #2.check python #>>> import django #>>> django.VERSION #(1, 6, 0, 'final', 0) #>>> #>>> django.get_version() #'1.6.0' #3.新建项目 django-admin.py startproject http #创建成功后会有以下目录结构 #http #├── manage.py #└── http #├── __i...
true
3cff079ba2ad860fac992259397451fe6d512f3c
Shell
pbuyankin/openshift
/resources/action_hooks/pre_build
UTF-8
1,507
3.59375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # debug # set -x #loads VERSION, DEPS_PARAMS, ID, LOG_FILE, PLAY_COMMAND="${OPENSHIFT_DATA_DIR}play-${VERSION}/play" . ${OPENSHIFT_REPO_DIR}.openshift/action_hooks/load_config if [[ ! $? -eq 0 ]]; then exit $? fi PLAY_PATH="play-$VERSION/" # use tmp file just in case it hangs up PLAY_ARCH="${OPENSHIFT...
true
ba2172c690cb72d4aeacdf28ca99b2f20143b3b8
Shell
AOSXAP/reqless
/core/build.sh
UTF-8
504
2.75
3
[]
no_license
if [ "$1" == "" ]; then if [ "$OSTYPE" == "win32" ] || [ "$OSTYPE" == "msys" ]; then g++ core.cpp -o core.exe -I C:/OpenSSL/include -L C:/OpenSSL/lib -lssl -lcrypto -lws2_32 -lgdi32 && ./core.exe else g++ core.cpp -o core -lssl -lcrypto && ./core fi elif [ "$1" == "code" ]; then if [ "$...
true
bb0d510ab04e95416d57502457906d46b496dd10
Shell
LeeGeunHAHAHA/chamber_spo
/scripts/io/common
UTF-8
7,691
3.390625
3
[]
no_license
#!/bin/bash NBIO=nbio NVME_CLI=nvme IOLOG_PREFIX=iolog- SMARTLOG_PREFIX=smartlog- ERRORLOG_PREFIX=errorlog- IOENGINE=spdk #IOENGINE=libaio PCI_ADDRESS=$FQA_DEVICE # domain:bus:device:function PATH_FQA_TEST_SCRIPT=~/fqa/trunk/fqa_test_script PATH_GET_LOG=~/fqa/trunk/io/get_log if [[ -z $NBIO_NSID ]]; then NSID=1 ...
true
27445e0c5e4620d0c2a0e7dab96369b1a4daa8f5
Shell
travis-deshotels/useful-scripts
/finddir.sh
UTF-8
764
3.96875
4
[ "MIT" ]
permissive
#add this function to your bashrc and create an alias # shellcheck disable=SC2010 function finddir { PROJECT_DIR="" match_count=$(ls -l "$PROJECT_DIR" | grep '^d' | grep -ic "$1") if [[ $match_count == 0 ]];then echo "No match" elif [[ $match_count == 1 ]];then cd "$PROJECT_DIR/$(ls "$...
true
3ec7e4f64bce29f9fd32ad124ac035788d6e4a9b
Shell
randomlock/pytest_ec2
/pytest_ec2/pytest.sh
UTF-8
2,099
3.765625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e if [[ -z "$1" ]] || [[ -z "$2" ]] || [[ -z "$3" ]] ; then echo "Please specify test case branch, backend path and ec2 pem key path" exit 1 fi #if [[ $EUID == 0 ]]; then # echo "Exiting from root" # exit #fi branch=$1 backend_path=$2 ec2_pem_key_path=$3 echo "##################...
true
77e39590b85e5c284cad15728029efb79800df24
Shell
julp/ugrep
/test/ugrep.sh
UTF-8
5,057
3.453125
3
[]
no_license
#!/bin/bash # charset: UTF-8 # WARNING: # * only file in UTF-8 *without BOM* should be compared (grep considers BOM when ugrep don't) # * comparaison must be about an UTF-8 file with LF line ending (grep considers CR when ugrep don't) # * search string should be ASCII only when LC_ALL=C declare -r TESTDIR=$(dirname ...
true
e6dac3a60e5aa2a123ab28c8b72b66d3579b935c
Shell
qingen/wenet
/examples/openasr2021/s0/local/dump_wav.sh
UTF-8
1,374
3.71875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # dumps such pipe-style-wav to real audio file nj=1 . tools/parse_options.sh || exit 1; inscp=$1 segments=$2 outscp=$3 data=$(dirname ${inscp}) if [ $# -eq 4 ]; then logdir=$4 else logdir=${data}/log fi mkdir -p ${logdir} sox=`which sox` [ ! -x $sox ] && echo "Could not find the sox program at $sph2pi...
true
b02322302b071463282fe8cba186bfefce96bc0a
Shell
davep-github/dpw
/etc/cron.d.work/daily.home
UTF-8
1,530
2.6875
3
[]
no_license
#!/usr/bin/env bash # $Id: daily,v 1.61 2007/08/28 08:20:12 davep Exp $ #set -x . $HOME/etc/crontab.rc clean-droppings # HUGE, plus some dirs are foolishly make with to high permissions # I sure hope *I* didn't write the comment above this line. # echo "Index ports:" # indexes are getting a bit large # Also, not ne...
true
06bcc073498f1840ac61fd552fe64f8872115c25
Shell
ggdream/scripts
/dart.sh
UTF-8
1,001
2.71875
3
[ "MIT" ]
permissive
#!/bin/bash version=2.10.4 location=/usr/local target=$HOME/.bashrc wget -c https://storage.googleapis.com/dart-archive/channels/stable/release/$version/sdk/dartsdk-linux-x64-release.zip sudo apt install unzip -y sudo unzip -d $location dartsdk-linux-x64-release.zip echo "export PUB_HOSTED_URL=https://pub.flutter-...
true
6dac09ef7c29cf4bfa6a0a75ba23f0196343b129
Shell
mcschmitz/notion2readme
/.githooks/pre-commit
UTF-8
2,813
4
4
[]
no_license
#!/bin/sh # # An example hook script to verify what is about to be committed. # Called by "git commit" with no arguments. The hook should # exit with non-zero status after issuing an appropriate message if # it wants to stop the commit. # if git rev-parse --verify HEAD >/dev/null 2>&1 then against=HEAD else # Initia...
true
acf2a58ceedb0497fccba6e7a88f5190b57c02e2
Shell
provingground-moe/qserv
/admin/bin/dreplicate.sh
UTF-8
2,251
3.984375
4
[]
no_license
#!/bin/sh # LSST Data Management System # Copyright 2014 LSST Corporation. # # This product includes software developed by the # LSST Project (http://www.lsst.org/). # # 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 Fr...
true
bb899e5d43d89e04c552dff7f9a5531069f0619b
Shell
CSC466-hub/WizWaterTest
/linpack/vm-libvirt.sh
UTF-8
2,148
3.546875
4
[]
no_license
#!/bin/sh # run this on a Linux machine like arldcn24,28 if [ "$#" -ne 1 ]; then echo "Usage: $0 numberOfSockets (specify as 1 or 2)" exit 1 fi if [ "$1" -eq 1 ]; then numaopts=" --physcpubind=0-7,16-23 --localalloc " numsmp=16 echo "Running on one socket with numactl $numaopts" elif [ "$1" -eq 2 ...
true
9fa7dac3426dcd518551de15e1e538eb2c912825
Shell
Paulmicha/decoupled-prototype
/cwt/extensions/drupalwt/global.vars.sh
UTF-8
630
2.8125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash ## # Global (env) vars for the 'drupalwt' CWT extension. # # This file is used during "instance init" to generate the global environment # variables specific to current project instance. # # @see u_instance_init() in cwt/instance/instance.inc.sh # @see cwt/utilities/global.sh # @see cwt/bootstrap.s...
true
8165b2479d0e3ad59283153aedddb8cfe7cf2383
Shell
iarhbahsir/todo-nlp
/ProcessTODO
UTF-8
2,733
4.25
4
[]
no_license
#!/bin/bash # take input for desired username/repo # git clone desired repo # find all .java files in cloned directory # output list of java files to a .txt file # run TodoReader java tool on the file of results to: # write all TODO tasks to a .txt file (name based on commit #, new file for every commit, new folder for...
true
9b9340e9fd4e3f63dff91ce66c10576e3d73d2ec
Shell
bboykov/dotfiles
/scripts/dotfiles-install-homebrew-packages
UTF-8
1,681
3.671875
4
[]
no_license
#!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' readonly DOTFILES_HOME="${HOME}/dotfiles" readonly DOTFILES_CONFIG="${DOTFILES_HOME}/config" # shellcheck source=../lib/functions.bash source "${DOTFILES_HOME}/lib/functions.bash" set +e command -v brew >/dev/null 2>&1 brew_installed=$? set -e if [[ ${brew_install...
true
1ebe5d9df1e9414ff0ba09266d68f1fb29bcf274
Shell
skoef/zfsync
/lib/common
UTF-8
1,889
3.765625
4
[ "MIT" ]
permissive
#!/bin/sh if [ -z "${LIB_COMMON_INCLUDED}" ]; then LIB_COMMON_INCLUDED=1 zf_usage() { local msg=$1 [ ! -z "${msg}" ] && echo "Error: ${msg}" >&2 cat >&2 << EOT Usage: zfsync [-dhiPq] [-U target_user] [-I identity_file] [-k retention] [-K retention] -H target_host -T target_zfs ...
true
736751887a22dfd865c8fcf67c8fe25013adb7d2
Shell
JJRcop/newSS13tools
/auto/mapmerge.sh
UTF-8
290
3.15625
3
[]
no_license
#!/bin/bash # if [ "$1" != "" ]; then echo "Dir is $1" else echo "Positional parameter 1 is empty" exit; fi for map in $( find $1/_maps -type f -name '*.dmm'); do echo $map cp -f $map $map.backup done echo -en "0-3,5-122\n\n" | python3 $1/tools/mapmerge/mapmerger.py $1/_maps 0;
true
8511d465bcdcd4d394c466ba9bf171460d05f847
Shell
victorwang0526/wtglj-app
/travis/build-ios.sh
UTF-8
217
2.546875
3
[]
no_license
#!/bin/bash -v set -e # Build Ionic App for iOS ionic cordova platform add ios --nofetch if [[ "$TRAVIS_BRANCH" == "develop" ]] then ionic cordova build ios else ionic cordova build ios --prod --release fi
true
2eab0fc114d881ca338e870fa233c88bcaa6cbe2
Shell
vlttnv/Tophat
/run_consumers.sh
UTF-8
1,102
3.765625
4
[]
no_license
#!/bin/bash # The script runs multiple consumers # To run the script: # chmod a+x producers.sh # ./producers.sh balancer_addr balancer_port producer_id num_producer # $1 = balancer_addr : IP address of the balancer # $2 = balancer_port : Port number of the balancer # $3 = producer_id : ID of the starting producer # ...
true
37475aba1d4cffc06ea8ac918c99d61813e071bb
Shell
draschke/dotfiles
/scripts/cache
UTF-8
948
4.4375
4
[]
no_license
#!/usr/bin/env bash # Cache commands - cache # Use before another command, and it will cache that command's # output. Default cache lifetime is value of env var CACHE_MINS # or 5; can be overridden with the -m (or --mins) option # e.g. cache -m 10 <some command...> # Stores cache files in /tmp, prefixed with cache. ...
true
74d93a0a8304b3257acbea8091cca92b26a0ac2b
Shell
bellmit/pmc-repo
/FinPreMerge/bin/finRSIScan.sh
UTF-8
1,600
3.390625
3
[]
no_license
#!/bin/sh if [ $debug -eq 1 ];then set -x fi tstart_rsi="$(date +%s)" #txn=`ade pwv|grep VIEW_TXN_NAME |cut -d: -f2|tr -d [\ ]` #destdir=$ADE_VIEW_ROOT/fusionapps rsioutfileformail="$destdir"/"$txn"_rsi.out errCd13=0 rsioutfile="RSI_issues.csv" echo -e "" > $rsioutfileformail echo -e "RowSetIterator Scan O...
true
ea4d460be6c98d2a20576b39edcc228bdd5daa5a
Shell
dpb587/elasticsearch-archive-bosh-release
/packages/elasticsearch-archiver/packaging
UTF-8
550
2.90625
3
[ "MIT" ]
permissive
#!/bin/bash exec 2>&1 set -e set -u tar -xzf jq/jq-*.tar.gz ( cd jq-* ./configure \ --prefix="$BOSH_INSTALL_TARGET" \ --disable-maintainer-mode make make install ) tar -xzf nodejs/node-v*.tar.gz ( cd node-* ./configure --prefix="$BOSH_INSTALL_TARGET" make make install ) tar -xzf elasticdump...
true
2c20cb2759e79bc72bcebd80133342777ddbdbcb
Shell
guardam/slap
/examples/zsh/complete
UTF-8
496
2.640625
3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
#!/usr/bin/env zsh config="$(cargo r -q -- path -d "${(%):-%N}")/../complete.yml" eval "$(cargo r -q -- parse zsh _ -- "$@" <"$config")" [[ -z "$_success" ]] && exit 1 printf '%s\n' \ "opt = '${_opt_vals[@]}' pos = '$_pos_vals' flag = '${_flag_vals[@]}' mode = '$_mode_vals' mvals = '$_mvals_vals' minv...
true
9ae7b98f10a783f49b687fb6f3ea7026b8602288
Shell
KarmaGYZ/mesos_test
/run_mesos_test.sh
UTF-8
7,754
2.796875
3
[]
no_license
#!/usr/bin/env bash # Common variable MESOS_TEST_DIR="`dirname \"$0\"`" # relative export MESOS_TEST_DIR="`( cd \"${MESOS_TEST_DIR}\" && pwd -P)`" # absolutized and normalized # User specify configuration of mesos export MESOS_MASTER="127.0.0.1:5050" export REST_PORT="8077" source "$(dirname "$0")"/config # FLINK_H...
true
dcec1b70d7d7d3d25d799828520c26e5afc5bcc0
Shell
timbertson/opam2nix-packages
/gup/.opam-repository.stamp.gup
UTF-8
426
3.21875
3
[]
no_license
#!bash -eu cd opam-repository/packages function get_commit() { ( commit="$(env \ GIT_AUTHOR_NAME="nobody" \ GIT_AUTHOR_EMAIL="nobody@example.org" \ GIT_AUTHOR_DATE='1970-01-01T00:00:00Z' \ GIT_COMMITTER_NAME="nobody" \ GIT_COMMITTER_EMAIL="nobody@example.org" \ GIT_COMMITTER_DATE='1970-01-01T00:00:00Z' \ ...
true
6904ad988de18153100e2e6b81ba6365d4c65ae9
Shell
mmpyro/swarm-queen
/entrypoint.sh
UTF-8
422
3.390625
3
[]
no_license
#!/bin/bash if [[ $# -lt 1 ]] then echo 'mode argument required. apply | destroy' exit 1 elif [[ $1 -eq 'apply' ]] || [[ $1 -eq 'destroy' ]] then cd /home/operations/orchestrator/src python3 ./main.py --config /home/operations/config.json --terraform-dir /home/operations/terraform --ansible-dir /home/oper...
true
74227e864b3b3ea2e52a3bdfb9af2eed402c0989
Shell
jagumiel/Server_setup
/6_Test_PHP.sh
UTF-8
1,032
3.125
3
[ "MIT" ]
permissive
#!/bin/bash #Test de PHP username="$(id -u -n)" sudo adduser $username www-data #Anade al user al grupo www-data #sudo chown $username.users /var/www #sudo chown -R www-data:www-data /var/www sudo chmod -R g+rwx /var/www #Da permisos al grupo sudo chmod 777 -R /var/www/ #sudo cp testphp.php /var/www/ echo "<?php phpin...
true
a3ece638228d67c56b5eca99fabd696e081d2973
Shell
sviret/cmsmib
/ProcessData/batch/data_rawextractor.sh
UTF-8
2,844
3.53125
4
[]
no_license
#!/bin/bash ################################################ # # data_rawextractor.sh # # Script invoked by runDQ_extraction_fillraw_fast.sh # Extract the information for a given Fill part # # --> List of inputs: # # ${1}: the path leading to the datafiles # ${2}: the fill number # ${3}: the list of run in the fill #...
true
9403d7856abb55934158617ec695c33877adb175
Shell
Phil-Friderici/puppet-module-pam
/tests/vagrant_test_all.sh
UTF-8
375
3.203125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -e systems=$(vagrant status |grep virtualbox | awk '{print $1}') echo -e "\nsystems to test:\n${systems}" for i in $systems do echo -e "\n\n\n========= Running: vagrant up ${i}" vagrant up $i echo -e "\n\n\n========= Testing ssh to ${i}" vagrant ssh $i -c "exit" echo -e "\n\n\n========= Running:...
true
b7212ca6cb12f139b2e2812a739735348d249996
Shell
cybergarage/uecho
/format
UTF-8
434
3.359375
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash formatters=(clang-format clang-format-7) for f in "${formatters[@]}" do if command -v "${f}" &> /dev/null then format=$f break fi done if [ -x "`which clang-tidy`" ]; then find . -name "*.h" -or -name "*.c" -or -name "*.cpp" -or -name "*.m" | xargs -L 1 -Ifname clang-tidy --fix fname -- -Iinclude -...
true
200b3cf0efcc5ea14f52a18c4fa3bd1cde6b6479
Shell
thomastk/kunjumon
/src/kunjumonOracle
UTF-8
305
2.609375
3
[ "MIT" ]
permissive
#!/bin/bash #Any environment settings specific to Oracle. INSTALL_DIR=/usr/local/nagios/kunjumon ORACLE_CLIENT_LIB_PATH=/usr/lib/oracle/11.2/client64/lib CONFIG_FILE=$1 MONITOR_NAME=$2 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_CLIENT_LIB_PATH $INSTALL_DIR/kunjumon.pl $CONFIG_FILE $MONITOR_NAME
true
58c810496df7447a912e802b7cdcbbfd9e684fae
Shell
aparna-arr/Allscripts
/old/other/Plots/MAnorm/MAnorm.sh
UTF-8
4,848
3.03125
3
[]
no_license
if [ $# -ne 6 ] then echo "Usage: `basename $0` peak1.bed peak2.bed read1.bed read2.bed bp_shift_1 bp_shift_2" exit fi echo "StepI: clean input" sed 's/\s$//g' $1 | awk 'BEGIN {OFS="\t"} {if ($1~/chr/ && $1 !="chrM" && $1 !~/random/ && $3>$2 && $2>0 && $3>0) print $1,$2,$3>"peak1.bed"; else ...
true
051d49acfa005a7d01c029745d7217eba4e89a48
Shell
harakara51/MacroCenterWebsite
/mcwapp
UTF-8
578
3.65625
4
[]
no_license
#!/bin/bash # chkconfig: 345 99 10 # description: Dictionary node.js app appName=MCW PORT=3005 appUser=ec2-user nodeDir=/home/ec2-user/Node wordsAppDir=$nodeDir/MCW logDir=$wordsAppDir/var/log logFile=$logDir/node_log prog=MCWapp start() { echo "Starting $prog: " su - ec2-user -c "cd $wordsAppDir && npm start >>...
true
4fa25320b2f49b0fb963951bc90f2c5ba89a07e7
Shell
cr4r/proxy-terminal
/install
UTF-8
1,803
3.4375
3
[ "MIT" ]
permissive
#!/bin/bash red=$(tput setaf 1) gren=$(tput setaf 2) yellow=$(tput setaf 3) msg() { local colors="/etc/new-adm-color" if [[ ! -e $colors ]]; then COLOR[0]='\033[1;37m' #BRAN='\033[1;37m' COLOR[1]='\e[31m' #VERMELHO='\e[31m' COLOR[2]='\e[32m' #VERDE='\e[32m' COLOR[3]='\e[33m' #AMARELO='\...
true
7713715d75235abf37cd23b684635b96a77a3b93
Shell
Decentrify/Deployment
/gvod/gvod/bin/start.sh
UTF-8
444
3.375
3
[]
no_license
#!/bin/bash echo "$0 $@" if [ $# -ne 2 ]; then echo "illegal number of parameters - expected 2: homeDir jarDir" exit 1 fi HOME_DIR=$1 JAR_DIR=$2 JAR_PATH=${JAR_DIR}/gvod_ws.jar APP_CONF=${HOME_DIR}/etc/gvod.conf WS_CONF=${HOME_DIR}/etc/gvod_ws.yml IPV4="-Djava.net.preferIPv4Stack=true" nohup java $IPV4 -Dconfi...
true
0868709f6dad3135b52aee7824f60bd44eb70395
Shell
povilasb/unix-configs
/alacritty/install.sh
UTF-8
172
2.984375
3
[ "MIT" ]
permissive
#!/bin/sh if [[ -z $@ ]] ; then src=alacritty.yml else src=alacritty.$@.yml fi mkdir -p ~/.config/alacritty install -m 644 $src ~/.config/alacritty/alacritty.yml
true
a64ad9b2c65a04319ff4d3d2db9314c53f026ef4
Shell
rundeck/rundeck
/test/api/test-scm-plugins-list.sh
UTF-8
2,759
3.15625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash #/ Purpose: #/ Test the scm plugins list endpoints #/ DIR=$(cd `dirname $0` && pwd) export API_XML_NO_WRAPPER=1 source $DIR/include_scm_test.sh project="testscmlist" test_plugins_list_xml(){ local intname=$1 ENDPOINT="${APIURL}/project/$project/scm/$intname/plugins" test_begin "XML Response" AC...
true
10b72f2e1c3def9b0caf6fd9046ee96cd901f452
Shell
redhat-nfvpe/openstack-lab
/manager/get-mac-address
UTF-8
495
3.375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e # Note: use "_" instead of "-" for NETWORK NAME=$1 NETWORK=$2 HERE=$(dirname "$(readlink -f "$0")") ROOT=$(readlink -f "$HERE/..") . "$ROOT/configuration/environment" . "$ROOT/utils/functions" C_NAME=$(c "$NAME") MAC_ADDRESSES=$("$ROOT/ssh" manager-root "$(cat <<- EOT set -e virsh domiflist $C...
true
01988cffb8bf45f31f3d01e3bc24233052bd7d19
Shell
Shiba-Chain/sample-ci
/docker/go/entrypoint.sh
UTF-8
88
2.53125
3
[]
no_license
#!/bin/bash -e if [[ "$#" -eq "0" ]]; then exec go run server.go else exec "$@" fi
true
808b13c57e12d8579b779d470d28b006aa5c9e63
Shell
optionalg/quickstart-couchbase
/scripts/format.sh
UTF-8
370
3.5625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash DEVICE=/dev/sdk MOUNTPOINT=/mnt/datadisk echo "Creating the filesystem." mkfs -t ext4 ${DEVICE} echo "Updating fstab" LINE="${DEVICE}\t${MOUNTPOINT}\text4\tdefaults,nofail\t0\t2" echo -e ${LINE} >> /etc/fstab echo "Mounting the disk" mkdir $MOUNTPOINT mount -a echo "Changing permissions" chown ...
true
a6f8cb2dc4d88f72b99756ebc7946291b3e27b65
Shell
gitluin/sbar
/network.sh
UTF-8
436
2.875
3
[]
no_license
#!/bin/sh NETSTATE="$(cat "/sys/class/net/wlp2s0/operstate")" if [ $NETSTATE = "up" ]; then # bssid comes first, fuhgettaboudit WPASTR="$(sudo wpa_cli -i wlp2s0 status | grep ssid)" NETNAME="$(cut -d$'\n' -f2 <<<$WPASTR)" NETNAME="$(cut -d'=' -f2 <<<"$NETNAME")" NETNAME="$(echo "$NETNAME" | sed 's/ /_/')" else ...
true
35875a29f48d098bb2e27b3f2f0e53248312c149
Shell
Cyberdeep/turbinia
/docker/third_party/ubuntu-essential/build_ubuntu_essential.sh
UTF-8
1,097
3.0625
3
[ "MIT", "Apache-2.0" ]
permissive
#!/bin/bash docker rm ubuntu-essential-multilayer 2>/dev/null set -ve docker build -t textlab/ubuntu-essential-multilayer - <<'EOF' FROM ubuntu:14.04 # Make an exception for apt: it gets deselected, even though it probably shouldn't. RUN dpkg --clear-selections && echo apt install |dpkg --set-selections && \ SUDO_...
true
cb18f7b13251a51df7d796874f92e85d65a9f1df
Shell
rafael2k/pinephone-modem-config
/etc/gpsd/device-hook
UTF-8
199
3.046875
3
[]
no_license
#!/bin/sh case "$2" in ACTIVATE) echo "AT+QGPS=1" | atinout - /dev/EG25.AT - ;; DEACTIVATE) echo "AT+QGPSEND" | atinout - /dev/EG25.AT - ;; ""|*) echo "Unhandled argument: $2" exit 1 ;; esac
true
1ff55f260ab639a547abce5ad2037dc18c220168
Shell
circuitbomb/eve-skylizer
/bin/import-staticdata.sh
UTF-8
8,901
3.421875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Script to import latest EVE static data from Fuzzworks and import it to a mysql database # It's part of skŸlizer but it might be usefull for other applications too. # # @author: chrRtg # contact EVE ingame "Rtg Quack" # @see: https://github.com/chrRtg/eve-skylizer # # some basic code from https://git...
true
8e24cbe34e8c26c0ff424045c5d2dddc020ce81b
Shell
IBMa/equal-access
/travis/publish/karma-achecker.sh
UTF-8
439
3.1875
3
[ "Apache-2.0" ]
permissive
if [ -n "$TRAVIS_TAG" ]; then if [[ $TRAVIS_TAG =~ ([^ ]+)\#([^ ]+) ]]; then cd ./karma-accessibility-checker/src; echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >.npmrc; NPM_VERSION="${BASH_REMATCH[1]}"; EXT_VERSION="${BASH_REMATCH[2]}"; echo "Deploy karma-accessibility-...
true