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
a09b231543677ebae53dd017cb01f599bab21862
Shell
LASG-GAMIL/blog
/.github/actions/deploy-jekyll-gh-pages/entrypoint.sh
UTF-8
739
3.28125
3
[]
no_license
#!/bin/sh -l # Exit immediately if a pipeline returns a non-zero status. set -e REPO="https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" echo "🚀 Starting build action" mkdir /var/www && cd /var/www git clone $REPO repo echo "⚡️ Installing dependencies..." cd repo bundle install echo "�...
true
19e6fa3f306c8a97b2e9b6487e40f77ceb9e1a3a
Shell
hurtsky/CrossBreeder
/pixserv30/test/build.sh.bak
UTF-8
1,333
2.5625
3
[]
no_license
#!/bin/sh SRC=pixelserv30.c CC="arm-elf-linux-androideabi-gcc -m32" CFLAGS="-Os -s -Wall -ffunction-sections -fdata-sections -fno-strict-aliasing" LDFLAGS="-Wl,--gc-sections" STRIP="strip -s -R .note -R .comment -R .gnu.version -R .gnu.version_r" OPTS="-DDO_COUNT -DIF_MODE -DTEXT_REPLY -DPORT_MODE -DINETD_MODE -DDROP...
true
28cc7ec48245257b4563b72f5c1fd72eb16036ad
Shell
puremourning/vscode-bash-debug
/bashdb_dir/command/file.sh
UTF-8
1,550
3.3125
3
[ "GPL-2.0-only", "GPL-2.0-or-later", "MIT" ]
permissive
# -*- shell-script -*- # gdb-like "file" debugger command # # Copyright (C) 2002-2008, 2010, 2013 # Rocky Bernstein <rocky@gnu.org> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; ei...
true
b930b2732f95b0840dca95aa17b3f5bda8610c39
Shell
ericmaxwell2003/dev-utils
/svnignores/set-module-ignores.sh
UTF-8
341
3.578125
4
[]
no_license
if [ "$#" -eq 0 ]; then echo "Usage: sh set-module-ignores.sh ignore-file.txt"; exit 1 fi echo "Setting up svn ignores for maven modules" files="$(find -L -name "pom.xml")" echo "Count: $(echo -n "$files" | wc -l)" echo "$files" | while read file; do dir="$(dirname $file)" echo "$(svn propset svn:ignore -...
true
110e78c60dde0f864c224bbbd7e1113609d9e80f
Shell
anthonygclark/PasteServer
/paste_via_curl.sh
UTF-8
237
3.28125
3
[]
no_license
#!/bin/bash # Code Syntax TYPE=${1:-txt} # Paste server address HOST="$2" # stdin CODE=$(cat) RES=$(curl -sS -d lang=${TYPE} --data-urlencode code="$CODE" -d submit "$HOST"/cmd) if [[ ! -z "$RES" ]] ; then echo "${HOST}${RES}" fi
true
2f6c7e005be219d5644d392022834f744c2a7585
Shell
carol-rowe666/ortho_group_refile
/get_prot_names.sh
UTF-8
99
2.5625
3
[ "MIT" ]
permissive
#!/bin/bash FILES="./*.afa" for file in $FILES do grep -H -n "^>" $file >> prot_names.txt done
true
296afa42a1da09ea0d40c7369cc830fb833d7de1
Shell
alabamagan/maxillary_sinus_diagnosis_toolkit
/msdtk/pipeline/remap_label.sh
UTF-8
1,631
3.71875
4
[ "MIT" ]
permissive
#!/bin/bash ## Purpose ## This bash script remap the msdtk step 1 and step 2 output to a single label and evalute the performance if ground- ## truth is available. ## Requirements ## This script requires pytorch-medical-imaging package to perform deep learning inference. ## help_msg() { echo "Usage:" ec...
true
8a523f5fbf1b2c23cb788783a59dd6083aae25ad
Shell
jean-edouard/openxt
/pkg-xctools/fix-i915-passthrough.sh
UTF-8
1,566
3.859375
4
[]
no_license
#!/bin/bash set -e die() { echo "ERROR: $1" 1>&2 exit 1 } export PATH="/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin" cd "$( dirname "${BASH_SOURCE[0]}" )" SRC_DIR="/usr/src/xc-i915-fix" LINUX_DIR="" #try to determine the newest kernel KSUFFIX=$(uname -r | sed -n -re 's/.*[0-9](\-[^ 0-9]+)$/\1/p') apt-get -q -y u...
true
d4b0175da40b46b20de894b5d006d9fd972355d6
Shell
wubinbai/argus-freesound
/ensemble_pipeline.sh
UTF-8
2,057
2.5625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -e NAME="argus-freesound" DOCKER_OPTIONS="--rm -it --ipc=host -v $(pwd):/workdir --name=${NAME} ${NAME}" git checkout master docker build -t ${NAME} . # Build kernel git checkout ddbe02ae88b6bd05c1b9726d2fd30c38854be4fd nvidia-docker run ${DOCKER_OPTIONS} python build_kernel.py # Make folds s...
true
5ce3e42cf067b0e1ab46cab624773f48f0ca265a
Shell
bopopescu/projects-2
/cs420/project2/shell
UTF-8
134
2.609375
3
[]
no_license
#!/bin/bash PROCESS_TO_RUN=("/home/mwade18/COURSES/cs420/project2/lab.cpp") for i in ${PROCESS_TO_RUN[@]}; do $(i%/*)/./${i##*/}
true
cbde071907282b9c457f3e3d4475554756064b5a
Shell
dandyvica/clf
/scripts/package.sh
UTF-8
909
2.59375
3
[ "MIT", "LicenseRef-scancode-other-permissive" ]
permissive
#!/bin/bash target=release mkdir ./package # make sure it's compiled #cargo build cargo build --release #cargo build --target x86_64-unknown-linux-musl cargo build --release --target x86_64-unknown-linux-musl # copy file into package cp target/$target/clf ./package strip target/x86_64-unknown-linux-musl/$target/clf c...
true
0f36bdbc6be7a5cd70c80c86d6d4233b0f8e615b
Shell
sanus-solutions/sanus-web-app
/setup/setup.sh
UTF-8
1,028
2.609375
3
[]
no_license
#!/bin/bash cd .. echo "unpacking Druid folder..." curl https://www-us.apache.org/dist/incubator/druid/0.15.1-incubating/apache-druid-0.15.1-incubating-bin.tar.gz -o apache-druid-0.15.1-incubating-bin.tar.gz tar -xzf apache-druid-0.15.1-incubating-bin.tar.gz mv apache-druid-0.15.1-incubating druid cd druid ## Download...
true
c7de44ac618b73114ba6f4ca375410fa0adbc4f7
Shell
hqwisen/os1-projects
/filestree.sh
UTF-8
1,127
3.453125
3
[]
no_license
#!/bin/bash # Name : Hakim BOULAHYA # Serial : 000391737 # Grade : INFO2 # Const. vars readonly CONTENTPREFIX="--" readonly INDENTATIONPREFIX="|" readonly INDENTATIONSPACELENGTH=3 readonly EMPTY_ITEM="*" echoIndentation(){ echo -n $INDENTATIONPREFIX for ((i=0; i<$1; i++)); do printf '%*s' $INDENTATIONSPACELE...
true
3b1e13045674a8419753cb02b351cdfe90b0d8c0
Shell
evanlinde/MACA
/MACAv2-METDATA/download.sh
UTF-8
2,462
3.6875
4
[]
no_license
#!/bin/bash # # Download netCDF files for MACAv2-METDATA # # Declare arrays for the models, year blocks, climate variables, and RCPs. # These arrays will be used to build the URLs for the netCDF files we want # to download. MODELS=("bcc-csm1-1-m" "bcc-csm1-1" "BNU-ESM" "CanESM2" "CCSM4" "CNRM-CM5" "CSIRO-Mk3-6-0...
true
b7f9a7407a2a0a681bb8a9b31e959f9935189d09
Shell
falcon-pioupiou/cscandemo
/falcon-container-terraform/demo.sh
UTF-8
4,562
3.484375
3
[ "Unlicense" ]
permissive
#!/bin/bash DG="\033[1;30m" RD="\033[0;31m" NC="\033[0;0m" LB="\033[1;34m" env_up() { echo -e "$LB\n" echo -e "Initializing environment templates$NC" # Workaround https://github.com/hashicorp/terraform-provider-google/issues/6782 sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 net.ipv6.conf.default.disable_ipv...
true
187743dc0c6330aa186445f2d40545d21fabb4b4
Shell
ajrkerr/prefs
/home/.bash_profile
UTF-8
1,062
3.40625
3
[]
no_license
#!/bin/bash ## Alias Commands ## alias ls="ls -G" alias z="zeus" alias pm="cd ~/src/packmanager" ## Console Prompt Settings ### parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/:\1/" } # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color)...
true
23dde5493f8096a788acc62b30b8c3d084855e6c
Shell
dotnet/xharness
/tools/install-xharness.sh
UTF-8
1,540
4.59375
5
[ "MIT" ]
permissive
#!/bin/bash ### This script is a quick way to install and test XHarness on any POSIX system. ### It installs the .NET SDK and the XHarness tool, everything in a local folder which can be deleted afterwards. ### ### Use the following command to run this script from anywhere: ### curl -L https://aka.ms/get-xharness | ba...
true
b049cc54c6296530cc0d9ca173ce9a4b09ed645a
Shell
bureau14/qdb-pkg-rpm
/qdb-server/pack.sh
UTF-8
257
2.53125
3
[]
no_license
#!/bin/bash -eu PACKAGE_TARBALL=$(readlink -e $1); shift cd $(dirname $0) ../common/pack.sh qdb-server.spec \ $PACKAGE_TARBALL \ qdbd.service \ qdbd_sysctl.conf \ qdbd_logrotate.conf
true
32db42fb96642f2e4ad9531cd625c4472c76530c
Shell
karuvally/college_code
/systems/cycle_i/translate.sh
UTF-8
414
4.125
4
[]
no_license
#!/bin/bash # exit if no arguments if [ -z $1 ] then echo "Translate" echo "Usage: translate.sh [FILE_1] [FILE_2] [...]" exit fi # iterate through all the arguments for file_path in $* do # complement case, save output to temp file cat $file_path | tr '[:lower:][:upper:]' '[:upper:][:lower:]' > ou...
true
81bd912ed61b11c1ad5278bc36f8cc2054f645e5
Shell
Skyfleet/archlinuxarm
/bootstrap/bootstrap-alarm.sh
UTF-8
1,610
3.734375
4
[]
no_license
#!/bin/bash #user portion of the setup customization #rerun to update AUR packages set -e if [[ $EUID -eq 0 ]]; then echo "Please do not run this script as root." 1>&2 exit 100 fi #sync databases before upgrade sudo pacman -Syy #full system update yes | sudo pacman -Syu --noconfirm package=yay-git if pacman -Qi ...
true
5adfce00acb0b5d390187ec52c371ed2e1de6a0b
Shell
AbbTek/terraform-aws-foundation
/packer/ubuntu-trusty/scripts/cleanup.sh
UTF-8
206
2.5625
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -eux apt-get -y autoremove apt-get -y clean echo "clear consul's tmp path, if it is present" rm -rf /home/consul/tmp/* || true rm -rf /root/.ssh/id_rsa rm -rf /home/ubuntu/.ssh/*
true
2586f939819cb623da59534e4d078862aeecdd6c
Shell
dubanoze/actility_gw
/lrr/com/_afterupgrade.sh
UTF-8
669
2.953125
3
[]
no_license
#!/bin/sh FROM="${CURRENTVERSION}" TO="${VERSION}" FROMTO=${FROM}_${TO} if [ -f ${ROOTACT}/lrr/com/_parameters.sh ] then . ${ROOTACT}/lrr/com/_parameters.sh fi if [ -f ${ROOTACT}/lrr/com/_functions.sh ] then . ${ROOTACT}/lrr/com/_functions.sh fi echo "_afterupgrade.sh on=$SYSTEM from=$FROM to=$TO" if [ "$SYSTEM" ...
true
25bed8d5cb942d7a76dd4d21cf6eee83cc49abd7
Shell
espnet/espnet
/tools/installers/install_speechbrain.sh
UTF-8
687
3.640625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash set -euo pipefail if [ $# != 0 ]; then echo "Usage: $0" exit 1; fi if ! python -c "import packaging.version" &> /dev/null; then python3 -m pip install packaging fi torch_18_plus=$(python3 <<EOF from packaging.version import parse as V import torch if V(torch.__version__) >= V("1.8"):...
true
cd690f23aa8534f398e0b1df8d6c1e2e99897e3c
Shell
onap/ccsdk-platform-plugins
/mvn-phase-script.sh
UTF-8
4,119
3.21875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # ============LICENSE_START==================================================== # org.onap.ccsdk # ============================================================================= # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. # ===========================================================...
true
7277a93e320a6c3c44572233e5e0cf138f14529c
Shell
long-woo/Cydia
/iSH/tests/manual/get-busybox.sh
UTF-8
236
2.609375
3
[ "GPL-1.0-or-later", "GPL-3.0-only", "MIT" ]
permissive
#!/bin/bash cd $MESON_SOURCE_ROOT/$MESON_SUBDIR file=busybox-1.26.2 curl -LO http://busybox.net/downloads/$file.tar.bz2 tar -xf $file.tar.bz2 cd $file export CFLAGS=-m32 LDFLAGS=-m32 make defconfig make cp busybox_unstripped ../busybox
true
aef842beee0010b7d355fb73f07a6fa358b2b7ef
Shell
evankicks/kubernetes-samples
/deployment/kubectl-aws-iam-auth.sh
UTF-8
1,185
3.609375
4
[]
no_license
#!/bin/bash if [ -x "$(command -v kubectl)" ]; then echo 'Info: kubectl is installed.' else echo 'Info: kubectl is not installed. Installing version 1.15' curl -o kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.15.10/2020-02-22/bin/linux/amd64/kubectl chmod +x ./kubectl mkdir -p $HOME/bin && cp ./ku...
true
8833f759096ca4785d27e94c600e79d69aa16e50
Shell
jshaw35/bashscripts
/Archive/bash_tochange.sh
UTF-8
787
3.1875
3
[]
no_license
#!/bin/bash # ^specify bash as interpreter # Search and replace function function ponyfyer() { local search=$1 ; local replace=$2 ; local loc=$3 ; # Note the double quotes sed -i "s/${search}/${replace}/g" ${loc} ; } # value='unchanged' # echo $value # Change the 12th line of the file print_para...
true
78e4753024d12d3ad709d7033bad4a0d60cd4c5b
Shell
cih9088/dotfiles
/script/dots/neovim_plugins.sh
UTF-8
2,809
3.40625
3
[]
no_license
#!/usr/bin/env bash ################################################################ THIS=$(basename "$0") THIS=${THIS%.*} DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" . "${DIR}/../helpers/common.sh" ################################################################ THIS_HL=${BOLD}${UNDERLINE}${T...
true
04bdbe477d4d28b162cac18f85c492e24438bec8
Shell
DinisCruz/misc-clis
/jenkins-cli/src/jenkins-cli.sh
UTF-8
386
2.671875
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash function jenkins-cli-about { echo echo "Created by Dinis Cruz, source code hosted at https://github.com/DinisCruz/misc-clis" echo } function jenkins { local action=$1 local param_1=$2 echo $param_1 java -jar jenkins-cli.jar -s http://192.168.99.100:8080/ $action "$param_1" } ...
true
67d6edcd9e440ff7e21590880a87cbfd6997dbc5
Shell
dendisuhubdy/neurofield
/benchmarks/nf_benchmarks
UTF-8
20,683
4.0625
4
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # nf_benchmarks: # A script for benchmarking neurofield and storing the results. # #USAGE: # #Show this header message: # nf_benchmarks --help # # #Benchmark a specific configuration file. # nf_benchmarks <config_filename> # # #NOTE: When provided, a specific configuration file must be the ...
true
e58e9eb722cc9dab8dd9dcaab217cccfb7c8c19c
Shell
Sirius-A/dotfiles
/.aliases.sh
UTF-8
5,388
3.609375
4
[ "MIT" ]
permissive
# Ensure correct behavior when sudo-ing an alias alias sudo='sudo ' # Some ls aliases alias ll='ls -alF' alias la='ls -A' alias l='ls -CF' # Always use neovim instead of vim or vi alias vim='nvim' alias vi='nvim' # Create subdirectories automatically alias mkdir="mkdir -pv" alias ag='ag --smart-case --hidden' # Gi...
true
f26e609d7bf7ff4079ccd2352ae9ff1185f59374
Shell
gitter-badger/kubefaas
/examples/python/guestbook/deploy.sh
UTF-8
552
2.9375
3
[ "Apache-2.0" ]
permissive
#!/bin/sh set -e kubectl create -f redis.yaml if [ -z "$KUBEFAAS_URL" ] then echo "Need $KUBEFAAS_URL set to a kubefaas controller address" exit 1 fi # Create python env if it doesn't exist kubefaas env get --name python || kubefaas env create --name python --image kubefaas/python-env # Register functions ...
true
2e1380f5b5e15bfb1ed7e479e39cab92ec6356cd
Shell
westes/git-multi
/bin/git-multi-run
UTF-8
432
3.578125
4
[]
no_license
#!/bin/bash if [ ! -n "$1" ]; then echo "Must pass the name to 'git multi run'"; exit 1; fi name=$1 shift MPWD=`pwd`; echo ".git-multi" > "${MPWD}/.git-multi/${name}/info/exclude"; for i in `ls .git-multi/ | grep -v "${name}"`; do GIT_WORK_TREE="$MPWD" GIT_DIR="${MPWD}/.git-multi/${i}" git ls-files >> "$...
true
41df255b52a578609020bf3fb9668a75d3d1e0aa
Shell
ChattanoogaPublicLibrary/ArduinOps
/arduino-install-config.sh
UTF-8
289
2.765625
3
[ "MIT" ]
permissive
#!/bin/sh # Install Arduino package sudo apt-get update && sudo apt-get install -y arduino arduino-core # Add user to appropriate groups sudo usermod -aG dialout,serial `whoami` # Notify user to logout echo 'Please logout of your current *nix session for group changes to take effect.'
true
e771d68699406a77b2fe5aa2823f8c987db52c87
Shell
kedvall/coursework
/ECE391/setup_ubuntu
UTF-8
2,112
3.46875
3
[]
no_license
#!/bin/bash echo '################################################################' echo '# #' echo '# ECE391 Localized Development Environment #' echo '# #' echo '# ...
true
c6056026cf8d4ad83c727b9b7fbc0fb054b6c5f9
Shell
DCAL12/shinyproxy-alpine
/docker-entrypoint.sh
UTF-8
1,003
4.03125
4
[ "Apache-2.0" ]
permissive
#!/bin/ash set -e echo "Initialising ShinyProxy configuration..." cd ${CONFIG_DIR} echo " - checking ${PWD} for config file" # standardise yaml file extension if [ -f application.yml ]; then echo " - found application.yml; renaming to application.yaml" mv application.yml application.yaml fi # substitute ${E...
true
4f1d8baafbc0732c5e240bda5dbcce5f99c8513a
Shell
madhavramdin/bash
/exit_filename.sh
UTF-8
107
3.09375
3
[]
no_license
#!/bin/bash ARG=$1 FILENAME=$(file "$ARG") if [ "$FILENAME" = "directory" ] then exit 1 else exit 2 fi
true
d1d09f12695aca336ed809accec8467feb76cf68
Shell
rgreenblatt/dotfiles
/shell/.zlogin
UTF-8
381
2.6875
3
[]
no_license
# Initialize zim [[ -s ${ZIM_HOME}/login_init.zsh ]] && source ${ZIM_HOME}/login_init.zsh if [[ -z $DISPLAY ]] && ([[ $(tty) == /dev/tty1 ]] || [[ $(tty) == /dev/tty2 ]]); then exec startx fi if hash yaft 2>/dev/null && [[ -z $DISPLAY ]] && ([[ $(tty) == /dev/tty3 ]] || [[ $(tty) == /dev/tty4 ]]); then # slee...
true
0299ece3a534f1a88441687d6236cb998e4a5375
Shell
SciTools/osgeolive
/tools/workshop_setup.sh
UTF-8
2,995
3.03125
3
[]
no_license
#!/usr/bin/env bash # # Please execute this script using: # sudo bash ./workshop_setup.sh # # Although this script is located in the SciTools/osgeolive repository, it is # intended that the script will be downloaded independently. # Execution of the script will then download (clone) the osgeolive repository # as well a...
true
6593c2d0df78283751d123a1f446a157ad4b510e
Shell
imstrng/bash-notes
/jobctrl.sh
UTF-8
295
3.328125
3
[]
no_license
#!/bin/bash #!/bin/bash APP_NAME="jobctrl" logit() { echo $1 logger -i -t $APP_NAME "$1" } # MAIN while true; do #read -t 0.1 -n 1 input read -n 1 input case $input in q) logit "Quit" exit ;; s) logit "Start" ;; *) ;; esac done
true
a9b7b3c480b1f110895138681f0bbbea4557ebb8
Shell
tarmot/koodiaapinen
/K2016/jaksopalautteet/summarize.sh
UTF-8
480
3.15625
3
[ "CC-BY-4.0" ]
permissive
#!/bin/sh # Laskee numeeristen palautteiden keskiarvot. Koska numerot 1-5 on koodattu arvoiksi 0-4, lasketaan +1 jokaiseen arvoon. echo "jakso,tyo_materiaali,tyo_harjoitukset,haaste_materiaali,haaste_harjoitukset,hyodyllisyys,innostavuus,soveltuvuus" for i in *-?.csv do printf $i printf "," for j in {3,4,5,6,7,8...
true
40a7f9c059974275baf32aa45a396481c6301db4
Shell
bjoerke/wiselib
/apps/shawn_apps/wiselib_clustering/scripts/data/average.sh
UTF-8
833
3.140625
3
[]
no_license
#!/bin/bash algo=$1 for file in *.$algo.dat do awk ' BEGIN{ nodes = 0; counter = 0; } { if ($1=="#Total"){ for(i = 1; i < NF; i++) values[i]=0; for(i=1;i<NF;i++) printf("%s\t",$i); printf(" \\\\ \n"); } if ($1!="#Total"){ if (nodes==0){ nodes=$1; counter=0; ...
true
c0d84d47db7fd34598355feb1632d761bbd93dc8
Shell
NaokiOsako/ConfigMac
/shdir/cp.sh
UTF-8
89
2.78125
3
[]
no_license
#!/bin/sh a=8 while [ $a -ne 200 ] do a=$((a+1)) echo "cp 8.png ${a}.png" done
true
7f2e71c23b2cc07ba75edd6084356260617f3eef
Shell
ihorturchyn/bash-scripts
/testleap.sh
UTF-8
321
3.421875
3
[]
no_license
#!/bin/bash clear year=`date | awk '{ print $6 }'` if [ $[$year % 400] -eq "0" ]; then echo "a leap year" elif [ $[$year % 4] -eq 0 ]; then if [ $[$year % 100] -ne 0 ]; then echo "This is a leap year" else echo "not leap year" fi else echo "This is not a leap year" fi...
true
4c0c184d53d61fdc065b8e4ba470834f32418c8c
Shell
aem-design/aemdesign-aem-support
/aemdesign-testing/node-config/node-start
UTF-8
439
3.234375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash NODE_TYPE=${1:-chrome} SELENIUM_VERSION="3.141" SELENIUM_JAR="selenium-server-standalone-3.141.59.jar" SELENIUM_HOST="http://selenium-release.storage.googleapis.com" SELENIUM_URL="$SELENIUM_HOST/$SELENIUM_VERSION/$SELENIUM_JAR" if [ ! -f $SELENIUM_JAR ]; then echo DWONLADING SELENIUM: $SELENI...
true
abdc64879c13ac912e26381d0f8c651284cd6177
Shell
Stanford-PERTS/yellowstone
/codeship_deploy.sh
UTF-8
1,035
3.6875
4
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
#!/bin/bash # Variables here come from a variety of sources: # # * Hard-coded in the codeship project settings, via the web UI: # - GOOGLE_KEY_MASTER # - GOOGLE_KEY_DEV # * Always set by codeship (or just linux) on the build machine: # - HOME # * Text files created by branch_environment.py (only in codeship): # ...
true
d0f00b47aabd3663c6f3d60d382cc8270d3e4e60
Shell
TobiasKadelka/build_pd
/code/create_pd.sh
UTF-8
314
2.75
3
[]
no_license
#!/usr/bin/env bash # This script creates the imax-dataset. # create a dataset and go into that Folder. datalad create -c bids $1/PD cd $1/PD # install the build-repo datalad install -d . -s git@github.com:TobiasKadelka/build_imax.git code/build_pd datalad save code -m "installed the code for creating the dataset." ...
true
0c44565d105528fad98e1f09c3839203a547d723
Shell
VargMon/starch
/pkgbuilds/iana-etc/PKGBUILD
UTF-8
969
3.0625
3
[]
no_license
pkgname=iana-etc pkgver=2.30 pkgrel=1 pkgdesc="/etc/protocols and /etc/services provided by IANA" arch=('any') url="http://sethwklein.net/iana-etc.html" license=('custom') makedepends=('gawk') backup=(etc/{protocols,services}) source=(http://sethwklein.net/${pkgname}-${pkgver}.tar.bz2 protocols.gawk ser...
true
0def67534d7780ebf1394700d2c750c008091b41
Shell
KungCheops/aigrader
/tests/run_and_time_all_configurations.sh
UTF-8
407
3.09375
3
[ "MIT" ]
permissive
rm times.csv for config in "" "-f" "-i" "-fi"; do echo "flags: ${config}" echo "flags: ${config}" >> times.csv FOLDERNAME="data-flags${config}" rm -rf "${FOLDERNAME}" mkdir "${FOLDERNAME}" cp -r data-pure/* "${FOLDERNAME}/" cd "${FOLDERNAME}" for assignment in 01 02 03 08 09 10 11 12 13;...
true
93fee74cbcdf0a9b4c51e28abc9c10325ec5d7cb
Shell
sethmkaras/RFID_API
/random/create_ssh_terminal.sh
UTF-8
221
3
3
[]
no_license
#!/bin/bash createTunnel(){ /usr/bin/ssh -N -R if [[ $? -eq 0 ]]; then echo Tunnel to jumpbox created else echo Error if } /bin/pidof ssh if [[ $? -ne 0 ]]; then echo Creating new tunnel connection createTunnel fi
true
5c2bf7a9d8fec422ac60893c48697b6d8120ed3d
Shell
khanlab/core
/dependencies/general/unused/install_dcm2niix.sh
UTF-8
554
3.53125
4
[]
no_license
#!/bin/bash if [ "$#" -lt 1 ] then echo "Usage: $0 <install folder (absolute path)>" exit 0 fi INSTALL=$1 mkdir -p $INSTALL DCMNII_SRC=$INSTALL/dcm2niix-src DCMNII_DIR=$INSTALL/dcm2niix git clone https://github.com/rordenlab/dcm2niix.git $DCMNII_SRC mkdir -p $DCMNII_DIR pushd $DCMNII_DIR cmake -DCMAKE_INSTALL_PR...
true
a52b53476ed61826a522f025de38e4116a103664
Shell
marcelbanic/scanner-infrastructure-nmap
/.travis/deployDockerHub.sh
UTF-8
1,203
3.671875
4
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
#!/bin/bash # WARNING!!!!! # THIS script differs from the other deployToDockerHub Scripts in the other repos! # This is to support the two build versions "default" and "privileged" echo "Docker Login" echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin echo "Pushing to Dockerhub" if [[ $TRA...
true
913a43740c18065addda2b1420c9387be864c7d2
Shell
polyrabbit/dotfiles
/.zshrc
UTF-8
4,240
2.640625
3
[]
no_license
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Initialization code that may require console input (password prompts, [y/n] # confirmations, etc.) must go above this block; everything else may go below. if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; ...
true
a836b0a9f50dccc77b0ef461d7b04ce38b3045d5
Shell
jamielsharief/task-runner
/bin/release
UTF-8
752
3.671875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Task Runner # Copyright 2021 Jamiel Sharief. # # Licensed under The Apache License 2.0 # The above copyright notice and this permission notice shall be included in all copies or substantial # portions of the Software. # # @copyright Copyright (c) Jamiel Sharief # @license https://opensource.org/li...
true
13938fe6127614c489d85ebdb7b1de6ec54a435c
Shell
jmartinez989/digCUST
/digCUST
UTF-8
26,653
3.6875
4
[]
no_license
#!/bin/bash ################################################################################# # CONSTANTS ################################################################################# #This variable declaratoin is spread accross multiple lines to make formatting in this file easier to read. #If not done this way t...
true
6c0aa53307000b32eeeb9b38119a61ca1f9a3223
Shell
scaleway/initrd
/build/tree-common/build-from-qcow2.sh
UTF-8
2,024
3.921875
4
[ "MIT" ]
permissive
einfo "Building from qcow2 image" qcow2_disk_img=/tmp/disk.qcow2 volume=$(get_any volume "/dev/vda") disk_img_url=$(get_any disk_img_url) [ -z "$disk_img_url" ] && die "No url to get the disk image provided" pre_build() { einfo "Retrieving disk image" run --abort curl -fksSL -o $qcow2_disk_img "$disk_img_url"...
true
d27591569b45990c4cb197418b5e165ff8c164e4
Shell
garyhooks/SIEM-Alerting-Tool
/web_ips.sh
UTF-8
3,348
3.171875
3
[]
no_license
#!/usr/bin/env bash # # Publish Date: 24th July 2018 # Author: Gary Hooks # Licence: GNU GPL ips_not_known="ips_not_known.txt" tidy_up() { rm -rf ./log_results/* rm -rf all_data.txt rm -rf bad_codes.txt } parse_file() { cat /var/log/apache2/access.log | awk '{ OFS=" " } { print $1, $6, $7, $9, $13, $14, $15, $...
true
c4d7db3909aadec4bd1c80df0fb1acdd55107a6b
Shell
kmilanez/text-diff
/text-diff.sh
UTF-8
2,703
4.3125
4
[]
no_license
#!/bin/sh ################################################ # Command line interface to start/stop diff app ################################################ # Usage function _usage { echo "usage: $0 [start|stop] <docker|standalone>" exit -1 } # Build all services function _build_services { for dir in $(find ....
true
255596b5eea7d745c778f868b86274893e58efea
Shell
SuperPaintman/dotfiles
/zsh/.oh-my-zsh/plugins/sdk/sdk.plugin.zsh
UTF-8
2,601
3.75
4
[ "MIT" ]
permissive
### SDKMAN Autocomplete for Oh My Zsh # This is the output from sdkman. All the these options are supported at the # moment. # Usage: sdk <command> [candidate] [version] # sdk offline <enable|disable> # # commands: # install or i <candidate> [version] [local-path] # uninstall or rm <can...
true
0e865138fecf6cece3adeea13f6f90404d2a173b
Shell
neomilium/heekscnc-sendtomachine
/axis-remote
UTF-8
851
3.546875
4
[]
no_license
#!/bin/sh CONFIG_FILE="$HOME/.config/heekscnc-sendtomachine" if [ -f $CONFIG_FILE ] then . $CONFIG_FILE fi if [ -z "$TARGET_MACHINE" ] then TARGET_MACHINE="cnc@weko" fi NOTIFY_TITLE="HeeksCNC" NOTIFY_OPTS_OK="--icon=/usr/share/heekscnc/icons/nccode.png --category=transfer.complete" NOTIFY_OPTS_ERR="--icon=/usr...
true
03862fad40a25dfcd82dbdd45750f440b652d9d4
Shell
codekitchen/boot2docker-vagrant-box
/b2d-provision.sh
UTF-8
699
3.21875
3
[]
no_license
#!/bin/sh set -e # Inserting vagrant key in the userdata.tar which should be deployed when boot2docker boot B2D_PERSISTENT_DIR=/var/lib/boot2docker TMP_USERDATA_DIR=/tmp/userdata mkdir -p ${TMP_USERDATA_DIR}/.ssh cat <<KEY >${TMP_USERDATA_DIR}/.ssh/authorized_keys ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22W...
true
265c7cac8f07d8711cc08bab78d4d2eab6924bcb
Shell
delkyd/alfheim_linux-PKGBUILDS
/python-pygrib/PKGBUILD
UTF-8
1,107
2.578125
3
[]
no_license
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>, Graziano Giuliani <graziano.giuliani@gmail.com> # Maintainer : Liviu-Cristian Mirea-Ghiban <liviu.mirea@wecodepixels.com> pkgname=python-pygrib pkgver=2.0.1 pkgrel=2 pkgdesc="Python module for reading and writing GRIB (editions 1 and 2) files." arch=('i686' '...
true
a7755c4e453f3cfc62f6357ea9b9c909acdaba33
Shell
dw5601/rosetta_clone_tools
/git_hooks/pre-commit
UTF-8
1,468
4.125
4
[]
no_license
#!/bin/bash # This script is run before a git-commit. It is executed every time 'git commit' is executed # Currently, this script checks for large incoming files and prompts the user for confirmation # if additional precommit functionality is requested, it should be added to this script. # # non-zero status exits wi...
true
a63bbfe10995f7291ddde9fd81aca3bc1ab2cc04
Shell
cwardzala/dotfiles
/zsh/aliases.zsh
UTF-8
1,558
2.546875
3
[]
no_license
alias colourify="$commands[grc] -es --colour=auto" alias reload!="exec $SHELL -l" alias dotfiles="$EDITOR ~/.dotfiles" alias dots="dotfiles" alias edit="$EDITOR ." alias hosts!="$EDITOR /etc/hosts" alias gst="gss" alias gbc="gcb" alias gup="g up" alias fw="pushd ~/Findaway" alias proj="pushd ~/Projects" alias icd="p...
true
7c3e9b28d99d3420fb75ec5d6a93855fb38d139e
Shell
jkaniuk/windows-testing
/extensions/master_extension/v1/win-e2e-master-extension.sh
UTF-8
1,593
3.390625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # Wait for coredns pod to be ready while true; do COREDNS_READY=$(kubectl get pods -l k8s-app=kube-dns -n kube-system -o custom-columns=STATUS:status.containerStatuses[0].ready --no-headers) if [ "${COREDNS_READY}" = "true" ]; then echo "$(date -R) - coredns is ready" >> /tmp/master_extension.log kub...
true
885ea4bcee1f22263935a22db5fe977d180c6a00
Shell
da99/mksh_setup
/bin/public/read-arg/_.sh
UTF-8
434
3.859375
4
[ "MIT" ]
permissive
# === {{CMD}} -arg vals -arg val ... read-arg () { local +x NAME="$1"; shift local +x VAL="" local +x FOUND="" while [[ ! -z "$@" ]]; do if [[ "$1" != "$NAME" ]]; then shift continue fi shift VAL="$1"; shift FOUND="yes" break done if [[ -z "$FOUND" ]]; then s...
true
fc5995be4e4337f160465f5724b6fb819dd37062
Shell
himrichova/CD8_TIL_exhaustion
/ATAC/ATAC_sample_name_XX.sh
UTF-8
5,150
2.578125
3
[]
no_license
#!/bin/bash #SBATCH --job-name='ATAC_sample_name_XX' #SBATCH --output='ATAC_sample_name_XX.log' #SBATCH --time='12:00:00' #SBATCH --partition='shortq' #SBATCH -m block /bin/hostname module load bowtie/2.2.4 module load sambamba/0.5.5 module load htslib/1.3.1 module load samtools/1.3.1 module load bedtools/2.26.0 modu...
true
9362f4b3e453ac40f4d0d4698242692839d71e48
Shell
Guzlr/git-utils
/git_find_repo_dir.sh
UTF-8
111
3.21875
3
[]
no_license
#!/bin/bash set +x until [ "$PWD" == "/" ] ; do if [ -e .git ] ; then echo $PWD fi cd .. done
true
0bcd6ddddc1fad0ef0dccc2e04eafd9c6e6369b3
Shell
arch4edu/arch4edu
/x86_64/r/r-xml/PKGBUILD
UTF-8
617
2.5625
3
[]
no_license
_cranname=XML _cranver=3.99-0.14 pkgname=r-${_cranname,,} pkgver=${_cranver//[:-]/.} pkgrel=1 pkgdesc="An ODBC database interface" arch=(any) depends=("libxml2" "r") url="https://cran.r-project.org/package=${_cranname}" license=(GPL2 GPL3) source=("https://cran.r-project.org/src/contrib/${_cranname}_${_cranver}.tar.gz"...
true
b2e15abddb654591e97017f840b5764121aff554
Shell
openoms/raspiblitz
/ci/arm64-rpi/packer.build.arm64-rpi.local.sh
UTF-8
2,118
3.390625
3
[ "MIT", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash -e echo "\n# Install dependencies with apt" if [ "$(uname -n)" = "ubuntu" ]; then sudo add-apt-repository -y universe fi # Install dependencies # needed on Ubuntu Live ('lsb_release -cs': jammy) sudo apt install -y qemu-user-static || exit 1 # from https://github.com/mkaczanowski/packer-builder-arm/blo...
true
d5620505a367c97046e76ba41ffc124238ad2c91
Shell
tardypad/dotfiles
/files/scripts/sway/sway-command-input
UTF-8
713
4.0625
4
[ "MIT" ]
permissive
#!/bin/sh init_variables() { COMMAND=${0##*/} PROMPT=':' FORMAT='%s' USER_INPUT= } parse_command_line() { while getopts F:P: OPT; do case "${OPT}" in F) FORMAT="${OPTARG}" ;; P) PROMPT="${OPTARG}" ;; ?) exit_error ;; esac done shift $(( OPTIND - 1 )) } # shellcheck disable=S...
true
c6299e66d20d9ec3ba47810d497f4e0a97764a38
Shell
adegoodyer/odroid-xu4-provisioner
/config/import_all.sh
UTF-8
634
2.59375
3
[]
no_license
#!/bin/bash # Author: Ade Goodyer # Created: 12/07/2020 # Description: Add reference to additional installation scripts here to be able to access them globally # Variables source config/variables.sh # Helpers source helpers/apt_shortcuts.sh source helpers/essential_functions.sh source helpers...
true
98358c977d5508597baa9a43a695caf4f980cb92
Shell
poorpy/dotfiles
/zsh/uninstall.sh
UTF-8
138
2.578125
3
[]
no_license
#!/bin/sh printf "Removing ZSH config files\n" for name in zshrc aliases exports; do rm "$HOME/.$name" done rm -rf ~/.antigen-src/
true
2bbc39eba9536618ff9a8e3820251c157d190a02
Shell
jlbrewer/islands
/island-manager/run.sh
UTF-8
494
3.03125
3
[ "MIT" ]
permissive
#!/bin/bash # Make sure to run this from Island Manager root directory # Assummed that python v3.7 or higher, pip3 and python3-venv are installed if [ ! -d "./venv" ]; then echo creating virtual environment mkdir venv python3 -m venv ./venv fi source ./venv/bin/activate pip3 install -r requirements....
true
31c25ac8cc42c4be8dcc79aaeae47ded17bbd033
Shell
msys2/MINGW-packages
/mingw-w64-qt5-webview/PKGBUILD
UTF-8
3,417
3.1875
3
[ "BSD-3-Clause" ]
permissive
# Contibutor: Mehdi Chinoune <mehdi.chinoune@hotmail.com> _realname=qt5-webview pkgbase="mingw-w64-${_realname}" pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}" "${MINGW_PACKAGE_PREFIX}-${_realname}-debug") pkgver=5.15.10 pkgrel=1 arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clan...
true
47ccd8219309772c544107a0c29fb928dc6c5928
Shell
sujitbidawe/ShellScripting
/unitConversion2.sh
UTF-8
271
3.296875
3
[]
no_license
#! /bin/bash read -p "enter length of the plot: " length read -p "enter width of the plot: " width lengthInMetres=`echo "scale=2; $length/3.2808" | bc` widthInMetres=`echo "scale=2; $width/3.2808" | bc` echo "given plot in metres is $lengthInMetres X $widthInMetres"
true
8f062f4f3d3826675b3afcec2e5baa0625f63230
Shell
jacob-hughes/gcmalloc
/.buildbot.sh
UTF-8
471
2.5625
3
[ "Apache-2.0", "MIT" ]
permissive
#! /bin/sh set -e export CARGO_HOME="`pwd`/.cargo" export RUSTUP_HOME="`pwd`/.rustup" curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh sh rustup.sh --default-host x86_64-unknown-linux-gnu --default-toolchain nightly -y --no-modify-path export PATH=`pwd`/.cargo/bin/:$PATH rustup component add -...
true
9a1f3a75c25fb52d40df9a347d352be8dc40b369
Shell
beagleterm/spark
/ide/tool/drone_io.sh
UTF-8
830
2.96875
3
[]
no_license
# Install zip and start a virtual frame buffer. if [ "$DRONE" = "true" ]; then sudo apt-get -y -q install zip sudo start xvfb export HAS_DARTIUM=true fi # Display installed versions. dart --version /usr/bin/google-chrome --version # Get our packages. pub get # Build the archive. if test x$DRONE_REPO_SLUG = xgi...
true
d120fe7535a31244dfe9ea6f6d14d46449d8172f
Shell
austinsantoso/cs3244project
/script making/getxpic.sh
UTF-8
357
3.5625
4
[]
no_license
folderName="folder1" # for each folder for dir in "${folderName}/"*; do if [ -d "$dir" ]; then echo "${dir}" mkdir -p "copyOf/"${dir} for file in ${dir}"/"*0.txt; do if [ -f "$file" ]; then echo "Copying ./${file}" cp -r "$file" "copyOf/"${file} ...
true
5a94521ab39501576f9d702d210b1fcd935f51a2
Shell
marcelotoledo/PostCanal
/tags/release-1.1.0/db/mysql.sh
UTF-8
1,057
2.734375
3
[]
no_license
#!/bin/bash config='../config/environment.xml' _pter=$(wc -l $config | sed s/"\s.*"//g) _tagl=$(cat $config | tail -n $_pter | grep -n "<environment>" | sed s/":.*"//g | head -n 1) _pter=$(expr $_pter - $_tagl) _tagl=$(cat $config | tail -n $_pter | grep -n "<database>" | sed s/":.*"//g | head -n 1) _pter=$(expr $_p...
true
5f78d818dcef93b0eab885f1737964fdbac77c53
Shell
Xaldew/dotfiles
/scripts/install_desktop_entries.sh
UTF-8
993
3.71875
4
[]
no_license
#!/usr/bin/env bash # Install .desktop application entries to allow Window managers to find them. # Figure out where we have placed the script. install_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" dotfiles_dir=${install_dir}/.. bindir=$(cd ${XDG_DATA_HOME}/../bin ; pwd) # Requires sudo, so lets not use it....
true
7f62c6df35b584e1dd36772495d5a24ef4924c8a
Shell
delkyd/alfheim_linux-PKGBUILDS
/kmailapplet-git/PKGBUILD
UTF-8
903
2.734375
3
[]
no_license
# Maintainer: Antonio Cardace <antonio@cardace.com> pkgname=kmailapplet-git pkgver=r24.fa4d4e5 pkgrel=1 pkgdesc="A Mail Applet for the system tray to watch your Maildir box and get notifications whenever there's a new mail." arch=('any') url="https://github.com/ichigo663/KMailApplet" license=('GPL3') depends=('glibc' '...
true
a7af35e0a77a7599714a3b7947b6623864824a8e
Shell
johandry/mac
/.Brewfile-check.sh
UTF-8
2,106
2.671875
3
[]
no_license
# Mac App Store command-line interface mas version # Docker docker --version # Docker Compose docker-compose --version # Editor and IDE Visual Studio Code instead of Atom (cask "atom") code --version # Development Tools git --version ag --version | head -1 colordiff --version | head -1 # Bash Development bash --v...
true
215029fe0dfb0a59744a123f226708b6925a091b
Shell
roshanlee/Shell-Programming
/Sequence-statement/diceNumAdd.sh
UTF-8
90
2.75
3
[]
no_license
#!/bin/bash -x num1=$((RANDOM)) num2=$((RANDOM)) result=$(($num1 + $num2)) echo $result
true
b9e1b3d6f5e552500379475fafedbf5ae0d8ff90
Shell
tommilligan/OverTheWire
/solutions/leviathan/leviathan0.sh
UTF-8
240
2.578125
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # Read file (appears to be a list of web bookmarks) cat ~/.backup/bookmarks.html | \ # Search for anything to do with a password grep password | \ # Strip out the password sed -r 's/^.*password for leviathan1 is (\w+).*$/\1/'
true
5b7019212c4fa805b7c1f1d514a0164582709af8
Shell
mahmoudimus/oj
/bin/ojc.sh
UTF-8
1,043
3.921875
4
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
#! /bin/sh # # ojc # # This translates and compile the files into byte codes. # This is a shell script for linux or some unix-like systems, # which do not have ksh. # # Sep 21, 2000 by Michiaki Tatsubori # Please set up followings to be suitable for your enviroment. JVM=java if [ "$OPENJAVA_HOME" = "" ] ; then ...
true
fee75b8fc1f8f91055a996f9d7e13516237e665f
Shell
zhengbili/auto_misc_tools
/solve_achieve.sh
UTF-8
205
3.390625
3
[]
no_license
TOOLS_DIR=$(dirname `command -v $0`) FILE=$PWD/$1 OUTPUT_DIR=/tmp/$RANDOM unar -q $FILE -o $OUTPUT_DIR for f in $(find $OUTPUT_DIR);do if [ -f $f ];then $TOOLS_DIR/solve_misc.sh $f fi done
true
21c1ab391fbb7c4f7be0d8d3271d4d703b0b900d
Shell
ehsanmostajeran/cilium
/scripts/kubernetes/clear.sh
UTF-8
411
3.375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash docker_file=/etc/default/docker docker rm -f `docker ps -aq` service docker stop docker_opts=$(tail -n 1 $docker_file) docker_opts=$(echo $docker_opts | grep "bip") if [ -n "$docker_opts" ]; then echo "Removing docker options from file" head -n -1 $docker_file > ${docker_file}.tmp ; mv ${docker_f...
true
3a72470aec4de073e964c4d93b2490beb1814eb7
Shell
ceumicrodata/bead
/add-git-info.sh
UTF-8
797
3.140625
3
[ "Unlicense" ]
permissive
#!/bin/bash # GIT_REPO = "git@github.com:e3krisztian/bead.git" # GIT_BRANCH = "master" # GIT_DATE = "2020-10-11T01:14:36+02:00" # GIT_HASH = "ff43a47" # DIRTY = True | False if git status --short | # drop untracked grep -v '^[?][?]' | # ignore changes in version file fgrep -v ' b...
true
eea48de25ab3935d6fb5e08cc57b7fad1f22db68
Shell
ashwinr64/oxygen_dump
/system/bin/capture_audio.sh
UTF-8
1,695
3.359375
3
[]
no_license
# $1: wave file to write # $2: audio source # 0: default # 1: mic # 2: uplink # 3: downlink # 4: call # 5: camcorder # 6: recognition # 7: communication # 8: remote submix # 9: fm # -1: raw primic # -2: raw topmic # -3: raw backmic # -4: raw frontmic # $3: sample rate...
true
227d3538c98f035acaa89083c41f1872552592ff
Shell
elsudano/Fedora
/server-scripts/install-webmin.sh
UTF-8
4,415
3.4375
3
[ "MIT" ]
permissive
#!/bin/bash # Titulo: Configuración e instalación de Webmin # Fecha: 23/12/16 # Autor: Carlos de la Torre # Versión: 1.0 # Descripción: Instalación y configuración de WebMin # Opciones: Ninguna # Uso: install-webmin.sh # VARIABLES ESTATICAS DEL SCRIPT # poner estas en el array para que se la...
true
3d335a22f832d3f350b40937c3472e4040b431ff
Shell
kabaskimy/LinuxShell
/LinuxShellBible/Chapter6/env.sh
UTF-8
259
2.734375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash printenv ls $HOME # my_var = "hello world" error my_var="hello world" echo $my_var PATH=$PATH:/home/xu/script cat $HOME/.profile my_array=(1,2,3,4) echo $my_array my_test=(one two three four) echo $my_test echo ${my_test[2]} echo ${my_test[*]}
true
e8f7f17ecbcc89bbc17568ad8bdbd820c6862022
Shell
chipsetx/scripts
/linux/pxe.sh
UTF-8
4,391
3.421875
3
[]
no_license
#!/usr/bin/env bash PXE_NET_IP=192.168.1.18 PXE_NET_IP_ROUTER=192.168.1.1 PXE_NET_BROADCAST=192.168.1.255 PXE_NET_NETMASK=255.255.255.0 PXE_NET_SUBNET=192.168.1.0 PXE_NET_IP_FROM=192.168.1.51 PXE_NET_IP_TO=192.168.1.60 PXE_NET_DNS=192.168.1.1 PXE_ISO_FILES="/home/chipset/Bureau/ubuntu/*" function check_for_sudo (){ ...
true
72913a155830014ccef7909027532752e3a36751
Shell
skulumani/tikz
/utilities/setup_repo.sh
UTF-8
441
3.0625
3
[]
no_license
#!/bin/bash # add the correct remote repositories git_repo="git@github.com:skulumani/tikz.git" bb_repo="git@bitbucket.org:shankarkulumani/tikz.git" printf "Setting the origin remote to point to Github and Bitbucket:\n\n" printf "Github: $git_repo\n" printf "Bitbucket: $bb_repo\n" git remote set-url origin --push --a...
true
95b95961af2b4399d785e353de839053b620ab50
Shell
koolacac/pentesting-dump
/pwnage/x64 practice/asm-c-run.sh
UTF-8
595
3.578125
4
[]
no_license
#!/bin/bash if [ $# -eq 0 ] then echo "No arguments supplied" exit 1 fi fn="$(cut -d'.' -f1 <<<$1)" nasm -felf64 $fn.asm -o /tmp/$fn.o && ld /tmp/$fn.o -o /tmp/$fn shellcode="$(for i in $(objdump -d /tmp/$fn -M intel |grep '^ ' |cut -f2); do echo -n '\x'$i; done;echo)" cat << EOF > /tmp/shellcode.c #inclu...
true
1da1785ec0ee76328d7e05960c63a8e94f133ca7
Shell
JimanGu/comsil_week5
/comsil_week1/과제/[컴실1_1주차과제]20170336_이지민.sh
UTF-8
396
3.578125
4
[]
no_license
echo "Working directory:" read directory if [ "$directory" = "" ] then for i in * do if [ -f $i ] then mv "$i" $(echo $i | tr '[:upper:][:lower:]' '[:lower:][:upper:]') fi done else cd $directory if [ $? -eq 0 ] then for i in * do if [ -f $i ] then mv "$i" $(echo $i | tr '[:upper:][:lower:...
true
436eb9e52024cf1a5b2104205826027939d18498
Shell
UAMS-DBMI/PosdaTools
/posda/posdatools/bin/create_databases.sh
UTF-8
1,216
2.640625
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash echo Creating databases.. this will fail if they arleady exist. Do not be alarmed. createdb $POSDA_FILES_DB_NAME if [ $? -eq 0 ]; then psql $POSDA_FILES_DB_NAME < $POSDA_ROOT/Posda/sql/dicom_images.sql echo "insert into file_storage_root values (0, '$POSDA_CACHE_ROOT/DicomFiles', True)" | psql p...
true
7a5c228e77ce64525f7513737bd03273be171780
Shell
adminrobert/cache
/cache
UTF-8
2,316
4.3125
4
[ "MIT" ]
permissive
#!/bin/bash # Copyright (c) 2014 Robert Harris, rharris@adminrobert.com MyNameIs=${0##*/} # The following 2 variables are meant to be set in the environment # CacheDir is the location on disk to which the cache files are written [ -z "${CacheDir}" ] && CacheDir="${HOME}/.${MyNameIs}/cache" # CacheExpire is the de...
true
5c577fdf2e0efa900093ff9008245a0d2be00f25
Shell
cbg-ethz/WES_Cancer_Sim
/sim_cancer/cancer_data_pipeline/SNV_caller/jointSNVMix2_variants.sh
UTF-8
3,178
3.640625
4
[ "Apache-2.0" ]
permissive
#/bin/bash -l function jointSNVMix2_variants() { if [ -z "$1" -o -z "$3" -o -z "$4" -o -z "$5" ]; then # $2 is allowed to be empty echo "usage jointSNVMix2_variants <prefix> <ext> <fn_genome_fasta> <output_dir> <normal_bam> <bed_file> [ --min_base_qual <0> --min_map_qual <0> ]" exit -1; fi local...
true
07efc876f115003b78519d85df8fd7de20c2f1b7
Shell
onionys/python_code
/RasPi/env_config/01-setup_env.sh
UTF-8
194
2.59375
3
[]
no_license
#!/bin/sh echo "Add ftp.yzu.edu.tw site into apt source.list" sed -i "1ideb ftp://ftp.yzu.edu.tw/Linux/raspbian/raspbian/ jessie main contrib non-free rpi" /etc/apt/sources.list apt-get update
true