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
5868f9ab0814fd6dcf03c483a5a00f85284f0814
Shell
B-Rich/community-mirror
/skk-jisyo/trunk/PKGBUILD
UTF-8
1,023
2.625
3
[]
no_license
# $Id$ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: jeneshicc <jeneshicc@gmail.com> pkgname=skk-jisyo pkgver=20120902 pkgrel=2 pkgdesc="Dictionaries for the SKK Japanese input method" arch=('any') url="http://openlab.ring.gr.jp/skk/" optdepends=('skktools: Dictionary maintenabce tools') license=('GPL...
true
285761199cd6314d71e1f2741fc86c31b03b5c25
Shell
Vatsal-Nagda/IIIT-H
/Sem1/Scripting/scripting_Tut/15.sh
UTF-8
556
3.359375
3
[]
no_license
#!/bin/bash # demo of the for loop construct # IFS='-' for i in 1 2 3 4 5 do echo $i done # What is going on here? Uncomment each and see #for file in "$@" # and if you use "$*" instead ?? #do # mv $file ${file}.txt #done # We can specify ranges...
true
9a8584d77fa4cbe36df3fb2d161e55e5e0a8650f
Shell
dimkr/rlsd
/packages/lok.sh
UTF-8
478
3.296875
3
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
PACKAGE_VERSION="git$(date +%d%m%Y)" PACKAGE_SOURCES="https://github.com/dimkr/lok/archive/master.zip,lok-$PACKAGE_VERSION.zip" PACKAGE_DESC="A text processing tool" build() { [ -d lok-master ] && rm -rf lok-master unzip lok-$PACKAGE_VERSION.zip cd lok-master $MAKE } package() { $MAKE DESTDIR="$1" PREFIX="" MAN...
true
836bce0957c07deca05e26dcf81b07e5c1745f43
Shell
henrywu2019/oke-airflow
/userdata/push_to_registry.sh
UTF-8
691
3.046875
3
[ "UPL-1.0" ]
permissive
#!/bin/bash # Get authentication token stored in OCI vault auth_token=`oci secrets secret-bundle get --secret-id ${secret_id} --stage CURRENT | jq ."data.\"secret-bundle-content\".content" | tr -d '"' | base64 --decode` # Get tenancy name #tenancy_name=`oci iam tenancy get --tenancy-id $tenancy_id | jq ."data.name...
true
f8d588fb88245233724588110c4c07af0e6c3cc7
Shell
rubytogether/kirby
/bin/deploy-lambda
UTF-8
409
3.0625
3
[ "MIT" ]
permissive
#!/bin/bash set -euo pipefail DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" "$DIR/build-lambda" echo "Built new lambda binary" set -x cd target/x86_64-unknown-linux-musl/release zip aws_lambda.zip kirby-s3 cd - aws lambda update-function-code \ --function-name "kirby-s3" \ --zip-file "fileb://target/x8...
true
bdecd8837ff1b4ec90b4158e8f3aa6c3fce4c495
Shell
Osse/dotfiles
/.zshrc
UTF-8
8,127
2.671875
3
[]
no_license
# Completion {{{ zstyle ':completion:*' completer _expand _complete _ignored zstyle ':completion:*' expand prefix suffix zstyle ':completion:*' file-sort name zstyle ':completion:*' format '%BCompleting %d%b' zstyle ':completion:*' glob 1 zstyle ':completion:*' group-name '' zstyle ':completion:*' ignore-parents parent...
true
5569783a8ad149e6a3025cc8d717999c463642d3
Shell
GoodNovember/neutron
/usr/sbin/atomicpi-hold-mic
UTF-8
397
3.109375
3
[]
no_license
#!/bin/sh . /usr/lib/atomicpi.sh if [ "$1" = "--cleanup" ]; then atomicpi_gpio_hardware && gpioset --mode=time --us=200000 $ATOMICPICHIP_AU_MIC_SEL=1 fi if [ -z "$1" ]; then # Hold AU_MIC_SEL low to enable recording from microphone if atomicpi_gpio_hardware; then exec gpioset --mode=signal $ATOMICPICHIP_AU...
true
b817a6d258d3133b2e9f6ff3aacf28f31e9a5b77
Shell
WayKwin/KeyManagerServer
/stop.sh
UTF-8
165
3.1875
3
[]
no_license
#!/bin/bash USR=`whoami` PID=`ps -u $USR | grep keymngserver | awk '{print $1}'` if [ -z $pid ] then echo "KeyMngServer haven't started" exit 1 fi kill -10 $PID
true
699008b5d4f34ea86e2809bf8391716fb672fdf0
Shell
yeklavya/slackbuilds
/autofs/apply-patches.sh
UTF-8
1,141
2.515625
3
[]
no_license
set -e -o pipefail SB_PATCHDIR=${CWD}/patches # patch -p0 -E --backup --verbose -i ${SB_PATCHDIR}/${NAME}.patch C=$(wc -l ${CWD}/${PSRCARCHIVES} | awk '{print $1}') if [ "$C" -gt 0 ]; then for file in $(<${CWD}/${PSRCARCHIVES}) ; do patch -p1 --verbose -i ${SB_PATCHDIR}/updates/${file} done fi ### Patches ...
true
729dd742260ee2373dc46073c1f0836043478b35
Shell
foundriesio/ci-scripts
/zmp-samples/fota-compile.sh
UTF-8
1,070
3.328125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -e HERE=$(dirname $(readlink -f $0)) source $HERE/../helpers.sh require_params PLATFORM cd /srv west || run pip3 install -U west run west init -m https://github.com/foundriesio/zmp-manifest --mr refs/heads/master run west update west manifest --freeze --out /archive/west.yml run pip3 install -r zmp-manif...
true
702b6d08cb88427596915d4b1cbece0041d05d15
Shell
nfmmonteiro/docker_playground
/default-clean-containers.sh
UTF-8
177
2.859375
3
[]
no_license
eval $(docker-machine env default) echo "Cleaning all default VM containers..." CONTAINERS=$(docker ps -aq) if [ "$CONTAINERS" != "" ]; then docker rm $(docker ps -aq) fi
true
d9141a131beaf03e7c5520004fb2c10529190f08
Shell
ra3xdh/openEMS.SlackBuild
/openEMS.SlackBuild
UTF-8
981
3.359375
3
[]
no_license
#!/bin/sh PKGNAM=openEMS VERSION=0.0.28 ARCH=`uname -m` BUILD=${BUILD:-1} CWD=`pwd` TMP="/tmp/" PKG=$TMP/package-$PKGNAM SRCDIR=$PKG/openEMS-Project OUTPUT=$PKG/openEMS-build DEST=/opt/openEMS/ set -e rm -rf $PKG mkdir $PKG cd $PKG rm -rf $SRCDIR rm -rf $OUTPUT git clone -b stable https://github.com/thliebig/openEMS-P...
true
d5e3fedc3fc3ee0837d774d29358b91feff6d5de
Shell
sidnarayanan/env
/.bash_aliases
UTF-8
1,489
2.796875
3
[ "MIT" ]
permissive
# .bash_aliases if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' fi alias grpe='grep' alias hgrep='hi...
true
103591f4a05adb3be53554a4f42cb54449c7b6fd
Shell
zsw/dm
/usr/lib/dm/format_mod_in_tree.sh
UTF-8
3,115
4.28125
4
[]
no_license
#!/bin/bash __loaded_env 2>/dev/null || { source $HOME/.dm/dmrc && source $DM_ROOT/lib/env.sh; } || exit 1 __loaded_attributes 2>/dev/null || source $DM_ROOT/lib/attributes.sh __loaded_lock 2>/dev/null || source $DM_ROOT/lib/lock.sh script=${0##*/} _u() { cat << EOF usage: $script mod_id [/full/path/to/tree/file] Fo...
true
d56abb5882c3487f93f426ecacf59add042f7cdc
Shell
cccxxxttt/farserver
/install.sh
UTF-8
404
3.484375
3
[]
no_license
#!/bin/sh install_path="/etc/" install_file="/etc/rc.local" bootsh="farserver-boot.sh" path=`pwd` if [ ! -d "$install_path" ]; then mkdir -p $install_path fi if [ ! -f "$install_file" ]; then touch $install_file fi # del farserver autoboot sed -i '/'$bootsh' start/d' $install_file # add farserver autoboot echo $...
true
50d7189200589b64858029cf965fadaad1a7569c
Shell
lgoetschius/ProbabilisticTractography_On_Flux
/Peak_Consolidator.sh
UTF-8
1,281
3.671875
4
[ "MIT" ]
permissive
#!/bin/bash ############################### ProbtrackX Peak Consolidator Script ################################### # Created by Leigh Goetschius # Date of Last Edit: 07.21.2017 # Initials of Last Editor: LG # Purpose: The purpose of this script is to combine all of the peak files created using # the previous scrip...
true
591dcc5fcf953978e6544e47a9e87861a0da5719
Shell
nickp60/riboSeed
/scripts/riboBatch.sh
UTF-8
2,589
3.71875
4
[ "MIT" ]
permissive
#!/bin/bash # version 0.3.0 # If submitting jobs to a cluster with SGE, set the variables # below and the environment variables starting with #$. Otherwise, you # can submit arguments to commandline #$ -cwd #$ -j yes #$ -V #$ -N name #$ -pe mpi 4 echo "Hostname: $HOSTNAME" echo "Task started `date`" echo "if runni...
true
ac2adae486975a6eac3a0f4e3e69fc3eeca91e5f
Shell
vzaicev/bash
/2022/05_stas_govako/lab3/lab03_z15.sh
UTF-8
361
3.125
3
[]
no_license
#!/bin/bash if [ -n $1 ] && [ "$1" == "-task" ];then echo "Задание" echo "15. Удалить все повторяющиеся пробелы и символы табуляции в начале и конце и в середине каждой строки файла" echo echo fi cat file.txt |sed -e 's/^[ \t]*//' -e 's/^[ \t]*//;s/[ \t]*$//' exit 0
true
edeabdf8a3fd3fab769643b671f9eef3214a7988
Shell
dhootha/FR-Automated-LFS_BLFS
/AutoLFS.sh
UTF-8
26,084
3.40625
3
[]
no_license
#!/bin/bash # # TODO add license , GPL or probably DTFWYW # # 2011-12, 2012-01 , Firer4t@googlemail.com # # This shell script shall create full install scripts for LFS # ( http://www.linuxfromscratch.org ) # The actual commands are taken from LFS' svn ''make dump-commands'' # Q/ Why not just run the dump-commands strai...
true
19c5261db5b59cd43e0a98736df8123b299dd685
Shell
victorhooi/mongo-collect-stats
/runner.sh
UTF-8
1,121
3.953125
4
[]
no_license
#!/bin/sh outputdir=/PLEASE_SET_ME hostname="`hostname`" # For commands that don't print the date/time. date_wrapper() { date "+%Y%m%d-%H%M%S-%z" "$@" } program="$1" case "$program" in iostat) set -- iostat -xt 1 86400 ;; vmstat) set -- date_wrapper vmstat 1 86400 ;; sar_pagefaults) set -- sar -B 1 ...
true
ef3da2b4f409da46b00e6f77ed4201043a46fd41
Shell
revenants-cie/terraform-aws-revdb-bastion
/hooks/pre-commit
UTF-8
115
2.703125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash modified_files=$(terraform fmt -recursive) for f in ${modified_files} do git add "$f" done
true
248a20ce7efc720da1884e2c9c02ac2950a40c6e
Shell
wyokobe/dotfiles
/.bash_profile
UTF-8
2,707
3.171875
3
[]
no_license
#!/bin/bash # Get the aliases and functions [ -f ~/.bashrc ] && source ~/.bashrc [ -f ~/.profile ] && source ~/.profile # User specific environment and startup programs #------------------------------------------------------- # 共通設定 #------------------------------------------------------- # PATHの初期化 [ ! "$INITPATH" ...
true
a7c84c2b012939b277652dc23846f59c6680567e
Shell
binghe/cl-net-snmp.web
/release/release.sh
UTF-8
231
2.609375
3
[ "MIT" ]
permissive
#!/bin/sh set -x rm -rf $1-$2/.git rm -f $1-$2.tar.gz* tar cvzf $1-$2.tar.gz $1-$2 rm $1_latest.tar.gz ln -s $1-$2.tar.gz $1_latest.tar.gz gpg -b -a $1-$2.tar.gz rm $1_latest.tar.gz.asc ln -s $1-$2.tar.gz.asc $1_latest.tar.gz.asc
true
d7e6a9b381a1c1bbca6db9e6699836cc181eb12b
Shell
aborle1/GEOS2
/Baselibs/src/netcdf-fortran/examples/F90/run_nc4_comps.sh
UTF-8
835
3.03125
3
[ "Apache-2.0", "NetCDF" ]
permissive
#!/bin/sh # This shell script runs some test for netCDF-4. It checks that the # HDF5 versions of the example data files match (according to ncdump) # the netCDF-3 classic versions. # $Id$ set -e echo "" echo "*** Comparing HDF5 example data files with netCDF classic format versions." echo "*** checking simple_xy..."...
true
d25598c271834e2a64f26fe77e9e04b2e922569f
Shell
MuzammilM/sshReverseProxy
/sshReverseProxy.sh
UTF-8
591
3.59375
4
[]
no_license
#!/bin/bash # Title: Creates a reverse ssh proxy tunnel. # Crontab : * * * * * # Author: MuzammilM sshport=22 remoteport=1998 server=user@example.com if ! [ -x "$(which autossh)" ]; then echo 'Error: autossh is not installed.' sudo apt-get install autossh -y exit fi cnt=`ps aux | grep autoss...
true
d5e082e517140ca92b995ccc9200fa24ac79aadd
Shell
cgruppioni/dotfiles-1
/bin/find-duplicate-files
UTF-8
731
3.671875
4
[]
no_license
#!/usr/bin/env zsh # Print out every file matching a pattern, turn it into its basename so we can # run `uniq -c` and count it no matter where it is, use rg/sed to remove cruft # from `uniq -c`, then pass the basename back into `mdfind` to print out where # the duplicate files actually are. # The pattern can be like '...
true
3288c087d7d3f6fb558dfcb6dee28b863454ae23
Shell
fchmainy/nginx_k8s_apigw
/files/remove.sh
UTF-8
1,521
3
3
[]
no_license
# export HOSTNAME="$(hostname -f)" # export CTRL_FQDN=$(echo $ENV_CONTROLLER_URL | awk -F'https://' '{print $2}' | awk -F':8443' '{print $1}') sleep $(shuf -i 1-10 -n 1) # Authenticate to controller with credentials in order to get the Session Token curl --connect-timeout 30 --retry 10 --retry-delay 5 -sk -c cookie.tx...
true
cfe5ed60529178ae7944a41dc94d3b08cdf46230
Shell
okamidash/web-okami.dev
/conf/options.zsh
UTF-8
5,159
2.625
3
[]
no_license
#b #------------------------------- # ZSH OPTIONS #------------------------------- # Directories setopt chase_links # Treat ../ as Going to the parent directory # Completion setopt auto_list # Automatically List choices on ambiguous completion setopt auto_menu # Automa...
true
2e6a87d1fa5707cb6f4103399851957bdaf044db
Shell
ingydotnet/git-subrepo
/test/push-squash.t
UTF-8
978
3.65625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e source test/setup use Test::More clone-foo-and-bar # Make various changes to the repos for testing subrepo push: ( # In the main repo: cd "$OWNER/foo" # Clone the subrepo into a subdir git subrepo clone "$UPSTREAM/bar" # Make a series of commits: add-new-files bar/FooBar1 ...
true
b9021e1d5a1ff12018353997e4a43ec4b50206b0
Shell
shisa/shisa-netbsd
/src/tests/fs/puffs/t_psshfs.sh
UTF-8
6,440
3.203125
3
[]
no_license
# $NetBSD: t_psshfs.sh,v 1.3 2007/12/29 23:07:17 jmmv Exp $ # # Copyright (c) 2007 The NetBSD Foundation, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code...
true
065458ef236981e21bcf2d2fde52031313c0973a
Shell
msys2/MINGW-packages
/mingw-w64-github-cli/gh
UTF-8
175
3.0625
3
[ "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash GH_EXE="$( dirname ${BASH_SOURCE[0]} )/gh.exe" if [ -t 0 -a -t 1 -a -x /usr/bin/winpty ]; then /usr/bin/winpty $GH_EXE "$@" else exec $GH_EXE "$@" fi
true
9bf87da053402d4af1e33bcdca45148ec31e0d36
Shell
driverevil/bash
/introduction.sh
UTF-8
531
2.796875
3
[]
no_license
#!/bin/bash # Ask user name echo Sa!, kiu vi estas? read varName echo Bonvenon $varName echo ------------------------------------------------- echo Tempo da login echo ------------------------------------------------- read -p 'Username: ' userVar read -sp 'Password: ' passVar echo echo Dankon $userVar nun ni havas ...
true
bdf5d80c713af8fdca70e50d91d4fba92e3e908e
Shell
copslock/7525
/apps/public/samba-3.2.5/source/script/tests/selftest.sh
UTF-8
7,814
3.78125
4
[]
no_license
#!/bin/sh if [ $# != 3 ]; then echo "$0 <directory> <all | quick> <smbtorture4>" exit 1 fi SMBTORTURE4=$3 SUBTESTS=$2 ## ## create the test directory ## PREFIX=`echo $1 | sed s+//+/+` mkdir -p $PREFIX || exit $? OLD_PWD=`pwd` cd $PREFIX || exit $? PREFIX_ABS=`pwd` cd $OLD_PWD if [ -z "$TORTURE_MAXTIME" ]; then ...
true
6cb911ea51ac64f569628d54e6687ada22020396
Shell
cancerberoSgx/magica
/apps/magica-examples/notes/fisheye
UTF-8
18,494
3.328125
3
[ "MIT", "LicenseRef-scancode-other-permissive", "ImageMagick", "Xfig", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
#!/bin/bash # # Developed by Fred Weinhaus 4/14/2008 .......... revised 1/17/2022 # # ------------------------------------------------------------------------------ # # Licensing: # # Copyright © Fred Weinhaus # # My scripts are available free of charge for non-commercial use, ONLY. # # For use of my scripts in co...
true
b6f7c9ba59ee0fcdf7a0fc7be91e48f096750389
Shell
dynamotn/dotfiles
/home/dot_config/dytoy/binary/helpers/bat.sh
UTF-8
530
2.546875
3
[]
no_license
#!/bin/bash tar xzf $TEMP --strip=1 -C $BIN_DIR bat-$VERSION-x86_64-unknown-linux-gnu/bat tar xzf $TEMP --strip=1 -C $MAN_DIR/man1 bat-$VERSION-x86_64-unknown-linux-gnu/bat.1 if [ -d ~/.config/fish/completions ]; then tar xzf $TEMP --strip=2 -C ~/.config/fish/completions bat-$VERSION-x86_64-unknown-linux-gnu/autocom...
true
d8c8983ea470385da8085180ba35c32afce33313
Shell
umyemri/archinstaller
/install-encrypt-uefi.sh
UTF-8
5,518
3.265625
3
[]
no_license
#!/bin/bash # title: archinstaller - encrypted version # author: andrew # aim: build a arch installer for a Dell XPS 13 9360 with partial disk encryption # last working run: 2020-03-09 # notes: # - assumes sda is the install location and you have a connection to the internet # - built for uefi - see bootctl # - v...
true
075ed7564918e573bfa39418d9c7ab38200cdd81
Shell
AndreyPavlenko/ppa-aap
/kodi-stable/kodi-addon-xvdr/debian/xvdr
UTF-8
1,759
4.03125
4
[]
no_license
#!/bin/sh set -e NAME='Kodi' EXECUTABLE='/usr/lib/kodi/kodi.bin' PID_FILE="$HOME/.kodi/kodi.pid" CTL='/sbin/initctl' if pidof systemd > /dev/null then CTL='systemctl' else CTL='initctl' fi status() { if [ -f "$PID_FILE" ] && [ "$(ps -p $(cat "$PID_FILE") -o comm= 2>/dev/null)" = "$(basename "$EXECUTABLE"...
true
43839a5036cbd9464528a768a41159a467231a53
Shell
rooftopsparrow/s3stacktrace
/s3hprof.bash
UTF-8
5,122
3.90625
4
[]
no_license
#!/bin/bash S3_BUCKET=<insert-bucket-name-here> HPROF_S3_FOLDER=hprofs HPROF_LOCAL_DIR=/tmp COMMAND=$1 # consider looking at sse-c as well (also aws:kms) SERVER_SIDE_ENCRYPTION_AWS_CLI="--sse AES256" SERVER_SIDE_ENCRYPTION_S3_CMD="--server-side-encryption" # s3 client backend selection #BACKEND="s3cmd" # stil...
true
60a0eff6e3f5cba3db916429e4fd6876404a34fe
Shell
frankzhuo/kaola
/script/hadoop18/merzx/mer_load_limit_kdwl_export_test.sh
UTF-8
1,675
2.625
3
[]
no_license
#!/bin/bash ########################################################################################################################################################################### # # export hive to oracle # ##########################################################################...
true
b588fa420ff3ae652f73978f2f4e3e6b48e45369
Shell
jmg1297/thesis
/bl6_strg_merge_vs_retrocopies/src/get_closest_pc_transcript.sh
UTF-8
1,202
2.84375
3
[]
no_license
#!bin/bash TRANSCRIPTS=/home/jg600/projects/mm10_ref/transcriptome/ensembl/Mus_musculus.GRCm38.84.protein_coding_transcripts.bed BASEDIR=$(pwd) TARGETDIR=data/expr_retrocopies_vs_protein_coding_genes for d in $(find data/all_exons_int_retrocopy_blocks -type d | sed '1d'); do MRG=$(echo $d | cut -d/ -f3) mkdir $TA...
true
c834c64b44188c34f402f924cdc6b1b9389d7ba5
Shell
bioinfx/cvdc_scripts
/hervh/master.sh
UTF-8
4,943
2.53125
3
[]
no_license
mkdir ../../analysis/hervh #cd ../../analysis/hervh ## merge herv sequence. bash merge_hervh_seq.sh ## quantify the RNA-seq signal on the HERVH sequences. bash HERVH.all_gene.bigWigOverBed.sh Rscript combineBW.output.sorted_beds.r ## quantify the RNA-seq signal based on the featureCounts not the bigWig. awk -v OFS...
true
4edfb22e3d747c3ab9823baf70e8e1d2926467fa
Shell
davidstraka2/toggle-prompt
/.bashrc
UTF-8
2,465
4.15625
4
[ "Unlicense" ]
permissive
# Toggle between normal PS1 and alternative (short) PS1 # Usage: # toggle-prompt # Toggle between normal and alternative PS1 # toggle-prompt help [aliases: h, -h, --help] # Show help # toggle-prompt PS1 <value> [alias: ps1] # Change alternative PS1 to a new value # # Rep...
true
68c2d2fd9049be2c419c6f3ca9f08b5755f6bf87
Shell
zeligism/outbreak-simulator
/generate_sim_ja2.sh
UTF-8
1,175
3.0625
3
[]
no_license
EXP="exp2" ja_file="${EXP}.ja" data_dir="$EXP" rm -f "$ja_file" mkdir -p "$data_dir" INFECTION_RATES=($(seq 0.01 0.01 0.10)) QUARANTINE_LENGTHS=(0 1 7 100) # Construct base run of this job baserun="time python run.py" baserun+=" --random_seed 123" baserun+=" --regenerate_graph" baserun+=" --num_sim 100" baserun+=" ...
true
1970f52cad155c9be42ccfd629b384aee7a53eca
Shell
lncm/dockerfiles
/invoicer/check-invoicer.sh
UTF-8
346
3.21875
3
[ "AGPL-3.0-only", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "AGPL-3.0-or-later" ]
permissive
#!/usr/bin/env bash if [ -z $INVOICER_HOSTPORT ]; then INVOICER_HOSTPORT='localhost:1666' fi CHECK_INVOICER=`curl "http://$INVOICER_HOSTPORT/api/healthcheck" -D headerfile 2>/dev/null; head -1 headerfile | grep -c 200 ; rm headerfile` if [ $CHECK_INVOICER == 1 ]; then echo "Online" exit 0 else echo "...
true
ff9aada1eb01e1c9ddf02eed2f2585fc29fa425d
Shell
dmcinnes/oh-my-zsh
/themes/diznug.zsh-theme
UTF-8
1,377
3.390625
3
[ "MIT" ]
permissive
# # Translated from http://gist.github.com/31934 # autoload -U colors # colors # setopt prompt_subst parse_git_branch() { # git rev-parse --git-dir &> /dev/null git_status="$(git status 2> /dev/null)" branch_pattern="On branch ([[:alnum:]/_-]*)" nobranch_pattern="HEAD detached at" remote_pattern="Your branch...
true
2aad4f468ab89178e04599e65d18285610983fb0
Shell
Marketplace-Express/shop_api
/utilities/install-dependencies.sh
UTF-8
564
3.5625
4
[ "MIT" ]
permissive
#!/bin/bash source ./utilities/progressbar.sh || exit 1 # Define array of dependencies dependencies=(libcurl4-gnutls-dev libyaml-dev libicu-dev libzip-dev unzip git) ### START DO NOT EDIT AREA ### echo "Installing dependencies ..." dependencies_count=${#dependencies[@]} i=0 draw_progress_bar $i ${dependencies_coun...
true
13608e7d38169cabb5599df679d506e6dad4cec6
Shell
pedropaislopes/fiobenchmarker
/fiobenchmarker.sh
UTF-8
1,508
3.390625
3
[]
no_license
#!/bin/bash COMUM="--group_reporting=1 --directory=$PWD/fiotest --iodepth=1 --ioengine=mmap --filename_format=CAPPcache.\$jobnum --output-format=normal,terse" sequencia="1 2 4 8 12 20 26 28 36 44 56 60 76 92 124 220" cache=12000 nvCPUs=$(nproc --all) maxPG2=$((nvCPUs - 4)) for ncores in $sequencia; do if [ $ncores...
true
1c03be2c0823c47723e08ff036d2a3fed3315fe8
Shell
phil-dobson/docker-scripts
/docker_login_ecr.sh
UTF-8
318
3.21875
3
[]
no_license
#!/usr/bin/env bash # Fetches a docker login command from aws through the CLI. Assumes that the aws.sh script is executable in the users home directory. # Supports setups where the AWS CLI assumes a role via an assigned profile instance. set -o errexit CMD=$(/home/core/aws.sh ecr get-login --no-include-email) $CMD
true
6a5375e0e705e0c3939b21964a7f605dc74cb1eb
Shell
rcrowley/rcrowley
/.profile.d/path.sh
UTF-8
256
2.84375
3
[ "BSD-2-Clause" ]
permissive
# Extra search pathnames. for BINDIR in "$HOME/local/bin" "$HOME/bin" "$HOME/src/"*"/"*"/"*"/.virtualenv/bin" "$HOME/node_modules/.bin" do [ -d "$BINDIR" ] || continue expr "$PATH" : ".*$BINDIR" >"/dev/null" && continue export PATH="$BINDIR:$PATH" done
true
cacd3bd91f8c438abc3f496e80c1cdb3db55f79c
Shell
bharatg/UbuntuPlay
/ee_nginx.sh
UTF-8
487
2.890625
3
[]
no_license
#!/bin/bash sudo apt-get install nginx sudo mkdir /usr/share/nginx/test.com cat << EOF >> /usr/share/nginx/test.com/index.html <h1>hi, testing Nginx.</h1> EOF cat << EOF >> /etc/nginx/sites-available/test.com server { listen 80; root /usr/share/nginx/test.com; index index.html index.htm; server_name test.com...
true
a45f01ae3945435325321a48c428505eb11b4712
Shell
lyapple2008/SpeakerVerification_based_on_Kaldi
/kaldi/egs/babel/s5d/local/nnet3/run_ivector_multicondition_common.sh
UTF-8
8,511
3.15625
3
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/bash . ./cmd.sh set -e stage=1 train_stage=-10 generate_alignments=true # false if doing ctc training speed_perturb=true snrs="20:15:10" num_data_reps=3 ali_dir=exp/ db_string="'air' 'rwcp' 'rvb2014'" # RIR dbs to be used in the experiment # only dbs used for ASpIRE submiss...
true
922424a3715536605f0875eff84f8dbd1b11ca63
Shell
wtabib/bluefox2
/update_files.sh
UTF-8
879
3.125
3
[]
no_license
#!/bin/bash # Script to copy over header and library files from the system-wide bluefox driver installation to the ROS driver # This assumes that the bluefox driver has already been installed system-wide # This should be run before the first build if the system-wide bluefox driver has a version different from 2.26.0 ...
true
be46283da19ee056420d1c2ca37d3fdaa348cc1e
Shell
frreiss/tf-dev-conf
/buildenv.sh
UTF-8
2,364
3.6875
4
[ "Apache-2.0" ]
permissive
#! /bin/bash ################################################################################ # buildenv.sh # # Set up a system-wide Anaconda virtualenv for building TensorFlow. # # Requires that conda be installed and set up for calling from bash scripts. # # Also requires that you set the environment variable CONDA...
true
35956d7d339e407cd4d5a3e2a2cd99d86a61c733
Shell
BAWAG-PSK/wrd-bawag-mfa
/wrd-tic-tac-toe/deploy.sh
UTF-8
1,007
3.484375
3
[]
no_license
#!/usr/bin/env bash # checks if azure-cli is installed (if not exit) # if dist folder is present -> deploy # else build and then deploy if ! type "az" > /dev/null; then echo "ERROR: azure-cli is not installed!" echo "Instruction for mac: https://build5nines.com/install-azure-cli-2-0-on-macos/" # curl -L https:/...
true
4b39c4312da34e35b95e4e3132b8229f43a3689c
Shell
ejh243/BrainFANS
/sequencing/ATACSeq/jobSubmission/scoping.sh
UTF-8
3,321
3.578125
4
[ "Artistic-2.0" ]
permissive
#!/bin/sh #SBATCH --export=ALL # export all environment variables to the batch job. #SBATCH -p mrcq # submit to the serial queue #SBATCH --time=1:00:00 # Maximum wall time for the job. #SBATCH -A Research_Project-MRC190311 # research project to submit under. #SBATCH --nodes=1 # specify number of nodes. #SBATCH --ntask...
true
4007502f2f4a32677b8217200c0419a5e99a5007
Shell
cssoc/CTF17-18
/pwn/echo/build.sh
UTF-8
234
2.84375
3
[]
no_license
#!/bin/bash #gcc echo.c -o echo -no-pie docker build -t=echo . docker run --rm --entrypoint cat echo /lib/x86_64-linux-gnu/libc.so.6 > libc.so.6 if md5sum -c md5_check; then : else echo "Please contact me about the libc change" fi
true
4efd78ae2466d9fc5275629d8b24f4a96976fc1d
Shell
nbuesing/kafka-cdc-developer-ecosystem
/bin/create-topics-source
UTF-8
535
2.796875
3
[]
no_license
#!/bin/sh PARTITIONS=6 REPLICATION_FACTOR=3 COMPRESSION_TYPE=producer BOOTSTRAP_SERVER=localhost:19092 declare -a TOPICS=( "mysql.inventory.ADRC" ) for TOPIC in ${TOPICS[@]}; do echo "Creating topic $TOPIC" kafka-topics \ --bootstrap-server $BOOTSTRAP_SERVER \ --create \ --partitions $PARTITIONS \ ...
true
082cd0fd0dbb97184be7b542f9b1a91ba6935bd4
Shell
sinkinben/MiniShell
/build-mylib.sh
UTF-8
205
2.984375
3
[]
no_license
#!/bin/bash src_path=./src/mylib dst_path=./build/bin list=$src_path/*.c for str in $list do target=${str/$src_path\//} target=${target%.*} gcc $str -o $dst_path/$target -lpthread -lm done exit
true
8c7727483ffc6c7c6b8968ac0622f4a6212c0da8
Shell
PPBRD/nagios
/SORT.sh
UTF-8
1,976
3.015625
3
[]
no_license
#!/bin/bash /usr/bin/python /root/test.py > /root/text.txt cp /var/www/html/GRAPHS/HTML.txt /var/www/html/GRAPHS/HTML1.txt > /var/www/html/GRAPHS/HTML.txt cat /root/text.txt | sed 's/\\n/\n/g' | sed 's/\\r/ /g' | grep pp | egrep -v cli | awk '{print $2}' | sort | uniq -c | awk -F"et-0/2/1." '{print $2,$1}' | sort | ...
true
b5eaa5778200dfbdc11be8f927e5812673aa2d88
Shell
neerdael-nl/infoblox-public
/aws/test_list_igw_aws.sh
UTF-8
6,237
2.984375
3
[ "Apache-2.0" ]
permissive
#!/bin/sh" # test_list_igw_aws.sh: Unit tests of list_igw_aws.sh script." echo "--- all gateways in default region" sh list_igw_aws.sh || echo "*** failed" echo "--- all gateways in default region, one per line" sh list_igw_aws.sh -1 || echo "*** failed" echo "--- all gateways in default region, with extra info" sh ...
true
a0180f3c941ad845ea916cf2e4ac00d17b9ec954
Shell
camuso/scripts
/gitinsertbz
UTF-8
446
3.4375
3
[]
no_license
#!/bin/bash | # # This script takes a branch and adds a bugzilla line to every backported # patch. # # $1 - hash of the first commit in the series. bznum=`git describe --contains --all HEAD | awk -F "v" ' { print $1 }'` BZNUM=$bznum first=$1 git...
true
e3596f43a34917071b86201d4279f95122df45d4
Shell
mftrhu/reddit-get-saved
/update.sh
UTF-8
1,232
4.125
4
[ "MIT" ]
permissive
#!/bin/bash ## User variables saved_filename="saved.jsonl" # Where to put the items backup_old=true # Are we to backup the old items before merging? ## "Internal" variables # There should be no particular need to modify these new_filename="$(date +"%Y-%m-%d").jsonl" # Where to put the new items max_save="${MAX_SAVED:-...
true
8b4c62fb4ee6ac582f75b3f08f81fae147476137
Shell
manjaro-gnome/linux-scripts
/oscfg/ubuntu.sh
UTF-8
6,336
3.453125
3
[]
no_license
#!/bin/sh ubuntu_distro() { # ubuntu-suite-xxx # let's grab the suite (focal) local SUITE="$(echo "$1" | cut -f2 -d-)" case "$1" in *-base) # for example: ubuntu-focal-base create_empty debootstrap --include=wget,curl,net-tools,rsync,openssh-server,sudo $SUITE "$WORK" # make sudo available withou...
true
7006e0b08655d1695d536b21d59a3acd4545b2cc
Shell
nitishch/assignment6
/scripts/lab6scripts/wc.sh~
UTF-8
1,831
3.421875
3
[]
no_license
#!/bin/bash ramgb=$(echo "scale=2; $(free | sed -n '2s/[^0-9]*\([0-9]*\).*/\1/p')/(1024.0*1024.0)" | bc) usedgb=$(echo "scale=2; $(free | sed -n '2s/[^0-9]*[0-9]*[^0-9]*\([0-9]*\).*/\1/p')/(1024*1024)" | bc) #echo $ramgb #echo $usedgb #date=$(date +%d) #month=$(date +%m) year=$(date +%Y) #hour=$(date +%H) #minutes=$(da...
true
4e206eefaba6fd4ee805ccd7a3c39715fc9b867e
Shell
mbrav/OssacipBot
/server-setup.sh
UTF-8
1,258
3.484375
3
[ "MIT" ]
permissive
#!/bin/bash #Linux server setup, tested on ubuntu #Configures Procesing to run in "headless" mode echo "Configuring OssacipBot server..." url="https://github.com/processing/processing/releases/download/processing-0270-3.5.4/processing-3.5.4-linux64.tgz" tar_file="processing.tgz" folder="./processing" processing="${fol...
true
833c7320339e701ef8922203805068d0e7e13c00
Shell
rolfbjarne/xamarin-macios
/msbuild/xbuild-in-place
UTF-8
830
2.84375
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/usr/bin/env bash self="$(dirname "$0")" build_in_place_dir="$(python -c "import os; print os.path.realpath('$self/../_mac-build')")" xammac_framework_dir="$build_in_place_dir/Library/Frameworks/Xamarin.Mac.framework/Versions/Current" xbuild_external_dir="$build_in_place_dir/Library/Frameworks/Mono.framework/Externa...
true
5bd4ea24449818149ae80d7eb6e60266e269af8c
Shell
Project-OSRM/osrm-backend
/scripts/ci/is_pr_merge.sh
UTF-8
778
3.859375
4
[ "BSD-2-Clause" ]
permissive
#!/bin/bash set -eu pipefail : ' This script is designed to detect if a gitsha represents a normal push commit (to any branch) or whether it represents travis attempting to merge between the origin and the upstream branch. For more details see: https://docs.travis-ci.com/user/pull-requests ' # Get the commit mess...
true
2a67ba4aaaf9d43c69fb61ddd4a9d3d7bc96880d
Shell
chuckcho/deep-residual-networks
/classify_with_ResNet-152.sh
UTF-8
3,667
3.40625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash #./caffe/cmake_build/install/bin/caffe \ # test CAFFEBINDIR=./caffe/cmake_build/install/bin export LD_LIBRARY_PATH=./caffe/cmake_build/install/lib:$LD_LIBRARY_PATH #time $CAFFEBINDIR/classification \ # ./ResNet-152-deploy.prototxt \ # ./ResNet-152-model.caffemodel \ # ./ResNet_mean.binaryprot...
true
1391b34caa8a974aa6fa89f344d9e2e1ec41449a
Shell
malangalanga/bungeni-portal
/bungeni.buildout/trunk/testdatadmp/upd-dbdump.sh
UTF-8
499
3.484375
3
[]
no_license
#!/bin/bash #This script updates db dumps from a bungnei db for use on a different computer #It updates the owner of the db dump with a new user owner #input file , $2 = output file , $3 = input user , $4 = output user EXPECTED_ARGS=4 BAD_ARGS=99 if [ $# -ne $EXPECTED_ARGS ] then echo "Usage: upd-dbdump.sh <input-fil...
true
7d79196d8e32f4e9f71352ae7281572c253e553c
Shell
JMwill/dotfiles
/legacy/scripts/basic.sh
UTF-8
2,008
3.015625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash __dotfile_install_basic() { local basicapps=( git-flow fzf wget zsh zsh-completions rsync ripgrep gnu-sed hugo trash-cli exa # alternate ls bat # alternate cat ) info_echo 'Basic app installing...' retry 5 brew install ${basicapps[@]} local basic...
true
f57e076a98d3728218c6b11b66a0067b2b682eaa
Shell
godane/random-code
/central-manuals/upload.sh
UTF-8
1,146
3.15625
3
[]
no_license
#!/bin/bash check="yes" ext="pdf" brand="arri" gear="camcorder" turl="https://www.central-manuals.com/instructions_manual_user_guide_${gear}/${brand}.php" bash download.sh $turl ls *.${ext} | while read file; do #id1="$(curl -s $url | grep $file | grep -v "meta name=" | sed 's|.*download/||g' | sed 's|".*||g' | s...
true
0fdcb5fdd99394dd830ab68bedbb33e6cccdba9e
Shell
kingofdarkness8/helium_scripts
/miner_latest.sh
UTF-8
3,134
3.890625
4
[ "Unlicense" ]
permissive
#!/bin/bash # Script for auto updating the helium miner. # Set default values USER=sysadmin MINER=miner REGION=US915 GWPORT=1680 MINERPORT=44158 DATADIR=/home/$USER/miner_data testJQ=$(which jq) if [ $? -ne 0 ]; then sudo apt install jq curl -y fi # Read switches to override any default values for non-sta...
true
07b624059dcda5a7f56a7752d0a05fed6c484d73
Shell
tim-massey/ppa-collection
/README.md
UTF-8
4,502
2.546875
3
[]
no_license
#!/bin/bash ## install install(){ sudo sh -c 'curl https://raw.githubusercontent.com/zweifisch/ppa-collection/master/README.md > /usr/bin/ppa-collection' \ && sudo chmod +x /usr/bin/ppa-collection } ## packages ### elixir elixir(){ wget http://packages.erlang-solutions.com/e...
true
c1c4b8a679493b1ae00f114cff47fc00c3826b78
Shell
sidlors/dotfiles
/zsh/.bash_aliases
UTF-8
2,260
3.109375
3
[ "MIT" ]
permissive
## My favorite radio stations :D alias radiosleep='mplayer http://radio.stereoscenic.com/asp-s' alias radioone='mplayer http://tech.eradio-one.de:62015' alias radiodark='mplayer http://s3.viastreaming.net:8835/' alias radiouniversal='mplayer http://18733.live.streamtheworld.com/XHRED_FM.mp3' alias radiojazz='mplayer h...
true
126afce37b0cebbc41b6d5103601712ec1832dbd
Shell
ashfame/air-gapped-raspberry-pi-custom-linux-os
/build_custom_linux_os.sh
UTF-8
7,189
4.0625
4
[]
no_license
#!/usr/bin/env bash # Set current working directory as that of the script cd "$(dirname "$0")" # Function to pause the script in between so that user can confirm or read values from screen & enter them as input pause() { local arg="" if [ -z "$1" ]; then arg="" else arg=$1 fi read -s -n 1 -p "$arg" } # Fu...
true
66248dc847a75aa9e89e94eaa01eccd388861029
Shell
angelhof/flumina
/experiments/ns3/container-pre-ns3.sh
UTF-8
1,359
3.9375
4
[ "MIT" ]
permissive
#!/bin/bash # Here's a sketch of the devices and their connections: # # Docker container # +----------------------+ # | | # +-----+ +--------+ +-----+ | +-------------+ | # |...
true
9d3d0c7ffee0d1103e161120ee4c1010900fa29a
Shell
xdc0209/kiwi_bash_lib
/comm_lib.sh
UTF-8
58,922
3.203125
3
[ "MIT" ]
permissive
#!/bin/bash ############################################################################################################# # 名称: comm_lib.sh ## # 功能: 提供公共函数库 ...
true
3e263d01f4b527804fbf7f22ae0214910d47ea97
Shell
cosgroma/dotfiles
/.dfbin/platform.sh
UTF-8
263
2.90625
3
[]
no_license
#!/bin/bash # case $(uname) in # Linux) # echo "linux" # ;; # Darwin) # echo "darwin" # ;; # *) # echo "windows" # ;; # esac case $(uname) in Linux | Darwin) echo "linux or Darwin" ;; *) echo "windows" ;; esac
true
f37fcb92007a1d5660aa4cf0f782fba551b30b71
Shell
petertenhoor/headless-wp-graphql-poc
/wordpress/components/mailhog.sh
UTF-8
2,672
4.0625
4
[]
no_license
#!/usr/bin/env bash # Get state (1 or 0) if file exists fileExists() { local return_=0 if [ -f "$1" ]; then local return_=1; fi; echo "$return_"; } # Get state (1 or 0) if binary exists binaryExists() { local return_=1 type $1 > /dev/null 2>&1 || { local return_=0; } echo "$return_"; } echo "...
true
41e2cae87eadaec26ba708154acc319813976d4a
Shell
CWI-CSEC/pentestbox-build
/helpers/hostapd/PKGBUILD
UTF-8
907
2.53125
3
[]
no_license
pkgdesc="Provides hostapd for RTL-8188C* and RTL-8192C*" pkgname=hostapd-RTL8188C_8192C_USB_linux pkgver=v4.0.2_9000.20130911 pkgrel=1 arch=("armv7h") conflicts=("hostapd") provides=("hostapd") source=("http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/wlan/0001-RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911.z...
true
d0f0f598f44b215d4d957e7d92aa29a9281c63fd
Shell
fvanoorschot/htessel_analyses
/cdo_process_refdata.sh
UTF-8
12,999
3.078125
3
[]
no_license
#!/bin/bash fol=~/work/fransje/htessel_output # different start and end years depending on reference data ref_data="DOLCE" if [ $ref_data = "FLUXCOM_RSMETEO_GSWP" ] then #FLUXCOM RSMETEO GSWP year_start=1993 year_end=2014 fi if [ $ref_data = "FLUXCOM_RS" ] then #FLUXCOM RS year_start=2001 year_end=2015 fi if [ ...
true
940c7799290e8f9a16d396dc85e82d45e7583a60
Shell
danikristiansen/Vardigan
/scripts/pdflib.sh
UTF-8
2,622
3.703125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash if [ -z "$1" ]; then pdflib_version="9.0.2" else pdflib_version="$1" fi echo ">>> Installing pdflib $pdflib_version" # Test if PHP is installed php -v > /dev/null 2>&1 PHP_IS_INSTALLED=$? if [ -z PHP_IS_INSTALLED ]; then echo "!!! PHP is not installed"; exit 1; fi #Check that the pdflib ha...
true
4878873ecba2d3a7a6fa25670ef47839c81dc53b
Shell
markproy/bird-classification-workshop
/labs/lab0/notebooks_state_all.sh
UTF-8
594
3.859375
4
[]
no_license
#!/bin/bash # This script starts or stops all notebook instances across all accounts. # ./notebooks_state_all.sh stop us-east-1 # ./notebooks_state_all.sh start us-east-1 if [ $# -lt 2 ] then echo Pass indication of whether to stop or start plus region, as in ./notebooks_state_all.sh stop us-east-1 exit 1 fi REGI...
true
a892bdbf8718aa44121051c70797a366e2d43f79
Shell
shitpoet/ws
/build.sh
UTF-8
299
2.71875
3
[]
no_license
node build.js EXITCODE=$? if [ $EXITCODE -eq 123 ]; then echo 'ok' cp parser.old.old.js parser.old.old.old.js cp parser.old.js parser.old.old.js cp parser.js parser.old.js mv parser.new.js parser.js #git status #git commit -a -m 'automatic commit' #git push & else echo 'fail' fi
true
438c2677a49a90baddceea8b758fa27bf2945e15
Shell
C2SM-RCM/eniac-scripts
/standalones/common/update_tolerances.sh
UTF-8
1,829
4.125
4
[]
no_license
#!/bin/bash -e if [[ $# -lt 3 ]]; then echo "USAGE: script requires at least 3 arguments" echo " update_tolerances /path/to/validation_nproma_X.failed /path/to/tolerances/files nproma [nproma [...]]" exit 1 fi # General setup scale=3.0 jq_cmd=~/bin/jq # Get script arguments error_path=$1 tolerances_path=...
true
63a840c339cd73e35e006a38760b0db3e70eeae3
Shell
hepcat72/bioconda-recipes
/recipes/ideas/1.20/build.sh
UTF-8
225
2.671875
3
[]
permissive
#!/bin/bash mkdir -p $PREFIX/bin # Copy the precompiled ideas binary. cp ./bin/linux/ideas $PREFIX/bin chmod +x $PREFIX/bin/ideas # Compile and install prepMat from source. cd ./src make -f makefile cp ./prepMat $PREFIX/bin
true
eb1d608fb3584f08574eae509898de132f3cc293
Shell
mazembo/googleCloudPlatform
/adding_a_backend_bucket_to_content_based_load_balancing2.sh
UTF-8
7,423
2.625
3
[]
no_license
# https://cloud.google.com/load-balancing/docs/https/adding-a-backend-bucket-to-content-based-load-balancing gcloud config set project [PROJECT_ID] gcloud compute instances create www \ --image-family debian-9 \ --image-project debian-cloud \ --zone us-central1-b \ --tags http-tag \ --metadata start...
true
4e79520cd2ea80fe24403b4f9618d4aa5984ac97
Shell
ecoreos/syno
/etc/synoha/UtilTarSmallupdate.sh
UTF-8
132
3.421875
3
[]
no_license
#!/bin/bash if [ $# -ne 2 ]; then exit 1; fi srcDir=$1 destPat=$2 if [ -d "$srcDir" ]; then cd $srcDir tar zcf $destPat * fi
true
37d2df60b0580490f2babcca053dd3009b536e49
Shell
og-bash-scripts/02.bash.course.flow.control.data.types
/1-1a.if.sh
UTF-8
146
3.125
3
[]
no_license
#!/bin/bash #check current user is root if test $USER != "root" then { clear echo "You are not root" } else { clear echo "You ARE root" } fi
true
589f01822a7709ab0794e32cdbd409d6b2bae67f
Shell
ai2cm/daint_install
/fms/install.sh
UTF-8
1,553
3.6875
4
[ "BSD-2-Clause" ]
permissive
#!/bin/bash # stop on all errors set -e repo="https://github.com/VulcanClimateModeling/fv3gfs-fortran.git" workdir=`pwd` srcdir=${workdir}/src_$$ compiler=$1 if [ -z "${compiler}" ] ; then echo "ERROR: Please specificy a compiler to use for FMS install. " echo "Usage: $0 <COMPILER> <REAL_KIND> <OMP>" exit 1 fi...
true
f926bd2167c32abbdd89d6d2e0500a8a855fb698
Shell
kfogel/nilmbugs
/dist
UTF-8
524
2.984375
3
[ "MIT" ]
permissive
#!/bin/sh svn up -q VERSION="0.0.`svnversion | sed -e 's/[A-Z]//g'`" DISTNAME=nilmbugs-${VERSION} rm -rf ${DISTNAME} ${DISTNAME}.tar.gz mkdir ${DISTNAME} cd ${DISTNAME} cp ../README . sed -e "s/-VERSION/-${VERSION}/g" < README > README.tmp mv README.tmp README cp -a ../nilmbugs . pwd find nilmbugs -type d -name ".sv...
true
39e972141fd7dcb1e42be01210ed4970cd382fd7
Shell
cmaster11/alertino
/go-run-tests.sh
UTF-8
138
2.84375
3
[]
no_license
set -Eeumo pipefail DIR=$(dirname "$(command -v greadlink >/dev/null 2>&1 && greadlink -f "$0" || readlink -f "$0")") go test "$DIR/..."
true
e2b35a74e49dfc58babdb14fc9aeaa363cfc75a0
Shell
kayengvang/module-builder
/modules/openssl/build.sh
UTF-8
2,157
2.6875
3
[]
no_license
MAGISK_MODULE_HOMEPAGE=https://www.openssl.org/ MAGISK_MODULE_DESCRIPTION="Library implementing the SSL and TLS protocols as well as general purpose cryptography functions" MAGISK_MODULE_LICENSE="BSD" MAGISK_MODULE_VERSION=1.1.1h MAGISK_MODULE_SRCURL=https://www.openssl.org/source/openssl-${MAGISK_MODULE_VERSION/\~/-}....
true
c0f1c341ad7638c2bafd52b2ca3ec5070f26ee2f
Shell
muralikrishna188/vault-ca-demo
/create-server-certs.sh
UTF-8
1,267
3.59375
4
[]
no_license
#!/bin/bash # pass the name of the cert as the first argument to the script, common name as second argument, ip_sans as third, and TTL in seconds as fourth. Example: `./create-server-certs.sh grafana docker01.home 192.168.1.80 31556952` # Create the Client and Server certs. There are terraform interfaces to do this, b...
true
6cecf70cec6fa3403e191b0c6eca4f5ea2b0de50
Shell
AGNUcius/GNUnix
/bin/youtube.list.formats
UTF-8
163
2.828125
3
[]
no_license
#!/bin/bash if [[ $1 == "" ]]; then echo "Arg1: YouTube ID, such as '_CWpBlrVcjg'" exit 22 fi youtube-dl --list-formats "https://youtube.com/watch?v=$1"
true
457928e8a6e51f57ae61b413f90a1ad69807503d
Shell
kumarsubramanir/webird
/setup/distro/ubuntu1404/20-php-pecl.sh
UTF-8
630
3.28125
3
[]
no_license
#!/usr/bin/env bash # Environment variables SCRIPTDIR and TEMPDIR are available . $SCRIPTDIR/functions/php.sh echo -e "\n\n" echo -e "${SC2}" echo "---------------------------------------------------|" echo "Install pecl from $SCRIPTDIR/lists/pecl" echo "---------------------------------------------------|" echo "pa...
true
ad02d41abc6f06df83448f1a84736061d84d2967
Shell
salilbhadauria/scorpious
/ansible/roles/captain/files/dcos_services/elasticsearch/scripts/build-index-jobs-dev.sh
UTF-8
264
2.640625
3
[]
no_license
#!/bin/sh DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export OVERWRITE_INDEX="${1:-false}" export es_host=localhost export es_port=9200 export es_index=cortex_jobs_dev export mapping_path=../mappings/cortex-jobs-dev.json source "$DIR/build-index.sh"
true
d96f17801ed18aab3b419c92f48b23ba74997b94
Shell
chanibravo/hcasmc_eqtl
/atacseq/rasqual/make_input.sh
UTF-8
1,565
2.625
3
[]
no_license
Rscript atacseq/rasqual/gtf.R out_dir=../processed_data/atacseq/rasqual/ mkdir -p $out_dir/input $out_dir/expression/ # Prepare input: parallel -j10 grep chr{} \ ../processed_data/atacseq/rasqual/merged_peak.gtf "|" \ python rasqual/make_input.py \ ../data/joint3/asvcf_sid_atac/phased_and_imputed.chr{}.rename.dr2.h...
true
a785ae27d808c9eacb8e0fd3f72aaa1fe3dc2c07
Shell
amoebaliz/CCS_scripts
/post_processing/make_ROMS_month_avg
UTF-8
2,393
3.203125
3
[]
no_license
#!/bin/bash FYEAR=3 LYEAR=12 # Cheyenne in_dir=/glade/scratch/edrenkar/tmpdir_CCS-LD.HCo03Y/outputs #out_dir=/glade/work/edrenkar/MODELS/CCS/RUNS/CCS-LD.FCo017 out_dir=/glade/work/edrenkar/MODELS/CCS/RUNS/CCS-LD.HCo03Y/monthly_means # Abalone - his #in_dir=/Volumes/Abalone/CCS/his3 #out_dir=/Volumes/Abalone/CCS/his3...
true
ce973dd172e8311b0d297af23bb21791f55d8f71
Shell
jumptrading/influx-spout
/runtests
UTF-8
1,895
4.21875
4
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
#!/bin/bash help() { cat - <<EOF Run a set of relay tests. usage: runtests [options] [<small|medium|large> ...] At least one test size class must be provided. Options: -b Run benchmarks as well as tests -c Produce coverage profile files for each package -v Generate verbose test output -r Dete...
true