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
bf8cc88e11af4adba725fbc342f8c0be74f44fe7
Shell
tpozzi/gc.script
/lab-2/getanimal.sh
UTF-8
310
3.5625
4
[]
no_license
#!/bin/bash # colours=("red" "green" "blue") declare -A animals animals=([red]="cardinal" [green]="frog" [blue]="lobster") read -p "Gibve an number from 1 to ${#colours[@]}: " num num=$((num - 1)) colour=${colours[$num]} animal=${animals[$colour]} num=$((num + 1)) echo "Index $num finds a $colour $animal"
true
6c6b7059b6b33cd0974fac414a1b54117b3838c3
Shell
necmettinolcay/bash-script
/fetch_and_deploy.sh
UTF-8
751
3.65625
4
[]
no_license
#!/bin/bash GIT_REPO="git@l.example.com.tr:redmine_plugins" REDMINE_ROOT='/opt/redmine' PLUGIN_DIR="${REDMINE_ROOT}/plugins" PLUGIN=$1 source $HOME/.bashrc if [ "$(id -u )" != "$(id -u redmine)" ]; then echo "script will only work with redmine user " 1>&2 exit fi function clonePlugin { if [[ ! -d "$PLUGIN...
true
5c8d73a328ba87639a79c2b22773f7f1d37786db
Shell
AntoineZen/SeS
/lab2/3_partition_sd_install.sh
UTF-8
2,375
3.140625
3
[]
no_license
#!/bin/bash TARGET_VOLUME=sdb IMAGEDIR="/home/antoine/workspace/xu3/buildroot/output/images" echo "Target volume is ${TARGET_VOLUME}" echo "Image dir is ${IMAGEDIR}" if [ -e "/dev/${TARGET_VOLUME}1" ] then umount /dev/${TARGET_VOLUME}1 fi if [ -e "/dev/${TARGET_VOLUME}2" ] then umount /dev/${TARGET_VOLUME}2 fi if ...
true
64e49bd5f44905683933f49164c0ed29221b9910
Shell
muyunren/AlphaGOZero-python-tensorflow
/support/go-NN-master/data/divide_set.sh
UTF-8
733
3.96875
4
[ "MIT" ]
permissive
#!/bin/bash if [ "$#" -ne 1 ] ; then echo "Must specify a directory." exit fi dir=$1 cd "$dir" echo "Going to divide $dir into training, validation, and test sets." tmp_list=/tmp/npz_list.txt ls | grep '.npz' | shuf > "$tmp_list" num_mb=$(wc -l < "$tmp_list") num_val=$(($num_mb / 10)) num_test=$(($num_mb / 10...
true
726d122f2cc4141a98a68cfaf5a8b90b0098c5a6
Shell
0xAsh/Snap_Generator
/snap_generator.sh
UTF-8
526
3.546875
4
[]
no_license
#!/bin/bash RED='\033[0;31m' NC='\033[0m' # No Color curdir=$(pwd) ## Variable setting echo "Enter payload: " read COMMAND echo -e "Payload is set to: $COMMAND \n" echo "Enter payload name: " read payload echo -e "\n" echo -e "${RED}...Generating Payload...${NC}\n" ## Payload generation cd $(mktemp -d) mkdir -p meta...
true
39f01940bd87f68efde4489d419167d634d59cfb
Shell
jimpick/nixos-upstream-svn-nixpkgs
/pkgs/misc/sane-backends/builder.sh
UTF-8
230
2.671875
3
[ "MIT" ]
permissive
source $stdenv/setup postInstall() { if test "$udevSupport" = "1" ; then ensureDir $out/etc/udev/rules.d/ cp tools/udev/libsane.rules $out/etc/udev/rules.d/60-libsane.rules fi } postInstall=postInstall genericBuild
true
b917d21adec357b9f1dc50cb1ef1e15358da5345
Shell
neurosys/Scripts
/ffsplit.sh
UTF-8
775
3.53125
4
[]
no_license
#!/usr/bin/env bash #ffmpeg -i 2021-06-19-Masina_in_flacari_VICO5939.MP4 -acodec copy -vcodec copy -ss 02:10 -t 00:00:20 flacari_out.mp4 # -to "$end" # -t "$length" function help() { echo -e "Usage:\n" echo -e "\t$(basename $0) <input file> <start moment> <end moment> <output file>\n\n" echo -e "Format:" ...
true
f71c97a85742e30580b462dde5d09826aa664515
Shell
bioconda/bioconda-recipes
/recipes/perl-xml-libxslt/build.sh
UTF-8
695
3.546875
4
[ "MIT" ]
permissive
#!/bin/bash if [ `uname -s` == "Darwin" ]; then # Needed because, despite the message, "LIBS=" alone does not seem to # enough information for the build system to find libxslt. export DYLD_FALLBACK_LIBRARY_PATH="${PREFIX}/lib" fi # If it has Build.PL use that, otherwise use Makefile.PL if [ -f Build.PL ];...
true
2da71474615e3b5dcf0580865dd5f0ba9b53e8bf
Shell
abstractdog/yetus
/precommit/src/main/shell/test-patch.d/checkmake.sh
UTF-8
4,644
3.390625
3
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT", "OFL-1.1", "Python-2.0" ]
permissive
#!/usr/bin/env bash # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License...
true
90f7acf83435cae6d43117821322e099994255d9
Shell
yogeshVU/Interference-Aware-Cluster-Management
/shell-scripts/for_loop.sh
UTF-8
1,398
2.53125
3
[]
no_license
#!/bin/bash cd /home/spec2006 loadarray=( bzip2 bwaves mcf milc leslie3d namd gobmk lbm libquantum sjeng ) for i in ${loadarray[@]}; do for j in ${loadarray[@]}; do load1=$i load2=$j if [ "$load1" = "$load2" ] then numactl --cpubind=1 --membind=1 runspec --config=mytest.cfg --size=ref --noreportabl...
true
88bf893167030f09a5db0abc5e364120c06102b1
Shell
oktbabs/fmw_repo
/InstantiationScripts/makeOCFSdisk_OBIE_specific.sh
UTF-8
8,469
3.71875
4
[]
no_license
#++++++++++++++++++++++++++++++++++++++++++++++ # Script Name : makeOCFS2DiskOnline.sh + # Written By : Timmy Babayeju + # From Company : Fujitsu + # To Company : FSA + #++++++++++++++++++++++++++++++++++++++++++++++ # DESCRIPTION ...
true
99036f39a2f88309cee087e3f7e2600f057b7493
Shell
japersik/itmo_linux_unix_systems_labs
/lab16/Lab16-1
UTF-8
270
3.28125
3
[]
no_license
#!/bin/bash LST=`ifconfig |grep -vE "^ *.*$"|grep -vE "^ *$"|awk -F : '{ print $1 }'` for i in $LST; do L=`ifconfig | sed -ne "/$i:.*/{n;p;}"` if echo $L | grep "inet " >/dev/null; then echo -en "$i:\t" echo $L| awk '{ print $1,$2 }' fi done
true
55097acdb6d43b699bfe8124fd49ae2f7a8ba70b
Shell
philippe-vandermoere/skeleton
/skeleton/.githooks/pre-push
UTF-8
728
3.765625
4
[ "MIT" ]
permissive
#!/usr/bin/env sh # This hook is called by git-push and can be used to prevent a push from taking place. # This hook is called with the following parameters: # $1 -- Name of the remote to which the push is being done # $2 -- URL to which the push is being done set -e readonly REMOTE_NAME=$1 readonly REMOTE_URL=$2 r...
true
a0ab2ea95c76112456d2e81d86ba5ddc31f6eb49
Shell
cloudfoundry-incubator/kubo-release
/jobs/flanneld/templates/bin/flanneld_ctl.erb
UTF-8
2,979
3.609375
4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash -ex NAME="${0##*/}" export PATH=/var/vcap/packages/flanneld/:$PATH <%- def get_url(server, port) if link('etcd').p('etcd.dns_suffix', false) != false node_name = "#{server.name.gsub('_','-')}-#{server.index}" return "https://#{node_name}.#{link('etcd').p('etcd.dns_suffix')}:#{port}" ...
true
19184509a1c5cbea87888223c355b0b51b9170b3
Shell
Contarkos/fancontrol
/tools/boot/rootfs/usr/bin/start_app.sh
UTF-8
3,753
3.703125
4
[ "MIT" ]
permissive
#!/bin/sh # Script de démarrage de l'appli ########################### # Variables # ########################### LOCAL_BIN=sw_local.bin LOCAL_DIR=/boot/fancontrol NFS_DIR=/mnt/nfs NFS_CONF=nfs_conf MOD_DIR=/lib/modules/$(uname -r)/kernel/fancontrol MOD_ADC_DIR=${LOCAL_DIR} MOD_TIME_DIR=${LOCAL_DIR} MOD_...
true
3c1f3d0a0f857cf68928bafa83ab2da15c94f453
Shell
rytmt/dotfiles
/wsl2/ubuntu/bin/re-filter.sh
UTF-8
2,454
4.40625
4
[]
no_license
#!/bin/sh # 第一引数: .mailfilter ファイルのパス # 第二引数: 再フィルタリングメールボックスのパス arg_err='' arg_chk=0 # スクリプト引数の個数チェック if [ $# -ne 2 ]; then arg_err="${arg_err}引数の個数が正しくありません\n" arg_chk=$((arg_chk+1)) else # 引数の個数チェックに成功した場合は形式チェックする if [ ! -f "$1" ]; then arg_err="${arg_err}$1 という名前のファイルは存在しません\n" arg_c...
true
e696d07484665dd54076d730e899cb7382a5a717
Shell
AaronFeledy/drupal-scripts
/common/functions.sh
UTF-8
567
4.21875
4
[]
no_license
#!/bin/bash ## Common Functions ## ## This script contains common functions for use within other scripts. There's ## no need to source this file as it is sourced by init.sh. ## ------------------------------------------------------------ # Sources a file if it exists. # Usage: `source_if_exists /path/to/file` source...
true
04df3d454490792c53c4d48fe0607a9d77408d46
Shell
cegamboav/OVM_Scripting
/Lun_used_by_vm_mhas_in_server.sh
UTF-8
2,014
3.703125
4
[]
no_license
#!/bin/bash #Script to identify if a LUN is used by any running VM in MHAS environment. prt_hd=0 print_head(){ if [ $prt_hd -eq 0 ] then echo "|---------------------------------------|---------------|" echo "|VM Name: $1" echo "| IBM LUN ID | Status |" echo "|----------------------------------...
true
8357dd27cef50708a4b492ca209bc33c16ef81ad
Shell
habitat-sh/builder
/.expeditor/scripts/verify/terraform_validate.sh
UTF-8
1,095
4.09375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -euo pipefail # In the absence of a real Terraform parser, we can use a bit of awk # to extract the required version from a file. # # Given a file with contents like this: # # terraform { # required_version = "0.12.13" # } # # we would extract `0.12.13` (without quotes!). terraform_version() {...
true
43a804e3523258e3c53604c106d7feae56606413
Shell
Blanktopia/BlanktopiaResourcePack
/pack.sh
UTF-8
388
2.640625
3
[]
no_license
#!/bin/bash shopt -s globstar # Minify for i in **/*.json; do jq -c . ${i} | sponge ${i} done zip dist/Blanktopia.zip -r assets pack.mcmeta pack.png mv dist/Blanktopia.zip dist/Blanktopia-$(shasum dist/Blanktopia.zip | cut -d' ' -f1).zip rsync -iavzhP dist/ weiwen@ssh.piggyp.ink:/opt/nomad/volumes/files/ --rsync-pa...
true
a7e853637731aa441a50f1b42fabc6a00fdb230a
Shell
ghj114/OPSK-FOLSOM-Quantum-InstScript
/upload-img/glance-upload-ubuntu-raw.sh
UTF-8
1,401
3.140625
3
[]
no_license
#!/bin/bash # Import Settings . settings #if [ ! -f "vmlinuz-2.6.18-238.el5" ] ; then # echo "can not find vmlinuz-2.6.18-238.el5!" # exit -1 #fi # #if [ ! -f "initrd-2.6.18-238.el5.img" ] ; then # echo "can not find initrd-2.6.18-238.el5.img!" # exit -1 #fi #if [ ! -f "centos5.6.final.img" ] ; then # echo "can not ...
true
9cf84c7c60d908578668de37df3245420549155f
Shell
jsylvia92/bigdogpitbull
/bigdogpitbull.sh
UTF-8
14,554
4.25
4
[]
no_license
#!/bin/bash RE='^[0-9]+$' # regex for user input error checking # files for settings storage CONFIGDIR=~/.bigdogpitbull CONFIG=~/.bigdogpitbull/config if [ ! -d "$CONFIGDIR" ]; then mkdir $CONFIGDIR echo -e "\e[1mCreated config directory\e[0m ~/.bigdogpitbull/" fi # separate checks in case the directory exists...
true
da7ad24b2ef8d4e60caf495b25ca1db7738e0755
Shell
krebscode/confmagic
/lib/punani
UTF-8
3,183
3.59375
4
[]
no_license
#!/bin/sh #include core ## begin punani DB _punanidb_pacman_= _punanidb_yum_= _punanidb_aptget_= _punanidb_pacman_git=git _punanidb_yum_git=git _punanidb_aptget_git=git-core _punanidb_pacman_python2=python2 _punanidb_yum_python2=python _punanidb_aptget_python2=python _punanidb_pacman_python3=python _punanidb_aptget...
true
f36d362610e84b341bd6f4a3cc813197f46f47f4
Shell
freelancer9977/lab_3
/lab_sctipt.sh
UTF-8
437
2.96875
3
[]
no_license
#!/bin/bash # Authors : Matthew Spallas # Date: 4/18/2019 #Problem 1 Code: echo "Enter file name: " read fname echo "Enter a regex: " read regex egrep $regex $fname #Make sure to document how you are solving each problem! #egrep -c '[0-9]{3}-[0-9]{3}-[0-9]{4}' 'regex_practice.txt' # egrep -c '.*@.*' 'regex_practice.t...
true
7b84b46c7a385e2689ee7e773b69d0350f317bce
Shell
rk9109/dotfiles
/scripts/float
UTF-8
302
2.921875
3
[]
no_license
#!/usr/bin/env bash # # toggle float # focused=$(xprop -root _NET_ACTIVE_WINDOW | awk -F' ' '{print $NF}') if xprop -id "${focused}" I3_FLOATING_WINDOW | grep -q "not found"; then i3-msg "floating enable, border normal" >> /dev/null else i3-msg "floating disable, border none" >> /dev/null fi
true
7bbfb2624182a2aa60d17e9f47a64f5ac6390c17
Shell
amandascm/pdf-csv-conversor
/src/scripts/script.sh
UTF-8
393
3.296875
3
[]
no_license
#!/bin/bash #install virtualenv (python) python3 -m pip install --user virtualenv #check if virtual environment has already been created DIR=".venv" if [ ! -d "$DIR" ]; then python3 -m venv .venv source .venv/bin/activate python -m pip install -r requirements.txt deactivate fi #activate virtual enviro...
true
ed7601010341c15e3d155b38474286fa4949e981
Shell
barthouse/linuxfromscratch
/scripts/install/install-vim.sh
UTF-8
927
2.890625
3
[]
no_license
PKGNAME=vim PKGVER=7.4 TAREXT=bz2 DIR="`dirname \"$0\"`" source $DIR/dosetup.sh SRCDIR=vim74 source $DIR/dotar.sh echo 'CONFIG' echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h ./configure --prefix=/usr \ 1> $CONFIGLOG 2> $CONFIGERR echo 'MAKE' make \ 1> $MAKELOG 2> $MAKEERR echo 'MAKE TEST...
true
43be4b18d30c13012bccf154dd6b8d9b63169fc3
Shell
danebou/decomp-permuter
/diff.sh
UTF-8
304
3.421875
3
[]
no_license
#!/bin/bash if [ $# != 2 ]; then echo "Usage: $0 orig.o new.o" exit 1 fi if [ ! -f $1 -o ! -f $2 ]; then echo Source files not readable exit 1 fi TRANSFORM="python3 simplify_objdump.py" OBJDUMP="mips-linux-gnu-objdump -drz" wdiff -n <($OBJDUMP $1 | $TRANSFORM) <($OBJDUMP $2 | $TRANSFORM) || true
true
51be85acb32d279f7eea8e41a628cece0a284592
Shell
Goldenfreddy0703/configs-scripts
/scripts/hue
UTF-8
285
2.9375
3
[ "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/sh # shellcheck disable=SC2029 # Make Marina do all the heavy lifting for hue-cli work. set -eu if [ "$(hostname)" = "Marina" ]; then if [ "$1" = "adm" ]; then shift /usr/bin/hueadm "$@" else /usr/bin/hue "$@" fi else ssh marina /home/tiz/xdg/sync/scripts/hue "$@" fi
true
e9a4104deed2f81a44b0913c25c370988a749387
Shell
Ozziedood/Linuxclass
/midterm.sh
UTF-8
2,767
2.546875
3
[]
no_license
touch "Osvaldo Perez" mkdir -p /var/public/sales/data mkdir -p /var/public/sales/projects mkdir -p /var/public/techs/data mkdir -p /var/public/techs/projects mkdir -p /var/public/devops/data mkdir -p /var/public/devops/projects groupadd sales groupadd techs groupadd devops groupadd looneytunes chmod -R 770 /var/publ...
true
13c5bb25471fa34226edcacea5bf954d77b13715
Shell
mjw75077/scripts
/snap_backup.ksh
UTF-8
2,327
3.34375
3
[]
no_license
#!/bin/ksh # # Name : snap_backup.ksh # # Purpose : Backup Database # # Usage : # # Dependent Files : # # History : Created 06/25/2013 # # Date Name Comments # Matt Wagner created #######################################################...
true
1460ac700a112f36731d42d31206f34eeadc7bcd
Shell
titledk/ttools-sitesync-core
/lib/dump-current-site.sh
UTF-8
3,354
4.15625
4
[ "MIT" ]
permissive
#!/bin/bash # This script dumps the current site # Can be called with the following arguments: # 1. Type: dump/backup - is this a dump for sync, or a backup # 2. Environment - if this is called on a server we might need to add the environment name, as specific paths etc. might # need to be taken into account there - us...
true
7a019403458f3563355b5bd0c35a21d8edde46fc
Shell
sgricci/BrowserQuest
/bin/build.sh
UTF-8
930
3.234375
3
[]
no_license
#!/bin/bash # Script to generate an optimized client build of BrowserQuest TOPLEVELDIR="`dirname $0`/.." BUILDDIR="$TOPLEVELDIR/client-build" PROJECTDIR="$TOPLEVELDIR/client/js" echo "Deleting previous build directory" rm -rf $BUILDDIR echo "Building client with RequireJS" node $TOPLEVELDIR/bin/r.js -o $PROJECTDIR...
true
d32c8925b896f6985d2b1a90a0fc7ca141305d0e
Shell
gitGNU/gnu_www-ja
/tool/merge-for-gnun.sh
UTF-8
1,294
3.640625
4
[]
no_license
#! /bin/bash LANG=C # error: Your local changes to the following files would be overwritten by merge: # error: The following untracked working tree files would be overwritten by merge: STATE=0 LOCAL_FILES="" NEW_FILES="" git merge origin/master -s recursive -X theirs 2>&1 | while read; do if [ $STATE -eq 0 ]; the...
true
07082fd42bf659524ee4471b6b79fe87199610f5
Shell
OTangTang/ld_note
/cheatsheet/ops_doc-master/makefile/cmake/cmake.sh
UTF-8
45,409
3.34375
3
[]
no_license
cmake_minimum_required(VERSION 2.8.4){ https://github.com/yszheda/wiki/wiki/CMake CMake : 编译系统生成器 CPack : 包生成器 CTest : 系统检测驱动器 CDash : dashboard收集器 } ? /usr/bin/cmake -P cmake_install.cmake ? 在Makefile中 ? /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake ? 在Makefile中 /usr/bin/cmake -DCMAKE_INSTALL_DO_...
true
5e82ff45ea34f010ee3e62a6f14ff77fe67f2746
Shell
Tubbz-alt/BrainMap-1
/scripts/doquant.sh
UTF-8
1,075
2.796875
3
[]
no_license
#!/bin/bash # ################ # Creates .cxb file from individual bam + ref_gtf ################ # # Usage # doquant.sh samplename bam_file.bam #Setup QUEUE=serial_requeue #unrestricted #or general OR serial_requeue NUM_THREADS=8 MAX_MEM=2000 RUN_TIME=1000 PROJECT_ROOT="/n/rinn_data1/seq/lgoff/Projects/BrainMap" A...
true
ab6a1f9ddd3552dee895872045b24eda7f5bd70c
Shell
tajtiattila/joyster
/makerelease.sh
UTF-8
887
3.40625
3
[ "MIT" ]
permissive
#!/bin/sh if [ -n "$(git status --porcelain --untracked-files=no)" ]; then echo "WARNING: Changed files present" fi if [ -n "$(git ls-files --others --exclude-standard)" ]; then echo "WARNING: Untracked files present" fi git status --short if [ -z "$(git describe --exact-match HEAD 2>/dev/null)" ]; then echo "WA...
true
6b72b243e87e6bd9bcc0601a27ddaeb122c2e0c3
Shell
bcross/docker-apphost
/apps/guacamole.sh
UTF-8
3,390
3.796875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash if [ $EUID -ne 0 ]; then echo "Run this script with elevated privileges." exit 2 fi #Script directory DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" #Variables GUACAMOLE_DOMAIN=guacamole.example.com CERTBOT_EMAIL=example@example.com DATA_ROOT=/media/data #Run docker, certbot, and nginx i...
true
562d4323e9f3ac3bbabd611152d090cf2235ca17
Shell
lucc/shell
/exif2ctime.sh
UTF-8
159
3.109375
3
[]
no_license
#!/bin/sh for ARG; do DATE=`exiftool -createdate "$ARG" | \ sed -n '/Create Date *: [0-9: ]\{19\}/{s/[^0-9]//g;s/..$/.&/;p;}'` touch -t $DATE "$ARG" done
true
737c17c63d240611b86c84fc20299cd152ef01d2
Shell
TurboLabIt/zzdislocker
/dislocker-compile.sh
UTF-8
834
2.796875
3
[]
no_license
#!/usr/bin/env bash source "/usr/local/turbolab.it/bash-fx/bash-fx.sh" fxHeader "🚀 Compile Dislocker" rootCheck ### Universe is required to get some pre-requisites add-apt-repository universe apt update ### Pre-requisites ## https://github.com/Aorimn/dislocker/blob/master/INSTALL.md#requirements apt install gcc cma...
true
d997d3a5236126d91b8a196263e0f7e65f684c29
Shell
TSoftTest/repo
/APP3C_JAR/batchs/compileJAR.sh
UTF-8
556
2.9375
3
[]
no_license
HOME=. JAVA_SRC_HOME=$HOME/src CLASSES_DIR=$HOME/classes DIST_DIR=$HOME/dist clear if [ -d "$CLASSES_DIR" ]; then rm -rf "$CLASSES_DIR/*" else mkdir $CLASSES_DIR fi if [ -d "$DIST_DIR" ]; then rm -rf "$DIST_DIR/*" else mkdir $DIST_DIR fi echo Compiling: MessagePrinter.java javac -source 1.8 -target 1.8 -...
true
f04e9928f3aed625e044d5abb52c8bdb36d8ca21
Shell
molgenis/NGS_Demultiplexing
/protocols/Demultiplex.sh
UTF-8
10,912
3.1875
3
[]
no_license
#MOLGENIS walltime=12:00:00 nodes=1 ppn=2 mem=5gb #string ngsDir #string intermediateDir #string seqType #list barcode #string runPrefix #string compressedDemultiplexedDiscardedFastqFilenameSR #string compressedDemultiplexedDiscardedFastqFilenamePE1 #string compressedDemultiplexedDiscardedFastqFilenamePE2 #list demult...
true
f7a2bc9656ff3b0e43295feea6425c8108790128
Shell
bambam2174/homesbin
/waswo
UTF-8
526
3.171875
3
[]
no_license
#!/bin/zsh OUTPUT_LOG=$TMPDIR/which_${1}_paths _waswo () { rm -i -f $TMPDIR/whichpaths ARRPATH=($(list_path)) ARR_CMDS=() for p in $ARRPATH do # ls -GAFlhGa@ $p/${1}* 2> /dev/null | sed -E "s/${REGEX_LISTLONG} //g" 2> /dev/null | sed -E 's/\*//g' 2> /dev/null | tee -a $TMPDIR/whichpaths list "${p}...
true
ceb6a4956b6ec0d211653f8f8a12f7e5bd49b6d0
Shell
lestrade84/icehouse
/Scripts/04-cnode/02-nova_compute.sh
UTF-8
14,223
2.625
3
[]
no_license
#!/bin/bash . support-functions . parameters.cfg # Variables needed to be defined check_vars REGION_NAME DOMAIN PUBLIC_DOMAIN IAAS_PASS OS_CTL_NET INBAND_MGMT_NET VIP_HORIZON VIP_MYSQL VIP_KEYSTONE VIP_GLANCE VIP_CINDER VIP_SWIFT VIP_NEUTRON VIP_NOVA VIP_HEAT VIP_MONGO VIP_CEILOMETER VIP_LDAP REPO_SERVER CON_NODE_1_...
true
3dc62e15d8bbf4571755a473c7717044ee82920d
Shell
teja624/home
/.zsh/modules/aws/lib/sh/api/pinpoint/campaign_create.sh
UTF-8
253
2.640625
3
[ "Apache-2.0" ]
permissive
aws_pinpoint_campaign_create() { local application_id="$1" local write_campaign_request="$2" shift 2 cond_log_and_run aws pinpoint create-campaign --application-id $application_id --write-campaign-request $write_campaign_request "$@" }
true
63d7f8ad7efba4f2870699b25d31be72c6a3bcd1
Shell
enzote84/nagios-plugins
/check_ping2.sh
UTF-8
2,594
3.859375
4
[ "Apache-2.0" ]
permissive
#!/bin/sh # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Check Ping2 Plugin # # Version: 1.0 # Author: DEMR # Support: emedina@enersa.com.ar # # Example usage: # # ./check_ping2.sh -H1 IP1 -H2 IP2 # # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # -...
true
dc72c0cd45d4152c64e7e274b83254d468eec513
Shell
wp-pro-club/init
/wpi.sh
UTF-8
1,785
3.109375
3
[]
no_license
#!/bin/bash # Init - Wp Pro Club # by DimaMinka (https://dimaminka.com) # https://github.com/wp-pro-club/init source ${PWD}/lib/app-init.sh if [[ "$1" ]] then # Run the update script bash ${PWD}/lib/update.sh $1 else # Run the before_install after setup checking if [ "$conf_app_setup_shell" == "true" ]; ...
true
e0eaef0fad38323f9edca7a4af79a83a5c4b6531
Shell
pombredanne/sync-oai
/docs/resync-client/test.sh
UTF-8
1,573
3.015625
3
[]
no_license
#!/bin/bash echo "### Will run tests on local machine with files in /tmp" rm -rf /tmp/rs_test mkdir /tmp/rs_test mkdir /tmp/rs_test/src echo "I am file_a" > /tmp/rs_test/src/file_a echo "I am file_b, bigger than file_a" > /tmp/rs_test/src/file_b mkdir /tmp/rs_test/dst echo "### Make sitemap for this local collection" ...
true
7db9914ec5d0e060466ed07cbb2cc661e61e3e47
Shell
sgothel/jogamp-scripting
/maven/projects/jocl-main/pom.sh
UTF-8
1,665
3.296875
3
[]
no_license
#!/bin/sh if [ $# -lt 2 ] then echo "usage: version projects+" 1>&2 exit 1 fi VERSION="$1" shift PLATFORMS=$@ cat <<EOF <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.or...
true
a2ed6c11e5aa056b8209a8fdb89a874eec6c9e2b
Shell
icsy7867/PocketVPN
/website/install.sh
UTF-8
2,022
3.515625
4
[]
no_license
#!/bin/bash apt-get install nano openvpn apache2 php libapache2-mod-php sudo -y #me="$(whoami)" #usermod -aG sudo $me echo "Setting up .htaccess files..." mkdir /httpaccess touch /httpaccess/.htpasswd chown www-data:root /httpaccess/.htpasswd chmod 770 /httpaccess/.htpasswd #echo "If you want to include htaccess, f...
true
b23ba2ca701a624dc5cd273c65e6ba4aeeb6f3e4
Shell
garyo/yalc-test
/RUNME.sh
UTF-8
2,231
3.71875
4
[]
no_license
#! /bin/bash # Run like this: # git clean -fdx && bash RUNME.sh # OR: # git clean -fdx && RUN_YARN=1 USE_PURE=1 bash RUNME.sh # Adding "RUN_YARN=1" makes it run a "yarn install" after doing the # yalc setup. Adding USE_PURE=1 or USE_LINK=1 or USE_ADDLINK=1 makes # yalc use "add --pure", "link", or "add --link" resp...
true
548a5fafbeb9dc97c6323c723c15332d0916584a
Shell
starlingx/root
/build-tools/branching/push_tags.sh
UTF-8
9,779
3.8125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Copyright (c) 2020-2022 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # # # A tool to push the tags, and optional manifest created by # create_tags.sh to the upstream source. # # Arguemens should match those passed to create_tags.sh # with the exception of '--lockdown'. # PUSH_TAGS...
true
cc317bed791b94081bc04487a257ccf93124dc81
Shell
sid0sid/docker-idol
/docker-entrypoint.sh
UTF-8
2,781
3.203125
3
[]
no_license
#!/bin/bash set -e function smc_service_start() { echo "Starting Connectors..." nohup smc_service -a=start > /dev/null 2> /dev/null & } function smc_service_stop() { echo "Stopping Connectors..." sudo smc_service -a=stop } # IDOL should be shut down properly function shut_down() { echo "Shutting Down ..." smc_...
true
1cd910e848e245cab136aac8ebd2467f06bdd6be
Shell
irontec/rtpproxy
/tests/rtp_analyze1
UTF-8
492
3.171875
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh # checksum tests to verify that rtp_analyze routines work correctly . $(dirname $0)/functions SNAMES="sess6 c1 weird dups lost srtp1" for sname in ${SNAMES} do wfile="rtp_analyze_${sname}.wav" ${EXTRACTAUDIO} -s rtp_analyze/${sname} "${wfile}" > rtp_analyze_${sname}.tout 2>rtp_analyze_${sname}.tlog ...
true
03fd6a5e3f174043e0dfd565012917c2db426722
Shell
Slifer64/DMP_KF
/c++/install/install_armadillo.sh
UTF-8
1,809
3.796875
4
[]
no_license
#!/bin/bash # ================================== # define some colors for output # ================================== COLOR_RED="\033[1;31m" COLOR_GREEN="\033[1;32m" COLOR_YELLOW="\033[1;33m" COLOR_BLUE="\033[1;34m" COLOR_CYAN="\033[1;36m" COLOR_WHITE="\033[1;37m" COLOR_RESET="\033[0m" cd $INSTALL_SCRIPTS_DIR/deps e...
true
2c0432a55f7d5fc98b6c8797d58f2d88dab7a6ef
Shell
kyet/ble_dimmer
/rpi/ble_dimmer.sh
UTF-8
1,044
2.71875
3
[ "Unlicense" ]
permissive
#!/bin/bash DEV_ADDR="00:15:83:00:73:9C" PORT=$1 ACTION=$2 if [ "$PORT" == "0" ]; then # all if [ "$ACTION" == "1" ]; then # [y = 1/128x^2] for 5 sec cmd="07020f3201018001010402018001010100" else # [y = -x + 127] for 5 sec cmd="05020f32010601ff017f020501ff017f00" fi elif [ "$PORT" == "1" ]; then if [ "$AC...
true
0f86d383330882e58e971f3171d0318a4502a40a
Shell
siers/dotfiles
/conf/zsh/.config/zsh/env
UTF-8
2,664
3.015625
3
[]
no_license
#!/usr/bin/env zsh export MANPAGER='nvim +Man!' # export PAGER='nvim -R -' export EDITOR=vim # export TERM=alacritty # export TERM=rxvt-unicode-256color # wtf? :D if tty | grep -qE '^/dev/tty[0-9]+$'; then TMOUT=$(( 60 * 20 )) echo "setting \$TMOUT=$TMOUT because of a tty login" fi if [ -z "$ZSH_PATH_INIT" ]...
true
d01190d2b6776a59baf8e6e7cccc8f54e9ee39bb
Shell
Azure/batch-shipyard
/recipes/OpenFOAM-TCP-OpenMPI/docker/set_up_sample.sh
UTF-8
1,590
3.1875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e set -o pipefail # get mpi ref and set up openfoam env OPENFOAM_DIR=/opt/OpenFOAM/OpenFOAM-4.0 source /etc/profile.d/modules.sh module add mpi/openmpi-x86_64 source $OPENFOAM_DIR/etc/bashrc # copy sample into auto scratch shared area AUTO_SCRATCH_DIR=$AZ_BATCH_TASK_DIR/auto_scratch cd $AUTO...
true
efce3344568fa9fe0fe3a8ad2ea0b8bbc2d2d168
Shell
mvrozanti/mint.files
/usr-local-bin/switch_to_urxvt
UTF-8
203
2.53125
3
[]
no_license
#!/bin/bash if [[ $(wmctrl -l|grep tmux|grep -c -v Waterfox) -gt 0 ]]; then wmctrl -i -a "$(wmctrl -l|grep tmux|grep -v Waterfox|cut -d' ' -f1)" else urxvt -geometry 100x50+1000+100 -e 'tmux' fi
true
5bf09870634dae19b60f7a03a04c41f46fe7d74a
Shell
mirek190/x86-android-5.0
/ndk/tests/abcc/build-abcc.sh
UTF-8
5,858
3.65625
4
[]
no_license
#!/bin/sh # # Copyright (C) 2013 The Android Open Source Project # # 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 app...
true
389de7b504053a95c7a89881a068f3094285522a
Shell
jhunkeler/spm_packages
/python/build.sh
UTF-8
2,529
3.375
3
[]
no_license
#!/bin/bash -x name=python version=3.8.2 _basever=${version%.*} revision=0 sources=( "https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz" ) build_depends=( "grep" "sed" "pkgconf" "xz" ) depends=( "bzip2" "gdbm" "gzip" "libexpat" "libffi" "ncurses" "open...
true
05d0d598cd936de50b84cf8e1e5af202016ed2a1
Shell
nunet-io/ai-dsl
/ontology/tools/sumo_install_system.sh
UTF-8
1,653
2.78125
3
[ "MIT" ]
permissive
#!/bin/bash # comment out the following lines to turn off line-by-line mode set -x trap read debug # install everything on sumo directory under home cd ~ mkdir sumo cd sumo mkdir workspace mkdir Programs cd Programs wget 'https://archive.apache.org/dist/tomcat/tomcat-8/v8.5.23/bin/apache-tomcat-8.5.23.zip' wget 'http...
true
b3b87a8f563ce5178f5ba1a35d4c72af4d41f934
Shell
uhulinux/ub-ubk4
/qt5/install
UTF-8
1,257
2.875
3
[]
no_license
#!/bin/sh -eux cd $UB_OBJECTDIR make INSTALL_ROOT="$UB_INSTALLDIR" install # Drop QMAKE_PRL_BUILD_DIR because reference the build dir find "$UB_INSTALLDIR/usr/lib" -type f -name '*.prl' \ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; # a desktop fájlok kedvéért szimlinkelünk az /usr/bin-be ln -s ../lib/qt5/bin/...
true
ab179a56555f3c4b7b4193149dedba81e997a530
Shell
glimonta/home
/setup_env.sh
UTF-8
11,117
2.84375
3
[]
no_license
#!/bin/bash sudo apt install vim git tmux zsh curl git config --global user.name "Gabriela Limonta" git config --global user.email "glimonta@gmail.com" git config --global core.editor vim sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" curl https://raw.githubuse...
true
f4ec97a6fff699975722e24231958377e154e706
Shell
ColtMagri/CSI230
/color.sh
UTF-8
619
4.1875
4
[]
no_license
#!/bin/bash #Simple program demonstrating the use of case statements red='\033[0;31m' green='\033[0;32m' yellow='\033[0;33m' blue='\033[0;34m' magenta='\033[0;35m' default='\033[0m' read -p "What is your favorite color (red, green, blue, yellow or magenta)? " REPLY REPLY=${REPLY^^} case "$REPLY" in RED) selected_c...
true
e29fc91979724f195438b90f96adbad566cd4511
Shell
n0rmanc/fluentd-elasticsearch-container
/scripts/setup_plugins.sh
UTF-8
1,447
3.34375
3
[]
no_license
#!/bin/bash if [ -f /.plugin_setup ]; then echo "Plugins already setup, /.plugin_setup file exists" exit 0 fi echo "Initialized plugin setup" FLUENT_CONF_FILE=/fluentd/etc/fluent.conf DEFAULT_HOST=${ELASTICSEARCH_PORT_9200_TCP_ADDR:-localhost} DEFAULT_PORT=${ELASTICSEARCH_PORT_9200_TCP_PORT:-9200} ES_HOST=${ES_H...
true
a311980df7689f1b8af84c95f97af7d985ce60a1
Shell
jkim10/COMS-4181-Final-Project
/scripts/client_gen_key.sh
UTF-8
288
3.75
4
[]
no_license
#!/bin/bash if [ $# -ne 1 ]; then echo "Usage: ./client_gen_keypair <dest>" exit 1 fi # Only create private key if it does not exist FILE=$1 if test -f "$FILE"; then echo "$FILE exists." else # Create a private key openssl genrsa \ -out $1 2048 fi chmod 400 $1
true
13e3567e53112cbc542b1ba8039a2535e36cb34d
Shell
mouri11/OS_bash_clg
/bashscripts/clg/curdir.sh
UTF-8
201
3.140625
3
[]
no_license
#!/bin/bash #A shell script to read a directory name from the terminal and will display #only the name and permission of the files clear read -p "Enter a valid directory name: " direc ls -f -l $direc
true
f17ddbad365e6d3e4cbda365036044eec9f1cc12
Shell
petronny/aur3-mirror
/tintwizard-svn/PKGBUILD
UTF-8
1,158
2.703125
3
[]
no_license
# Maintainer: Ray Griffin <rorgoroth@googlemail.com> # Contributor: zajca <zajcaa@gmail.com> pkgname=tintwizard-svn pkgver=209 pkgrel=2 pkgdesc="This project aims to provide an easy way to change the appearance of tint2. Through an easy-to-use graphical user interface, you can generate configs and apply to them tint2....
true
5165a9af12219d0a19d6460d60fa01f4624cd1ca
Shell
Ahmad-Magdy-Osman/SoftwareDevTools
/Bash Scripting/1.sh
UTF-8
154
2.8125
3
[]
no_license
#!/bin/bash #Write a shell script that takes any command as a parameter and displays help on that command (e.g. the result of execution of man ). man $1
true
4300159b6d5a7a0e2dbe4cf5897b8c8addb98979
Shell
FatmaKhaled/cloud_LAb
/mainMenu.sh
UTF-8
667
3.453125
3
[]
no_license
#!/usr/bin/bash PS3="Select Choice please: " . ./mainFunctions.sh if [ ! -d $HOME/dataBase ] then mkdir $HOME/dataBase fi function main { sleep .5 clear select choice in "creat DB" "open DB" "Delete DB" "man page" "exit" do case $REPLY in 1) clear sleep .5 . ./createDB.sh main break ;; 2)c...
true
c49e0db39a5de91cd8761e2c48550bd817f93942
Shell
youran1024/mnp_auto_test
/CTSRunner/SHELL/git_handle.sh
UTF-8
2,401
3.859375
4
[]
no_license
#!/usr/bin/env bash : ' @File : git_pull.sh @Author : YouRan @Contact: YouRan@baidou.com @Date : 2019-12-05 @Desc : 初始化仓库和更新仓库 ' ROOT_PATH=$1 UPDATE_SIGN=$2 ICODE_NAME=$3 CTS_PACKAGE="package.json" SMART_PACKAGE="smartium$CTS_PACKAGE" REPO_PATH="$ROOT_PATH/cts" SMART_PATH="$REPO_PATH/smartium" GIT_BRANCH_UPSTREA...
true
2cb69878ae5736fb2521bc2451eee0362cf4ba90
Shell
indigo-dc/Accounting
/docker/run_on_entry.sh
UTF-8
1,598
2.734375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Replace locally configured variables in apel_rest #SECRET_KEY sed -i "s|not_a_secure_secret|$DJANGO_SECRET_KEY|g" /var/www/html/apel_rest/settings.py #PROVIDERS_URL sed -i "s|provider_url|$PROVIDERS_URL|g" /var/www/html/apel_rest/settings.py # IAM_URL sed -i "s|\['allowed_iams'\]|$IAM_URLS|g" /var/www/...
true
c9bb759f3fa132fdc20a576dcdcb704712bc060e
Shell
Constantor/cybernode
/images/fullnode/btcd/01build.sh
UTF-8
587
2.8125
3
[]
no_license
echo --- detecting defaults --- go version && go env GOROOT GOPATH echo --- get dependency manager --- go get -u github.com/Masterminds/glide echo --- clone btcd sources --- git clone https://github.com/btcsuite/btcd $GOPATH/src/github.com/btcsuite/btcd cd $GOPATH/src/github.com/btcsuite/btcd echo --- fetch depende...
true
da473aa9f18e3f69a72fa99f2780250873f26320
Shell
peter1000/ArchLinux_packages_p
/0__UNMAINTAINED__0/python-jinja-git_p/PKGBUILD
UTF-8
1,236
2.703125
3
[]
no_license
# Maintainer: peter1000 <https://github.com/peter1000> # Contributor: Evangelos Foutras <evangelos@foutrelis.com> # Contributor: Peter Baldwin <bald_pete@hotmail.com> _srcname=jinja2 pkgname=python-jinja-git_p pkgver=2.8.r11.g9b4b20a #commit=9b4b20a OK pkgrel=1 pkgdesc="A simple pythonic template langua...
true
2a0c53f85fd046d452e878ec593b09fd38c2ca76
Shell
epic-hans/maglev_hash
/buildme.sh
UTF-8
987
3.796875
4
[]
no_license
#!/bin/bash # check lib and header file HDRS_IN='/usr' LIBS_IN='/usr' find_dir_of_lib() { local lib=$(find ${LIBS_IN} -name "lib${1}.a" -o -name "lib${1}.$SO" 2>/dev/null | head -n1) if [ ! -z "$lib" ]; then dirname $lib fi } find_dir_of_header() { find -L ${HDRS_IN} -path "*/$1" | head -n1 | ...
true
4596d9bf7049dffe8c2f6fd0a1c2fe4aa2acba1f
Shell
heychick/master
/文档/无标题文档 1
UTF-8
1,936
2.90625
3
[]
no_license
#!/bin/bash conf=/usr/local/nginx/conf/nginx.conf echo '###################第一步安装开始###################################' yum -y install gcc pcre-devel openssl-devel >/dev/null && echo '第一步安装成功' || echo '第一步安装失败' cd /root/lnmp_soft tar -zxf nginx-1.12.2.tar.gz cd nginx-1.12.2 ./configure --with-http_ssl_module --with-str...
true
06cab1b3f661ee3e9a210cd746d7af0b8a770edd
Shell
stellar/go
/services/horizon/internal/scripts/check_release_hash/check.sh
UTF-8
2,442
3.625
4
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
#!/bin/bash set -e apt-get clean apt-get update apt-get install -y stellar-horizon=$PACKAGE_VERSION mkdir released cd released wget https://github.com/stellar/go/releases/download/$TAG/$TAG-darwin-amd64.tar.gz wget https://github.com/stellar/go/releases/download/$TAG/$TAG-linux-amd64.tar.gz wget https://github.com/s...
true
d1fe3931abb52188bb493dc55bc9730c7371abce
Shell
epicsdeb/carchivetools
/debian/channelarchiver-a2aproxy.postrm
UTF-8
535
3.328125
3
[ "LicenseRef-scancode-unknown-license-reference", "EPICS" ]
permissive
#!/bin/sh # set -e # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# case "$1" in purge) if grep -q 'a2aproxy' /etc/passwd; then echo "Removing user a2aproxy" userdel a2aproxy || echo "WARNING: problem removing...
true
bd5088dae73416226762efc580723cc85fd9805f
Shell
xiangyang1991/shell
/datacount/lib/func_count.sh
UTF-8
618
3.875
4
[]
no_license
#!/bin/bash count(){ local filedir=$2 local intermediate_result_dir=$1 if [ ! -d "$intermediate_result_dir" ]; then echo "`date`: $intermediate_result_dir not exist will mkdir $intermediate_result_dir" mkdir -p $intermediate_result_dir fi for source_file in `ls $filedir | grep -v ".ok"` do if [ ! -f "$intermediate...
true
845a083ca13a80013bc23a6dadfc2315f79544c0
Shell
mosdeo/HOG-SVM-python
/docker_run.sh
UTF-8
789
2.59375
3
[ "MIT" ]
permissive
# run training and testing on container on the server. docker stop lky_hog_svm_python && docker rm lky_hog_svm_python WORKDIR="/Users/lky/code_repos/HOG-SVM-python" docker run -p 5001:5001 -it --rm \ --name lky_hog_svm_python \ --mount type=bind,source=$WORKDIR/object-detector,target=/app/object-detector,readon...
true
206504bdb52984ed701cf50652ba03ff351f9783
Shell
Wei-N-Ning/gdbPit
/jump/alterCodePath.sh
UTF-8
1,195
3.5625
4
[]
no_license
#!/usr/bin/env bash # source: # https://stackoverflow.com/questions/4037308/can-i-use-gdb-to-skip-a-line-without-having-to-type-line-numbers # http://man7.org/linux/man-pages/man3/system.3.html # this technique is quite useful in the cases # where I want to bypass some if-statements # (to reproduce a bug or to test a...
true
0a500bb5961365c1934ee1b0fbf10e8b686f077d
Shell
gstackio/gstack-bosh-environment
/deployments/cf/cf-login
UTF-8
1,060
3.359375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash SUBSYS_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) BASE_DIR=$(cd "$SUBSYS_DIR/../.." && pwd) function cf_state_var() { local state_file=$1 local path=$2 bosh int "$BASE_DIR/state/cf/$state_file.yml" --path "$path" } function cf_depl_var() { cf_state_var depl-manifest "$1" } ...
true
f6f00185e691d56b9fa6652e02f9d229d8eace27
Shell
SambaEdu/se3master
/usr/share/se3/scripts/start_poste.sh
UTF-8
3,702
3.359375
3
[]
no_license
#!/bin/bash # SambaEdu # # $Id$ # WWWPATH="/var/www" # recup parametres ldap . /etc/se3/config_l.cache.sh # recup parametres caches : . /etc/se3/config_m.cache.sh . /etc/se3/config_d.cache.sh # calcule l'adresse de broadcast à partir de l'ip GETBROADCAST() { if [ "$dhcp" == "1" ]; then vlan= else ...
true
1344cf4bc3c2fe888ee035061ba46253fb2e2cbd
Shell
matt-blodgett/qtrpi
/scripts/utils/ofmt.sh
UTF-8
3,601
3.75
4
[]
no_license
#!/usr/bin/env bash SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" source "$SCRIPT_DIR"/array.sh declare -A MARKUP_MAP=( ["bold"]="1" ["dim"]="2" ["underlined"]="4" ["blinking"]="5" ["hidden"]="8" ) declare -A FOREGROUND_MAP=( ["default"]="39" ["black"]="3...
true
d52803c038a443bd7a77ecd71502521b9a8d86af
Shell
je3pp/viya4-deployment
/docker-entrypoint.sh
UTF-8
379
3.484375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -e OPTS="-e BASE_DIR=/data" for MOUNT in "/config"/* do base=$(basename $MOUNT) VAR=${base^^} if [[ "$VAR" == "VAULT_PASSWORD_FILE" ]]; then OPTS+=" --vault-password-file $MOUNT" else OPTS+=" -e $VAR=$MOUNT" fi done echo "Running: ansible-playbook $OPTS $@ playbooks/${PLAY...
true
53ee088de92e6ea9b7080aad7e7c78c925384b3e
Shell
MarioAndWario/btools
/ksplit2.sh
UTF-8
2,818
3.84375
4
[]
no_license
#!/bin/bash #This script split the kpts file into bins with required size if [ -f "kpoints_all.dat" ]; then echo "We are using subsampling q0 points" INPUT="kpoints_all.dat" SUBFLAG=1 else if [ -f "out.kgrid" ]; then echo "We are using regular single q0 point" INPUT="out.kgrid" SUBFLAG=0 ...
true
4fb51902ca0b2d1af57be24188c8bcab85b8a94b
Shell
FValent3/linux-tweaks
/purge-packages.sh
UTF-8
1,066
2.796875
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#! /bin/bash # # Remove unnecessary packages and fonts # # MUST BE RUN AS ROOT # if [ `id -u` -ne 0 ]; then echo "Must be run as root" exit 1 fi # 1- Mono for security # 2- Banshee depends on mono -- vlc is good # 2- Thunderbird (desktop email) # 4- Unnecessary fonts apt-get purge -y \ mono-runtime-common cli-co...
true
1838d89d473eb1b6cd7630534fcbf0aeed7adef8
Shell
k636174/dotfiles
/zsh/.zshrc
UTF-8
501
2.609375
3
[]
no_license
stty erase "^?" # Autload autoload -Uz colors colors # HISTORY HISTFILE=~/.zsh_history HISTSIZE=1000000 SAVEHIST=1000000 # Prompt PROMPT="%(?.%{${fg[green]}%}.%{${fg[red]}%})%n${reset_color}@${fg[yellow]}%M${reset_color}(%D %*%) %y %d %# " # Go export GOENV_ROOT=$HOME/.goenv export PATH=$GOENV_ROOT/bin:$PATH eval "...
true
d44b4c11e672252f45b1345ddde6c25570a951e2
Shell
WalterMalone/Brume
/fog/src/buildroot/package/fog/scripts/bin/fog.checkmount
UTF-8
720
3.578125
4
[ "MIT", "GPL-3.0-only", "LicenseRef-scancode-free-unknown" ]
permissive
#!/bin/bash dots "Checking Mounted File System" if [[ ! -f /images/.mntcheck ]]; then count=0 while [[ $blame != '##' ]]; do blame=$(curl -ks --data "mac=$mac&type=$type" http://${web}service/blame.php 2>/dev/null) case $count in [0-8]) let count+=1 us...
true
e3233a406e28772b7fba3602e9809c58a8a09b44
Shell
ShadSBCB/Tutorials
/Umbrella_Sampling/process_umbrellas.sh
UTF-8
967
2.6875
3
[]
no_license
############################################################################### # # # Post processing of trajectories # # This step is almost entirely irrelevant for analysis # # It has been left here as an educational tool # # # # Note that the AT values and the KA...
true
ef3b415e0102f8bffb8c1f478cde21954b1e9194
Shell
josnguyen1/minikube-easy
/scripts/templates/jhipster/delete-pvc.sh
UTF-8
477
2.8125
3
[ "MIT" ]
permissive
#!/bin/bash context=$1 namespace=$2 deployEnv=$3 echo "delete-pvc.sh" echo "context: ${context}" echo "namespace: ${namespace}" echo "deployEnv: ${deployEnv}" kubeContextArg="" if [[ ${context} != "" ]] then kubeContextArg="--context ${context}" fi namespaceArg="" if [[ ${namespace} != "" ]] then namespace...
true
ae7565c326bf5a87587556bd55055f3da21c7ba6
Shell
jaredgalanis/ember-jsonapi-docs
/generate-local.sh
UTF-8
1,581
3.0625
3
[]
no_license
PROJECT=${2:-ember} VERSION=${3:-2.16.0} COMMAND=${1:-json} if [ "$COMMAND" == 'yui' ] then cd ../ember.js echo "🏃 💨 Running ember docs build 🏃 💨" npm run docs echo "🚚 💨 Copying docs output to ember-jsonapi-docs for version $1... 🚚 💨 " rm -rf ../ember-jsonapi-docs/t...
true
153cb8fd5787cfcf51b71e10ca523aa2346259a6
Shell
mgaido/SistemasOperativos2015
/Tp Anterior/Stop.sh
UTF-8
904
3.84375
4
[]
no_license
#!/bin/bash # Comando: Stop # Descripcion: Detener un proceso # Parametros: # $1: Nombre del proceso a detener # Codigos de salida: # 0: Salida exitosa # 1: La cantidad de parametros es distinta a 1 # 2: El proceso no estaba corriendo # Chequeo que la cantidad de parametros sea la correcta if [ $# -ne 1 ]; then echo...
true
178aed7373fcd4ed0540014abdc2add8d5c758b9
Shell
vaterp/dotfiles
/.zshrc
UTF-8
2,681
2.734375
3
[]
no_license
#rhub is my desktop so I might want to set that up differently HST=`/bin/hostname` #History options export HISTSIZE=2000 export SAVEHIST=$HISTSIZE setopt hist_ignore_all_dups setopt hist_ignore_space HISTFILE=~/.history setopt APPEND_HISTORY setopt SHARE_HISTORY setopt HIST_IGNORE_DUPS setopt HIST_VERIFY #Let me put ...
true
ed20260f45cf8774bc2492fc152edf10fe9a6b69
Shell
Bolloxim/git-sha-to-build-number
/shaToBuild.sh
UTF-8
316
3.3125
3
[ "MIT" ]
permissive
#!/bin/sh # convert a git sha# to a linear build number # Author: Andi Smithers, The Walt Disney Company. # Created: Dec 2012 # MIT License : https://github.com/Bolloxim/git-sha-to-build-number/blob/main/LICENSE if [ -z $1 ]; then echo need a sha number exit 1 fi sha=$1 build=`git rev-list --count $1` echo $bui...
true
bb21befe814f8a2a001f58a5afc85f5bbca139ac
Shell
temesgeng7/holberton-system_engineering-devops
/0x0C-web_server/0-transfer_file
UTF-8
512
3.84375
4
[]
no_license
#!/usr/bin/env bash # tranfer file from client to server # Requirment : # The path to the file to be transferred # The IP of the server we want to transfer the file to # The username scp connects with # The path to the SSH private key that scp uses PATH_TO_FILE=$1 IP=$2 USERNAME=$3 PATH_TO_SSH_KEY=$4 if [[ ...
true
6b86362513448c0c7f36146d1cb0a8cfa6e05b21
Shell
axiom-data-science/docker-erddap
/files/setenv.sh
UTF-8
1,298
3.390625
3
[]
no_license
#!/bin/sh if [ -f "${CATALINA_HOME}/bin/config.sh" ]; then set -o allexport source "${CATALINA_HOME}/bin/config.sh" set +o allexport fi ERDDAP_CONFIG=$(env | grep --regexp "^ERDDAP_.*$" | sort) if [ -n "$ERDDAP_CONFIG" ]; then echo -e "ERDDAP configured with:\n$ERDDAP_CONFIG" fi JAVA_MAJOR_VERSION=$(...
true
9b1ae35b2eae79312cf08f33561a96a174b2d7e0
Shell
dick-the-deployer/dick-the-deployer.github.io
/deploy
UTF-8
6,735
3.890625
4
[]
no_license
#!/bin/bash if [ "$1" != "" ] && [ "$1" = "-h" ]; then echo "Dick The Deployer Deploy Script uses the following environment variables:" echo " ACTION: this is the action to use (deploy-web, upgrade-web, remove-web, deploy-workers, upgrade-workers, remove-workers)" echo " VERSION: version of docker images...
true
ce2485b5f71d83da5c387949ede84527f3447d97
Shell
alxreed/dotfiles
/zsh/zshrc
UTF-8
1,637
2.640625
3
[]
no_license
# Encoding stuff for the terminal export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 # Editor export VISUAL="nvim" # Antigen source /usr/share/zsh/share/antigen.zsh antigen use oh-my-zsh antigen bundle git antigen bundle zsh-users/zsh-syntax-highlighting antigen bundle tarruda/zsh-autosuggestions antigen bundle zuxf...
true