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
6e18bf2c3643bca90bad873645ef1b475caa3647
Shell
Fran-KTA/docktest1
/entrypoint.sh
UTF-8
3,482
3.53125
4
[]
no_license
#!/bin/bash #if [ "${HTTP_PROTO//https/HTTPS}" == "HTTPS" ]; then if [ "${HTTP_PROTO^^}" == "HTTPS" ]; then echo "NOTICE: Wordpress will be configured for sitting behind an HTTPS reverse proxy..." fi if [ ! -f /var/www/html/wp-config.php ]; then if [ -z "$MYSQL_USER" -o -z "$MYSQL_PASSWORD" -o -z "MYSQL_HOST" -o ...
true
71e4e855bf23c377a9c1c651a1d4dca36b0f5950
Shell
vespakoen/alsa-cli
/toggle_mute.sh
UTF-8
391
3.265625
3
[]
no_license
#!/bin/bash # toggles everything on and off # example use: ./path/to/alsa-cli/toggle_mute.sh # make sure the scripts are executable: sudo chmod +x ./path/to/alsa-cli/*.sh current_volume=`cat db/current_volume` muted=`cat db/is_muted` if [ "$muted" == "1" ]; then /bin/bash ./set.sh $current_volume unmute echo "Unm...
true
532f40e0bebbdf4250a5b1748fa55de2e1c52c89
Shell
tillkuhn/letsgo2
/terraform/files/cloud-init.sh
UTF-8
9,729
3.53125
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash SCRIPT=$(basename $${BASH_SOURCE[0]}) # check https://docs.aws.amazon.com/AmazonECS/latest/developerguide/start_task_at_launch.html # created systemd service inline # chown $(id -u):$(id -g) file instead of ec2-user if [ $# -lt 1 ]; then set -- help fi if [ "$EUID" -ne 0 ]; then echo "[FATA...
true
cd7c9fcba5d85ddd67035deec59b931ac0a07a41
Shell
JRasmusBm/dotfiles
/bin/tmux-session-name-from-path
UTF-8
174
3.265625
3
[]
no_license
#!/bin/bash set -e _session_name_from_path() { folder_path="${1:-$(pwd)}" folder_name="${folder_path##*/}" echo "${folder_name//./_}" } _session_name_from_path "$@"
true
989855ee542b7fa1fae1a310bdc4acac4ec67c28
Shell
wfus/leddit
/data/download.sh
UTF-8
256
2.578125
3
[]
no_license
#!/bin/sh # The urls are in this format # https://files.pushshift.io/reddit/comments/RC_2018-10.zst # https://files.pushshift.io/reddit/comments/RC_2015-02.bz2 BASE_URL=https://files.pushshift.io/reddit/comments FILE=RC_2018-11.zst wget $BASE_URL/$FILE
true
3049e907989b84bbae5b2ea06b8e58e5957d37e8
Shell
diirt/flint
/flint-controller/bin/start-ioc.sh
UTF-8
565
3.53125
4
[]
no_license
#!/bin/bash if [ ! "$#" -eq 1 ]; then echo "Usage: $0 <ioc_name>" echo " $0 phase1" exit 1 fi BASEDIR=$(dirname $0) SOFTIOC_NAME=$1 cd $BASEDIR source controller.cfg case $IOC_START_METHOD in DIRECT) cd $BASEDIR/../../flint-ca/$SOFTIOC_NAME echo Starting IOC $SOFTIOC_NAME on $PORT from `pwd` ...
true
cb2c24fbc08fe42530f1f6f32e4a1354f23ea23f
Shell
rZn/dotfiles-3
/.local/bin/kargos/kvm.86400s.sh
UTF-8
2,455
3.234375
3
[]
no_license
#!/bin/bash echo "| refresh=true size=12 iconName=qemu" echo "---" vmdir="/1tb/vm" declare -a vmlist=( "${vmdir}"/*.qcow2 ) trim=(/1tb/vm/ .qcow2) for tr in "${trim[@]}" do vmlist=("${vmlist[@]/$tr}") done echo "Virt-Manager | bash='/usr/bin/virt-manager' iconName=virt-manager" shopt -s nocasematch for i in "${v...
true
a0e31e51feb8519b7ad387f3b31f8d52af4e9122
Shell
aldwinb/logspout-viewer
/run-logspout.sh
UTF-8
449
3.421875
3
[]
no_license
#!/usr/bin/env bash if [ "$(docker ps -f name=logspout-1 --format "{{.Names}}" | wc -l)" -eq "0" ] ; then echo "Creating logspout-1" docker run \ --name logspout-1 \ -v /var/run/docker.sock:/var/run/docker.sock \ -p 9001:80 \ -d gliderlabs/logspout:latest \ syslog://logs.papertrailapp.com:55555 1> /dev/n...
true
2831f765cf0683d7c1e8dee64a21e38b1dd3de35
Shell
9bug/melpa-stable
/mirror.sh
UTF-8
2,163
3.859375
4
[]
no_license
#!/bin/bash set -euxo pipefail SOURCE_BRANCH="master" TARGET_BRANCH="gh-pages" DEPLOY_KEYS_DIR="$HOME"/deploy_keys declare -A RSYNC_URLS=( [melpa]=rsync://melpa.org/packages/ [melpa_stable]=rsync://stable.melpa.org/packages/ ) declare -A GIT_REPOS=( [melpa]=git@github.com:9bug/melpa.git [melpa_stable]...
true
c3c65258e61296356fa0dbf74b3de9162d9bef73
Shell
HaosCarroll/z_haos_bash
/haos_bash/clone_gists.bash
UTF-8
589
2.96875
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
:<<EOF EOF # ToDo: Make it name the folders with the gists name rather then its ID. # This clones each gist into a folder using the gists ID to name the folder. gist -l | grep -Eo '(http|https)://[^ ]+' | awk '{print $1".git"}' | while read -r line; do git clone "$line"; done # This list the URLs for cloning an authen...
true
f4a92c021b3d8330da8d3aeef68da1139ea820f2
Shell
gpiancastelli/hgbook-it
/ja/examples/branching
UTF-8
965
3.203125
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#!/bin/bash #$ name: init hg init main cd main echo 'This is a boring feature.' > myfile hg commit -A -m 'We have reached an important milestone!' #$ name: tag hg tag v1.0 hg tip hg tags #$ name: main cd ../main echo 'This is exciting and new!' >> myfile hg commit -m 'Add a new feature' cat myfile #$ name: updat...
true
19cf92394d5edb706e4c34c4c3d2f52e3a95682f
Shell
lidegui46/dockerFile
/document/start_app_container_8090.sh
UTF-8
2,262
3.546875
4
[]
no_license
#!/bin/bash # 运行环境 appDirectory="/opt/app" sourceDirectory="${appDirectory}/source" runtimeDirectory="${appDirectory}/runtime" backupDirectory="${appDirectory}/backup" # 项目变量 appName_dockerFile="dockerFile" gitUrl="https://github.com/lidegui46/${appName_dockerFile}.git" # 创建源代码目录 if [ ! -d "${sourceDirectory}" ] ; t...
true
9120937d30303b1099b25ab43547a3e49f28aee7
Shell
dcm4che-dockerfiles/slapd
/bin/setenv.sh
UTF-8
732
3.28125
3
[]
no_license
#!/bin/sh if [ "${LDAP_ROOTPASS:-}" ]; then if [ "${LDAP_ROOTPASS_FILE:-}" ]; then echo >&2 "error: both LDAP_ROOTPASS and LDAP_ROOTPASS_FILE are set (but are exclusive)" exit 1 fi elif [ "${LDAP_ROOTPASS_FILE:-}" ]; then LDAP_ROOTPASS="$(< "${LDAP_ROOTPASS_FILE}")" unset LDAP_ROOTPASS_FILE else LDAP...
true
cbec89cd9a8096dcdf6d896f9631bf91e49cff60
Shell
davad/discord-standupbot
/docker-entrypoint.sh
UTF-8
414
3.140625
3
[ "Apache-2.0" ]
permissive
#!/bin/sh set -e export PGDATABASE=${DATABASE_NAME} export PGUSER=${DATABASE_USER} export PGPASSWORD=${DATABASE_PASSWORD} export PGHOST=${DATABASE_HOST} export PGPORT=${DATABASE_PORT} until psql -l; do >&2 echo "Postgres is unavailable - sleeping" sleep 1 done >&2 echo "Postgres is up - continuing" if [ "x$...
true
93f3315176d7841ac1222b2cd0cac39bdcbd24fa
Shell
xyuan/etl
/scripts/release_debug_compile.sh
UTF-8
921
3.484375
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash make clean max_memory="0.0" total="0.0" start=$(date "+%s.%N") for f in test/src/*.cpp do results=$(/usr/bin/time -v make release_debug/$f.o 2>&1) rss=$(echo "$results" | grep "Maximum resident set size" | rev | cut -d" " -f1 | rev) user_time=$(echo "$results" | grep "User time" | rev | cut ...
true
062f61ffe93546f4518a20f1be2f122ccba6a1d0
Shell
cqhVScls/ll
/src/main/java/edu/qianfeng/anlastic/hive/order/order.sh
UTF-8
3,318
3.328125
3
[]
no_license
#!/bin/bash start_date='' end_date='' #parser arguments ./en.sh -sd 2018-03-28 -ed 2018-03-29 until [ $# -eq 0 ] do if [ $1'x' = '-sdx' ] then shift start_date=$1 elif [ $1'x' = '-edx' ] then shift end_date=$1 fi shift done #set default date if [ ...
true
06a41632484eb54182f6580e9f1a9f492233fdee
Shell
d-w-d/tsdx-threejs-template
/_name_replacer
UTF-8
2,374
4.0625
4
[ "MIT" ]
permissive
#!/bin/bash # # Goes through codebase and replaces old names with new ones # Only run this after freshly cloning from the template repo ### Vars you need to name: ### CAUTION! Try to make your names 'unique' NEW_NAME='tsdx-threejs-template' NEW_CAMEL_NAME='TsdxThreejsTemplate' ### Extract old names form package.json ...
true
d6ba16058dadf0a8e60dff41dec64348ad85de49
Shell
ServerSide-CLS/homework
/2017212212248/adduser3.sh
UTF-8
1,270
4
4
[]
no_license
#!/bin/bash usage(){ echo "Usage: ${0} [-l All_length] [-s SPECIALCHAR_length] [-o DISORDER] USERNAME" >&2 echo 'Generate an acount with USERNAME and PASSWORD' echo ' -l All_length the total length of password' echo ' -s SPECIALCHAR_length Append special chars to the password' echo ' -o Disordering the password' ...
true
bb52c71735819e0df78276a15c6254056fcc9cbd
Shell
TakiyaHideto/hive_eleme
/dim_mdl_rst_normal_name_mapping.sh
UTF-8
1,562
2.8125
3
[]
no_license
#*************************************************************************************************** # ** 文件名称: dim_mdl_rst_normal_name_mapping.sh # ** 功能描述: 处理餐厅标准名称 # ** 创建者: jiahao.dong # ** 创建日期: 2016-11-11 #*************************************************************************************************** input_f...
true
5d5a908a33a4ca93ab824b7787bfd608e3f78505
Shell
cmantas/asap.cslab
/tests/test
UTF-8
2,717
3.359375
3
[]
no_license
#!/bin/bash docs_dir=$(dirname $0)/test_data docs_count=$(ls $docs_dir | wc -l) echo I have $docs_count documents hdfs_test_dir=/user/$USER/test docs_sequence=$hdfs_test_dir/docs_sequence mahout_vecs=$hdfs_test_dir/mahout_vectors spark_vecs=$hdfs_test_dir/spark_vectors arff_docs=/tmp/documents.arff arff_vecs=/tmp/tfidf...
true
86c8af39412339807590bbfe061523ba8da59516
Shell
MTBorg/msc-container-migration
/scripts/benchmarking/ping/start.sh
UTF-8
5,613
3.921875
4
[ "MIT" ]
permissive
#!/bin/sh # Script parameters: # # RUNNING_TIME: For how long (in seconds) to let the containers run before # starting the migration. # ITERATIONS: How times to run the benchmark. # OUTPUT_PATH: The path to the directory where to write the log files # CHAIN_LENGTH: What value to pass to the CHAIN_LENGTH environment va...
true
6763b7578206ed38e635997723c61683521727c4
Shell
minanon/functions.shell
/test/test.bash
UTF-8
3,551
3.03125
3
[]
no_license
#!/bin/bash . $(dirname ${0})/../functions.bash #in your bash script echo '### decorate test' echo $(decorate_string not decorate) echo $(decorate_string -b bold) echo $(decorate_string -s line-through) echo $(decorate_string -u underline) echo $(decorate_string -l blink) echo $(decorate_string -r reverse) echo $(d...
true
5a139e1b9d0376fc5cd441b39c3a343879748733
Shell
GaetanDesrues/RemoteController
/Client/push.sh
UTF-8
217
2.65625
3
[]
no_license
#!/bin/bash # Current dirname ROOT="$(dirname "$(realpath $0)")/.." # Docker image name IMG=gdesrues/remote_controller # Build image docker build -t $IMG $ROOT/Client ## Send to docker hub #docker push $IMG:latest
true
b1d3408799e02786ee828fdd1303cf851fb9ad5b
Shell
artus/azure-bigchaindb-templates
/etc/dependencies/make.sh
UTF-8
194
3
3
[]
no_license
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"; cd "$DIR"; source "../variables.sh"; if [ "$(check_installed 'make')" == "false" ]; then sudo apt-get install make; fi;
true
fa002d55c6edb34905bd3e2199d2fd2776192ee4
Shell
DVS-Lab/srndna
/code/L1_task-trust_model-01.sh
UTF-8
3,107
3.21875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash maindir=`pwd` TASK=trust sub=$1 run=$2 ppi=$3 # 0 for activation, otherwise name of the roi sm=$4 dtype=dctAROMAnonaggr # TODO: # 2) add logging option if running through a second time # 4) execute with datalad run -m "message" --input "derivatives/fmriprep/*" --output "derivatives/fsl/*" "bash...
true
d320a08e0a5defbe945adbd9a03249607db8182f
Shell
wcsyzj/ljohn_ops
/practise_scripts/scripts/shouserinfo.sh
UTF-8
351
3.125
3
[]
no_license
#!/bin/bash # read -p "Plz enter a username: " userName while [ "$userName" != 'q' -a "$userName" != 'quit' ]; do if id $userName &> /dev/null; then grep "^$userName\>" /etc/passwd | cut -d: -f3,7 else echo "No such user." fi read -p "Plz enter a userna...
true
0a2f822509a829dcccef6a48238968e34436aad6
Shell
MagicDataDev/MagicData-Chain
/start.sh
UTF-8
1,122
3.640625
4
[]
no_license
#!/bin/bash APP=$1 APP=${APP:-"FullNode"} START_OPT=`echo ${@:2}` JAR_NAME="$APP.jar" MAX_STOP_TIME=60 checkpid() { pid=`ps -ef | grep $JAR_NAME |grep -v grep | awk '{print $2}'` return $pid } stopService() { count=1 while [ $count -le $MAX_STOP_TIME ]; do checkpid if [ $pid ]; then kill -15 $pid...
true
f40a673a93ca7ab25454a5490d45815d6bdc86f8
Shell
49257620/reboot
/studysrc/shellstudy/funtest001.sh
UTF-8
280
3.0625
3
[]
no_license
myfun(){ echo "我的第一个函数" } myfun2(){ echo "第一个参数是 $0" echo "第二个参数是 $1" echo "第三个参数是 $2" echo "全部参数是 $@" echo "参数一共 $#" return $(($1+$2)) } myfun3(){ return $(($1+$2)) } myfun3 1 2 3 4 5 echo "返回值是 $?"
true
5cbb7f46b773c37faea335596c44cf03cefaf347
Shell
123srinu/Shell-Scripting
/shellscripting/comandsstoredinvariable.sh
UTF-8
113
2.8125
3
[]
no_license
#!/bin/bash LIST=`ls` DATE=`date` echo "Today's date is " $DATE echo "The files in the folder are " echo $LIST
true
db3b2673f07fbe1962e79fa571bf38c45519e98c
Shell
witekbobrowski/dotfiles
/install.sh
UTF-8
1,079
3.265625
3
[]
no_license
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)" # shellcheck source=lib.sh source "$DIR/lib.sh" separator='================================================================================' # Run script with shell config sh "$DIR/defaults/shell.sh" log "$separator" # Run script with macOS config ...
true
99c4a5102ce5e84c7c25109d6e50ccf1ad9b93be
Shell
edseymour/ocp-cu-demo
/code/create-demo-resources
UTF-8
1,137
3.171875
3
[]
no_license
#!/bin/bash DOWNLOAD_URL=https://github.com/jim-minter/ose3-demos/archive/master.zip GOGSHOST=$(oc get route gogs -o jsonpath='{.spec.host}' -n alm) GOGSURL=http://${GOGSHOST} GOGSUSER=demo GOGSPASS=r3dh4t mkdir monster-tmp pushd monster-tmp wget $DOWNLOAD_URL unzip master.zip ## create the initial user curl -v -...
true
9a7f5a33748db6f0c45e196ffb62d967ba6e8e8b
Shell
rogersxiao/PictureCompress
/ScriptPNG.sh
UTF-8
2,657
3.375
3
[]
no_license
#!/bin/bash if [ "$1" = '-help' ]; then echo "command like---->: srouce ScriptPNG.sh param" echo "---------------->: param is the png" return fi if [ ! -n "$1" ]; then echo 'please input correct command, more info by "-help"' return fi originalPng=$1 backupPng=$1".bak" cp $originalPng $backupPng echo ' ------...
true
96b70629ce669b9a41174c05e83ec08b037b3d4d
Shell
JrGoodle/clowder
/tests/old-scripts/swift/config_versions.sh
UTF-8
10,027
2.671875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # set -xv cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/.." || exit 1 . test_utilities.sh print_double_separator echo 'TEST: swift projects example test script' print_double_separator cd "$SWIFT_EXAMPLE_DIR" || exit 1 export project_paths=( 'swift' \ 'cmark' \ ...
true
5df4096cca648a7a8497c5ee12245111bcee6132
Shell
AnotherKamila/opennebula-exporter
/integration_test/run.sh
UTF-8
2,151
3.875
4
[ "MIT" ]
permissive
#!/bin/sh NAME='integration_test' TEMPLATE='internal-Debian 8' NIC='vm-internal' SSHPUB='./id_rsa.pub' SSHKEY='./id_rsa' STATS_FILE='/service/node_exporter/textfiles/opennebula_backend_integration_test.prom' METRIC='opennebula_backend_integration_test' STAGES="create ping_in ssh_in ping_out http_out cleanup" set -e...
true
f65044f07cecaf09eaf7a951127c1d78a88a5f08
Shell
bmesnet/snap
/hardware/setup/snap_config.sh
UTF-8
3,317
3.0625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash ############################################################################ ############################################################################ ## ## Copyright 2016,2017 International Business Machines ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this fi...
true
0e26220a1ef763fae723b4f5087b513ccb9c2c89
Shell
soundmonster/dotfiles
/bin/mkdirdate
UTF-8
114
3.09375
3
[]
no_license
#!/usr/bin/env sh DIRNAME=$(date "+%Y-%m-%d") if [ "$1" != "" ]; then DIRNAME="$DIRNAME-$1" fi mkdir "$DIRNAME"
true
74c946ac740fd545924d9f0419a19dbbe11acc63
Shell
LizaTretyakova-zz/au_containers_2017
/tools/bin/aucont_stop
UTF-8
206
3.09375
3
[]
no_license
#!/bin/bash if [ $# -eq 2 ] then echo "[AUCONT_STOP] signal $2 provided" sudo kill -s $2 -- $1 else echo "[AUCONT_STOP] no signal provided" sudo kill $1 fi sudo rm -rd /test/images/$1
true
1f471ba577dd11e017f5e812ad205b1a726889aa
Shell
pganalyze/collector
/packages/test/systemd_test.sh
UTF-8
645
3.140625
3
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "PostgreSQL", "CC0-1.0" ]
permissive
#!/bin/bash set -x set -e # Verify that we're running after package installation systemctl status pganalyze-collector | grep -q running # Verify that we're running as a non-priviledged user ps u -U pganalyze | grep -q pganalyze-collector # Give collector time to do initial start up and be able to handle SIGHUP # (t...
true
e1b31db6f9e6f289459b7f2718f49af003441a9c
Shell
compgenomics2018/g2-prediction-team2
/scripts/concatenateGffs.sh
UTF-8
557
3.171875
3
[]
no_license
#!/bin/bash # Paths to clean GFFs ncRNA_path="/projects/data/gene_prediction_team2/gff_ncRNA_merged/clean" abInitio_path="/projects/data/gene_prediction_team2/gff_ab_initio_merged/clean" output_path="/projects/data/gene_prediction_team2/Final_Predictions_Merged" for f in $ncRNA_path/*.gff; do # both the gffs have th...
true
21647d5d46e4b930cdaf6faa5299d3a1d80569cd
Shell
wcarhart/aerogram
/aerogram_renderer.sh
UTF-8
5,711
3.96875
4
[ "MIT" ]
permissive
#!/bin/bash trap received_message SIGUSR1 # default settings CONTENT="" PROMPT="> " COLOR="green" # parse options RECEIVER="${1#*=}" IP="${2#*=}" PORT="${3#*=}" USER="${4#*=}" RECV="${5#*=}" DISPLAYNAME="${6#*=}" if [[ "$DISPLAYNAME" == "" ]] ; then DISPLAYNAME=`whoami` fi PTH=/home/$RECEIVER if [[ "$USER" == "roo...
true
da9b236b41f46d6399353787ea166f22564b4f48
Shell
QuanGuo/bigbox
/scripts/init.sh
UTF-8
3,548
2.59375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash [ ! -f /etc/profile.d/bigbox.sh ] && touch /etc/profile.d/bigbox.sh source /etc/profile.d/bigbox.sh source /etc/bashrc cat >> /etc/profile.d/bigbox.sh <<'EOF' # Hadoop Base export ZOOKEEPER_HOME=/usr/lib/zookeeper export ZOOKEEPER_CONF_DIR=/etc/zookeeper/conf export HADOOP_HOME=/usr/lib/hadoop ex...
true
5852ae1a12232a56e3ecf40ded43177b7ae2b15d
Shell
marinnedea/Az-Cli-2.0-scripts-collection
/fixuuidfstab.sh
UTF-8
2,990
4.1875
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # # You have to be logged in to AzCli to run this. # az login # The script will iterate through all subscriptions, identify which VMs are # running Linux and have disks attached; if the VMs are deallocated, the script # will check if the VM is generalized (prepared to become an image). If the VM ...
true
2a506a8c2be63322176d2df230fe7706e49370fa
Shell
AriLFrankel/handy-hooks
/update-authors.sh
UTF-8
1,007
3.625
4
[]
no_license
#!/bin/bash main () { local root="$(git rev-parse --show-toplevel)" local hook=$root/.git/hooks/post-commit # disable post-commit hook temporarily # to avoid recursively calling post-commit chmod -x $hook # reset the AUTHORS file echo -e $"# Authors orderd by date of first contribution \n\n" > $root/AUT...
true
6aee780a4da52501aa6fd32d89327432979f89e5
Shell
delkyd/alfheim_linux-PKGBUILDS
/diffpdf/PKGBUILD
UTF-8
1,187
2.6875
3
[]
no_license
# Contributor: Hoàng Đức Hiếu <arch@zahe.me> # Contributor: Fernando # Maintainer : Marcos Heredia <chelqo@gmail.com> pkgname=diffpdf pkgver=2.1.3.1 _pkgver=953510df882d5b4ebb2e91a3315f163d728ce1bb pkgrel=1 pkgdesc="Diffing pdf files visually or textually" #url="http://www.qtrac.eu/diffpdf-foss.html" url="https://gitl...
true
da2bf46f5c8dc92b06ffc622879dbfba2fa705ce
Shell
NARKOZ/ale
/test/script/custom-checks
UTF-8
2,458
3.359375
3
[ "BSD-2-Clause" ]
permissive
#!/usr/bin/env bash set -e set -u exit_code=0 docker_flags=(--rm -v "$PWD:/testplugin" -v "$PWD/test:/home" -w /testplugin "$DOCKER_RUN_IMAGE") echo '========================================' echo 'Running custom linting rules' echo '========================================' echo 'Custom warnings/errors follow:' ech...
true
92c04e07eee6bb91703d6a211c3e645f37c2f66c
Shell
tomek113/linBackup
/backup.sh
UTF-8
1,948
4.15625
4
[]
no_license
#!/bin/bash HOME_DIR="Cannot be empty" PROFILE_NAME=$1 function checkStatus { if [ "$?" -ne 0 ] then echo "ERROR: Backup failed." exit 1 fi } function runBackup { for PROF in $PROF_LIST do grep...
true
15aeb884aa02ce54d45dff2c9351bcfd6851fb08
Shell
brian-watkins/elmer-package-server
/scripts/makeElmDoc.sh
UTF-8
1,127
2.96875
3
[ "MIT" ]
permissive
#!/bin/sh set -e if [ $# -ne 1 ] then echo "makeElmDoc <path to elmer>" exit 0 fi ELMER_DIR=${1} ELMER_PACKAGE_SERVER_PUBLIC_DIR=./app/public pushd elm-doc . ./bin/activate ./bin/elm-doc ${ELMER_DIR} \ --output docs \ --exclude 'Elmer.Html.Node,Elmer.Http.Send,Elmer.Http.ToTask,Elmer.Spy.Arg,Elmer.S...
true
0c4e47b73356cc8a9e65defc3dc2dc045e084a95
Shell
celiofilhozup/ritchie-formulas
/charlescd/create/k8s-namespace/src/formula/create_namespace.sh
UTF-8
388
3.25
3
[]
no_license
#!/bin/sh runCreateNamespace() { echo $"$KUBECONFIG" > /tmp/kubeconfig-rit kubectl --kubeconfig /tmp/kubeconfig-rit create namespace $1 if [ "$2" == "yes" ]; then echo "Enabling Istio on namespace $1" kubectl --kubeconfig /tmp/kubeconfig-rit label namespace $1 istio-injection=enabled el...
true
83807b9d1cee54b3ca18b8362ea9001338548408
Shell
isabella232/data-fixer
/deployment/manage.sh
UTF-8
7,186
4
4
[]
no_license
#!/bin/bash # # This script will bootstrap the creation of a cloud.gov deployment # environment, to be managed via Terraform. # #set -eo pipefail LOGIN_GOV_SERVICE=login-gov LOGIN_GOV_ISSUER="urn:gov:gsa:openidconnect.profiles:sp:sso:gsa:ai_experience" TERRAFORM_SERVICE=terraform-user TERRAFORM_SERVICE_KEY=${TERRAFOR...
true
1c5db11b45de13b554f2c170a9a55cd1baae8ab2
Shell
graphicfox/docker-base-images
/php73/php73/opt/build.sh
UTF-8
545
3.359375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Runs when the container is being build # Load global aliases source /root/.bashrc # Create additional directories if required if [ -f "/opt/project/directories.sh" ]; then source /opt/project/directories.sh fi # Used as a hook to run the build script of our dev container if [ -f "/opt/dev/build.sh" ...
true
75397681955ba81ed8c2e44eee21c045f3f032b4
Shell
aleenaanju/sample
/facto.sh
UTF-8
152
3.453125
3
[]
no_license
echo "ENTER A NUMBER-" read n fct=1 i=1 while test $i -le $n do fct=`expr $fct \* $i` i=`expr $i + 1` done echo "THE FACTORIAL OF THE NUMBER IS -" $fct
true
b38d66f8856717a0e4eaff602fa609a7e9a5a096
Shell
JzHartmut/Test_emC
/src/load_tools/+loadTools.sh
UTF-8
363
2.53125
3
[]
no_license
if test -d ../../src/load_tools; then cd ../..; fi if ! test -d tools; then mkdir tools; fi cp src/load_tools/+load_tools.sh tools cp src/load_tools/tools.bom tools cp src/load_tools/vishiaMinisys.jar tools cd tools echo Resolve dependencies, check tools/bomVishiaJava.txt echo dir=$pwd java -cp vishiaMinisys.jar o...
true
4a0490bdfb92346951e996070a394a0e40f8fa84
Shell
progetto-ibsi/ibsi-node-besu
/ansible-bootstrap/deploy/print_bootnodes.sh
UTF-8
280
2.625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash BN="bootnodes=[\"$(paste -d\| $(ls /var/besu/scripts/deploy/cryptofiles/node*/enode) | tr -d '\n'| sed 's/|/","/g')\"]" sed -i 's|bootnodes=.*|'$BN'|' ../deploy/besu/template/config.toml echo "Lista bootnode sostituita correttamente nel file template config.toml"
true
5bbd09782c6d92022ea5a185676bfe74a3627acd
Shell
AndressaFarias/Atividades-FastTrack
/Shell/verifyCert.sh
UTF-8
886
3.203125
3
[]
no_license
#1/bin/bash echo ' --- Scrip para verificar a validade do certificado do dominio informado ---' echo " " echo Hoje é dia $(date +"%d %b %Y") # Obtém a data de expiração doo certificado do dominio informado validadeCertificado=$(openssl s_client -connect $1:443 2>/dev/null | openssl x509 -noout -dates | tail -1...
true
41a34d63a0f002dcb3fb50dc827ffc0398e24fe3
Shell
philipwilliamevans/friendly-guacamole
/build.sh
UTF-8
398
2.71875
3
[]
no_license
#!/bin/bash export TERM=${TERM:-dumb} # cp -rv animated-spork jar-files echo "Copying input files to output directory" cp -R friendly-guacamole/. jar-files echo "Directory listing of friendly-guacamole" ls -al friendly-guacamole echo "Directory listing of jar-files" ls -al jar-files echo "CD" cd jar-files echo "Curren...
true
970e4dc51be9c973d9826ed421ac8637a28a3324
Shell
bAvenir/node_xmpp
/run.sh
UTF-8
507
3.03125
3
[]
no_license
#!/bin/sh WORKDIR=${PWD} # BUILD VAS docker kill xmpp_node >/dev/null 2>&1 docker rm xmpp_node >/dev/null 2>&1 # docker rmi xmpp_node >/dev/null 2>&1 docker build -f ${WORKDIR}/Dockerfile.xmpp_node -t xmpp_node ${WORKDIR} # CREATE FOLDERS mkdir -p -m 755 ~/docker_data/logs/ mkdir -p -m 777 ~/docker_data/logs/xmpp_no...
true
70a1a49fad4a70020430e82bd59a73d7e03510a3
Shell
aerorahul/OSXpkgs
/build_base.sh
UTF-8
1,863
3.734375
4
[ "Apache-2.0" ]
permissive
#!/bin/sh set -e export STACKROOT=$(pwd) # Source configuration options config=${1:-"config/config.sh"} source $config set -x # First determine if COMPILER needs to be built or loaded case ${BUILD_COMPILER} in "native-module") echo "USING NATIVE COMPILER MODULE" module load $COMPILER ;;...
true
c79b8a90785fac0c007dee1ee3e2f8d2b9333288
Shell
JacksonKearl/eslint-organizeImports-codeactions
/build.sh
UTF-8
219
2.546875
3
[ "MIT" ]
permissive
#!/bin/bash # run `npx ncc build thing/index.ts -o thing -m` for each `thing` directory that contains `action.yml` find **/action.yml -print \ | xargs -n1 dirname \ | xargs -P 8 -I % npx ncc build %/index.ts -o % -m
true
3dda3c8b9a1089726ab5f8b9fb7d3f10c9f3a4c9
Shell
aur-archive/gearmand
/PKGBUILD
UTF-8
689
2.515625
3
[]
no_license
pkgname='gearmand' pkgver='0.28' pkgrel='1' pkgdesc='Gearman is an application framework designed to distribute appropriate computer tasks to multiple computers.' arch=('i686' 'x86_64') url="http://gearman.org/" license=('Simplified BSD License') makedepends=('boost>=1.39.0') optdepends=() depends=('boost-libs>=1.39.0'...
true
f015ab6952d042546787b34827009122a24b6585
Shell
roboconf/roboconf-release-scripts
/scripts/10.examples.sh
UTF-8
2,710
3.296875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Copyright 2014-2017 Linagora, Université Joseph Fourier, Floralis # # The present code is developed in the scope of the joint LINAGORA - Université # Joseph Fourier - Floralis research program and is designated as a "Result" # pursuant to the terms and conditions of the LINAGORA - Université Joseph # Fou...
true
677c07166beb4013774a49e5948ad9193046a9de
Shell
Prasanna-Nanda/dice
/dice.sh
UTF-8
124
3.0625
3
[]
no_license
#!/bin/bash diceNum=$(( RANDOM%6 + 1)) case $diceNum in 1) echo " first face " ;; *) echo " not among six face " esac
true
79cd7e1d21e9b0928d2e499d746140951b85057b
Shell
SleepinDevil/wildstar-map
/original/west/rename.sh
UTF-8
121
3.0625
3
[]
no_license
#!/bin/bash for f in $(ls); do name=$(echo $f | cut --fields=2 --delimiter=.) name="$name.png" convert $f $name done
true
c65e45ca393f65c8e1b4dce0c83db71446783bc3
Shell
rosafilgueira/DARE_SEISMO
/specfem3d/specfem3d_test_input_cwl/env_preparation.sh
UTF-8
953
3.34375
3
[]
no_license
#!/bin/bash set -x echo "running example: `date`" currentdir=`pwd` # sets up directory structure in current example directory echo echo " setting up example..." echo # cleans output files mkdir -p $STAGED_DATA/results/OUTPUT_FILES rm -rf $STAGED_DATA/results/OUTPUT_FILES/* # links executables # stores setup cp -...
true
4fe281a4e23cdfb7dbef0880f7c1af1e55adca9a
Shell
hawkeyes1094/5th-sem-labs
/OSL/week_2/example_script.sh
UTF-8
321
3.46875
3
[]
no_license
#!/bin/bash echo "The name of this script is $0" echo "The first arguement is $1" echo "A list of all arguements is $*" echo "This script places the date into a temporary file" echo "called $1.$$" date >$1.$$ #redirect the output of the file ls $1.$$ #list the file cat $1.$$ #output the file rm $1.$$ #remove the file ...
true
1580b9c1adb3c0beb57650ad7d86f39ac5c09d78
Shell
aleks-sidorenko/dotfiles
/bash/plugins/project/project.plugin.sh
UTF-8
1,457
4.09375
4
[]
no_license
#!/usr/bin/env bash # Project root directory export PROJECT_ROOT="${HOME}/Projects" export PROJECT_CURRENT="${PROJECT_ROOT}/Current" export PROJECT_NAME_FILE="${PROJECT_CURRENT}/.project" project_root() { cd $PROJECT_HOME } project_unset() { _clear_project_name export PROJECT_NAME= export PROJECT_H...
true
7ef7342d8dcb0a3f52372f753698c05276a37b5a
Shell
mkol5222/tpapi_cli
/download_report.sh
UTF-8
2,623
4.125
4
[]
no_license
#!/bin/bash TEAPIKEY="TE_API_KEY_s0hooUsyRAuWJkwePoRiVWDpiwyctpjUjalsOzsv" function extract_full_report { # report folder TEREPORTFOLDER="/tmp/tereport-${TEREPORT}" # test folder already exists if [ -d $TEREPORTFOLDER ] then echo "Error: directory $TEREPORTFOLDER already exists. Remove it an...
true
c3ce8a76bf91f1e6d8f2d10118fcc54ce59a4847
Shell
survivant/run-java-sh
/test/t/environment.bash
UTF-8
345
2.8125
3
[ "Apache-2.0" ]
permissive
# Shell to use for tunning the tests TEST_SHELL=${TEST_SHELL:-bash} # Directory holding the source code RUN_JAVA_DIR=$(cd "$BATS_TEST_DIRNAME/../../fish-pepper/run-java-sh/fp-files" && pwd) # Run java script RUN_JAVA="${RUN_JAVA_DIR}/run-java.sh" # Directory holding the test jars TEST_JAR_DIR=$(cd "$BATS_TEST_DIRNA...
true
dae1eb46b0fa13a76fc7c9f14865ac67e6ea4c71
Shell
ncarrier/dfuse
/git_hooks/pre-commit
UTF-8
561
3.421875
3
[]
no_license
#!/bin/sh # # pre-commit hook which : # * runs checkpatch for conding-style policy enforcement # * performs unit tests on the library by running "commit-unit-tests" set -e tag="[GIT PRE-COMMIT HOOK]" echo ${tag} Running checkpatch.pl on the commit if git rev-parse --verify HEAD 2>/dev/null >/dev/null then agains...
true
007b36206760212820c5b37eba43a30c7a787dc8
Shell
Ciroye/peoples-speech
/scripts/recipes/librispeech/run.sh
UTF-8
3,354
2.90625
3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash set -euo pipefail source ./path.sh lm_url=www.openslr.org/resources/11 work_dir=work_1a stage=3 mkdir -p $work_dir #bazel build -c opt --cxxopt='-std=c++14' lingvo:trainer third_party/kaldi/... @openfst//... galvasr2/... if [ $stage -le 1 ]; then local/download_lm.sh $lm_url $work_dir/data/local/l...
true
96f4df8a9b828129accb2988ec6522d35a291172
Shell
ajobayer/VendorSourceCodeSync
/git.sh
UTF-8
781
3.328125
3
[]
no_license
#!/bin/bash -xe source=$1 [ -z "$source" ] && exit 1 shift target=$1 [ -z "$target" ] && exit 1 shift refspec=$1 [ -z "$refspec" ] && exit 1 shift push_args=$@ here=`dirname $(readlink -f $0)` proxy=$here/proxy if [ ! -e repo ]; then GIT_PROXY_COMMAND=$proxy/socks-gw \ GIT_SSH=$proxy/socks-ssh \ HTTP_P...
true
a192d2cc392b1421063041fab9c1bdb00d3a6140
Shell
larry-fuy/opendds-crossplatform
/setup_network.sh
UTF-8
829
3.421875
3
[]
no_license
#!/bin/sh # static ips for InfoRepo, Publisher and Subscriber net_ip=172.19.0.1 # rebuild vbox bridge to let it connect to docker bridge brctl show | grep vboxnet0 if [ "$?" -ne 0 ]; then # if vboxnet0 is created by VirtualBox, delete it ifconfig vboxnet0 > /dev/null 2 >&1 if [ "$?" -eq 0 ] ; then echo "D...
true
39d0035fae2e40ddd27d3c770fff63372a19fbb6
Shell
ryderdamen/neo4j-backup-to-gcs
/neo4j_backup_to_gcs.sh
UTF-8
981
3.5
4
[]
no_license
# This script backs up a Neo4J Database to Google Cloud Storage # Dependencies: initialized gsutil / gcloud command line tool with storage bucket write access, neo4j # Notes: # * Add `bash /path/to/neo4j-backup-to-cloud.sh` to crontab to easily schedule backups # * Edit variables in CONFIG section to personalize and c...
true
a4912d82c1895363769e74173be819cdea0b474a
Shell
lsflsf520/scripts
/mysql_restart.sh
UTF-8
305
3.03125
3
[]
no_license
#!/bin/bash MYSQL_PID=`ps aux | grep mysqld | grep -v grep | awk '{print $2}'` if [ ! -z "$MYSQL_PID" ];then /etc/init.d/mysql stop sleep 3 MYSQL_PID=`ps aux | grep mysqld | grep -v grep | awk '{print $2}'` if [ ! -z "$MYSQL_PID" ];then kill -9 $MYSQL_PID fi fi /etc/init.d/mysql start
true
e0ad7b97b24b56c1e3c457fbfe52024afed9670d
Shell
victorpablosceruelo/jenkins_api_client
/install_gem.sh
UTF-8
1,711
3.15625
3
[ "MIT" ]
permissive
#!/bin/bash echo " " echo "gem uninstall jenkins_api_client --all --ignore-dependencies --no-check-development --force" gem uninstall jenkins_api_client --all --ignore-dependencies --no-check-development --force echo "Removing old installation files ... " IN_OS=$(find /usr/local/ -type d | grep -i jenkins_api_clien...
true
56f23bbe5361b7a47d9c71ff520d2188ecb54301
Shell
paravp/informal-video-durations
/getInformalVideoDuration.ksh
UTF-8
5,145
3.921875
4
[]
no_license
#!/bin/bash # Pass in mov, mp4 or MTS exactly to get total duration of videos from current folder to MAXDEPTH of where script is puts. # How to run manually: # Place file in the folder where you have all videos. # Then on terminal execute "./getNestedVideoDurationsFinal.kshs" to get total times of all three file types...
true
de18bdafa00ab22ac18cc885b6fb959d8f78db7a
Shell
indeedwatson/rofi-twitch
/rofi-twitch
UTF-8
1,154
3.171875
3
[]
no_license
#!/bin/bash # Twitch launcher for rofi # Supports chat popout via browser [ -z "$XDG_CONFIG_HOME" ] && XDG_CONFIG_HOME="$HOME/.config" mkdir -p "$XDG_CONFIG_HOME" source "$XDG_CONFIG_HOME/rofi-twitch/settings" twitch=https://www.twitch.tv [ -z $user ] && echo "You should set your username in \ ~/.config/rofi-twit...
true
c40508f0264cbbf8faecb1ca7f3dde78f7f0a711
Shell
iu-parfunc/gibbon
/gibbon-compiler/examples/fusion-benchmarks/asts/gen_asts.sh
UTF-8
179
2.71875
3
[]
no_license
#!/bin/bash set -e set -o pipefail depths=(1 2 4 8 16) for d in "${depths[@]}" do racket gen-lc.rkt $d ast_$d.sexp ast_$d.gpkd echo "Wrote ast_$d.sexp ast_$d.gpkd" done
true
a210f51a7f8d318363f5c8b1a20655f538c7f070
Shell
ppc64le/build-scripts
/f/formatjs/formatjs_ubi_8.3.sh
UTF-8
1,285
3.265625
3
[ "Apache-2.0" ]
permissive
#---------------------------------------------------------------------------- # # Package : formatjs # Version : v2.2.0 # Source repo : https://github.com/formatjs/formatjs.git # Tested on : ubi:8.3 # Script License : Apache License, Version 2 or later # Maintainer : srividya chittiboina...
true
a4479380ab5543bd75b797db92fc0c084eb0f7d9
Shell
mareksamec/bspwm-cygwin
/examples/external_rules/external_rules
UTF-8
196
3.0625
3
[ "BSD-2-Clause" ]
permissive
#! /bin/sh wid=$1 class=$2 instance=$3 if [ "$instance" = fontforge ] ; then title=$(xtitle "$wid") case "$title" in Layers|Tools|Warning) echo "focus = off" ;; esac fi
true
982a2f217ad3e4bc0867f4448dc88c402bde76e6
Shell
Shopify/rbs_parser
/test/test.sh
UTF-8
2,958
3.84375
4
[ "MIT" ]
permissive
#!/bin/bash TESTS=0 ERRS=0 run_tests() { cmd=$1 tests_dir=$2 res_dir=$3 out_dir="out/$(basename "$1")" mkdir -p "$out_dir" for file in $(find "$tests_dir" -name "*.rbs" | sort); do run_test "$cmd" "$file" "$res_dir" "$out_dir" done } run_test() { cmd=$1 file=$2 res_d...
true
30f6a9191769eb3f7c5ed7e243969b4bfd452fe9
Shell
MyRequiem/LFS
/stage-2-blfs-stable-x86_64/build/d/ruby.sh
UTF-8
2,000
3.421875
3
[ "MIT" ]
permissive
#! /bin/bash PRGNAME="ruby" ### Ruby (Interpreted object-oriented scripting language) # Объектно-ориентированный, интерпретируемый язык программирования. # Required: no # Recommended: no # Optional: berkeley-db # doxygen # graphviz # libyaml # tk # ...
true
776b315fa69ae1d34cf034e178ae2f53455762e0
Shell
zhangaz1/dotfiles-23
/bin/bin/qb_meta_open
UTF-8
2,213
3.4375
3
[]
no_license
#!/bin/sh # switch to tab with $url or open $url # if no url found, goto or open qutebrowser window # todo: consider basename domain vs fullname comparison url=$1 # domain= # domain=$(echo "$url" | awk -F/ '{print $3}') focus_qb_window() { for wid in $(bspc query -N -n .window); do if xprop WM_CLASS -id $wid | ...
true
f7dc1adcf386bbb0618ea1ac9854e1d1535f9353
Shell
ChefIronBelly/BSD-Configs
/open/home/.bin/m4a2mpg.sh
UTF-8
195
3.171875
3
[]
no_license
#!/bin/sh # chef # extract .mp3 from .webm OPTS="-acodec libmp3lame -ac 2 -aq 128k" for FILE in *.webm ; do OUTNAME=`basename "$FILE" .webm`.mp3 ffmpeg -i "$FILE" $OPTS "$OUTNAME" done
true
da704fc62f32ca7ba223f68657f208d79eac2894
Shell
josemolinag/galicia-covid19
/datos_nueva_web_sergas/mapas_concellos/download_today_map.sh
UTF-8
836
3.21875
3
[]
no_license
#!/bin/bash DATE=$(date +"%Y%m%d") MAP_ID=$(wget -O - https://coronavirus.sergas.es/datos/libs/hot-config/hot-config.txt | grep CASES_MAP | sed -e 's/.*: "\(.*\)".*/\1/g') # redirect if needed... wget -O /tmp/mapa-covid.html https://datawrapper.dwcdn.net/${MAP_ID}/1/ while [ "$(grep "REFRESH" /tmp/mapa-covid.htm...
true
4af91d49720f14a2006715de4ebfc59fc3226da8
Shell
jameskaxi/IBL
/ibl/src/util/symExtract/symExtract
UTF-8
643
4.09375
4
[]
no_license
#!/bin/bash # Simple script to extract addresses from a linker command file and # reformat for input into a second linker command file # # usage: symExtract <input file> <output file> symbol1 [symbol2 ...] # if [ $# -lt 3 ]; then echo usage: $0 \<input file\> \<output file\> symbol1 \[symbol2 ...\] exit fi args=(...
true
135165b30331bb6be62b4e678ec00c584413cbc0
Shell
niceIrene/R2-Tree
/R2-Tree_source/ip_update.sh
UTF-8
686
3.265625
3
[]
no_license
# "ec2-user" can be replaced by "ubuntu" echo ***ip-update.sh*** read clientip < clientip.txt echo client sudo scp -i key.pem ip/client_ip.txt ubuntu@$clientip:~/client_ip.txt ############################################# declare -i a=0 ip=() while read line do #echo ip[$a]=$line ip[$a]=$line a=a+1 done < ip/iptabl...
true
072ba128b5ccace1b1164c9cf0379cda631e91c9
Shell
dgg32/maxbin2_checkm_slurm_illumina
/importer.sh
UTF-8
5,455
2.921875
3
[ "MIT" ]
permissive
#!/bin/bash script_folder=$(pwd) R1=$(find $1 -maxdepth 1 -regex '\S+fastq' -not -name "*trimmed*" | grep "R1" | head -n $SLURM_ARRAY_TASK_ID | tail -n 1) #R1=$(find $1 -maxdepth 1 -regex '\S+fastq' -not -name "*trimmed*" | grep "R1" | head -n 2 | tail -n 1) R2=${R1/R1/"R2"} R1trim=${R1/.fastq/"_trimmed.fastq"} ...
true
4ee09a7a03afe9f01ea8bebb0373a3ff05917cac
Shell
kapishmalik/parkingsystem
/parking_lot.sh
UTF-8
165
2.71875
3
[]
no_license
#!/bin/bash mvn clean install > mvn-build-output.txt if [ $# -gt 0 ] then java -jar target/parkingsystem-0.1.jar $1 else printf "Please provide input file path" fi
true
e7c8197dd30ce54fef20c34c7d6355314ab5bf85
Shell
henrikbrixandersen/dotfiles
/.zsh/functions/rmbak
UTF-8
554
3.671875
4
[]
no_license
# -*- mode: sh; -*- # # ZSH function to remove emacs backup files (*~ and .*~) in current # directory. Recursive mode is enabled with the -r option. # # Requires 'setopt LOCAL_OPTIONS'. # # Written by Henrik Brix Andersen <henrik@brixandersen.dk> unsetopt NOMATCH setopt GLOB_DOTS local recursive=0 while (( $# )); do...
true
a153a150310eae1ce07f138436ccb4240da4cc10
Shell
qixin5/debloating_study
/expt/debaug/benchmark/bzip2-1.0.5/testscript/I0/4
UTF-8
496
3.15625
3
[ "MIT" ]
permissive
#!/bin/bash BIN=$1 OUTDIR=$2 TIMEOUT=$3 INDIR=$4 cp $INDIR/list.txt ./ cp $INDIR/list1.txt ./ cp $INDIR/list2.txt ./ { timeout -k 9 ${TIMEOUT}s $BIN -k -v list*; } &>$OUTDIR/o4 echo "$?" >>$OUTDIR/o4 test -f list.txt echo "$?" >>$OUTDIR/o4 test -f list1.txt echo "$?" >>$OUTDIR/o4 test -f list2.txt echo "$?" >>$OUTD...
true
5d74cc8b0c64725052d7580634d429b35be6a5cd
Shell
CesarPicher/gitstart
/git-alias.sh
UTF-8
624
3.09375
3
[ "BSD-2-Clause", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/bash export LC_ALL=C # Only list for now git config --get-regexp ^alias | awk -vWIDTH="`tput cols`" ' { sub(/^alias\./,""); a[$1]=$0; n[$1] = $1; if (max<length($1)) max=length($1); } END { k = asort(n); for (i=0; ++i<=k; ) { b=n[i]; c=a[b]; sub(/^[^[:space:]]*[[:space:]]/,"",c); indent(b,c)...
true
3af833514bb83b062e269f30538e32b140390c0f
Shell
gougoudata/cygwin-1
/etc/preremove/autoconf2.5.sh
UTF-8
262
2.578125
3
[]
no_license
#!/bin/bash # remove unversion man pages pushd /usr/share/man/man1 >/dev/null 2>&1 for fn in autoconf autoheader autom4te autoreconf autoscan \ autoupdate config.guess config.sub ifnames do rm -f ${fn}.1.gz 2>/dev/null || /bin/true done popd >/dev/null 2>&1
true
cdfd2e9ed6e09e2c090d41c199591f18503d925a
Shell
aidatabases/Pathos
/script.sh
UTF-8
499
3.421875
3
[]
no_license
#!/bin/sh python3 hello.py # take inputs from the user echo "Which Function would you like to call ?" echo "Press 1 to call config Function" echo "Press 2 to call 'Load Schema' Function" echo "Press 3 to call 'Load tables' Function" echo "Press 4 to call 'Generate Transaction Table' Function" echo "Press 5 to call 'G...
true
45b76d4af7eb617fd5d3242abf6336c601bc04fe
Shell
tarmiste/lfspkg
/archcore/svnsnap/community/6tunnel/trunk/PKGBUILD
UTF-8
655
2.65625
3
[]
no_license
# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Anders Bergh <anders1@gmail.com> pkgname=6tunnel pkgver=0.12 pkgrel=1 pkgdesc="Tunnels IPv6 connections for IPv4-only applications" url="http://toxygen.net/6tunnel/" license=('GPL') arch=('x86_...
true
92c2784ef389827fbbf13ec40c78bf47348ae294
Shell
firosva7/linux
/lprime.sh
UTF-8
218
3.15625
3
[]
no_license
echo "enter limit" read a echo "prime numbers upto $a are:" for ((i=2;i<=a;i++)) do flag=0 for((j=2;j<=i/2;j++)) do k=`expr $i % $j` if [ $k -eq 0 ] then flag=1 break fi done if [ $flag -eq 0 ] then echo "$i" fi done
true
ca9771e61ca3a91ca649860172f5f46f9a075465
Shell
firefoxhome/shell-art
/statement/radix-point.sh
UTF-8
132
2.84375
3
[ "Unlicense" ]
permissive
#!/bin/bash a=30 b=8 div=$(echo "scale=6; $a / $b" | bc) echo $div div=`echo $a | awk '{ printf ("%.3f\n", $1 / 4) }'` echo $div
true
e2fefa9f99a1d2211a29c6a1f9c6e34c50061fa0
Shell
SnakeSel/YiHome_camera_http
/test/web/html/home.cgi
UTF-8
3,559
3.0625
3
[]
no_license
#!/bin/bash #source ./template/func ######################################## # Переменные ######################################## # Общая _uptime=$(uptime) #_firmware=$(cat /home/version | grep version -m1) _firmware=$(sed -n 's/version=\(........\).*/\1/p' /home/version) # Сеть _wifi=$(grep -m1 "ssid" /etc/wpa_su...
true
09c6b4d5723cddb26c5558c4c2375cd18d6de7ed
Shell
CMU-CREATE-Lab/chargecar
/car/archive_logs.sh
UTF-8
418
3.515625
4
[]
no_license
#!/bin/sh # #Author: Paul Dille #Purpose: Archive ChargeCar log files # current_date=$(date +"%Y%m%d") log_path="/root/chargecar/trunk/car/logs/" cd $log_path if [ ! -d "archived_logs" ]; then mkdir archived_logs fi output="archived_logs/""$current_date""_ChargeCar_logs.zip" zip -r $output . -i \*.log #tar cvzf $out...
true
7b3fae535592d310a5b79dc0f6c8b285e5986fe4
Shell
maciejmyslinski/dotfiles
/.zshrc
UTF-8
5,923
2.640625
3
[]
no_license
setopt NO_NOMATCH # If you come from bash you might have to change your $PATH. export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. ZSH=$HOME/.oh-my-zsh # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded...
true
c3002726774a57074d1757678bbfd0a16790e862
Shell
endlessc/alfred-bookmarks
/setup-test-dir.sh
UTF-8
557
2.875
3
[ "MIT" ]
permissive
#!/bin/bash -eu PROFILE=default FIREFOX_DIR="${HOME}/Library/Application Support/Firefox/Profiles/xxxxx.${PROFILE}/bookmarkbackups" CHROME_DIR="${HOME}/Library/Application Support/Google/Chrome/${PROFILE}" CHROME_BOOKMARK_FILE="Bookmarks" TEST_DIR="$(pwd)/pkg/bookmarker/" FIREFOX_TEST_FILE="${TEST_DIR}/test-firefox-bo...
true