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
b32104b591bf08745e15a41fe416fdaa54ed9bad
Shell
steelalive/dot
/bin/exemple_skeleton_script.sh
UTF-8
1,681
4.125
4
[ "BSD-3-Clause" ]
permissive
#!/bin/bash # --------------------------------------------------------------------------- # this - test # Copyright 2018, <root@PC> # All rights reserved. # Usage: this [-h|--help] [-h|--help] [-q|--quit] # Revision history: # 2018-03-20 Created by script_gen ver. 3.3 # ---------------------------------------------...
true
cc1efdb9df3369b0351acee1c7dfbe78a59f5796
Shell
tarmiste/lfs-custom-configs
/lfs81/blfsrawscripts/138-z-openldap
UTF-8
4,734
3.421875
3
[ "MIT" ]
permissive
#!/bin/bash set -e PKG_DIR=openldap SRC_DIR=${SRC_ARCHIVE}${SRC_SUBDIRS:+/${PKG_DIR}} BUILD_DIR=${BUILD_ROOT}${BUILD_SUBDIRS:+/${PKG_DIR}} mkdir -p $SRC_DIR mkdir -p $BUILD_DIR cd $SRC_DIR PACKAGE=openldap-2.4.45.tgz if [[ ! -f $PACKAGE ]] ; then if [[ -f $SRC_ARCHIVE/$PACKAGE ]] ; then cp $SRC_ARCHIVE/$PACKAG...
true
a72a5b08360b33fbc3143f8c9946245b5c6e0af0
Shell
EstefrancoUSB/bash_learning
/13.Functions/function_exm_2.sh
UTF-8
594
3.3125
3
[]
no_license
#!/bin/sh # -*- coding: utf-8 -*- """ Created on Thu Nov 26 23:44:11 2020 Second example of bash function @author: esteban """ myfunc() { echo "myfunc was called as : $@" x=2 } ### Main script starts here echo "Script was called with $@" x=1 echo "x is $x" myfunc 1 2 3 | tee out.log echo "x is $x" echo "Script...
true
71e5055a10476c284ad0d39000a41024e91c44d5
Shell
leeren/dotfiles
/bash/profile.d/install/gcloud.sh
UTF-8
4,468
3.890625
4
[]
no_license
#!/bin/bash # # Install gcloud SDK and related components. UTIL_DIR="${UTIL_DIR:-${HOME}/profile.d/util}" GCLOUD_CONFIG_PATH="${HOME}/profile.d/config/gcloud.sh" GCLOUD_SDK_DIR="${GCLOUD_SDK_DIR:-${HOME}/google-cloud-sdk}" SDK="google-cloud-sdk-290.0.1-darwin-x86_64.tar.gz" # shellcheck source=./profile.d/util/log.sh...
true
f5be228c0c4208b7e99567c722e8b2ff6fcb7f4c
Shell
panta97/funnel-bash
/script.sh
UTF-8
1,750
4.03125
4
[]
no_license
#!/bin/zsh myArray=() dateArray=() timeArray=() filenameArray=() # comand running example ./.script.sh "Friday" "16:00" "19:00" # $1 $2 $3 # then you can move the filtered.txt file to a specific folder # mv `cat filtered.txt` bunchy while IFS= read -r line; do myArra...
true
53a25dc64afcbd38fcf2ddafa67b1903cbc70c7a
Shell
jason-morsley/walking-skeleton
/Pipelines/Scripts/unit-tests.sh
UTF-8
1,097
3.328125
3
[ "MIT" ]
permissive
#!/bin/bash PARENT_PATH=$(cd "$(dirname "${BASH_SOURCE[0]}")";pwd -P) echo "PARENT_PATH:" ${PARENT_PATH} source ${PARENT_PATH}/header.sh WD=$(pwd) echo "WD:" ${WD} cd built/Tests/Unit ############################################################################### header 'UNIT TESTS STARTED' for d in */; do c...
true
1c590da73ebd4290d72695e6ecc619a9827b818a
Shell
petronny/aur3-mirror
/inescapable/PKGBUILD
UTF-8
1,266
2.5625
3
[]
no_license
pkgname=inescapable pkgver="1.1" pkgrel=1 license=('Commercial') url="http://www.magneticrealms.com/" pkgdesc="Unravel the mystery uncovered by a remote interplanetary mining operation." arch=('x86_64') _archive='inescapable_linux_1.1-amd64.deb' source=("hib://${_archive}") md5sums=('7bb8c6194dccac5a476bb288f3ae0f67') ...
true
8977c0513c58cf9eedad5cf373a5cba1a355d953
Shell
raymondchen625/bash-music
/bash-music.sh
UTF-8
495
3
3
[]
no_license
#!/bin/bash export BASH_MUSIC_FILE=~/bin/example.mp3 export BASH_MUSCI_PLAY_SCRIPT=~/bin/bash-music-play.sh function playMusic () { if [ "on" = "$MUSIC_ON_COMMAND" ]; then $BASH_MUSCI_PLAY_SCRIPT `history 1 | head -1 | awk '{print $2}'` fi } alias musicon='export MUSIC_ON_COMMAND=on;trap playMusic DEBUG' alias ...
true
b7e691c1c8dc160b900a540b23afacd0ca98abab
Shell
jonheese/poltergeist
/misc_setup.sh
UTF-8
191
2.671875
3
[]
no_license
#!/bin/bash if [ ! -f /var/www/hostile/level.txt ] ; then touch /var/www/hostile/level.txt echo "1" > /var/www/hostile/level.txt fi chown -R www-data:www-data /var/www/* 2>/dev/null
true
bc7d19445275ee1ac605fa4b1d90d64da6ac0f36
Shell
damianwernert-ecu/cyb6004
/portfolio/week 2/menu.sh
UTF-8
375
3.921875
4
[]
no_license
#! /bin/bash ./PasswordCheck.sh if [[ $? -ne 0 ]]; then exit 1 fi echo "Enter an option:" echo "1. Create a folder" echo "2. Copy a folder" echo "3. Set a password" read -p "Enter your choice: " choice case "$choice" in 1) ./foldermaker.sh ;; 2) ./foldercopier.sh ;; 3) ./setPassword.sh ;; *) echo...
true
a08177b3d7dddfefdb84cd6b688cba4db35d5b83
Shell
FauxFaux/debian-control
/d/didiwiki/didiwiki_0.5-13_amd64/postinst
UTF-8
920
3.484375
3
[]
no_license
#!/bin/sh set -e umask 0022 do_didiwiki_adduser () { if ! getent passwd didiwiki >/dev/null; then adduser --quiet --system --no-create-home --home /var/lib/didiwiki \ --gecos "DidiWiki" --group didiwiki fi chown -R didiwiki:didiwiki /var/lib/didiwiki } do_didiwiki_css () { ln -s /et...
true
178a1e670dcc1d920d7facc2ad5f236bd61918a7
Shell
raminderj/pst-extraction
/bin/run_spark_translation.sh
UTF-8
578
2.75
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash FORCE_LANGUGE=$1 set +x set -e echo "===========================================$0 $@" OUTPUT_DIR=spark-emails-translation if [[ -d "pst-extract/$OUTPUT_DIR" ]]; then rm -rf "pst-extract/$OUTPUT_DIR" fi spark-submit --master local[*] --driver-memory 8g --files spark/moses_translator.py,spark...
true
302779748726c5fea6f00dd49a87a913e7073067
Shell
LeoWare/BLFS-RPM
/ALSA.sh
UTF-8
4,868
3.75
4
[]
no_license
#!/bin/bash ################################################# # Title: ALSA.sh # # Date: 2018-02-10 # # Version: 1.1 # # Author: baho-utot@columbus.rr.com # # Options: # ################################################# set -o errexit # exit if error...insurance ;) set -o nounset # exit...
true
f275c8f2770be15def9d5aaf512c3ba4c94e8588
Shell
vedmaka/mediawiki-backup-bash
/mediawiki_regular_install_backup.sh
UTF-8
3,163
4.3125
4
[]
no_license
#!/bin/sh help_display() { echo "" echo "====================================================================================" echo " MWBACKUP is a bash script that helps you to create and rotate backups of Mediawiki site." echo " It will create backup of files and database and place it into s...
true
b7c6971b95c2d9099da64e9b81a0e9b047f81acd
Shell
bioconda/bioconda-recipes
/recipes/clove/build.sh
UTF-8
271
2.890625
3
[ "MIT" ]
permissive
#!/bin/bash set -eu -o pipefail outdir=${PREFIX}/share/${PKG_NAME}-${PKG_VERSION}-${PKG_BUILDNUM} mkdir -p $outdir mkdir -p ${PREFIX}/bin cp ${SRC_DIR}/* $outdir/ cp ${RECIPE_DIR}/clove.py $outdir/clove ln -s $outdir/clove ${PREFIX}/bin chmod 0755 "${PREFIX}/bin/clove"
true
80de8625d45933d083be4a76ad9f9352d6914ac0
Shell
mehrdad-shokri/kraken-lib
/build-scripts/docker-update.sh
UTF-8
507
4.09375
4
[ "Apache-2.0" ]
permissive
#!/bin/sh # using sh instead of bash because the target container, `docker:latest` does # not contain /bin/bash # # this script will update the checked in dockerfile to use a passed in parameter # for the tag on the source image # expects first argument to be source tag # expects second argument to be Dockerfile ...
true
dbe1df06531625fd7040860469622c0246823620
Shell
ccs2014/submission243
/Simulation Code/taint_tracking/sim.sh
UTF-8
638
3.171875
3
[]
no_license
#!/bin/sh #****************************************************** # This script builds all the trace simulators and runs # all the traces through them. #***************************************************** bm=$1 Ncyc=$2 l1=$3 l2=$4 trace_dir="../traces" mkdir -p logs mkdir -p cfg mkdir -p results mkdir -p rules ...
true
3f87aa4c15dcc0f90e44a2bf402af8b7aed1d9e6
Shell
jeromedecoster/black-white-terraform-imagemagick-lambda-invoke
/scripts/s3-put-payload.sh
UTF-8
2,587
3.234375
3
[]
no_license
# the project root directory, parent directory of this script file dir="$(cd "$(dirname "$0")/.."; pwd)" if [[ $# -eq 0 ]]; then echo "Usage: $0 <object.key>" >&2 exit 1 fi if [[ ! -f "$dir/$1.json" ]]; then cd "$dir/terraform" OUTPUT=$(terraform output) REGION=$(echo "$OUTPUT" | grep ^region | tr ' ' '\n' ...
true
018272249162586da533fefd79cb02ab1d97dcb5
Shell
laurenclarke/braddunbar
/scss
UTF-8
414
3.53125
4
[]
no_license
#!/bin/sh -e v="$(sass -v | sed 's/[^0-9.]//g')" if [ -z "$(semver -v "$v" -r ">=3.1")" ] then echo "sass@>=3.1 required" false fi sass="sass -C --scss --compass --trace" while getopts ":mr:" opt; do case $opt in m) sass="$sass -t compressed";; r) sass="$sass -r $OPTARG";; \?) echo "invalid option: -$OPTARG...
true
1f608830550d82dfa38fbd17c3b511dab0f72a68
Shell
apps4av/avare
/extra/minimums/mins.sh
UTF-8
1,851
2.984375
3
[ "BSD-2-Clause" ]
permissive
#!/bin/bash #Copyright (c) 2015 Apps4Av Inc. # Author Zubair Khan (governer@gmail.com) #All rights reserved. # #Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above co...
true
0dbd71c902969a489752b1213d7502c4455b1c58
Shell
corford/netatmo
/devops/hack/docker-tools.sh
UTF-8
645
3.40625
3
[]
no_license
#!/bin/sh DOCKER_COMPOSE="1.23.2" DRY="0.9-beta.9" # Exit immediately on error or undefined variable set -e set -u echo "Downloading & installing Docker Compose ${DOCKER_COMPOSE} (to /usr/local/bin/docker-compose)" curl -fsSL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE}/docker-compose-`uname ...
true
7266543b5d37261189f8669cf785b5210a9b6b5c
Shell
GovernoRegionalAcores/DSpace
/entrypoint.sh
UTF-8
1,235
2.875
3
[]
no_license
#!/bin/bash set -e if [ "${1}" = "run" ];then set -- catalina.sh "$@" fi mkdir -p $CATALINA_HOME/conf/Catalina/localhost for webapp in $(ls /dspace/webapps/); do # Exclue jspui parce qu'il n'est pas compilable avec tomcat8 if [ "$webapp" != "jspui" ]; then if [ "$webapp" == "solr" ]; then { echo "...
true
af24cf4a7bb6c847bf187e203810c77239cecc31
Shell
tongr/coheel
/bin/download-training-data.sh
UTF-8
757
3.140625
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e RESULTS_FOLDER=${1:-hdfs://tenemhead2/home/stefan.bunk/results} echo "This script is to be run after the training data program and before the" echo "actual training." echo "It downloads the training and test set files typed-training-data-3786-{12345,678910}.wiki" echo "and typed-training-data-632-...
true
45db56f0f8642d0af1bbdc986cbafefb49d7a5e1
Shell
Sandlayth/docker-armv7l-images
/update_images/update_alpine.sh
UTF-8
383
2.890625
3
[ "MIT" ]
permissive
#!/usr/bin/env sh # This script is intented to update alpine image MAJOR_VERSION="3.5" MINOR_VERSION="0" pushd ../docker-alpine curl https://nl.alpinelinux.org/alpine/v3.6/releases/armhf/alpine-minirootfs-3.6.0-armhf.tar.gz > rootfs.tar.gz docker build -t sandlayth/armv7l-alpine . && docker push sandlayth/armv7l-...
true
0ef6ad9678c97d6cfb0dc6ecced7d07bb28ab88a
Shell
621Alice/Fed-Brane-V6
/Brane/V6_server_node_deployment/v6_node/entrypoint.sh
UTF-8
732
2.796875
3
[]
no_license
#!/usr/bin/env bash set -euo pipefail export LC_ALL=C.UTF-8 export LANG=C.UTF-8 sed -i "s/PLC_API_KEY/$API_KEY/g" configuration.yml #sed -i "s/PLC_DATA_PATH/$DATA_PATH/g" configuration.yml sed -i "s/PLC_DATA_PATH/${DATA_PATH//\//\\/}/g" configuration.yml sed -i "s/PLC_SERVER_HOST/$SERVER_HOST/g" configuration.yml sed...
true
e72efd5c9c5265d90b3b8c4bfbe27ffa3f443f1f
Shell
einverne/droolsjbpm-build-bootstrap
/script/release/kie-wbSmokeTestsMatrix.sh
UTF-8
491
3.203125
3
[ "GPL-1.0-or-later", "LGPL-2.0-or-later", "LicenseRef-scancode-proprietary-license", "Apache-2.0", "AGPL-3.0-or-later" ]
permissive
#!/bin/bash -e echo "kieVersion:" $kieVersion echo "target" : $target if [ "$target" == "community" ]; then stagingRep=kie-group else stagingRep=kie-internal-group fi # wget the tar.gz sources wget -q https://repository.jboss.org/nexus/content/groups/$stagingRep/org/kie/kie-wb-distributions/$kieVersion/kie-wb-...
true
e092db26dc9b3ec5cdb81f48111beb3966ed3890
Shell
mwiede/heroku-buildpack-oc
/bin/compile
UTF-8
657
3.53125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # bin/compile <build-dir> <cache-dir> <env-dir> # fail fast set -e BP_DIR=$(cd $(dirname $0)/..; pwd) # absolute path BIN_DIR=$BP_DIR/bin # parse args BUILD_DIR=$1 CACHE_DIR=$2 ENV_DIR=$3 cd $BUILD_DIR OC_HOME=.oc-cli mkdir -p .oc-cli echo -n "-----> Installing openshift CLI... " curl -O http...
true
396b118512e5cae40bf97faa3e0f4ec2c8f64031
Shell
rtcn2/tm351vm
/build/jupyter-custom/jupyter_nbextensions.sh
UTF-8
2,352
3.5
4
[]
no_license
#!/usr/bin/env bash if [ ! -f /opt/jupyter_nbextensions.done ]; then for PYTHONVER in 3 ; do PYTHON="python$PYTHONVER" PIP="pip$PYTHONVER" #https://stackoverflow.com/questions/49836676/python-pip3-cannot-import-name-main PIP="python3 -m pip" #Go for the easy option and src all the...
true
b83709e91fac4b423f6ee722e08deab44d43af38
Shell
bodii/test-code
/shell/test1/block_subshell.sh
UTF-8
337
3.015625
3
[]
no_license
#!/bin/bash echo echo "Block output is redirected to file 'block1.out;" # 重定向若干个命令序列的标准输出 # 显示子shell的当前工作目录 ( date; cd /etc; echo -n "Current Working dir: ";pwd; ) > block_subshell.out # 打印父shell的当前工作目录 echo "Current Working dir:$PWD" echo exit 0
true
d339e4d598c92ba4321b51b19a0352ae309d9ec7
Shell
tipsotto/archlinux-setup
/Initial
UTF-8
6,519
3.8125
4
[]
no_license
#!/bin/bash # Created by: TIPSotto # Free to use, distribute and do whatever the hell you want with it. # Last Updated: May 13, 2012 ##################################################################### clear echo "*****************************************************************" echo "| Initial: Initi...
true
a3e844578ad2a48a8ab476182573336d4fb7bd9a
Shell
harryi3t/base
/migrate.sh
UTF-8
7,947
3.515625
4
[ "MIT" ]
permissive
#!/bin/bash -e readonly ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" readonly USR_DIR="$ROOT_DIR/usr" OLD_STATE_FILE="$ROOT_DIR/data/state.json" STATE_FILE_TEMPLATE="$USR_DIR/state.json.example" STATE_FILE_MIGRATE="$USR_DIR/state.json.migrate" update_release() { # update the release version in migra...
true
0e25e6fb3e0aab07161f69faa9242ca91a4e0f05
Shell
nelse003/pandda
/scripts/pandda.run_tests
UTF-8
1,072
3.203125
3
[]
no_license
#!/usr/bin/env bash err_file="pandda-errors.log" if [ -n "$1" ]; then n_cpus="$1" else n_cpus="1" fi echo "Running with $n_cpus CPUS" if [ ! -d pandda-test ]; then mkdir pandda-test fi cd pandda-test if [ ! -f data.zip ]; then echo "downloading test data" wget https://zenodo.org/record/48768/files/data...
true
fb44e63c0c477311affc41efb9396d39dcc4e63a
Shell
rogamoore/sulu
/bin/travis/before_script_php.sh
UTF-8
863
2.796875
3
[ "MIT" ]
permissive
#!/bin/bash if [ ! -d downloads ]; then mkdir downloads; fi if [[ $SYMFONY__PHPCR__TRANSPORT = jackrabbit ]]; then if [ ! -f downloads/jackrabbit-standalone-$JACKRABBIT_VERSION.jar ]; then cd downloads wget http://archive.apache.org/dist/jackrabbit/$JACKRABBIT_VERSION/jackrabbit-standalone-$JACKRAB...
true
c32693292e1acc98f6f229b5a5493d5319f8b168
Shell
MyRequiem/SlackBuilds
/flashplayer-plugin-11/flashplayer-plugin-11.SlackBuild
UTF-8
2,110
3.484375
3
[]
no_license
#!/bin/sh PKGNAME="flashplayer-plugin-11" INSTALLED_VER="$(find /var/log/packages/ -type f -name "${PKGNAME}-*" | \ cut -f 5 -d / | rev | cut -f 3 -d - | rev)" echo "Installed version: ${INSTALLED_VER}" URL="https://helpx.adobe.com/ru/flash-player/kb/" URL="${URL}archived-flash-player-versions.html" VERSION=$(wge...
true
818cc7945107377e77c90fd579fb77251609ae83
Shell
shizonic/packages
/net/squid/files/squid.init
UTF-8
1,995
3.328125
3
[ "GPL-2.0-only", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/sh /etc/rc.common # Copyright (C) 2015 OpenWrt.org START=90 STOP=10 USE_PROCD=1 PROG=/usr/sbin/squid CONFIGFILE="/tmp/squid/squid.conf" MIMETABLE="/tmp/squid/mime.conf" validate_squid_section() { uci_load_validate squid squid "$1" "$2" \ 'config_file:string' \ 'http_port:port:3128' \ 'http_port_options...
true
ea48e923ee9fce09a6b7ee2f6a84828cf3c42367
Shell
pambros/qLibs
/common/util.sh
UTF-8
127
3.25
3
[]
no_license
pathWindowsToUnix () { _TMP_PATH=$(echo "$1" | sed 's,\\,/,g') _TMP_PATH=/${_TMP_PATH:0:1}${_TMP_PATH:2} echo ${_TMP_PATH} }
true
1bcb2245f368af04669b5aec68348a3dfbd9a897
Shell
reinaldo-z/tiniba
/utils/infiniband-quad.sh
UTF-8
4,532
2.921875
3
[]
no_license
#!/bin/bash ## please keep this history. ## ## LAST MODIFICATION : Febrero 18 2010 by Cabellos a 16:52 ## LAST MODIFICATION : Febrero 18 2010 by Cabellos a 18:06 ## LAST MODIFICATION : Septiembre 28 2010 by Cabellos a 16:03 RED='\e[0;31m' BLUE='\e[0;34m' BLU='\e[1;34m' CYAN='\e[0;36m' GREEN='\e[0;32m' GRE=...
true
e834b81ce1f51efbeae856b5c2fa73838a78cee3
Shell
anshulguleria/dotfiles
/install-scripts/asdf-setup.sh
UTF-8
855
3.5625
4
[]
no_license
# -x Print commands getting executed # -e exit on error set -xe # Prerequisites: # * oh-my-zsh setup # * presence of ~/.zshrc file # Install asdf by git clone of master branch git clone https://github.com/asdf-vm/asdf.git ~/.asdf # Add path to zsh # ./configurations/zsh-asdf-setup file contains necessary configuratio...
true
c5c0734e6b7f2f2c14852b013dc2ac37a4384059
Shell
holysatan007/myrepo
/ecs_status.sh
UTF-8
840
3.203125
3
[]
no_license
#!/bin/bash clustername=$1 servicename=$2 prevtime=$(sudo aws ecs describe-services --cluster $clustername --service $servicename |jq '.services[].events[0].createdAt') pattern='(.*has reached a steady state.*)' count=0 while true do getcurrstatus=$(sudo aws ecs describe-services --cluster $clustername --service $...
true
9dcacd9291dcda8eb46922c3d36832ebce46e7d8
Shell
wanelo/postgres-scripts
/restore_wal_archives.sh
UTF-8
576
3.578125
4
[ "MIT" ]
permissive
#!/bin/bash export MASTER=$1 export SERVICE=postgres924 function usage { echo "USAGE: $0 <master_fqdn>" } if [ -z $MASTER ]; then usage exit 1 fi if [ ! -f /var/pgsql/data92/recovery.conf ]; then echo "Script can only be run on a Postgres replica. Missing recovery.conf." echo usage exit 3 fi svcadm d...
true
903c7004fc25adda57823658967ae9c838bb6bf6
Shell
cirque-bts/cirque-on-cloud
/webapp.postinstall
UTF-8
657
3.015625
3
[]
no_license
#!/bin/sh echo "****** POSTINSTALL STARTED ******" DEPLOY_CURRENT=$HOME/current JSONRPC_CREDENTIALS=$DEPLOY_CURRENT/etc/jsonrpc_credentials.pl ### create database $DEPLOY_CURRENT/misc/dotcloud_db_setup.pl $DEPLOY_CURRENT/bin/cirqued --setup echo " Database is ready." ### create jsonrpc-credentials file and service...
true
d6bf334494d52d44764f2c80475e6b09a470d251
Shell
axray/dataware.dreamplug
/usr/lib/pm-utils/sleep.d/98smart-kernel-video
UTF-8
2,150
3.3125
3
[]
no_license
#!/bin/sh # # Copyright 2008 Victor Lowther <victor.lowther@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of version 2 of the GNU General Public License as # published by the Free Software Foundation. . "${PM_FUNCTIONS}" # Test to see if the kernel has a vi...
true
57b0b91769902b2c867214278435fd7ddf5cedfd
Shell
robotstreamer/robotstreamer
/scripts/install_python
UTF-8
460
2.9375
3
[ "Apache-2.0" ]
permissive
#!/bin/sh RELEASE=3.6.3 sudo apt-get update # install dependencies sudo apt-get install libbz2-dev liblzma-dev libsqlite3-dev libncurses5-dev libgdbm-dev zlib1g-dev libreadline-dev libssl-dev tk-dev # download and build Python mkdir ~/python3 cd ~/python3 wget https://www.python.org/ftp/python/$RELEASE/Python-$RELE...
true
5e195001e0355711f5127e385b5fe0a278acdad7
Shell
ilventu/aur-mirror
/prebuild-svn/PKGBUILD
UTF-8
1,078
3.25
3
[]
no_license
pkgname=prebuild-svn pkgver=324 pkgrel=1 pkgdesc="A cross-platform XML-driven pre-build tool which allows developers to easily generate project files for major IDE's and .NET development tools (svn)" arch=(any) url="http://mono-project.com/Prebuild" license=("BSD") depends=(mono) makedepends=(mono subversion) conflicts...
true
a3f5ea4bbb1d40da1df9980456f3f64a7ae446e4
Shell
benjamincjackson/mice_LD
/10_get_mut_matrix/get_mut_matrix.sh
UTF-8
334
2.5625
3
[]
no_license
EST_SFS_INPUT=$1 EST_SFS_OUTPUT=$2 CHR=`echo $EST_SFS_INPUT | rev | cut -d'/' -f1 | rev | cut -d'.' -f1` tail -n+9 $EST_SFS_OUTPUT > ${CHR}.temp paste $EST_SFS_INPUT ${CHR}.temp > ${CHR}.in_out.txt python3 ~/github_repos/wild_mice/est-sfs_2_mut_mat.py ${CHR}.in_out.txt ${CHR}.mut_mat.txt 48 rm ${CHR}.in_out.txt ${C...
true
04e6df26a240a38cdaa22c59bd4423fe3f03a9f4
Shell
rmwu/config
/.zshrc
UTF-8
2,512
2.78125
3
[]
no_license
#################### # .ZSHRC # rachel's preferences # 2019-10-10 #################### # # # # # # # # # # # oh-my-zsh # # # # # # # # # # # Path to your oh-my-zsh installation. export ZSH="/afs/csail.mit.edu/u/r/rmwu/.oh-my-zsh" ZSH_THEME="agnoster" DISABLE_UNTRACKED_FILES_DIRTY="true" HIST_STAMPS="yyyy-mm-dd" # S...
true
618dd058d6fef8c11397805e354411244cb0927b
Shell
arschles/alpine-builds
/kubectl/go-build.sh
UTF-8
602
2.875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash # this script is part of a set that should be run inside a container. run build.sh to run the entire build echo "go get github.com/tools/godep" go get github.com/tools/godep export PATH=$PATH:$GOPATH/bin echo "downloading k8s code" mkdir -p $GOPATH/src/k8s.io/kubernetes mkdir -p /kubedl cd /kubedl curl ...
true
c20af8309393ec61f7c9aa5cbf29a4800c4462ae
Shell
damnops/homework
/zhuye/auto/start
UTF-8
165
2.6875
3
[]
no_license
#! /bin/bash -e # cd $(dirname $0)/.. source ./auto/functions RUNLIST="app" for r in ${RUNLIST}; do docker-compose --project-name ${PROJECTNAME} start ${r} done
true
779ba52b340987c72bd2d56e94541a197d01e404
Shell
padresmurfa/minetest-development-with-osx-and-docker
/repositories/clone
UTF-8
744
3.421875
3
[ "Unlicense" ]
permissive
#!/bin/bash # see e.g. https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425 for details set -e set -u set -o pipefail # determine the directory this script resides in SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" ########################################################...
true
f717b0ae8c005fa3973b5d5f99ce5935a6e20556
Shell
dbfun/tools
/mymount
UTF-8
2,751
4.15625
4
[]
no_license
#!/bin/bash PROJECT=$1 OPTION=$2 cd $(dirname $(readlink -f $0)) declare -A PROFILE declare -A SAMBA_PROFILE source <(cat etc/projects.d/*.conf) PROJECT_MNT_PATH=~/mnt/$PROJECT function checkMountPoint { if [ -d "$PROJECT_MNT_PATH" ]; then mountpoint "$PROJECT_MNT_PATH" if [ "$?" == "0" ]; then ...
true
9b5e19d6fde107befa5b65ad4ce579cde354f6b9
Shell
raygomez/bash-exercise
/file-attr.sh
UTF-8
552
3.9375
4
[ "MIT" ]
permissive
#!/bin/bash if [ $# -ne 1 ] then echo 'It needs one argument.' exit -1 fi arg=$1 echo echo File:$arg if [ ! -e "$arg" ] then echo -e '\tFile does not exist.' exit fi echo -e '\tFile exists.' if [ -r "$arg" ] then echo -e '\tFile is readable.' else echo -e '\tFile is not readable. ' fi if [ -w "$arg" ...
true
89b5a6837731d0ad57f5cd92e8546e6a6aa244e6
Shell
ifremer-bioinformatics/FLORA
/bin/remove_rrna.sh
UTF-8
816
3.21875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash ############################################################################### ## ## ## Purpose of script: Remove rRNA from RNAseq raw reads using Bowtie2 and ## ## the SILVA database ...
true
95f64a4647e760efcaf569eaa4647b513c6db182
Shell
uofis/blackarch
/archtrack/packages/ecryptfs-utils/PKGBUILD
UTF-8
1,101
2.640625
3
[]
no_license
# TODO: Add to package groups. # old groups: pkgname=ecryptfs-utils-blackarch _realname=ecryptfs-utils pkgver=103 pkgrel=1 arch=('i686' 'x86_64') pkgdesc="Enterprise-class stacked cryptographic filesystem for Linux" url="https://launchpad.net/ecryptfs" license=('GPL') makedepends=('swig' 'intltool' 'gettext' 'python2'...
true
0500b4626adb63cb66a12a55c963f405102ad4aa
Shell
rolandoquiroz/holberton-system_engineering-devops
/0x04-loops_conditions_and_parsing/3-until_holberton_school
UTF-8
143
3.046875
3
[]
no_license
#!/usr/bin/env bash # Script to display "Holberton School" 10 times i=0 until [ $i -gt 9 ] do echo "Holberton School" let i++ done
true
460a6df193dcd57cbaf4c3098c5ca459e53416c7
Shell
ojalaquellueva/gnrs
/gnrs_export.sh
UTF-8
3,208
3.9375
4
[ "MIT" ]
permissive
#!/bin/bash ######################################################################### # Purpose: Exports GNRS results # # Usage: ./gnrs_export.sh # # Authors: Brad Boyle (bboyle@email.arizona.edu) # Date created: 12 June 2017 ######################################################################### : <<'COMMENT_BLOC...
true
eb36b9d0029a03122681ffda484fde5965d3719b
Shell
swoogles/Personal
/UbuntuTomcat.sh
UTF-8
1,156
2.734375
3
[]
no_license
#cgdb Setup sudo apt-get install libreadline-dev sudo apt-get install ncurses-dev # Install Java sudo apt-get install default-jdk # Set JAVA_HOME variable export JAVA_HOME=/usr/lib/jvm/default-java # Get tomcat wget http://mirror.cc.columbia.edu/pub/software/apache/tomcat/tomcat-7/v7.0.40/bin/apache-tomcat-7.0.40.t...
true
e49c158e2a2221496bd8e823259ecf5418c1bbb0
Shell
leasual/third_party
/ffmpeg/android/build_android_arm.sh
UTF-8
933
2.546875
3
[]
no_license
#!/bin/bash SYSROOT=${NDKROOT}/platforms/android-19/arch-arm/ TOOLCHAIN=${NDKROOT}/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 X264=/home/bronze/Documents/android/build/x264/arm function build_one { ./configure \ --prefix=$PREFIX \ --enable-shared \ --disable-static \ --disable-doc...
true
722aa949319961fc633bcf969853a12692f30a0a
Shell
TomasDSD/kibana-datasweet-formula
/build.sh
UTF-8
583
3.171875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash set -e rm -Rf releases mkdir -p releases function build { npm run build -- -k $1 for old in build/datasweet_formula-*; do new=$(echo $old | sed -E "s/(^build)(\/datasweet_formula-.+)\.zip$/releases\2_kibana-$1.zip/") mv -v "$old" "$new" done } if [ -n "$1" ]; then build $1 fi b...
true
f07a1e055fd2bc72f173de19d1322ff8db0c40d4
Shell
BackupTheBerlios/packware
/pwbuild/xap/psi/psi.pwbuild
UTF-8
923
2.5625
3
[]
no_license
#!/bin/sh name="psi" version="0.9.2" build="1" _pwbuilder 0.6.3 _doc -d libpsi/iconset/ICONSET-HOWTO _source -m e29f90aea7d839f2a70e4a6e77e95a70 -s 1154392 -f _patch -p 0 translations _patch no_online_status _patch no_default_status_text _patch status_history _patch status_indicator _patch offline_status _have_li...
true
b25fc40c209785810bd6117846c6b6ef33004fa6
Shell
EmilyShepherd/dotfiles
/services/user
UTF-8
432
3.203125
3
[]
no_license
#!/bin/sh export USER=emily export HOME=$(eval echo ~$USER) export XDG_RUNTIME_DIR=/run/user/$USER export XDG_CONFIG_HOME=$HOME/.config export XDG_DATA_HOME=$HOME/.local/share export XDG_CACHE_HOME=$HOME/.cache export SVDIR=$HOME/.local/services if ! [ -d $XDG_RUNTIME_DIR ] then mkdir -m 700 $XDG_RUNTIME_DIR ...
true
36641d8d419cc34309f5d0995723d560d044acd1
Shell
kif/edna
/bioSaxsv1/bin/stop-tango-server
UTF-8
177
2.703125
3
[]
no_license
#!/bin/bash testit=`ps aux |grep tango-EdnaDS | grep DAU | grep -v grep | awk '{print $2}'` if [ "$testit" = "" ];then echo "edna is already stopped" else kill $testit fi
true
e0af6e98ca6f3baaa6fa063717872a267c11e126
Shell
sk4zuzu/tf-k8s-libvirt
/terraform/k8s-libvirt/k8s-master/remote-exec/03-haproxy.sh
UTF-8
900
3.1875
3
[ "MIT" ]
permissive
#!/usr/bin/env bash set -o errexit -o nounset -o pipefail set -x [ -f "$0.done" ] && exit 0 BACKEND_SERVERS=` for (( k = 1; k <= ${_COUNT}; k++ )); do IPV4="$(getent ahostsv4 ${_PREFIX}$k | head -n1 | cut -d' ' -f1)" echo " server ${_PREFIX}$k $IPV4:6443 check port 6443" done ` mkdir -p /etc/haproxy/ && ...
true
d62a96798ed29b4c3ff1ba6f86650999e5670d8c
Shell
BofengDuke/shell_script
/chapter7/network.sh
UTF-8
372
2.84375
3
[ "MIT" ]
permissive
#!/bin/bash # ifconfig # 提取IP地址 ifconfig eth0 | egrep -o "inet [^ ]*" | grep -o "[0-9.]*" # 获取当前系统分配到的名字服务器 cat /etc/resolv.conf # 列出系统中开发的端口以及对应的服务信息 lsof -i # 分两步提取信息 lsof -i | grep ":[0-9]\+->" -o | grep "[0-9]\+" -o | sort | uniq # netstat -tnp 列出开放端口与服务
true
22bd0b3efb8380ecde56b86b9b3df936de68ed2c
Shell
Ram-Z/PKGBUILDs
/connman-git/PKGBUILD
UTF-8
1,248
2.609375
3
[]
no_license
# Maintainer: Samir Benmendil <ram-z[at]chakra-project[dot]org> # Contributor: aur2ccr (http://ddg.gg/?q=!ccr+aur2ccr&t=chakra) # Contributor: tailinchu <use_my_id at gmail dot com> pkgname=connman-git pkgver=1.24.89.gd60623c pkgrel=1 pkgdesc="Wireless LAN network manager (git version)" arch=('i686' 'x86_64') url="htt...
true
ba2d1620ef5e12108eb78565ac893d64df38b905
Shell
hiram-labs/startup-in-a-box
/service-000-gcloud/src/scripts/shell/gcloud/init.sh
UTF-8
785
2.53125
3
[]
no_license
#!/bin/bash # set -x # set -euo pipefail parse_general_flags "$@" PROJECT_ZONE=${PROJECT_ZONE:-"europe-west2-b"} PROJECT_REGION=${PROJECT_REGION:-"europe-west2"} PROJECT_ID=${PROJECT_ID:-$(jq -r '.project_id' <"${GCLOUD_SECRETS}"/gcloud-key.json)} gcloud auth activate-service-account --key-file="${GCLOUD_SECRETS}"/...
true
7f78b31f69bdbfd160380e846dd66a4f76be6106
Shell
RoJoHub/lightsocks
/docker/entrypoint.sh
UTF-8
128
2.84375
3
[ "MIT" ]
permissive
#!/bin/bash LIGHT_MODULE=${LIGHT_MODULE:-"lightsocks-server"} if [ "$1" != "" ]; then exec "$@" else $LIGHT_MODULE fi
true
1b48c57477420cd082b3bae970cf54aae4b56ed7
Shell
mrosata/kleos
/errno-vars.conf
UTF-8
421
2.578125
3
[]
no_license
#!/bin/bash ###################################################################### #### Error Numbers for Kleos Scripts #### - It should be safe to run this from any of the scripts even #### if for some reason they set their own values for the various #### error numbers. #### ERRNO_NOSUDO=${ERRNO_NOSUDO:-101...
true
e5ca63d51defa3500d98d714ccebe5a8530ef003
Shell
bcgov/gwells
/app/scripts/gwells-deploy.sh
UTF-8
1,976
2.90625
3
[ "Apache-2.0" ]
permissive
#!/bin/sh # # Mon Nov 6 15:03:49 2017 GW Shell script run by 'oc exec' on OpenShift # initiated by Jenkins job, which connects to the application server # pod (gwells-nn-xxxxx which is STATUS = 'Running'): # oc exec gwells-nnn-xxxx $VIRTUAL_ENV/src/openshift/scripts/gwells-deploy.sh # # This deploy is trigg...
true
927a0cfd75ba1da8970f35d80152329b507276e0
Shell
usr42/docker-selenium
/xvfb.init
UTF-8
2,032
4.03125
4
[ "MIT" ]
permissive
#!/bin/bash ### BEGIN INIT INFO # Provides: xvfb # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Starts xvfb # Description: Starts X Virtual Framebuffer server ### END INIT INFO DESC="Starts xvfb" DAEMON=/usr/bin/Xvfb NAME=xvfb DA...
true
0cff8eb58692f20b938d8b642ec0e0fb8469c5d2
Shell
ulises-jeremias/aa2020unlp-covid-19-xray
/bin/docker
UTF-8
2,277
4.09375
4
[]
no_license
#!/usr/bin/env sh ## Copyright (C) 2020 Ulises Jeremias Cornejo Fandos ## Licensed under MIT ## ## @script.name [OPTION] ARGUMENTS... ## ## Options: ## -h, --help Help. ## -b, --build Build docker image ## ## --tag=TAG_NAME ##...
true
b8d158b24494418f92a65e47d84f025406bd2b65
Shell
xprazak2/foreman-infra
/puppet/modules/jenkins_job_builder/files/theforeman.org/scripts/gemset_cleanup.sh
UTF-8
227
2.859375
3
[]
no_license
#!/bin/bash [ -z "$ruby" ] && ruby=2.0.0 # Clean gemset and database . /etc/profile.d/rvm.sh gemset=$(echo ${JOB_NAME} | cut -d/ -f1)-${EXECUTOR_NUMBER} rvm use ruby-${ruby}@${gemset} rvm gemset delete ${gemset} --force exit 0
true
cd026bba0d408771574cd4d709bd726ea30372ec
Shell
dauer/dotfiles
/bin/show-no-merge.sh
UTF-8
305
3.53125
4
[ "MIT" ]
permissive
#!/usr/bin/env bash # Shows Git branches not merged into master for projects in current folder for dir in ./*; do ( if [ -d $dir ]; then cd "$dir" && if [ -d '.git' ]; then branch=`git branch --no-merge` && echo -e "$branch \t $dir"; fi fi ) done
true
0f45f5753f0b1a4e99dbf55207608387ce9c5e8d
Shell
skellet0r/fzf-eip
/eip.sh
UTF-8
461
3.234375
3
[ "MIT" ]
permissive
function eip () { URL="https://github.com/ethereum/EIPs/blob/master/EIPS/eip" eip_number=$( fzf --no-sort \ --prompt 'Ethereum Improvement Proposal (EIP) >' \ --preview='echo {}' --preview-window=down:1:wrap \ --height=80% <"$FZF_EIP_HOME/.cache/eip-index" \ | awk '{ print $1 }' ) #...
true
4849a192c7736a3b85d783666760f1933756dd6b
Shell
yrrodriguezb/bash-shell
/script/conceptos/16_case.sh
UTF-8
230
3.25
3
[ "MIT" ]
permissive
declare -l month=$(date +%b) case $month in dec | jan | feb) echo "Winter";; mar | apr | may) echo "Spring";; jun | jul | aug) echo "Summer";; sep | oct | nov) echo "Autum";; esac echo $(date +%d/%m/%Y)
true
ebddf74d5d18d0af373dbeebc8232728caf3bfb9
Shell
Interns14/EVAL-A-Group-Peer-Based-Quizzing-System
/Server/server/Files/standard6/Marathi_while.sh
UTF-8
92
3.109375
3
[]
no_license
counter=0 while [ $counter -le 100 ] do echo "hello" counter=`expr $counter + 1` done
true
4bd5d9c0c32abcef879adcfceca35c472ce7dce5
Shell
ZEDOSPROJECT/ZED-UI-WEB
/Backend/SERVER/API/SYSTEM/SETTINGS/USER/OOBEFinish.sh
UTF-8
724
2.5625
3
[ "MIT" ]
permissive
#!/bin/bash username=$1 password=$2 useradd -m $username -p $password -U usermod -s /bin/bash $username echo -e "${password}\n${password}\n" | passwd $username cp -a /home/zed/Desktop /home/$username/Desktop cp -a /home/zed/Documents /home/$username/Documents cp -a /home/zed/Downloads /home/$username/Downloads cp -a ...
true
4800d47a212b2a65b79e0248cd55b2d4ae0f8435
Shell
rorlab/dotfiles
/aliases/editor.sh
UTF-8
323
3.5625
4
[]
no_license
# `editlast` opens the last modified file in the editor editlast() { FILE="$( /usr/bin/find "${1:-.}" -type f \ -not -regex '\./\..*' \ -not -regex '\./tmp/.*' \ -not -regex '\./log/.*' \ -exec stat -c '%Y %n' {} +\; | sort -n | tail -1 | cut -d ' ' -f 2- )" "${EDITOR:-vi}" "$FILE"...
true
a04091bd8aaae6b35e26e72a1f63c0353db2658c
Shell
wandersoncferreira/dotfiles-1
/.functions
UTF-8
1,568
3.421875
3
[ "Unlicense" ]
permissive
#!/usr/bin/env bash ANDROID_EMULATOR_NIX_FOLDER="$DOTFILES/nix/android" ANDROID_EMULATOR_CONFIG_FILE="$HOME/.android/avd/device.avd/config.ini" function android-emulator() { cd $ANDROID_EMULATOR_NIX_FOLDER if [ ! -f "$ANDROID_EMULATOR_CONFIG_FILE" ]; then nix-build "$ANDROID_EMULATOR_NIX_FOLDER/emulat...
true
e643967973d3e70ac661f4a6452d9bb5268e03da
Shell
novemberde/node-awscli
/docker/docker-entrypoint.sh
UTF-8
928
3.90625
4
[ "MIT" ]
permissive
#!/bin/sh set -e # first arg is `-f` or `--some-option` if [ "${1#-}" != "$1" ]; then set -- docker "$@" fi # if our command is a valid Docker subcommand, let's invoke it through Docker instead # (this allows for "docker run docker ps", etc) if docker help "$1" > /dev/null 2>&1; then set -- docker "$@" fi # if we...
true
3e78ae005b4da3002db4ab4ad7c99ada7cdb22f7
Shell
soccin/ATAC-seq
/getGenomeBuildBAM.sh
UTF-8
1,678
3.34375
3
[]
no_license
#!/bin/bash if [ "$#" != "1" ]; then echo usage getGenomeBuild.sh BAM exit fi SAMTOOLS=$(which samtools) if [ $SAMTOOLS == "" ]; then echo samtools not in current path exit -1 fi GENOME_MD5=$($SAMTOOLS view -H $1 | egrep "^@SQ" | cut -f-3 | sort | md5sum - | awk '{print $1}') case $GENOME_MD5 in ...
true
b5c9396eb9142ab0f0bae28bf36904972974633e
Shell
zk-st/genetics-sumstat-data
/ingest/eqtl_db_v1/1_transfer_to_gcs.sh
UTF-8
1,040
2.9375
3
[ "Apache-2.0" ]
permissive
#!/usr/bin/env bash # set -euo pipefail lftp ftp-private.ebi.ac.uk set ftp:ssl-force yes set ftp:ssl-protect-data no set ssl:verify-certificate false login <redacted> # Password: <redacted> # Download to local mirror upload/eqtls # Remove permuted datasets rm -f eqtls/*/*/*.permuted.txt.gz # Split gzip (untested) ...
true
20e92b86dee3f9367df6fee7518920b1123267a0
Shell
qwee123/miniupnpd-sdn
/scripts/dnat_ex.sh
UTF-8
4,544
3.625
4
[]
no_license
#!/bin/bash onos_nfv_network=onosnfv auth_database_network=databases controller_address= controller_port= controller_igd_app_port=40000 controller_container_name= client_gateway=172.16.0.1 miniupnpd_addr=172.16.0.100 miniupnpd_version=v10 auth_server_addr=172.16.0.150 auth_server_port=50000 auth_db_address= auth_db_ro...
true
7a42d5e99a63bc123b9a0876e7b22f6d643dd1f2
Shell
erickformaggio/sophie
/blogproof.sh
UTF-8
546
2.78125
3
[]
no_license
#!/bin/bash # blogproof.sh # Criação: 25/03/2019 # Propósito: Fazer teste do wscan para WordPress no blog # Autor: Erick Formaggio clear echo "==================================================" echo "ANALISANDO O BLOG" echo "==================================================" echo "Analisando... O teste pode demorar...
true
a5638a72667e8ad973edbf817d3692beb7701a2e
Shell
ronalabraham/dotfiles
/bashrc
UTF-8
5,865
3.53125
4
[ "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 # adding per https://stackoverflow.com/questions/12373586 stty -ixon # adding per https://stackoverflow.com/questions/34253579 export GTEST_COLOR=1 # If not running interac...
true
07999c3f20f8b7cc2cbdec0371693b7c73012bd4
Shell
iconicfuture-cookbooks/kafka
/templates/default/zookeeper.init.erb
UTF-8
1,402
3.46875
3
[ "Apache-2.0" ]
permissive
#! /bin/sh ### BEGIN INIT INFO # Provides: zookeeper # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Kafka Zookeper initscript ### END INIT INFO # Author: Thomas Liebscher <thomas.liebscher@iconicfutur...
true
5bf7a4686e0328c885389aae1c7c6ddd7383973e
Shell
hubertwwong/debScriptz
/dotFiles/.bashrc
UTF-8
4,955
3.34375
3
[]
no_license
# DEBIAN ################################################################################ # 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. # See bash(1) for more options HISTCONTROL=ignoreboth # ap...
true
49e46b2b055a5a4b0f0a3e9c3a79bec879ac8843
Shell
artsy/force
/scripts/build_review_app.sh
UTF-8
3,087
3.765625
4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
#!/bin/bash # Description: Run this script to automate the process of building Hokusai # review application for Force. It draws upon Artsy's existing review app # documentation: # https://github.com/artsy/hokusai/blob/master/docs/Review_Apps.md and # experiences trying to set up review apps! # USAGE: $ ./scripts/buil...
true
cc9598aa32ee2a63a23e6c1648a39291f6d516ae
Shell
delebedev/dotfiles
/macos/mac-install.sh
UTF-8
540
3.03125
3
[]
no_license
#!/usr/bin/env bash # This is a script for bootstrapping macOS setup set -e if [[ ! -e "manage.sh" ]]; then echo "Make sure you have the manage script nearby" exit 1 fi if ! which brew &> /dev/null; then echo "You need to install homebrew" exit 1 fi echo "Installing dependencies from Brewfile..." brew tap h...
true
6ccc1557a743e8bbdbc55650980c6b9c2d4b7852
Shell
samrocketman/jenkins-bootstrap-shared
/tests/test.sh
UTF-8
1,551
3.421875
3
[ "Apache-2.0" ]
permissive
#!/bin/bash -e export LC_ALL=C export PS4='$ ' export DEBIAN_FRONTEND=noninteractive if [ ! -d ".git" ]; then echo 'ERROR: must be run from the root of the repository. e.g.' echo './tests/test.sh' exit 1 fi if [ -z "${GITHUB_TOKEN}" ]; then echo 'WARNING: Tests may fail without GITHUB_TOKEN environment variabl...
true
ce97fda8c8d1d263c0ed757418782ceb9ba3397e
Shell
awohns/selection_v4
/anc.modern.eachchr.sh
UTF-8
4,382
2.9375
3
[]
no_license
#!/bin/bash # #BATCH --job-name=haplo_plink #SBATCH --output=haplo_plink.txt # #SBATCH --ntasks=1 #SBATCH --time=60:00:00 #SBATCH --mem-per-cpu=50g cur_chr=$1 maxmis=$2 bams_list=$3 folder=$4 module load angsd-0.913-22 module load plink-1.9.0 module load R #Perform haplocall angsd -b references/${bams_list} -doHapl...
true
2c204f94764e43fd64757285d774d4f80496799b
Shell
BurningBright/repository
/shell-study/20151114_01.sh
UTF-8
557
3.59375
4
[]
no_license
#!/bin/bash #test menu manually function diskspace { clear df -k } function whoseon { clear who } function memusage { clear cat /proc/meminfo } function menu { clear echo -e "\tSys Admin Menu\n" echo -e "\t1) Display disk space\n" echo -e "\t2) Display user info\n" echo -e "\t3) Display memory usage\n" ...
true
1aee404b7524ec8dee75810fa3639982d82b160b
Shell
sdeseille/Act_Vagrant_Env
/Install_Perl_via_plenv.sh
UTF-8
517
2.921875
3
[]
no_license
cd /home/vagrant echo "Install perl-build in order to simplify the process of installing Perl versions" git clone git://github.com/tokuhirom/Perl-Build.git /home/vagrant/.plenv/plugins/perl-build/ echo "Build Perl 5.12.4 version needed by Act" plenv install -j 9 -D usethreads -D man1dir=none -D man3dir=none 5.12.4 ...
true
d783f6c5fad28447c18938f9b05a20efbf77910b
Shell
shashivish/ShellScript
/RunHbaseLoad_Debug
UTF-8
1,082
2.96875
3
[]
no_license
#!/bin/sh echo "Packaging Project" cd /home/mapr/Components/clickstream/tools/ mvn package > /home/mapr/logs/mvnRun grep "BUILD SUCCESS" /home/mapr/logs/mvnRun > /home/mapr/logs/mvnResponse #checkmvnResponse() if [ -n $mvnResponse ] then echo "Congratulations! mvn packaging successful. Proceeding further.." cd /ho...
true
4be3afa04a54bdd0e388d387f2423d892cbfdc8d
Shell
wuyongzheng/wgetflv
/gettudou-iid.sh
UTF-8
1,214
3.40625
3
[]
no_license
#!/bin/bash if [ $# -ne 2 ] ; then echo gettudou-iid.sh 37789103 outbase exit fi iid=$1 outbase=$2 rm -f /tmp/downtudou1.xml if ! wget -q -O /tmp/downtudou1.xml "http://v2.tudou.com/v?it=$iid" ; then echo wget "http://v2.tudou.com/v?it=$iid" failed exit fi if grep -q -i '<meta .*charset *= *"*gb' /tmp/downtudou...
true
752f1df95e506eb46f70224f1439c13b443916fc
Shell
syzxy/Shrug
/src/shrug-commit.sh
UTF-8
3,032
4.34375
4
[]
no_license
#!/bin/dash # shrug-commit --- saves a copy of all files in the index to the repository. # shrug-commit [-a] -m message # commands: # -m msg: a message describing the commit # message: assumed to be legal, i.e. ASCII and not starting with '-' # -a : optional, causes all files in the index to have their contents from th...
true
c70296f7c72e47200b4119194cf3919bce6f852d
Shell
xielei552/Programming_3
/a12/a12p3
UTF-8
806
3.65625
4
[]
no_license
#! /bin/sh # File: a12p3.sh # Author: Lei Xie # Purpose: the shell program find the file in /usr/bin count the sum of # file and sum of text file, print the sum of file, sum of text # file and precent of script file # Date: Dec 3, 2014 # Version: 1.0 # Note: None total=0 text=0 fi...
true
e17a907d10e4a1a6068652875064eb1146645347
Shell
roldanpau/RTBP
/prtbp_del/periodicpoints_SECg2.sh
UTF-8
316
2.65625
3
[]
no_license
NAMEROOT=periodicpoints_SECg2 datfile=$NAMEROOT.dat resfile=$NAMEROOT.res errfile=$NAMEROOT.err echo "0.95387536e-3 SECg2 1" > $datfile # mu, sec, num of iterates # periodic point p (in Delaunay coords). cut -d ' ' -f 1-4 ../cardel/periodicorbits_del.res >> $datfile ./prtbpdel < $datfile > $resfile rm $datfile
true
28aadf399b2ebcbaf71e098cd22988eff6f68b2c
Shell
Zedeau/bootstrap-wrapper
/boostrap-wrapper.sh
UTF-8
1,788
3.578125
4
[]
no_license
!/bin/bash # Usage: # From the system to register, as root # [root@somehost]# curl -s http://satellite.fqdn/pub/bootstrap-wrapper.sh | bash # ######## VARS ######## SATELLITE=satellite.local ORG_LABEL=Startx LOCATION="Europe/Paris" AK=AK_RHEL7 HG=HG_RHEL7 REX_USER=remote_user OS=$(cat /etc/redhat-release | grep -oE '[0...
true
8fcfe73bf2170b0c64e2def722642874e8221f19
Shell
pelias/interpolation
/dev/addresses.sh
UTF-8
571
3.015625
3
[ "MIT" ]
permissive
#!/bin/bash # dump address table records for a specific street ADDRESS_DB="/data/address.db"; STREET_DB="/data/street.db"; P1="174.766843"; P2="-41.288788"; NAME="glasgow street"; sqlite3 $ADDRESS_DB "ATTACH DATABASE '$STREET_DB' as 'street'; \ SELECT address.* FROM street.rtree \ JOIN street.names ON street.n...
true
8f4046b30d7c2ebf68ce4f2b005853fe2475a9e9
Shell
nurettin/odd
/service/candle/stop.sh
UTF-8
403
3.75
4
[]
no_license
#!/bin/bash printf "Stopping\n" if [ -f ./pid ] then PID=`cat pid` printf "Killing process $PID\n" while true do kill $PID sleep 1 kill -0 $PID 1> /dev/null 2> /dev/null if [ $? -eq 0 ] then echo "Trying to kill $PID again" else echo "Process $PID killed" rm pid ...
true