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
fd6b228ba66c2a58ce91faa03d11063ad4a0dea9
Shell
caseyjlaw/misc
/psr-imager.sh
UTF-8
2,349
3.46875
3
[]
no_license
#! /bin/bash # # Master script to create phased images of pulsar # claw, 13mar09 # # Usage: psr-img.sh # # Output files: # - text files with time filters for each phase bin (possibly more than one to avoid 256 line limit of miriad) # - beam and map images for each phase bin and pol (and possibly to avoid 256 line limit...
true
210ece52ee079893e290d84fd8c5fa28637f311c
Shell
google-code/bassh-secure-shell-in-bash
/sssh.sh
UTF-8
28,391
3.703125
4
[]
no_license
function toUpper() { iValue=$1 oValue=`echo $iValue | tr '[a-z]' '[A-Z]'` oValue=`echo $oValue | tr 'X' 'x'` echo $oValue } function toHex() { iValue=$1 oValue=`echo "obase=16; $iValue" | bc` oValue=`printf "%02x" "0x$oValue"` oValue=`toUpper $oValue` echo $oValue } function toHexStr() { iValue=$1 ...
true
c82b6508583b74dc069f599236b9a56e931877cd
Shell
uutils/coreutils
/util/build-gnu.sh
UTF-8
12,758
3.796875
4
[ "MIT", "GPL-1.0-or-later", "GPL-3.0-or-later" ]
permissive
#!/bin/bash # `build-gnu.bash` ~ builds GNU coreutils (from supplied sources) # # UU_MAKE_PROFILE == 'debug' | 'release' ## build profile for *uutils* build; may be supplied by caller, defaults to 'release' # spell-checker:ignore (paths) abmon deref discrim eacces getlimits getopt ginstall inacc infloop inotify reflin...
true
75170b129bbad9708655a276c3d8dba143e92314
Shell
Capprin/pdl-demo
/nats-init.sh
UTF-8
1,122
4.125
4
[]
no_license
#!/bin/bash # This utility manages a NATS streaming server running locally. It is primarily for development. # # Written by Capprin Bass on 08/07/2019 # Confirm we have docker and it's running command -v docker > /dev/null 2>&1 || (echo >&2 "Docker not installed. Exiting."; exit 1; ) docker version > /dev/null 2>&1 ...
true
82e8415bd59337d74d6de7c1e0f0bca7cdd17b6c
Shell
rundeck/rundeck
/core/src/etc/bash_completion.sh
UTF-8
4,522
3.703125
4
[ "Apache-2.0" ]
permissive
# # BASH shell tab completion for RUNDECK's "dispatch" and "rd-project" commands # # Source this file from your login shell. # # @author: <a href="mailto:alex@dtosolutions.com">alex@dtosolutions.com</a> # @version: $Revision: 1931 $ [ -n "${RDECK_BASE}" -a -d "${RDECK_BASE}" ] && export _rdeck_projectdir=$(awk -F= '/...
true
e20bd241b894fb5183b7a8fd36eeda9a08dd1740
Shell
shubhamkumariitism/BridgeLab
/empWageComputation.sh
UTF-8
2,159
3.390625
3
[]
no_license
#!/bin/bash echo "Welcome to empWageCompuation.sh" #UC1 declare -A dailyWageArray PresentOrAbsent=$((RANDOM%3)) #UC2 WageperHour=20 FullDayHour=8 DailyWageEmployeeFullDay=$(( $WageperHour * $FullDayHour )) #UC3 PartTimeHour=8 DailyWageEmployeePartDay=$(( $WageperHour * $PartTimeHour )) #UC4 case PresentOrAbsent in ...
true
2e9405f1860bd69b242976624bfa6ec6bbe46057
Shell
clearasmudd/jetbrains-pycharm-formula
/pycharm/files/mac_shortcut.sh
UTF-8
363
3.109375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash case $1 in [Cc]) app='PyCharm CE.app' ;; [Pp]) app='PyCharm PE.app' ;; *) echo 'Missing argument' exit 1 ;; esac Source="/Applications/$app" Destination="{{ homes }}/{{ user }}/Desktop" /usr/bin/osascript -e "tell application \"Finder\" to make alias file to POSIX file \"...
true
1192cb0ea7d12a102462614192085fcd5eaa62cc
Shell
devigned/azure-cli-samples
/vm-restart-by-tag/restart-by-tag
UTF-8
2,061
3.859375
4
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e DEFAULT_TAG='restart-tag' LOCATION='westus' TAG=${1:-$DEFAULT_TAG} RESOURCE_GROUPS=('GROUP1' 'GROUP2' 'GROUP3') for group in ${RESOURCE_GROUPS[@]}; do # Create the resource group if it doesn't exist echo "Creating resource group ${group} in ${LOCATION}" az group create -n ${gro...
true
d794eb75ea675f089ce9984df902dd931ec14c26
Shell
MaxKhlupnov/LoT
/Common/Bolt/Tools/scripts/tsdb/preheat/parse-preheat-timing-result.sh
UTF-8
142
3.15625
3
[]
no_license
#!/bin/bash file=$1 while read line do slot=`echo $line|cut -d',' -f2` if [[ $slot -eq 95 ]] ; then echo $line ; fi done < $file
true
b78ded7fabe362e5623d53b5280450c2ef0c8d60
Shell
dkuspawono/puppet
/modules/dumps/files/fetches/kiwix-rsync-cron.sh
UTF-8
1,008
3.484375
3
[]
no_license
#!/bin/bash ###################################### # This file is managed by puppet! # puppet:///modules/dumps/fetches/kiwix-rsync-cron.sh ###################################### sourcehost="download.kiwix.org" bwlimit="--bwlimit=40000" do_rsync (){ srcpath=$1 destpath=$2 running=`/usr/bin/pgrep -f -x "/...
true
9dc85f39e9bf47be469dadd3679270a1f812259d
Shell
MarsStirner/sirius
/install/devstrap.sh
UTF-8
1,942
3.125
3
[]
no_license
#!/bin/bash stop_err SIRIUS_BRANCH=master for i in "$@" do case $i in -sb=* | --sirius-branch=*) SIRIUS_BRANCH="${i#*=}" shift ;; -h | --help ) echo "Установка виртуального окружения и клонирование проектов....
true
07dee00cd3f7c5350271ccead48c543a8003bf93
Shell
you-zhou/notes
/configs/.zshrc
UTF-8
788
3.15625
3
[ "MIT" ]
permissive
############################## # Location: ~/.zshrc # This file contains personal Zsh shell settings. # Place this file in your home directory. ############################## export PATH=/opt/homebrew/opt/python@3.11/bin:$PATH export PYTHONPATH=~/Dev/GitHub alias python=python3 alias pip=pip3 # Alias to activate virt...
true
23e17508ea201656aa653c118a4cbebac1cea135
Shell
helau/gen2vdr
/etc/vdr.d/scripts/g2v_record.sh
UTF-8
3,467
3.5625
4
[]
no_license
#!/bin/bash # --- # g2v_record.sh # Wird vom VDR aufgerufen bei Start und Ende von Aufnahmen, so wie bei Schnitt # oder wenn eine Aufnahme gelöscht wird # --- # VERSION=170214 source /_config/bin/g2v_funcs.sh # set -x NOAD='/_config/bin/g2v_noad.sh' [[ "${VIDEO: -1}" != "/" ]] && VIDEO="${VIDEO}/" glogger -s "$(date...
true
3fdeee8619754eac613fcb17e1928cce393d7ac8
Shell
J816g812/joshua
/src/test/resources/decoder/moses-compat/test.sh
UTF-8
1,468
2.828125
3
[ "LicenseRef-scancode-other-permissive", "Apache-2.0", "MIT" ]
permissive
#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); yo...
true
de3aebc55ecf15158fb491a81a6d8fe10c305c5c
Shell
alexpearce/Lc2pXX-SVN
/scripts/PIDCalib/run_multitrackcalib_ProbNN.sh
UTF-8
2,636
2.953125
3
[]
no_license
#!/bin/bash # Reference (our signal) location signal_base=$WORK/OutputBackup/output_ProbNN signal_tree=DecayTree # For S20r1: # stripping=20r1_MCTuneV2 # For S17b # stripping=17 # Performance histograms directory perf_hists="output_ProbNN/$stripping" mkdir -p $perf_hists # Cuts K="ProbNNK > 0.5 && DLLK > 4" Pi="Prob...
true
d84aaa798c87f34ca1824ba3e3ab56ae7e093cd3
Shell
RGM-OSC/nagios
/SOURCES/nagios-rgm/rgm-nagios-archives.cron
UTF-8
601
3.34375
3
[]
no_license
#!/bin/sh # # move Nagios performance data logs older than 90 days to a "legacy" # archive directory to avoid re-injection to thruk log_cache SQL table # # Copyright 2021 & onwards, RGM - SCC France if [ ! -d /srv/rgm/nagios/var/log/archives-legacy ]; then mkdir -p /srv/rgm/nagios/var/log/archives-legacy chown...
true
60547845536606d5d018c2a910cd48ecde18cfc2
Shell
zmzlois/kafka-starter
/connect/stg/update.sh
UTF-8
900
3.828125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash if [ -z "$1" ]; then echo "No parameters provided, exiting..." exit 1 fi if [ -z "$2" ]; then echo "Key provided, but no value, breaking" exit 1 fi if [ -z "$3" ] && [ -z "$setPropertyFile" ]; then echo "No file provided or setPropertyFile is not set, exiting..." exit 1 fi if [ "$setPr...
true
6e780a25bcdb3602158234dffa19c11c2dc8a476
Shell
shikhamehta2112/drl-frameworks
/scripts/evaluate_ray_A2C_106.sh
UTF-8
707
2.875
3
[]
no_license
source ~/anaconda3/etc/profile.d/conda.sh echo "--- STARTING RAY EXPERIMENTS ---" conda activate ray-env echo echo "--- STARTING RAY CARTPOLE EXPERIMENTS ---" mkdir -p src/results/ray/cartpole/A2C/runtime echo for fullfile in src/ray/experiments/cartpole/A2C/ray_a2c_cpu_cp106.yml; do filename=$(basename -- "$full...
true
059ce9227286178c12743d0b66b6edf2aef32ebe
Shell
ryry0/Rpaca-Repository
/net-tools.rpac
UTF-8
1,305
3.765625
4
[]
no_license
#!/bin/bash # Overloaded variables: PKG="net-tools" VER="CVS_20101030" EXT="tar.gz" # extension of download URL="http://anduin.linuxfromscratch.org/BLFS/$PKG/$PKG-$VER.$EXT" DESCRIPTION="The net-tools package is a collection of programs for controlling the linux kernel network subsystem." CFLAGS="" CONF_FLAGS="--prefi...
true
ccf8391a98eac6ce11a9f00250c31480df2edcb1
Shell
intel/parameter-framework-samples
/asus-t100-tutorial/clientSimulator/scripts/common/test-scripts/capture.sh
UTF-8
310
3.0625
3
[ "BSD-3-Clause" ]
permissive
# # This script is used in order to start recording with ALSA. # if [ ! $# == 2 ]; then echo "Two arguments needed:" 1>&2 echo " - AlsaCard and device : -hw:<card>,<device>" 1>&2 echo " - Record destination" 1>&2 exit fi card=$1 file=$2 arecord -D$card -d 10 -f S16_LE -r 48000 -c 2 $file
true
7c89c75ad2c2bae5d46f0269454098b0af6433ca
Shell
dimihayl/Using_CATS3
/configure_dlm_hst_plot.sh
UTF-8
477
3.734375
4
[]
no_license
#!/bin/bash red=`tput setaf 1` green=`tput setaf 2` reset=`tput sgr0` directory="./CMake_dlm_hst_plot/FILES" if [ ! -d "$directory" ]; then mkdir "$directory" echo "Directory created: $directory" else echo "Directory already exists: $directory" fi cd $directory if ! cmake ../../CMake_dlm_hst_plot; then ...
true
c70488b52ad5fe476317105bc759634ea1c078b4
Shell
jjanczur/CloudComputing-assignment2
/linpack.sh
UTF-8
297
3.046875
3
[]
no_license
#!/bin/bash EXECUTABLE="linpack" if [[ ! -e ./${EXECUTABLE} ]] ; then gcc -O -o ./${EXECUTABLE} ./${EXECUTABLE}.c -lm fi if [[ "$SYSTEMROOT" = "C:\Windows" ]] ; then RESULT=$(./${EXECUTABLE}.exe | tail -1) else RESULT=$(./${EXECUTABLE} | tail -1) fi echo "$RESULT" #echo $(./${RESULT} 1 1000)
true
2b958824a209203b5a162116738c0bbfd6ee02c9
Shell
beomki-yeo/acts_shell_scripts
/fatras_script.sh
UTF-8
1,794
2.75
3
[]
no_license
#!/bin/bash nEvents=100 pdg=211 # pion nParticles=(1 10 50 100 500 1000 2000 3000 4000 5000 6000) #nParticles=(6000 7000) for n in "${nParticles[@]}" do sub_dir=${pdg}_${n} : ' command_particle_gun=" ${ACTS_INSTALL}/bin/ActsExampleParticleGun --events=${nEvents} --output-dir=${ACTS_DATA}/da...
true
2c59de0bbfbbe6dd5dada8756ba7f304f68dedda
Shell
WASdev/ci.docker.ibm-http-server
/ilan/build
UTF-8
1,814
3.375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # ########################################################################### # (C) Copyright IBM Corporation 2016. # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # ...
true
9bb4b6079db1fb7dc1fc3d00327e7fbce9b3e297
Shell
anaway-69/bashScripting_Tutorials
/18_professional_Menus.sh
UTF-8
805
3.40625
3
[]
no_license
#!/bin/bash # select lang in Python Bash Ruby c c++ java # do # # echo "You have Selected: $lang" # case $lang in # Python) # echo "You have selected $lang";; # Bash) # echo "You have selected $lang";; # Ruby) # echo "You have selected $lang";; # ...
true
ed04fc085231f6795dbb52a469ae315d7efbbda4
Shell
suplexx12/my
/restart6.sh
UTF-8
441
2.953125
3
[]
no_license
#!/bin/bash #Setup Variables GREEN='\033[0;32m' YELLOW='\033[0;93m' RED='\033[0;31m' NC='\033[0m' northern-cli -datadir=/home/northern6/.northern stop sleep 10 northernd -datadir=/home/northern6/.northern -daemon until northern-cli -datadir=/home/northern6/.northern mnsync status | grep -m 1 '"IsBlockchainSynced": tr...
true
7a318b5f2bf00edc64dc78913b6f5af9b2e1239a
Shell
PelionIoT/buildtools-pelion-edge
/vagrant/vcmd.sh
UTF-8
9,156
3.46875
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash downloaddir=$HOME/vdownload safemode=1 VM="" drive="/dev/rdisk5" FAILEDBUILD=0 acommands="burn destroy destroy-all download halt halt-all up up-np new nosafe rebuild rsync-auto ssh status status-all" declare -A acmd acmd[burn]="burns the last downloaded image to the -d drive" acmd[destroy]="comp...
true
187d2ba99ad7c039e66abce010a818b482beb2df
Shell
JrGoodle/clowder
/script/cibuild
UTF-8
649
2.84375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # shellcheck disable=SC1091 set -euo pipefail cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/.." . 'script/utils.sh' run "${PWD}/script/bootstrap" h1 'Uninstall system git lfs filters' sudo git config --system --unset-all filter.lfs.clean || true sudo git config --system --unset-all filter...
true
8f40a493e82b378fba2f185b4cf1bb14457ec90b
Shell
detectivelyw/linuxkit-automated-experiments
/scripts/01-ubuntu/linuxkit-script-test.sh
UTF-8
360
2.640625
3
[]
no_license
#!/bin/sh runc_cmd="runc --root /run/containerd/runc/services.linuxkit/ exec -t" container_task="ubuntu" container_obtain_data="ubuntu" container_script_path="/root/ubuntu-script" cmd_task="$runc_cmd $container_task $container_script_path" echo "start running auto experiment ..." echo "CMD_TASK: $cmd_task" eval $cmd...
true
01a7fbc96c2d4f8d39f3649d4d6475e757461ff8
Shell
rajeshlwc/rc-flow-components
/scripts/zip-metadata.sh
UTF-8
324
3.609375
4
[]
no_license
#!/bin/bash META_DATA_DIR=../src ZIP_DIR=../archive FILE_NAME=master.zip ZIP=$ZIP_DIR/$FILE_NAME CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" echo creating zip archive of the metatdata source: $ZIP rm -rf $ZIP cd $META_DATA_DIR zip -r $ZIP ./* echo zip file created: $ZIP cd $CURRENT...
true
5e3dbb58a8ea1107249d19c45044eb73dd09ecc0
Shell
xiujia/audit_multi
/dbm_watchdog
UTF-8
1,434
2.828125
3
[]
no_license
#!/bin/bash bin_path=/usr/inp/bin/ local_path=/usr/local/bin/ audit_process="$bin_path"audit_process audit_csp_release="$bin_path"audit_csp_rel #audit_sql_insert="$bin_path"audit_sql_insert audit_mongo_insert="$bin_path"audit_mongo_insert audit_runtime_redis="$bin_path"audit_runtime_redis redis_server="$local_path"re...
true
b22da907cdcdd7d17798a8a289b8785f23973d45
Shell
jmcshane/coderbyte
/tool/createChal.sh
UTF-8
549
3.734375
4
[]
no_license
#!/bin/bash #Simplifies the creation of templates for the coderbyte challenges if [ "$#" -ne 1 ]; then echo "Usage createChal.sh FILENAME" echo "Only accepts one argument" exit 1; fi FILE_DIR=`pwd` fileString="function $1(arg) {\n\n}\n\nvar out = $1();\nconsole.log(\"Should be \");\nconsole.log(out);\nout...
true
f3dc11817695459675fb3f6dd3f6840c249c948a
Shell
dongshaohui/ansible_pre_script
/scheduler-restart.sh
UTF-8
1,089
2.765625
3
[]
no_license
#!/bin/bash function sms_scheduler(){ ssh 10.253.1.140 "cd /etc/init.d/ ; ./$1 $2 " } function yeepay_withdraw_scheduler(){ ssh 10.253.1.140 "cd /etc/init.d/ ; ./$1 $2 " } function chinapay_deposit_scheduler(){ ssh 10.253.16.37 "cd /etc/init.d/ ; ./$1 $2 " } function chinapay_withdraw_scheduler(){ ssh 10.253.1.140 "cd...
true
db7d6032ead67d2c965850a28f899dce0e65e805
Shell
jcstr/arch4edu
/sublime-text2/sublime-text2.sh
UTF-8
453
3.203125
3
[]
no_license
#!/bin/bash ST=/opt/sublime-text2 # needed for .desktop launcher ARGS="--class=sublime_text" # Note: Sublime Text 2 opens an empty instance if the project to open is # already opened in another instance instead of just giving it focus. if [[ ${1:(-16)} == ".sublime-project" ]]; then ARGS="${ARGS} --project" fi # ...
true
bae52ca09e4bdc0866f57ec4fc39849b1d8bb8b8
Shell
brwnj/ggd-recipes
/recipes/genomics/Homo_sapiens/GRCh37/grch37-clinically-associated-variants-ensembl-v1/recipe.sh
UTF-8
1,777
3
3
[ "MIT" ]
permissive
#!/bin/sh set -eo pipefail -o nounset ## Get the .genome file genome=https://raw.githubusercontent.com/gogetdata/ggd-recipes/master/genomes/Homo_sapiens/GRCh37/GRCh37.genome ## Get ref genome ref_genome=$(ggd get-files grch38-reference-genome-ensembl-v1 --pattern "*.fa" ) fai_file=$(ggd get-files grch38-reference-ge...
true
76285f793d6c73c31c3db59d499d00bbc27b20c9
Shell
abujalski/Webports
/ports/lua/build.sh
UTF-8
2,828
2.984375
3
[ "BSD-3-Clause", "GPL-2.0-or-later", "LicenseRef-scancode-mit-old-style", "MPL-1.1", "ImageMagick", "MIT", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GFDL-1.2-only", "LicenseRef-scancode-other-permissive", "LGPL-2.0-or-later", "GPL-1.0-or-later", "Libpng", "LicenseRef-scan...
permissive
# Copyright (c) 2011 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. BUILD_DIR=${SRC_DIR} EXECUTABLES="src/lua${NACL_EXEEXT} src/luac${NACL_EXEEXT}" EnableCliMain if [ ${TOOLCHAIN} == glibc ]; then PLAT=nacl-glibc...
true
b7647b19ecacce6ae5ce20d3f3fd07a0e8013a59
Shell
thoughtworks-jumpstart/jumpstart-project-feedback-team-a
/run_all_tests.sh
UTF-8
359
2.59375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e ## 1. run unit tests (client) yarn test ## 3. run e2e tests # background your server yarn start & # wait 7 seconds for app to start sleep 7 # and now run cypress $(yarn bin)/cypress run # stop server lsof -i tcp:3000 | grep LISTEN | awk '{print $2}' | xargs kill lsof -i tcp:3001 | grep L...
true
ad74e1be61c67c869a2731aa0ac0168a99804359
Shell
Icaro-Lima/LabarcFPGASimulatorDesktop
/server/launch_isa
UTF-8
1,200
3.359375
3
[]
no_license
#!/bin/bash # make sure there is at least one tmp directory so ls will not fail mkdir -p isa/tmp.0 while : ; do # infinite loop # get a directory to work on for i in {1..10}; do # set d to the i-th last tmp directory d=$(ls -1dt isa/tmp.* | head -$i | tail -1) # is there exactly one file in it ? if [ ...
true
c93ba450860a6fbd0baf7a6a99b94afdfbbe3dac
Shell
HDYA/smb-volume-release
/scripts/ci/run_driver_cert
UTF-8
1,877
3.453125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -x -e function finish { pkill ssh || true } trap finish EXIT source persi-ci/scripts/ci/bbl_get_bosh_env source bosh-env/set-env.sh apt-get update apt-get -y install cifs-utils realpath pushd smb-volume-release export GOROOT=/usr/local/go export PATH="${GOROOT}/bin:${PATH}" export GOPATH="...
true
d1e374c969e0733cf46393874ff739b9fbf70583
Shell
guyavrah1986/linuxProgramming
/miscellaneousTopics/findPattern.sh
UTF-8
3,496
3.796875
4
[]
no_license
#!/bin/bash source utilities.sh ##################################################################################################### ##################################################################################################### # Global constants: # ----------------- LOG_PREFIX="Find_Pattern" DSWP_VERSION_EXTE...
true
9a58fb1e04b3834d19f22cc748ec6fdf223de412
Shell
silviucpp/beanstalkd-deb
/setup/deb/postrm
UTF-8
2,116
3.703125
4
[]
no_license
#!/bin/sh # vim: ts=4:et:sts=4 # $Id: beanstalkd.postrm 89 2009-01-03 16:34:01Z robert $ set -e # Automatically added by dh_installinit if [ "$1" = "purge" ] ; then update-rc.d beanstalkd remove >/dev/null fi # In case this system is running systemd, we make systemd reload the unit files # to pick up changes. if [...
true
d179961f5b32f3f5ff3405f0434283c4d5784ccc
Shell
koeppl/hashbench
/scripts/resize_stats.sh
UTF-8
1,571
3.3125
3
[]
no_license
#!/bin/zsh function die { echo $1 >&2 exit 1 } overflow_types=(cht_overflow dummy_overflow) #overflow_types=(cht_overflow map_overflow array_overflow dummy_overflow) hash_types=(HASH_SPLITMIX HASH_XORSHIFT HASH_MULTIPLICATIVE) bucket_sizes=(32 64 128 192 255) cht_overflow_fractions=(0.001 0.2 0.0001 1.0 0.8 0.6 0....
true
478f4f2317115c9b1ea09fd435208589bd5ef9d8
Shell
mchalet/salt-cloud-Linode-scripts
/monitors_create.sh
UTF-8
693
3.265625
3
[]
no_license
#!/bin/bash # Creates and enables monitors for all '-lamp' minions. # Defaults to URL and http://${ipv4_address} # Warning: You cannot create a second monitor with the same label. curl -sH "Authorization: Bearer $TOKEN" \ https://api.linode.com/v4/linode/instances | jq -r '.data[] | select(.label|test("-lamp")) | "\...
true
ab7579fc35189d9af0873356422f7d442525804a
Shell
nextbitsys/lets_make_android
/build/sideloadable_ota_package/sideloadable_ota_package.sh
UTF-8
4,295
3.796875
4
[ "Apache-2.0" ]
permissive
#! /bin/bash if [[ "${0}" = /* ]]; then ME="${0}"; else ME="${PWD}/${0}"; fi while [ -h ${ME} ]; do ME=$(readlink $ME); done source `dirname ${ME}`/../../shell_base.sh nonEmptyVarOrExit "CLIENT_HOME" nonEmptyVarOrExit "DEVICE_NAME" nonEmptyVarOrExit "WORKSPACE" nonEmptyVarOrExit "PIPELINE_NUMBER" DIST_NAME= lookupD...
true
82ac4675f0fd83490491160fcd5086c0968b7329
Shell
tiantianwdy/hdm
/hdm-core/src/main/sbin/startup.sh
UTF-8
536
2.90625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8100" JAVA_HOME="" HDM_HOME="./" cd $HDM_HOME lib=`find lib -name *.jar | xargs` nodeType="$1" shift if [ $nodeType == 'master' ]; then ${JAVA_HOME}java $DEBUG_OPTS -Dfile.encoding=UTF-8 -cp "$lib" -jar ./hdm-core-0.0.1.jar -m...
true
e0f5ea7f4579611447f4241d92b55c930c272cc5
Shell
FauxFaux/debian-control
/s/shorewall6-lite/shorewall6-lite_5.2.1.4-1_all/postinst
UTF-8
883
3.3125
3
[]
no_license
#!/bin/sh -e case "$1" in configure) # if we are upgrading from version < 3.4 then we have to rename the # configuration file if [ "$2" ] && dpkg --compare-versions "$2" lt "3.4" then if [ -f /etc/shorewall6-lite/shorewall.conf ] then rm /etc/...
true
ca0e7273c49ec16a1c82a703f1c6c0cc35178b2b
Shell
lucaswannen/source_code_classification_with_CNN
/dataset_v2/bash/5075123.txt
UTF-8
253
2.875
3
[]
no_license
#!/bin/bash function xTrigger() { for ii in `seq 1 100`; do echo $ii; sleep 2; done } function xRunner() { sleep 10; echo $1; } export -f xTrigger export -f xRunner bash -c "xTrigger" | xargs -n 1 -P 1 -i bash -c "xRunner {}" killall xTrigger
true
7bcdd13f33c3221fda32d6358f92ebcaa5233240
Shell
onosendi/dotfiles
/.zshrc
UTF-8
1,453
3.171875
3
[]
no_license
fpath+=~/.zfunc # Colorize pacman results. alias pacman="pacman --color auto" # Manage dotfiles. alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME" alias global-dotfiles="/usr/bin/git --git-dir=$HOME/.global-dotfiles.git/ --work-tree=$HOME" # By default Mutt will save attachments to the f...
true
183c7d189d162e9d79f1e59b774420276599cb34
Shell
Rocket-Buddha/kubos-vagrant
/kubos-dev/script/pre-package.sh
UTF-8
715
3.234375
3
[]
no_license
#!/bin/bash set -x #Cleaning up before distribution #Clear out the cache rm -rf /var/cache/* #Making all empty storage zeros allows the final box to be better compressed dd if=/dev/zero of=/EMPTY bs=1M rm -f /EMPTY sync #Change the ssh key to the default vagrant insecure key so others can ssh in when they start thi...
true
8ea90a773d1b04331565026bd28091cf187c0b83
Shell
fehu/util-experimental
/shell/src/test/resources/echoEvery.sh
UTF-8
928
3.859375
4
[]
no_license
#!/bin/sh SLEEP=$1 ## Time to sleep between echo TIMES=$2 ## How many times to echo MSG=$3 ## The message to echo APPEND_ITER=$4 ## Append iteration number to the message? ECHO_ERR=$5 ## Echo in error stream? ERROR_IN_FIN=$6 ## error on termination? ECHO_MSG_FI...
true
5d243b3f2647e231b651d9fa3e91616c975893db
Shell
Sravan13/Shell-Script
/softwareInstall.sh
UTF-8
543
4
4
[]
no_license
#!/usr/bin/env bash if [[ $# -eq 0 ]] then echo "Usage: $0 pkg1 pkg2 ......" exit 1 fi if [[ $(id -u) -ne 0 ]] then echo "Please run for root user or sudo privileges" exit 2 fi for each_pkg in $@ do if which $each_pkg &> /dev/null then echo "Already package $each_pkg is installed" else echo "Installing $...
true
992745321092f6ad847cf6d9e6f624887bf42286
Shell
jonascfs/DamaShell
/machine.sh
UTF-8
4,868
3.171875
3
[]
no_license
#!/bin/bash source util.sh source rules.sh declare -a letras declare -A numeros letras=(x a b c d e f g h) n="0" for i in ${letras[@]} do numeros[$i]=$n n=$(expr $n + 1) done function hasThreat (){ #$1 col, $2 linha, $3 jogador, $4 col_coordenada, $5 linha_coordenada num_col_atual=${numeros[$1]} if hasPositi...
true
23331f579057062e7063862692a9d0278ec0f556
Shell
Ms-Shahid/Shell-Scripting-Linux
/Assignments/Linux_Scripts/Sequence_Problems/randaverage.sh
UTF-8
232
2.828125
3
[]
no_license
#! /bin/bash -x rand1=$((RANDOM%100)); rand2=$((RANDOM%100)); rand3=$((RANDOM%100)); rand4=$((RANDOM%100)); rand5=$((RANDOM%100)); sum=$(( rand1+rand2+rand3+rand4+rand5 )) average=$(( sum/5 )) echo SUM:$sum echo Average:$average
true
786502336b80bde42f2aad07adcd56f2d2e53bb3
Shell
petronny/aur3-mirror
/fast-track-svn/PKGBUILD
UTF-8
1,238
2.703125
3
[]
no_license
# Contributor: Jens Pranaitis <jens@chaox.net> pkgname=fast-track-svn pkgver=150 pkgrel=1 pkgdesc="Automated penetration suite" arch=("i686") url="https://www.securestate.com/Pages/Fast-Track.aspx" license=('BSD') makedepends=("subversion") depends=("pymssql" "metasploit3" "python-pexpect" "python-clientform" "beautifu...
true
49a3762385fb03394005bbacd0cb95c4e34b7158
Shell
zealoussnow/dotfiles
/setup.sh
UTF-8
694
2.5625
3
[]
no_license
#!/bin/bash # tmux yum -y install https://centos7.iuscommunity.org/ius-release.rpm yum install -y tmux2u cp ./tmux.conf ~/.tmux.conf # fonts #yum install fontconfig -y #git clone git@github.com:powerline/fonts.git --depth 1 #(cd fontd && ./install.sh) # repo rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/g...
true
581b0d5226ba672f46a464ae3df519f779636454
Shell
simondmansson/scripts
/make_powershell_environment_script.sh
UTF-8
480
4.125
4
[]
no_license
#!/usr/bin/env bash # Reads environment variables from a file and outputs a script for setting the variables as system variables in windows. # Expected format is name value, one per line. # Example command ./make_powershell_environment_script.sh args.txt my_file_name set -o errexit set -o nounset ARGSFILE=$1 OUTPUT=...
true
6f3bf63ff548716ded71cfb7bcfef6f2031f2c5e
Shell
chibitronics/jig-20-config-ltc
/bin/chibiscreen-interface.sh
UTF-8
1,501
3.59375
4
[]
no_license
#!/bin/sh uart=/dev/ttyAMA0 baud=9600 reset_pulse=23 mode=stopped stty -F ${uart} ${baud} -icrnl -imaxbel -opost -onlcr -isig -icanon -echo clear_screen_process() { gpio -g mode ${reset_pulse} down while true do gpio -g wfi ${reset_pulse} rising if [ -e /tmp/test-running ] then continue fi echo '#SYN'...
true
cdb0f1fd6df4b96abc3f32a53f6d3d8d03b5aff7
Shell
abwst/AliYun_RAM_Security
/access.sh
UTF-8
413
2.859375
3
[]
no_license
#!/bin/bash echo "Active Keys details for user "$user echo " " aliyun ram ListAccessKeys --UserName $user | tr ',' '\n' | tr '[' '\n' | cut -d '"' -f 4 # | grep -o -P '(?<="UserName":").*(?=")') echo "Last Login Date To The Console for user "$user aliyun ram GetUser --UserName $user | tr ',' '\n' | tr '{' '\n' | t...
true
30e6710865bf2c5398904a2bd7af7ba43edb22ad
Shell
mamachanko/lets-learn-some-dotnet
/demo-tdd.sh
UTF-8
5,130
3.75
4
[]
no_license
#!/usr/bin/env bash set -eo pipefail # Call me with `-d -n` to run unattended. source demo-magic.sh source ~/.profile DEMO_PROMPT="🐙 ❯ " : "${DEMO_DIR:="$(mktemp -d "$(pwd)"/animal-api-demo-tdd-XXXX)"}" if ! docker ps > /dev/null; then echo "docker is not running" exit 1; fi if [ "$( docker container inspect...
true
60454551cd016981868f055cb4087d1cd88c3a18
Shell
manoharsena/HackerRank_Solutions
/Linux Shell/Arrays in Bash/Filter an Array with Patterns.sh
UTF-8
210
3.078125
3
[ "MIT" ]
permissive
# You are given a list of countries, each on a new line. Your task is to read them into an array and then filter out (remove) all the names containing the letter 'a' or 'A'. arr=($(cat)) echo ${arr[@]/*[aA]*/}
true
641e75e5ee6f481d7f8a877dfff0799cc6aad312
Shell
WonderJet/NGINX-Install
/nginxinstall.sh
UTF-8
548
3
3
[]
no_license
#!bin/bash domain=$1 root="/var/www/example.com/html" block="/etc/nginx/sites-available/example.com" #Installs nginx su root sudo apt-get update sudo apt-get install nginx #Configures nginx sudo mkdir -p $root sudo tee $block > /dev/null <<EOF server { listen 3200; root /var/www/example.co...
true
3ce4875bfe6dfb184ee912c0eb3b1cc5010b3654
Shell
weilaidb/PythonExample
/regularexpress/home/weilaidb/software/git-2.0.5/t/t3415-rebase-autosquash.sh
UTF-8
4,316
2.8125
3
[]
no_license
#!/bin/sh test_description='auto squash' . ./test-lib.sh . "$TEST_DIRECTORY"/lib-rebase.sh test_expect_success setup ' echo 0 >file0 && git add . && test_tick && git commit -m "initial commit" && echo 0 >file1 && echo 2 >file2 && git add . && test_tick && git commit -m "first commit" && git tag first-commit && echo 3 >...
true
442ad4032aa91425793f5be2b4777ca2d9c763a3
Shell
maimaiworks/xcode-appicon
/makeAppIcon.sh
UTF-8
6,281
3.25
3
[ "MIT" ]
permissive
#/bin/sh cd `dirname $0` # output directory outdir="AppIcon.appiconset" mkdir -p $outdir if [ -e "icon1024.png" ]; then BASE_FILE="icon1024.png" else echo "Cannot find a AppIcon file.\nYou will need an icon1024.png of 1024x1024px." exit fi echo "BASE_ICON: " echo ${BASE_FILE} #-----------------------------...
true
4872eced7585a32ddbc9613f4279aecf4c99615e
Shell
bealeaj1214/personalGitAliases
/bin/gateway-sync.sh
UTF-8
395
2.921875
3
[]
no_license
#!/bin/bash ORG_BRANCH=$(git status -b -s | awk ' /##/ {print $NF;} ' ) # hillbilly style script for sync svn gateway for BRANCH in $( git branch | awk ' $NF~/^active\// {print $NF} ' | xargs); do git checkout $BRANCH && git svn rebase done git svn fetch git checkout ${ORG_BRANCH} # Improvements # fast fail ...
true
f638eee2ff62dcb2d0b8e5752b8d94c5c37ea37e
Shell
NafisatulAzmi/SVD
/user-add-pptp.sh
UTF-8
781
2.890625
3
[]
no_license
#!/bin/bash #Script Created By Pa'an Finest echo -e "\e[032;1m---------- Membuat Akun\e[0m \e[034;1mPPTP VPN ----------\e[0m" read -p "Isikan username baru: " username read -p "Isikan password akun [$username]: " password echo "$username pptpd $password *" >> /etc/ppp/chap-secrets echo "" echo "----------------------...
true
2014115a394f5642d0527843a4bca37a44ba85f8
Shell
hasithachamod/centos-web-panel-to-vestacp
/sk_cwp_importer.sh
UTF-8
5,803
3.234375
3
[]
no_license
#!/bin/bash # CWP to VESTACP # By Maksim Usmanov - Maks Skamasle # Beta 0.2 mar 2017 # Import account from Centos Web Panel to VESTACP # This need a ssh conection, ssh port, and mysql password, I asume you have setup SSH keys # This also need remote server with grant access to your IP # SSH is needit because CWP not h...
true
a5aeecc21bc5b7709cafa5e7a63a402abd61092b
Shell
tiagoor/openstack-on-coreos
/docker-files/network/entrypoint.sh
UTF-8
7,401
2.765625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash /hostsctl.sh insert controller=`awk '/controller/ {print $1}' /tmp/hosts` hostname=`hostname` echo "$MYIPADDR $hostname" >> /tmp/hosts echo "$MYIPADDR $hostname" >> /etc/hosts # Neutron SETUP sed -i "s/^#net.ipv4.ip_forward.*/net.ipv4.ip_forward=1/" /etc/sysctl.conf sed -i "s/^#net.ipv4.conf.all.rp_filte...
true
319f904b5a0f1e490aea06abc63edaf1088612f8
Shell
StudioDotfiles/DotRepo
/wmii/rbar/30_df
UTF-8
250
2.8125
3
[]
no_license
#!/bin/zsh -f NAME=$0:t wmiir remove /rbar/$NAME &>/dev/null echo | wmiir create /rbar/$NAME while (wmiir read /ctl &>/dev/null) { wmiir xwrite /rbar/$NAME $(df | awk 'BEGIN { printf("hd "); } /^\/dev\// { printf("%s=%s ", $6, $5) }') sleep 1m }
true
3a1f94e2d394164b5f88e966bbffa1c491bc7c8a
Shell
Joovvhan/espnet
/tools/installers/install_morfessor.sh
UTF-8
355
2.90625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Copyright 2017 Atlas Guide (Author : Lucas Jo) # # Apache 2.0 # # Modified by Hoon Chung 2020 (ETRI) set -euo pipefail echo "#### installing morfessor" dirname=morfessor rm -rf "${dirname}" mkdir -p ./"${dirname}" git clone https://github.com/aalto-speech/morfessor.git "${dirname}" echo >&2 "installa...
true
72e3df3b94216508d21ed506cb192d9c109f3fb7
Shell
jaimegag/pcf-pipelines
/scripts/gen_ssl_certs.sh
UTF-8
1,296
3.203125
3
[]
no_license
#!/bin/bash set -eu PKS_DOMAIN=$1 SSL_FILE=sslconf-${PKS_DOMAIN}.conf #Generate SSL Config with SANs if [ ! -f $SSL_FILE ]; then cat > $SSL_FILE <<EOM [req] distinguished_name = req_distinguished_name req_extensions = v3_req [req_distinguished_name] #countryName = Country Name (2 letter code) #countryName_default ...
true
058b6466248d50532c5bdfa661c54a102fdb8408
Shell
Senui/hicomb_benchmarks
/neighborhood-density/run.sh
UTF-8
767
2.625
3
[]
no_license
#!/bin/bash # With a total population of 2,000,000 agents: # max-bound = 600 -> ~3.5 neighbors per agent # max-bound = 500 -> ~6 neighbors per agent # max-bound = 400 -> ~11.5 neighbors per agent # max-bound = 350 -> ~17 neighbors per agent # max-bound = 300 -> ~27 neighbors per agent # max-bound = 275 -> ~35 neighbor...
true
eafa3f35445afda87ab1a135b2447c9babeb5cdb
Shell
autoscatto/retroshare
/branches/v0.5-OpenPGP/build_scripts/Ubuntu_src/make.sh
UTF-8
979
3.34375
3
[]
no_license
#!/bin/sh echo This script will echo - remove the directory retroshare-0.5/ echo - remove existing sources packages in the current directory echo - build a new source package from the svn echo - rebuild the source package for the karmic i386 arch. echo echo attempting to get svn revision number... svn=`svn i...
true
e65c8a0aaca0b23937d360661ad3d220ac4ecd8f
Shell
shenfeng/rockredis
/scripts/deps.sh
UTF-8
536
3.21875
3
[]
no_license
#! /bin/bash set -e set -u is_linux() { [ $OSTYPE = 'linux-gnu' ]; } function full_path() { if is_linux; then readlink -f ../../../.. else greadlink -f ../../../.. fi } DIR=$(full_path) export GOPATH=$DIR cd "$DIR" mkdir -p deps && cd deps if [ -d rocksdb ]; then (cd rocksdb && git...
true
12e442b4965b43714c4062d82186fb820df894a6
Shell
vphoenix1972/mygenerator
/yeoman/generators/app/templates/deploy/docker/appImage/app.sh
UTF-8
189
2.640625
3
[]
no_license
#!/bin/bash # Parse command line arguments action=$1 shift name="app" workdir="/srv/app" runas="app" command="dotnet <%= csprojName %>.Web.dll" . /srv/scripts/service_runner.sh $action
true
7b217168900fcf68305ed1336d2f24098c55beee
Shell
NguyenThiUtQuyen7th2/KhoLinux
/bai8.sh
UTF-8
207
2.671875
3
[]
no_license
#!/bin/sh echo "Nhap tap tin muon dem tu: " read f echo "Dem so tu cua tap tin $f" { n=0 while read line do for wd in $line do n=$(($n+1)) done done echo "So tu cua tap tin $f la: $n" }<$f exit
true
b3a33c6c87d3d06880cda91ac553aec5626b3f90
Shell
c0uy/Firewall-IPTables-Linux-
/firewall
UTF-8
2,889
3.5
4
[ "MIT" ]
permissive
#!/bin/bash ### BEGIN INIT INFO # Provides: firewall # Required-Start: $local_fs $network # Required-Stop: $local_fs $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # X-Interactive: false # Short-Description: Filter UDP/TCP PORTS + VPN ### END INIT INFO #---- VARIABLES ----# IPT=$...
true
b985515c7e9028d92c9e2bf59dc8f62add7d0eed
Shell
ai7dnn/kubernetes-the-hard-way-centos
/vagrant/centos/vagrant/setup-hosts.sh
UTF-8
388
2.90625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e IFNAME=$1 ADDRESS="$(ip -4 addr show $IFNAME | grep "inet" | head -1 |awk '{print $2}' | cut -d/ -f1)" sed -e "s/^.*${HOSTNAME}.*/${ADDRESS} ${HOSTNAME} ${HOSTNAME}.local/" -i /etc/hosts # Update /etc/hosts about other hosts cat >> /etc/hosts <<EOF 192.168.25.11 master-1 192.168.25.12 master-2 19...
true
d788b31c8207d55d833be9409902d74f63b070cc
Shell
imahajanshubham/Miscellaneous
/Ellipses/StringUtils_TestDrivenScript.sh
UTF-8
3,252
3.53125
4
[]
no_license
# Test Driven Development - Shell Script function startScript() { # Test Name # executeTests "TestForEllipses" read } function checkIfEqual() { if [ "$1" == "$2" ] then echo "Pass" else echo "Fail" fi } function printTestCaseResult() { echo "$1 Test $2 : $3" } function executeTests() { testnumber=1...
true
037450a3fa0330a601ccc6135318f9624ce78888
Shell
boopathi/babili-online
/scripts/copy-to-dist.sh
UTF-8
141
2.515625
3
[ "MIT" ]
permissive
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" mkdir -p $DIR/../dist/static rsync -rva $DIR/../assets/ $DIR/../dist/
true
8a19fc676b5c987a56fbc1e9fdfb1a1c47566899
Shell
HegemonsHerald/runcoms
/.scripts/cycle
UTF-8
711
4.125
4
[]
no_license
#!/bin/dash helptext=" cycle -- repeat a command USAGE: cycle [count] ... cycle [-h|--help] ... is the command to repeat. DESCRIPTION: Infinitely repeats the provided command, like a while-true-loop. If a count is specified, cycle will repeat the command count-many times, like a for-loop. OPTI...
true
394d9f63696ce2d25bdaa4ea8c7363575b8d1e51
Shell
tripattern/howtos
/openssl/feistyDuckComRootCa/scripts/testCA.sh
UTF-8
773
3.53125
4
[ "MIT" ]
permissive
#!/bin/bash # First run: cleanAndBuild.sh TEST_DIR="test" CERT="client" cd .. mkdir "${TEST_DIR}" echo "Build a file to sign..." echo "Hello, World!" > "${TEST_DIR}/sign.txt" echo "Sign file using CERT private key..." openssl dgst -sha256 -sign "${CERT}/private/${CERT}.key" -out "${TEST_DIR}/sign.txt.sha256" "${TES...
true
eada68b38f00bcebd89a44895e9215747e1bd831
Shell
idevol/bpmonline-dataservice-connectors
/bash/bpmonline.sh
UTF-8
1,507
3.15625
3
[]
no_license
#!/bin/bash # https://github.com/idevol/bpmonline-dataservice-connectors # bpm'online URL BPMONLINE_URL='https://myproduct.bpmonline.com' # bpm'online credentials USER_NAME='Supervisor' USER_PASSWORD='secret' # bpm'online DataService URI's web service (API) LOGIN_URI='/ServiceModel/AuthService.svc/Login' SELECT_URI...
true
36f59e0fd83eb47d59c554ec47fc06b7949806d4
Shell
tellkiApp/TellkiAgent_LinuxDiskUsage
/DiskUsage_Linux.sh
UTF-8
5,888
3.65625
4
[]
no_license
################################################################################################################### ## This script was developed by Guberni and is part of Tellki monitoring solution ## ## ...
true
3c0202ca41983f9f401fa80d39382c5082e5591c
Shell
peacechu/ConvertEAC3
/start.sh
UTF-8
582
3.296875
3
[ "MIT" ]
permissive
#!/bin/bash #Give message when starting the container printf "\n \n \n ------------------------Starting container ------------------------ \n \n \n" # Configure user nobody to match unRAID's settings #export DEBIAN_FRONTEND="noninteractive" usermod -u 99 nobody usermod -g 100 nobody usermod -d /home nobody chown -R n...
true
179e5c95b3e5b1eba18bbab6046f22140ce77013
Shell
lineCode/hello_imgui
/tools/ios/cmake_ios_sdl.sh
UTF-8
591
3.125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" cd $THIS_DIR/../.. || exit 1 if [ -z "$CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM" ]; then echo "Please set env variable CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM" exit 1 fi build_dir="build_ios_sdl" if [ ! -d $build_dir ];...
true
c23932e740b49006900659af8c85d3070e4914ca
Shell
issei1022/dotfiles
/.bash_profile
UTF-8
686
2.78125
3
[]
no_license
#export PATH="/usr/local/bin:$PATH:/usr/local/sbin" export PATH="$PATH:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin" PATH=$PATH:~/bin export PATH #lsの色変更 alias ls='ls -G' export LSCOLORS=gxfxcxdxbxegedabagacad export CLICOLOR=1 #export PATH source .bashrc export PATH="$HOME/.rbenv/bin:$PATH" eval "$(rbenv init -)" ...
true
49c348e6568e97b401b23001b61fb56e5f994c75
Shell
TANGO-Project/cryptango
/examples/inner_product/innergen/run_local.sh
UTF-8
555
3.28125
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Define usage function usage(){ echo "Usage: $0 <num inputs> <degree of polynomial to compute> <bit length of plaintexts> <effective bit length of plaintexts when enciphered> <number of output files to generate>" exit 1 } # Call usage() function if parameters not supplied [[ $# -lt 4 ]] && usage if [ !...
true
8f9b780064eefd78bfacd6f4534fbd36482e6fd0
Shell
dancarter/zshrc
/zshrc
UTF-8
2,394
2.953125
3
[]
no_license
# Path to your oh-my-zsh configuration. ZSH=$HOME/.oh-my-zsh # Set name of the theme to load. ZSH_THEME="robbyrussell" alias ls='ls --color=auto' alias ll='ls -l --color=auto' alias la='ls -A --color=auto' alias l='ls -CF --color=auto' alias diff='colordiff' alias -s gz='tar -xzvf' alias -s bz2='tar -xjvf' alias -s ...
true
4cc15e7d2840b3017115605ab7b459d6b3cad02a
Shell
VijayEluri/Ferrous-Wheel
/start_ferrous_wheel.sh
UTF-8
619
2.796875
3
[]
no_license
#!/bin/bash # Move to the ferrous wheel directory cd /home/ferrous/sketchbook/ferrous_wheel/ # Start the screensaver blocker (otherwise it blanks after 2 hours) ./stop_screensaver.sh & # Launch the synthesizer (zynaddsubfx) zynaddsubfx -r 22050 -b 1024 -o 1024 -A -L "/usr/share/zynaddsubfx/banks/SynthPiano/0004-Fant...
true
07345068d6fa5bdf9aeeb3435ff81fb851d847d6
Shell
mrchapp/ci-job-configs
/armnn-ci-build/builders-32bit.sh
UTF-8
4,948
3.046875
3
[]
no_license
#!/bin/bash set -ex sudo apt -q=2 update sudo apt-get -q=2 install -y --no-install-recommends git sudo apt-get -q=2 install -y --no-install-recommends scons sudo apt-get -q=2 install -y --no-install-recommends gcc-arm-linux-gnueabihf sudo apt-get -q=2 install -y --no-install-recommends g++-arm-linux-gnueabihf...
true
a6f6a08af87691de2f48d25d5b692c1713121345
Shell
caiofbpa/dotfiles
/caiofbpa.zsh-theme
UTF-8
367
3.265625
3
[]
no_license
PROMPT='$(git_prompt_info)%{$fg[yellow]%}$%{$reset_color%} ' ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}" ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}" function git_prompt_info() { ref=$(command git symbolic-ref HEAD 2> /dev/null) || \ ref=$(command git rev-parse --short HEAD 2> /dev/null) || return echo "$(parse_gi...
true
b752c960e030b6ac58e42286cf28063a57f37b0f
Shell
deodeveloper/roughModule
/target/classes/clean-ad-hdfs-files.sh
UTF-8
1,617
2.6875
3
[]
no_license
#!/bin/sh #root path rootPath='/ad' suffix='20??/*/*/*/' #process deduped-before-lookup coordinatorNames='AdProviderAdGroupUpdate AdProviderKeywordUpdate AdCampaignUpdate' basepaths='process deduped-before-lookup' for coordinator in $coordinatorNames do for basepath in $basepaths do hdfs dfs -rm -R ...
true
1f58424ffdde7a00112c62b438726236dad6373e
Shell
fboender/localenv
/localenv-init.d
UTF-8
854
3.9375
4
[ "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/sh PATH="/bin:/usr/bin:/sbin:/usr/sbin" PROFILE="`/usr/bin/localenv-discover`" PROFILE_DATA="/etc/localenv.d/" PROFILE_FILE="${PROFILE_DATA}current_profile" if [ ! "$PROFILE" ]; then echo "Internal error. Check your install. Aborting.." >&2 exit fi start() { echo "$PROFILE" > $PROFILE_FILE localenv-script...
true
fe66ea8b490e3195dc4e5760928aa9e840ae19ab
Shell
bubdm/FluentArgs
/doc/DummyProject/test_many_example_codes.sh
UTF-8
110
2.65625
3
[ "BSD-3-Clause" ]
permissive
#!/bin/sh set -e for code_file in "$@"; do bash "$(dirname "$0")"/test_example_code.sh "$code_file" done
true
6f2f3f72723761905f992ea3dadc3903f624cd9d
Shell
visibilityspots/ci-scripts
/packaging/package-yum-repo-client.sh
UTF-8
580
3.328125
3
[]
no_license
#!/bin/bash # # This script packages the yum-repo-client # Declaration of the parameters VERSION=$(cat pom.xml | grep version | head -1 | awk -F 'version' '{print $2}' | sed -s 's/^="//g' | sed -s 's/".*$//g') PACKAGEVERSION=`echo $VERSION | cut -d '.' -f 1` ITERATION=`echo $VERSION | cut -d '.' -f 2` ITERATIONPLUS=`...
true
97865089f693517d8e9f95175a625fe846a33ccd
Shell
convict-git/cp_parser_cli
/build.sh
UTF-8
852
3.5
4
[ "MIT" ]
permissive
#!/bin/bash echo -e "Cleaning previous build if present.." rm -rfv ./bin/cp-parse echo -e "Checking if npm is installed.." if npm -v; then echo -e "\e[32mnpm found\e[0m" else echo -e "\e[31mnpm not found. Installing npm....\e[0m" if sudo apt-get install npm; then echo -e "\e[32mnpm installed.\e[0m" ...
true
0bf844dc41cbf06ee9b269de1f9ba4bf90beee94
Shell
joergpatz/vagrantbox
/bootstrap.sh
UTF-8
1,478
2.734375
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # Fix locale update-locale LC_ALL=en_US.UTF-8 update-locale LANGUAGE=en_US.UTF-8 # Upgrade Base Packages apt-get update # Install system packages apt-get install -y build-essential python curl libmcrypt4 mc nano htop git unzip jq # Download Bash Aliases wget -nv -O /home/vagrant/.bash_aliases ht...
true
4936f3da51aea0dd4c237f1b4890a5c473683148
Shell
kvjmistry/theta
/containers/production_v2/container_beamoff_chain_run1.sh
UTF-8
8,190
3.4375
3
[]
no_license
#!/bin/bash # USAGE: ./container_beamoff_chain_run1.sh <The input file> <the number of events> echo "First Statement" date echo "TIMESTAMP_T7 $(date +%s)" export SINGULARITYENV_HOME=/lus/theta-fs0/projects/uboone # Check if files exist, if it does then we skip this process to run export SINGULARITYENV_check_reco1=...
true
bf8e9f69958878e9ba500e1573e6a1562fb0fa78
Shell
toddyamakawa/bin
/git-fzpop
UTF-8
298
2.546875
3
[]
no_license
#!/usr/bin/env bash # https://github.com/mattorb/dotfiles/blob/master/bin/fstash # TODO: Finish this git stash list | ,fzf git-show | xargs echo git stash pop # REVISIT: Checkout as branch # sha=$(echo "$selection[3]" | grep -o '[a-f0-9]\{7\}') # git stash branch "stash-$sha" "$reflog_selector"
true
e5fb5930e1193b8262cb5b9a610444099a0c046e
Shell
shigeyf/azure-webapp-for-container-letsencrypt-template
/files/rootdir/docker-entrypoint.d/50-setup-letsencrypt.sh
UTF-8
750
3.234375
3
[ "MIT" ]
permissive
#!/bin/sh # vim:sw=4:ts=4:et set -e ME=$(basename $0) mkdir -p /home/configs/letsencrypt if [ -L /etc/letsencrypt ] && [ -e /etc/letsencrypt ]; then echo "" else rm -f /etc/letsencrypt ln -s /home/configs/letsencrypt /etc/letsencrypt fi mkdir -p /var/www mkdir -p /home/var/certbot if [ -L /var/www/certbo...
true