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
d215d27f9bc5f8e17f3224b6392a491b8b404206
Shell
delkyd/alfheim_linux-PKGBUILDS
/reconnoiter-svn/PKGBUILD
UTF-8
1,842
2.78125
3
[]
no_license
# Maintainer: Marti Raudsepp <marti@juffo.org> pkgname=reconnoiter-svn pkgver=1275 pkgrel=1 pkgdesc="Software for monitoring, trending and fault analysis of servers or data centers" arch=(i686 x86_64) url="https://labs.omniti.com/trac/reconnoiter" license=('BSD') depends=('ncurses' 'libxml2' 'libxslt' 'apr' 'pcre') ma...
true
054788bf47db4d2eb7678c9dff3b665e802762b7
Shell
isuruf/flang
/test/mp_correct/lit/runmake
UTF-8
1,308
2.96875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
true
3b6bd3a5794399d3489a4ac45065272e1c4a0169
Shell
helloimrachael/Operating-Systems-Project
/test.sh
UTF-8
521
2.6875
3
[]
no_license
#!/bin/bash echo "Test starting" ./supervisor 8 &> supervisor.log & z=$! echo "Supervisor started and servers created" sleep 2 for (( i = 0; i < 10; ++i )); do ./client 5 8 20 >> client.log & ./client 5 8 20 >> client.log & sleep 1 done for (( i = 0; i < 6; ++i )); do kill -SIGINT $z echo "SIGINT...
true
0b4b834726c10112a2611c8f88debf1f857cf211
Shell
banditdgl/bashscripts
/loops_1.sh
UTF-8
586
3.59375
4
[]
no_license
#!/bin/bash echo "LOOP FOR" ARRAY=(1 9 2 3 11 23 0) for i in 0 1 2 3 4 5 6 do echo ${ARRAY[$i]} done echo "- - - -" for i in {0..6} do echo ${ARRAY[$i]} done echo "- - - -" SIZE=${#ARRAY[@]} for i in `seq 0 $[SIZE-1]` do echo ${ARRAY[$i]} done echo " Max and Min value from array: " ARRAY2=(1 2 9 7 45 23 5 -3 ...
true
1d39262b564c1d0ba283058fe58f471687c5ce01
Shell
joshivinit2018/arrayshell
/secondgreatsmall.sh
UTF-8
1,354
3.65625
4
[]
no_license
#!/bin/bash cor=10 function ran(){ local index=0 local unSortAr while (( index<$1 )) do val=$((RANDOM%1000)) if (( val>99 )) then unSortAr[((index++))]=$val fi done echo ${unSortAr[@]} } result="$(ran $cor )" echo "original" $result function give_small(){ local unSortAr=("$@") local number=1 loc...
true
13a956c302391300c5d25e2c00cb91078f31bd90
Shell
MarioAlvesCarvalho/veianew
/00.sh
UTF-8
550
2.703125
3
[]
no_license
#!/bin/bash #Data alteração 20337 echo -e "#REV. 6" #mountpoint -q ${SERVER_VN_MODULOPHPPDV} #if [ $? == 0 ] #then # umount ${SERVER_VN_MODULOPHPPDV} #fi #mountpoint -q ${SERVER_VN_SCRIPTS_VEIANEW} #if [ $? == 0 ] #then # umount ${SERVER_VN_SCRIPTS_VEIANEW} #fi #mountpoint -q ${SERVER_VN_MODULO_COMPILADO} #if...
true
3e8220bddadf8f74c74b21706f854036e2435a29
Shell
clulab/wikiparse
/annotator.pbs
UTF-8
1,150
3.265625
3
[]
no_license
#!/bin/bash # Your job will use 21 nodes, 588 cores, and 3528gb of memory total. #PBS -q windfall #PBS -l select=21:ncpus=28:mem=168gb:pcmem=6gb ### Specify a name for the job #PBS -N wikiparse ### Specify the group name #PBS -W group_list=msurdeanu ### Used if job requires partial node only #PBS -l place=free:shar...
true
eb0e05e90cc9c837482d86400deac0ea9687e855
Shell
JnTournier/update-tools
/update-tools.sh
UTF-8
1,723
4.5625
5
[]
no_license
#!/bin/bash # Usage function function usage(){ echo -e "Usage : $0 [options]" echo -e "\nOptions :" echo -e "\t-p <path>: The path where all tools are stored" exit 1 } # Colors RED='\033[0;31m' Blue='\033[0;34m' NC='\033[0m' # No Color # Empty array to store all raised errors errors= function isGit...
true
b41e97f4528b26a26662123bf5ffe3b3d4b984be
Shell
diegopacheco/elassandra
/distribution/rpm/src/main/packaging/init.d/cassandra
UTF-8
4,446
3.921875
4
[ "Apache-2.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash # # Cassandra daemon # # chkconfig: 2345 80 20 # description: The Apache Cassandra Project - a highly scalable second-generation distributed database # processname: java # config: /etc/sysconfig/cassandra # pidfile: /var/run/cassandra/cassandra.pid ### BEGIN INIT INFO # Provides: cassandra # Required-Start...
true
1e2d1854aa6676fc7984b31724b9f18bb21cedbb
Shell
hmol33/SoapyRemote-server-installer
/SoapyRemote-server-installer.sh
UTF-8
1,373
3.125
3
[]
no_license
#Compiling SoapySDR and SoapyRemote requires installing git, gcc, g++, make and cmake: # Debian / Ubuntu: sudo apt-get install git gcc g++ make cmake # Red Hat / Fedora: #dnf install git gcc gcc-c++ make cmake #Compile and install SoapySDR library and utilities: git clone https://github.com/pothosware/SoapySDR.git cd...
true
e88db2795b67e65ee9c7df2c35322e20bffd51df
Shell
atbogetti/dotfiles
/config/i3/blocks/linux.sh
UTF-8
132
2.5625
3
[]
no_license
#!/bin/bash kernel=$(uname -a | grep Linux | awk {'print $3'} | awk 'BEGIN { FS = "-" } ; { print $1 }') echo " Arch-${kernel}"
true
df84b3aecb94b1cfc67ea2812fe3fd4497d0f0e0
Shell
bentglasstube/prezto
/runcoms/zshrc
UTF-8
815
3.328125
3
[ "MIT" ]
permissive
# # Executes commands at the start of an interactive session. # # Authors: # Sorin Ionescu <sorin.ionescu@gmail.com> # # Source Prezto. if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" fi # Customize to your needs... alias config='git --git-dir=$HOME/.config.gi...
true
e4959ae3fc933c5f7a0d79d3d155059a05e89687
Shell
gjvanoldenborgh/climexp_data
/HIWAVES3/copyfiles.sh
UTF-8
1,530
3.71875
4
[]
no_license
#!/bin/bash # copy the files from Karin's directory to here in a Climate-Explorer-friendly format for exp in present future2C do case $exp in present) sexp=PD;; future2C) sexp=2C;; *) echo "$0: error: unknown exp $exp"; exit -1;; esac for var in pr_d do svar=${var%_d} ...
true
15a26effea3079e15fc2f8784b404be817d7f0ea
Shell
Kamil2000/GameScripts
/NoughtsAndCrosses/play.sh
UTF-8
3,937
3.59375
4
[]
no_license
#!/bin/bash BOARD=("0" "0" "0" "0" "0" "0" "0" "0" "0") PLAYER="0" WINNER="0" function display_board() { printf "Board:\n" echo "${BOARD[0]}|${BOARD[1]}|${BOARD[2]}" echo "${BOARD[3]}|${BOARD[4]}|${BOARD[5]}" echo "${BOARD[6]}|${BOARD[7]}|${BOARD[8]}" } function get_board_value() { echo "${BOARD...
true
4d3cbab564a0cf42841cbf6ec171038917d1c569
Shell
kylejericson/JAMF
/Scripts/sysaid_config.sh
UTF-8
1,914
3.109375
3
[]
no_license
#!/bin/bash # Created by Kyle Ericson # Version 1.0 # Use this to setup Sysaid config # Vendor Website: https://www.sysaid.com # Vendor Manual Agent Deployment https://documentation.sysaid.com/docs/manual-agent-deployment # serverURL arg - URL of the server SysAid is running on. This information can be found at the use...
true
a5231da8cba252dc67b3e9bf2c4ad9b86f91352c
Shell
drtamermansour/deepvariant_rna
/model_eval_chr21.sh
UTF-8
1,116
2.71875
3
[]
no_license
#!/bin/bash -login #SBATCH --nodes=1 --ntasks=1 #SBATCH --time=48:00:00 #SBATCH --mem=128G #SBATCH -A ged #SBATCH --mail-type=FAIL,BEGIN,END #SBATCH -J evalModel_chr1 cd $SLURM_SUBMIT_DIR OUTPUT_DIR="${PWD}/output_chr21_"$exp LOG_DIR="${OUTPUT_DIR}/logs" OUTPUT_DIR_TRAINING="${PWD}/output_chr1_"$exp/training_output s...
true
e1ae86ffba02db898d666f643a216b7c5a27b5ff
Shell
GHubgenius/BlindElephant
/tools/shell-scripts/joomla.sh
UTF-8
223
2.734375
3
[]
no_license
#releases from http://mirror.phil-taylor.com/ and Joomla.org cd downloads for i in *.zip; do if [ ! -d ../`basename $i .zip` ] then echo "Unpacking $i" unzip -q $i -d ../`basename $i .zip`; fi done cd ..
true
402c0ea0b037ce4695b2d20a8431306b2862befb
Shell
renanrms/lipe-manutencao
/instalar_dados_apt-offline.sh
UTF-8
641
2.5625
3
[]
no_license
#!/bin/bash # Este script atualiza o sistema e instala os programas mais usados pelo LIpE. Deve ser executado em uma máquina com a mesma distribuição Linux dos computadores em que os dados de atualização e instalação foram obtidos. LISTA_DE_PACOTES="ntp adobe-flashplugin wine-stable default-jre icedtea-netx synapti...
true
3b56a2cb34fd6990a74dda84123143f397cb8a2b
Shell
RichardBruskiewich/RTX
/code/kg2/extract-unichem.sh
UTF-8
2,234
3.734375
4
[ "MIT", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/usr/bin/env bash # extract-unichem.sh: download UniChem and extract TSV of (chembl,chebi) pairs # Copyright 2019 Stephen A. Ramsey <stephen.ramsey@oregonstate.edu> set -o nounset -o pipefail -o errexit if [[ "${1:-}" == "--help" || "${1:-}" == "-h" ]]; then echo Usage: "$0 <output_tsv_file>" exit 2 fi ech...
true
5fdf8fefa4d3b1b977d9d5a03f8150e2e0793e60
Shell
clarksoft/supercracker.sh
/supercracker.sh
UTF-8
151
2.640625
3
[]
no_license
for i in $(seq 2000 -1 0);do pass=$(fcrackzip -v -D -u -p xato.txt files/$i.zip | tail -1 | awk 'NF{print $NF}'); unzip -P $pass files/$i.zip done
true
e3ea7f992f59f37becbca5374aee7ff9e7d7a4af
Shell
rzarzynski/fuel-noop-fixtures
/utils/generate_yamls.sh
UTF-8
10,279
3.296875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # # Use this script to generate and save astute.yaml fixtures. # Should be executed on Fuel node with 'advanced' feature enabled # (see FEATURE_GROUPS list in /etc/nailgun/settings.yaml) CWD=$(cd `dirname $0` && pwd -P) mkdir ./yamls rm -f ./yamls/* function generate_fake_nodes_fixtures { # $1 - first ...
true
7e94814227931e2d399316db567eb56724db1c78
Shell
jonny561201/VendingMachineDockerJava
/do/scripts/bootstrap.sh
UTF-8
870
3.921875
4
[]
no_license
#!/bin/bash WORK_DIR=`mktemp -d -p "$USERPROFILE"` DOCKER_TEMP_DIR="$WORK_DIR\docker.exe" function downloadDocker { if [[ ! "$WORK_DIR" || ! -d "$WORK_DIR" ]]; then echo "Could not create temp directory!" exit 1 else echo "----------Downloading Docker----------" curl -L -o $DOC...
true
a12c6e33745deceb212536997d3851a8249a97b6
Shell
MichaelWes/primitives
/hmac-sha256
UTF-8
914
3.625
4
[]
no_license
#!/bin/bash BLOCK_SIZE=64 if [ $# -ne 2 ] then echo "Error." exit 1 fi keylength=$(echo -n $1 | wc -c) echo $keylength difflength=$(($BLOCK_SIZE - $keylength)) echo $difflength if [ $keylength -gt $BLOCK_SIZE ] then key=$(echo -n $1 | sha256sum) key=${key:0:64} elif [ $keylength -lt $BLOCK_SIZE ] th...
true
c5e1c57789faf448b431673afb5c528efa8452df
Shell
alphagov-mirror/notifications-template-preview
/scripts/run_with_docker.sh
UTF-8
666
2.546875
3
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
#!/bin/bash DOCKER_IMAGE_NAME=notifications-template-preview source environment.sh docker run -it --rm \ -e NOTIFY_ENVIRONMENT=development \ -e FLASK_ENV=development \ -e STATSD_ENABLED= \ -e AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:-$(aws configure get aws_access_key_id)} \ -e AWS_SECRET_ACCESS_KEY=${AWS_SECR...
true
6fd472c2d0d4356806cc5b1474bd6510d08a50de
Shell
blackshy/Bash_Scripts
/System_Base_Init_Scripts/RHEL_6u3-PrimarySet.sh
UTF-8
10,163
3.6875
4
[]
no_license
#!/bin/bash #Program: # Use this scripts can help me to make a new host ready in my habit; # Like set 'network' 'hostname' tun off the 'iptables' 'NetworkManager'and 'SElinux'! #History: # 2013/03/06 Clark First release PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin ex...
true
0129a618ca8a43c95f31f515e81a1b4bc55264bb
Shell
f/koding
/scripts/wercker/install-node-modules
UTF-8
390
3.59375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash set -o errexit PROJECT_NAME=$1 WORKING_DIR=$2 if [ -n "$WORKING_DIR" ]; then if [ ! -d $WORKING_DIR ]; then echo "error: $WORKING_DIR does not exist" exit 1 fi cd $WORKING_DIR fi USER=git HOST=github.com REPOSITORY_NAME=$PROJECT_NAME-node_modules-wercker.git REPOSITORY_URL=$USER@$HOST:ko...
true
cdd49fb091a304ca1d587b8445ec6d7f0995e87e
Shell
acads/csc695-ofss
/scripts/install_ofss.bash
UTF-8
1,376
3.640625
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # Automates the build and installation of ofsoftswitch13 along with # required build tools and libraries. # # Author: Aravindhan Dhanasekaran <adhanas@ncsu.edu> red_bold='\e[91m \e[1m' no_color='\e[0m' # Install required build tools first echo -e ${red_bold} echo "#######################################...
true
3b4aebeb429c88faa580266d52242b49f60a4fe6
Shell
termux/termux-packages
/packages/mpd/build.sh
UTF-8
1,912
2.78125
3
[ "Apache-2.0" ]
permissive
TERMUX_PKG_HOMEPAGE=https://www.musicpd.org TERMUX_PKG_DESCRIPTION="Music player daemon" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="0.23.13" TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/MusicPlayerDaemon/MPD/archive/v$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=c002fd...
true
a1915e845eeb92dfd2ebd2537ca0b145fc5212b9
Shell
titouanfreville/PopCube
/popcube.sh
UTF-8
9,974
4.1875
4
[]
no_license
#!/bin/bash ################################################################################# ################################################################################# ################################## POP CUBE #################################### #############################################################...
true
7cf22e431040763c58cc0cc887b9f22e1bb53375
Shell
godara17/bhavcopy
/apps/scraping/create_image.sh
UTF-8
310
2.75
3
[]
no_license
#!/usr/bin/env bash image_name=scraping image_tag=0.0.1 # copy common and utils inside app directory cp -rf ../../src/common app/. cp -rf ../../src/utils app/. # create docker image docker build -t $image_name:$image_tag . # remove common and utils once image is created rm -rf app/common rm -rf app/utils
true
0e40a1b756cede9f2d742da78cadf62f9544685a
Shell
sk1806/ND280Computing
/westgrid_scripts/put_files_from_list.sh
UTF-8
1,501
3.84375
4
[]
no_license
#!/bin/bash # ### Uncomment line below when debugging - will expand all commands #set -x ################################################################ usage() { cat - <<EOF Usage: $0 Type DirPath ListName This script will put files on T2KSRM in the directory $DirPath/$Type where the file names ar...
true
305ee5dae09a393fe9cdf7174a27cfb0f2c6ba49
Shell
AzarguNazari/modified-petclinic-application
/migration/docker swarm/cluster-installation/installation.sh
UTF-8
3,477
3.4375
3
[ "Apache-2.0" ]
permissive
#!/bin/bash function install_docker_swarm { echo "--------------------" echo "Install Docker Swarm" echo "--------------------" for node in {1..3}; do open_swarm_port $node ssh fadmin@playground-hazar-"${node}".fvndo.net 'base=https://github.com/docker/machine/releases/download/v0.16.0 && curl -L $bas...
true
e22b11ca237f4ddeff48ce9ecfe6591b72f1043a
Shell
atweiden/voidpkgs
/srcpkgs/musl-obstack/template
UTF-8
1,010
2.625
3
[ "Unlicense", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
maintainer="nox" pkgname="musl-obstack" version=1.2.3 revision=1 short_desc="Implementation of obstack for musl libc" archs="*-musl" hostmakedepends+=" automake" hostmakedepends+=" libtool" homepage="https://github.com/void-linux/musl-obstack" license="GPL-2.0-or-later" distfiles="https://github.com/void-linux/musl-obs...
true
396f22d78e7a33df25460997517ed235ad94cd72
Shell
shihuade/x264-vp8-openh264
/Script/run_GetYUVPath.sh
UTF-8
637
3.6875
4
[]
no_license
#!/bin/bash #usage: runGetYUVPath ${YUVName} ${FindScope} runGetYUVPath() { if [ ! $# -eq 2 ] then echo "runGetYUVPath \${YUVName} \${FindScope} " return 1 fi local YUVName=$1 local FindScope=$2 local YUVFullPath="" local Log="find.result" local CurrentDir=`pwd` if [ ! -d ${FindScope} ] then ...
true
2336b04289438d02729b9e57b6b9f70611355017
Shell
yihuishen/yeast_metabolism
/Yeast_genome_scale/FluxOptim.sh
UTF-8
216
2.578125
3
[]
no_license
#!/bin/sh echo "$1" #provided number of chunks for a_chunk in `seq 1 $1` do for a_run in `seq 0 9` do qsub -N fluxMCMC -l 1day -cwd -sync n Rscript FluxOptimClus.R runNum=$a_run chunk=$a_chunk done done
true
31f0a2a12ef5cd6e3cc28c39616cff7910ae6628
Shell
nmhancock/eve
/dumper.sh
UTF-8
939
3.453125
3
[ "0BSD" ]
permissive
#!/bin/sh #mkfifo ./lol.pipe # Performance testing pipes. #time ./test < ./lol.pipe >log.txt & #iprofiler -systemtrace ./test < ./lol.pipe >log.txt & # Redirecting 3 to pipe keeps the pipe open over multiple iterations through # the loop, as opposed to closing it each time. # open the pipe for writing #exec 3>./lol...
true
0908d368719af9d2693a7aeeaa45dc530406a297
Shell
tongluobing/Data-driven-tractography
/post_mat2.sh
UTF-8
297
3.140625
3
[]
no_license
#!/bin/bash if [ "$2" == "" ];then echo "" echo " post matrix 2 <subject ID> <session ID>" echo " zips the fdt_matrix2.dot file " echo "" exit 1 fi subject=$1 session=$2 results_dir=/share/neurodev/matrix2/${subject}/${session} gzip --fast ${results_dir}/fdt_matrix2.dot
true
9773b602197abcc1c51f227d3e026481fabc9d9b
Shell
vboykox/bare
/pkg/bzip2.sh
UTF-8
569
2.875
3
[ "ISC" ]
permissive
ver 1.0.6 epoc 1 dist http://bzip.org/$PKG_VER/$PKG_NAME-${PKG_VER}.tar.gz pre_configure() { ed Makefile <<-EOF ,s/^\(CC\)=\(.*\)\$/\1\?=\2 ,s/^\(AR\)=\(.*\)\$/\1\?=\2 ,s/^\(RANLIB\)=\(.*\)\$/\1\?=\2 w q EOF } do_build() { make -j $MK_NPROC bzip2 } do_install() { install -Dm755 bzip2 $MK_DESTDIR$MK_PREFIX/b...
true
27e7476c8508e7872eb3b4a2fe1df576a89b064f
Shell
CiaranWelsh/TGCA
/feature_selection_slurm.sh
UTF-8
420
2.625
3
[]
no_license
#!/bin/sh conda activate py36 wd="/mnt/nfs/home/b7053098/ciaran/TGCA" echo $wd echo ${wd}/tgca/ga_for_cluster.py for num_features in {1..15}; do for num_clusters in {2..6}; do echo "${num_features}_${num_clusters}" FLAGS="--ntasks=1 --cpus-per-task=1 --job-name=f_${num_features}_k_${num_clusters}" sbatch...
true
2fee86aa4c4d607beb1a9436d3f80d1954cdf582
Shell
ukasofisosaari/mun_sivu
/nodejs_server_startup.sh
UTF-8
1,243
3.765625
4
[ "MIT" ]
permissive
### BEGIN INIT INFO # Provides: nodejs_server_startup # Required-Start: $remote_fs $named $syslog # Required-Stop: $remote_fs $named $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Script for stopping and starting nodejs server # Description: This script wa...
true
85be527c7eb8981c91b37623681d17a178507d48
Shell
ojullien/bash-tartime
/src/bin/tartime.sh
UTF-8
1,321
4.40625
4
[ "MIT" ]
permissive
#!/bin/bash ## ----------------------------------------------------------------------------- ## Linux Scripts. ## Simple tool for compressing files to an auto timestamped bz2 archive. ## ## @package ojullien\bash\bin ## @license MIT <https://github.com/ojullien/bash-tartime/blob/master/LICENSE> ## ---------------------...
true
1fea6c81633cd7afb1aeeeabf134f133b82684f7
Shell
dewalt201/deploy
/user/.bashrc
UTF-8
3,235
3.1875
3
[ "MIT" ]
permissive
# ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running interactively, don't do anything case $- in *i*) ;; *) return;; esac # don't put duplicate lines or lines starting with space in the history. # Se...
true
84c428122edb8600473083db3f84e6783cb72067
Shell
artemvang/stagit
/build.sh
UTF-8
1,010
3.984375
4
[]
no_license
#!/bin/sh [ ! -d /html ] && >&2 echo "error - no /html directory found... exiting" && exit 1 [ ! -d /repositories ] && >&2 echo "error - no /repositories directory found... exiting" && exit 1 cd html/ STAGIT="stagit" STAGIT_INDEX="stagit-index" NORMAL_PWD="$PWD""/../repositories/" # stagit for folder in $(find ../r...
true
511b1ec8f51db904c95f7e34826c29393b9b0651
Shell
sohanyadav/github-actions
/src/tf_init.sh
UTF-8
673
4.03125
4
[ "MIT" ]
permissive
#!/bin/bash function terraformInit { # Gather the output of `terraform init`. echo "init: info: initializing Terraform configuration in ${tfWorkingDir}" initOutput=$(terraform init -input=false ${*} 2>&1) initExitCode=${?} # Exit code of 0 indicates success. Print the output and exit. if [ ${initExitCode}...
true
3a88501ff1710bb9ba4d297665a129b13f35989d
Shell
cooljeanius/uscode
/src/update_uscode.sh
UTF-8
424
3.265625
3
[]
no_license
#!/bin/sh LOGFILE=~/log/uscode.log touch $LOGFILE date >> $LOGFILE cd ~/sources/uscode git pull -q origin master rm -rf code python /home/shawn/sources/uscode/src/retrieve_code.py . >> $LOGFILE git add code >> $LOGFILE DIFFLOG=`git status --porcelain` if [ ! -z "$DIFFLOG" ]; then echo "$DIFFLOG" >> $LOGFILE git...
true
d4581cb604115acc52e7da7f56b4ce8b85863c09
Shell
SysSynBio/edd
/docker_services/start-edd.sh
UTF-8
3,416
4.4375
4
[ "BSD-3-Clause-LBNL", "BSD-3-Clause" ]
permissive
#!/usr/bin/env bash set -eo pipefail function check_brew() { if [ ! -x "$(which brew)" ]; then # Install brew if missing /usr/bin/ruby -e \ "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" if [ ! $? -eq 0 ]; then return 1 fi...
true
4c6ffc9694b4ba1156370bf184e031a7f8b1836f
Shell
flaccid/shell_scripts
/rebundle-ubuntu_11.04-rl-cloudstack.sh
UTF-8
1,916
3.515625
4
[]
no_license
#!/bin/sh -ex # Rebundle Ubuntu 11.04 cloud image with RightScale RightLink release=11.04 codename=natty arch=amd64 cloud=cloudstack rightscale_release=5.7.16 download_dest="$HOME/src/dev-images" image="ubuntu-$release-server-cloudimg-$arch" mp_chroot="/mnt/$codename-server-cloudimg-$arch" mkdir -p "$download_dest"...
true
73be5af5a00dc9b28b393dea7bf6b384ff3a44ea
Shell
mh-g/check-mk_signal-cli
/signal
UTF-8
747
2.53125
3
[ "MIT" ]
permissive
#!/bin/bash # Send via Signal hostname=$(env | grep "NOTIFY_HOSTNAME=" | awk -F'=' '{print $2}') datetime=$(env | gre...
true
9fefd2c9e62c67791783223e08c3d83b95755136
Shell
mandre/dotfiles
/bin/hgmergevim
UTF-8
1,105
3.65625
4
[]
no_license
#!/bin/sh # Filename: hgmergevim # Purpose: mercurial merge script for vim # Authors: grml-team (grml.org), (c) Michael Gebetsroither <gebi@grml.org> # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. #####################################################...
true
fc638d32b570e0384116be2894fe93e9c94620c8
Shell
fantastic001/fantastixus-bins
/bin/view-source
UTF-8
1,935
4.125
4
[]
no_license
#!/bin/sh cat << EOF This script is deprected and will be modified or removed. It has planned to make more powerful program for this. Please contact author on mail (stefan at lugons dot org) for more information. You also can help author of that script to make better solution for that by sending mail. Thanks in a...
true
5008851a2ea82925910b2ecf466b38745e1c6900
Shell
domax/email-bridge
/data/example/run.sh
UTF-8
1,372
4.15625
4
[ "MIT" ]
permissive
#!/bin/bash # Go to the script's folder cd "`dirname "$0"`" # Define needed variables if [ -z "$APP_NAME" ]; then APP_NAME="Email bridge" fi if [ -z "$JAR_FILE" ]; then JAR_FILE=`ls -1 ../../target/email-bridge-*-standalone.jar | head -1` fi if [ -z "$CFG_FILE" ]; then CFG_FILE=config.properties fi if [ -z "$LOG_F...
true
828774aea5b93eb8cf3ee07eee135d35f58328c6
Shell
tj800x/joker-tv-fpga
/joker_tv/tag_fw.sh
UTF-8
531
3.234375
3
[]
no_license
#!/bin/bash set -e if [ -z "$@" ]; then echo "Please specify firmware revision" echo "Usage: $0 fw_ver" echo " Example: $0 28" false fi fw_ver=0.$@ dir=fw-$fw_ver echo tagging fw to $fw_ver mkdir $dir cp joker_tv.jic $dir/joker_tv-$fw_ver.jic (cd $dir && zip joker_tv-$fw_ver-jic.zip joker_tv-$fw_ver.jic && rm jo...
true
4686524ca9754e7b98f3b058d6f78c7b4f18004e
Shell
petronny/aur3-mirror
/eclipse-rap/PKGBUILD
UTF-8
2,371
2.515625
3
[]
no_license
# Maintainer: Cravix < dr dot neemous at gmail dot com > # Based on the eclipse PKGBUILD by Ionut Biru <ibiru@archlinux.org> pkgname=eclipse-rap pkgver=4.2.1 pkgrel=1 _date=201209141800 pkgdesc="Eclipse for RCP and RAP (RWT) developers" arch=('i686' 'x86_64') url="http://eclipse.org" depends=('java-environment' 'gtk2'...
true
d8ce4df6fa5a1c63ac8d175a19ffa44629c2c2b1
Shell
ash-bell/masters_thesis
/extract_HVR.sh
UTF-8
860
2.71875
3
[]
no_license
##get 23S-5S ITS region from barrnap for i in <all_SAR11_genomes>; do echo $i; barrnap $i --threads 16 --quiet >> rRNA_pos.tsv; done egrep "23S|5S" rRNA_pos.tsv > 23S_5S_only.tsv cut -f1 23S_5S_only.tsv | awk 'array[$0]++' | grep -f - 23S_5S_only.tsv | grep "23S" | cut -f1,4,5 > 23S_unique.tsv cut -f1 23S_5S_only.tsv ...
true
c359c7aeb187168f0c9c596e6b97f93ab8c3e2bd
Shell
liangyy/ptrs-ukb
/scripts/construct_phenotype_table/construct_phenotype_table.sh
UTF-8
2,181
3.171875
3
[ "MIT" ]
permissive
# ARGS1: if you'd like to force running everything, put something here # this is the script constructing phenotype table used for analysis # Procedures: # 1. Construct query # 2. Query using ukbREST # 3. Population assignment and QC # 4. Phenotype QC # construct query echo '--> construct query: START' if [[ ! -f ../...
true
6c7ee866a5ddc9d47f10167717e1f9673a305cad
Shell
cloudwm/installer
/apps/openvpn-2.7-offibin
UTF-8
1,628
3.453125
3
[]
no_license
#!/bin/bash if [ -f "include/startup.sh" ]; then . include/startup.sh elif [ -f "../include/startup.sh" ]; then . ../include/startup.sh fi checkTagExist ntpd.success checkTagExist cwm-settimezone.success appVersion=2.8.2 appPackage=openvpn-as-latest-ubuntu18.amd_64.deb rootDir=$(rootDir) echo "Downloading b...
true
63ad48b6ef6fdc7ebedb8c63baf0afaec610adf1
Shell
leixyou/env
/gdb/gdb_plugin_install.sh
UTF-8
456
3.109375
3
[]
no_license
#!/bin/bash echo "select plugin to install" echo "1 peda" echo "2 gef" echo "3 gdbgui" read -t 10 -n 1 -p "请选择安装插件,他们是互斥的" select if [ $select -eq 1 ];then echo "source ~/iot/tools/peda/peda.py">>~/.gdbinit echo "ojbk" elif [ $select -eq 2 ];then wget -q -O- https://github.com/hugsy/gef/raw/master/scripts/gef.sh | s...
true
1c069388e36ff291c05644665d8b8f5b6ac62ae4
Shell
sywxh2012/TinyOS-Harry
/TinyOS-2.x-jhu/opt/tinyos-2.x/tinyos.sh
UTF-8
1,462
2.640625
3
[]
no_license
#! /usr/bin/env bash # Here we setup the environment # variables needed by the tinyos # make system #echo "Setting up for TinyOS 2.x" export TOSROOT= export TOSDIR= export MAKERULES= export PYTHONPATH TOSROOT="/Users/sywxh2012/Desktop/summer_2016/TinyOS-2.x-jhu/opt/tinyos-2.x" TOSDIR="$TOSROOT/tos" CLASSPATH=$CLASS...
true
ff15e248961e47f00b25f8b54eea932dd3ce29b2
Shell
shieldproject/shield
/ci/scripts/release
UTF-8
4,318
3.984375
4
[ "MIT" ]
permissive
#!/bin/bash # # ci/scripts/release # # Script for generating Github release / tag assets # and managing release notes for a Golang project # # author: Dennis Bell <dennis@rubidiumstudios.com> # created: 2023-06-02 # shellcheck disable=2291 set -eu header() { echo echo "=============================================...
true
d0c868292e9be521b63405469edc233ba31f7964
Shell
mobistor/docker_wordpress_hosting
/gen.sh
UTF-8
184
2.890625
3
[]
no_license
#!/bin/sh [ -z $1 ] && echo "$0 domain_name" && exit 1 [ -d ./vhosts ] || mkdir -p vhosts [ -d ./vhosts/$1 ] && echo "$1 already exists!" && exit 1 cp -dpfR ./template ./vhosts/$1
true
83844f8772280fe40b82d9471ce79b97341896ed
Shell
mayconbordin/pystatsd
/init/pystatsd.init
UTF-8
2,376
3.90625
4
[ "BSD-2-Clause" ]
permissive
#!/bin/bash # # pystatsd This shell script takes care of starting and stopping pystatsd. # # chkconfig: 2345 80 30 # description: Pystatsd is a front end/proxy for the Graphite stats collection and graphing server. # # processname: pystatsd # config: /etc/sysconfig/pystatsd # pidfile: /var/run/pystat...
true
d2a27dbb7bb3865de8b5d2ef9bd8caffbdaa283d
Shell
stencila/environs
/.build/vars.sh
UTF-8
499
3.28125
3
[ "Apache-2.0" ]
permissive
# If necesary, set environment variables # We allow these to be set exernally for consistency between build.sh and push.sh: # - $STENCILA_IMAGES : allows branches for single image to build only a single image # - $STENCILA_TAG : the date may change between build and push for long running builds if [ -z "$STENCILA_IMA...
true
6eed3c6ca48695cbc38a6f776551ce0ca8efeca5
Shell
mwhooker/zshd
/S20-environment
UTF-8
1,333
3.03125
3
[]
no_license
#!/usr/bin/env zsh # default editor export EDITOR=vim export PATH="/usr/local/bin:${PATH}" export PATH="/sbin:${PATH}" export PATH="${HOME}/bin:${PATH}" export PATH="${HOME}/usr/bin:${PATH}" export PATH="${PATH}:/usr/sbin" if [ -f "${HOME}/Library/Haskell/bin" ]; then export PATH="${PATH}:${HOME}/Library/Haskel...
true
0e2e41f4f41df6b9a913f13eada21344dce6f361
Shell
ed-g/postgres-scripts
/backup-and-restore/run-dump-all.sh
UTF-8
503
3.609375
4
[ "Apache-2.0" ]
permissive
#!/bin/bash date=$(date '+%Y-%m-%d') my_dir=$(readlink -f $(dirname $0))/backups # output_file=$my_dir/pg-dumpall-$date.sql.bz2 output_file=$my_dir/pg-dumpall-$date.sql.gz clean_output_file=$my_dir/pg-dumpall-danger-will-drop-then-restore-$date.sql.gz if [ X$1 = X--clean ]; then echo "Dumping all Postgres databases...
true
9a0f7084f97a34c7e7521482d9e82567ef6b60c1
Shell
jbsilva/dotfiles
/.zsh/my_ip.zsh
UTF-8
476
2.625
3
[]
no_license
#!/usr/bin/env zsh if (( $+commands[lynx] )); then WWWDUMP='lynx -dump -nolist -width=300 -accept_all_cookies -display_charset=UTF-8' alias myip="curl -s -m 8 https://ipinfo.io/ip || curl -s -m 8 eth0.me || curl -s -m 5 ifconfig.me || curl -s -m 5 icanhazip.com || $WWWDUMP http://www.getip.com | sed -n 's/^Curr...
true
98bde22d1f2e3781e4c04218d73d00627b07281a
Shell
Ashwini0398/Shell_Scripting
/Shell_Scripting_Stage2/IfElse/DayMonth.sh
UTF-8
323
3.4375
3
[]
no_license
#! /bin/bash -x read -p " enter the Day: " date read -p " enter the month: " month if [ $month -gt 3 ]&&[ $month -lt 6 ]&&[ $date -lt 31 ] then echo "true" elif [ $month -eq 3 ]&&[ $date -ge 20 ]&&[ $date -lt 31 ] then echo "true" elif [ $month -eq 6 ]&&[ $date -le 20 ] then echo "true" else echo "false"; ...
true
43dc0a07fe96d8772f4e08dbe92feeef98c93140
Shell
Aptimyze/hailstorm-sdk
/setup/ruby/install-jruby.sh
UTF-8
476
3.3125
3
[ "MIT" ]
permissive
#!/usr/bin/env bash # install jruby & create 'hailstorm' gemset sudo -i jruby_version='9.1.7.0' source /usr/local/rvm/scripts/rvm rvm list | grep "$jruby_version" if [ $? -ne 0 ]; then rvm install jruby-$jruby_version rvm use jruby-$jruby_version rvm gemset create hailstorm # chamge the rvm aliases for al in de...
true
6453b1c47f597f07437c1ee59faf77394e7f1af4
Shell
4hmdhb/init
/scripts/03.sh
UTF-8
118
2.921875
3
[]
no_license
#! /bin/bash LINE=1 while read -r CUR_LINE do echo "$LINE: $CUR_LINE" >> output.txt ((LINE++)) done < "./test.txt"
true
1b06af6e3bdd71281d1f69551b8a47b8c5e27a09
Shell
remybach/boost
/partials/ssh-keys.sh
UTF-8
543
3.71875
4
[]
no_license
#!/bin/bash echo -e "$cMagenta#===========================================#" echo -e "# SSH Keys" echo -e "#===========================================#$cDefault" # Create the ssh directory if it doesn't exist yet. if [ ! -d "$HOME/.ssh" ]; then mkdir $HOME/.ssh fi sshfiles=$(ls $dir/ssh) for file in...
true
11a8fe571a1860a48d512b7849d31f124d61bf37
Shell
pinktrink/dotfiles
/.dotfiles/all.sh/funcs/django-manage
UTF-8
465
3.1875
3
[]
no_license
#!/usr/bin/env bash # For Django: run manage.py in either the project or app level function m(){ ( while true; do if [[ -f manage.py ]]; then python manage.py "$@" return 0 else if [[ $(pwd) = '/' ]]; then echo "Ca...
true
897dc4252428b2f5c2406e9fa92d717f6b6b3518
Shell
uttutukarascuto/tripleo-quickstart
/roles/libvirt/setup/supplemental/templates/tls_everywhere_provisioner.sh.j2
UTF-8
2,476
3.265625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -eux CLONEFROM={{ image_cache_dir }}/supplemental_base.qcow2 VMSSHKEY={{ working_dir }}/id_rsa_supplemental.pub VMDISKADD=30G WORKDIR=/tmp/virt-undercloud-$(date +%s) VMIMGIPA={{ working_dir }}/ipa.qcow2 VMIMGIPACOPY={{ working_dir }}/ORIG-ipa.qcow2 # Copy qcow2 base image cp -v $CLONEFROM $VMIMGIPA...
true
c27a1a0b88ec21a4fad2f24d1a4ff3ea60d774f8
Shell
zentekmx/docker-openldap
/run.sh
UTF-8
3,545
3.578125
4
[ "MIT" ]
permissive
#!/bin/bash set -eu readonly DATA_DIR="/bootstrap/data" readonly CONFIG_DIR="/bootstrap/config" readonly LDAP_SSL_KEY="/etc/ldap/ssl/ldap.key" readonly LDAP_SSL_CERT="/etc/ldap/ssl/ldap.crt" LDAP_DOMAIN="${LDAP_DOMAIN:-zentek.com.mx}" LDAP_ORGANIZATION="${LDAP_ORGANIZATION:-Zentek MX}" LDAP_BINDDN="cn=admin$(echo ${L...
true
b0d44cc8405a6bce43db710125dba300709b57c0
Shell
ypelud/flutter_plugins
/script/plugin_pub.sh
UTF-8
414
3.0625
3
[ "MIT" ]
permissive
#!/bin/bash set -ev echo "publishing $1" cd packages/$1 shift; flutter packages pub publish $@ # if [ "${FLUTTER_CHANGED_PACKAGES}" = "" ] || [ $FLUTTER_CHANGED_GLOBAL -gt 0 ]; then # echo "Running for all packages" # pub global run flutter_plugin_tools "$@" # else # echo "Running only for $FLUTTER_CHANGED_PAC...
true
f78f829963eeffc474f8fea7f2728e9146318387
Shell
JeffChien/dotfiles
/streamlink/.local/bin/streamlink_gui
UTF-8
1,303
3.171875
3
[]
no_license
#!/usr/bin/env bash # This is a simple script using zenity to popup input dialog for video url link # then feed it to streamlink. # # Copyright 2022 Jeff Chien # # 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 Softw...
true
ae216ab4b1b727a62e625e8bc8038f3fe06ea2d0
Shell
Cerdic/spip-zone-plugins
/spipenconsole/trunk/spipenconsole
UTF-8
4,223
3.96875
4
[]
no_license
#!/bin/bash VERSION=1 SANS_ARGS=0 E_ERREUROPTION=65 #Récupération des differents chemins #Si on est dans le répertoire plugins ou dans un de ses sous répertoires ex : plugins/saisies if [[ "`pwd| grep plugins`" ]]; then repertoire_racine=${PWD%/plugins*} repertoire_plugins=$repertoire_racine/plugins reper...
true
8a9a98fa36bfa4252716f3fcab45bdfd1d0f55d3
Shell
manu-mannattil/scripts
/inkconv
UTF-8
797
3.984375
4
[ "LicenseRef-scancode-public-domain", "Unlicense" ]
permissive
#!/usr/bin/env bash # # NAME # # inkconv - convert between vector graphics formats using Inkscape # # SYNOPSIS # # inkconv <input> <output> # # DEPENDENCIES # # inkscape(1) # [[ $# -lt 2 ]] && { echo >&2 "usage: ${0##*/} <input> <output>" exit 1 } args=( "--export-area-drawing" ) # Choose converter acc...
true
83ae0faa182c09e8f2b9620fde1d3277b127cae9
Shell
a03nikki/Peace-Prize-Forum
/copy-cache-umn-to-individual.txt
UTF-8
421
3.046875
3
[]
no_license
#! /bin/bash grep -lir "appointment" cache-search-umn/ > people-to-move.txt for i in `cat people-to-move.txt` person=`grep "Internet ID:" $i`; echo "cp $i cache-serach-individual/content-$person.html"; done After running the above shell script outputing to cp-command.txt. Open in text editor, remove up to <TT> a...
true
63ea871c61c77e87fd95e040d14aa203911704c2
Shell
LuRuz/scripts
/HeurísticaYOptimización/testing.sh
UTF-8
1,468
3.859375
4
[]
no_license
#!/usr/bin/env bash #Script para ejecutar pruebas de la práctica NUM_EXAMPLES="6" # Numero de ejemplos por heuristica HEURISTICS=(hone htwo hthree noh) # Heuristicas utilizadas para las pruebas TIME_THRESH="400" # Tiempo maximo de espera para un test # Ejecuta el programa con la heuristica correspondiente execTe...
true
643b0e05ede7af2f2393c5656afe41548cf93f0e
Shell
zcbtzcb/3301
/1.1. diversity_analyses_pipleline_2018.pbs
UTF-8
1,613
2.875
3
[]
no_license
#!/bin/bash #SBATCH -t 3:00:00 #SBATCH -n 24 #SBATCH -p normal # setting temporary directory mkdir -p ~/qiime_tmp export TMPDIR=~/qiime_tmp # loading modules module load eb module load Miniconda2 # loading virtual environment source deactivate source activate qiime1 # checking mapping file for errors echo "validate...
true
9fb55adce304c82928c80662853dc4bbf4b0ac7c
Shell
BlueIcarus/inbucket
/etc/docker/defaults/start-inbucket.sh
UTF-8
182
2.703125
3
[ "MIT" ]
permissive
#!/bin/sh # start-inbucket.sh # description: start inbucket (runs within a docker container) INBUCKET_HOME="/opt/inbucket" set -eo pipefail exec "$INBUCKET_HOME/bin/inbucket" $*
true
16789021efc8b01949796bf4e8242139830cc80b
Shell
rgolangh/node-maintenance-operator
/hack/functest.sh
UTF-8
2,064
3.546875
4
[ "Apache-2.0" ]
permissive
#!/bin/bash -ex if [ -n "${OPENSHIFT_CI}" ]; then echo "Running functest on OpenshiftCI" export CLUSTER_COMMAND="oc" OPERATOR_NS="default" else # We are not on OpenshiftCI if [ -z "$KUBEVIRTCI_PATH" ]; then KUBEVIRTCI_PATH="$( cd "$(dirname "$BASH_SOURCE[0]")/" readl...
true
cfe535936bf0fffc2bb9dc123c707a5cc593e7dc
Shell
BKR-dev/v56-OC
/v56.sh
UTF-8
1,483
3.375
3
[]
no_license
#!/bin/bash vga_device=/sys/class/drm/card0/device pwm=$vga_device/hwmon/hwmon1/pwm1 perf_level=$vga_device/power_dpm_force_performance_level gpu_clock=$vga_device/pp_sclk_od vram_clock=$vga_device/pp_mclk_od help=$(cat /Users/lionelpedro/Git/GamingPerformanceEnhancer/help.v56) current_cpu_clock=$(cat $gpu_clock) print...
true
f32532df275a363c51fa408cd77f5f20c5671739
Shell
NitinJ1996/BridgeLabz-CodinClub
/Stage1/5th_day/findbigelseifladder.sh
UTF-8
242
3.78125
4
[]
no_license
#!/bin/bash -x read -p "Enter the value of x:" x read -p "Enter the value of y:" y if [ $x -gt $y ] then echo "x=$x is greater than y=$y" elif [ $x -eq $y ] then echo "x=$x is equal than y=$y" else echo "x=$x is smaller than y=$y" fi
true
81a0aa1ab94f68edb4f28e5f6edba6fe4054cce1
Shell
route4me/route4me-curl
/Linux/Orders/get_orders_by_custom_fields.sh
UTF-8
326
2.578125
3
[]
no_license
#!/bin/bash url=http://api.route4me.com/api.v4/order.php apikey=11111111111111111111111111111111 # The example refers to the process of getting specified custom fields of all Orders. fields="order_id,member_id" curl -o file1.txt -X GET "$url?api_key=$apikey&fields=$fields&offset=0&limit=20" echo "Finished..." sle...
true
df4d066a7584cc5c66f945c8b0ef885bfa18b255
Shell
th3n3rd/doctor-practice-cqrs
/scripts/acceptance.sh
UTF-8
459
3.609375
4
[ "MIT" ]
permissive
#!/bin/bash set -Ee trap quit ERR trap teardown EXIT CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" source "${CURRENT_DIR}/functions.sh" function teardown() { info "Tear down infrastructure" docker-compose down } cd "$CURRENT_DIR/.." info "Set up clean infrastructure" docker...
true
e436f72bbb9d006a77b84469c24138f3b33ba9d9
Shell
andyschott/Destiny2
/update_nuget.sh
UTF-8
276
2.984375
3
[ "MIT" ]
permissive
#!/bin/sh if [ -z "$1" ] || [ -z "$2" ] then echo "Usage:" echo "update_nuget.sh <version number> <api key>" exit 1 fi dotnet pack -c Release if [ $? -ne 0 ] then exit 1 fi dotnet nuget push bin/Release/Destiny2.$1.nupkg -k $2 -s https://api.nuget.org/v3/index.json
true
1744a2c95d9d6fc98bba66e6d244ed11e078749a
Shell
ppx17/advent-of-code
/2018/php/ci/install_composer.sh
UTF-8
862
3.390625
3
[]
no_license
#!/bin/bash # We need to install dependencies only for Docker [[ ! -e /.dockerenv ]] && exit 0 set -xe # Install git (the php image doesn't have it) which is required by composer apt-get update -yqq apt-get install git wget unzip -yqq # Install phpunit, the tool that we will use for testing curl --location --output...
true
9a990e71d99f1210227f2ec586aba5b15ebddaf7
Shell
desource/container-postgres
/initdb.sh
UTF-8
1,652
3.28125
3
[]
no_license
#!/bin/sh set -e if [ "$(id -u)" != "0" ]; then echo "initdb.sh must be run as root" 1>&2 exit 1 fi mkdir -p $PGDATA chown -R postgres:postgres $PGDATA su postgres -c "/usr/bin/initdb --auth-local=peer --auth-host=md5 --encoding=UTF-8 --lc-collate=en_US.UTF-8 --lc-ctype=en_US.UTF-8" # think about enabling --da...
true
3151e30e2606d17a287aa312b09e4f2711c04f80
Shell
hobby-labs/samba-ad-container
/test/entrypoint_transfer_fsmo.bats
UTF-8
2,153
3.21875
3
[]
no_license
#!/usr/bin/env bats load helpers "/pdc/entrypoint.sh" function setup() { cp -a /usr/sbin/samba /usr/sbin/samba.bak > /dev/null 2>&1 || true ln -f -s $(which true) /usr/sbin/samba stub echo stub samba-tool stub sleep stub pkill export ADMIN_PASSWORD="p@ssword0" CHECK_COUNT_WHETHER_SAMB...
true
fd60711a7cae7270cba7b93a7669816c9c511919
Shell
smoogipoo/osu
/UseLocalFramework.sh
UTF-8
852
3.140625
3
[ "MIT" ]
permissive
#!/bin/sh # Run this script to use a local copy of osu-framework rather than fetching it from nuget. # It expects the osu-framework directory to be at the same level as the osu directory # # https://github.com/ppy/osu-framework/wiki/Testing-local-framework-checkout-with-other-projects CSPROJ="osu.Game/osu.Game.csproj...
true
4f37369168855ad5c9665343db75aa929b00b7b6
Shell
nazmulnaim/vpn-connection-check-and-restart
/test/mytest.sh
UTF-8
296
2.875
3
[]
no_license
#!/bin/bash mkfifo /tmp/waldo sleep 10 systemd-notify --ready --status="Waiting for data…" while : ; do read a < /tmp/waldo systemd-notify --status="Processing $a" # Do something with $a … sleep 10 systemd-notify --status="Waiting for data…" done
true
e3f00edd186c13931d88e67d3ccb3dcfcabafee6
Shell
frantony/clab
/build-scripts/qemu-openbios.sh
UTF-8
873
3.28125
3
[]
no_license
#!/bin/bash # # clab framework # (c) 2011, Antony Pavlov # # build script for openbios firmware. # OPENBIOS_BUILD_CFG=$1 if [ ! -f "$OPENBIOS_BUILD_CFG" ]; then echo "no file $OPENBIOS_BUILD_CFG" exit 1 fi OPENBIOS_BUILD_CFG=$(cd $(dirname $OPENBIOS_BUILD_CFG); pwd)/$(basename $OPENBIOS_BUILD_CFG) . $DIST_DIR/func...
true
036fe2f3b25087da7be706fd4af2352def6c53b1
Shell
abhra0897/gowin-easy-linux
/SynplifyPro/bin/fpga_help
UTF-8
399
2.96875
3
[ "MIT" ]
permissive
#!/bin/bash x=$0 y=`expr $x : '\(.\)'` if [ "$y" != "/" ] ; then x=`pwd`/$x fi x=`echo $x | sed "s+/\./+/+g" | sed "s/\/\//\//g"` SYN_PRGM=`expr $x : ".*/\([^/]*\)"`; export SYN_PRGM; SYN_HOMEDIR=`expr $x : "\(.*\)/[^/]*/[^/]*"`; export SYN_HOMEDIR; . $SYN_HOMEDIR/bin/config/...
true
ace5307b1bd40a564e1919792646b7a14966495f
Shell
nealhardesty/dots
/install-ubuntu-dev.sh
UTF-8
1,325
2.671875
3
[]
no_license
#!/bin/bash -x set -ex echo 'neal ALL=(ALL:ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers.d/neal sudo chmod 0440 /etc/sudoers.d/neal sudo apt update # Kill it with fire sudo apt remove -y nano sudo apt install -y \ zsh \ openjdk-11-jdk \ build-essential \ python3 \ python3-pip \ python3-venv \ tmux \ ...
true
2f0c87fc2df81f54f5e2c564da197dc2bceb2a31
Shell
mk-pmb/server-loads-diagram-pmb-js
/shims/img2base64px.lite.sh
UTF-8
405
2.890625
3
[ "ISC" ]
permissive
#!/bin/bash # -*- coding: utf-8, tab-width: 2 -*- function img2base64px_lite () { echo "# no header ($FUNCNAME)" local SRC_FN="$1"; shift convert "$SRC_FN" -colorspace RGB -depth 8 "$@" ppm:- \ | grep -Faxe 255 -A 900210 | tail -n +2 | base64 --wrap=0 | sed -re ' s~...=$~~ # cut-off partial pixels' ...
true
0dbb4b383ac77786351fb815ccd11d61a2e1ee2a
Shell
vaishaliu/LAB_5
/lab5_3.sh
UTF-8
56
2.9375
3
[]
no_license
x=0 while [ $x -lt $1 ] do echo $2 x=`expr $x + 1` done
true
f9b761cd3efaf67b32dee0287d53d88d610d8abf
Shell
sh19910711/graph-visualizer
/scripts/after_script.bash
UTF-8
600
2.71875
3
[]
no_license
# ドキュメント作成 bundle exec rake doc npm run-script doc if [ "${TRAVIS_PULL_REQUEST}" == false ] && [ "${TRAVIS_BRANCH}" == "develop" ]; then git clone --quiet --single-branch -b gh-pages git://github.com/sh19910711/web-graph-visualizer.git tmp/gh-pages \ && cp -r tmp/doc tmp/gh-pages/ \ && cd tmp/gh-pages/ \ ...
true
bd17d7d595a3d8e5aaa67a521b7d2c7a2e4fe7c1
Shell
cycloidio/ansible-concourse
/templates/concourse-worker-watchdog.j2
UTF-8
1,047
3.46875
3
[ "MIT" ]
permissive
#!/bin/bash watchdog() { #WORKER_PID=$1 # Grace periode just to be sure Concourse have enough time during the # First startup sleep 120 RETRY=3 while(true); do FAIL=0 curl --silent 127.0.0.1:8888 || FAIL=1 #if [[ $FAIL -eq 0 ]]; then if [[ $FAIL -eq 1 ]]; the...
true
dcca18e19dc0a4e7d0c0dc444aa15e76eeeedaf7
Shell
diegofps/ngd_docker_images
/images/hibench/pkg/dataset_deploy.sh
UTF-8
1,121
3.515625
4
[ "MIT" ]
permissive
#!/bin/sh IDD=$1 if [ ! "$#" = "1" ] then echo "SINTAX: $0 <IDD>" exit 1 fi NAME="classification_dataset_${IDD}" echo "Copying dataset $NAME to hadoop-primary:app" sudo kubectl cp ./${NAME}.libsvm hadoop-primary:/app/classification_dataset.libsvm sudo kubectl cp ./${NAME}.libsvm hadoop-primary:/app/regression_d...
true
f63d654b15ccae3afdfa621d47262331bb69d5ce
Shell
delkyd/alfheim_linux-PKGBUILDS
/cryptsetup-keyscript/PKGBUILD
UTF-8
1,870
2.515625
3
[]
no_license
# $Id$ # Maintainer: mwberry <null@example.org> pkgname=cryptsetup-keyscript cryptsetupver=1.7.2 pkgver=${cryptsetupver}.keyscript pkgrel=1 pkgdesc="Patched cryptsetup that supports invoking a script to obtain passphrase" arch=(i686 x86_64) license=('GPL') url="https://gitlab.com/cryptsetup/cryptsetup/" groups=('base')...
true