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
1307cd31475ec7a3a65a5a81c703ac4b3a10e32d
Shell
quchen/talks
/2019-10-18_lambda-calculus-intro/slides/build-loop
UTF-8
184
2.578125
3
[]
no_license
#!/usr/bin/env bash while true; do make && notify-send -u critical "Pandoc done" || notify-send -u critical "CONVERSION FAILURE" echo "ENTER for new conversion" read done
true
e916ee33a9e22d30dca0252666571908dca2ae17
Shell
rico360z28/tools
/scripts/ace-point-install/ace.sh
UTF-8
7,013
3.5
4
[]
no_license
#!/bin/bash ################################################################################################ # USER CONFIGURATOINS # # Define Project and Deploy Diretories PROJECT_DIR="/home/intel/git" DEPLOY_DIR="/home/intel" GATEWAY_START="true" ##########################################################...
true
da54cf8fcaf5a93a29e4694be1ca5107738fbdf7
Shell
psyrendust/.dotfiles
/bin/co
UTF-8
205
2.75
3
[]
no_license
#!/usr/bin/env zsh # # co # Fuzzy git checkout #------------------------------------------------------------------------------- set -e BRANCH=$(gitbranches | fzf | trimleading) && git checkout ${BRANCH}
true
2837ace123b28bd1b5c8018ebd32f86d9543c47c
Shell
davidgfnet/domain-crawler
/generator.bash
UTF-8
1,352
3.078125
3
[]
no_license
#!/bin/bash BP=`pwd` mkdir -p results-gen/ rm -rf tmp.generated/ mkdir tmp.generated/ cd tmp.generated/ git clone --depth=1 https://github.com/titoBouzout/Dictionaries.git cd Dictionaries $BP/gendict.py "domains.txt" eus "Basque.dic" $BP/gendict.py "domains.txt" bg "Bulgarian.dic" $BP/gendict.py "domains.txt" "...
true
a4e5a5fa3a735b4ee945203b2860be9c9b9beb58
Shell
jeffrom/logd
/integration_test/run_integration_test.sh
UTF-8
1,022
4.03125
4
[ "MIT" ]
permissive
#!/bin/bash set -euxo pipefail TESTROOT="$( cd "$(dirname "$0")" ; pwd -P )" list_tests() { find "$TESTROOT" -name "[0-9]*_*.test.sh" | cat | sort } run_test() { if [[ "x$1" == "x" ]]; then echo "usage: run_test <test_file_path>" exit 1 fi bn="$(basename "$1")" # shellcheck disa...
true
02006ce1850c4bac71cb0f5e050b9ac256ebef67
Shell
wafflesnatcha/Snippets
/Shell/Yes-No Prompt.sh
UTF-8
228
3.53125
4
[]
no_license
#!/usr/bin/env bash # Example of a y/n prompt with y as the default read -en1 -p "Would you like to continue? [y/n] (y): " if [[ ! "$REPLY" || "$REPLY" =~ Y|y ]]; then echo -e "\nreplied yes" else echo -e "\nreplied no" fi
true
41ddb77be036228c313b81037bc59ca7354421fe
Shell
alex-titus/system-software-final-review
/lab-2/task5.sh
UTF-8
529
2.953125
3
[]
no_license
#c:/cygwin64/bin/bash.exe # This software code is provided as open source software. No questions will be # answered relating to any part of this software, for any reason. # # Much love, # https://github.com/alex-titus for i in $(seq 1 100); do echo "$i" done > numbs.txt # wc ./numbs.txt # 100 100 292 ./n...
true
b59ad39e1a93bbf412f4b36796f131c12f970b28
Shell
benSepanski/lockPlacementBenchmarks
/examples/make_examples.sh
UTF-8
2,158
3.890625
4
[]
no_license
#!/usr/bin/env bash # usage: . make_examples.sh -b/--build -dz/--debugz3 # where if build we call mvn package, and OW do not # where if debugz3 we set LOG_Z3 to true, otherwise false # Must be using java8 BUILD=false; DEBUG_Z3=""; # parse arguments following # https://stackoverflow.com/questions/192249/how-do-i-pars...
true
f0e3dd89d84ca846e0d6996e6ade0b49eccfc033
Shell
CodeAnil/nauta
/nauta-containers/samba/samba-create.sh
UTF-8
2,066
3.78125
4
[ "Apache-2.0", "CC-BY-4.0", "CC-BY-ND-4.0" ]
permissive
#!/bin/bash -e # # Copyright (c) 2019 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
true
0aa37ed56d5838ff582d4131717f571c386a4b68
Shell
ehotinger/blog
/deploy.sh
UTF-8
206
2.890625
3
[]
no_license
#!/bin/bash echo "Deploying updates to GitHub" hugo -t cocoa cd public git add . msg="Automatically rebuilt - `date`" if [ $# -eq 1 ] then msg="$1" fi git commit -m "$msg" git push origin master cd ..
true
37201d1141bfbe153b2164729b7a9068c0aa677c
Shell
vicentepedro/GenRe-ShapeHD
/scripts/test_genre.sh
UTF-8
936
3.234375
3
[]
no_license
#!/usr/bin/env bash # Test GenRe out_dir="/media/Data/dsl-course/GenRe_Testing/output/genre_paper/" fullmodel=./downloads/models/full_model.pt # Pre-trained Model rgb_pattern='/media/Data/dsl-course/affordances_dataset/all_objects_hook_draw/'"$2"'/rgb/*.jpg' mask_pattern='/media/Data/dsl-course/affordances_dataset...
true
b26d9af540f79019a0724601f1cbbcd11a47c8f5
Shell
SteveCDW/Miscellaneous
/confirm_nats.bash
UTF-8
2,064
3.671875
4
[]
no_license
#!/bin/bash >confirm_nats.log while getopts "r:qhv" opt ; do case $opt in "q") QUIET=1 ;; "r") REMOTE_DB="$OPTARG" ; SQL_CMD="-h $REMOTE_DB -P7706" ;; "h") echo "$0 [-q] [-r {Primary DB IP}]" echo " where:" echo " -q =...
true
e8a398c5b5e3b3d2241b6031219a3c5b50fff17d
Shell
alexanderfefelov/scripts
/install/dev/install-graalvm.sh
UTF-8
2,158
3.75
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # Exit immediately if a pipeline, which may consist of a single simple command, # a list, or a compound command returns a non-zero status set -e readonly MONIKER=graalvm readonly VERSION=21.1.0 readonly BASE_8=graalvm-ce-java8 readonly BASE_11=graalvm-ce-java11 readonly BASE_16=graalvm-ce-java16 r...
true
229972594daf0c6a368f2fa037788bb30d070b45
Shell
ps/dist_job_sched_simulation
/simulation_code/run_varied_trial.sh
UTF-8
779
3.4375
3
[ "MIT" ]
permissive
#!/bin/bash NUM=1 while [ $NUM -lt 37 ]; do str="$NUM" let NUM=NUM+1 directory="varied_$str" echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" echo "~~~~~~~~~~~~~~~~Start VARIED $str~~~~~~~~~~~~~~~" echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" confFile="tests/1000-varied-$st...
true
e9b37935eed455c23ec05165a2c2f39e993d056a
Shell
edorn18/KeyLimePie
/m2/given_parser/timing.sh
UTF-8
9,998
2.5625
3
[]
no_license
#pragma clang diagnostic ignored "-Wparentheses" echo "==============================================" echo "Timing benchmarks" echo "==============================================" echo "Benchmark 1: fact_sum" clang ../benchmarks/fact_sum/fact_sum.c -O0 -Wno-parentheses-equality dstart=$(date +'%Y-%m-%d %H:%M:%S|%N')...
true
f3eea9e1dd6e3c41301ab9d8e19aaad19a2717a4
Shell
Shahraaz/S5_Ref
/OS/Temp/ShellSCripting/for.sh
UTF-8
124
3.109375
3
[ "MIT" ]
permissive
#!/bin/bash read -p "enter the limit" n echo "limit is $n" s=0 for((i=1;i<=$n;i++)) do s=$(($s + $i)) done echo "sum=$s"
true
de63431c4158015c3b271795643ebd31b9d18de3
Shell
joestringer/RouteFlow
/dist/common.sh
UTF-8
1,934
4.0625
4
[ "Apache-2.0" ]
permissive
#!/bin/sh COLOUR_CHECKED=0 DELIM="\033[" ECHO_OPTS="" REVERT="0m" RED="31m" GREEN="32m" YELLOW="33m" colour_check() { if [ $COLOUR_CHECKED -eq 0 ]; then COLOUR_CHECKED=1 if (! echo -e "${DELIM}${RED}COLOUR${DELIM}0m" | grep -q "e"); then COLOUR="-e" elif (echo "${DELIM}${RED}C...
true
09c39f18a4a1f6e420bf49efa2f851b10918bb88
Shell
ueser/FastqAlignmentPipeline
/mainPipe.sh
UTF-8
3,616
3.140625
3
[]
no_license
#!/bin/bash # Sequencing alignment pipeline module load seq/cutadapt/1.11 # put all the scripts that pipeline uses into a folder and cd into it # cd Codes/NETseqAlignment/ param=$1 adapter=$2 Samples=`sed -n "/<Sample Names:/,/>/p" $param | sed '$ d' | sed '/<.*/d'` Notification=`sed -n "/<Notification Email/,/>/p...
true
8794210388c7cd0b15dbf0a6611bd6010e82b384
Shell
projectmonitor/projectmonitor-web
/ci/deliver_tracker_story.sh
UTF-8
671
3.453125
3
[]
no_license
#!/bin/bash set -ex function update_tracker_story { curl -X PUT -H "X-TrackerToken: $TRACKER_TOKEN" -H "Content-Type: application/json" -d '{"current_state": "delivered"}' "https://www.pivotaltracker.com/services/v5/projects/$TRACKER_PROJECT_ID/stories/$STORY_ID" } function determine_if_commit_finishes_story { t...
true
a0870acb9a19d38cea368d50383a9fa384503659
Shell
flyseq/drosophila_assembly_pipelines
/assembly/genomesize_jellyfish.sh
UTF-8
705
3.203125
3
[ "MIT" ]
permissive
#! /bin/bash # this script generates a k-mer count histogram with Jellyfish for use # with GenomeScope # job parameters sp="D.melanogaster" # sample name/ID threads="32" # number of threads to use reads="${sp}_R1.fastq.gz" # Illumina PE reads, forward read2="${sp}_R1.fas...
true
28940158475570d971b2fac1dc683382b6c73ccd
Shell
s-nkj/linux_study
/shell/CmdExecutor.sh
UTF-8
481
3.921875
4
[]
no_license
#!/bin/sh if [ $# -ne 1 ]; then echo "Usage: CmdExecutor.sh read_filename" exit 1 fi if [ ! -e "$1" ]; then echo "Input file not found. $1" exit 1 fi IFS=$'\n' file=(`cat "$1"`) ln=0 for line in "${file[@]}"; do if [ ! "$(echo $line | cut -c 1)" = "#" -a ! "$line" = "" ]; then # execute c...
true
46b79d4d9cdeded66cf8cd275ec6dbef399c641e
Shell
shenki/toolchains-builder
/build_chroot.sh
UTF-8
3,827
4.15625
4
[]
no_license
#!/bin/bash if ! [ $# -eq 2 ]; then cat - <<EOF Usage: $0 toolchain_name buildroot-treeish toolchain_name: This is a path to a toolchain fragment. '.config' will be appended to that path, and it will be copied as is to Buildroot's '.config' file. buildroot-treeish: The git tree-ish ob...
true
31dbf84985ac9c5daf0307e6ebce605a70af4b60
Shell
awslabs/amazon-kinesis-video-streams-webrtc-sdk-c
/scripts/check-static-build.sh
UTF-8
416
3.234375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash bins=( kvsWebrtcClientMaster kvsWebrtcClientViewer discoverNatBehavior libkvsWebrtcClient.a libkvsWebrtcSignalingClient.a ) for bin in ${bins[@]} do # Expect to only have a dynamic link to musl's libc if ldd ${bin} | grep -v musl &> /dev/null; then echo "${bin}: failed" echo "" e...
true
e742f861e01e43a1ff54a13563eafa857faa4d68
Shell
mba811/bosh-packer-templates
/bosh-stemcell/scripts/vagrant.sh
UTF-8
498
2.828125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -eux if [ -f $VBOX_VERSION_FILE ]; then mkdir /tmp/vbox VER=$(cat $VBOX_VERSION_FILE) mount -o loop VBoxGuestAdditions_$VER.iso /tmp/vbox sh /tmp/vbox/VBoxLinuxAdditions.run umount /tmp/vbox rmdir /tmp/vbox rm *.iso fi mkdir /home/ubuntu/.ssh wget --no-check-certificate \ '...
true
fffa5ec85b5b9d9e8cbc952951f13a05848bf2d8
Shell
Isaac25silva/Qlearning-Humanoid
/iniciar.sh
UTF-8
492
3
3
[]
no_license
#!/bin/bash blue='\e[0;34m' NC='\e[0m' # No Color red='\e[0;31m' green='\e[0;32m' case "$1" in start) echo "Iniciando serviço de imu" gnome-terminal -x sh -c 'imu' echo "Iniciando serviço de vision" gnome-terminal -x sh -c 'vision' echo "Iniciando serviço de decision" gnome-terminal -...
true
a48e83ac61c2e4e1301d2ea1093886b16741713a
Shell
olegtarasov/GrammarEngine
/src/scripts/dictionary/english.sh
UTF-8
2,149
2.6875
3
[ "MIT" ]
permissive
# The script builds an empty dictionary, version 'PRO' # More info about dictionary compilation: # http://solarix.ru/for_developers/bootstrap/compile_dictionary.shtml ./cleanup.sh set -e if [ "$OSTYPE" == "darwin10.0" ] then echo "Starting compilation under DARWIN..." ../../exemac/compiler -j=2 -dir=../../dictio...
true
5fd8ce2ddc5e7e637b1fc3a1cf3b94373a4b512f
Shell
SMT-COMP/smt-comp
/2018/report/analysis/eligible-incremental-status.sh
UTF-8
366
3.296875
3
[]
no_license
#!/bin/bash # the incremental benchmark file file=$1 stats=$(grep "set-info" "$file" | grep ":status") num_stats=$(echo "$stats" | wc -l) eligible=$(echo "$stats" | grep "unknown" -m 1 -n) if [ -z "$eligible" ]; then eligible="$num_stats" else eligible=$(echo "$eligible" | cut -d ':' -f 1) eligible=$((eligibl...
true
8b28a4b66b266ffbc4297318f160b406776a3ba0
Shell
mlcommons/ck
/cm-mlops/script/install-python-venv/run.sh
UTF-8
359
2.703125
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
#!/bin/bash PIP_EXTRA=`${CM_PYTHON_BIN} -c "import pkg_resources; print(' --break-system-packages ' if int(pkg_resources.get_distribution('pip').version.split('.')[0]) >= 23 else '')"` ${CM_PYTHON_BIN_WITH_PATH} -m pip install virtualenv ${PIP_EXTRA} test $? -eq 0 || exit 1 ${CM_PYTHON_BIN_WITH_PATH} -m venv ${CM_VI...
true
3b87891395f52dcb4dfda02d7db0f6cb9ac24c3e
Shell
emilianbold/netbeans-releases
/cnd.modelimpl/test/scripts/_parse_project.sh
UTF-8
4,040
2.9375
3
[]
no_license
#!/bin/bash # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. # # Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. # # Oracle and Java are registered trademarks of Oracle and/or its affiliates. # Other names may be trademarks of their respective owners. # # The contents of this file are ...
true
62a248335e5c0f8177afacf3a46bf8c6d4ea445f
Shell
greatbn/Script_LEMP_CENTOS
/LEMP.sh
UTF-8
2,305
2.828125
3
[]
no_license
#!/bin/bash echo "--------------------------------------------------------" echo "----------------------Waiting update--------------------" echo "--------------------------------------------------------" yum -y update echo "--------------------------------------------------------" echo "------------Install repo require...
true
beb7046435cea395db104aa02e7b346551593ce7
Shell
lizzieb1416/shopping_list_django_project
/launch_sl_emp_mode.sh
UTF-8
3,729
3.59375
4
[]
no_license
#!/usr/bin/env bash set -e FILE=/etc/systemd/system/emperor.uwsgi.service if [ -f "$FILE"]; then echo "$FILE exists, reconfiguring the service..." sudo rm -f /etc/nginx/sites-available/sl.conf sudo rm -f /etc/nginx/sites-enabled/sl.conf sudo ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/defaul...
true
91c3cb86784c037c9a03e277b64fbaace7b66795
Shell
telara/bin
/civrun
UTF-8
205
2.859375
3
[]
no_license
#!/usr/bin/env bash DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) for f in $*; do $DIR/civcc -o $f.s $f && $DIR/civas -o $f.o $f.s done $DIR/civvm *.o ret_val=$? rm -f *.s *.o exit $ret_val
true
57074b6cd4a3d5770ce04ae7f317bd0358486b26
Shell
HumanCompatibleAI/adversarial-policies
/experiments/remote_build_and_run.sh
UTF-8
1,628
3.78125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" . ${DIR}/common.sh REMOTE_HOST="" LOCAL_DATA="${DIR}/../data" REMOTE_WORK_DIR="/scratch/${USER}/aprl" TB_PORT=6006 EXTRA_ARGS="" while [[ $# -gt 0 ]] do key="$1" case $key in -c|--cmd) CMD="$2" shift shift ...
true
6b15ad06b6de2bdd1c3ceba4ca413c53d30dff1f
Shell
CeeJayCee/pywws-scripts
/pywws-livelog
UTF-8
1,210
3.734375
4
[]
no_license
#!/bin/sh ### BEGIN INIT INFO # Provides: pywws-livelog-daemon # Required-Start: $all # Required-Stop: $all # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start pywws daemon ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin . /lib/lsb/init-functions DAEMON=/usr/local/bin/pywws...
true
fbd9c489b0cbdc6dc8dc608bd9e9d8a7381eacdf
Shell
shdowofdeath/core
/jenkins/backup/backup.sh
UTF-8
1,086
3.546875
4
[ "MIT" ]
permissive
#!/bin/bash S3_BUCKET_NAME="$1" BACKUP_DIR=/opt/backup echo "Backup to S3 : ${S3_BUCKET_NAME}" if [ -d "${BACKUP_DIR}" ]; then # clear directory rm -rfv ${BACKUP_DIR}/* else mkdir -p ${BACKUP_DIR} fi # backup cert files mkdir -p ${BACKUP_DIR}/certs cp -R /opt/certs/* ${BACKUP_DIR}/certs # backup redis ...
true
052fb9d35076c5eb3afa7d3de898d343b882a487
Shell
BlueRainSoftware/id4i-cli
/test/tests/basic.bats
UTF-8
520
2.71875
3
[ "MIT" ]
permissive
#!/usr/bin/env bats @test "Basic - Help is available" { ./id4i help | grep 'ID4i API commandline application.' ./id4i help | grep 'id4i \[command\]' ./id4i help | grep -- '--apikey string ID4i API key to use' ./id4i help | grep -- '--organization string ID4i organization namespace to work in'...
true
331ff1e8b8bf88fd97d5ad9e6ed4ba648f0f310b
Shell
vlamitin/totally-automatic
/scripts/get_phrazes_from_selected.sh
UTF-8
295
2.84375
3
[]
no_license
#!/bin/sh # gives list of phrazed that contains selected text with use of fraze it key feched from secrets-provider DIR="$(cd "$( dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )";\ curl -s "localhost:8000/fraze_it_api_key" | xargs -I {} "$DIR/_get_phrazes_from_text.sh" "$(xsel -o)" "{}"
true
d57b3c652a5321c880edf78ec34da2b1600469e1
Shell
rishijatia/myMovie-cs410
/contrib/nlp-app
UTF-8
1,142
3.59375
4
[]
no_license
#!/bin/bash # # nlp-app Startup script for the nlp-app demo # # chkconfig: 345 80 20 # # description: nlp-app is for running the MeTA NLP demo # processname: nlp-app # ### BEGIN INIT INFO # Provides: nlp-app # Required-Start: $local_fs $remote_fs $network # Required-Stop: $local_fs $remote_fs $network # Sho...
true
bb6c1a0fb17720cc539494506e4fbfd404539b0f
Shell
bartlettpsj/DwtAngJsWebpack
/dev.sh
UTF-8
508
3.015625
3
[]
no_license
#!/usr/bin/env bash DEV_SERVER_PROTOCOL="${DEV_SERVER_PROTOCOL:-http}" DEV_SERVER_HOST="${DEV_SERVER_HOST:-0.0.0.0}" DEV_SERVER_PORT="5000" # If the dev server port is set, then add a port argument # to the webpack-dev-server init command if [ -z $DEV_SERVER_PORT ]; then DEV_PORT_ARG="" else DEV_PORT_ARG="--port $...
true
490b9358cf121238bd679d905a9494d7df47bccf
Shell
elements72/so20-21
/c-simpleExercise/test.sh
UTF-8
82
2.6875
3
[]
no_license
for f in *.c; do echo "Processing $f file.."; gcc $f -o ${f%.c}.o done
true
c99f94b463838e8e7424aba48025416fe14e99d3
Shell
Floobits/colabalancer
/setup/runit.sh
UTF-8
541
3.3125
3
[]
no_license
#!/bin/bash cp -r runit /etc/sv/colabalancer if [ ! -e /etc/service/colabalancer ] then echo "/etc/service/colabalancer doesn't exist. Creating it..." ln -s /etc/sv/colabalancer /etc/service/ fi if [ ! -e /service ] then echo "/service doesn't exist. Creating it..." ln -s /etc/service /service fi if...
true
e7b477aa8a80ed94b56049f2ce9dceda4675dcae
Shell
PhillipSz/my-dotfiles
/bin/git/git-update-commit-message
UTF-8
188
3.078125
3
[]
no_license
#!/bin/bash hash=$1 if [ -z "$hash" ]; then hash=`git rev-parse HEAD` fi git checkout $hash git commit --amend git checkout -b "tmp" git checkout master git merge tmp git branch -d tmp
true
58a8bac29686ffc9d119047da78b054a268ef82e
Shell
jiazemin/clicklog
/azkaban/job/hivesql.sh
UTF-8
1,326
2.953125
3
[]
no_license
#!/bin/bash #set java env export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH #set hadoop env export HADOOP_HOME=/Users/xuyongcai/hadoop/hadoop-2.9.0 export PATH=${HADO...
true
30a026b790cb58513582c3e3b2492e0fe1762cfa
Shell
dajuly20/ControlPi
/h/updateCmake.sh
UTF-8
2,053
3.84375
4
[ "MIT" ]
permissive
#!/bin/bash # TO Upgrade cmake to 3.13.4 which cmake INSTALLED_VERS=`cmake --version | head -n 1` # Download version CMAKE_VERS="3.13.4" CMAKE_VERS_S="cmake version 3.13.4" extract () { if [ -f $1 ] ; then case $1 in *.tar.bz2) tar xjf $1 ;; *.tar.gz) tar xzf $1 ...
true
c7c612fc9cbe807219b1e0b2e3f0ceeb1f5a211a
Shell
miguelvelazco/coffee-saver
/coffeesaver-nbmlook.sh
UTF-8
422
3.03125
3
[]
no_license
echo -e "\033[0m\n*GODZILLA*\n\033[0;32mGGggGGggGG\nooOOooOOoo\nDDddDDddDD\nzzZZzzZZzz\nIIiiIIiiII\nllLLllLLll\nLLllLLllLL\naaAAaaAAaa\033[0m\n*GODZILLA*" echo -e "creating scans folder" mkdir -p scans/ nmap -sP $1 -oG $2.txt cat $2.txt | grep "Up" | cut -d " " -f2 > livehost.txt for i in $(cat livehost.txt); do e...
true
25d18ab1a07ed62d5982efbb5b871524252d2c5b
Shell
codydiehl/update-script
/scratch.sh
UTF-8
258
2.859375
3
[]
no_license
read -p "Question to ask the user? (y/n)" -n 1 -r if [[ $REPLY =~ ^[Yy]$ ]]; then elif [[ ! $REPLY =~ ^[Yy]$ ]]; then [[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1 # handle exits from shell or function but dont exit interactive shell fi
true
8022ec4e7e0f45ea3b20d1b473a3dd251ab0768c
Shell
msys2/MINGW-packages
/mingw-w64-gsm/PKGBUILD
UTF-8
1,920
2.734375
3
[ "BSD-3-Clause" ]
permissive
# Maintainer: Alexey Pavlov <alexpux@gmail.com> _realname=gsm pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=1.0.22 pkgrel=1 pkgdesc="Shared libraries for GSM 06.10 lossy speech compression (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'cla...
true
d1e63d9c13bade1a2eae4f67c83a850fd1d94a8c
Shell
votdev/ceph-dev-docker
/shared/bin/create-dashboard-rgw-user.sh
UTF-8
936
3.109375
3
[]
no_license
#!/bin/bash set -e : ${CEPH_DEV_DOCKER_CONFIG_DIR:="$HOME/.ceph-dev-docker"} mkdir -p $CEPH_DEV_DOCKER_CONFIG_DIR #-------------- # Configure RGW #-------------- cd /ceph/build ./bin/radosgw-admin user create --uid=dev --display-name=Developer --system ./bin/ceph dashboard set-rgw-api-user-id dev || true RGW_ACCES...
true
dddb9e8652b50f31d9980afb3bafe40d47f1072d
Shell
sternenseemann/dotfiles-1
/.offlineimap/run_offlineimap.sh
UTF-8
2,291
3.921875
4
[]
no_license
#!/bin/bash read -d '' USAGE << EOF USAGE: -b#: Run a backup with Back in Time (backup job number #, should ideally include the maildir ~/.offlineimap. -c : String with names of accounts which mails should be counted. If omitted all accounts are. -q : Run a quick sync. Requires the MAIL enviro...
true
510621c75e6d2887271c14ce434aae0f211e6610
Shell
mvelusce/peon
/build.sh
UTF-8
533
2.703125
3
[]
no_license
#!/usr/bin/env bash cd cmd/peon cp main.go main.go.bak envsubst < main.go > main_with_version.go mv main_with_version.go main.go echo "Building for Linux..." env GOOS=linux GOARCH=386 go build -i -v -o ../../bin/peon-linux echo "Building for OSX..." env GOOS=darwin GOARCH=amd64 go build -i -v -o ../../bin/peon-osx ...
true
70c88f913f5edfd772b4dec496964fe52d7485e9
Shell
KMI-KPZ/Albatross
/services/eurostat/parser/Main.sh
UTF-8
1,912
3.65625
4
[]
no_license
#!/bin/bash startTime=$(date) #directory path where all the zip files are stored FILES=../../../data/sandbox/eurostat/original-data/ #directory path where the uncompressed file should be stored unCompressPath=../../../data/sandbox/eurostat/raw-data/ #directory path where the tsv file should be stored tsvPath=../../.....
true
5c9c373a2ba73e04a9352b0834e96545677eec97
Shell
mikeg64/alces_flight_customisation
/customizer/default/configure.d/run_me.sh
UTF-8
889
3.8125
4
[ "MIT" ]
permissive
#!/bin/bash echo "configure.d script" number_of_users=35 password_file=/home/walkingrandomly/users.txt #Install mkpasswd sudo yum install expect -y if [ $2 = 'master' ]; then echo "Running on master node" #Master node touch $password_file for i in `seq 1 $number_of_users`; do username=training_user$i sudo u...
true
701eff83ca16810b2763aa4ce9d7cccfec974fce
Shell
sarvex/Impala
/thirdparty/openldap-2.4.25/tests/scripts/test000-rootdse
UTF-8
2,041
3.078125
3
[ "OLDAP-2.8", "LicenseRef-scancode-warranty-disclaimer", "BSD-4.3RENO", "Apache-2.0" ]
permissive
#! /bin/sh # $OpenLDAP: pkg/ldap/tests/scripts/test000-rootdse,v 1.29.2.6 2011/01/04 23:51:04 kurt Exp $ ## This work is part of OpenLDAP Software <http://www.openldap.org/>. ## ## Copyright 1998-2011 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or witho...
true
cde8bafa04bab42e39e22d9a0b7b31c9a6362642
Shell
simhaonline/WeeNAS
/etc/monit.d/failed_su.sh
UTF-8
621
3.890625
4
[ "BSD-2-Clause" ]
permissive
#!/bin/sh # smbconf.sh - check smb.conf using testparms and report status. # A single command-line parameter may be passed as the path to smb.conf. # The return code is 1 when errors occur and 0 when no errors found. # # If "Loaded services file OK." is the second line of testparm's stderr, then # everything is ok. Oth...
true
6c3d0fdb31d4cc7f643ab3001c0937b9595b3731
Shell
tamtd4/test
/check_files.sh
UTF-8
664
3.625
4
[]
no_license
#! /bin/bash BACKUP_PATH=/home/gitlab-runner/test REMOTE_PATH=/home/gitlab-runner USER=gitlab-runner HOST=172.20.23.161 cd $BACKUP_PATH declare -a dirs i=1 for d in */ do dirs[i++]="${d%/}" done echo "There are ${#dirs[@]} dirs in the current path" for((i=1;i<=${#dirs[@]};i++)) do echo $REMOTE_PATH/${dirs[i]...
true
55e2f3be96eceb9f42f541373e2503c39a3f3888
Shell
joachimaae/Docker-Postgres-Airflow
/init.sh
UTF-8
303
3.09375
3
[]
no_license
# Folder structure, taken from https://stackoverflow.com/questions/5374382/bash-script-that-creates-a-directory-structure sed '/^$/d;s/ /\//g' environment/struct.txt | xargs mkdir -p cp ./environment/examples/example-* ./environment/ cd environment for i in "example-"*;do mv "$i" "${i#example-}";done
true
1d2757b0ee7126669bb7c409a2d02b04db6b9cf6
Shell
00mjk/Hacker
/hack/main.sh
UTF-8
1,309
2.9375
3
[]
no_license
#!/bin/bash verde='\e[1;32m' cyan='\e[1;36m' rojo='\e[1;31m' azul='\e[1;34m' blanco='\e[1;35m' amarillo='\e[1;33m' click='\e[5m' fn='\e[25m' fnc='\e[0;0m' mor='\e[95m' negrita="\e[1m" echo echo echo -e "$mor +======================================+ " echo -e " | by:anonimo\Hacker-pc | " echo ...
true
2c405f8a8cbe2b8ae7d586f77d79cdeaff3845bf
Shell
axelinux/docker-proftpd
/setup-proftpd.sh
UTF-8
562
2.875
3
[]
no_license
#!/bin/bash mkdir -p /var/ftp/$USER_FTP chown $UID_FTP /var/ftp/$USER_FTP cd /etc/proftpd echo $PASS_FTP | ftpasswd --passwd --name=$USER_FTP --uid=$UID_FTP --home=/var/ftp/$USER_FTP --shell=/bin/false --stdin touch ftpd.group if [ ! -d /etc/proftpd/sshkey ] then mkdir /etc/proftpd/sshkey ssh-keygen -m PEM -f...
true
9e1f85b44722cf7293d38bac0cdb29eac750ae37
Shell
apsoto/dotfiles.old
/.bash.d/shell.sh
UTF-8
497
3.125
3
[]
no_license
# check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize # vi mode for editing command lines. set -o vi # CDPATH so you can jump around without typing a lot. Uses autocompletion too export CDPATH=.:~ cdpaths="$([ -d ~/projects ] && find ~/projects ...
true
ccd6cace011e2bf6f0cff9a4f23d1e1c1f2aed6d
Shell
iandmyhand/boilerplates
/MacOSX/.zshrc
UTF-8
1,191
2.96875
3
[ "MIT" ]
permissive
# Add below script to .zshrc ... export ZSH="$HOME/.oh-my-zsh" ... ZSH_THEME="sssum" ... export LC_ALL=en_US.UTF-8 export LANG=ko_KR.UTF-8 ... # Uncomment below lines. if [[ -n $SSH_CONNECTION ]]; then export EDITOR='vim' else export EDITOR='mvim' fi ... if [ -z "$SSH_AUTH_SOCK" ] ; then echo '\nRun ssh-agent and...
true
5806d3d711bbed2222c368685b1ed8cd2621e545
Shell
gustavorabello/bash
/checkMEM.sh
UTF-8
573
3.0625
3
[]
no_license
#!/bin/bash function userof() { ps auxr -A | egrep -i $@ | awk '{print $1}'; } function pidof() { ps auxr -A | egrep -i $@ | awk '{print $2}'; } function cpuof() { ps auxr -A | egrep -i $@ | awk '{print $3}'; } function timeof() { ps auxr -A | egrep -i $@ | awk '{print $10}'; } function memof() { ps auxr -A | egrep ...
true
9b6d64676a82d35dcef9fefd07d8b0658be61587
Shell
ncoudsi/ft_services
/setup.sh
UTF-8
3,877
3.640625
4
[]
no_license
#!/bin/sh #Variables for colored output in the terminal. GREEN="\e[1;32m" WHITE="\e[0m" #Add $USER to the docker group (if not existing). Allow you to use docker commands without sudo. #WARNING : if sudo is used in a docker build command, the image cant be pulled by k8s later on, #due to rights on the image. It will ...
true
8171776215b130b8c31a5b79cefdd5792cf5257a
Shell
LukieJoe/launch_shell_test
/shell.sh
UTF-8
1,177
2.859375
3
[]
no_license
#! /bin/bash clear echo "shell script launched" #echo "shell script attempt" #python mc_test.py #a=45 #echo $a #pwd #ls #read -p "Can you hear me?" ans #echo $ans #run python scripts in parallel #sudo x-terminal-emulator -e python /home/oaktobotics/raspi_robot_test.py & #sudo x-terminal-emulator -e python /home/o...
true
caf14cbac564921d2d8ffa3be86a481d8e1cd818
Shell
MathieuTuli/dotfiles
/.scripts/calendar_code
UTF-8
3,108
3.125
3
[]
no_license
#!/bin/zsh autoload +X _complete autoload -U compinit && compinit source /usr/bin/aws_zsh_completer.sh functions[_original_complete]=$functions[_complete] _complete () { unset 'compstate[vared]' _original_complete "$@" } FILTER="" LINELIMIT="limit: 15" DETAIL="list" LONGLIMIT=1000 long_comparator=15 FOCUS="" i3-msg...
true
3293779203eb9980afa29c28a94521de3480cad8
Shell
heojoon/hjoon-springboot2-webservice
/bootLauncher.sh
UTF-8
2,592
3.890625
4
[]
no_license
#!/bin/bash # # Spring Boot embedd WAS launcher v1.210501 # USER="wasuser" # Java environments export JAVA_HOME="/app/jdk-11" export JAVA="/app/jdk-11/bin/java" # Process name PROC_NAME="demo" # Jar File Path SVCPATH="/svcroot/runtime/webapps/springboot/" JAR_FILE="demo-0.0.1-SNAPSHOT.jar" # Loggin path LOG_PATH...
true
cdca7cf1d60844d80771860e81c4a485b440a937
Shell
davetron5000/dotfiles
/.git_hooks/post-commit
UTF-8
325
3.1875
3
[]
no_license
#!/bin/sh # # An example hook script that is called after a successful # commit is made. # # To enable this hook, rename this file to "post-commit". REMOTE=`git config --get post-commit.remote` if [ -z $REMOTE ] ; then echo "You must set post-commit.remote in your git config" exit fi git push --force --all $RE...
true
db6072db02f04a4dd0be3bd046fe00377e8c32dc
Shell
galudino/cmake-project-template-c
/makebuilds
UTF-8
877
3.09375
3
[ "MIT" ]
permissive
#!/bin/zsh ## ## Uses CMake to create different build versions ## of sources specified in the current directory's CMakeLists.txt ## file. ## echo "" ## Remove any previous build folders rm -rf ./build/make/Debug/* || true rm -rf ./build/make/Release/* || true rm -rf ./build/make/RelWithDebInfo/* || true rm -rf ./bui...
true
a503a76c8bcd7a4518da3d2f98e6184f49bb9aa5
Shell
clamaa/shell-coding
/chapter1/terminal.sh
UTF-8
270
2.859375
3
[]
no_license
#!/bin/bash echo get terminal cols tput cols echo get terminal lines tput lines echo get longname tput longname #this is let the password won't output to terminal. echo -e "Enter password:" stty -echo read password stty echo echo echo Password read. echo $password
true
28f590fa1815c1601bd498eb214d35bf74b255fc
Shell
ramielrowe/userapi
/run_api.sh
UTF-8
425
2.5625
3
[]
no_license
#!/bin/bash . env.sh docker stop -t 5 ${ENV_NAME}userapi_api docker rm -fv ${ENV_NAME}userapi_api docker run -d --name ${ENV_NAME}userapi_api \ --restart always \ -p 8001:8000 \ --link ${ENV_NAME}userapi_postgres \ -e POSTGRES_HOST=${ENV_NAME}userapi_postgres \ -e POSTGRES_USER=${POSTGRES_USER} \...
true
1b8ed4dbac8cd6801ce88e2de438fec8f575b89b
Shell
x-way/dotfiles
/install.sh
UTF-8
191
3.25
3
[]
no_license
#!/bin/sh TARGET="$HOME" SOURCE=`dirname $0` SOURCE=`cd $SOURCE ; pwd` for f in `cd $SOURCE ; ls -a|egrep -v '^(\.|\.\.|\.git|install\.sh)$'` ; do echo "ln -s $SOURCE/$f $TARGET/$f" done
true
565d991425ddb333afcd3b97f11ae31aca6d06dc
Shell
AmerBouayad/OldProjects
/System (Linux)/SYSG4/process/LaboProcess0302/SOURCES/Demo
UTF-8
2,032
3.703125
4
[]
no_license
#!/bin/bash #NOM : Demo #CLASSE : FS - LaboFS 03-02 #OBJET : réservé au Makefile #AUTEUR : J.C. Jaumain, 07/2011 C='\033[44m' E='\033[32m\033[1m' N='\033[0m' clear if [ $UID -eq 0 ] then echo "quittez la session administrateur pour cette démonstrartion" exit 1 fi echo "Démonstration de l'attaque via un programme ...
true
fad88338b84379cb1cee9b873aa99562a7838a03
Shell
PenpenLi/DownProject
/DownTrunk/Project/Script/Sql/AutoCreateLogDB.sh
UTF-8
767
2.765625
3
[]
no_license
echo "create database, using sh." DBHost=127.0.0.1 DBName=down_log DBRoot=uroot DBP1=p1 echo "drop ${DBName} database..." echo "drop database if exists ${DBName};" | mysql -${DBRoot} -${DBP1} -h${DBHost} echo "create ${DBName} database... " echo "create database ${DBName};" | mysql -${DBRoot} -${DBP1} -h${DBHost} ...
true
f603d7e459e6484b8d661cb5da1ee65311d73a85
Shell
thomaspreece/TableTopSimulator-ModManager
/src/list.sh
UTF-8
245
2.640625
3
[ "Unlicense" ]
permissive
#!/bin/bash set -e workshopJson=`cat ./settings/workshopJson.txt` read -p "Where is your WorkshopFileInfos.json file? " -i "$workshopJson" -e workshopJson echo $workshopJson > ./settings/workshopJson.txt yarn ttsbackup list -w "$workshopJson"
true
bfdc16b27c7bbdc6321c7c1a86d4a7f7b022c6c4
Shell
marler8997/genesis
/printelf
UTF-8
291
2.671875
3
[]
no_license
#!/usr/bin/env bash set -e patchelf=/g/*patchelf*/bin/patchelf interp=$($patchelf --print-interpreter $1 || echo "") echo $1 echo "interpreter: \"$interp\"" rpath=$($patchelf --print-rpath $1) echo "rpath: \"$rpath\"" echo "----------------------------------" readelf -d $1 | grep "library"
true
b2bc09b336f00171937ea3bb3f06e35c916673eb
Shell
jerdavjohnson/scripts
/rsync-deploy.sh
UTF-8
196
2.640625
3
[]
no_license
#!/bin/bash USER= username, HOST= hostname, EX. server ip address DIR= directory where files should go, EX. public_html hugo && rsync -avz --delete public/ ${USER}@${HOST}:~/${DIR} exit 0
true
b5fb73666378da20573409dfc7415e9c66ae49ec
Shell
Meoop/exercise
/linux_shell_scripting_tutorial_v2.0/chapter04/string_comparison_3.sh
UTF-8
270
3.296875
3
[]
no_license
#!/bin/bash # The length of STRING is zero '-z STRING' read -s -p "Enter your password: " pass echo if test -z $pass then echo "No password was entered!!! Cannot verify an empty password!!!" exit 1 fi if test "$pass" != "tom" then echo "Wrong password!" fi
true
cc8b4b7d7edece02a6fabc121c33405084d0a56d
Shell
jaymecd/osx-setup
/mas-signin.sh
UTF-8
587
3.859375
4
[]
no_license
#!/bin/sh set -e main () { did_login=0 if ! mas account >/dev/null 2>&1; then _login did_login=1 fi echo "Logged as: $(mas account)" if [ "${did_login}" -eq 1 ]; then echo "You may now close 'App Store' window." echo "Thank you!" fi } _login () { echo "Attention! Login to 'App Store'...
true
aa5a518af2c123dcded5d1c621da43578d91ebe7
Shell
claudioIREA/Script_SBAS_GEP
/common/.svn/text-base/env.svn-base
UTF-8
2,582
3.375
3
[]
no_license
#!/bin/bash # Project: CCB@CNR-IREA # Author: Terradue Srl # Last update: 2013/09/06 # Element: env # Context: /application/sbas # Name: run # Version: 1.0 # Description: Common functions and variables for SBAS jobs # This document is the property of Terradue and contains ...
true
efd1cae35086737b1a05d781c75e20059b8f6be1
Shell
westfly/thirdparty
/double-conversion/build_and_release.sh
UTF-8
1,201
3.375
3
[]
no_license
function select_compiler() { #https://stackoverflow.com/questions/17275348/how-to-specify-new-gcc-path-for-cmake devtool=/opt/rh/devtoolset-7/root/usr/ export CC=$devtool/bin/gcc export CXX=$devtool/bin/g++ } function cmake_build() { source_dir=$1 build=$source_dir/build if [[ ! -d $build ]];then ...
true
6401155c3fd39386eb49d17d565d6ed2d8730b9e
Shell
jlgull/Linux_Bash_Scripts
/EMCC-Red-Hat-Scripting-Courses/CIS239DL_Scripting_2014/bookscripts/313checkreturnstatus
UTF-8
293
3.75
4
[]
no_license
#!/bin/bash # check the return status from a function # #set -xv function FileExist() { echo $1 if [[ -a $1 ]] then return 0 else return 1 fi } if FileExist $1 then echo $? rm $1 echo $1 "File Removed!" else echo $? echo "$0: $1: No such file or directory" fi #set +xv
true
377f52542b5bb309b6ed7ea3a7faae488c56e1ad
Shell
w-disaster/lab_SO
/esercitazione_esame/6i/es65/lancia.sh
UTF-8
118
2.625
3
[]
no_license
#!/bin/bash if [[ -e B.txt ]]; then rm B.txt fi touch B.txt while true; do cat B.txt | ./A.sh | ./B.sh done
true
5115a5cdba7590b5c359f79a0fb850edc9792971
Shell
stevelle/rpc-openstack
/scripts/linting-ansible.sh
UTF-8
1,870
3.3125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # Copyright 2015, Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
true
71a17cf7abb89a360b02f0381357513c397729c5
Shell
unofficial-inteno-public-mirror/feed-inteno-packages
/iop/scripts/genconfig.sh
UTF-8
6,820
3.703125
4
[]
no_license
#!/bin/bash function genconfig { export CLEAN=0 export IMPORT=0 export SRCTREEOVERR=0 export FILEDIR="files/" export CONFIGPATH="package/feeds/feed_inteno_packages/iop/configs" export CUSTCONF="customerconfigs" export VERBOSE=0 export DEVELOPER=0 export TMPDIR="/tmp/builder/" ...
true
a972c749e8261173205a891351e6e406875e9e50
Shell
sh4nks/dotfiles
/bash/bashrc
UTF-8
5,588
3.28125
3
[ "MIT" ]
permissive
#!/bin/bash # Get the path to this directory (because we symlink all the files) # Ref: https://stackoverflow.com/a/246128/1236449 # ------------------------------ SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev...
true
7d820d174fdc61399f4c111b701a20fc8e6cb9d6
Shell
DangerousPrototypes/automation
/build/bp-install-mplabx.sh
UTF-8
4,001
3.25
3
[]
no_license
# Shell script to install MPLABX and XC16 compiler under linux # Assumes logged in as root or do 'su' first # The instructions are presented in the format of a shell script, but you should really run each step manually! # Based on example here: https://www.microchip.com/forums/FindPost/998286 # Tested under Ubuntu 14.0...
true
d93507bed0c4ce65676c53fa70378975f1c9927a
Shell
nesi/ARCS-systems
/dataFabricScripts/BulkDataTransfer/gloPut7T.sh
UTF-8
4,587
3.9375
4
[]
no_license
#!/bin/sh # gloPut7T.sh Recursively copies files to a remote server. # Requires threaded globus-url-copy; uses sshftp. # Graham.Jenkins@arcs.org.au April 2009. Rev: 20110923 # Default-batch-size, concurrency, environment; adjust as appropriate BATCH=16; CONCUR=2 for Dir in globus-5 globus-5...
true
6c8f59f2344dab7e53fb3a2044591583c26f1f1c
Shell
8ear/docker-wordpress
/make.sh
UTF-8
1,086
3.90625
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash set -x # Default value if var does not exist. NAME=${NAME:-"test"} DOCKER_USER=${DOCKER_USER:-"abc"} FOLDER=${FOLDER:-"."} [ "$FOLDER" == "." ] && TAG=latest [ "$FOLDER" != "." ] && TAG=${TAG:-"$FOLDER"} DOCKERFILE=${DOCKERFILE:-"$FOLDER/Dockerfile"} # Building docker build -t "$DOCKER_USER/$NAME:$T...
true
0a0c2f8bc31823dae08fdb75df650a1a1f78b064
Shell
8l/insieme
/scripts/ppl_install.sh
UTF-8
1,175
3.421875
3
[]
no_license
# setup environment variables . ./environment.setup ######################################################################## ## PPL ######################################################################## VERSION=0.12.1 PACKAGE=ppl-$VERSION FILE=$PACKAGE.tar.bz2 if [ -d $PREFIX/ppl-$VERSION ]; then echo "PPL...
true
9840031f53ffdb201b87485175ee4cf4ba15c93e
Shell
BechtelCanDoIt/wso2-dev-support
/github/install.sh
UTF-8
1,453
3.171875
3
[ "MIT" ]
permissive
#!/bin/bash echo "============================== OS Util Downloads =============================" echo " We are going to execute the following script to ensure you have these installed." echo " This will probably ask for your password." echo "" cat ./~getOsUtils.sh echo "" ./~getOsUtils.sh echo "===================...
true
7001850a9003976681591b7679ebb0c7269166c8
Shell
MyroslavGryshyn/.vim
/.bash_aliases
UTF-8
1,462
3.015625
3
[]
no_license
#Use up 2 or up 3 instead of ../.. upup(){ DEEP=$1; [ -z "${DEEP}" ] && { DEEP=1; }; for i in $(seq 1 ${DEEP}); do cd ../; done; } alias up='upup' # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircol...
true
6a14a95fe2d17527943a669dbac06275b4d06074
Shell
ahopgood/Vagrant-Puppet
/modules/mysql/examples/inplace-upgrade-to-mysql-5.5.x.sh
UTF-8
895
3.015625
3
[]
no_license
#! /usr/bin/env bash VERSION="5.5.49" echo "Stopping current MySQL instance" sudo /etc/init.d/mysql stop printf "Removing the following MySQL packages:\n$(rpm -qa | grep -i '^mysql-')" sudo rpm -e $(rpm -qa | grep -i '^mysql-') echo "Upgrading to mysql-$VERSION" sudo rpm -Uvh /vagrant/MySQL-shared-$VERSION-1.rhel5.x...
true
d73e5f121a78914a14a527b1480bacf54a4804a2
Shell
honestlybc/testnets
/devops/relayer/generate_keys.sh
UTF-8
373
3.171875
3
[]
no_license
#!/bin/bash set -euo pipefail # set all variables REPOSITORY=${REPOSITORY:-cosmwasm/relayer} RELAYER_VERSION=${RELAYER_VERSION:-latest} DOCKER="$REPOSITORY:$RELAYER_VERSION" RELAYER_HOME="${RELAYER_HOME:-/root/.relayer}" CHAIN_ID=$1 KEY_NAME=$2 docker run --rm \ --mount type=bind,source="$RELAYER_HOME",target=/ro...
true
1afcbfb949aeb19db6fec2545cae45888ff300d7
Shell
MichalMaruska-TomTom/mmc-shell
/bin/wait_pid
UTF-8
114
2.984375
3
[]
no_license
#! /bin/bash if [ $# -lt 1 ] then exit -1 fi pid=$1 #ps uww -p while kill -0 ${pid}; do sleep 10s; done
true
fb3f41e96d9ed36816821ae62713f05843575d45
Shell
surynek/boOX
/boOX-y/scripts/expr_mapsol_rota-c_den520d_mdd++.sh
UTF-8
1,310
2.640625
3
[]
no_license
ROBOT_LIST=`cat robots_maps_c` SEED_LIST=`cat seeds_10` SIZE=16 TIMEOUT=`cat timeout` for ROBOTS in $ROBOT_LIST; do for SEED in $SEED_LIST; do echo 'Solving den520d instance with '$ROBOTS' agents ...' ../main/insolver_reLOC '--total-timeout='$TIMEOUT '--minisat-timeout='$TIMEOUT --encoding=pcm...
true
988d78e2e1d9eb966ae5dd0aae141fd97fca16a3
Shell
etekweb/CanvasCLI
/install.sh
UTF-8
687
3.6875
4
[]
no_license
#!/bin/bash cd "${BASH_SOURCE%/*}" || exit echo "Welcome to CanvasCLI Installer." echo "This will allow you to submit assignments directly in Linux shell." echo "An alias will be made, 'canvas', to use the CLI." echo -n "Install now? (y/n) " read answer if [ "$answer" != "${answer#[Yy]}" ] ;then mkdir ~/.canvas ...
true
467acbc5d05fdc14d45f8630d84dd4c36d10bc0f
Shell
fcrespo82/dotfiles
/.zshrc
UTF-8
6,045
2.75
3
[]
no_license
source $HOME/.dotfiles_dir # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH source $DOTFILES_DIR/functions source $DOTFILES_DIR/utils # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" # Set name of the theme to load. Optionally, if you set t...
true
e2932f806c07609f6479e0c2488221cf1cf69920
Shell
adelmanm/approx
/src/pytorch/wide-resnet.pytorch/train_wide_resnet28_cifar10.sh
UTF-8
927
3
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # example usage: ./train_wide_resnet28_cifar100.sh opt_norep_noscale 0.5 10 gpu0 fwd algorithm=$1 sample_ratio=$2 minimal_k=$3 lr=0.15 gpuid=$4 prefix=$5 suffix=$6 config_str=wrn28-10_${algorithm}_${prefix}_${sample_ratio}${suffix}_minimal_k_${minimal_k} log_dir=${gpuid}_logs output_log=${log_dir}/${confi...
true
64fafb2851c19254cc091851be20aabf480d8ae2
Shell
vrosnet/micropython
/stmhal/autoflash
UTF-8
559
3.3125
3
[ "MIT" ]
permissive
#!/bin/sh # # this script waits for a DFU device to be attached and then flashes it # it then waits until the DFU mode is exited, and then loops while true; do echo "waiting for DFU device..." while true; do if lsusb | grep -q DFU; then break fi sleep 1s done echo "f...
true
9d4df680fe3d65a30ea640573dc27d8ba283689a
Shell
mrjulio/freebsd-unattended
/nano/install.sh
UTF-8
383
3.046875
3
[]
no_license
#!/usr/bin/env bash # # nano # if [ $(pkg_info | grep -c ^nano-) -eq 0 ] then echoStatus $COLOR_BLUE '[INSTALL] nano' cd /usr/ports/editors/nano make -DBATCH install clean cp $SCRIPT_PATH/nano/.nanorc /home/$BSD_USER/.nanorc chown $BSD_USER /home/$BSD_USER/.nanorc echoStatus $COLOR_GREEN '[F...
true
fa9db6f34cdb0fa77cd5aeba79b1517ebefa6972
Shell
moneytech/LuxCC
/scripts/test_exe_vm.sh
UTF-8
1,408
3.59375
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # compiler being tested CC1=src/luxdvr/luxdvr # reference compiler CC2=gcc VM=src/luxvm/luxvm TESTS_PATH=src/tests/execute if uname -i | grep -q "i386"; then CC1="$CC1 -q -mvm32" else CC1="$CC1 -q -mvm64" fi fail_counter=0 fail_files="" pass_counter=0 echo "== Execution tests begin... ==" if [ "$LUX_...
true