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
f3036909caa75b82e583a07230be417647cff0c8
Shell
ecmwf/eccodes
/definitions/create_legacy_ecmf_defs.sh
UTF-8
2,514
4.3125
4
[ "Apache-2.0" ]
permissive
: set -eu # Usage: # $0 $paramId $paramId... # # This script will insert the local ECMWF GRIB2 representation # for each paramId into the files: # definitions/grib2/localConcepts/ecmf/paramId.legacy.def # definitions/grib2/localConcepts/ecmf/shortName.legacy.def # etc # This is normally run for those GRIB2 para...
true
0763b053879ceba9da648223b9aef0e739620b65
Shell
Griffin-Brome/qscu-linux-workshop
/scripts/tutorial/9-function.sh
UTF-8
233
3.28125
3
[ "MIT" ]
permissive
#! /usr/bin/env bash # Linux Scripting Tutorial Part 9: function function helloWorld() { echo "Hello world!" } helloWorld function greet() { echo "Hi, my name is $1 and I'm taking $2 in school" } greet "Barret" "Comp Sci"
true
82120d0c7d0d517dcba62157a8f3b0070dfa3570
Shell
duncan-f/dotfiles
/.local/bin/mpdstatus
UTF-8
171
2.53125
3
[]
no_license
#!/usr/bin/env sh playing=$(mpc current) status=$(mpc status | sed "/^volume:/d" | tac | tr '\n' ' ' | awk -F' ' '{print $1}') notify-send "Now Playing 🎵" "$playing"
true
9eb1dd6e8c6e35b5da14d728ecc2be99fa757ade
Shell
PFigs/wm-utils
/modules/whip_ui.sh
UTF-8
805
3.515625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # Copyright 2019 Wirepas Ltd licensed under Apache License, Version 2.0 function ui_debug { if [[ ! -z ${WM_UTS_DEBUG} ]] then echo $1 fi } function ui_errorbox { whiptail --title "Error" --msgbox "$1" 8 40 } function ui_main_menu { option=$(whiptail --title "Wirepas ...
true
0b7e3c23930a276d61da5867b04f1753371fe69e
Shell
mmussett/shoppingCart
/awscli/createCluster.sh
UTF-8
194
2.71875
3
[]
no_license
#!/bin/sh CLUSTER_ARN=`aws ecs describe-clusters --cluster bwce-cluster | jq '.clusters[0].clusterArn'` if [ -n "$CLUSTER_ARN" ] then aws ecs create-cluster --cluster-name bwce-cluster fi
true
cbbf4dbb1b0944842e93f68c8d3b3f88c16a4e4f
Shell
simonnagl/arch-config
/update_files.sh
UTF-8
2,495
4.5625
5
[]
no_license
#!/bin/sh # Usage: update_files.sh [Option]... check|out|in # # Check for changes of gatherd configuration files or # updates them. # # Optionen: # -c [FILE] FILE with a path list of configuration files # -f [FILE] Only check or update FILE # -h Print thus usage # # check: report which global files differ their ...
true
fc341bb33f3d596fb49871a7769ff7d93da943c8
Shell
felipeg48/coreos-osx-gui
/src/first-init.command
UTF-8
7,037
3.5625
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # first-init.command # CoreOS GUI for OS X # # Created by Rimantas on 01/04/2014. # Copyright (c) 2014 Rimantas Mocevicius. All rights reserved. ### Enable shared folder LOOP=1 while [ $LOOP -gt 0 ] do VALID_MAIN=0 echo "Do you want to enable NFS shared local folder '~/coreos-osx/share' to Cor...
true
7487caa9f6000b2b73ade0b6edc70402d454e7ad
Shell
taneeshnetworks/SkiffOS
/configs/skiff/core/root_overlay/opt/skiff/scripts/core-container.sh
UTF-8
3,297
3.78125
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e exec 5>&1 chown -R root:systemd-journal /var/log/journal/ info1() { echo " --> $1" } info2() { echo " ==> $1" } if [ ! -d "/opt/skiff" ]; then echo "Non-skiff system detected, bailing out!" exit 1 fi PERSIST_MNT=/mnt/persist TARGET_CORE_MNT=/mnt/core CORE_PERSIST=$PERSIST_MNT/core SKIFF_DI...
true
c8098ee635fe983071d5673586dff4bc87c4b3a3
Shell
rossbach/ptask
/ptaskUnitTest/finalpca.sh
UTF-8
1,705
2.546875
3
[]
no_license
#!/bin/bash ITERATIONS=3 SUCCEEDED=0 FAILURES=0 S=preNorm #for schedmode in 0 1 2 3; do dataaware=2 priority=1 maxconc=0 echo N,J,stmod,mod,handcode,cublas,ptask,cpu outpca=outpca if [ ! -e $outpca ]; then mkdir $outpca fi rm -rf $outpca/* for I in 10; do for J in 10 54; do for K in 3; do for N in 128 256 512; do f...
true
b2ddee1534b8ceabbe387d154a37b9707695d9f3
Shell
linzjs/linz-minitwitter-basic
/vagrant/mongodb.sh
UTF-8
428
3.421875
3
[]
no_license
#!/usr/bin/env bash if [ ! -e /etc/vagrant/mongo ] then echo ">>> setting up mongo shell and tools" # install mongo apt-get install -y mongodb-org # setup a place for our data to live (MongoDB) # groupadd -r mongodb # useradd -r -g mongodb mongodb mkdir -p /data/mongodb chown -R mongodb:mongodb /data/mongod...
true
3919ac8b8b83097eee56fc4fd06cb86d35d2679b
Shell
dvapelnik/centos66_php53_php-fpm
/start.sh
UTF-8
1,892
3.046875
3
[]
no_license
#!/bin/bash PHP_FPM_CONFIG_FILE=/etc/php-fpm.d/www.conf PHP_INI_FILE=/etc/php.ini # Use UNIX socket or port if [[ ${PHP_FPM_USE_SOCKET} -eq 1 ]]; then mkdir -p `echo ${PHP_FPM_SOCKET_PATH} | egrep -o '^\/.+\/'` sed -i "s/^listen = 127.0.0.1:9000$/listen = ${PHP_FPM_SOCKET_PATH//\//\/}/" ${PHP_FPM_CONFIG_FILE...
true
54a76feb6633c9ba33edda66e12c707756afe6dd
Shell
mmehride/MatRox_RU
/scripts/datash
UTF-8
235
2.5625
3
[ "MIT" ]
permissive
#!/bin/bash declare -a filearray=( " " "covtype" "higgs" "mnist" "susy" "letter" "pen" "hepmass" "gas" "grid" "random" "dino" "sunflower" "unit" ) rm data.csv for filename in "${filearray[@]}" do echo "$filename," >> data.csv done
true
f8f05d66378e4728b2a1b907e8629218594476e0
Shell
kazuya-k-ishibashi/ubuntu_kit
/newhtml.sh
UTF-8
1,766
3.8125
4
[]
no_license
#!/bin/sh # # newhtml.sh # # ----------------------------------------------------------------------------- # Purpose : foobarbaz # ----------------------------------------------------------------------------- # created : 2017.02.26 # author : kazuya ishibashi # # Description : # 1. hoge # 2. fuga # 3. piyo # # U...
true
d447afc6cf0905ff005b8ec3b565051a9ab7d8ce
Shell
Grokery/grokerylab
/scripts/createInitialAdminUser.sh
UTF-8
957
3.5625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # This script creats an initial admin user in a newly installed api. # It will fail with a 'Not Authorized' error if there are any users # already in the system. After initializing, you can log in to the # UI to create additional users. echo "Please enter apiUrl (default: http://localhost:8000/ap...
true
bfdaca4a157c72964df5e1d27697bea67c9b3a95
Shell
dram/smlnj-mirror
/osx-dist/components/scripts/postinstall
UTF-8
591
3.34375
3
[ "SMLNJ" ]
permissive
#!/bin/sh # # usage: # # postinstall <pkg-path> <dst-path> <dst-vol> <root-dir> # # where # # <pkg-path> Full path to the installation package the Installer application # is processing. For example: /Volumes/Users/jhr/Desktop/smlnj-x86.pkg # # <dst-path> Full path to the installation destination. For example: /usr/lo...
true
9a11a9b62dd5a2bacb49bdb0bf6b57263f15d196
Shell
dstroot/.osx-defaults
/defaults/dock.sh
UTF-8
4,479
2.5625
3
[ "MIT" ]
permissive
#! /bin/sh # ------------------------------------------------------------------------------ # Copyright (c) 2014 Dan Stroot # All rights reserved. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANT...
true
ae523eba4333568f4b1abf9cd527818c95ff03ec
Shell
salvolnn/CsInfoPa
/Algoritmi e Strutture Dati/Tesina ranking TTC Giugno 2008 by Sonic/src/tools/gaps_generator.sh
UTF-8
407
2.953125
3
[]
no_license
#!/bin/sh echo "/* -- block generated by $0 */" for i in $(grep _CLOSE tokens.txt) do echo gap_$(echo $i|sed 's/_CLOSE//'| tr '[:upper:]' '[:lower:]')" : $i { if ( DEBUG_LEVEL != 0 ) printf("'"reduce gaps '$i'\\n"'"); }" echo " | error { if ( DEBUG_LEVEL != 0 ) printf("'"reduce gaps '$i' ERR...
true
2aab130d8cae71bce776ebdeece6c443ca783f8d
Shell
FadeMind/archpkgbuilds
/AUR/dkms/spl-dkms/PKGBUILD
UTF-8
1,499
2.921875
3
[]
no_license
# # Maintainer: Iacopo Isimbaldi <isiachi@rhye.it> # pkgbase="spl-dkms" pkgname=("spl-dkms" "spl-utils") pkgver=0.6.5.6 pkgrel=2 license=('GPL') makedepends=("git") arch=("i686" "x86_64") url="http://zfsonlinux.org/" source=("git+https://github.com/zfsonlinux/spl.git#tag=spl-${pkgver}" "spl-utils.hostid") sha2...
true
ec86d80c655e5342de6443772a9e74c32f9ea56a
Shell
xsc/bashing
/src/tasks/uberbash.sh
UTF-8
1,743
3.984375
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # <help>create standalone bash script</help> TARGET_PATH="$PROJECT_ROOT/target" TARGET_FILE="$TARGET_PATH/$ARTIFACT_ID-$ARTIFACT_VERSION.sh" TARGET_FILE_COMPRESSED="$TARGET_PATH/$ARTIFACT_ID-$ARTIFACT_VERSION.gz.sh" TARGET_FILE_DEBUG="$TARGET_PATH/$ARTIFACT_ID-$ARTIFACT_VERSION.debug.sh" COMPRESS=...
true
b6c1131aa7379d920d59b2880d46304e3fbbe5d0
Shell
jeremybusk/supersimplescripts
/useraddsudo.sh
UTF-8
785
3.234375
3
[]
no_license
#!/usr/bin/env bash set -e if [[ -z $1 ]]; then echo "Usage: $0 <username for nopass sudo>" echo "ssh <myhost> "bash -s" -- < ./$0" exit 1 else username=$1 fi if [[ -z $2 ]]; then userpass=$(openssl passwd -6 -salt xyz $username) else userpass=$(openssl passwd -6 -salt xyz $2) fi userdel -rf $username || ...
true
7943cd05d51a01873b66df94859142d6c5b7a33c
Shell
charlottestoffel1213/deployement
/jenkins.sh
UTF-8
480
2.5625
3
[]
no_license
#!/bin/bash echo ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>INSTALLATION JENKINS<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' sudo apt-get u...
true
ecb0b02fe9b5bceb94d8a1657857d3c83132b704
Shell
LiberatorUSA/GUCEF
/dependencies/agar/agar-au-config
UTF-8
938
3.625
4
[ "Apache-2.0", "Bitstream-Vera", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
#!/bin/sh # Generated for Agar by BSDBuild 3.2. # <http://bsdbuild.hypertriton.com> prefix="/usr/local" exec_prefix="/usr/local" exec_prefix_set="no" libdir="/usr/local/lib" usage="Usage: agar-au-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]" if test $# -eq 0; then echo "${usage}" 1>...
true
39c9ea953c3b772f389fdf4242d9bdad3180da09
Shell
kui/ansipixels-server
/scripts/gen-init.sh
UTF-8
1,011
3.96875
4
[]
no_license
#!/bin/sh set -eu cd "$(dirname "$0")/.." usage() { echo "Usage: $0 USERNAME" } if [ $# != 1 ]; then usage exit fi project_dir="$(pwd)" user="$1" cat <<EOF #!/bin/sh ### BEGIN INIT INFO # Provides: ansipixel # Required-Start: \$network \$local_fs \$remote_fs # Required-Stop: \$network \$...
true
549f577a0c5d755c78e7c936fb4f5e0c436233a3
Shell
Sharon-Jin/Show-and-Tell
/im2txt/evaluate.sh
UTF-8
609
2.578125
3
[ "Apache-2.0" ]
permissive
DIR="/home/ubuntu/new_show_and_tell.tensorflow_1.0/models/im2txt/" MSCOCO_DIR="${DIR}/im2txt/data/mscoco" MODEL_DIR="${DIR}/im2txt/model" # Ignore GPU devices (only necessary if your GPU is currently memory # constrained, for example, by running the training script). export CUDA_VISIBLE_DEVICES="" # Run the evaluati...
true
0c8baa2829f66ffc32a9a11fc746c1f55b9b8d72
Shell
pivotal-mea-pa/pcf-environments
/.caps-env_pcf-demo-2
UTF-8
4,815
2.515625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Environment variables required by Terraform # to bootstrap and install the PCF environment # # # Automation bootstrap # #export TF_VAR_trace=true #export TF_VAR_unpause_deployment_pipeline=true #export TF_VAR_set_start_stop_schedule=false # # GCP credentials # export TF_VAR_gcp_credentials=$GOOGLE...
true
dac9c01addaabbc182eb7a52207a19f44cd36140
Shell
JEstabrook/bergamot
/HetMan/experiments/gene_variants/run_test.sh
UTF-8
1,528
3.09375
3
[]
no_license
#!/bin/bash #SBATCH --job-name=gn-vars #SBATCH --partition=exacloud #SBATCH --mem=24000 #SBATCH --time=300 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=8 #SBATCH --output=/home/exacloud/lustre1/CompBio/mgrzad/tmp/gene-vars_%j.out #SBATCH --error=/home/exacloud/lustre1/CompBio/mgrzad/tmp/gene-vars_%j.err #SBATCH --verbo...
true
8866626ae594ec31520671c4f68ffe1934e0fa78
Shell
ThorMortensen/scripts
/script.conf
UTF-8
827
2.796875
3
[]
no_license
#!/bin/bash ################################################ # Git Stuff ################################################ LAZY_CONF_MSG="this is not a message (lazy commit)" # First must be scripts AUTO_COMMIT_PATHS=~/scripts:~/afgangsprojekt_DTU_2017:~/.config/sublime-text-3/Packages/User #########...
true
3cb834e7cfdc3a82df731c1a8e1abf1665d7c95c
Shell
kubestyle/knative-tutorial
/setup/install-pubsub-serviceaccount
UTF-8
1,175
3.421875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash DIR="$(dirname "$0")" . "${DIR}/config" set -v # Reference: # https://github.com/google/knative-gcp/blob/master/docs/install/pubsub-service-account.md # Enable the Cloud Pub/Sub API on your project: gcloud services enable pubsub.googleapis.com # Create a new Service Account named cre-pubsub gcloud iam ...
true
baf8f86c25ae2ac65e568a40de85f7a595901ec7
Shell
Miracle217/React-Redux-Sagas
/build.sh
UTF-8
1,746
3.828125
4
[]
no_license
#!/bin/bash env='local' key="$1" GULP_PATH=node_modules/.bin/gulp BUILD_ENV=${NODE_ENV:-$env} dev () { echo "Executing: NODE_ENV=$BUILD_ENV $GULP_PATH" NODE_ENV=$BUILD_ENV $GULP_PATH } test () { echo "Executing: $GULP_PATH test" $GULP_PATH test } config () { echo "Executing: NODE_ENV=$BUILD_ENV...
true
0fffe2859a7ffce27d2d35b311913ba5f5763eb2
Shell
laputa-er/mqs_shell_scripts
/tests/mqs_test.sh
UTF-8
666
3.125
3
[]
no_license
#! /bin/zsh -y # Author: eli01linux@gmail.com(MengQingshen) # History: # 2017-3-22 MengQingshen First release function test_get_absolute_path_by_relavent_path () { } #----------------------------------------------------------------------------- # shunit2 functions # function oneTimeSetUp () { excuteImport $...
true
16fed0d59b30c38f93dd861c2d98fa48780dad9f
Shell
pomwth/dotfiles
/configs/zsh/.zshrc
UTF-8
591
2.65625
3
[]
no_license
export TERM="xterm-256color" # Path to your oh-my-zsh installation. export ZSH=$HOME/.oh-my-zsh # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes #ZSH_THEME="robbyrussell" ZSH_THEME="powerlevel9k/powerlevel9k" POWERLEVEL9K_DISABLE_RPROMPT=true POWERLEVEL9K_PROMPT_ON_NEWLINE=true POWERLEVEL9K_MULTILINE_LAST_PROMPT...
true
b67c7e504054a2ce418eec0c70431053cb226fb3
Shell
lkm1321/ICML-2017-Papers
/organize.bash
UTF-8
331
3.21875
3
[]
no_license
#!/bin/bash ls pdf/ | while read CURRENT_FILENAME; do NEW_FOLDERNAME=$(echo $CURRENT_FILENAME | awk -F "--" '{print $1}' | tr -d 0-9) NEW_FILENAME=$(echo $CURRENT_FILENAME | awk -F "--" '{print $2}') echo "$NEW_FOLDERNAME/$NEW_FILENAME" mkdir -p "$NEW_FOLDERNAME" cp "pdf/$CURRENT_FILENAME" "$NEW_FOLDERNAME/$NEW_FILENA...
true
b000cf7dc2c307919b0c49bebd869946ac12cf66
Shell
willcassella/config
/linux/bin/xpaste
UTF-8
124
2.578125
3
[]
no_license
#!/bin/bash set -eou pipefail if [ -z "${DISPLAY:-}" ]; then export DISPLAY=:0 fi exec xclip -out -selection clipboard
true
324d9a9d9a5ff077af1037e899e1c80eb6338464
Shell
sjmudd/maxscale_sandbox
/my_ipaddress
UTF-8
144
2.625
3
[ "BSD-2-Clause" ]
permissive
#!/bin/sh # # get my ip address # - linux only and assumes the device is eth0 ifconfig eth0 | grep -w inet | awk '{ print $2 }' | cut -d: -f2
true
8bd5dd70d7c8c6d714b9ced5e2a7cb3d1ce3086f
Shell
wmarquardt/aerospike-munin-plugins
/aero_client_write_
UTF-8
667
3.296875
3
[]
no_license
#!/bin/sh namespace=${0##*aero_client_write_} if [ "$1" = "autoconf" ]; then echo yes exit 0 fi if [ "$1" = "config" ]; then echo "graph_title Aerospike client write per second on $namespace namespace" echo "aerowritesuccess.label Write" echo "aerowritesuccess.draw AREA" echo 'graph_category Aerospike' ...
true
840d9150ab1da051ef53054bf8a71e7aa2874b07
Shell
davidjenni/provision-corers-cluster
/create_do_droplet.sh
UTF-8
1,851
3.5625
4
[]
no_license
#!/bin/sh DO_REGION=${DO_REGION:="sfo1"} DO_SIZE=${DO_SIZE:="512mb"} DO_DROPLET_BASENAME=${DO_DROPLET_BASENAME:="coreos"} # number of droplets to create: for i in {1..3} do if [ $i -eq 1 ]; then _DROPLETS=\"${DO_DROPLET_BASENAME}1\" else _DROPLETS=${_DROPLETS},\"${DO_DROPLET_BASENAME}$i\" f...
true
9b4a13642267966b1d5342094b11af823edcf448
Shell
xx94xuan/mysite
/build/scripts/build_base.sh
UTF-8
272
3.03125
3
[]
no_license
#!/usr/bin/env bash BASE_IMAGE=${BASE_IMAGE} DOCKERFILE=${DOCKERFILE} FORCE_BUILD=${FORCE_BUILD} if $FORCE_BUILD == "true" then echo "force build..." docker build --no-cache -f $DOCKERFILE -t $BASE_IMAGE . else docker build -f $DOCKERFILE -t $BASE_IMAGE . fi
true
63e81ff6ee4ffb2a626d3d5094ff08b43aaa967b
Shell
rheehot/cloud-barista
/cb-tumblebug/test/official/5.spec/unregister-spec.sh
UTF-8
921
3.078125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash source ../conf.env echo "####################################################################" echo "## 5. spec: Unregister" echo "####################################################################" CSP=${1} REGION=${2:-1} POSTFIX=${3:-developer} if [ "${CSP}" == "aws" ]; then echo "[Test for AWS]" I...
true
13c4e2f7701a13cf3edc31cd286f8943dbe363d7
Shell
mirandaconrado/task-distribution
/test.sh
UTF-8
756
2.59375
3
[ "MIT" ]
permissive
#!/bin/sh if [ ! -d build_normal ]; then mkdir build_normal; cd build_normal; cmake .. -DCMAKE_BUILD_TYPE=Debug else cd build_normal; fi; make if [ $? != 0 ] then exit fi rm -f example.archive ./example/example.bin check ./example/example.bin run ./example/example.bin invalidate -i 'fibonacci' ./example/exa...
true
ec28979dcfdbec25e095b0f14dee4de3051c01f1
Shell
Ckrielle/dotfiles
/compiler
UTF-8
1,764
3.796875
4
[]
no_license
#!/bin/sh # This script is meant to instantly compile the below document types from vim: # # tex files: Compiles to pdf, including bibliography if necessary # md files: Compiles to pdf via pandoc # rmd files: Compiles via R Markdown # c files: Compiles via gcc # py files: Runs via python command # go files: Compiles &...
true
78c9407bb7be510ad567e21f74dbd90cc8323a57
Shell
alexbarcelo/docker-hass-init
/config_sample.sh
UTF-8
676
2.703125
3
[]
no_license
# The user should provide a similar file with configuration variables. # This file should be put into /config in the container. GIT_USE_SSH=true GIT_SERVER=github.com GIT_USER=git GIT_REPO=demo/example # This will only be used if GIT_USE_SSH is false # useful for public repositories or if you provide the password d...
true
545cb43caa271612920d060faca46e94ac8c7589
Shell
usp-engineers-community/Open-usp-Tukubai
/TEST/sm5.test
UTF-8
15,324
3.859375
4
[ "MIT" ]
permissive
#!/bin/bash #!/usr/local/bin/bash -xv # コマンド処理系の変更例 # # test script of sm5 # # usage: [<test-path>/]sm5.test [<command-path> [<python-version>]] # # <test-path>は # 「現ディレクトリーからみた」本スクリプトの相対パス # または本スクリプトの完全パス # 省略時は現ディレクトリーを仮定する # <command-pat...
true
8681d4ba1e1c6a98d7ed1238cd227bfa096de778
Shell
yannh/redis-dump-go
/acceptance-tests/tests/select-db.sh
UTF-8
716
3.53125
4
[ "MIT" ]
permissive
#!/bin/sh -e export DB=2 echo "-> Filling Redis with Mock Data..." redis-cli -h redis -n $DB FLUSHDB /generator -output resp -type strings -n 100 | redis-cli -h redis -n $DB --pipe DBSIZE=`redis-cli -h redis -n $DB dbsize` echo "-> Dumping DB..." time /redis-dump-go -host redis -n 250 -db $DB -output resp >backup e...
true
eae5df64abefef8f8214140ee5825b76c80c4c42
Shell
mpiko/scripts
/range
UTF-8
343
3.796875
4
[]
no_license
#!/bin/bash START=$1 END=$2 if [ $START -gt $END ] then CURRENT=$START while [ $CURRENT -ge $END ] do echo $CURRENT CURRENT=$(expr $CURRENT - 1) done elif [ $END -gt $START ] then CURRENT=$START while [ $CURRENT -le $END ] do echo $CURRENT CURRENT=$(expr $CURRENT + 1) done else ec...
true
740753bbdf5f63554ded3183e473ad98443bafc8
Shell
wangjuanmt/kb_script
/osx/util/init_jdk.sh
UTF-8
490
3.3125
3
[]
no_license
#!/usr/bin/env bash mkdir -p $JVM_DIR # JDK8 #brew cask install java . $WORKSPACE_SCRIPT_ROOT/jdk/install_latest_jdk8.sh # JDK7 (deprecated) #brew cask install java7 # AppleJDK6 #brew cask install java6 # Link jdk installations to shorter paths # (Mainly used in IDEs) #ln -s $(/usr/libexec/java_home -v 1.7) $JVM_D...
true
9de061427153cedb54753106c86994d264fe4885
Shell
teddyfullstack/the-blue-robo
/shell/lumen.sh
UTF-8
148
3.03125
3
[]
no_license
c=0 while true url=$(<url) user=$(<user) cmd=`printf "curl --output log -H @header $url$user"` do c=`expr $c + 1` echo $c echo $cmd $cmd & done
true
e7e3deb7da09a2401cc453211f96ae3d7dbbd23b
Shell
aur-archive/lib32-gd
/PKGBUILD
UTF-8
1,299
2.875
3
[]
no_license
# Maintainer: josephgbr <rafael.f.f1@gmail.com> _pkgbase=gd pkgname=lib32-${_pkgbase} pkgver=2.1.1 pkgrel=1 pkgdesc="Library for the dynamic creation of images by programmers (32 bit)" arch=('x86_64') url="http://www.libgd.org/" license=('custom') depends=('lib32-fontconfig' 'lib32-libvpx' 'lib32-libxpm' 'lib32-libtif...
true
ed3db20749e17ba4b56fde709b2a1bed3f6984d1
Shell
nasa9084/MakeAbsentform
/MakeAbsentForm.sh
UTF-8
4,831
3.34375
3
[]
no_license
#!/bin/sh today=$(date +%Y年%m月%d日) while getopts o:n:i:d:S:D:C:G:r:a:s:t:h OPT do case $OPT in o) fname=$OPTARG ;; n) name=$OPTARG ;; i) id=$OPTARG ;; d) date=$OPTARG ;; S) section=$OPTARG ;; D) department=$OPTARG ;; C) cource=$OPTARG ;; G) grade=$OPT...
true
e646d4d4f2f53851454537a55a39acc097819484
Shell
cyndrdev/bin
/ufetch-core
UTF-8
1,471
3.46875
3
[]
no_license
#!/bin/sh # original by jschx # depends on xbps (void linux) user=$([ -z "$USER" ] && whoami || echo $USER) host="$(hostname)" os='void linux' kernel="$(uname -sr | tr '[:upper:]' '[:lower:]')" uptime="$(uptime -p | sed 's/up //' | tr '[:upper:]' '[:lower:]')" packages="$(xbps-query -l | wc -l | tr '[:upper:]' '[:low...
true
eea3afaf8b716e61c9a060a1edd6fd32cfd983d7
Shell
Mohxin/DevOps-Bash-tools
/aws_cloudtrails_s3_kms.sh
UTF-8
1,350
3.375
3
[]
no_license
#!/usr/bin/env bash # vim:ts=4:sts=4:sw=4:et # # Author: Hari Sekhon # Date: 2020-01-21 18:25:39 +0000 (Tue, 21 Jan 2020) # # https://github.com/harisekhon/bash-tools # # License: see accompanying Hari Sekhon LICENSE file # # If you're using my code you're welcome to connect with me on LinkedIn and optionally sen...
true
fd3a77f46c81772644890796d63ca8182418b967
Shell
bil0u/.dotfiles
/home/.chezmoiscripts/darwin/run_onchange_before_02-updates.tmpl
UTF-8
478
2.921875
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#!/usr/bin/env bash set -uo pipefail # time hash, based on day: {{ now | date "02 January 2006" | sha256sum }} {{ template "darwin/utils.sh" . }} filename "updates" {{ template "darwin/elevate.sh" . }} action "Checking for system updates " sudo softwareupdate -i -a {{ template "darwin/load-brew.sh" . }} action "...
true
f2a25274f7806055fc1430aca1b274bb576c45de
Shell
jbasu2013/vps-installation-scripts
/install-php-mysql.sh
UTF-8
485
3.8125
4
[ "MIT" ]
permissive
#!/bin/bash # Colors GREEN="\033[1;32m" BROWN="\033[0;33m" GREY="\033[0;37m" RED="\033[1;31m" NC="\033[0m" # User info USER=`whoami` # Prevent running this script as root if [ "$USER" = "root" ]; then echo -e "YOU CAN'T RUN THIS AS ROOT!" exit fi # Ask user to install MySQL support while true; do read -p "Do you...
true
f4e8380fb090a295ac337500187b3734cbcf1016
Shell
Osirium/third-party
/debs/nginx/debian/postinst
UTF-8
1,034
3.34375
3
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
#!/bin/sh set -e case "$1" in configure) # Touch and set permisions on default log files on installation if [ -z "$2" ]; then adduser --system --group --quiet nginx if [ -d /var/log/nginx ]; then if [ ! -d /var/lib/nginx/body ]; then mkd...
true
832b139c68cb58730020e45a936c5d2ed40696a5
Shell
DiamondJack/NOI2018
/day1/return/wyz/dmk/dmk.sh
UTF-8
130
2.5625
3
[]
no_license
DST=../../data/ ./genIn.sh ./encrypt.sh 1 20 ./getAns.sh 1 20 for ((i=1;i<=20;++i)); do mv $i.in ${DST}/ mv $i.ans ${DST}/ done
true
181492a56a7d5b777b2b24442ab8b39a984e22cb
Shell
eunnieverse/AcousticEigen
/src/tabk/awk_tabk_dat2idp.sh
UTF-8
726
3.078125
3
[]
no_license
#!/bin/bash ######################################################################## ### AcousticEigen project ### Yoonkyung Eunnie Lee, 2015.09.10 ### convert tabk file from DAT to IDP form ######################################################################## ### initial format: ### 67 1.128510 579829.6716...
true
05136b4dc307dd9cc7bf2d4feb519117f59456dc
Shell
Paletimeena/Prac_data
/linux/shellscript/Exam_DEC/Dec_Q3.sh
UTF-8
251
3.359375
3
[]
no_license
#!/bin/bash files=0 subdir=0 for i in `ls` do if [ -f $i ] then files=`expr $files + 1` elif [ -d $i ] then subdir=`expr $subdir + 1` else echo "" fi done echo "Number of files : $files" echo "Number of subdirectory : $subdir"
true
35c8e6cec712c3d03dcd0a685618198e9420b3a0
Shell
andrey-reznik/docker-server
/docker/nginx/templates/makecerts.tmpl
UTF-8
146
2.515625
3
[]
no_license
#!/usr/bin/env bash {{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }} {{ $host := trim $host }} mkcert {{ $host }} {{ end }}
true
f9e5e83abb07052ea8f6f2049ed0f55b3096c137
Shell
wiedehopf/mirror-json
/install.sh
UTF-8
541
2.546875
3
[ "MIT" ]
permissive
#!/bin/bash sudo cp mirror-json.service /lib/systemd/system sudo cp mirror-json.sh /usr/local/bin/ sudo cp -n default /etc/default/mirror-json cat 88-mirror-json.conf | ssh $1@$2 "sudo tee /etc/lighttpd/conf-available/88-mirror-json.conf >/dev/null; sudo lighty-enable-mod mirror-json; sudo systemctl restart lighttpd"...
true
6b71b154abbc997de6cf669a635d3a4b0a241e1f
Shell
lkluft/scripts
/unimount
UTF-8
522
3.65625
4
[]
no_license
#!/bin/bash # author: Lukas Kluft # version: 06.11.2014 # # purpose: Mount remote directories via ssh # enter username at host server USERNAME=u300509 if [[ $1 = -u ]];then # if parameter -u is given, unmount directory and delelte folder fusermount -u $HOME/t7home fusermount -u $HOME/l2home rmdir $HOM...
true
29d16d7c5b08407a8ac3b6588243fe07b9f5ea8f
Shell
petronny/aur3-mirror
/blocxx-svn/PKGBUILD
UTF-8
1,078
2.875
3
[]
no_license
# Maintainer: Tom Kuther <gimpel@sonnenkinder.org> pkgname=blocxx-svn pkgver=544 pkgrel=1 pkgdesc="A cross-platform, general purpose C++ framework for application development" provides=('blocxx') conflicts=('blocxx') arch=('i686' 'x86_64') url="http://sourceforge.net/projects/blocxx" license=('BSD') depends=('openssl'...
true
c4b4667f120e01a530738b8ec7a2c4e21b2423a1
Shell
msull/dotfiles_old
/bash/.bash_profile
UTF-8
2,484
3.203125
3
[ "Unlicense" ]
permissive
export PIP_REQUIRE_VIRTUALENV=true #export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache mkvirt(){ if [ ! -z $1 ]; then pyenv virtualenv $1 ${PWD##*/} && pyenv local ${PWD##*/} else pyenv virtualenv ${PWD##*/} && pyenv local ${PWD##*/} fi pip install --upgrade pip pip install prospector } sys...
true
a2c6e7894353f53d3b3497a3758c44ac3a0890d0
Shell
deepak41/talks
/fluentconf/bin/002/setup-cluster.sh
UTF-8
1,047
2.8125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # This program is distributed under the terms of the MIT license: # <https://github.com/v0lkan/talks/blob/master/LICENSE.md> # Send your comments and suggestions to <me@volkan.io>. # 002 - Simple TCP App docker rm -f fluent_tcp docker rm -f fluent_bastion DIR="$( cd "$( dirname "${BASH_SOURCE[0]...
true
8181bb5ba6c749490dc4b6b80af46a7d0d5bbf07
Shell
uwsbel/CharmSPH
/DevelopmentUtils/remote-sync.sh
UTF-8
1,581
3.65625
4
[]
no_license
#!/bin/sh # When you have no way to run a program in your local machine (due to hardware restrictions, # amount of data output, etc), but you still wish to develop locally you can use the 'rsync' # command to keep a local directory and a remote directory in sync. This script will be useful # when you modify a file ...
true
ab16234b449152385cf3bb17a98dbe520da7cda3
Shell
etenoch/CISC327-Quibble
/Front-End/testing/quibble_test.sh
UTF-8
1,080
3.265625
3
[]
no_license
#!/bin/bash rm -f -R outputs mkdir outputs COUNTER=1 while [ $COUNTER -lt 81 ]; do # loop through 80 test cases python ../quibble.py input_files/test_"$COUNTER"_input_file.txt outputs/test_"$COUNTER"_actual_output_file.txt < input/test_"$COUNTER"_input.txt > outputs/test_"$COUNTER"_actual_output.txt let COU...
true
d310557169900657124208f7105a4bfa51956e6f
Shell
billlody/Basic_programming_study
/post_checkout
UTF-8
383
3.515625
4
[]
no_license
#!/bin/bash # # Create notebooks, link to py # OIFS="$IFS" IFS=$'\n' prevHEAD=$1 newHEAD=$2 echo "Running post-checkout hook to create notebooks." for pyfile in $(git diff --name-only $prevHEAD $newHEAD -- '*.py') do echo "Create notebooks from $pyfile" jupytext --from py --to ipynb "$pyfile" ...
true
5043b42ef111f1bc14b0cdf8f3a7f7525927acbb
Shell
jegtnes/dotfiles
/git/aliases.zsh
UTF-8
1,762
2.890625
3
[ "MIT" ]
permissive
# Use `hub` as our git wrapper: # http://defunkt.github.com/hub/ hub_path=$(which hub) if (( $+commands[hub] )) then alias git=$hub_path fi alias g='git' alias ga='git add' alias gap='git add -p' alias gam='git commit --amend -m' alias gama='git commit --amend -am' alias gaa='git commit --amend -a' alias gb='...
true
9afb156e480a2d4c4664a25113fb8829fb9b2b51
Shell
caobaiyue/mitras
/bin/graph.sh
UTF-8
386
2.75
3
[ "MIT" ]
permissive
#!/bin/bash die () { echo >&2 "$@" exit 1 } [ "$#" -eq 1 ] || die "1 argument required (python script name), $# provided" # /home/clemsos/Dev/mitras/data/out/tmph6J4PY.gv gv_file=$1 echo $gv_file sfdp -Gbgcolor=black -Ncolor=white -Ecolor=white -Nwidth=0.05 -Nheight=0.05 -Nfixedsize=true -Nlabel='' -Earr...
true
28337a94c406413f8a74d071d40a5426ea5cfe04
Shell
cloudfoundry-community/go-credhub
/integration-tests/ci/tasks/deploy-credhub.sh
UTF-8
1,046
2.84375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -eu BASEDIR=$(pwd) mv bbl-cli/bbl*linux* /usr/local/bin/bbl mv bosh-cli/bosh*linux* /usr/local/bin/bosh chmod +x /usr/local/bin/* cd bbl-state eval "$(bbl print-env)" for release in $(find ${BASEDIR} -name '*-bosh-release' -type d); do bosh upload-release --sha1="$(cat ${release}/sha1)" --ve...
true
6392934698e7a9bacd65626a2d1e6e40d04a3a6c
Shell
MannyMoo/AGammaD0Tohhpi0
/scripts/mint/check-amps.sh
UTF-8
296
3.265625
3
[]
no_license
#!/bin/bash for name in $(grep '_Re' $1 | awk '{print $1;}') ; do name="$(echo $name | sed 's/_Re//' | sed 's/\[/\\[/g' | sed 's/\]/\\]/g' | sed 's/\*/\\*/g')" #echo $name grep "$name" AllKnownDecayTrees.txt > /dev/null if [ $? != 0 ] ; then echo "Not found: $name" fi done
true
0fb8ec46e76531d1cff80b1f9022b33914121573
Shell
fmcoastal/bash_scripts
/dpdk_scripts/dpdk_exports
UTF-8
1,662
3.1875
3
[]
no_license
#!/bin/bash # # Assume the directory structure looks like this # # <BASE_DIR> <REV DIR> <OUTPUT_DIR> # /home/fsmith/marvell /sdk /SDK-19.06.3-src # /sdk /SDK-19.06.3-src /cn96xx-release-output # # /dpdk ...
true
af7cb71721452535bbc88249492f1d620e2662f4
Shell
pauls4GE/RACK
/cli/setup-rack.sh
UTF-8
918
2.921875
3
[ "BSD-3-Clause" ]
permissive
#!/bin/sh # Copyright (c) 2020, General Electric Company and Galois, Inc. set -eu if ! command -v rack > /dev/null then cat <<-END ERROR: rack cli tool not found in PATH Installation instructions are available at https://github.com/ge-high-assurance/RACK/wiki/RACK-CLI#install-dependencies or locally in REA...
true
4ad13cd7d1964a5c92a836bbcfbade40c583229a
Shell
janfuu/asuscam
/kamera.sh
UTF-8
243
2.53125
3
[]
no_license
#!/bin/bash # Kopiert und dreht Video zur virtuellen Kamera #ffmpeg -f v4l2 -i /dev/video9 -vf "vflip" -f v4l2 /dev/video0 if [ "$1" == "start" ]; then systemctl --user start kamera.service else systemctl --user stop kamera.service fi
true
2e3fa27e529bf7ffe8004c1d0dc75e8f4358e0e5
Shell
ahoyter/dawribera2018
/javichu/002bash/000bashEjemplos/EjemploScriptAnaComentarQueHace.sh
UTF-8
1,449
4.03125
4
[]
no_license
#!/bin/bash ##################### # # ##################### crearArchivo() { # # if [-z $2 ];then # order="user" # else # orden=$2 # fi echo $orden read parametro echo "<html>" > $archivo crearHead crearBody echo "</html>" >> $archivo echo "desea verificar que lo ha creado?" read respuesta ...
true
afe6623c4e05c97d6ccb48e2d3f7521732442afa
Shell
jamessom/fat-code-refactoring-techniques
/bin/git-railsconf.zsh
UTF-8
989
3.625
4
[ "MIT" ]
permissive
#!/bin/zsh # cd to top level of this git repo, then run # . bin/git-railsconf.zsh # BE SURE TO SET RAILSCONF_DEMO=<directory of git repo> export RAILSCONF_DEMO=`pwd` git-child-sha() { branch=${1:-master} git log --ancestry-path --format=%H ${commit}..$branch | tail -1 } git-advance-history() { branch=${1:-ma...
true
336a5cd48916c74d865a4dc65b3cc19fa0d2c027
Shell
sashetov/seshu
/lib/wpa2-hacker.inc.sh
UTF-8
733
3.09375
3
[ "WTFPL" ]
permissive
#!/bin/bash WPA2_HACKER_RPMS=( reaver sqlite-devel libpcap-devel aircrack-ng ) WIFI_IFACE='wlp4s0' MON_IFACE="${WIFI_IFACE}mon" DUMP_PATH='/dump/' function install_packages() { #TODO - finish me .... declare -a pkg_names=("${!1}") for pkg in "${pkg_names[@]}"; do { echo sudo dnf -y install $pkg sudo dnf -y ...
true
c9fd5fd06a9611d96a00e54f5494d7739254dcb8
Shell
ohmyzsh/ohmyzsh
/plugins/autojump/autojump.plugin.zsh
UTF-8
1,544
3.265625
3
[ "MIT" ]
permissive
declare -a autojump_paths autojump_paths=( $HOME/.autojump/etc/profile.d/autojump.zsh # manual installation $HOME/.autojump/share/autojump/autojump.zsh # manual installation $HOME/.nix-profile/etc/profile.d/autojump.sh # NixOS installation /run/current-system/sw/share/autojump/a...
true
23125e9548fba307675beab47330353955f2d76c
Shell
snbabu453/Cracking_the_Devops_Interview
/check_apache_status.sh
UTF-8
608
3.5625
4
[]
no_license
#!/bin/bash SERVICENAME="apache2" # One liner # which apache2 && systemctl status apache2 | systemctl start apache2 # Other way to check if the service is up # ps aux |grep -i apache2 > /dev/null netstat -antulp|grep :::80 > /dev/null APACHESTATUS=$? COUNT=0 THRESHOLD=2 if [[ $APACHESTATUS != 0 ]] then echo "$SERVI...
true
8c1cd030b75399300859ecbaaf4864e87ed8278a
Shell
Minizza/ghome
/install.sh
UTF-8
617
3.25
3
[]
no_license
#local directory DIR="$( cd "$( dirname "$0" )" && pwd )" SERVICE=mongodb # Install virtualenv # You probably need to be root to do this. sudo apt-get install xterm python-virtualenv mongodb echo " end install with apt-get" if ps ax | grep -v grep | grep $SERVICE > /dev/null then echo "$SERVICE service running,...
true
356229d67a5991553d6f4e47fb249aaec97feb8a
Shell
rockdrilla/dotfiles
/.config/zsh/alias/gpg.zsh
UTF-8
185
3.046875
3
[]
no_license
#!/bin/zsh gpg-warmup() { local t r (( ${+commands[gpg]} )) || return 1 t=$(mktemp) command gpg -abs "$t" r=$? command rm -f "$t" "$t.asc" return "$r" }
true
8af1835325d4e653fac396e077cc13a6886d22cc
Shell
rfindler/Grift
/benchmark/suite/ref-cast/run.sh
UTF-8
5,562
3.65625
4
[ "MIT" ]
permissive
#!/bin/sh # a larger number will result in requesting more memory to be # allocated by twosomes which is a very expensive operation reads=999999 writes=999999 ncasts=9999999 casts=11 griftdir=/u/dalmahal/Grift # -------------------------------------------------------------------- name1=refread name2=refwrite name3=re...
true
6ac372f6c4995e1dc15f6fe757f60ec3515d0612
Shell
tvdijen/OpenConext-engineblock
/bin/makeRelease.sh
UTF-8
4,059
3.953125
4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash PREVIOUS_SF_ENV=${SYMFONY_ENV} PREVIOUS_EB_ENV=${ENGINEBLOCK_ENV} export SYMFONY_ENV=prod export ENGINEBLOCK_ENV=production RELEASE_DIR=${HOME}/Releases GITHUB_USER=OpenConext PROJECT_NAME=OpenConext-engineblock if [ -z "$1" ] then cat << EOF Please specify the tag or branch to make a release of. Examp...
true
978b4de50a057d0649600947bbd60960c51758b6
Shell
EXPRESSCLUSTER/SCSI-PR
/Linux Scripts/attacker.sh
UTF-8
1,363
3.578125
4
[]
no_license
#! /bin/sh #*************************************** #* start.sh * #*************************************** # Parameter #----------- dev=/dev/sdc #----------- # finding current node index then making key for Persistent Reserve key=abc00`clpstat --local | sed -n '/<server>/,/<group>/p' | grep '^ [\* ][^ ]' | ...
true
6c6942340afca64264deb267f1e457ab1723c271
Shell
gargrakhen/PBS_Pro_Hooks
/install_PBS.sh
UTF-8
657
3.234375
3
[]
no_license
#This script will take an argument to automatically configure the address of the PBS server if [ -z "$1" ]; then echo "No hostname specified." echo "Usage: install_pbs.sh HOSTNAME" exit 1 fi export PBS_SERVER=$1 if [[ $EUID -ne 0 ]]; then echo "This script must be run as root." exit 1 fi userad...
true
b5d6da8a8e744fe15418058f747d1f336919875e
Shell
pocketgroovy/voltage
/witches-server/devBuild.sh
UTF-8
843
3.53125
4
[]
no_license
#!/usr/bin/env bash set -o errexit REPO_SERVER=172.16.100.204 DEPLOY_DIR=/var/www/voltage-ent.com/witches-server # execute server build for dev if [ ! -d witches-server ]; then git clone git@${REPO_URL}:witches-server fi pushd witches-server # remove local changes git clean -d -f -q git reset --hard # retr...
true
eed8f94d1a57fa5b7553bc5f14b7d13ec66a0f7b
Shell
aswinksd/project7
/sc.sh
UTF-8
514
3.3125
3
[]
no_license
s=0 echo "enter first no" read a echo "enter second no" read b i="y" while [ $i = "y" ] do echo "1.addition" echo "2.subtraction" echo "3.multiplication" echo "4.division" echo "5.modulus" echo "enter your choice" read ch case $ch in 1)s=`expr $a + $b` echo "sum of 2 no:'s $s";; 2)p=`expr $a - $b` echo "diff is $p";; 3...
true
e431dc920377c3f9ab4e4cfaadb2d8a265606afa
Shell
venus29/bash-learn
/argument/use_getopts.bash
UTF-8
428
3.6875
4
[]
no_license
#!/bin/bash while getopts "o:f:" opt do case "$opt" in o) output_filename=$OPTARG;; f) input_filename=$OPTARG;; *) exit 0;; esac done # OPTIND is the index of the next argument # to be processed (starting index is 1) # usualy use with getopts # ./use_getopts.bash -o abc echo $OPTIND ...
true
3fbb062b95a8bf87d0e735300b9f46e472f1066e
Shell
termux/termux-packages
/packages/gnugo/build.sh
UTF-8
1,061
2.515625
3
[ "Apache-2.0" ]
permissive
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/gnugo/ TERMUX_PKG_DESCRIPTION="Program that plays the game of Go" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=3.8 TERMUX_PKG_REVISION=5 TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gnugo/gnugo-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PK...
true
b7927fdf0d395fd0bf43e3d9121d103a96c917ad
Shell
warpme/minimyth2
/script/meta/minimyth/files/source/rootfs/usr/bin/irsend_daemon
UTF-8
1,074
3.890625
4
[]
no_license
#!/bin/sh . /etc/rc.d/functions # Input to this daemon is "device?command". Delay 1s or 5s # is possible (delay_s1 and delay_5s commands) # All spaces in device and commands shoud be replaced by ? # i.e. "irsend SEND_ONCE <dev1> <cmd1> <sleep 5 sec> <dev2> <cmd2> shoud # be used # " echo dev1?cmd1 delay_5s dev2?cmd...
true
87246b9ab51fd78ada2079dbb6d54fdc01e7c929
Shell
gevent/gevent
/scripts/install.sh
UTF-8
4,174
3.859375
4
[ "Python-2.0", "MIT" ]
permissive
#!/usr/bin/env bash # GEVENT: Taken from https://raw.githubusercontent.com/DRMacIver/hypothesis/master/scripts/install.sh # Special license: Take literally anything you want out of this file. I don't # care. Consider it WTFPL licensed if you like. # Basically there's a lot of suffering encoded here that I don't want y...
true
6484eef800a3b41c94d14d1b12e3e59c9e37109b
Shell
siddharthbe/gpsr-command-understanding
/scripts/test_all_models
UTF-8
2,622
4.1875
4
[ "MIT" ]
permissive
#!/usr/bin/env bash function usage { cat <<- EOF usage: test_all_models.sh results_path test_file Runs allennlp evaluate and predict on all results directories in a path. Options: -h --help Print this message -c --use-cpu Use CPU instead of GPU EOF...
true
39b7b4e915e3c1c5956f3783544d9bad053014ae
Shell
dlaststark/machine-learning-projects
/Programming Language Detection/Experiment-2/Dataset/Train/UNIX-Shell/count-the-coins-1.sh
UTF-8
293
3.046875
3
[]
no_license
function count_change { local -i amount=$1 coin j local ways=(1) shift for coin; do for (( j=coin; j <= amount; j++ )); do let ways[j]=${ways[j]:-0}+${ways[j-coin]:-0} done done echo "${ways[amount]}" } count_change 100 25 10 5 1 count_change 100000 100 50 25 10 5 1
true
aecbfaddb26fe70bc817f91c6dda4e2461ab4c54
Shell
bc-charlesho/checkout-sdk-js
/scripts/circleci/copy-previous-releases.sh
UTF-8
470
3.109375
3
[ "MIT" ]
permissive
#!/bin/bash set -e set -u # Clone checkout-sdk-js-server repo git clone --depth 1 git@github.com:bigcommerce/checkout-sdk-js-server.git /tmp/repo-server # Copy previous releases into a folder for further modification cp -rf /tmp/repo-server/public/* ~/repo/dist-cdn # Rewrite the placeholder text contained in those r...
true
9c117011c0a90920eec29bcb5cb9df8f1e34e81a
Shell
sikachov/code
/script.sh
UTF-8
228
3.09375
3
[]
no_license
#! /bin/bash flag=0 i=2 while [ $i -lt $1 ];do j=2 flag=0 while [ $j -lt $i ];do r=`expr $i % $j` if [ $r -eq 0 ] then flag=1 fi let j=$j+1 done if [ $flag -eq 0 ] then echo $i flag=0 fi let i=$i+1 done
true
92bf963a47736693167301b47dfb6d88d9f23e92
Shell
tylerjl/pkgbuilds
/packetbeat-bin/PKGBUILD
UTF-8
1,690
2.984375
3
[ "MIT" ]
permissive
# Maintainer: Tyler Langlois <ty |at| tjll |dot| net> pkgname=packetbeat-bin _pkgbase=${pkgname%%-bin} pkgver=6.2.1 pkgrel=1 pkgdesc='An open source network packet analyzer that ships data to Elasticsearch (precompiled)' arch=('i686' 'x86_64') url="https://www.elastic.co/products/beats/$_pkgbase" license=('APACHE') ba...
true
2d40605be5dea9e6c016eae5c8bd88ec02955337
Shell
alexzorin/i3-lastpass
/i3-lastpass
UTF-8
779
3.484375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -euf -o pipefail # Try fetch the list without syncing, but sync if lpass-cli doesnt have the blob cached LPASS_ITEMS=$(lpass ls --sync=no --color=never --format="%aN (%au) (%al) | %ai" || printf 'no-sync') if [[ "${LPASS_ITEMS}" == "no-sync" ]] then LPASS_ITEMS=$(lpass ls --sync=auto --color...
true
9ee01a09b23bb028fbbcc651d09c1e48dae7d3ad
Shell
ivy-rew/debianDevSystem
/installers/dev/inodesLimit.sh
UTF-8
364
3.3125
3
[]
no_license
#!/bin/bash # inodes # https://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limit-reached limit=524288 current=$(cat /proc/sys/fs/inotify/max_user_watches) if [ "$current" -ne "$limit" ]; then echo "changing inode.limit from $current to $limit" echo "fs.inotify.max_user_watches=${limit}" | sudo ...
true
ece4af5386c6856edf4b4460bbff129f8673622e
Shell
automatiche/demo
/src/ssh3.sh
UTF-8
601
2.546875
3
[]
no_license
#!/bin/bash # 三院 /usr/bin/expect << EOF # -t -t set ip [lindex $argv 0 ] set password [lindex $argv 1 ] # set passwd [lindex $argv 0] # set host [lindex $argv 1] set timeout 20 spawn ssh -p 3000 hospital@106.38.159.214 # spawn ssh -p 3000 hospital@$ip # spawn ssh -p 2222 -o ServerAliveInterval=60 bdyx01@114.116....
true
e827c7df04f038c618104a27974ce755403a05ed
Shell
LuciaRoldan/ProyectoFinal_Landing
/startup
UTF-8
778
3.484375
3
[]
no_license
#!/bin/bash if [ $# -eq 0 ] then echo "Usage: ./startup <env>" exit -1 fi ENV=$1 set -e echo "Starting server..." nohup java -Dspring.config.location=benito/benito-backend/environments/$ENV/application.properties -Dconfig.file=benito/benito-backend/environments/$ENV/application.conf -Dlogback.configurationFile=...
true
95b353a0c09437466be49b80b014fe7b6fcb0662
Shell
delkyd/alfheim_linux-PKGBUILDS
/jalv-select-git/PKGBUILD
UTF-8
1,072
2.8125
3
[ "Unlicense" ]
permissive
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de> _pkgname=jalv-select pkgname="${_pkgname}-git" pkgver=0.7.r62.5a010a0 pkgrel=1 pkgdesc="A little GUI to select installed lv2 plug-ins and run them with jalv." arch=('i686' 'x86_64') url="https://github.com/brummer10/jalv_select" license=('custom:Public Dom...
true
c8c0de4471184c9b2fa518521eb62200073ae68d
Shell
linsallyzhao/2018_term_experiment
/run_acp
UTF-8
444
3.28125
3
[]
no_license
#!/bin/bash -e declare -A output_map output_map['_']='' for (( i = 1000; i <= 100000; i += 500 )); do printf 'Running %s\n' "$i" >&2 output_map['_']+="$i," while read -r key price _ stderr; do output_map["$key"]+="$price," output_map["${key}_stderr"]+="$stderr," done < <(./ACP_assignm...
true