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
c25690115945e1af060c91d7a1c4a6515462da28
Shell
cerati/hww2014
/wwBackground/printsumof.sh
UTF-8
1,429
2.890625
3
[]
no_license
#!/bin/bash LUMI=19467 # in pb LATEXTABLE=false for ANA in cutbased; do echo "----------------------------------------------------------------------------------------------" echo $ANA echo "----------------------------------------------------------------------------------------------" echo "| m_H | ...
true
25266ac4955933b8786544f4e67e3b7ed7f2cb72
Shell
monotonemonk/arch_svntogit_community-
/usb_modeswitch/repos/community-i686/PKGBUILD
UTF-8
1,517
2.96875
3
[]
no_license
# $Id$ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=usb_modeswitch pkgver=2.4.0 pkgrel=2 _pkgdata=20160612 pkgdesc="Activating switchable USB devices on Linux." arch=('i686' 'x86_64') url="http://www.draisberghof.de/usb_modeswitch/" license=('GPL') depends=('libusb' 'tcl') makedepends=('gcc' 'make')...
true
fff5d33ac49f10dbd763158c797231527db9f820
Shell
ravibn/ShellScript_BASH
/oddEven.sh
UTF-8
176
3.59375
4
[]
no_license
if [ "$#" -ne 1 ] then echo "Usage: bash oddEven.sh arg1 " exit 1 fi if [[ $(($1 % 2)) -eq 0 ]] then echo "$1 is even"; else echo "$1 is odd"; fi
true
c48e118dbdd4a774f6c2320a1b1ea3583474efd3
Shell
tomchaplin/nmyv
/install.sh
UTF-8
648
3.71875
4
[ "MIT" ]
permissive
#!/bin/bash HOST_NAME="com.tom.nmyv" WORKING_DIR="$( pwd )" TARGET_DIR="$HOME/.config/chromium/NativeMessagingHosts" # Create directory to store native messaging host manifest mkdir -p "$TARGET_DIR" # Copy native messaging host manifest. cp "$WORKING_DIR/host/$HOST_NAME.json" "$TARGET_DIR" # Update host path in the ...
true
ee5c8359ed1da94edd0d2141b29c3ef2af50f519
Shell
JungleComputing/highthroughputmcast
/bin/ccp.sh
UTF-8
3,454
3.5
4
[]
no_license
#!/bin/bash ibis_server_addr=fs0.das3.cs.vu.nl ibis_server_port=55446 source_nodes= source_data= dest_nodes= dest_dir= method=robber res=prun function usage() { echo "usage: $0 [options] source[,source...]:file_or_dir[,file_or_dir...] dest[,dest...]:directory" echo "options:" echo "-method robber" echo " distri...
true
edd29b1a1e954b77d3c3c1cbeee40f14e15952a0
Shell
diego09310/dotfiles
/.setup/install.sh
UTF-8
892
3.734375
4
[]
no_license
#!/bin/bash shopt -s expand_aliases GIT_REPO_URL=git@github.com:diego09310/dotfiles.git BASE_FOLDER=$HOME DOTFILES_FOLDER=.dotfiles DOTFILES_PATH=$BASE_FOLDER/$DOTFILES_FOLDER # For styling bold=$(tput bold) normal=$(tput sgr0) cd $BASE_FOLDER echo "$DOTFILES_FOLDER" >> .gitignore git clone --bare $GIT_REPO_URL $...
true
19f4c0131bc68c34fdaba8322fbd80a1d1ae4e3a
Shell
kevinrizza/release
/ci-operator/step-registry/ipi/install/libvirt/install/ipi-install-libvirt-install-commands.sh
UTF-8
4,971
3.53125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -o nounset set -o errexit set -o pipefail function read_shared_dir() { local key="$1" yq r "${SHARED_DIR}/cluster-config.yaml" "$key" } function populate_artifact_dir() { set +e echo "Copying log bundle..." cp "${dir}"/log-bundle-*.tar.gz "${ARTIFACT_DIR}/" 2>/dev/null echo "Removing REDA...
true
9279680af625200e2f838013d98736e9eb498730
Shell
sulrich/home-bin
/bridge-setup.sh
UTF-8
1,210
4
4
[]
no_license
#!/usr/bin/zsh myname=`basename $0` TUSER=`whoami` case "$#" in 0|1|2) echo "usage: $myname bridge_intf start_tapid end_tapid" 1>&2; exit 1 ;; *) BRIDGE_INTF="$1"; START_TAPID="$2" ; END_TAPID="$3" shift; shift ;; esac echo " bridge intf: ${BRIDGE_INTF} - start: $...
true
7ecd9da32ea9f4152121ad747b31ed7ef148cd99
Shell
hexu1985/cpp_code
/algo_cpp/sort/src/test_multiple_merge.sh
UTF-8
724
3.890625
4
[]
no_license
#!/bin/sh # 获取当前脚本的路径, 并加入到PATH环境变量中 WORKDIR=`dirname $0` export PATH=$PATH:$WORKDIR TMPFILE=/tmp/a.txt SORTED_FILE=sort.txt OUTER_SORT_FILE=multiple_merge.txt OUTER_SORT_OPT_FILE=multiple_merge_opt.txt SEQ_PREFIX=seq_ # 生成1000个随机数 gen_random.sh 1000 > $TMPFILE # 将1000个随机数分割成5个文件 split -200 -a1 --additional-suffix=...
true
cfce8bee87f2801f48d2d3fdc41ae2a6c8e99c43
Shell
vancegroup/util-headers
/util_header_search_tool.sh
UTF-8
631
3.890625
4
[ "LicenseRef-scancode-unknown-license-reference", "BSL-1.0" ]
permissive
#!/bin/sh set -e DATADIR=$(cd $(dirname $0) && pwd) HEADERDIR=$(cd $(dirname $0) && cd util && pwd) defineLineToGUID() { sed -n 's/[#]ifndef INCLUDED_.*_GUID_\(.*\)$/\1/p' $@ } if [ "x$1" = "x--update" ]; then echo "Updating GUID databases." ( cd ${HEADERDIR} # Generate file to use with sed grep "#ifndef INC...
true
cc41f070eaf5de4a1cf5b241fa7d9dcc33008351
Shell
anishmu/openstack-1
/CentOS_RHEL_7/multi-nodes/07_1_create_zones.sh
UTF-8
352
2.75
3
[]
no_license
#!/bin/bash . ./config.sh . ~/keystonerc_admin INDEX=1 for node in $(echo $COMPUTE_NODE | sed "s/,/ /g") do HOST=`ssh $node hostname` nova aggregate-create node$INDEX zone$INDEX nova aggregate-add-host $INDEX $HOST nova aggregate-set-metadata $INDEX pinned=false #nova aggregate-set-metadata $INDEX pinned=true ...
true
2d4a18d18fe1ed24d6ea26ecede348a0d97d886a
Shell
thanatos116/bt-app
/git_code/compare_patch.1.1.sh
UTF-8
4,629
3.3125
3
[]
no_license
#!/bin/bash #PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin #export PATH . /home/vichuang/fastScript/wordColor.sh --source-only #the file for settings folder_list="folder_list.txt" final_result_file="final_result.txt" OriPatchId_compare="OriPatchId.txt" DestPatchId_compare="DestPatchId.txt" #...
true
0fac8c75aa849e0290e7809d58b5a6350fe47514
Shell
sasabosnic/dotfiles-1
/bin/mysignify
UTF-8
798
3.796875
4
[]
no_license
#!/bin/ksh progname=${0##*/} function usage { echo "Example: ./$progname install64.fs" echo "Usage:\v./$progname [...]" } if [ -z "$1" ];then usage;exit 1 fi case $(id -u) in 0) if [ ! -f /etc/signify/my-pkg.sec ];then signify -Gns /etc/signify/my-pkg.sec -p /etc/signify/my-pkg.pub fi echo "C...
true
aa6a412e220f99e77fb61f50bdd331745dc38f09
Shell
RebeccaHalbach/Halbach_tapiR_2020
/Code_RNAseq_analyses/STARMapping.sh
UTF-8
4,320
3.5
4
[]
no_license
#!/bin/bash -l #$ -S /bin/bash #$ -cwd #$ -V #$ -N STARmapping #$ -e ./STARmapping.err #Author: Rebecca Halbach #Contact: rebecca.halbach@radboudumc.nl #requires: STAR 2.7.0 (Dobin et al, Bioinformatics 2013, PMID:23104886 ) #STAR Index must be prepared in advance #with STAR --runMode genomeGenerate \ # --ge...
true
e113ab00a8a380077fa527ef2dcb70f4c03d9428
Shell
azukiapp/luenv
/libexec/luenv-prefix
UTF-8
604
3.703125
4
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
#!/usr/bin/env bash set -e [ -n "$LUENV_DEBUG" ] && set -x # Provide luenv completions if [ "$1" = "--complete" ]; then echo system exec luenv-versions --bare fi if [ -n "$1" ]; then export LUENV_VERSION="$1" elif [ -z "$LUENV_VERSION" ]; then LUENV_VERSION="$(luenv-version-name)" fi if [ "$LUENV_VERSION" = ...
true
ec5b06c233c3e29d82f475d7ed4cd850730afc82
Shell
scottypate/sportsdata
/build_sdks.sh
UTF-8
372
2.859375
3
[]
no_license
#!/bin/bash for FILE in $(ls -1 ./swagger); do API=$(echo ${FILE} | sed 's/v[2|3]-//' | sed 's/-/_/g' | sed 's/.json//') swagger-codegen generate \ -i ./swagger/${FILE} \ -c ./swagger_config.json \ --api-package ${API} \ --model-name-prefix ${API} \ -D packageName=sports...
true
451a18acdb7be544583e368b0b66b99863d3cff9
Shell
campfireunion/envwarden
/envwarden
UTF-8
3,302
4.09375
4
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
#!/bin/bash SEARCH=envwarden usage() { echo "envwarden: use Bitwarden to manage server secrets" echo "" echo "Get your secure environment variables from Bitwarden onto your server." echo "envwarden searches your Bitwarden vault for items matching" echo "a search criteria (defaults to 'envwarden')....
true
55583ed76be6da1af51f0f939b08e8418cfddb89
Shell
majunyang/mysqladmin-tools
/ansible/common/consul/templates/check_mysql_master.sh
UTF-8
791
3.078125
3
[]
no_license
#!/bin/bash port=$1 user="root" passwod="123" comm="/usr/local/mysql/bin/mysql -u$user -h 127.0.0.1 -P $port -p$passwod" slave_info=`$comm -e "show slave status" |wc -l` value=`$comm -Nse "select 1"` # 判断是不是从库 if [ $slave_info -ne 0 ] then echo "MySQL $port Instance is Slave........" $comm -e "show slave statu...
true
dc2b685e1dce33533cf0e5708a6cc57bcd244c96
Shell
pleasure-js/daemonizer
/test/fixtures/forkables/loop.sh
UTF-8
91
2.765625
3
[]
no_license
#!/usr/bin/env bash i=0 while [ true ] do echo loop $i i=$((i+1)) sleep 1 done
true
85e37f0b22c4f5fc1788a62f6c97de08e3f31f7d
Shell
JK-Steven/HatLab_IOT_Wiki
/site/tools_lib/env_building.sh
UTF-8
1,765
2.890625
3
[]
no_license
#!/bin/bash cat /etc/issue | grep 16.04 > /dev/null if [ $? == 0 ] then VERSION=5; elif [ $? == 1 ] then VERSION=7; else VERSION=5; fi sudo apt-get update sudo apt-get install emdebian-archive-keyring echo "[*] Installing mips cross compile environment..." sudo apt-get install linux-libc-dev-mips-cross...
true
598c4ef0f01c15c81e4c1eb36b1958b2b855ffd6
Shell
JefersonOC/bash
/dev-tools/languages/nodejs.sh
UTF-8
344
2.53125
3
[]
no_license
#!/usr/bin/env bash echo "Installing nodejs and common frontend development tools..." sudo apt-get update && sudo apt-get install yarn curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt-get install -y nodejs npm install -g @angular/cli npm install -g http-server echo "Node, NPM, Angular, Ya...
true
eee04d938890414f8f0fcc276b4fe4704ed9ff29
Shell
jachin/TaskPaperToEmail
/test.sh
UTF-8
2,240
2.78125
3
[]
no_license
echo " === Notices === Upcoming vacation - Going to Europe. Leaving in the evening of March 30th. Getting back late on April 11th. Back in the office April 13th. === Completed === - MN Dental - T9 Changing how CE Track Handles Password - Fixing broken selects on course setup screens - Fix...
true
f71463a6e641aa9930163622d90e051783449238
Shell
B-Translator/old_btr_server
/modules/custom/btrCore/data/get/ubuntu.sh
UTF-8
2,162
3.78125
4
[]
no_license
#!/bin/bash ###################################################################################### ## How to get all the translations from the Launchpad ###################################################################################### ## ## Reference: ## https://wiki.ubuntu.com/Translations/KnowledgeBase/Exportin...
true
5f50fb1853a1cca36282333e3f77f9b1fb57355c
Shell
SamuelAMiller1/dll1_corin_ht29_rnaseq
/dll1_corin_rnaseq/salmonquant.sh
UTF-8
541
2.609375
3
[]
no_license
#!/bin/bash # Activate Enviornment #ZZ~/miniconda3/envs/salmon/bin/salmon export PATH=/N/u/millesaa/Carbonate/miniconda3/envs/salmon/bin:$PATH # Navigate to parent directory cd /N/slate/millesaa/dll1_corin_ht29_rnaseq/dll1_corin_rnaseq # Quantify reads # Next run, add flags --seqBias --useVBOpt for fn in sequences...
true
8b334737183cefe1f106e90c202697b0fefd14bc
Shell
smachida/microservice-demo
/scripts/k8s/127-k8s-istio-test-accessing-services.h
UTF-8
404
2.5625
3
[]
no_license
#!/bin/bash KIALI_IP=10.105.121.232 GRAFANA_IP=10.111.14.12 JAEGER_IP=10.111.133.53 echo "Accessing kiali..." curl -o /dev/null -s -L -w "%{http_code}" "http://${KIALI_IP}:20001/kiali/" echo echo "Accessing grafana..." curl -o /dev/null -s -L -w "%{http_code}" "http://${GRAFANA_IP}:3000" echo echo "Accessing jae...
true
bb11ac860df7bbd52e5cb2065ab3fd5fa63e0882
Shell
uhulinux/ub-ubk3
/gconf2/addons/usr/lib/uhu-pkg/postinst/gconf2
UTF-8
683
3.28125
3
[]
no_license
#!/bin/sh shopt -s nullglob export GCONF_CONFIG_SOURCE=xml::/etc/gconf/gconf.xml.defaults run_chmod=0 if [ "$1" = "gconf2" -o "$1" = "+" ]; then for i in /etc/gconf/schemas/*.schemas; do [ -z "${UHU_PKG_QUIET+x}" ] && echo " Installing gconf schemas ..." gconftool-2 -q --makefile-install-rule "$i" &>/dev/null...
true
9b992576b2d2f54c262a2a275cdf97d215cbdb9f
Shell
goropikari/lambda_container
/alpine/bootstrap
UTF-8
587
3.40625
3
[ "Apache-2.0" ]
permissive
#!/bin/sh _HANDLER=$1 RUNTIME_URL="http://$AWS_LAMBDA_RUNTIME_API/2018-06-01" function post() { request_id=$1 response=$2 url="$RUNTIME_URL/runtime/invocation/$request_id/response" echo post url: $url curl -X POST $url -d "$response" } while true do HEADERS="$(mktemp)" EVENT_DATA=$(curl ...
true
28f0eeea3d28be5940ba1c1bbb849629f726684e
Shell
JunHe77/fast_zlib
/bench.sh
UTF-8
273
2.734375
3
[ "BSD-3-Clause" ]
permissive
#!/bin/bash OPTS="--delete --compact --memory --verify" echo "Benching with options: ${OPTS}..." for level in {1..9}; do echo "=====> Benching level-$level ...." for app in test-PR-unix test-C-unix test-Orig-unix; do ./obj/bin/${app} ${OPTS} --level=${level} $1 done done
true
0f55186d55f4181ee10bcde3707139deff24f2ce
Shell
mmarodin/icinga2-plugins
/pcoweb/check_pcoweb_temperature.sh
UTF-8
4,816
3.515625
4
[]
no_license
#!/bin/sh #-------- # Check pCOWeb temperature and humidity status script for Icinga2 # Require: net-snmp-utils, bc # v.20210702 by mmarodin # # https://github.com/mmarodin/icinga2-plugins # while getopts ":V:H:C:h" optname ; do case "$optname" in "V") VERS=$OPTARG ;; "H") HOS...
true
0120aaa739a2d4a86614ed4fc9eb1eecf4fa9c7a
Shell
amulya-vijay/day-07-arrays
/sum_zero3.sh
UTF-8
425
3.40625
3
[]
no_license
#! /bin/bash declare -a array array=( 3 0 5 6 10 13 3 ) one=0 two=0 three=0 for(( i=0; i<${#array[@]}; i++ )) do for (( j=i+1; j<${#array[@]}; j++ )) do for(( k=j+1; k<${#array[@]}; k++ )) do a=${array[i]} b=${array[j]} c=${array[k]} sum=$(( a+b+c )) if [ $sum -eq 6 ] then one=$i two=$j ...
true
5e97c656b9826ebe28895550a27cce468ec5b76c
Shell
borjasotomayor/demogrid
/chef/cookbooks/demogrid/templates/default/myproxy-dnmap.erb
UTF-8
225
2.859375
3
[ "Apache-2.0" ]
permissive
#!/bin/sh username=$1 if [ X"$username" = X ]; then # no username given exit 1 fi # DN must match the signing policy for your CA. echo "/O=Grid/OU=DemoGrid/CN=User '${username}' of Organization <%= @org %>" exit 0
true
bfa24d8750ad86055fb66323272ba984a2524201
Shell
jeonghwan/linux_shell_pgm
/ck_dev.sh
UTF-8
374
3.390625
3
[]
no_license
#!/bin/bash #email=root@`domainname` IMSI=/tmp/dev_find_IMSI.tmp touch $IMSI cat /dev/null > $IMSI find /dev -type f -exec ls -al {} \; > $IMSI if [ -s $IMSI ]; then #mail -s " Result for checking regular files in /dev directory(`date +%Y%m%d-%H:%M`) " $email < $IMSI cat $IMSI else echo ...
true
4f992723627d858bc9141c169fbf3408be7da02a
Shell
karthik-karotra/Demo
/Karthik/Dictionary/BirthCountDict.sh
UTF-8
266
3.453125
3
[]
no_license
#! /bin/bash declare -A months for (( i=1; i<=50; i++ )) do month=$(( (RANDOM%12)+1 )) # months[$month]=" "$((${months[$month]}+1)) months[$month]="${months[$month]}${months[$month]:+,}$i" done for (( i=1; i<=12; i++ )) do echo "$i --> ${months[$i]}" echo done
true
b5df9f38f34788c938a0b78877b0cd3c8f7551b0
Shell
sethc23/.emacs.d
/ext/setup-js.sh
UTF-8
350
2.890625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash source VARS # echo "Setting up JS (tern/trepanjs)" case "$OSTYPE" in darwin*) brew install node ;; linux*) if is-arch; then sudo pacman --needed --noconfirm -S nodejs npm else echo "..." exit 1 fi ;; esac ...
true
ddda60072810331d6ccb68190106f0331126e853
Shell
imran273/cloudera-bootcamp
/enterprise/4_hive_restart.sh
UTF-8
694
2.953125
3
[]
no_license
#!/bin/bash CM_ADDRESS="https://128.107.17.137:7183" CM_LOGIN="admin:admin" CLUSTER_NAME="elisska" API_VERSION=`curl -k -s -u ${CM_LOGIN} ${CM_ADDRESS}/api/version` SERVICE=hive ACTION=restart ACTION_COMMAND="curl -k -s -u ${CM_LOGIN} -X POST -H \"Content-Type:application/json\" ${CM_ADDRESS}/api/${API_VERS...
true
9dd99f10510a49fbd04f02a8e9e29598b6c8c19a
Shell
JusticeArbiter/First_Work
/backup_recovery_sh/scripts/env.sh
UTF-8
2,909
3.015625
3
[]
no_license
#!/bin/bash #HGDB export PGHOME=/home/highgo/hgdb export PATH=$PGHOME/bin:$PATH export PGDATA=$PGHOME/data export LD_LIBRARY_PATH=$PGHOME/lib:$LD_LIBRARY_PATH export PGHOST=localhost export PGPORT=5866 export PGUSER=highgo export PGDATABASE=highgo #test env export BARE_DIR_PWD=`pwd` export BARE_DIR=${BARE_DIR_PWD%/*}...
true
8c11e82dbeec67e3465f8178dd54994814a9bf6a
Shell
madeleineth/tichy_oe_generator
/test.sh
UTF-8
575
3.328125
3
[ "CC-BY-4.0", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/bash -e small_dict="$(mktemp)" small_output="$(mktemp)" trap "rm -f '$small_dict' '$small_output'" EXIT perltidy -b -novalign -pt=2 -l=120 create_dict31.pl if ! cmp create_dict31.pl create_dict31.pl.bak ; then echo >&2 "perltidy reported un-tidy perl." exit 1 fi head dict_adj-vb-part-num-adv-noun.txt > "$...
true
1fc5f293f3ea561080dfcb7c8f3e6037b7362cd9
Shell
ajunlonglive/gGac
/build-tutorials.sh
UTF-8
3,809
3.28125
3
[]
no_license
#!/bin/bash git submodule update function create-tutorial() { CATEGORY=$1 APP=$2 cd Tests if ! [ -d "$CATEGORY" ]; then mkdir $CATEGORY fi cd $CATEGORY if ! [ -d "$APP" ]; then mkdir $APP fi cd $APP echo "project($APP)" >> CMakeLists.txt echo "add_executable...
true
333275b0dc4b70817ab62e3aff0ab4aa63d0da6e
Shell
deadcrew/deadfiles
/bin/pom-release
UTF-8
605
3.46875
3
[]
no_license
#!/bin/bash set -euo pipefail level="$1" title="$2" :repeat() { for i in $(seq $2); do echo -n $1; done } version=$(pom-bump "$level") major=$(cut -d. -f1 <<< "$version") minor=$(cut -d. -f2 <<< "$version") patch=$(cut -d. -f3 <<< "$version") build_number="${major}00${minor}00${patch}" hashtag="$major$minor$...
true
38a9b53db3319164e32f2215a90b37b30b36ca66
Shell
thu-scc/SC20-MemXCT
/ReproducibilityChallenge/run/scripts/visualization/manual_run.amd.cpu.sh
UTF-8
1,118
3.203125
3
[]
no_license
#!/bin/bash # set environment and alloc nodes before executing this script! # scaling for 1, 2, 4 nodes # Usage: ./manual_run.openmpi.cpu.sh ${CPU_PER_NODE} ${NTHREAD} ${HOSTFILE} ${DATA} ${TILE_SIZE} ${BLOCK_SIZE} ${BUFFER_SIZE} ITER=$1 CPU_PER_NODE=$2 NTHREAD=$3 # (=CORE_PER_CPU) HOSTFILE=$4 DATA=$5 # TILE SIZE...
true
f6d7961c54cbd6d220c657e697f415166fba15e1
Shell
kjwenger/sandbox.petstore.cutelyst
/script/build-all.sh
UTF-8
674
2.875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash #set -x CURRENT_DIR="$(pwd)" SCRIPTS_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PROJECT_DIR="$(dirname "${SCRIPTS_DIR}")" cd "${PROJECT_DIR}" BUILD_DIR="${PROJECT_DIR}/build-debug" CMAKE_ARGS="-DCMAKE_BUILD_TYPE=DEBUG" "${SCRIPTS_DIR}/build.sh" BUILD_DIR="${PROJECT_DIR}/...
true
f2d1d9b4ec1fd4f4db380639bb81d9845919f45d
Shell
petronny/aur3-mirror
/kdeplasma-applets-itmages/PKGBUILD
UTF-8
1,014
3.03125
3
[]
no_license
# Maintainer: Raizner Evgeniy <razrfalcon@gmail.com> pkgname=kdeplasma-applets-itmages pkgver=17 pkgrel=1 pkgdesc="Plasma applet for uploading images to ITmages" arch=('i686' 'x86_64') url="https://launchpad.net/itmages" license=('LGPL') depends=('kdebase-workspace' 'itmages-dolphin-extension' 'libgexiv2') makedepends...
true
c2f56f38181d166800375e0c88c4dcac38479746
Shell
moka-guys/dnanexus_varscan2
/src/code.sh
UTF-8
5,343
3.546875
4
[]
no_license
#!/bin/bash # The following line causes bash to exit at any point if there is any error # and to output each line as it is executed -- useful for debugging set -e -x -o pipefail #Grab inputs dx-download-all-inputs --except ref_genome --parallel # make output folders mkdir -p ~/out/varscan_vcf/output ~/out/varscan_vc...
true
53605a04460aa5f4fb2fe28daf8436b1e759c9e1
Shell
taymyr/lagom-soap-client
/bin/scriptLib
UTF-8
200
3.125
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -e set -o pipefail printMessage() { echo "[info]" echo "[info] ---- $1" echo "[info]" } version() { ./gradlew -q version | grep 'Version:' | cut -d':' -f2 | xargs }
true
f4a5e085f4986fa65563f0df09759211fb0300a1
Shell
ReneNyffenegger/Linux-From-Scratch
/X/steps/sgml-dtd-3
UTF-8
1,024
2.859375
3
[]
no_license
# vi: ft=sh # # http://www.linuxfromscratch.org/blfs/view/8.1/pst/sgml-dtd-3.html # # TODO: Apparently also known as docbook 3.1 lfs_start_step lfs_download_extract_and_pushd http://www.docbook.org/sgml/3.1/docbk31.zip lfs_log "sgml-dtd-3: I am in $PWD" sed -i -e '/ISO 8879/d' \ -e 's|DTDDECL "-//OASIS//DTD...
true
b331d928f55e568a922680cb54de33d55ab7cf79
Shell
77shell/dev-driver-practice
/cdata/build.sh
UTF-8
804
3.734375
4
[]
no_license
#!/bin/bash # # 2016-4-24 # max.yang@delta.com.tw # # > Build device driver : cdata # > Make device node : /dev/cdata # > Remove previous kernel module : cdata.ko # > Install kernel module : cdata.ko # . ./VAR.sh clean_modules() { for i in ${KO[@]} do ! rm $i done mesg_brown "Delete modules" } c...
true
8df8bb49ed89f15953058a49e0afd1416e0e1e3d
Shell
kingofyou/settle
/sbin/see.bak
UTF-8
2,803
3
3
[]
no_license
#!/bin/sh findproc() { cnt=`ps -ef | grep $LOGNAME | grep "$1" | grep -v "grep" | grep -v "vi" | grep -v "view" | grep -v "tail" | wc -l` if [ $cnt != "0" ] then echo $cnt else echo "0" fi } compare_eq() { cnt=`ps -ef | grep $LOGNAME | grep -w "$1" | grep -v "grep" | grep -v "vi...
true
2b750310d16d42aa47396bb9fc5ebb37da98d605
Shell
tuborgman/dotfiles
/local/bin/streamctl
UTF-8
1,475
4.4375
4
[ "MIT" ]
permissive
#!/bin/sh INSTANCE_ID=${STREAM_MACHINE_ID:?"Need to set."} ZONE=${STREAM_MACHINE_ZONE:?"Need to set."} show_help() { cat <<EOF Usage: streamctl [command] Available commands: start starts the stream machine stop stops the stream machine state shows the state of the stream machine vnc starts a vnc session with ...
true
9805c1c16d681e015723e5edc353da6995f46bdc
Shell
RobertKraaijeveld/ThesisBenchmark
/Benchmarking Console App/Docker/Container Initializations/PostgreSQL/docker-postgres-scaled-start.sh
UTF-8
1,080
2.984375
3
[]
no_license
#!/bin/bash docker-machine start postgresql # Re-running certificates (IP adress might have changed) docker-machine regenerate-certs postgresql -f docker-machine ssh postgresql -- 'docker rm postgresqlscaled -f'; docker-machine ssh postgresql -- 'docker volume create postgresqlscaled-volume;' # Creating the conta...
true
713e22be559353cf9b4ddb2e241a774c2b27f817
Shell
adamperyman/vim-settings
/setup.sh
UTF-8
588
3.484375
3
[ "MIT" ]
permissive
#!/bin/bash VIM_CONFIG_PATH=$HOME/.vim_runtime # Backup Amix's my_configs.vim if [ -f $VIM_CONFIG_PATH/my_configs.vim ]; then echo "Beginning my_configs.vim backup.." mv $VIM_CONFIG_PATH/my_configs.vim $VIM_CONFIG_PATH/my_configs.vim.BAK echo "my_configs.vim backed up successfully.\n" else echo "my_configs.vi...
true
14719a0ddb7adce8e735e20ec937a7f5bb00a4b3
Shell
xiaotdl/Sandbox
/shell/awk/Column.sh
UTF-8
157
2.609375
3
[]
no_license
#!/bin/bash # # ${variable:-defaultvalue} # column=${1:-9} # awk '{print $'$column'}' # same as >>> # one-liner awk '{print $column}' column=${1:-9} # <<<
true
fa5819e2e80b21ee6d0ab879693096960e10df8e
Shell
congto/ghichep-docker
/scripts/install-private-registry.sh
UTF-8
2,961
3.03125
3
[]
no_license
# Deploy a private registry - digitaloceans.com yum install -y httpd-tools rm -rf ~/docker-registry rm -rf /docker-registry # docker rm -f registry # docker rm -f nginx mkdir ~/docker-registry && cd ~/docker-registry mkdir data cd ~/docker-registry mkdir ~/docker-registry/nginx cd ~/docker-regist...
true
5738a0ded039fb4c8e515a24cd36e4277b367de1
Shell
zss0512/react-native-kitchen-sink
/App/resource/genimage
UTF-8
300
3.078125
3
[]
no_license
#!/bin/bash source ~/command/common file=image.js echo "module.exports = {" > $file files=(`ls image`) for item in ${files[@]};do purefilename=`__get_pure_filename $item` filename=`basename $item` echo "${purefilename}:require('./image/${filename}')," >> $file done echo "};" >> $file
true
77d8bf36a607db3e9c41fd8993a321d11dd1481d
Shell
lyuxiaosu/Hadoop-cluster-automation-deployment.
/docker_stop.sh
UTF-8
216
2.921875
3
[]
no_license
#!/bin/bash docker stop master docker rm master begin=$1 end=$2 prefix="slave" for ((i = $begin; i <= $end; i++)) do container="$prefix$i" docker stop $container docker rm $container done
true
ef2b70df0afa185c11f984a9d2472ee0094a584c
Shell
iahmad-khan/cloudandbigdatalab.github.io
/src/docker/convert/convert2.sh
UTF-8
360
2.765625
3
[]
no_license
for file in $(find _site/chameleon -type f -name "*.html"); do file="/pwd/"$file newFile="/pwd/pdf/chameleon-"$(echo $file | perl -e '@path = split /\//, <>; print $path[@path - 3] . "-" . $path[@path - 2] . ".pdf"') echo $file echo $newFile sudo docker run --rm -it -v $(pwd):/pwd/ openlabs/docker-wkhtmltopdf...
true
61aa487a7a298c0bb1a8b775dce797b151cf2bf5
Shell
dosyfier/dotbashconfig
/docker/feature_mgr.sh
UTF-8
2,259
3.75
4
[ "Apache-2.0" ]
permissive
#!/bin/bash -e # shellcheck source=../internal/install-base.sh source "$(dirname "$0")/../internal/install-base.sh" # Docker CE version tested with WSL # See: https://github.com/Microsoft/WSL/issues/2291#issuecomment-383698720 WSL1_DOCKER_VERSION=17.09.0 DOCKER_COMPOSE_VERSION=1.29.2 _cleanup_ubuntu() { # Remove a...
true
8a2d853345e5d193e4eddc2926f42a018fc79cbc
Shell
imma/fogg
/exec/fogg-proxy-service
UTF-8
1,533
3.546875
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash function init_service { local pth_service="${nm_service/-/\/}" pth_service="${pth_service/-/\/}" set +f eval cd "${_org_home}/*/${pth_service}" set -f "$@" } function main { local shome="$(cd -P -- "${BASH_SOURCE%/*}/.." && pwd -P)" source "$shome/script/profile" source normalize...
true
53ed82f2f4b8f15502e204d958da0f6250837f42
Shell
adminixio/images
/nodejs/docker/docker_files/run_script
UTF-8
388
2.875
3
[]
no_license
#!/bin/bash echo "Syncing remote variables..." eval $(/usr/local/rvm/gems/ruby-2.5.1@adminix/wrappers/adminix env) echo "ok" echo "Changing application folder..." cd $APP_PATH echo "ok" echo "Connecting Ruby..." source "/usr/local/rvm/scripts/rvm" rvm gemset use default echo "ok" echo "Connecting Node.js..." source...
true
70b39d68b0d98c301266f8fab2dbeff65806afb2
Shell
pjotrp/cfruby
/scripts/release.sh
UTF-8
261
2.703125
3
[]
no_license
#!/bin/sh if [ ! -d test ]; then echo "Run from base directory!" ; exit ; fi ruby ./scripts/cfruby.gemspec # Create tar ball of sources version=`cat ./bin/VERSION` tar cvzf cfruby-$version.tgz --exclude *.svn* bin/* test/* documentation/* graphics/* lib/*
true
1e6b2eebcbbf80a025249b45189f12c2fef3f666
Shell
drasko/weio
/openWrt/files/etc/init.d/sanity_check
UTF-8
761
3.234375
3
[]
no_license
#!/bin/sh /etc/rc.common # Copyright (C) 2006 OpenWrt.org START=80 STOP=91 start() { echo "Launching WeIO FQC" cd /weio python scripts/weioFQC.py } stop() { echo "Stopping WeIO FQC" # Trick for avoiding grep to show in ps command: # http://stackoverflow.com/questions/9375711/more-elegant-ps-...
true
9cb125f5b839780aad755c5f78d640be272354ae
Shell
lemon123456/eums
/scripts/deployment/unpack_deployment_and_install.sh
UTF-8
367
2.890625
3
[]
no_license
#!/bin/bash set -e today=$1 hostip=$2 rapidpro_token=$3 email_password=$4 echo "Unpacking deployment directory..." tar --force-local -xzvf deploy_latest.tar.gz echo "Deleting zip file..." rm deploy_latest.tar.gz cd deploy_$today chmod a+x scripts/*.sh echo "Running install script..." scripts/install-image-eums.s...
true
0b9f62621e5c4012254a0abf809d254b84eca859
Shell
wix/react-native-notifications
/scripts/install.android.sh
UTF-8
1,420
3.0625
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash -e echo node -v $(node -v) $(dirname "$0")/install.sh if [ -z "$ZZ_BITRISE" ]; then ANDROID_API=28 ANDROID_HOME="/usr/local/share/android-sdk" echo "export ANDROID_API=${ANDROID_API}" >> $BASH_ENV echo "export ANDROID_HOME=${ANDROID_HOME}" >> $BASH_ENV cat $BASH_ENV # jdk HOMEBREW_NO_INSTALL_CLEANUP=1 H...
true
7518fdb395815828d2a4885a9bd2e67b51ffce0e
Shell
xjtdy888/omv-web-desk
/openmediavault-webdesk/build/omv-startup.sh
UTF-8
630
3.0625
3
[]
no_license
#!/bin/bash set -e #if [ ! -f /data/omv_is_already_init ]; then #Init the plugin #/bin/sh /var/www/bin/postinst configure # Display the login information. #cat /etc/issue #touch /data/omv_is_already_init #fi #SERVICES="motd openmediavault openmediavault-engined rc.local" SERVICES="php7.0-fpm rrd...
true
bb4a506ac7f36da2d7d859b0cf601ec48ff012b0
Shell
howardzhao88/autonomous-task-processor
/atp.sh
UTF-8
1,223
3.71875
4
[]
no_license
#!/bin/sh export DJANGO_SETTINGS_MODULE="settings" export WORKER_SERVER_TYPE="FORKED" script_path=$(cd ${0%/*} && echo $PWD/${0##*/}) script_dir=$(dirname $script_path) base_dir="$script_dir" start() { echo "Starting atp..." python $base_dir/autonomous_task_processor.py if [ $? -ne 0 ]; then echo "Failed to ...
true
c918f743a34536a896335cbb4cfded783434b13b
Shell
bote795/AniWrapper
/githooks/pre-push
UTF-8
396
2.90625
3
[ "MIT" ]
permissive
#!/bin/bash if yarn lint; then echo "Sucessfully passed linter" else echo "Failed linter. Please try with `yarn format`" exit 1 fi if yarn deploy ; then echo "Sucessfully deployed" else echo "Failed to deploy check the logs" exit 1 fi if yarn cypress:run ; then echo "Sucessfully ran brows...
true
e4ee2868a491ca6280705e38b28d32db8bf1acba
Shell
sanchit1999/ITWS-Assignment-2
/q6.sh
UTF-8
205
2.84375
3
[]
no_license
#!/bin/bash read sal var2=12 asal=$(bc <<< "scale=4;$sal*$var2") if test $asal -gt 300000 then tax=$(bc <<< "scale=4;$asal*0.3000") echo "TAX PAYMENT REQUIRED: $tax" else echo "NO TAX PAYMENT REQUIRED" fi
true
023143c70c4e590c7c088d122cb110a34487eabf
Shell
Trietptm-on-Security/REFE
/extra_code/shellcode/extract_shellcode.sh
UTF-8
191
3.140625
3
[]
no_license
#!/bin/bash if [[ $# -eq 0 ]]; then echo "Usage: ./extract_shellcode.sh <binary>" exit 0 fi for i in $(objdump -d $1 -M intel |grep "^ " |cut -f2); do echo -n '\x'$i done echo
true
643bc7315c068f0dd7edd12366aa7f357007eae0
Shell
jdost/til
/src/commands/tag
UTF-8
661
4
4
[]
no_license
#!/bin/sh set -euo pipefail show_help() { cat <<-HELP til tag - til repository tag locator USAGE: til tag <tag> Searches for the specified tag in entries in the til repository, tags are anything with a + prefix. HELP } SEARCH_DIR="$TILHOME" # If this points at the src dir, use the subfolder if [[ $TIL_ROOTDIR...
true
b76b4fc1ed4c36f1ddeb6ce7fa52a38acee5a18a
Shell
stevenberg/dotfiles
/tag-mac/config/bash/components/browser.bash
UTF-8
68
2.53125
3
[ "MIT" ]
permissive
if command -v >/dev/null 2>&1 open; then export BROWSER=open fi
true
51acb2d0ed9027d89324d5d38ea7269bbe131f45
Shell
delevinzhong/myFirstProject
/projects/devopsForBigData/UT_testRun_bigdata_demo_py.sh
UTF-8
835
2.890625
3
[]
no_license
#!/bin/bash #Parameters UT_PATH=/tmp/Testcase1/demo-of-big-data/TestCase1/python/UT HOME_PATH=/tmp/Testcase1/demo-of-big-data/TestCase1/python INPUT=/user/zhongd1/source/* OUTPUT=/user/zhongd1/source-output SAMPLE_FILE_NAME=sample_26.txt MAPPER=mapper.py REDUCER=reducer.py KEYTAB_PATH=/tmp/Testcase1 #Get using hadoop...
true
61b47187972650092c93929c561ab2533c6d085d
Shell
ProgerDav/Nest-Boilerplate
/nginx/entrypoint-nginx.sh
UTF-8
329
3.140625
3
[]
no_license
#!/bin/bash # This script takes ENV variables defined in docker-compose and replaces the # corresponding ${VARIABLE} in proxy-template.conf with real values vars=$(compgen -A variable) subst=$(printf '${%s} ' $vars) envsubst "$subst" < /etc/nginx/conf.d/vhost.template > /etc/nginx/conf.d/default.conf nginx -g 'daemo...
true
21c07d46912897ec9a5e27c3ab632f55f545bc23
Shell
SmartArray/DigiByte-CheckPoint-Extractor
/collect.sh
UTF-8
509
3.3125
3
[]
no_license
#!/bin/sh BASE_URL="https://digiexplorer.info/api" BLOCK_HEIGHT_INTERVAL=50000 BLOCK_HEIGHT_START=0 function getJsonVal () { python -c "import json,sys;sys.stdout.write(json.dumps(json.load(sys.stdin)['$1']))"; } CURRENT_BLOCK_HEIGHT=$(curl -s "${BASE_URL}/sync" | getJsonVal "blockChainHeight") for i in `seq ...
true
7b6a151370549fbb57e3329b8857bb1551f6fc70
Shell
AferoCE/sama5-meta-afero
/recipes-afero/hubby/files/hubby_watcher
UTF-8
189
3.078125
3
[ "MIT" ]
permissive
#!/bin/sh if [ `/bin/pidof hubby` ]; then /usr/bin/killall hubby fi while true do PID=`/bin/pidof hubby` if [ -z $PID ]; then /usr/bin/hubby fi sleep 5s done
true
3e18f9efa5ca0b8291e0485443fae66c8b9e6c46
Shell
slashbeast/conf-mgmt
/update
UTF-8
269
3.09375
3
[]
no_license
#!/bin/sh set -e set -u einfo() { echo "[INFO] >>> $*" } eerror() { echo "[ERROR] >>> $*" >&2 } trap 'eerror "Error in $0 on line ${LINENO}."' ERR einfo 'Updating conf-mgmt ...' git pull einfo 'Updating conf-mgmt-private' cd ../conf-mgmt-private git pull
true
876d1079cad89042fdf638aa2a2c9cbf15369082
Shell
sroysf/devbox
/kubernetes/kubeadm-init.sh
UTF-8
705
2.890625
3
[]
no_license
#!/bin/bash echo "Make sure this command is run as root" bash /vagrant/kube-reset.sh echo "--------------------------------------------" echo "Pulling Kubernetes images" kubeadm config images pull echo "--------------------------------------------" echo "Deploying Kubernetes" export PRIVATE_IP=$(ifconfig | grep 192...
true
e4692f608c2649344a3e6751b56adbf5513c43c0
Shell
musale/www
/scripts/deploy
UTF-8
339
3.1875
3
[ "MIT" ]
permissive
#!/bin/bash echo "-----> Setting up git remote..." git remote get-url dokku &> /dev/null if [ $? -eq 0 ]; then echo "Reset dokku remote" git remote rm dokku fi echo "Add dokku remote" git remote add dokku dokku@florimond.dev:www echo "-----> Deploying to dokku..." set -ex git push dokku HEAD:master --force "$@...
true
88bb0361b4424035658aaf31f728236016969ae6
Shell
nntrn/nfl-nerd
/scripts/db.sh
UTF-8
536
3.515625
4
[]
no_license
#!/usr/bin/env bash TODAY="$(date +"%Y-%m-%d")" SEASON=$(date +%Y) DBPATH=./tmp/nfldb.db mkdir -p $(dirname $DBPATH) SEASONCSVPATH=${1:-./tmp/$TODAY/$SEASON-PLAYBYPLAYS.csv} # Set season to last year if month is before June if [[ $(date +%m | sed 's/^0*//') -lt 6 ]]; then SEASON=$((SEASON - 1)) fi if [[ -f $DBPAT...
true
e818d5b55001cc6f5908a9a8fe75e7f91874a211
Shell
DKarandikar/write_a_c_compiler
/test_compiler.sh
UTF-8
4,131
4.15625
4
[ "MIT" ]
permissive
#!/bin/bash padding_dots=$(printf '%0.1s' "."{1..60}) padlength=50 cmp=$1 success_total=0 failure_total=0 print_test_name () { test_name=$1 printf '%s' "$test_name" printf '%*.*s' 0 $((padlength - ${#test_name})) "$padding_dots" } test_success () { echo "OK" ((success++)) } test_failure () { ...
true
b32ec4b27e7dd9788a81739c0f6de800d48114ae
Shell
YemowtRonoc/account_automation
/ssh_repos/add_user_ssh.sh
UTF-8
732
3.09375
3
[]
no_license
#!/bin/bash ADMIN_USERNAME=$1 ADMIN_PASSWORD=$2 REPO_SERVER=$3 USER_NAME=$4 BOOL_DEV=$5 INITIALS="" for word in $USER_NAME; do INITIALS="$INITIALS${word:0:1}" done if [ "$ADMIN_USERNAME" == "root" ]; then if [ "$BOOL_DEV" == "True" ]; then ./ssh_repos/root_new_user_dev.exp "$REPO_SERVER" "$ADMIN_USER...
true
5f210d5f57bcb69873e1366f58e9da3b82af807a
Shell
yhuang/sandboxes
/provisioning-scripts/configure-current-user-zshrc.sh
UTF-8
311
2.53125
3
[]
no_license
#!/usr/bin/env bash cat >> $HOME/.zshrc << ZSHRC HISTSIZE=5000 SAVEHIST=\$HISTSIZE alias ..='cd ..' alias ...='cd ../..' alias ....='cd ../../..' alias rm='rm -i' eval \`dircolors /etc/dircolors/ansi-universal\` zstyle ':completion:*' list-colors "\${(@s.:.)LS_COLORS}" autoload -Uz compinit compinit ZSHRC
true
54c9bd3f1c2a224be87764ad46ddf68f50546a7f
Shell
spetillo/NDBC
/ndbc.sh
UTF-8
983
3.625
4
[]
no_license
#!/bin/bash ##!/bin/bash -xe PATHBASE='/home/ooiuser/ndbc' dataPath="$PATHBASE/data" codePath="$PATHBASE/ndbc-code" start_time=$(date -u "+%Y-%m-%dT%H:%M:%S%Z") echo "======== STARTING: $start_time ========" # Remove the data dir if not properly cleaned up on the last run [ -d "$dataPath" ] && rm -r $dataPath && e...
true
523307bad7d8221ecc60542a47a7c0198bc10c4c
Shell
c-dilks/sims_mposka
/geant/fmsu/macgen/old/horiz/genMacros
UTF-8
2,591
3.28125
3
[]
no_license
#!/bin/bash # generates macros along the horizontal direction in specified cell particle=gamma #particle=pi+ #nstb=3 #row=3 #col=8 nstb=1 row=4 col=5 ndiv=51 #energy_lb=5 #energy_ub=50 #energy_step=5 energy_lb=30 energy_ub=30 energy_step=5 seq $energy_lb $energy_step $energy_ub > enseq cat enseq if [ $# -eq 3 ]; ...
true
0cf5361549335f2d19fb8cb53701be064dc94877
Shell
JoCord/fsiproject-portal
/opt/fsi/portal/tools/cpvi
UTF-8
16,116
3.390625
3
[]
no_license
#!/bin/sh # # cpvi - copy fsi tools to server # # This program is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software Foundation; # either version 3 of the License, or (at your option) any later version. # # This progra...
true
42ae89ca5bf98b4064bb197b1a2e512ce19e27d9
Shell
theophile/lilypond-hymnal-project
/scripts/mp3ifier
UTF-8
967
3.40625
3
[]
no_license
#!/bin/bash while [[ $# != 0 ]]; do MEDIADIR="/home/theophile/Desktop/Music/supplement/media" MIDIDIR="${MEDIADIR}/MIDI/" MP3DIR="${MEDIADIR}/MP3/" INFILE=`basename "$1"` PWD=`pwd` BASEDIR=`basename $PWD` base=${INFILE%%.*} ext=${INFILE#*.} MIDI="${MIDIDIR}${BASEDIR}/${base}.midi" TITLE=$(grep -m 1 Title -n "$1" | se...
true
320356994c8559b29b2c622b78d6999126d0298b
Shell
CodeShane/basic-setup
/shared-scripts/sh/run-get-source-and-dir.sh
UTF-8
2,209
3.953125
4
[ "MIT" ]
permissive
# run-get-source-and-dir function run-get-source-and-dir() { # Adapted from https://stackoverflow.com/questions/7665/how-to-resolve-symbolic-links-in-a-shell-script local run_get_source_and_dir_help_string="" run_get_source_and_dir_help_string+="error - no source passed in\\n" run_get_source_and_dir_help_string...
true
6d581e568b3508af772b17685a130e1183c8c84a
Shell
delkyd/alfheim_linux-PKGBUILDS
/saturnus/PKGBUILD
UTF-8
1,015
2.515625
3
[]
no_license
# Maintainer: xeyqe <xeyqe@seznam.cz> pkgname=saturnus pkgver=1 #? pkgrel=0 #? pkgdesc="A dark red scalable icon theme." arch=('any') url="http://linux.softpedia.com/get/Desktop-Environment/Icons/Saturnus-55030.shtml" license=('GPLv3') source=("http://www.gnome-look.org/CONTENT/content-files/120145-${pkgname}.tar.bz2")...
true
24043a0ff77fe8cebfaae4a72e490a9b5637ce55
Shell
TheLonelyGhost/hashi-env
/scripts/path-rm
UTF-8
1,540
4.15625
4
[ "MIT" ]
permissive
#!/usr/bin/env bash source "$(dirname -- ${BASH_SOURCE[0]})/../env.sh" # DISCLAIMER: this was adapted from https://github.com/direnv/direnv/blob/3c5d9470b89b7933587bcf68d8a556a9a9a518e8/stdlib.sh # Usage: path_rm <varname> <pattern> [<pattern> ...] # # Removes directories that match any of the given shell patterns f...
true
c31498aed7f2a230b5114acc8aa6b9b4824d9b4d
Shell
yantraos/ybuild-fourth-stage
/yinsource/devel/OpenJDK/openjdk.ybuild
UTF-8
2,210
3.28125
3
[]
no_license
#!/bin/bash -e . /usr/share/yinstal/yapi DEPENDS="BinaryJDK-12.0.2 make-ca-1.4 alsa-lib-1.1.9 giflib-5.2.1 cpio-2.12 Cups-2.2.12 UnZip-6.0 Wget-1.20.3 Which-2.21 xorg-libs-1.0 Zip-3.0" if ! yaps -B "$DEPENDS";then exit 100 fi PKGNAME="OpenJDK" TARNAME="$PKGNAME" VERSION="12.0.2" BUILD=${BUILD:-1} SECTION="DEVEL" SU...
true
bb7912e2f39b1b86bb08f7166ec6e6e68cd23798
Shell
twofour/beanstalkd
/src/usr/local/bin/beanstalkd-entrypoint
UTF-8
206
2.703125
3
[]
no_license
#!/bin/sh set -e if [ "$1" = "beanstalkd" ]; then set -- "$@" -V set -- "$@" -p 11300 set -- "$@" -b /var/lib/beanstalkd/binlog set -- "$@" "-f $BEANSTALKD_BINLOG_INTERVAL" fi; exec "$@"
true
02cada17a53b1d6b2dcaa17d9667617573ab5f5a
Shell
CamilaGalvan/ISU
/Primera_entrega/CD/Sistemas-Operativos III/Scripts/ISU-SO/modificarUsuario.sh
UTF-8
3,146
3.375
3
[]
no_license
#!/bin/bash DnMenu=0 while [ DnMenu -eq 0 ] do clear tput cup 3 3; read -p "Ingrese la ci del usuario a modificar " ci busqueda=$(cut -d: -f5 /etc/passwd | grep -n "$ci"|cut -d: -f1) if [ -z $busqueda ] then tput cup 2 3; read -p "No existe usuario con esa CI " aux else clear Logg=$(head -$busqueda /etc...
true
b24ff1ce1dc4497ef35c67d87fcc0df92cb95f0f
Shell
tylertownsend/bopeep
/utils.sh
UTF-8
709
3.484375
3
[]
no_license
# Fail whale is credited to Dr. Sean Szumlanski # at the University of Central Florida function output() { PASS_CNT=$1 NUM_FILES=$2 if [ $PASS_CNT -eq $NUM_FILES ]; then echo "" echo " CONGRATULATIONS! You appear to be passing all the test cases" echo " and safety checks performed by this script!!"...
true
52966a8c57bcbd120a3ebce2881743bb09b16b08
Shell
RaunoBorovkov/skriptimine
/praks9/yl3
UTF-8
469
3.171875
3
[]
no_license
#!/bin/bash # # raami joonistamine echo -n "sisesta ridade arv: " read rida echo -n "sisesta tärnide arv: " read tarn # genereeri rea numbrid 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 # tärnidest tulev rida for((j = 1; j <=$tarn; j++)) d...
true
8c6031ba1ab0a7c370a0af81ddf0c516cebf1c4d
Shell
Ancurio/pwman
/gen.sh
UTF-8
1,103
4.0625
4
[ "MIT" ]
permissive
#!/bin/bash # Move to script's directory cd "`dirname "$0"`" read -p "key: " KEY read -p "pwlen: " PWLEN # Generate a random password from system entropy PW=`tr -cd '[:alnum:]' < /dev/urandom | fold -w$PWLEN | head -n1` PW=`echo -n $PW` stty -echo read -p "Enter passphrase: " PHRASE stty echo echo "" # Check if pa...
true
c5c28ac2eb53b98a1249f8c581bdc3571f4ed9d0
Shell
Noobinabox/tintin-rots
/lib/chat.sh
UTF-8
169
3
3
[ "MIT" ]
permissive
#!/bin/bash set -euo pipefail log_dir="" chat_log="" source "$(dirname "${BASH_SOURCE[0]}")/config.sh" mkdir -p "$log_dir" touch "$chat_log" tail -Fs1 "$chat_log"
true
d9276ad0ee6108307cfdb086c84ce3884e8d7bdc
Shell
Aaron-23/docs
/数据库/Mariadb/本地备份脚本BKDB2.sh
UTF-8
976
3.671875
4
[]
no_license
#!/bin/bash # Purpose: 使用mysqldump自动备份保存到本地,每30分钟备份一次,本地硬盘保留一周的备份数据,自动删除老旧备份 NOWDATE=`date +%Y-%m-%d` OLDDATE=`date +%Y-%m-%d -d '-7 days'` NOWTIME=`date +%Y%m%d%H%M%S` MYSQLDUMP=/usr/bin/mysqldump SOCKET=/var/lib/mysql/mysql.sock #建立备份基本目录环境 BACKUPDIR=/backup/testlink-realtime-backup [ -d ${BACKUPDIR} ] || mkdir -...
true
86e98b014b5ac368ba2c28db9268e66da92dc1f5
Shell
prognostikos/amzn
/libexec/amzn-update-asg
UTF-8
628
2.84375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # Usage: amzn update-asg [-e environment] [-a app] # Summary: wrap amzn-ship's update-asg command # Help: Recreate the launch configuration for the ASG with the latest config # # amzn update-asg # amzn update-asg -e staging # amzn update-asg -e staging -a killer-app # # The arguments are op...
true
cf298e010a5f84f8126a9ff332ce0743521cdabb
Shell
jdede/tinyos-main-deprecated
/apps/UDPEcho/util/pingdhcp.sh
UTF-8
376
3.53125
4
[]
no_license
DIBBLER_ADDRS=$1 if [ -z $DIBBLER_ADDRS ]; then echo "$0 <dibbler addr cache file>" exit 1 fi SUCCESS=0 TOTAL=0 for IP in $(grep AddrAddr $DIBBLER_ADDRS | grep -oe '>.*<' | tr -d '<>'); do ping6 -w3 -c2 $IP ECODE=$? TOTAL=$(($TOTAL + 1)) if [ $ECODE -eq 0 ]; then SUCCESS=$(($SUCCESS...
true
ae06adea615a26dad26eb062b0c0e15c75839a25
Shell
miltondp/phenomexcan
/scripts/210_box_upload/main_upload.sh
UTF-8
2,707
2.8125
3
[ "MIT" ]
permissive
#!/bin/bash # Some notes # - Keep in mind that the content of the folders given as the --source-directory parameter must be the final files # you want to upload, for example, compressed archives (like *.tar.bz2). # - IMPORTANT: you have to change the --target-box-directory with the ID of the Box folder: it's the fin...
true
223c88efac8ee54d95e390f97a28c8636be62b91
Shell
iltempo/zsh_config
/bootstrap.sh
UTF-8
235
2.921875
3
[]
no_license
function die() { echo "${@}" exit 1 } mkdir -p ${HOME}/.zsh git clone https://github.com/iltempo/zsh_config.git ${HOME}/.zsh cd $HOME/.zsh || die "Could not go into the ${HOME}/.zsh" rake install || die "rake install failed."
true
0f191f9841da938bee8a37d51a2ebbed9b3946fa
Shell
anmoisio/conv_lm
/experiments/theanolm-100k/expt10-seq15/local/score_oracle.sh
UTF-8
1,044
3.3125
3
[]
no_license
#!/bin/bash -e # begin configuration section. cmd=run.pl data_dir= lang_dir= decode_dir= nj=1 # End configuration section. . utils/parse_options.sh echo "$0 $@" # Print the command line for logging if [ $# != 3 ]; then echo "Compute lattice oracle WER and CER" echo "" echo "Usage: $0 [options] <data-dir> ...
true