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
fa3e09b730dedd6b7817ad4b4447758c0afcdd8e
Shell
Adelii/skriptimine
/praks9/yl3
UTF-8
450
3.125
3
[]
no_license
#!/bin/bash # # Tsüklid 3 # echo -n "Sisestage ridade arv: " read rida echo -n "Sisestage tärnide arv: " read tarn for (( i = 1; i <= $rida; i++ )) do echo -n "$i " # Kui on esimene või viimane rida if [ $i -eq 1 -o $i -eq $rida ]; then # Rida tärnidest for (( j = 1; j <= $tarn; j++ )) do echo -n "* " done # ...
true
058ccd4d979116ee0bf256f890057dcb64ad1426
Shell
jacknotes/job
/shell/auto_operator/shell/send_mail.sh
UTF-8
751
2.90625
3
[]
no_license
#!/bin/sh #1. windows list schtasks.time:8:00 #2. linux format to unix file.time:8:05 #3. windows append utf8 text file to process unix file.time:8:10 #4. other timing task insert to process unix file.8:06----8:29 #5. send mail of this shell file,time:08:30 and 15:30 SCHTASKS_LIST="/windows/192.168.13.190/schtasks.log...
true
283c3700ebadf962fd64788435f92154802b0c52
Shell
randomtesting1234/minetest_android_deps
/scripts/Vorbis.sh
UTF-8
667
3.34375
3
[]
no_license
#!/bin/bash -e ogg_ver=1.3.5 vorbis_ver=1.3.7 download () { get_tar_archive libogg "http://downloads.xiph.org/releases/ogg/libogg-${ogg_ver}.tar.xz" get_tar_archive libvorbis "http://downloads.xiph.org/releases/vorbis/libvorbis-${ogg_ver}.tar.xz" # Remove a flag that breaks the x86 build, configure adds it without...
true
cb95fd43f8560794034a3cfd1fd1d381ff3a68f7
Shell
alescoppelli/project_roomba_root
/FSM_roomba/serial_read.sh~
UTF-8
118
2.609375
3
[]
no_license
#!/bin/sh SERIAL_PORT=/dev/ttyUSB0 view_serial_port(){ echo "Serial port: $(SERIAL_PORT) } view_serial_port
true
b3a430b75cdfd9d0f1bdac809b5be6c6dc148954
Shell
KaynRO/Teme-Poli
/SPRC/lab04/task1.sh
UTF-8
490
3.296875
3
[]
no_license
#!/bin/sh echo '[+]Building docker image: docker build. -t task1' docker build . -t task1 echo '[+]Running container, exposed port 8080: docker run -it -p 8080:80 task1' docker run -it -p 8080:80 task1 echo '[+]Finding task1 docker ID' ID=`sudo docker container ls -a | tr -s ' ' '\t' | cut -f1,2 | grep task1 | cut -...
true
9b53444a4b039f1087310625e0996877c841567c
Shell
MichaelSmyth0184/Terraform_
/deploy.sh
UTF-8
1,928
3.890625
4
[]
no_license
#!/usr/bin/env bash source $GIT_HOME_DIR/script_helpers/formatting function tf_plan() { echo $TF_VAR_FILE terraform init || die "Problem during Terraform Init" terraform validate -var-file=$GIT_HOME_DIR/tfvars/$PROJECT.tfvars || die "Problem during Terraform Validate" terraform plan -var-file=$GIT_H...
true
a942782b1cde4508bb872dd360c7d2373c013536
Shell
OS2World/APP-INTERNET-HUGS
/Scripts/hugs
UTF-8
1,058
3.796875
4
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#!/bin/sh # # A simple shell script to invoke the Hugs interpreter and set the # path to the prelude file. # # Mark P. Jones, 1995. Derived from the corresponding script for Gofer # which was written by Mark Jones and edited by Jonathan Bowen, Oxford # University, August 1993. # Location of Hugs files - site specific...
true
22a84b3b47bc7a754a7d86256f5b0f79da9c86c9
Shell
sheng-iastate/filewrite-run
/bin/run
UTF-8
1,584
3.484375
3
[]
no_license
#!/usr/bin/env bash RUNEXEC=$(printenv RUNEXEC) if [ -z "$RUNEXEC" ] then while true do echo "Not Executing" sleep 60 done fi RUNNAME=$(printenv RUNNAME) if [ -z "$RUNNAME" ] then RUNNAME="Default Run" fi FILEDIR=$(printenv RUNFILEDIR) FILENAME="file.$RANDOM" if [ -n "$FILEDIR" ] then FILENAME="$FILEDIR...
true
bcd0ec6598aae79be26f555aea76d7fa73f2443b
Shell
lean-delivery/ansible-role-hybris-bootstrap-node
/templates/hybrisserver.sh.j2
UTF-8
628
3.421875
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # ----------------------------------------------------------------------------- # Fake Script for the node-hybris-prepare role # MODE=$1 if [ "$MODE" = "" ] ; then MODE="run" fi case $MODE in "minimal" | "-m" ) COMMAND="echo Mode: minimal" ;; "debug" ...
true
fcd8b990b6b00c48e48db83816349cc90b0e58f0
Shell
inagacky/create_db_tool
/init.sh
UTF-8
1,028
4.03125
4
[]
no_license
#!/bin/bash SCRIPT_DIR=$(cd $(dirname $0) && pwd) if [ $# -ne 1 ]; then echo "指定された引数は$#個です。" 1>&2 echo "実行するには1個の引数が必要です。" 1>&2 exit 1 fi echo "----------------------------------------"; echo "作成するアカウント名: $1" echo "----------------------------------------"; echo "作成しても良いですか? yes or no; "; read answer case ...
true
f08ed54984efa11df40b74a18edf325ba8e5e33c
Shell
kooltux/tizen-iot-demo
/remote_server/service.sh
UTF-8
229
2.609375
3
[]
no_license
#!/bin/bash DIR=$(cd $(dirname $0) && pwd -P) echo "Starting auto-yes-agent" killall auto-yes-agent PYTHONPATH=/usr/lib64/bluez/test/ $DIR/auto-yes-agent & sleep 1 echo "Running as root..." >&2 exec sudo $DIR/service_root.sh
true
923528df86bb2f91036c1dbe3c952f7ca1971545
Shell
ch-ms/unix-workbench
/variable_side_effect.sh
UTF-8
88
2.859375
3
[ "Unlicense" ]
permissive
function sum_vars { local sum=0 for v in $@ do let sum=sum+$v done echo $sum }
true
aa8b0c4551714600719f636834a15a47082812f4
Shell
informationista/SingleCellTranscriptEvidence
/scripts/exon_consensus.sh
UTF-8
835
3.703125
4
[ "MIT" ]
permissive
# it takes a directory with novel bed files, # suffix to filter out bed files, # and outputs #sampels contributed to each merged region. # read bam input file if [ "$#" -lt "3" ]; then echo "error - inconsistent number of arguments." exit 1 fi bed_dir=$1 bed_suffix=$2 outdir=$3 concatenated_bed="$outdir/concaten...
true
cd0c4ccf66581d1679e8c5457b18799a3da130b6
Shell
CSCfi/puppet-opsviewagent
/files/nrpe/check_horizon_ext
UTF-8
4,972
3.59375
4
[]
no_license
#!/bin/bash # # Check if Horizon login works externally (outside of haproxy) # # Adapted from a script by https://ask.openstack.org/en/users/17403/amedeo-salvati/ STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 # Defaults: Curl timeout plus warn/crit thresholds MAX_TIME=60 WARN=30 CRIT=45 usage () { ec...
true
5f7bb6adbfa96dc166332f26fb7e5ac4d5b005b0
Shell
UKHomeOffice/dq-nats-sftp-python
/app/test/start.sh
UTF-8
5,247
3.65625
4
[ "MIT" ]
permissive
#!/bin/bash # This script does the following: # - downloads and runs 3 (three) Docker containers all from public repositories # - builds a new container from the local repository # - requests running user to supply values used as variables set -e # Set variables # Set variables # SFTP connectivity echo "**********...
true
51cad9161102b30e46f33afb623c36e831e4ba5b
Shell
jestersanpedro/propmgr-local
/documentation/restapis/_site/build-myrp.sh
UTF-8
467
3.375
3
[]
no_license
#!/bin/sh # # Install files to the Gihub Pages directory (<projectname>.pages) and push to the remote repository # bin=`dirname $0` PROJECT_NAME=propmgr # Generate stuff ( cd $bin/restapis jekyll build --destination restapis/ ) # push the github pages ( cd ~/Development/propmgr-carte/propmgr git add . git commi...
true
07bf7371f5d1dd1b58836036aa039285b3d45d3e
Shell
Koronen/dotfiles
/aliases.d/git.sh
UTF-8
2,740
3.15625
3
[ "MIT" ]
permissive
# Most of these aliases are borrowed from prezto. # <https://github.com/sorin-ionescu/prezto/blob/master/modules/git/alias.zsh> alias cdr='cd `git rev-parse --show-toplevel`' alias g='git' alias g-='git checkout -' alias g.='git add .' # Branch (b) alias gb='git branch' alias gbc='git checkout -b' alias gbd='git dif...
true
b5851cf4e93638482c6e7b6338c0d9821dbc9e17
Shell
yafraorg/yafra-database
/build-mongo.sh
UTF-8
1,377
2.96875
3
[ "Apache-2.0" ]
permissive
#!/bin/sh #------------------------------------------------------------------------------------------- # Copyright 2012 yafra.org # # 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 # # ...
true
4482dc5ddd8e127f04568e6972e0e616dae3f67c
Shell
hypriot/rpi-kernel
/debian/raspberrypi-bootloader.postinst
UTF-8
546
2.953125
3
[ "MIT" ]
permissive
#!/bin/sh -e FILES="bootcode.bin fixup.dat fixup_cd.dat fixup_x.dat kernel.img kernel7.img kernel_cutdown.img kernel_emergency.img kernel7_emergency.img start.elf start_cd.elf start_x.elf" printf "Memory split is now set in /boot/config.txt.\n" printf "You may want to use raspi-config to set it\n" for FN in $FILES...
true
97ac1d654ac8c19680e5a0ca74eb07f22f51d3ac
Shell
evanbrierton/dotfiles
/scripts/brew.sh
UTF-8
346
2.671875
3
[]
no_license
# Install Homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" # Then pass in the Brewfile location... arch -arm64 brew bundle --file ~/.dotfiles/Brewfile # Update Homebrew and check for issues. arch -arm64 brew update arch -arm64 brew upgrade arch -arm64 brew clean...
true
9a0520615b7d240b7898e6dc5b979406dc32f11b
Shell
Sequoya42/sturdy-disco
/cp_and_diff.bash
UTF-8
1,257
3.8125
4
[]
no_license
GRN="\033[0;32m" YEL="\033[0;33m" BLU="\033[0;34m" RED="\033[0;35m" NC="\033[0m" if [[ $# < 2 ]] ; then echo -e "${GRN}[2 args needed]\n" echo "Supply directory with source [.s]" echo -e " and directory to be created for testing " echo -e "If a third argument is provided, will silent creation of .cor ${N...
true
185de6fd453a935d4a0e4647298e276a6ec01bf2
Shell
sdushantha/dotfiles
/bin/bin/utils/tmpjn
UTF-8
455
3.484375
3
[]
no_license
#!/usr/bin/env sh # # by Siddharth Dushantha 2020 # # tmpjn - Temporary Jupyter Notebook # nb_file_name="notebook.ipynb" cd "$(mktemp -d)" # The content of an "empty" Jupyter Notebook file. # Even though the file is not empty, Jupyter Notebook will # detect that this a Interactive Python Notebook. cat >"$nb_file_nam...
true
3eb49f824210054b11bc936f715de2f5a24c5ddf
Shell
wfenske/IfdefRevolver
/src/main/scripts/summarize-regression.sh
UTF-8
5,044
3.390625
3
[]
no_license
me=$(basename -- "$0") || exit $? real_me=$(realpath -- "$0") || exit $? real_me_dir=$(dirname -- "$real_me") || exit $? LOG_LEVEL_SILENT=0 LOG_LEVEL_ERROR=1 LOG_LEVEL_WARN=2 LOG_LEVEL_INFO=3 LOG_LEVEL_DEBUG=4 o_log_level=$LOG_LEVEL_WARN o_log_level=$LOG_LEVEL_INFO #o_log_level=$LOG_LEVEL_DEBUG ##set -x echo_as_me(...
true
98236af4e240a9f552d4d45cc1db11bc2abe65a0
Shell
hpc-dataflows/dataflow
/scripts/vary_block_size_test_small.sh
UTF-8
1,521
2.609375
3
[]
no_license
#!/bin/bash # Total data size = 64 GiB, designed for smaller node counts server=${1} nodes=${2} for ((i=1;i<=10;i++)); do test_block_size.sh ${server} /home/camc/code/dataflow/code/spark/simple_map.py ${nodes} /projects/visualization/cam/experiments/block_size 4096 16 ${i} test_block_size.sh ${server} /home/camc...
true
e1e3d2d1b458436d6d41c3935ec61077546e554a
Shell
tattaka/competition_env
/RUN-DOCKER-CONTAINER.sh
UTF-8
990
3.875
4
[]
no_license
#!/bin/bash ################################################################################ # Set the Docker container name from a project name (first argument). # If no argument is given, use the current user name as the project name. FRAMEWORK=$1 PROJECT=${USER} if [ -z "${FRAMEWORK}" ]; then FRAMEWORK="kagg...
true
790927a8aad8bcabc26a02e1d2e3f65016c88ab8
Shell
Gufran/Configurations
/install.sh
UTF-8
527
2.859375
3
[]
no_license
wd=$(pwd) # Backup any existing configuration file [ -f "$HOME/.tmux.conf" ] && mv "$HOME/.tmux.conf" "$HOME/.tmux.conf.bak" [ -f "$HOME/.zshrc" ] && mv "$HOME/.zshrc" "$HOME/.zshrc.bak" [ -f "$HOME/.oh-my-zsh/themes/honukai.zsh-theme" ] && mv "$HOME/.oh-my-zsh/themes/honukai.zsh-theme" "$HOME/.oh-my-zsh/themes/honuka...
true
980ee8759b98eee0b3915b516a5743d74efe7dc8
Shell
schuyler-smith/genome_tools
/Autotetraploid_SNP_Pipeline/1_split_fastq.sh
UTF-8
951
3.25
3
[]
no_license
#!/bin/bash source ./source_file.sh #mkdir $GLUSTER/illumina_reads/$PROJECT #mkdir $GLUSTER/illumina_reads/$PROJECT/$SET #mv $GLUSTER/illumina_reads/$illumina.gz $GLUSTER/illumina_reads/$PROJECT/$SET #mv $GLUSTER/illumina_reads/barcodes.fasta $GLUSTER/illumina_reads/$PROJECT/$SET # unzip compressed illumina reads #g...
true
ee8a2c8ffd4291ca6dd29dcf0ed7ffaae22d9f28
Shell
arkemiq/statsd
/bin/run.sh
UTF-8
501
3.09375
3
[ "MIT" ]
permissive
#!/bin/bash PATH=$PATH:/usr/local/bin root="/opt/statsd" logpath='/mnt/log' forever="node_modules/forever/bin/forever" bin=`dirname "$0"` cd "$bin"/.. if [ ! -f "$forever" ]; then echo "forever is not installed" npm install fi if [ ! -d "$logpath" ]; then mkdir -p "$logpath" fi "$forever" stop "bin/statsd_ts"...
true
d9488a40fa735837181e5fbdc6182cf589b68cb4
Shell
relvira/homelab
/roles/nginx/files/cf_ips_updater.sh
UTF-8
334
2.859375
3
[ "MIT" ]
permissive
#!/bin/bash set -e cf_ips_path="/etc/nginx/includes/cf_ips.conf" echo "" > $cf_ips_path curl -s https://www.cloudflare.com/ips-v4 | while read line; do echo "allow $line;" >> $cf_ips_path; done curl -s https://www.cloudflare.com/ips-v6 | while read line; do echo "allow $line;" >> $cf_ips_path; done sudo systemctl ...
true
df92cc41cfe03f816fce8900d196ab0c6b9e07f3
Shell
advancedtelematic/meta-updater
/scripts/ci/build.sh
UTF-8
408
2.890625
3
[ "MIT", "LicenseRef-scancode-dco-1.1" ]
permissive
#!/bin/bash set -euo pipefail set -x TEST_MACHINE=${TEST_MACHINE:-qemux86-64} TEST_BUILD_DIR=${TEST_BUILD_DIR:-build} TEST_REPO_DIR=${TEST_REPO_DIR:-updater-repo} IMAGE_NAME=${1:-core-image-minimal} ( set +euo pipefail set +x METADIR=$(realpath "$TEST_REPO_DIR") export METADIR . "${TEST_REPO_DIR}/meta-updater/scrip...
true
8848c92dd68f9ef0d1aa1cd625e06ed1d80d014e
Shell
ukontainer/runu
/test/docker-more-test.sh
UTF-8
3,303
3.515625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash . $(dirname "${BASH_SOURCE[0]}")/common.sh if [ $TRAVIS_ARCH != "amd64" ] || [ $TRAVIS_OS_NAME != "linux" ] ; then echo "those tests contain tap device creation, which is only supported on amd64/linux instance. Skipped" exit 0 fi # prepare RUNU_AUX_DIR create_runu_aux_dir DOCKER_RUN_ARGS="run --...
true
5234b3d0e734c8c10a300b07d6e4cbed5b696053
Shell
kevwargo/sh-utils
/bashrc/completion.sh
UTF-8
978
3.96875
4
[]
no_license
#!/bin/bash # This function checks whether we have a given program on the system. # _have() { # Completions for system administrator commands are installed as well in # case completion is attempted via `sudo command ...'. PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin type $1 &>/dev/null } # Backwards compati...
true
4fb84c1180195c3993fd940df8415fa978c5cd32
Shell
fdarveau/plex-auto-genres-docker
/generate-collections.sh
UTF-8
576
3.453125
3
[]
no_license
#!/bin/sh while IFS= read -r line; do if [[ ${line:0:1} != "#" ]]; then library=$(echo $line | cut -d ";" -f 1); type=$(echo $line | cut -d ";" -f 2); echo "Creating collections for library $library of type $type" python3 /plex-auto-genres.py --library "$library" --type "$type...
true
481777bd6bfcc4bdbe059257c2229fd9135f5c54
Shell
butuzov/dots
/bin/scripts/gorun
UTF-8
654
3.5625
4
[]
no_license
#!/usr/bin/env bash # vsc code runner for go files and running them with cmd+r run_co_code(){ FILE="${1}" if [[ "${FILE}" =~ "_test.go" ]]; then cd "$(dirname "${FILE}")" TESTS=$(cat "${FILE}" \ | grep --color=none -e "^func Test" \ | sed -n 's/func \(.*\)(.*/\1/p'| ...
true
658903a55cbebb04ae5feb9f46bdb6a097da7386
Shell
pfalcon/pycopy
/tools/bootstrap_upip.sh
UTF-8
634
3.640625
4
[ "MIT" ]
permissive
# This script performs bootstrap installation of upip package manager from PyPI # All the other packages can be installed using it. saved="$PWD" if [ "$1" = "" ]; then dest=~/.micropython/lib/ else dest="$1" fi if [ -z "$TMPDIR" ]; then cd /tmp else cd $TMPDIR fi # Remove any stale old version rm -r...
true
f9e7cba7072ae18cf00eaae6c7f6b1bd59971bee
Shell
zhangyacnhao/tools
/script/filter_by_end_word.sh
UTF-8
2,080
3.171875
3
[]
no_license
#!/bin/bash LANG=zh_CN.UTF8 function init(){ xdyx_decode_out=decode_xdyx.out xdzj_decode_out=decode_xdzj.out [ -e $xdyx_decode_out ] || { echo "xdyx_decode_out not found. exit"; exit 1; } iconv -f gbk -t utf-8 $xdyx_decode_out -c > ${xdyx_decode_out}.utf8 iconv -f gbk -t utf-8 $xdzj_decode_out -...
true
03832970587bfcb1270ae9de56510b288d778bba
Shell
cdown/pkgbuilds
/recover_mp4/PKGBUILD
UTF-8
582
2.671875
3
[]
no_license
# Maintainer: Chris Down <chris@chrisdown.name> pkgname=recover_mp4 pkgver=1.92 pkgrel=3 pkgdesc='Recover damaged MP4 files' arch=('x86_64') url='http://slydiman.me/eng/mmedia/recover_mp4.htm' license=('Proprietary') optdepends=() depends=('wine') source=("http://slydiman.me/download/recover_mp4.zip" "recover_...
true
39067e7fb1c129ab8a9ff0634b471b2bfdca7a4c
Shell
alecmuffett/halfagigonion
/worker-pull.sh
UTF-8
266
2.890625
3
[]
no_license
#!/bin/sh -x . `dirname $0`/000-profile.sh cd $RIG_REMOTE_DIR || exit 1 for host in $RIG_HOSTS do # assume trailing slash in variables rsync-linktree.sh --delete --delete-excluded --exclude="cached*" --exclude=".git" $host:$RIG_OUTPUT_DIR tmp-$host/ done
true
5e9e25b39acc50956784542fcd70c382efe010ab
Shell
lappsgrid-incubator/Health-Check-Service
/src/main/scripts/cron.hourly/health_monitor
UTF-8
607
3.578125
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash LOCK=/tmp/health-monitor.awol function send() { echo $1 | mail -s "Health Monitor" suderman@cs.vassar.edu -r health@lappsgrid.org } #curl https://api.lappsgrid.org/health/ping > /dev/null pong=`curl https://api.lappsgrid.org/health/ping` if [[ $pong = 'pong' ]] ; then #echo "Service ponged"...
true
b4adb6b80d96749e8277050164c9809fdc9664ac
Shell
jallirs/Redfishtool
/redfishtool.sh
UTF-8
289
3.125
3
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash set -e IMAGE='jallirs/redfishtool:latest' if [ "x$(pwd)" = "x/" ]; then UPDIR=/ WORKDIR=/up else UPDIR=$(pwd)/.. WORKDIR=/up/$(basename $(pwd)) fi exec docker run --rm \ --net host \ -v $UPDIR:/up \ -w $WORKDIR \ $IMAGE \ $*
true
cb2194d426ab6ae380c1d8e02079c62dcebcae2d
Shell
hanagejet/rename-props-object
/.circleci/publish-and-tagging.sh
UTF-8
315
2.921875
3
[]
no_license
#!/bin/bash -ex REPO_VERSION=`npm view 'rename-props-object' version 2>/dev/null` LOCAL_VERSION=`node -p "require('./package.json').version"` if [[ "$REPO_VERSION" = "$LOCAL_VERSION" ]]; then echo "$LOCAL_VERSION exists. skip publish." else npm publish git tag v${LOCAL_VERSION} git push --tags origin fi
true
ac5b8c8e9bfd89294726582e04874bf6693a524a
Shell
zackszhu/SE106-Data-Structure
/Homework7/homework7/score.sh
UTF-8
518
2.9375
3
[]
no_license
score=0 if (./rpn < ./test_case/test_case_1.txt | grep "1 2 + 3 +") then echo "test 1 pass, +10 point" score=`expr 10 + $score` else echo "test 1 error" fi if (./rpn < ./test_case/test_case_2.txt | grep "2 x \* 3 y \* + 10 /") then echo "test 2 pass, +10 point" score=`expr 10 + $score` else echo "test 2 error" ...
true
81ac1093bf63deba3be95e1ba1ecefdbfb77862d
Shell
tamouse/recipe-blog-old-no-dud-2015-10-19-03-50-03
/scripts/deploy.sh
UTF-8
219
2.9375
3
[]
no_license
#!/bin/sh # # Simple deploy script for this blog. : ${DEPLOY:=gh-pages} set -v jekyll build -d $DEPLOY cd $DEPLOY git add --all --verbose git commit --allow-empty -m "Published $(date)" git push -fu origin HEAD cd ..
true
1f0e68892e0d93843357137a9038e0af31678903
Shell
MotivatedMemoryLab/mouse-track-task
/util/psi-test.sh
UTF-8
298
2.6875
3
[]
no_license
git checkout -- config.txt util/setupConfig.sh if ! screen -list | grep -q exp; then # run bash script screen -dmS exp bash fi screen -S exp -p 0 -X stuff "util/restart-debug.sh$(echo -ne '\r')" while psiturk -e status | grep -q off do echo "Waiting..." sleep 1 done echo "Server on."
true
8fce818c1f79b485540ae4619f16bf085ad50057
Shell
pawel-rozwoda/particle-swarm-optimization
/data/chartScripts/script_chart
UTF-8
199
2.5625
3
[ "MIT" ]
permissive
#!/bin/bash for f in *.dat ; # do xls2csv "$f" "${f%.xls}.csv" ; done do fn=\'"${f}"\'; gnuplot -e fn=${fn} ../chartScripts/chart; #gnuplot -e fn=${fn} /home/hjkl/data/chartScripts/chart; done
true
367faa802cfc1d7ca6b7075e032bf79ed6e61edc
Shell
ORESoftware/gitflow.tools
/test/simple.sh
UTF-8
370
3.03125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash echo "your simple bash test goes here" simple_return_zero(){ return 0; } simple_return_one(){ return 1; } if simple_return_zero; then echo "we have 0000"; fi if ! simple_return_zero; then echo "we have not 00000"; fi if simple_return_one; then echo "we have 11111"; fi if ! simple...
true
7459b60e37fe7fcfd5a3a4bc8aea307de8b5733a
Shell
pchandra/chef-bcpc
/bootstrap_chef.sh
UTF-8
4,344
4.1875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # Parameters: # $1 is the vagrant install mode or user name to SSH as (see "Usage:" below) # $2 is the IP address of the bootstrap node # $3 is the optional knife recipe name, default "Test-Laptop" source ./virtualbox_env.sh source ./vmware/vmware_env.sh if [[ $OSTYPE == msys || $OSTYPE == cygwin ]]; the...
true
a3958f3e54c8b065c4e5ad749ebb6f6c1ab8ddb8
Shell
alvis0419/panther
/rootfs/etc/init.d/alsa_record
UTF-8
191
2.734375
3
[]
no_license
#!/bin/sh ALSA_CTRL_PATH="/var/lib/alsa/asound.state" [ -d "${ALSA_CTRL_PATH%/*}" ] || mkdir -p ${ALSA_CTRL_PATH%/*} [ -x /usr/sbin/alsactl ] && { # for wm8750 & mp320 alsactl init }
true
5738db895791ce2fb0bf18fa36a3064e4aac20ab
Shell
yujiorama/my-bash
/sources/dotenv.sh
UTF-8
1,135
3.859375
4
[]
no_license
# shellcheck shell=bash # 元ネタ # おそらくはそれさえも平凡な日々 > bashでdotenvファイルを環境変数に読み出す # https://songmu.jp/riji/entry/2019-06-14-bash-dotenv.html # # # Usage # # 何も指定しないパターン # $ diff <(bash -c "env | sort") <(~/dotenv.sh bash -c "env | sort") # # 環境変数 AAA を .env に定義するパターン # $ echo AAA=BBB > .env # $ diff <(bash -c "env | sort")...
true
fae2f2bf15f299bdd4ca2b92f0ecd04800ab9e06
Shell
PX4/PX4-Autopilot
/Tools/simulation/gazebo-classic/sitl_multiple_run.sh
UTF-8
4,203
3.734375
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # run multiple instances of the 'px4' binary, with the gazebo SITL simulation # It assumes px4 is already built, with 'make px4_sitl_default sitl_gazebo-classic' # The simulator is expected to send to TCP port 4560+i for i in [0, N-1] # For example gazebo can be run like this: #./Tools/simulation/gazebo-cl...
true
aaa1b8c87cca1fc82220f4eabda37c236ace68c3
Shell
taikedz/notes
/kvm/qemu.sh
UTF-8
720
4.09375
4
[]
no_license
::() { (set -x "$@" ) } die() { echo "$*" exit 1 } set_system() { systems=( aarch64 arm x86_64 i386 ) for sys in "${systems[@]}"; do chosen_system="qemu-system-$sys" if which "$chosen_system" 2>/dev/null ; then break ...
true
e52574e315fa0afd0cf26ebe0bdb60a9888b23a4
Shell
samtiffin/vagrant-wordpress-shell
/nginx.sh
UTF-8
557
3.578125
4
[]
no_license
#!/usr/bin/env bash set -e # Exit script immediately on first error. set -x # Print commands and their arguments as they are executed. printf "Configuring NGINX\n" # Create document root sudo mkdir -p /srv/www # Remove default nginx site... sudo rm /etc/nginx/sites-enabled/default # Copy nginx config to correct pl...
true
117ff11cfb101aa6601ff137aca1c16bcad8ca50
Shell
LloydAlbin/pg_monitor
/pg_readlog/pg_readlog.sh
UTF-8
1,831
3.78125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # Variables from Starter Script server=$1 pg_hostname=$2 pg_database=$3 pg_port=$4 pg_log_directory=$5 pg_temp_log_directory=$6 postgres_bin_directory=$7 #Loop until shutdown while true; do # Grab any new data from the last hours logfile LOGFILE=`date -d '1 hour ago' "+/pgdata_local/pg_log...
true
75e0a53cf2ec624d408a6cee3b29be96c4303d3b
Shell
mhugo/osgeo4w
/scripts/update_public_site.sh
UTF-8
947
3.40625
3
[]
no_license
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ftp="osgeowosid@ftp.cluster023.hosting.ovh.net" mirror_ftp="/mnt/osgeo4w_ftp/www/mirror/" exec &> >(tee -a /tmp/osgeo4w-update.log) pid_file=/tmp/osgeo4w-update.pid # make sure we are the only one running if [ -f $pid_file ]; then p=$(cat $pid_f...
true
378eb86d12d3bcc8c44a7bd02b663f8a8688b05d
Shell
umm-csci-3403-fall-2020/lab-4-jonah-jack
/summarize_tree/summarize_tree.sh
UTF-8
229
3.53125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash TARG_DIR="$1" cd "$TARG_DIR" || exit DIR_COUNT=$(find . -type d | wc -l) REG_FILE_COUNT=$(find . -type f| wc -l) echo "There were $DIR_COUNT directories." echo "There were $REG_FILE_COUNT regular files."
true
7e8c6c01093a45331229c9063c68bb4fea944db5
Shell
AgnitumuS/letv
/puppet/modules/watchdog_front_dev/files/watchdog_update.sh
UTF-8
1,969
3.34375
3
[]
no_license
#!/bin/bash #Power by duhaibin@letv.com #2014-08-07 12:33:05 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin lockfile='/var/run/update_watchdog.pid' # single instance if test -f $lockfile;then oldpid=`cat $lockfile|head -1` if [ `ps -p $oldpid -o comm= | wc -l` -eq 1 ];then e...
true
e6321bab20569cbbb537ec5f8332f015cd6f5e26
Shell
imbaczek/baczek-kpai
/make_win32_release.sh
UTF-8
1,964
3.75
4
[]
no_license
#!/bin/sh AINAME="Baczek's KP AI" AISHORTNAME=BaczekKPAI TEMPDIR=output/temp SKIRMISHAIDIR=AI/Skirmish DISTDIR="dist" DEPSDIRS="deps/common" PYLIBDIR="deps/python" ZIP="7za a -tzip" ZIP7="7za a" case $1 in gcc) AIDLL=output/default/SkirmishAI.dll AIDBG=output/default/SkirmishAI.dbg DEPSDIRS="$...
true
449f4b8392b4fdb4b1b898fbd064c812d090800e
Shell
alexpeachey/mongo-rails-app
/safe_sidekiq
UTF-8
166
2.75
3
[]
no_license
#!/bin/bash # trap TERM and change to QUIT trap 'echo killing $PID; kill -USR1 $PID' TERM # program to run bundle exec sidekiq & # capture PID and wait PID=$! wait
true
b1699a4f0bfb778f4f523e140b8cf976c3f493c3
Shell
Drillster/drone-rsync
/upload.sh
UTF-8
3,814
3.84375
4
[ "MIT" ]
permissive
#!/bin/bash if [ -z "$PLUGIN_HOSTS" ]; then echo "Specify at least one host!" exit 1 fi if [ -z "$PLUGIN_TARGET" ]; then echo "Specify a target!" exit 1 fi DEFAULT_PORT=$PLUGIN_PORT if [ -z "$PLUGIN_PORT" ]; then echo "Port not specified, using default port 22!" DEFAULT_PORT="22" fi SOURCE=$P...
true
64c716cda252a46868828d93cd313e356ba488be
Shell
FernandoBasso/dotfiles
/bin/pngout-batch.bash
UTF-8
1,074
4.03125
4
[]
no_license
#/usr/bin/env bash #set -x # # Port of Nic Jansma's pngout-batch.cmd (windows) script to bash. # # http://nicj.net/pngoutbatch-optimize-your-pngs-by-running-pngout-multiple-times/ # https://gist.github.com/nicjansma/2706660 # numPasses=5 if [[ -z $1 ]] ; then echo 'No image provided...' exit -1 fi if [ $# ...
true
ea9c0d442bcc75c94bdba53b9b60fe48cddf591c
Shell
jdocter/DecafCompiler
/tests/scanner/test.sh
UTF-8
1,388
4.125
4
[]
no_license
#!/usr/bin/env bash # USAGE # `./scanner/test.sh` source "$(git rev-parse --show-toplevel)/tests/source.sh" # cleanup ritual function finish { rm -f "$OUTPUT_FILE" } trap finish EXIT # temp file that will hold outputs # will be auto deleted when this script finishes running declare -r OUTPUT_FILE="$(mktemp)" exp...
true
a4fc9db359ac86c563883fb5fcf1a2c70030d598
Shell
gnoliyil/fuchsia
/third_party/rust_crates/vendor/signal-hook-0.1.17/ci-check.sh
UTF-8
917
3.03125
3
[ "BSD-2-Clause", "Apache-2.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/sh # We try to support some older versions of rustc. However, the support is # tiered a bit. Our dev-dependencies do *not* guarantee that old minimal # version. So we don't do tests on the older ones. Also, the # signal-hook-registry supports older rustc than we signal-hook. set -ex export PATH="$PATH":~/.car...
true
802e3349d22879b23dc7954575935606749748d5
Shell
mauromeli/fiuba-75-08-sistemas-operativos-tps
/tp1/tests/crear_ambiente.sh
UTF-8
786
3.28125
3
[]
no_license
#!/bin/bash # --------------------------------------------------------------------- # crear_ambiente.sh # --------------------------------------------------------------------- # Este script crea una carpeta (tests/ambiente_de_testing) con los # mismos archivos que resultarian de descomprimir el programa. # Sirve para...
true
1271f35933a576aee2cb41563b95c4a53815b7a9
Shell
ludwigpauwels/sdn
/scripts/install_sdn_tools.sh
UTF-8
12,226
2.890625
3
[]
no_license
#!/bin/bash # 15 JUL 2013 TEK First pass adding a guided menu to common SDN tool installation pkg_purge() { sudo apt-get purge thunderbird sudo apt-get purge pidgin sudo apt-get purge office sudo apt-get purge openoffice sudo apt-get purge libreoffice sudo apt-get purge libreoffice-base sudo apt-get purge libreoffi...
true
4e13c4b9ca96d4ba70f9763530aafaffb7d0425b
Shell
MW-autocat-script/MW-autocat-script
/catscripts/Transportation/Transportation.sh
UTF-8
701
3.140625
3
[ "MIT" ]
permissive
#!/bin/bash KEYWORDS_TRANSPORTATION="Transportation" KEYWORDS_SCHOOLBUS="School(| )Bus" KEYWORDS_SCHOOLBUS_EXCLUDE="Magic(| )School(| )Bus" KEYWORDS_TRANSPORTATION_EXCLUDE="$KEYWORDS_SCHOOLBUS" TRANSPORTATIONDIR="./catscripts/Transportation" . $TRANSPORTATIONDIR/Aircraft/Aircraft.sh . $TRANSPORTATIONDIR/Vehicle_manu...
true
14ed8df5959a29cad55fda33170fcfab3fbff0ec
Shell
ponelat/duplicate-swagger-tree
/duplicate.sh
UTF-8
334
2.671875
3
[]
no_license
#!/bin/bash img=ponelat/duplicate-swagger-tree:latest # Get these specs urls=" https://api.swaggerhub.com/apis/ponelat/petstore/1.0.0 " for url in $urls; do docker run -it --rm \ -e "url=$url" \ -e "token=???" \ -e "new_owner=ponelat" \ -e "new_token=???" \ -e "new_base_url=https://dev-api.swaggerhub.com" ...
true
3c508d2325e54de7eb529ea3f907b23e2dfbd2c7
Shell
FlorianHeigl/nagios
/omd-install/tunes
UTF-8
3,117
3.59375
4
[]
no_license
#!/bin/bash # This shall become a post-install state machine for JeOS-like autoconfig of # an OMD VM that you'll be able to install from my Cobbler server # clean up unalias -a rm /root/*{cfg,log} get_data_disk() { # This is expecting the described layout: # sda = vg00 # sdb = swap # sdc = vg01 data_disk="None" ...
true
682a1e8754afde0416472ab85d5e2858fe96d67a
Shell
ggirou/my-scripts
/linux/config/wifi-ap-config.sh
UTF-8
3,152
3.921875
4
[]
no_license
#!/bin/bash # http://raspberry-at-home.com/hotspot-wifi-access-point/ [[ $UID == 0 ]] || { echo -e "Please run this script with sudo:\nsudo $0 $*"; exit 1; } echo 'Available network interfaces:' ifconfig | egrep '^[^ ]+ .*' echo read -e -p "Access point on: " -i "wlan0" interface read -e -p "Bridge on: " -i "eth0"...
true
9a798436e6f0529bd19d2032652bb218367b1066
Shell
snort3/snort3_demo
/tests/inspectors/appid/test.bats
UTF-8
261
2.578125
3
[]
no_license
#!/usr/bin/env bats PCAP="kerberos.pcap" CFG="snort.lua" OPTION="-A csv -k none" @test "AppID with Kerberos Detector Plugin" { $snort -r $PCAP -c $CFG $OPTION > snort.out ./appid_diff_bytes.sh } teardown() { rm -f alert.out count.out snort.out }
true
75c761353df1a91bfb24dd303123832e4be0c7ad
Shell
ThomasDickey/ded-snapshots
/test/edittest.sh
UTF-8
802
3.765625
4
[ "LicenseRef-scancode-other-permissive" ]
permissive
#!/bin/sh # $Id: edittest.sh,v 12.2 1994/07/12 01:04:14 tom Exp $ # # Edit a test-log so that it will be simple to do regression tests on it. # We make all references to the current pathname (of the 'ded' directory) # substitute to CM_TOOLS. Also, invoke sed to change noisy (irreproducible) # comments to an innocuous ...
true
75a2dd85717b23d6b804685d6d49c6563e9eab5b
Shell
git-for-windows/MSYS2-packages
/xorriso/PKGBUILD
UTF-8
1,031
2.921875
3
[ "BSD-3-Clause" ]
permissive
# Maintainer: Michael R. Taylor <michael@atomic.city> pkgname=xorriso pkgver=1.4.8 pkgrel=1 pkgdesc="xorriso copies files from POSIX filesystems into Rock Ridge enhanced ISO 9660 filesystems and allows manipulation of such filesystems." arch=('i686' 'x86_64') url="https://www.gnu.org/software/xorriso/" license=('GPL3'...
true
b5df73969a6a8102fe40e4b4d8da060630677cf4
Shell
educatedCaveman/scripts
/archive/DLcleanup-notime.sh
UTF-8
1,314
3.25
3
[]
no_license
#!/bin/bash pics="/media/storage/Pictures/temp/" downloads="/home/drake/Downloads/" video="/media/storage/Videos/" zip="/media/storage/Pictures/picArchives/" archives="/home/drake/archives/" ISO="/media/storage/ISOs/" cd $downloads #just in case i move this later... rename "s/ /_/g" /home/drake/Downloads/* #image...
true
2f93bc2ca4f5f598cc133d20421001a27d7fffb3
Shell
klx99/Elastos.CrossCompile.Config.bak
/scripts/build.sh
UTF-8
2,634
3.828125
4
[]
no_license
#!/bin/bash set -o errexit set -o nounset getopt_extfunc_usage() { echo " -s, --enable-static Optional. build static library. If unspecified, use [shared] as default. -d, --without-depends Optional. build without dependencies. If unspecified, use [false] as default. ...
true
08a8d9f0a3569b8a63f14ee5bf9c7fd265c89660
Shell
ververica/flink-ecosystem
/scripts/deploy-dev.sh
UTF-8
2,019
3.84375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash -e PROJECT=da-dacm-dev REPO=flink-ecosystem-demo IMAGE="eu.gcr.io/${PROJECT}/${REPO}" NAMESPACE=flink-ecosystem-demo DEPLOYMENT=deployment.apps/flink-ecosystem-demo CONTAINER=flink-ecosystem-demo function get_image_tag() { echo "latest" } function set_up_gcloud() { gcloud --quiet auth activate-servic...
true
24a60397c75a08369adb6c1509f0ed232c6c93bc
Shell
fengmk2/leoric
/test/start.sh
UTF-8
1,072
3.859375
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash args= function run { file=$1; if [ "${args[0]}" = "${file}" ]; then args=("${args[@]:1}"); fi echo ""; printf '"%s" ' "${args[@]}" | xargs echo "> DEBUG=leoric mocha --exit --timeout 5000 ${file}"; printf '"%s" ' "${args[@]}" | DEBUG=leoric xargs mocha --exit --timeout 5000 ${file} || exit...
true
f89e5fc82dee591921686542b92ffc771a7b0dbe
Shell
sanjujaiswal/ShellScript
/ProgramConstruct/ForLoop/Factorial.sh
UTF-8
180
3.5
4
[]
no_license
#!/bin/bash -x echo -n "Enter a number: " read Number Factorial=1 for(( i=1; i<=Number; i++ )) do Factorial=$[ $Factorial * $i ] done echo "Factorial of $Number is $Factorial"
true
d21c3cd1e15d76babd60eea366c7f36d94a4b18a
Shell
ehuynh/dotfiles
/sublime/sublime.sh
UTF-8
991
3.84375
4
[]
no_license
# Sublime # # Updates sublime with user preferences after initial install # Ask for the administrator password upfront sudo -v # sublime dir sublime_dir=~/Library/Application\ Support/Sublime\ Text\ 3/Packages init_user_settings () { # symlink the User settings for source in `find $DOTFILES/sublime/User -name \*....
true
b214858861629f101ae7465d7cd552a72d2608d0
Shell
DarrianTalamantes/Vsnp_Tests
/Renamer.sh
UTF-8
1,113
2.75
3
[]
no_license
for line in $(cat /home/darrian/Desktop/Salvador_lab/Bovine_TB_pipline_tests/SRR_list.txt) do #This will turn the file into a comprossed format readable by vSNP gzip /home/darrian/Desktop/Salvador_lab/Bovine_TB_pipline_tests/TB_data/"$line"_1.fastq gzip /home/darrian/Desktop/Salvador_lab/Bovine_TB_pipline_tests/TB_data...
true
37a5f7c122c039f2b8020c9db8fe2cb17202e7e6
Shell
will3/tools
/movtogif.sh
UTF-8
179
2.625
3
[]
no_license
if [ -z "$1" ]; then echo "Usage: ./movtogif.sh [in] [out]"; exit 1; fi if [ -z "$2" ]; then echo "Usage: ./movtogif.sh [in] [out]"; exit 1; fi ffmpeg -i "$1" -pix_fmt rgb24 "$2"
true
70771222635aa662f1f51390ed66e8eed3d1461e
Shell
Nitin-Mane/HIAS
/Scripts/Installation/Shell/phpMyAdmin.sh
UTF-8
572
3.59375
4
[ "MIT" ]
permissive
#!/bin/bash read -p "? This script will install phpMyAdmin on your HIAS Server. Are you ready (y/n)? " cmsg if [ "$cmsg" = "Y" -o "$cmsg" = "y" ]; then echo "- Installing phpMyAdmin" echo "! tab -> enter -> yes -> password " sudo apt-get install phpmyadmin sudo ln -s /usr/share/phpmyadmin /fserver/var...
true
709bbbfa59206c1ea8b9d7de6aee6534a606ec57
Shell
isabella232/raspbian-deb-builder
/cross-build.sh
UTF-8
1,361
4.15625
4
[ "MIT" ]
permissive
#!/bin/bash set -e dist=$1 products=${@:2} if [ $EUID -ne 0 ]; then echo "This tool must be run as root." >&2 exit 1 fi if [ "$#" -lt "2" ]; then echo "Usage: cross-build.sh distro prod1:branch1:ver1 [prod2:branch2:ver2 [...]]" >&2 echo "Available products:" >&2 echo " * azure-iot-sdk-c" >&2 echo " * breako...
true
44aa79dfce9c7deb82f89db5c1d608a0d4e9326d
Shell
daniel-lozano/CLASES_PYTHON
/CLASE01/HERRAMIENTAS/script.sh
UTF-8
583
2.796875
3
[]
no_license
##!/bin/bash #chmod <opciones> <nombre del archivo> #chmod u+wrx <nombre del archivo> # u= usuario # w= writing # r=reading # x= execution #punto 1 wget https://raw.githubusercontent.com/daniel-lozano/CLASES_PYTHON/master/CLASE1/HERRAMIENTAS/notas.txt awk '{print $1,$2,$3,$6;}' notas.txt | grep 4. | awk '{if ($4>1...
true
101f1095c49c5c6ed6dfd00227aee73294fa33f8
Shell
openbmc/openbmc
/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/power-ctrl-init
UTF-8
496
2.984375
3
[ "MIT", "Apache-2.0" ]
permissive
#!/bin/bash # Provide source directive to shellcheck. gpioInitHighTable=( "power-nic-bmc-enable" "usb-bmc-enable" "reset-cause-usb-hub" "bmc-ready" "fan0-bmc-cpld-enable" "fan1-bmc-cpld-enable" "fan2-bmc-cpld-enable" "fan3-bmc-cpld-enable" ) gpio-init() { for gpioInitHigh in "${gpio...
true
d7034861e533be5cc568cbea2ac9b85920e8dc84
Shell
Peeja/dot-bash
/rails-generate-completion.bash
UTF-8
731
3.234375
3
[]
no_license
_generate() { local cur COMPREPLY=() cur=${COMP_WORDS[COMP_CWORD]} if [ ! -d "$PWD/script" ]; then return 0 fi if [ $COMP_CWORD == 1 ] && [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '-h -v\ --help --version'\ -- $cur )) return 0 fi if [ $COMP_CWORD == 2 ] && [[ "$cur" ...
true
17526a31122f70b14530936062c934e34c3a2c3e
Shell
encrypt94/docker-volman
/docker-volman
UTF-8
3,403
4.25
4
[]
no_license
#!/bin/bash set -e # Usage stuff usage() { printf "Usage: docker-volman COMMAND [arg...]\n" printf "\nMount and umount volumes to running containers\n" printf "\nCommands:\n" printf "\tmount\t Mount a volume to a running container\n" printf "\tumount\t Unmount a volume from a running container\n"...
true
f148281a0f2ae694ddc5394bc8b18e0cda30d056
Shell
manixx/dots
/home/.config/zsh/functions/vcs-data.zsh
UTF-8
687
2.84375
3
[]
no_license
zstyle ':vcs_info:*' formats '%F{yellow}%b%c%u%f' zstyle ':vcs_info:*' check-for-changes true zstyle ':vcs_info:*' stagedstr '%F{blue} •%f' zstyle ':vcs_info:*' unstagedstr '%F{red} •%f' zstyle ':vcs_info:git*+set-message:*' hoo...
true
076bd595e10d0c9b36ceb936d8b6e384fb903e85
Shell
jgiovaresco/dotfiles_old
/.aliases
UTF-8
1,698
3.234375
3
[ "MIT" ]
permissive
#!/bin/zsh # Shortcuts alias dl="cd ~/Downloads" alias cdlog='cd /var/log' # Detect which `ls` flavor is in use if ls --color > /dev/null 2>&1; then # GNU `ls` colorflag="--color" else # OS X `ls` colorflag="-G" fi # List all files colorized in long format alias l="ls -lF ${colorflag}" # List all files colorized...
true
ef5e9706684dcc6bbdb310f494159ebf5c4a309a
Shell
juliusblank/packer-files
/consul/scripts/setup_base.sh
UTF-8
1,281
3.09375
3
[]
no_license
#!/bin/bash ############################################################################### # TODO Setup iptables # # TODO # ###################################################################...
true
9413fa185e981ad575311bee5202bae635457bb8
Shell
joalmjoalm/UnifyFS
/t/sharness.d/02-functions.sh
UTF-8
2,602
3.8125
4
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-other-permissive", "mpich2" ]
permissive
# # Project-local sharness code for UnifyFS # # Run command with a timeout # # $1 - Number of seconds to wait before timing out # $2 .. $n - Command and arguments to execute run_timeout() { perl -e 'alarm shift @ARGV; exec @ARGV' "$@" } # Check if a process with a given name is running, retrying up # to ...
true
3c835998626ddd75c1e92d540009c9964d697ff6
Shell
bizhuka/geozak.github.io
/mysys/script.sh
UTF-8
2,216
2.796875
3
[]
no_license
#!/bin/sh sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get install lamp-server^ sudo apt-get install bind9 php7.0-{zip,mbstring,xml,sqlite3} ruby-dev htop sudo apt-get install bind9 php7.0-zip php7.0-mbstring php7.0-xml php7.0-sqlite3 ruby-dev htop cpp gcc git git-sh gksu gparted ope...
true
6e42d7c919dd68c124653796ac645eaab5e5fee7
Shell
dylex/finufft
/test/spreadtestnd.sh
UTF-8
856
2.953125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # a basic set of multidimensional spreader tests. # Barnett 2/2/17, 3/13/17. M,N indep 3/27/17, sort 3/28/17 M=1e6 # problem size (# NU pts) N=1e6 # num U grid pts TOL=1e-6 # overall requested accuracy SORT=1 # generally better if sort (eg i7) if grep -q Xeon /proc/cpuinfo; then ec...
true
a1c04ef111255603c1ca8fdb3a6870cc4facdaf7
Shell
izabera/shthings
/cat
UTF-8
277
3.65625
4
[]
no_license
#!/bin/sh cat () { eof=false until $eof ; do read -r line || eof=true $eof && printf -- %s "$line" || printf -- %s\\n "$line" done } IFS= [ $# = 0 ] && set -- - while ! [ $# = 0 ] ; do if [ "$1" = - ] ; then cat else cat < "$1" fi shift done
true
d84a50495612f627ee837eebcd9a56e08586ca32
Shell
escorciav/linux-utils
/hacks/mount_servers.sh
UTF-8
1,065
4
4
[ "MIT" ]
permissive
#!/bin/bash # """ # Mount servers of interest in the location of this script # # Requirements: sshfs # # """ script_dirname="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Edit your list of servers here server_name=(ivul-gpu ivul-gpu noor-gpu noor-gpu smc) # Edit your local-point-names here local_name=(ivul-gpu g...
true
ff9297505a15f7589e3a9e88d717924b6a6bfac2
Shell
Arkady667/TDCTwoStage
/TDCTwoStage.sim/sim_1/synth/func/simulate.sh
UTF-8
261
2.5625
3
[]
no_license
#!/bin/bash -f xv_path="/home/arkady/Xilinx/Vivado/2017.1" ExecStep() { "$@" RETVAL=$? if [ $RETVAL -ne 0 ] then exit $RETVAL fi } ExecStep $xv_path/bin/xsim TDC_tb_func_synth -key {Post-Synthesis:sim_1:Functional:TDC_tb} -tclbatch TDC_tb.tcl -log simulate.log
true
80ab72c04b768e2c46628a2849c7a93a519efeaa
Shell
dmeekabc/tagaProtoAnalysis
/tagaScripts/tagaScriptsStop/runStop.sh
UTF-8
1,751
3.171875
3
[]
no_license
##################################################### # Copyright 2016 IBOA Corp # All Rights Reserved ##################################################### TAGA_DIR=~/scripts/taga TAGA_CONFIG_DIR=$TAGA_DIR/tagaConfig source $TAGA_CONFIG_DIR/config # stop the simulations for target in $targetList do if echo $BLAC...
true
9deeaeb8e8d18071661fbecaf15378eff8f6a167
Shell
amien8/bjeanes-dot-files
/shells/common/aliases.sh
UTF-8
939
2.578125
3
[ "MIT" ]
permissive
which hub &>/dev/null && alias git='hub' alias ll='ls -lah' alias l='ls' alias b='cd -' alias cdr='cd ./$(git rev-parse --show-cdup)' # useful command to find what you should be aliasing: alias profileme="history | awk '{print \$2}' | awk 'BEGIN{FS=\"|\"}{print \$1}' | sort | uniq -c | sort -n | tail -n 20 | sort -nr...
true
ba6413b74f23bea9a3ab4efb919136300c9acbfc
Shell
armakuni/macos-setup
/brew/bin/bundle-install
UTF-8
435
3.28125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)" BUNDLE_MTIME_FILE="$HOME/.dotfiles" BREWFILE="$SCRIPT_DIR/../Brewfile" if [ -f "$BUNDLE_MTIME_FILE" ] && [ -z "$(find "$BUNDLE_MTIME_FILE" -mmin +$((60 * 24)))" ]; then exit 0 fi brew update brew upgrade bre...
true
4bb57904ad8e1591f135d86e1fa4e32277710e63
Shell
mit-scripts/scripts-locker
/sbin/check-users
UTF-8
2,959
3.265625
3
[]
no_license
#!/bin/bash set -eu err() { ok= echo "$@" } if [ $# -eq 0 ]; then filter="objectClass=posixAccount" else filter= for user; do filter="$filter(uid=$user)" done filter="(&(objectClass=posixAccount)(|$filter))" fi unset "${!l_@}" while read attr value; do ok=t if [ -n "$attr" ]; the...
true
44a2b8d4e4ab20fa7d91c19204d4de07a28e2ca9
Shell
shinmiy/conference-app-2021
/ios/scripts/lint.sh
UTF-8
508
3.453125
3
[ "Apache-2.0" ]
permissive
#! /bin/bash SHELL_PATH=`pwd -P` cd "$SHELL_PATH/../" shopt -s expand_aliases alias package-run='xcrun --sdk macosx swift run --package-path Tools' CHANGED_FILES=$(git status -s | grep -E '^\s*[^D]+\s+.*\.swift$' | awk -F ' ' '{print $2}') if [ -z $CHANGED_FILES ]; then echo "No files changed. Skip prebuild sc...
true
44473e237ab8581782ffbf8e98b2bf2ce41e8e9f
Shell
diegofps/demo_openalpr
/bin/expose
UTF-8
1,811
3.671875
4
[]
no_license
#!/bin/bash APPNAME=$1 MODE=$2 REGISTRY=$3 DEPLOY_PROXY_TEMPLATE="./templates/deploy-proxy.template.yaml" DEPLOY_SVC_TEMPLATE="./templates/svc.template.yaml" if [ -z $REGISTRY ]; then REGISTRY="10.1.1.1:27443" fi function check_sintax { if [ -z "$APPNAME" -o -z "$MODE" ]; then echo "Sintax: $0 <APP...
true