code stringlengths 2 1.05M | repo_name stringlengths 5 110 | path stringlengths 3 922 | language stringclasses 1
value | license stringclasses 15
values | size int64 2 1.05M |
|---|---|---|---|---|---|
source ../testsupport.sh
bpipe run -p AMPLICON_BED=amplicons.bed test.groovy test.bed test.xml > test.out
[ -e amplicons.fasta ] || err "Incorrect output file: file name 'amplicon.fasta' should have been inferred from transform"
true
| vivovip/bpipe | tests/from_transform_to/run.sh | Shell | bsd-3-clause | 237 |
#!/bin/bash
FN="TxDb.Dmelanogaster.UCSC.dm6.ensGene_3.4.4.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/annotation/src/contrib/TxDb.Dmelanogaster.UCSC.dm6.ensGene_3.4.4.tar.gz"
"https://bioarchive.galaxyproject.org/TxDb.Dmelanogaster.UCSC.dm6.ensGene_3.4.4.tar.gz"
"https://depot.galaxyproject.org/sof... | joachimwolff/bioconda-recipes | recipes/bioconductor-txdb.dmelanogaster.ucsc.dm6.ensgene/post-link.sh | Shell | mit | 1,429 |
#!/bin/bash
if [ -d "node_modules" ]; then
rm -r node_modules
fi
if [ -d ".npm" ]; then
rm -r .npm
fi
if [ -d ".npmrc" ]; then
rm -r .npmrc
fi
| BradBolander/Project4 | node_modules/osc/clean-npm.sh | Shell | mit | 157 |
#!/bin/bash
FN="PathNetData_1.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/experiment/src/contrib/PathNetData_1.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/PathNetData_1.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pathnetdata/bioconductor-pathnetdata_1.18.0_src_al... | ivirshup/bioconda-recipes | recipes/bioconductor-pathnetdata/post-link.sh | Shell | mit | 1,313 |
wget --quiet \
--method POST \
--header 'cookie: foo=bar; bar=baz' \
--output-document \
- http://mockbin.com/har
| postmanlabs/httpsnippet | test/fixtures/output/shell/wget/cookies.sh | Shell | mit | 122 |
# UpdateChannels.sh
# the url for different channels varies with the channel number
# But not all channels are valid. This scans for 4s from 1 to 1000
# If a channel is valid, it will start download, if not it will time-out
for i in {1..2000}; do
timeout 4 wget --tries=1 http://fms.cntv.lxdns.com/live/flv/cha... | ksun6868/xbmc-addons-chinese | plugin.video.asia-tv/UpdateChannels.sh | Shell | gpl-2.0 | 390 |
#! /bin/sh
libtoolize --copy --force
aclocal
autoheader
automake --gnu --add-missing --copy
autoconf
| DMCsys/smartalkaudio | oss-survey/tcpmp/mpc/libmusepack/autogen.sh | Shell | gpl-3.0 | 102 |
#!/bin/sh
if [ "${1}" == "" ]; then
echo "release number not provided, pulling from the latest"
release_ver=v`npm view | grep "dist-tags" | sed "s/.*latest: '\([0-9]\{1,2\}\.[0-9]\{1,2\}\.[0-9]\{1,2\}\)'.*/\1/"`
else
release_ver=${1}
fi
echo "using release version: ${release_ver}"
for f in `git cherry -v "${re... | djbender/canvas-lms | packages/canvas-rce/bin/jira_tickets.sh | Shell | agpl-3.0 | 464 |
#!/bin/bash
cd $(dirname $(readlink -f $0))
BASE=`pwd`
. ./common.sh
# -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 \
cleanInstall $1 && copyDeps && {
classpath=`echo target/dependency/*.jar | tr ' ' :`
runCmd java \
-Xmx128m -Xms128m \
-Xbootclasspath/a:target/$aid... | wangcan2014/multi-thread-context | run-agent-test.sh | Shell | apache-2.0 | 495 |
#!/bin/bash
./node_modules/.bin/mocha --reporter spec test/test.js | arielschiavoni/yadda | examples/mocha-express/bin/example.sh | Shell | apache-2.0 | 67 |
#!/bin/bash
#
# Copyright (c) 2016, Linaro Limited
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
PCAP_IN=`find . ${TEST_DIR} $(dirname $0) -name udp64.pcap -print -quit`
PCAP_OUT="pcapout.pcap"
PCAP_IN_SIZE=`stat -c %s ${PCAP_IN}`
echo "using PCAP_IN = ${PCAP_IN}, PCAP_OUT = ${PCAP_OUT}"
./od... | erachmi/odp | example/l3fwd/odp_l3fwd_run.sh | Shell | bsd-3-clause | 728 |
#!/bin/sh
test_description='fetching and pushing, with or without wildcard'
. ./test-lib.sh
D=`pwd`
mk_empty () {
rm -fr testrepo &&
mkdir testrepo &&
(
cd testrepo &&
git init &&
git config receive.denyCurrentBranch warn &&
mv .git/hooks .git/hooks-disabled
)
}
mk_test () {
mk_empty &&
(
for ref i... | vidarh/Git | t/t5516-fetch-push.sh | Shell | gpl-2.0 | 18,805 |
#!/bin/bash
set -o nounset
set -o errexit
cd "$(dirname "$0")"
mkdir -p $PWD/../data/
cp $BIN_DIR/trikSharp/Trik.Core.dll $PWD/../data/
| iakov/qreal | installer/packages/trik-studio/ru.qreal.root.trik.f_sharp/meta/prebuild-common.sh | Shell | apache-2.0 | 176 |
#!/bin/bash
set -e
# Bash substitution to remove everything before '='
# and only keep what is after
function extract_param {
echo "${1##*=}"
}
for option in $(comma_to_space "${DEBUG}"); do
case $option in
verbose)
log "VERBOSE: activating bash debugging mode."
log "To run Ceph daemons in debuggi... | rootfs/ceph-docker | ceph-releases/luminous/ubuntu/16.04/daemon/debug.sh | Shell | apache-2.0 | 2,205 |
#!/bin/bash
PP="problem.par"
PPRT=${PP}".restart_test"
OUTB="moving_pulse_ts1_"
OUT2=${OUTB}"0002.h5"
OUT1=${OUTB}"0001.h5"
OUT2_1=${OUTB}"1002.h5"
OUT1_1=${OUTB}"1001.h5"
if [ ! -e $PPRT ] ; then
echo "Cannot find $PPRT. Trying to find one up to ../../."
find ../../ -name $PPRT
echo "You must manually c... | askalbania/piernik | problems/advection_test/restart_test.sh | Shell | gpl-3.0 | 837 |
#!/usr/bin/env bash
set -e
set -o nounset
if [ $# -ne 2 ]; then
echo "Usage: $0 <hidden size> <num threads>"
exit 1
fi
basedir=$(dirname $0)/benchmarks
data=$basedir/simple-examples/data
hidden_size=$1
threads=$2
taskset_cmd="taskset -c $(seq -s, 0 $(( $threads - 1 )))"
mkdir -p $basedir
if ! type svn ; th... | yandex/faster-rnnlm | run_benchmark.sh | Shell | apache-2.0 | 2,765 |
#!/bin/bash
# script to be used for Gradle performance test bisecting
# example usage:
# git bisect start HEAD REL_2.14 -- # HEAD=bad REL_2.14=good
# git bisect run check_rev.sh JavaConfigurationPerformanceTest lotDependencies
TESTNAME=${1:-IdeIntegrationPerformanceTest}
TESTPROJECT=${2:-multi}
./gradlew clean
[ -d ~/... | gstevey/gradle | subprojects/performance/docs/check-rev.sh | Shell | apache-2.0 | 1,034 |
#!/bin/bash
# Copyright 2014 Google Inc. 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 required by applica... | rhuss/bazel | compile.sh | Shell | apache-2.0 | 7,209 |
#!/bin/sh
################################################################################
##
## Licensed to the Apache Software Foundation (ASF) under one or more
## contributor license agreements. See the NOTICE file distributed with
## this work for additional information regarding copyright ownership.
## The A... | SlavaRa/flex-sdk | mustella/tests/gumbo/components/PopUpAnchor/Properties/PopUpAnchor_Properties_MP.sh | Shell | apache-2.0 | 1,231 |
#!/bin/bash
# Copyright 2014 The Kubernetes Authors 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 require... | ajohnstone/kubernetes | cluster/kube-util.sh | Shell | apache-2.0 | 2,040 |
#!/usr/bin/env bash
# Copyright 2016 The Kubernetes Authors.
#
# 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 required by applica... | Stackdriver/heapster | vendor/k8s.io/kubernetes/cluster/gce/gci/configure.sh | Shell | apache-2.0 | 17,480 |
#!/bin/bash
#
# This test is for checking rtnetlink callpaths, and get as much coverage as possible.
#
# set -e
devdummy="test-dummy0"
ret=0
# Kselftest framework requirement - SKIP code is 4.
ksft_skip=4
# set global exit status, but never reset nonzero one.
check_err()
{
if [ $ret -eq 0 ]; then
ret=$1
fi
}
# ... | Taeung/tip | tools/testing/selftests/net/rtnetlink.sh | Shell | gpl-2.0 | 26,142 |
#!/bin/sh
if getargbool 1 rd.splash -d -n rd_NO_SPLASH; then
info "Starting Gentoo Splash"
[ -x /lib/udev/console_init ] && /lib/udev/console_init /dev/tty0
CDROOT=0
. /lib/gensplash-lib.sh
splash init
[ -x /lib/udev/console_init ] && /lib/udev/console_init /dev/tty0
fi
| yuwata/dracut | modules.d/50gensplash/gensplash-pretrigger.sh | Shell | gpl-2.0 | 297 |
#!/bin/bash
# useful script to test all the different build types that we support.
# This helps when doing large merges
# Andrew Tridgell, November 2011
. config.mk
set -e
set -x
echo "Testing ArduPlane build"
pushd ArduPlane
for b in all apm2 sitl linux; do
pwd
make clean
make $b -j4
done
popd
echo "Te... | Yndal/ArduPilot-SensorPlatform | ardupilot/Tools/scripts/build_all.sh | Shell | mit | 1,285 |
#!/bin/bash
set -ex
source $(dirname $0)/provision-config.sh
NETWORK_PLUGIN=$(os::util::get-network-plugin ${4:-""})
NETWORK_CONF_PATH=/etc/sysconfig/network-scripts/
sed -i 's/^NM_CONTROLLED=no/#NM_CONTROLLED=no/' ${NETWORK_CONF_PATH}ifcfg-eth1
systemctl restart network
# Setup hosts file to ensure name resolutio... | xuant/origin | vagrant/provision-master.sh | Shell | apache-2.0 | 1,727 |
#!/bin/sh
TEST_SCRIPT=./VMake/executableTester.sh
until test -r ${TEST_SCRIPT} ; do
TEST_SCRIPT=../${TEST_SCRIPT}
done
. ${TEST_SCRIPT}
runAndHandleSystemTest "testHexaMD --allowUnusedCPUs=False --allowUnbalancing=True --meshSizeI=11 --meshSizeJ=2 --meshSizeK=2" "$0" "$@"
| kelchuan/snac_thesis | StGermain/Discretisation/Mesh/tests/testHexaMD-unbalanced.3of4.sh | Shell | gpl-2.0 | 283 |
#!/bin/bash
trap 'exit 2' SIGTERM
usage() {
cat <<EOF
usage: $0 [COMMAND]
Does nothing.
EOF
}
doStuff() {
echo "Running doStuff with args: $@"
}
failStuff() {
echo "Running failStuff with args: $@"
exit -1
}
sleepStuff() {
echo "Sleeping 10 seconds..."
sleep 10
}
interruptSleep() {
for... | joyent/containerpilot | watches/testdata/test.sh | Shell | mpl-2.0 | 410 |
#!/bin/bash
# Copyright 2014 The Kubernetes Authors 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 require... | combk8s/kubernetes | cluster/gke/config-common.sh | Shell | apache-2.0 | 1,782 |
#!/bin/bash
# Copyright 2013 Google Inc. 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 required by applica... | gruter/bdutil | sampleapps/querytools/examples/ngrams/ngram_setup.sh | Shell | apache-2.0 | 1,542 |
#!/bin/sh /etc/rc.common
# Copyright (C) 2012-2014 OpenWrt.org
if [ "$( which vdsl_cpe_control )" ]; then
XDSL_CTRL=vdsl_cpe_control
else
XDSL_CTRL=dsl_cpe_control
fi
#
# Basic functions to send CLI commands to the vdsl_cpe_control daemon
#
dsl_cmd() {
killall -q -0 ${XDSL_CTRL} && (
lock /var/lock/dsl_pipe
ec... | 981213/openwrt | target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh | Shell | gpl-2.0 | 16,567 |
#!/bin/sh
if [ $# -lt 1 ]; then
cat <<EOF
Usage: wintest_2k3_dc.sh TESTGROUP
EOF
exit 1;
fi
TESTGROUP=$1
if [ -z $WINTEST_DIR ]; then
echo "Environment variable WINTEST_DIR not found."
exit 1;
fi
# This variable is defined in the per-hosts .fns file for build-farm hosts that run windows tests.
if [ -z $WINTESTCON... | zarboz/XBMC-PVR-mac | tools/darwin/depends/samba/samba-3.6.6/source4/selftest/win/wintest_2k3_dc.sh | Shell | gpl-2.0 | 2,771 |
#-{
#- name: 'install_docker',
#- os: 'ubuntu',
#- version: '*'
#-}
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt... | nherment/tornfish | lib/scripts/ubuntu/docker.sh | Shell | isc | 347 |
#!/usr/bin/env bash
# the node modules are not located at the same places
# the webpack config files
npm install
# the project's source
cd django-rest-messaging-js
npm install
./node_modules/.bin/webpack --config ../webpack.source.config.js
cd ..
# the project's example application
cd example
npm install
./node_mod... | raphaelgyory/django-rest-messaging-js | npm_build_modules.sh | Shell | isc | 382 |
nohup python code/DataIngest.py --config configFiles/facebook-mongo.cfg &
| abessou/w251-FinalProject | code/start_facebook.sh | Shell | mit | 75 |
#!/usr/bin/env bash
#
# Copyright (c) 2019-2020 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C.UTF-8
export HOST=x86_64-apple-darwin
export PIP_PACKAGES="zmq lief"
export GOAL="install... | achow101/bitcoin | ci/test/00_setup_env_mac_host.sh | Shell | mit | 502 |
#!/bin/bash
ScriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SeedAssemblies="mscorlib.dll;System.dll;System.Core.dll;System.ComponentModel.Composition.dll;System.Data.dll;System.IO.Compression.dll;System.IO.Compression.FileSystem.dll;System.Net.Http.dll;System.Numerics.dll;System.Numerics.Vectors.dll;Syst... | weshaggard/standard | platforms/xamarin.tvos/seed.sh | Shell | mit | 1,802 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | iOS-mamu/SS | P/Pods/Target Support Files/Pods-Potatso/Pods-Potatso-frameworks.sh | Shell | mit | 7,249 |
#!/bin/bash
function run
{
local MY_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
local GOOG_DIR="${MY_DIR}/../goog"
local GOOG_BASH_RC="${GOOG_DIR}/bashrc.sh"
includeFile "${GOOG_BASH_RC}"
local FUNCTIONS_FILE="${MY_DIR}/functions.sh"
includeFile "${FUNCTIONS_FILE}"
local ALIAS_FILE="${MY_D... | aawc/dotfiles | rc/darwin/bashrc.sh | Shell | mit | 445 |
#!/bin/bash
set -x
set -e
set -u
[[ $(type -P "git") ]] || sudo apt-get install git
git config --global user.name "Dan Nuffer"
git config --global push.default matching
if ! [ -e ~/.ssh/id_rsa.pub ]; then
ssh-keygen
echo "Add this key to github"
cat ~/.ssh/id_rsa.pub
echo "Press enter when finished"
read ans
f... | dnuffer/setup | user_common.sh | Shell | mit | 4,699 |
#!/usr/bin/env bash
# Current script location
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Load common
source "${DIR}/load-common.sh"
# Create default file if not exist
function make_default {
local app_conf_file=${APP_CONF_FILE:-conf/application.conf}
touch "$app_conf_file" || exit
} | amannocci/streamy | core/src/universal/bin/make-default.sh | Shell | mit | 305 |
#!/bin/sh
cd $HOME/hlserver
./steamcmd.sh +runscript csgo_ds.txt
| tflori/basic-images | csgo/update.sh | Shell | mit | 65 |
#!/bin/bash
DISK="/dev/$1"
echo DISK="$DISK"
# BIOS/MBR layout
# -s : slience
parted -s "$DISK" mklabel msdos
parted -s -a optimal "$DISK"
# /boot (100MiB), / (20Gib), swap (4GiB) 剩下的给 /home
parted -s "$DISK" mkpart primary ext4 1024K 100M
parted -s "$DISK" set 1 boot on
parted -s "$DISK" mkpart primary ext4 100M 20G... | JxMeta/JxArchLinux | Installation/parted4p.sh | Shell | mit | 605 |
#!/bin/bash
# Actifio Copy Data Storage Scripting Team
# Copyright (c) 2018 Actifio Inc. All Rights Reserved
# This script refreshes mounts
# Version 1.0 Initial Release
# Version 1.1 Specify Component Type 0
# Declare variables used in the script.
match=0
# Now check for inputs
while getopts :a:c:i:u:j:l:m:t:hd o... | Actifio/ShellScripts | LinuxMount/mountimage.sh | Shell | mit | 8,836 |
#!/usr/bin/env bash
# Install Caskroom
brew tap caskroom/cask
brew tap caskroom/versions
# Install packages
apps=(
1password
dash
docker
dotnet
dotnet-sdk
dropbox
evernote
firefoxdeveloperedition
franz
gitter
google-chrome
iterm2
skype
slack
spotify
subl... | diogodamiani/dotfiles | install/brew-cask.sh | Shell | mit | 972 |
#!/bin/bash
# Ejercicio 1
if [ $# -lt 2 ]; then
echo "[ERROR] Mínimo dos argumentos";
else
case $1 in
'for');;
'while');;
'until');;
*)
echo "[ERROR] El primer argumento debe ser for, while o until"
exit -1
;;
esac
shift
while [ $# -gt 0 ];
do
echo $1
shift
done
fi
| junquera/apuntes-admon-ssoo | S6/ejercicio1.sh | Shell | mit | 296 |
#! /bin/bash
# exit if a command fails
set -eo pipefail
# install node & npm
apt-get update && apt-get install -y nodejs npm
# alias as node
ln -sf /usr/bin/nodejs /usr/bin/node
# install redis commander
npm install -g redis-commander
# cleanup package manager
apt-get autoclean && apt-get clean
rm -rf /var/lib/apt... | schickling/dockerfiles | redis-commander/install.sh | Shell | mit | 347 |
#!/bin/bash
apt-get install -qy oracle-java7-installer
apt-get install -qy oracle-java7-set-default
| danilohiggs/vm1-camunda | install-java.sh | Shell | mit | 101 |
BGO_OPT_DEL=":" # bash options delimiter
BGO_CASE_DEL="|" # switch case template separator
BGO_A_DEL=" " # array delimiter
| hanovruslan/bash-get-options | src/env.sh | Shell | mit | 123 |
# This file is sourced at the end of a first-time dotfiles install.
shopt -s expand_aliases
source ~/.bashrc
cat <<EOF
Remember!
* Sync your private dotifles
* Manually load all your app store purchases
* Sign into all your apps and sync everything those can sink
* scp -r old_machine:~/* new_machine:~/
* be careful wi... | lonnen/dotfiles | conf/firsttime_reminder.sh | Shell | mit | 1,406 |
#!/bin/bash
# This intended to be called from a git / svn hook (like the supplied
# examples of such).
#
# Arguments are:
#
# $1: the full path to the kerouac executable
#
# $2: the directory of the kerouac root
#
# $3: the name of this project
#
# $4: the tag of this build
#
# $5: the log file containing the descript... | hut8labs/kerouac | extra/ci_build.sh | Shell | mit | 3,134 |
#!/bin/bash
declare -a on_exit_items
on_exit(){
for i in "${on_exit_items[@]}"
do
#echo "on_exit: $i"
eval $i
done
}
add_on_exit(){
local n=${#on_exit_items[*]}
on_exit_items[$n]="$*"
if [[ $n -eq 0 ]]; then
#echo "Setting trap"
trap on_exit EXIT
fi
}
fctch... | nicoolaj/auto-rpi-updater | auto-rpi-updater.sh | Shell | mit | 2,011 |
#!/bin/bash
# package
./package.sh
# launch
java -Dfile.encoding=utf-8 -jar ./target/quartz-0.0.1-SNAPSHOT.jar
| rickding/Hello | HelloQuartz/launch.sh | Shell | mit | 113 |
#!/bin/bash
cd tests/heavy
if [ -d "examples" ]; then
cd examples
git checkout .
git pull
else
git clone https://github.com/d4rkr00t/aik-examples.git examples
fi
| d4rkr00t/aik | tests/update-examples.sh | Shell | mit | 172 |
##!/bin/sh.exe
echo "cleaning up log directory"
#function clean_up_2() {
# if [[ ! -d "$1" ]]; then
#
# echo "Argument 1 should be the path of an existing directory" 1>&2
# exit 1
# fi
# rm -r "$1"
#}
#
#!/usr/bin/env bash
function clean_up() {
declare -r directory="$1"
if [[ ! -d... | heylve/first | clean_up.sh | Shell | mit | 509 |
#!/bin/bash
#######################
# configure Gateway 2 #
#######################
[ -f ipsec.conf ] || exit 0
[ -f ipsec.secrets ] || exit 0
[ -f strongswan.conf ] || exit 0
strongswan stop
echo ' Configurando...'
cp -f ipsec.conf /etc/strongswan/ipsec.conf
cp -f ipsec.secrets /etc/strongswan/ipsec.secrets
cp -f ... | xXcoronaXx/strongswanConf | getaway2/strongswan/conf.sh | Shell | mit | 401 |
#!/bin/bash
git checkout gh-pages
git pull
git add -A
git commit -m ${1}
git push origin gh-pages
| margulies/pres | x.commit.sh | Shell | mit | 99 |
#!/bin/bash
echo "Enabling I2C"
modprobe i2c-dev
case "$PAPERTRAIL_ON" in
true) bash /usr/src/app/config/papertrail.sh ;;
*) echo "Papertrail not enabled" ;;
esac
case "$LOCAL_SSH_ON" in
true) bash /usr/src/app/config/openssh.sh ;;
*) echo "Local SSH not enabled" ;;
esac
case "$PROMETHEUS_ON" in
true) ba... | konradko/cnav-sense | start.sh | Shell | mit | 431 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-3048-1
#
# Security announcement date: 2016-08-08 00:00:00 UTC
# Script generation date: 2017-01-01 21:05:34 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: i686
#
# Vulnerable packages fix on version:
# - libcurl3-nss:7.35.0-1ubuntu2.8
# - l... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/i686/2016/USN-3048-1.sh | Shell | mit | 966 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2814-1
#
# Security announcement date: 2013-12-09 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:46 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - varnish:2.1.3-8+deb6u1
#
# Last ve... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/x86_64/2013/DSA-2814-1.sh | Shell | mit | 615 |
#!/usr/bin/env bash
set -xeu
IFS=$'\n\t'
if [ "$TRAVIS_PHP_VERSION" = '7.1' ] ; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover ./clover.xml
fi
| Roave/composer-gpg-verify | .travis.coverage.sh | Shell | mit | 212 |
#!/bin/sh
# bump_cfbundleversion.sh
#
# Created by Tim Kelly, 2014-2015
#
# Summary: This file takes an input of a .plist file that contains a "Bunle Version"
# This script will get the number of git commits and make that the revision.
# It then takes the display version from the project and adds on the git rev count ... | austimkelly/utils | bump_cfbundleversion.sh | Shell | mit | 1,179 |
#! /bin/bash
set -e
source /build/buildconfig
set -x
readonly PACKAGE="0.5.0_linux_amd64.zip"
wget https://dl.bintray.com/mitchellh/serf/$PACKAGE
unzip $PACKAGE && rm $PACKAGE
mv serf /usr/local/bin/ && mkdir /etc/service/serf
| hivetech/batcave | warehouse/base/build/services/serf.sh | Shell | mit | 229 |
#!/usr/bin/env bash
#This script can quickly rename filess within the dDocent naming convention. It needs to be passed a tab delimited
#file with the old name in one column and the new name in the other
#Example#
#PopA_001 NewPop_001
#
# This will renmae PopA_001.F.fq.gz and PopA_001.R.fq.gz to NewPop_001.F.fq.gz and... | chollenbeck/dDocent | scripts/Rename_SequenceFiles.sh | Shell | mit | 758 |
#!/bin/bash
echo -------------------------------------------------------------------
echo Desligando o proxy da FURG
echo -------------------------------------------------------------------
## Faz uma copia de backup .bkp antes de mover os arquivos
echo
echo
echo Fazendo uma copia de backup dos arquivos de configuraca... | fernandomayer/linux-config | proxy/proxy-OFF.sh | Shell | mit | 1,182 |
#!/bin/bash
db=${1-'catarse_api_test'}
user=`whoami`
port=8888
exit_code=0
postgrest_bin='unknown'
unamestr=`uname`
ver='0.3.0.3'
dir='postgrest'
schema_log='logs/schema_load.log'
data_log='logs/data_load.log'
if [[ "$unamestr" == 'Linux' ]]; then
postgrest_bin="postgrest-$ver-linux"
elif [[ "$unamestr" == 'Darwi... | catarse/catarse-api-specs | src/run_tests.sh | Shell | mit | 1,820 |
#!/bin/sh -x
#
# mybashrc setting
#
# author: Atsushi Sakai
#
# echo "Source mybashrc"
source ~/dotfiles/src/esh/esh.sh
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Better ls
if type "exa" > /dev/null 2>&1; then
# Install for mac: brew install exa
# Install for ubuntu: apt install exa
# Install f... | AtsushiSakai/dotfiles | mybashrc.bash | Shell | mit | 2,363 |
URL="/"
TEMPLATE_IN="views/index.st"
TEMPLATE_OUT="views/index.html"
RENDER="./render.sh"
METHOD=$1
data_k=()
data_v=()
i=1;
for arg in "$@"
do
if [ $i -eq 1 ]
then
i=$((i+1))
continue;
fi
if [ $(($i % 2)) -eq 1 ]
then
data_v+=($arg);
else
data_k+=($arg);
fi
i=$((i+1))
done
#echo... | kjcjohnson/nasT | nTemplates/handler_temp.sh | Shell | mit | 1,320 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for DSA-2369-1
#
# Security announcement date: 2011-12-21 00:00:00 UTC
# Script generation date: 2017-01-01 21:06:19 UTC
#
# Operating System: Debian 6 (Squeeze)
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - libsoup2.4:2.30.2-1+squeeze1
#
# L... | Cyberwatch/cbw-security-fixes | Debian_6_(Squeeze)/x86_64/2011/DSA-2369-1.sh | Shell | mit | 633 |
#!/bin/bash
. env.sh
# remove old installers
rm -f Disk\ Image/*.pkg
if [ "`uname`" == "Darwin" ]; then sed_regexp="-E"; else sed_regexp="-r"; fi
GIT_VERSION="${1:-`curl http://git-scm.com/ 2>&1 | grep "<span class='version'>" | sed $sed_regexp 's/^.+>([0-9.]+)<.+$/\1/'`}"
./build.sh $GIT_VERSION
PACKAGE_NAME="git... | juvenal/git_osx_installer | build_package_test_and_bundle.sh | Shell | mit | 1,367 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for RHSA-2015:2086
#
# Security announcement date: 2015-11-18 17:27:06 UTC
# Script generation date: 2017-01-13 21:18:21 UTC
#
# Operating System: Red Hat 5
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - java-1.6.0-openjdk.x86_64:1.6.0.37-1.13... | Cyberwatch/cbw-security-fixes | Red_Hat_5/x86_64/2015/RHSA-2015:2086.sh | Shell | mit | 1,915 |
#!/sbin/sh
. /tmp/backuptool.sh
list_files() {
cat <<EOF
EOF
}
case "$1" in
backup)
list_files | while read FILE DUMMY; do
backup_file $S/$FILE
done
;;
restore)
list_files | while read FILE REPLACEMENT; do
R=""
[ -n "$REPLACEMENT" ] && R="$S/$REPLACEMENT"
[ -f "$C/$S/$FILE" ... | Oi-Android/gapps_kitchen | build-tools/extras/gapps.sh | Shell | mit | 493 |
eval $(docker-machine env default)
docker exec sonrasc_db_1 mkdir /data/backup/
docker cp "$1" sonrasc_db_1:/data/backup/
docker exec sonrasc_db_1 mongorestore -d db /data/backup/db
#bash restore-db.sh ./backup/2016-04-24-15\:53\:09/db
| brennj55/Sonrasc | db_backup/restore-db.sh | Shell | mit | 236 |
#!/bin/bash
if [ $# -lt 1 ] || [ $1 = -l ] && [ $# -lt 2 ]
then
echo error: not enough arguments 1>&2
exit 1
fi
if [ $1 = -l ]
then
shift
min=$1
shift
find "$@" -type f -exec wc -c {} \; | cut -f1 -d' ' | sort -n | head -$min
else
min=$1
shift
find "$@" -type f -exec wc -c {} \; ... | rgeorgiev583/os-2015-2016 | midterm/solutions/min.alt.sh | Shell | mit | 346 |
#!/bin/bash
set -e
if [ ! -e "$HOME/.egulden/coin.conf" ]; then
mkdir -p "$HOME/.egulden"
echo "Creating coin.conf"
cat <<EOF > $HOME/.egulden/coin.conf
rpcuser=${RPCUSER:-eguldenrpc}
rpcpassword=${RPCPASSWORD:-`dd if=/dev/urandom bs=33 count=1 2>/dev/null | base64`}
printtoconsole=1
EOF
fi
cat $HOME/.egulde... | Electronic-Gulden-Foundation/eguldend-docker | docker-entrypoint.sh | Shell | mit | 411 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | blackmirror-media/BMAccordion | Example/Pods/Target Support Files/Pods-BMAccordion_Example/Pods-BMAccordion_Example-frameworks.sh | Shell | mit | 2,620 |
#!/usr/bin/env sh
# Specify the preferences directory
defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string "$ZSH/iterm"
# Tell iTerm2 to use the custom preferences in the directory
defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true
| bendrucker/dotfiles | iterm/install.sh | Shell | mit | 278 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for USN-2739-1
#
# Security announcement date: 2015-09-10 00:00:00 UTC
# Script generation date: 2017-01-01 21:04:46 UTC
#
# Operating System: Ubuntu 14.04 LTS
# Architecture: i686
#
# Vulnerable packages fix on version:
# - libfreetype6:2.5.2-1ubuntu2.5
#
# Last... | Cyberwatch/cbw-security-fixes | Ubuntu_14.04_LTS/i686/2015/USN-2739-1.sh | Shell | mit | 632 |
#!/bin/sh
###############################################################################
# Script for automatically computing and plotting surface displacements
# generated by an earthquake in an elastic half-space.
###############################################################################
gmt set PS_MEDIA let... | mherman09/src | scripts/surf_disp.sh | Shell | mit | 15,967 |
#!/usr/bin/env bash
#=========================================================================
# Copyright (c) 2015, 2016 GemTalk Systems, LLC. All Rights Reserved <dhenrich@gemtalksystems.com>.
#
# MIT license: https://github.com/GsDevKit/GsDevKit_home/blob/master/license.txt
#=======================================... | GsDevKit/GsDevKit_home | tests/todeUnitTests.sh | Shell | mit | 689 |
#!/bin/sh
#
# Smart little documentation generator.
# GPL/LGPL
# (c) Del 2015 http://www.babel.com.au/
#
APPNAME='Omnipay eWay Rapid 3.1 Gateway Module'
CMDFILE=apigen.cmd.$$
DESTDIR=./documents
#
# Find apigen, either in the path or as a local phar file
#
if [ -f apigen.phar ]; then
APIGEN="php apigen.phar"
el... | Mihai-P/tez-omnipay-eway | makedoc.sh | Shell | mit | 3,965 |
#!/bin/bash
set -e && \
cd ./dist && \
echo stage 1 && \
remote_repo=${GITHUB_URL:-`git config remote.origin.url`} && \
remote_branch="release" && \
echo stage 2 $remote_repo master:$remote_branch && \
git init && \
echo stage 3 && \
git config user.name "Travis CI" && \
git config user.email "nobody@nobody.org" && ... | mikhail-angelov/bconf | release.sh | Shell | mit | 544 |
cl src/c/OTE.c src/c/action.c src/c/base.c src/c/editor.c /WX /TC /Z7 /Febin/OTE.exe -link ../OTG/OTG.obj ../OSAL/gpu.obj ../OSAL/graphics.obj ../OSAL/input.obj ../OSAL/net.obj ../OSAL/sound.obj ../OSAL/system.obj ../OSAL/util.obj ../OSAL/release_windows/libfbxsdk.lib ../OSAL/release_windows/glew32.lib ../OSAL/release... | oddthread/OTE | script/build/make_vc.bash | Shell | mit | 616 |
#!/bin/bash
# Prints the most recent EBS snapshot for matching instances
TAG="$1"
VALUES="$2"
if [[ -z $TAG || -z $VALUES ]]; then
echo "Usage: $0 TAG VALUE[,VALUE,...]"
echo "List the most recent EBS snapshots for the matching instances"
exit 1
fi
VOLUME_IDS=$(aws ec2 describe-instances \
--filter "N... | mivok/tools | aws/ebs_snapshots.sh | Shell | mit | 647 |
#!/bin/bash
psql soccer-w -c "drop table if exists ncaa.results;"
psql soccer-w -f sos/standardized_results.sql
psql soccer-w -c "vacuum full verbose analyze ncaa.results;"
psql soccer-w -c "drop table if exists ncaa._basic_factors;"
psql soccer-w -c "drop table if exists ncaa._parameter_levels;"
R --vanilla -f sos/... | octonion/soccer-w | ncaa/sos.sh | Shell | mit | 1,325 |
#!/bin/sh
set -eo pipefail -o nounset
#!/bin/sh
set -eo pipefail -o nounset
wget --quiet -O - ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_34/GRCh37_mapping/gencode.v34lift37.transcripts.fa.gz\
| gzip -dc \
| bgzip -c > hg19_transcripts-gencode-v1.fa.gz
samtools faidx hg19_transcripts-genco... | gogetdata/ggd-recipes | recipes/genomics/Homo_sapiens/hg19/hg19-transcript-sequences-chr-regions-gencode-v1/recipe.sh | Shell | mit | 332 |
#!/bin/bash
#
# Script to setup & configure a source build environment for Android - Jelly Bean
#
# 1) Installs dependencies
# 2) Repo inits
#
# Written by iroro - 2012-04-02 - original ICS 4.0.3 script for Ubuntu 11.04
# 2013-01-25 - updated for Jelly Bean, 4.1.1 for Ubuntu 12.04
##############... | ruohoruotsi/Utils | shell_crips/io_android_4.1.1_setup.sh | Shell | mit | 3,652 |
#!/usr/bin/env sh
# Delete existing binaries to see that the lib correctly recreates them
clear;
rm -rf ~/.hubris_cache/*; rm -rf *.o; rm -rf *.hi; rm -rf *.c;
ruby haskell_math.rb
| mwotton/Hubris-Haskell | examples/simple_inline/clean_and_run.sh | Shell | mit | 188 |
#!/bin/sh
set -eo pipefail -o nounset
## Get the ggd genome file
genome=https://raw.githubusercontent.com/gogetdata/ggd-recipes/master/genomes/Homo_sapiens/GRCh38/GRCh38.genome
## Get the chromomsome mapping file
chrom_mapping=$(ggd get-files grch38-chrom-mapping-ucsc2ensembl-ncbi-v1 --pattern "*.txt")
# download, h... | gogetdata/ggd-recipes | recipes/genomics/Homo_sapiens/GRCh38/grch38-cytobands-ucsc-v1/recipe.sh | Shell | mit | 901 |
#!/bin/bash
examples=$(ls -1 inc-repair-Lab*.sh)
for example in ${examples[@]}; do
./$example
cat result-inc-repair
echo ""
done
| jyi/ITSP | experiment/examples/inc-repair/run.example.sh | Shell | mit | 143 |
# pip should only run if there is a virtualenv currently activated
#export PIP_REQUIRE_VIRTUALENV=true
export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3
export WORKON_HOME=$HOME/.virtualenvs
source $(brew --prefix)/bin/virtualenvwrapper_lazy.sh
# Run pip without requiring a virtualenv
gpip(){
PIP_REQUIRE_VIR... | yarinb/dotfiles-1 | python/virtualenv.zsh | Shell | mit | 485 |
export PLUSHU_APPS_DIR=${PLUSHU_APPS_DIR-$PLUSHU_ROOT/apps}
| plushu/plushu-apps | profile.d/apps-default.sh | Shell | mit | 60 |
#!/usr/bin/env bash
set -ex
CURRENT=`pwd`
GAP="$GAPROOT/bin/gap.sh --quitonbreak -q"
# generate library coverage reports
$GAP -a 500M -m 500M -q <<GAPInput
if LoadPackage("profiling") <> true then
Print("ERROR: could not load profiling package");
FORCE_QUIT_GAP(1);
fi;
d := Directory("$COVDIR");;
covs := [];... | mcmartins/francy | scripts/coverage.sh | Shell | mit | 727 |
#!/usr/bin/env bash
usage()
{
echo "Usage: $0 [BuildArch] [BuildType] [clean] [verbose] [clangx.y]"
echo "BuildArch can be: x64, ARM"
echo "BuildType can be: Debug, Release"
echo "clean - optional argument to force a clean build."
echo "verbose - optional argument to enable verbose build output."
... | apanda/coreclr | build.sh | Shell | mit | 5,948 |
#!/usr/bin/env bash
wget -np -k -e robots=off -r -l 1 https://github.com/Naereen/cuisine/{milestones,issues,labels}/
gh2md -t $(cat ~/.gh2md_token) Naereen/cuisine cuisine-issues.md
| Naereen/cuisine | issues/update_local_cache.sh | Shell | mit | 183 |
#!/bin/bash
cd output
texi2pdf -q ../tex/Aoum-main.tex | krizka/aoum | dopdf.sh | Shell | cc0-1.0 | 55 |
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Copyright Siemens AG, 2017.
# Copyright Bosch Software Innovations GmbH, 2017-2019.
# Part of the SW360 Portal Project.
#
# Copying and distribution of this file, with or without modification,
# are permitted in any me... | sw360/sw360chores | .travis/assertions.sh | Shell | epl-1.0 | 2,800 |
#!/bin/bash
source ./vars
URL="https://cdn.redhat.com/content/dist/rhel/rhui/server/6/6Server/x86_64/rhui/2/iso/RHEL-6-RHUI-2-LATEST-Server-x86_64-DVD.iso"
wget --certificate=${ENT_CERT} --ca-certificate=${REDHAT_CA_CERT} ${URL}
| jwmatthews/rhui_scripts | older/install/fetch_iso.sh | Shell | gpl-2.0 | 232 |
#!/bin/sh
a=1
while test $a -lt 5
do echo $a;a=`expr $a + 1`;
done | nonemaw/MATRIX_01 | COMP9041/ass1/autoTest/examples/5/while.sh | Shell | gpl-2.0 | 70 |
#! /bin/sh
#
# ========================================================================
#
# Copyright (C) 1991-2002 SciTech Software, Inc. All rights reserved.
#
# This file may be distributed and/or modified under the terms of the
# GNU General Public License version 2 as published by the Free
# Software Foun... | OS2World/DEV-UTIL-SNAP | src/util/makeself.sh | Shell | gpl-2.0 | 4,256 |
#!/bin/bash
PID=`ps aux | grep "[d]tweb-headless"| awk '{print $2}'`
if [ -z "$PID" ]; then
echo "Starting device tree editor"
/opt/dtweb/dtweb-headless.sh &
fi
| UDOOboard/udoo-web-conf | bin/dtweb.sh | Shell | gpl-2.0 | 171 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.