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 |
|---|---|---|---|---|---|
#!/bin/bash
# Credentials for source database
# -------------------------------
#
# Used for:
# psql_src.sh -- shell connect
# dump
SRC_HOST=...
SRC_RDS_PASSWD=...
SRC_RDS_USER=
SRC_DB_NAME=...
# Credentials for destination database
# ------------------------------------
#
# Used for:
# psql_dst.sh -- shell connect
... | BruXy/bash-utils | psql/psql_secrets.sh | Shell | gpl-3.0 | 397 |
#!/bin/sh
rm $0
python "grupo_template_tags.py"
echo "
------------------
(program exited with code: $?)"
echo "Press return to continue"
#to be more compatible with shells like dash
dummy_var=""
read dummy_var
| Etxea/gestioneide | grupos/templatetags/geany_run_script.sh | Shell | gpl-3.0 | 220 |
#!/bin/bash
wget -O data.csv.gz \
'https://www.ncbi.nlm.nih.gov/geo/download/?acc=GSE85241&format=file&file=GSE85241%5Fcellsystems%5Fdataset%5F4donors%5Fupdated%2Ecsv%2Egz'
gunzip data.csv.gz
wget https://s3.amazonaws.com/scrnaseq-public-datasets/manual-data/muraro/cell_type_annotation_Cels2016.csv
| hemberg-lab/scRNA.seq.datasets | bash/muraro.sh | Shell | gpl-3.0 | 301 |
# generated with ./generate_fuse_avg.pl
/disks/data1/riess/code/build/bin/vole lfuseAvgDiffSpec -I /disks/data1/riess/mimorem/table_shida/diffuse/boosting/gt_50//bmug_b_b_10000.png -J /disks/data1/riess/mimorem/table_shida/specular/vote/gt_50/avg_6000//bmug_b_b_6000.png -O /disks/data1/riess/mimorem/table_shida/fused_d... | FBSLikan/Cetico-TCC | thirdparty/illuminants/illuminants/lille/scripts/commands_shida_fused_diff_spec_gt_50.sh | Shell | gpl-3.0 | 27,226 |
#!/bin/bash
infile="suit.png"
incr=10
inname=`convert "$infile" -format "%t" info:`
rm -rf out
mkdir out/
x=1
for ((i=90; i<=460; i=i+incr)); do
convert "$infile" -background transparent -distort ScaleRotateTranslate $i +repage out/${inname}_$x.png
((x++));
done
sync
montage -tile 6x6 \
out/${inname}_{1,36,... | hakt0r/nuu | mod/nuu/sprites/suit/rotateStitch.sh | Shell | gpl-3.0 | 487 |
#!/bin/bash
python RunBootstrap.py --paralog1 YBR191W --paralog2 YPL079W --bootnum 85 > YBR191W_YPL079W_Boot85_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YBR191W_YPL079W_Boot85.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
# Script to utilize asegstats2table
# CSV file will be generated.
# Usage: fs_stats_aseg.sh <subject_id(s)>
# Wild card can be used.
# 16 Feb 2019 K.Nemoto
#set -x
#Check if the arguments are specified
if [ $# -lt 1 ] ; then
echo "Please specify the subject id you want to extract ROI!"
echo "Usage: $0... | kytk/fs-scripts | fs_stats_aseg.sh | Shell | gpl-3.0 | 730 |
#!/usr/bin/env bash
# Create Toil venv
rm -rf .env
virtualenv --never-download .env
. .env/bin/activate
# Prepare directory for temp files
TMPDIR=/mnt/ephemeral/tmp
rm -rf $TMPDIR
mkdir $TMPDIR
export TMPDIR
make prepare
make develop
make test
make clean
make pypi
rm -rf .env $TMPDIR
| 18praveenb/toil-rnaseq-sc | jenkins.sh | Shell | gpl-3.0 | 289 |
#!/usr/bin/env bash
sfile="Support-Client.desktop"
lsfile="start.sh"
ver="0.9.5"
echo """
##############################################################################################
# Support-Client setup v$ver #
#-------------------------------------... | BaileySN/Support-Client | setup-linux.sh | Shell | gpl-3.0 | 2,607 |
#!/bin/bash
<<authors
*****************************************************************************
sam2cufflinks.sh
This file is part of the ChimPipe pipeline
Copyright (c) 2014 Bernardo Rodríguez-Martín
Emilio Palumbo
Sarah Djebali
Computational Biology of RNA Processing group
Departm... | Chimera-tools/ChimPipe | src/bash/sam2cufflinks.sh | Shell | gpl-3.0 | 1,966 |
#!/bin/bash
SERVER1=parallel-server3
SERVER2=parallel-server2
echo '### Test $PARALLEL'
PARALLEL="-k
-j1
echo" parallel ::: a b c
PARALLEL="-k
--jobs
1
echo" parallel ::: a b c
PARALLEL="-k
--jobs 1
echo" parallel ::: a b c
PARALLEL="-k
--jobs
1
echo 1" parallel -v echo 2 ::: a b c
PARALLEL="-k --jobs 1 echo" par... | thinrope/GNU_parallel | testsuite/tests-to-run/test37.sh | Shell | gpl-3.0 | 3,570 |
#!/bin/sh
#
# multi_maus_skeleton.sh
#
# Script submitted to the Imperial batch system for multi_maus commands
#
################################################################################
# THE DEFAULTS
# These are used as a last result if the relevant information cannot be found.
# The location of this versi... | mice-software/maus | bin/user/batch_cluster/scripts/batch/multi_maus_skeleton.sh | Shell | gpl-3.0 | 4,880 |
geth --dev --datadir $(./get_datadir.sh) --networkid 2016 --rpc --rpcapi "db,eth,net,web3" --rpcaddr 0.0.0.0 --rpcport 2016 --rpccorsdomain "*" --port 32016 --identity blockvote0 --etherbase ae4a95287aaa216c5361db6810d06f28de956c4d --mine --minerthreads 1 --unlock ae4a95287aaa216c5361db6810d06f28de956c4d --password pas... | d10r/blockvote | setup/ethereum/run.sh | Shell | gpl-3.0 | 354 |
#!/bin/bash
cat > /srv/nagios-4.0.8/etc/servers/commands.cfg <<'EOD'
# 'check_nrpe' command definition
define command{
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$
}
define command{
command_name check_nrpe_args
command_line ... | oscm/shell | monitor/nagios/cfg.sh | Shell | gpl-3.0 | 8,423 |
make clean
make
./bin/tlenitel
| LittleBuster/tlenitel2000 | run.sh | Shell | gpl-3.0 | 31 |
#!/bin/bash
# This file is part of PenTestKit
# Copyright (C) 2017-2018 @maldevel
# https://github.com/maldevel/PenTestKit
#
# PenTestKit - Useful tools for Penetration Testing.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public Lic... | maldevel/PenTestKit | web/screenshot.sh | Shell | gpl-3.0 | 1,060 |
#!/bin/bash
set -ex
( cd server/ ; npm ci )
( cd web/ ; npm ci )
if [ -f server/db.sqlite3 ] ; then
mv server/db.sqlite3 server/db.sqlite3.bak
fi
( cd server/ ; npm run cli -- import ../examples/example-contest/ )
| algorithm-ninja/task-wizard | prepare.sh | Shell | mpl-2.0 | 222 |
##
## ____ ____ _____ ____ ___ ____
## | _ \ | _ \ | ____| / ___| / _/ / ___| Precog (R)
## | |_) | | |_) | | _| | | | | /| | | _ Advanced Analytics Engine for NoSQL Data
## | __/ | _ < | |___ | |___ |/ _| | | |_| | Copyright (C) 2010 - 2013 SlamData, Inc... | precog/platform | run.sh | Shell | agpl-3.0 | 12,075 |
#!/bin/bash
set -e
set -o pipefail
sampleid="$1"
vcftar="$2"
tar -xzf $vcftar -C .
splitvcfdir=`ls`
chroms=(chr1 chr2 chr3 chr4 chr5 chr6 chr7 chr8 chr9 chr10 chr11 chr12 chr13 chr14 chr15 chr16 chr17 chr18 chr19 chr20 chr21 chr22 chrX chrY chrM)
splitvcfs=$(for chrom in ${chroms[@]}; do ls $splitvcfdir/*$chrom\_*g... | curoverse/l7g | cwl-version/gvcf2fasta/src/untar-concat.sh | Shell | agpl-3.0 | 445 |
git lfs fetch
(cd build-system && sbt publishLocal)
(cd libraries && sbt publishLocal)
(cd openmole && sbt "project openmole" assemble)
(echo openmole is ready in openmole/bin/openmole/target/assemble/)
| openmole/openmole | build.sh | Shell | agpl-3.0 | 206 |
#!/bin/bash
if [ -e /root/install/config.ans ]; then
. /root/install/config.ans
fi
if [ $# -gt 0 ]; then
SUPER_USER_PASSWD=$1
fi
# set SElinux enforcement to permissive
setenforce permissive
# start mysql
service mysqld start
# make sure that NOBODY can access the server without a password
mysql -e "UPDATE my... | doubleshot/platform-install-packages | docker/install/install.sh | Shell | agpl-3.0 | 935 |
#!/usr/bin/env bash
# Copyright 2011 Red Hat Inc., Durham, North Carolina.
# All Rights Reserved.
. ${srcdir}/../../test_common.sh
# Test Cases.
function test_probes_fileextendedattribute {
return 255 # TODO: implement xattr support check
probecheck "fileextendedattribute" || return 255
if [ ! -x ${OV... | isimluk/openscap | tests/probes/fileextendedattribute/test_probes_fileextendedattribute.sh | Shell | lgpl-2.1 | 1,185 |
#!/bin/sh
mkdir -p config m4
autoreconf --force --install -I config -I m4
./configure $*
| gchriz/paps | autogen.sh | Shell | lgpl-2.1 | 90 |
#!/bin/sh
echo 'Removing old running processes (if they exist)...'
#kill -9 `ps -ef | grep spin_emu | grep -v grep | awk '{print $2}'`
killall -HUP spin_emu
killall -HUP visualiser
echo 'Cleaning old temp directories (if they exist)...'
rm -rf /tmp/spin_emu*
echo 'Compiling the emulator...'
(cd ./emu/; exec make)
echo... | QJonny/spin_emulator | startEmulator.sh | Shell | lgpl-2.1 | 377 |
#!/bin/sh
#
# Copyright (c) 2009-2017 The Open Source Geospatial Foundation.
# Licensed under the GNU LGPL version >= 2.1.
#
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either versio... | guygriffiths/OSGeoLive | bin/install_geomoose.sh | Shell | lgpl-2.1 | 3,419 |
source common.sh
clearStore
# Instantiate.
drvPath=$($nixinstantiate simple.nix)
echo "derivation is $drvPath"
# Find the output path.
outPath=$($nixstore -qvv "$drvPath")
echo "output path is $outPath"
echo $outPath > $TEST_ROOT/sub-paths
export NIX_SUBSTITUTERS=$(pwd)/substituter.sh
$nixstore -rvv "$drvPath"
t... | tianyicui/nix | tests/substitutes.sh | Shell | lgpl-2.1 | 438 |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun ltconfig.
#
# Copyright (C) 1996-2014 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser G... | FedoraScientific/salome-med | adm_local_without_kernel/unix/config_files/DEPRECATED/ltmain.sh | Shell | lgpl-2.1 | 110,640 |
#!/usr/bin/env bash
set -o errexit #abort if any command fails
me=$(basename "$0")
help_message="\
Usage: $me [-c FILE] [<options>]
Deploy generated files to a git branch.
Options:
-h, --help Show this help information.
-v, --verbose Increase verbosity. Useful for debugging.
-e, --allo... | cgre-aachen/gempy | scripts/deploy.sh | Shell | lgpl-3.0 | 6,541 |
P_VERSION=0.19.2
P_SRC="gettext-$P_VERSION"
P_TAR="$P_SRC.tar.xz"
P_URL="http://ftp.gnu.org/pub/gnu/gettext"
P_DEPENDENCIES=""
source ../../scripts/env.sh ../../scripts
do_build()
{
# Disable the build of documentation and examples of gettext-tools,
# and the build of documentation and tests of gettext-ru... | Colibri-Embedded/colibri-linux | packages/gettext/build.sh | Shell | lgpl-3.0 | 1,563 |
echo ------------------------ Exercise 1 ------------------------
echo Make workshop.persons and workshop.animals into modular jars
echo ----------------------------------- ------------------------
source setPath.sh
rm -rf workshop.persons/target/classes
rm -rf workshop.animals/target/classes
set -e
set -x
javac -d... | kwakeroni/workshops | java9-modules/solution/exercise1.sh | Shell | lgpl-3.0 | 926 |
git add .
git commit -m 'auto'
git push esipkd
| aagusti/e-sipkd | update.sh | Shell | lgpl-3.0 | 47 |
#!/bin/bash
all_headers=`find ./src ./include ./samples -name *.h*`
all_srcs=`find ./src -name *.c*`
all_makes=`find . -name CMakeLists.txt`
all_scripts=`find ./scripts -name *.py`
all_files="${all_headers} ${all_srcs} ${all_scripts} ${all_makes}"
temp_suffix=.temp
for file in ${all_files}; do
sed s/TESTNGPP/TESTN... | aprovy/test-ng-pp | change-name.sh | Shell | lgpl-3.0 | 728 |
#!/bin/bash
function install(){
wget https://github.com/nawrasg/Atlantis/archive/master.zip &&
unzip master.zip &&
mv Atlantis-master/Server/Webapp/dist/* ./ &&
mv Atlantis-master/Server/backend ./backend &&
php Atlantis-master/Server/install.php $1 atlantis $2 $3 &&
chmod 777 backend/classes/weather.json &&
c... | nawrasg/Atlantis | install.sh | Shell | lgpl-3.0 | 1,530 |
#!bash
#
# History settings
# Configure history settings only if the shell is interactive.
if [ -n "$INTERACTIVE" ]; then
shopt -s histappend # append history instead of overwriting it
shopt -s cmdhist # save a multi-line command in a single history entry
HISTSIZE=10000
HISTFILE... | igetgames/dotfiles | bash/init.d/003-history.bash | Shell | unlicense | 642 |
#/bin/bash
. ./cleansing_utils.sh
getcontent() {
url=$(cleanse_url "$1")
echo $(curl --globoff -L "$url")
}
getfile() {
url=$(cleanse_url "$2")
curl -L --globoff -o "$1" "$url"
}
| chrishowell/TorrentAutomation | curl_utils.sh | Shell | unlicense | 190 |
./configure --prefix=/usr \
--with-internal-glib \
--disable-compile-warnings \
--disable-host-tool \
--docdir=/usr/share/doc/pkg-config-0.29.1
make
make install
| pampa/cyberdeck | try4/usr/src/core/pkg-config.sh | Shell | unlicense | 236 |
#!/bin/sh -ev
time brew update
for each in Brewfile.d/*; do
time brew bundle --verbose --file=$each
done
| ghub/macos_bootstrap | test.sh | Shell | apache-2.0 | 111 |
#!/bin/bash
COP="$GOPATH/src/github.com/hyperledger/fabric-cop"
TESTDATA="$COP/testdata"
SCRIPTDIR="$COP/scripts"
CA_KEY="$TESTDATA/cop-key.pem"
EE_KEY="$HOME/cop/key.pem"
EE_CERT="$HOME/cop/cert.pem"
RC=0
. $SCRIPTDIR/cop_utils
ecl=(256 384 521)
ecl=256
ecOid[256]="prime256v1"
ecOid[384]="secp384r1"
ecOid[521]="secp5... | rennman/copfvtci | scripts/keys_test.sh | Shell | apache-2.0 | 1,946 |
gcloud container clusters delete kmova-helm --zone us-central1-a
| kmova/bootstrap | gke-openebs/hack/destroy-cluster.sh | Shell | apache-2.0 | 66 |
#!/bin/bash
# This script is used by Travis-CI to automatically rebuild and deploy API documentation.
# If any part of this script fails, the Travis build will also be marked as failed
set -ev
# Clone the repository where the docs will be hosted
git clone https://ibm-bluemix-mobile-services:${GITHUB_TOKEN}@github.co... | ibm-bluemix-mobile-services/bms-clientsdk-cordova-plugin-push | scripts/publish-docs.sh | Shell | apache-2.0 | 1,134 |
#!/usr/bin/env bash
pip-compile --output-file requirements.txt requirements.in
pip-compile --output-file requirements-dev.txt requirements-dev.in requirements.in
sed -i "s|-e file://$(pwd)|-e .|" requirements.txt
sed -i "s|-e file://$(pwd)|-e .|" requirements-dev.txt
if hash powershell 2>/dev/null; then
sed -i "... | MD-Studio/MDStudio | lock-dependencies.sh | Shell | apache-2.0 | 565 |
GOOS=linux GOARCH=amd64 go build
tar -cjvf spoto.tar.bz2 spoto
scp -i /Users/rafal/dev/aws/rafal.pem -P 2225 /Users/rafal/dev/go/src/github.com/rafax/spoto/spoto.tar.bz2 ubuntu@52.1.82.203:/app/spoto
ssh -i /Users/rafal/dev/aws/rafal.pem ubuntu@52.1.82.203 -p 2225 'cd /app/spoto; tar -xvf /app/spoto/spoto.tar.bz2 ; sud... | rafax/spoto | deploy/deploy.sh | Shell | apache-2.0 | 350 |
#!/bin/bash
export rmnpath=$RMN_BASE_PATH
export guipath=$rmnpath/www/gui
FILES=$(find $rmnpath/www/gui/sass -name "[^_]*\.scss")
wt --watch -gen $guipath/build/im -font $guipath/font-face -b $guipath/build/css/ -p $guipath/sass -d $guipath/im/sass $FILES
| wellington/wellington | scripts/watch.sh | Shell | apache-2.0 | 259 |
#!/bin/sh
# -----------------------------------------------------------------------------
# Run script for the OpenJMS examples
#
# Required Environment Variables
#
# JAVA_HOME Points to the Java Development Kit installation.
#
# Optional Environment Variables
#
# OPENJMS_HOME Points to the OpenJMS instal... | SLAsticSPE/slastic | bin/openjms-0.7.7-beta-1/examples/basic/run.sh | Shell | apache-2.0 | 2,524 |
#!/usr/bin/env bash
if [[ -n "$1" ]]
then
PROFILE=$1;
else
PROFILE=~/.bash_profile;
fi
DIR=$(pwd)
echo -e "\n\nExporting $DIR/lib and $DIR/bin to $PROFILE\n";
if ! cat $PROFILE | grep "$DIR/bin"; then
(echo "" ; echo 'export PERL5LIB=$PERL5LIB:'$DIR'/lib') | sudo tee -a $PROFILE
# Not 100% sure why this is ... | akotlar/bystro | install/export-bystro-libs.sh | Shell | apache-2.0 | 452 |
#!/bin/bash
###
# Requires https://github.com/aktau/github-release to be correctly installed and in $PATH
#
shopt -s globstar
NAMES=( alertmanager graphite_exporter jmx_exporter node_exporter prometheus pushgateway )
USER="utobi"
REPO="prometheus-rpm"
for NAME in "${NAMES[@]}"; do
VERSION=$(cat "$NAME/VERSION")
... | utobi/prometheus-rpm | release.sh | Shell | apache-2.0 | 777 |
#!/bin/bash
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source ${DIR}/helper_fn
function firstLetters() {
cut -c1 | sort | uniq | tr '[a-z]' '[A-Z]'
}
mkdir -p /tmp/.greeting
cat ${DIR}/greetings.txt | cut -d , -f2 | firstLetters > '/tmp/.greeting/first-letters-nationalities'
${LS} ${DIR}/characters | f... | nurous/bash-char-greeting | checks.sh | Shell | apache-2.0 | 1,059 |
#!/bin/bash
# 指定dropbox_uploader.sh脚本的保存目录
SCRIPT_DIR="/root/backup"
# 上传到DropBox的文件夹
DROPBOX_DIR="/backup/$(date +"%Y.%m.%d")"
# 需要保存的服务器文件夹,可以用空格隔开多个文件夹
BACKUP_SRC="/home/git/gogs-repositories"
# 服务器上临时的备份保存文件夹
LOCAL_BAK_DIR="/root/backup"
# MySQL相应配置
MYSQL_SERVER="localhost"
MYSQL_USER="root"
MYSQL_PASS="1325xlg"
# ... | howmind/tools | backup-gogs/backup-gogs.sh | Shell | apache-2.0 | 1,677 |
#!/usr/bin/env bash
# experimental
docker ps | grep mistral
docker images | grep mistral
for CON in $(docker ps --filter 'name=mistral' --format "{{.ID}}"); do
docker stop $CON
docker rm $CON
done
for CON in $(echo mistral_{api,engine,event_engine,executor}); do
echo \#$CON;
sudo paunch debug \... | fultonj/oooq | over/restart_mistral.sh | Shell | apache-2.0 | 510 |
#!/bin/bash
#run install script
#wget https://dl.bintray.com/kenzanlabs/spinnaker_scripts/InstallSpinnaker.sh
#chmod +x InstallSpinnaker.sh
#sudo ./InstallSpinnaker.sh
##pasting it here for now in case it changes
## This script install pre-requisites for Spinnaker
# To you put this file in the root of a web server
#... | tgracchus/spinnaker | experimental/packer/install.sh | Shell | apache-2.0 | 3,954 |
#!/bin/sh
# Copyright 2014 Commonwealth Bank of Australia
#
# 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 b... | CommBank/six | deploy.sh | Shell | apache-2.0 | 964 |
#!/bin/bash
echo "add_source template script" >> /tmp/topology-override-interface-${TARGET_NODE}.txt
| alien4cloud/alien4cloud-provider-int-test | src/test/resources/csars/topology-override-interface/customscripts/add_source.sh | Shell | apache-2.0 | 101 |
#!/bin/bash
# Copyright 2015 Fluo authors (see 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 applicable la... | mikewalch/webindex | bin/impl/test.sh | Shell | apache-2.0 | 2,580 |
#!/bin/bash
#
# Example of how etcd must be started in the full TLS mode, i.e.
# - server cert is checked by clients
# - client cert is checked by the server
#
# NOTE: this file is also used to run etcd tests.
#
set -e
# Etcd before v3.5.0 requires ETCD_UNSUPPORTED_ARCH to be set in order to run on arm64.
if [ "$... | gravitational/teleport | examples/etcd/start-etcd.sh | Shell | apache-2.0 | 808 |
#!/bin/bash
# This adds the current ip address to /etc/issue, which displays on console.
# Useful for local VMs to see the IP address without having to login to local
# console first. Call this script from /etc/rc.local
# cleanup current /etc/issue
grep -v "IP Address" /etc/issue >/tmp/issue
cp /tmp/issue /etc/issue
... | rezapx/private | nano_nano/bash-scripts/snippets/boot_prompt.sh | Shell | apache-2.0 | 463 |
#! /bin/sh
# Copyright 2021 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 applicable law o... | kubernetes-csi/csi-driver-nfs | release-tools/pull-test.sh | Shell | apache-2.0 | 1,051 |
# Copyright (c) 2007-2013 Alysson Bessani, Eduardo Alchieri, Paulo Sousa, and the authors indicated in the @author tags
#
# 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.o... | fmrsabino/library | runscripts/smartrun.sh | Shell | apache-2.0 | 711 |
#!/bin/bash
echo ">> Test"
set -e
source /opt/qnib/gocd/helpers/gocd-functions.sh
# Create BUILD_IMG_NAME, which includes the git-hash and the revision of the pipeline
assemble_build_img_name
if [ "X${SKIP_TEST}" != "Xtrue" ] && [ -d test ];then
echo ">>>> Run test"
cd test
./run.sh
fi
| qnib/alpn-gocd-agent | opt/qnib/gocd/tasks/docker/test.sh | Shell | apache-2.0 | 301 |
#Download and add the MySQL database
echo "Installing MySQL server !"
sudo yum install mysql mysql-server -y
echo "Installing Java adapter for MySQL !"
sudo yum install mysql-connector-java* -y
#IMPORTANT STUFF - both centos and ubuntu
sudo cp /usr/share/java/mysql-connector-java.jar /opt/coopr/server/lib/
sudo chmod... | krakky/market | coopr_standalone/bin/centos/4_install-database.sh | Shell | apache-2.0 | 371 |
#! /bin/bash
LOCAL_JAR_DIR=/home/sloscal1/Programming/jars
PREFIX_DIR=$(pwd)/.install
DEP_DIR=deps
#Needed to compile libzmq with libsodium
#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$PREFIX_DIR/lib/pkgconfig
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PREFIX_DIR/lib
if [ ! -d $PREFIX_DIR ]; then
mkdir -p $PREFIX_DIR;
... | sloscal1/SearchParty | install.bash | Shell | apache-2.0 | 2,328 |
#! /bin/bash
if [ -z ${GDD_HOME} ]
then
print "set GDD_HOME!"
exit 1
fi
cutoff=`cat $GDD_HOME/results_log/gp_cutoff`
deepdive sql """
COPY (
select distinct pheno_entity, ensembl_id from genepheno_association c join genepheno_association_inference_label_inference i on (c.relation_id = i.relation_id) join genes g... | HazyResearch/dd-genomics | input/genepheno_association_inferred.tsv.sh | Shell | apache-2.0 | 397 |
#!/usr/bin/env bash
# local maven repo path
export MAVEN_PATH=`mvn help:evaluate -Dexpression=settings.localRepository | grep -v '^\[.*$'`
export VERSION=0.6.1
# local c++ lib env
export BOOST_INCLUDES=/usr/local/include
export BOOST_LIBS_DIR=/usr/local/lib
export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}:${BOOST_INC... | shunfei/indexr | script/env.sh | Shell | apache-2.0 | 786 |
#!/bin/sh
/usr/bin/find $dir -name '*.html' -mtime +1 -exec /usr/bin/rm {} \;
| CORDEA/1000genomes-visualization | samplePrediction/check_deadlink.sh | Shell | apache-2.0 | 78 |
cat orchidTest.json |xargs -0 aws --profile shaphat_test kinesis put-record --stream-name shaphat_test_stream --partition-key test3 --data | jrasmuson/Shaphat | testScripts/putRecord.sh | Shell | apache-2.0 | 138 |
#!/bin/bash
# Variables
image_url=$1
image=${image_url##*/}
image=${image%*.xz}
if [ ! -f $image ] && [ ! -f ${image}.xz ] ; then
curl -Ok $image_url
fi
if [ ! -f $image ] ; then
unxz ${image}.xz
fi
#Defaults
certs_dir=/etc/pki/ciao
partition=2
echo -e "\nMounting image: $image"
mkdir -p /mnt/tmp
modprobe nbd ... | leoswaldo/clear-config-management | roles/ciao-network/cnci_image.sh | Shell | apache-2.0 | 1,285 |
# -----------------------------------------------------------------------------
#
# Package : postcss-modules-scope
# Version : 2.2.0
# Source repo : https://github.com/css-modules/postcss-modules-scope
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automati... | ppc64le/build-scripts | p/postcss-modules-scope/postcss-modules-scope_rhel_8.3.sh | Shell | apache-2.0 | 3,110 |
#!/bin/bash
##
# Copyright © 2011 Talis Systems Ltd.
#
# 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 applicable law or a... | castagna/bsbm-automated | joseki.sh | Shell | apache-2.0 | 3,551 |
#! /bin/bash
ulimit -n 32768
cores=$(cat /proc/cpuinfo | grep processor | wc -l)
((cores=cores-1))
echo $cores cores
for i in $( eval echo "{1..$cores}"); do
./mem_latency/walker -i0 -r$i $1 $2 $3 $4 $5 $6 $7 $8 $9 >> latency_scan.log 2>&1
done
| David-Levinthal/gooda | kernels/arm/dram_core_scan.sh | Shell | apache-2.0 | 247 |
#!/bin/sh
#
# Portions Copyright (c) 2011-2013 3 Round Stones Inc., Some Rights Reserved
# Portions Copyright (c) 2009-10 Zepheira LLC, Some Rights Reserved
# Portions Copyright (c) 2010-11 Talis Inc, Some Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file ex... | Thellmann/callimachus | src/callimachus.sh | Shell | apache-2.0 | 33,302 |
#!/bin/bash
set -euo pipefail
set -x
# Where's Waldo?
[ ! -d ./generate_thrift_v1_docs ] && cd ..
if [ ! -d ./generate_thrift_v1_docs ]; then
echo "Please run this script either from the root of the openzipkin.github.io repository"
echo "or from the generate_thrift_v1_docs folder in that repository."
exit... | basvanbeek/openzipkin.github.io | generate_thrift_v1_docs/generate.sh | Shell | apache-2.0 | 1,629 |
#!/usr/bin/env bash
export ANALYTICS_ZOO_HOME=${ANALYTICS_ZOO_ROOT}/dist
clear_up () {
echo "Clearing up environment. Uninstalling analytics-zoo"
pip uninstall -y analytics-zoo
pip uninstall -y bigdl
pip uninstall -y pyspark
}
chmod +x ${ANALYTICS_ZOO_HOME}/apps/ipynb2py.sh
set -e
RUN_PART1=0
RUN_P... | intel-analytics/analytics-zoo | apps/run-app-tests-pip.sh | Shell | apache-2.0 | 36,148 |
#!/bin/bash
# Copyright 2019 The TensorFlow 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... | Intel-Corporation/tensorflow | tensorflow/tools/ci_build/rel/macos/cpu_py38_pip.sh | Shell | apache-2.0 | 2,130 |
#!/bin/bash
# This script contains functions used by many of the scripts found in scripts/
# and tests/.
test_failed(){
echo -e >&2 "\033[0;31m$1 test failed!\033[0m"
exit 1
}
test_passed(){
echo -e "\033[0;32m$1 test passed!\033[0m"
}
is_pull_request(){
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; the... | loafyloaf/Kubernetes-container-service-GitLab-sample | scripts/resources.sh | Shell | apache-2.0 | 414 |
#!/bin/bash
gst-launch-1.0 rpicamsrc bitrate=1000000 \
! 'video/x-h264,width=640,height=480' \
! h264parse \
! queue \
! rtph264pay config-interval=1 pt=96 \
! gdppay \
! udpsink host=10.0.0.18 port=5000
| frezik/UAV-Pilot-Wumpus | bin/rpi_video_server.sh | Shell | bsd-2-clause | 228 |
#!/bin/sh
export HTTP_HOST=localhost
#export SERVER_PORT=80
export REQUEST_METHOD=GET
export REQUEST_URI=http://localhost/resow/fs
export SCRIPT_NAME=/resow
export PATH_INFO=/fs
export QUERY_STRING=
export HTTP_ACCEPT=text/html
export HTTP_ACCEPT_LANGUAGE=en
export HTTP_ACCEPT_ENCODING=UTF-8
exec /usr/local/www/apach... | nakal/resow | examples/client-side/test_002.sh | Shell | bsd-2-clause | 337 |
#!/bin/bash
set -e
if [[ -n "$SWIFT_VERSION" ]]
then
export SWIFT_TOOLS_VERSION=`echo $SWIFT_VERSION | awk -F . '{print $1"."$2}'`
if [[ "$SWIFT_TOOLS_VERSION" == "3.2" ]]
then
SWIFT_PACKAGE_VERSION=`echo $SWIFT_VERSION | awk -F . -v ver=4.0 '{if(NF==2) print ver; else print ver"."$3}'`
else
SWIFT_PACK... | ithron/swift-atomics | Tests/install-swift.sh | Shell | bsd-3-clause | 1,428 |
#!/bin/sh
cd t
for i in *.t; do ./$i; done
| ytoolshed/range | libcrange/source/testit.sh | Shell | bsd-3-clause | 44 |
#!/bin/bash
#;**********************************************************************;
#
# Copyright (c) 2016-2018, Intel Corporation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistri... | martinezjavier/tpm2-tools | test/integration/tests/rc_decode.sh | Shell | bsd-3-clause | 5,505 |
#!/bin/sh
#
# z3bra - 2014 (c) wtfpl
# move windows to the corners
CUR=${2:-$(pfw)}
ROOT=$(lsw -r)
SW=$(wattr w $ROOT)
SH=$(wattr h $ROOT)
BW=$(wattr b $CUR)
W=$(wattr w $CUR)
H=$(wattr h $CUR)
X=0
Y=0
case $1 in
tr) X=$((SW - W - BW*2)) ;;
bl) Y=$((SH - H - BW*2)) ;;
br) X=$((SW - W - BW*2))
Y=... | elken/bin | corner.sh | Shell | bsd-3-clause | 433 |
#!/bin/bash
#SBATCH --account=nstaff
#SBATCH --constraint=knl
#SBATCH --core-spec=4
#SBATCH --image=docker:rcthomas/nersc-python-bench:0.3.2
#SBATCH --job-name=pynamic-cori-knl-shifter-600
#SBATCH --mail-type=FAIL
#SBATCH --mail-user=rcthomas@lbl.gov
#SBATCH --nodes=600
#SBATCH --ntasks-per-node=8
#SBATCH --output=logs... | NERSC/nersc-python-bench | scripts/pynamic-cori-knl-shifter-600.sh | Shell | bsd-3-clause | 1,370 |
PATH="${SYNOPKG_PKGDEST}/bin:${PATH}"
NZBGET="${SYNOPKG_PKGDEST}/bin/nzbget"
CFG_FILE="${SYNOPKG_PKGDEST}/var/nzbget.conf"
TEMPLATE_CFG_FILE="${SYNOPKG_PKGDEST}/share/nzbget/nzbget.conf"
WEBDIR="${SYNOPKG_PKGDEST}/bin/webui"
NZBGET_INSTALLER="${SYNOPKG_PKGDEST}/var/nzbget.run"
GROUP="sc-download"
# Force-overwrite the... | Zetten/spksrc | spk/nzbget/src/service-setup.sh | Shell | bsd-3-clause | 3,477 |
#!/bin/bash
#FILE="linipm.go"
FILE="t_linipm_test.go"
while true; do
inotifywait -q -e modify $FILE
echo
echo
go test -test.run="linipm02"
done
| PaddySchmidt/gosl | opt/monitor.bash | Shell | bsd-3-clause | 162 |
#!/bin/bash
elm-make Main.elm --output elm.js
| akeeton/mtg-toolkit-elm | build.sh | Shell | bsd-3-clause | 47 |
docker build -t zookeeper .
docker run -d --name zookeeper -p 2181:2181 zookeeper
| turn/edc | docker/zookeeper/start-zookeeper.sh | Shell | bsd-3-clause | 84 |
#! /bin/bash
DATA=/var/lib/postgresql/9.1/main
sudo -u postgres \
/usr/lib/postgresql/9.1/bin/postgres \
-c data_directory=$DATA \
-c config_file=/etc/postgresql/9.1/main/postgresql.conf &
sleep 5 # TODO Use pgready
humming --help
DB="dbname=docker user=docker password=docker host=127.0.0.1"
humming crea... | noteed/humming | images/humming/run.sh | Shell | bsd-3-clause | 1,094 |
#!/bin/bash
if [ -z "$*" ]
then
echo "No arguments given"
exit
fi
mvn exec:java -Dexec.mainClass="com.jamierf.oversim.manager.main.RunSimulation" -Dexec.args="$*"
| reines/oversim-manager | run.sh | Shell | bsd-3-clause | 167 |
#!/bin/sh -e
#
# Copyright (C) 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE ... | WigWagCo/node-isc-dhclient | deps/isc-dhcp/bind/bind-expanded-tar/bin/tests/system/redirect/ns1/sign.sh | Shell | isc | 1,391 |
#!/bin/sh
#
# This file is part of LXE project. See LICENSE file for licensing information.
(
PKG=x11proto-input
PKG_VERSION=${X11PROTO_INPUT_VER}
PKG_SUBDIR_ORIG=inputproto-${PKG_VERSION}
PKG_DEPS="gcc pkg-config-settings"
. "${PKG_DIR}/x11proto-module.sh"
)
| tehnick/lxe | pkg/x11proto-input.sh | Shell | mit | 283 |
#!/bin/bash
#
# Copyright 2016 Google Inc. All rights reserved.
#
# Use of this source code is governed by The MIT License.
# See the LICENSE file for details.
# Script to udpate the version of SPF and generate docs.
#
# Author: nicksay@google.com (Alex Nicksay)
# The script must be passed a version.
if [[ $# < 1 ]];... | youtube/spfjs | bin/version.sh | Shell | mit | 2,111 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Debug
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/easyeye-comp... | ddcien/easyeye | easyeye-compare/nbproject/Package-Debug.bash | Shell | mit | 1,491 |
#!/bin/bash
# Should we ignore linter failures?
IGNORE_FAILURES=0
# Did all of the linters pass?
RET_SUCCESS=0
while getopts ":i" OPT; do
case $OPT in
i)
IGNORE_FAILURES=1
;;
\?)
echo "Unknown option: -$OPTARG" >&2
;;
esac
done
# Check and install dependencies
for GEM in rubocop; ... | CumulusNetworks/cldemo-tests | test.sh | Shell | mit | 850 |
mkdir -p build_linux32 && cd build_linux32
cmake -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 -DCMAKE_SHARED_LINKER_FLAGS=-m32 ../
cd ..
cmake --build build_linux32 --config Release
| chexiongsheng/build_xlua_with_libs | build/make_linux32_lua53.sh | Shell | mit | 182 |
#!/bin/sh
set -e
ROOTDIR=dist
BUNDLE=${ROOTDIR}/Merelcoin-Qt.app
CODESIGN=codesign
TEMPDIR=sign.temp
TEMPLIST=${TEMPDIR}/signatures.txt
OUT=signature.tar.gz
if [ ! -n "$1" ]; then
echo "usage: $0 <codesign args>"
echo "example: $0 -s MyIdentity"
exit 1
fi
rm -rf ${TEMPDIR} ${TEMPLIST}
mkdir -p ${TEMPDIR}
${CO... | zottejos/merelcoin_oud | contrib/macdeploy/detached-sig-create.sh | Shell | mit | 1,263 |
rm -rf build/canvas/bundle.js
browserify \
-d \
--verbose \
-r ./src/document.js:rt-document \
-r ./src/component.js:rt-component \
-r ./src/cursor.js:rt-cursor \
-r ./src/common.js:rt-common \
-r ./src/layout.js:rt-layout \
-r ./src/render.js:rt-render \
-r ./src/keyboard.js:rt-key... | joshmarinacci/js-richtext | build.sh | Shell | mit | 359 |
#!/bin/bash
cmd="psql template1 --tuples-only --command \"select count(*) from pg_database where datname = 'basketball';\""
db_exists=`eval $cmd`
if [ $db_exists -eq 0 ] ; then
cmd="createdb basketball;"
eval $cmd
fi
# Alias
psql basketball -f create_schema_alias.sql
# PostgreSQL fuzzy string mathcing exten... | octonion/basketball | demo/demo.sh | Shell | mit | 3,172 |
#!/bin/bash
comps="clang gcc"
#copy passed in sample names
samples=""
for var in "$@"
do ... | syreal17/cardinality_chains | benchmarks/opcodegraph/code/Masters Project/create_diffbin_dats.sh | Shell | mit | 1,911 |
#!/bin/bash -x
IFS='
'
if [ -z "$1" ]; then
echo "Usage: $0 <Region>"
exit 1
fi
echo "Getting system list for ${1}"
wget -4 -q -O- http://evemaps.dotlan.net/region/${1} | grep -e '/map/'${1} | cut -d '/' -f 4 | cut -d '"' -f 1 | sort -u > ${1}_sys
if [ ! -d "tmp" ]; then
mkdir ./tmp
fi
for i in `cat ${1}_sys... | logical-fallacy/ERA | get_regions.sh | Shell | gpl-2.0 | 825 |
#!/bin/sh
# $Header: /usr/build/vile/vile/RCS/version.sh,v 1.1 2010/01/25 10:39:29 tom Exp $
# Extract vile's version from source-files to make it simple to generate
# versioned binaries.
if test $# != 0 ; then
SOURCE="$*"
else
SOURCE=patchlev.h
fi
RELEASE=`fgrep VILE_RELEASE "$SOURCE" |sed -e 's/^[^"]*"//' -e 's/".... | OS2World/APP-EDITOR-Vile | version.sh | Shell | gpl-2.0 | 514 |
# ----------------------------------------------------------------------------
# Mostra a data de Corpus Christi para qualquer ano.
# Obs.: Se o ano não for informado, usa o atual.
# Regra: 60 dias depois do domingo de Páscoa.
# Uso: zzcorpuschristi [ano]
# Ex.: zzcorpuschristi
# zzcorpuschristi 2009
#
# Autor: Ma... | funcoeszz/funcoeszz | zz/zzcorpuschristi.sh | Shell | gpl-2.0 | 930 |
#!/bin/bash
# Writen by Caio Oliveira aka Caio99BR <caiooliveirafarias0@gmail.com>
# Edited by RolanDroid
# How to Use:
# For first you need to install curl "sudo apt-get install curl"
# ./patch link.to.commit
# This script can apply three commits at once.
# . patch link.to.first.commit link.to.second.commit link.to... | RolanDroid/lge_MonsterKernel-lproj | patch.sh | Shell | gpl-2.0 | 899 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.