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/sh
#
# Copyright (c) 2005 Junio C Hamano
#
test_description='Two way merge with read-tree -m $H $M
This test tries two-way merge (aka fast-forward with carry forward).
There is the head (called H) and another commit (called M), which is
simply ahead of H. The index and the work tree contains a state that
is ... | samv/git | t/t1001-read-tree-m-2way.sh | Shell | gpl-2.0 | 11,782 |
#!/bin/bash
# Bash Color
green='\033[01;32m'
red='\033[01;31m'
blink_red='\033[05;31m'
restore='\033[0m'
clear
# Resources
THREAD="-j$(grep -c ^processor /proc/cpuinfo)"
KERNEL="zImage"
DTBIMAGE="dtb"
DEFCONFIG="ak_bacon_defconfig"
# Kernel Details
BASE_AK_VER="AK"
VER=".140.OPO.CM12.1"
AK_VER="$BASE_AK_VER$VER"
#... | AK-Kernel/AK-OnePone | ak-bacon-build.sh | Shell | gpl-2.0 | 2,843 |
#!/usr/bin/env bash
docker build -t template-server .
| unioslo/cerebrum | templates/build-container.sh | Shell | gpl-2.0 | 54 |
projectfileDirectory=$(dirname $0)"/Intermediate/XCode/"
cmakeExecutable=$(dirname $0)"/ThirdParty/CMake/OSX/CMake.app/contents/bin/cmake"
sourceRoot=$(dirname $0)
mkdir -p $projectfileDirectory
cd $projectfileDirectory
# $cmakeExecutable -G "Xcode" -DCMAKE_OSX_ARCHITECTURES=i386 $sourceRoot
$cmakeExecutable -G "Xcod... | MartinPalko/VanguardEngine | OSX_CreateXCodeProjectFiles.sh | Shell | gpl-2.0 | 368 |
# install lightdm greeter
cp -R "${SRC}"/packages/blobs/desktop/lightdm "${destination}"/etc/armbian
# install default desktop settings
mkdir -p "${destination}"/etc/skel
cp -R "${SRC}"/packages/blobs/desktop/skel/. "${destination}"/etc/skel
# install logo for login screen
mkdir -p "${destination}"/usr/share/pixmaps/... | armbian/build | config/desktop/focal/environments/xmonad/armbian/create_desktop_package.sh | Shell | gpl-2.0 | 618 |
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###... | krisklau/glued | utils/glued-download-sources.bash | Shell | gpl-2.0 | 2,412 |
#!/bin/sh
#
# This script runs MALLET on a corpus with different numbers of
# topics and also generates detailed diagnostic output for
# analysis of the topic quality
#
# It generates however many sub-directories it needs to store
# the different outputs (determined by $n_topics)
#
# Set the variables as needed for you... | mwidner/WebArchiveTextTools | src/topicmodel.sh | Shell | gpl-2.0 | 2,253 |
#!/bin/bash
# Created by Roel Van de Paar, Percona LLC
MAKE_THREADS=8 # Number of build threads. There may be a bug with >1 settings
WITH_ROCKSDB=1 # 0 or 1 # Please note when building the facebook-mysql-5.6 tree this setting is automatically ignored
# For daily build... | Percona-QA/percona-qa | build_5.x_debug_for_audit_plugin.sh | Shell | gpl-2.0 | 10,144 |
#! /bin/sh
. ../../testenv.sh
export GHDL_STD_FLAGS=--std=08
analyze_failure bug.vhdl
clean
echo "Test successful"
| tgingold/ghdl | testsuite/gna/issue632/testsuite.sh | Shell | gpl-2.0 | 119 |
#!/bin/bash
SOURCE=examples
TEMPLATES=_templates
TEMPLATE_FILE=README-main.md.template
INFO_FILE=info.json
ROOT=`pwd`
function build_index {
echo
echo "[BUILDMAIN] building index on $1 ..."
INDEX_FILE="$ROOT/$1.txt"
echo "" > $INDEX_FILE
COUNTER=0
for f in $(find $ROOT/$SOURCE/$1/* -maxdepth 0 -type... | mad4j/processing-movies | _scripts/build-main.sh | Shell | gpl-2.0 | 2,052 |
#!/bin/bash
sudo yum install epel-release -y
sudo yum install https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm -y
sudo yum -y update
sudo yum install yum-plugin-priorities -y
sudo yum install unzip tcpdump netstat wget tmux -y
sudo yum install postfix vixie-cron crontabs man mlocate logrotate l... | EMBL-EBI-TSI/butler | provision/base-image/install-packages.sh | Shell | gpl-3.0 | 1,110 |
export PANDOC_CSS=markdown
export PANDOC_OPTS=
function pandoc-md2html() {
local file=${1:?Specify markdown input file}
local ofile=${1%.*}.html
pandoc --standalone \
--self-contained \
--highlight pygments \
--css $SCRIPTS/var/lib/pandoc/$PANDOC_CSS... | vpenso/scripts | var/aliases/pandoc.sh | Shell | gpl-3.0 | 433 |
#!/usr/bin/env bash
THIS=$(perl -MCwd -le 'print Cwd::abs_path(shift)' "${BASH_SOURCE[0]}")
DIR=$(dirname $THIS)
VIRTUALENV=$DIR/../../lib/test_env $DIR/../python -m pimlico.test.suite $DIR/../../test/suites/all.csv $*
| markgw/pimlico | bin/test/all_test_pipelines.sh | Shell | gpl-3.0 | 220 |
printf "\n\n##### Beginning 00000-make-environment-variables-persist.sh\n\n" >> /root/report/build-report.txt
##### CONVERT BASH VARIABLES TO ENVIRONMENT VARIABLES
export HOSTNAME=$HOSTNAME
export DOMAIN=$DOMAIN
export HOSTINGSERV=$HOSTINGSERV
export DEV=$DEV
export TARGETEMAIL=$TARGETEMAIL
export COUNTRY=$COUNT... | bradchesney79/2017-Debian-Jessie-Secure-WebApp-Server | scripts/00000-make-environment-variables-persist.sh | Shell | gpl-3.0 | 1,714 |
#!/bin/sh -xu
# Input Parameters
ARG_PATH="$NZBPP_DIRECTORY"
ARG_NAME="$NZBPP_NZBNAME"
ARG_LABEL="$NZBPP_CATEGORY"
# Configuration
CONFIG_OUTPUT="$HOME/Media"
filebot -script fn:amc --output "$CONFIG_OUTPUT" --action duplicate --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y excludeL... | filebot/plugins | bash/nzbget-postprocess.sh | Shell | gpl-3.0 | 501 |
#!/bin/bash
# For Raspbian Buster Lite
# wget https://github.com/pindanet/Raspberry/raw/master/domoticaController_install.sh
# bash domoticaController_install.sh
# ToDo
# Activate Serial Hardware
# Activate PiCamera
# Hardware
# BME280 I2C Temperature and Pressure Sensor
# 3v3 - Vin (Bordeau)
# Gnd (6) - Gnd (Gray)
#... | pindanet/Raspberry | domoticaController_install.sh | Shell | gpl-3.0 | 18,577 |
#!/usr/bin/env bash
set -ex
apt update
apt install -y git g++ cmake zlib1g-dev openssl libssl-dev python libbz2-dev lcov uuid-dev
git submodule update --init --recursive
# Build xrootd, use cache if available
if [[ "$XRD_BUILD" == "" ]]; then
XRD_BUILD=$PWD/xrootd
fi
if [ ! "$(ls -A $XRD_BUILD)" ]; then
mkdir -... | gbitzes/quarkdb | utils/ubuntu-asan.sh | Shell | gpl-3.0 | 891 |
#!/bin/bash
. /etc/swizzin/sources/functions/utils
active=$(systemctl status rclone@* | grep -m1 .service | awk '{print $2}')
if [[ -n $active ]]; then
systemctl disable --now $active
fi
rm_if_exists /usr/bin/rclone
rm_if_exists /usr/sbin/rclone
rm_if_exists /etc/systemd/system/rclone@.service
rm_if_exists /usr/lo... | liaralabs/swizzin | scripts/remove/rclone.sh | Shell | gpl-3.0 | 377 |
#!/bin/sh
#
# Copyright (c) 2016 The Ontario Institute for Cancer Research. All rights reserved.
#
# This program and the accompanying materials are made available under the terms of the GNU Public License v3.0.
# You should have received a copy of the GNU General Public License along with ... | icgc-dcc/dcc-iobio | dcc-iobio-vcf/bin/vcfReadDeptherHelper.sh | Shell | gpl-3.0 | 2,521 |
#!/bin/bash
#
# File: runTest.bash
# Author: gad
#
# Created on Jun 29, 2015, 12:39:40 PM
#
while true
do
#echo $vm_migrate
mosquitto_pub -t "fast/migfra/bebo/status" -f vm_migrate.yml
sleep 1
mosquitto_pub -t "fast/migfra/bebo/status" -f vm_started.yml
sleep 1
mosquitto_pub -t "fast/m... | fast-project/dummy-scheduler | examples/runTest.bash | Shell | gpl-3.0 | 539 |
#!/bin/bash
red_dot="<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA
AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9
TXL0Y4OHwAAAABJRU5ErkJggg==' alt='red_dot' />"
mkusb24_png="<img class='inline-image' src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB
gAAAAYCAYAAADgdz34AAAABHNCSVQICAgI... | Israel-/mkusb | icons/inline0.bash | Shell | gpl-3.0 | 2,371 |
#!/usr/local/bin/bash
# DO NOT EDIT THESE LINES
#@MACRO:getscore-f:{m:exe} -x {m:arg1} --silent --dir -exec "{m:spec1} $(basename {arg}) score"
#
## Retrieves game info using giantbomb API (XML)
#
## Usage (macro): ./dirupdate -m getscore-f --arg1=/path/to/games
#
## To use this macro, place script in the same directo... | nixnodes/glutil | freebsd/scripts/gb_get.sh | Shell | gpl-3.0 | 2,079 |
#!/bin/bash
while true
do
apt-get update
apt-get -y install inkscape
clear scr
echo " Inkscape has been successfully installed"
done | Priority-Cliqk/Priority-Cliqk | Inkscape.sh | Shell | gpl-3.0 | 134 |
# 400_restore_duplicity.sh
# This file is part of Relax-and-Recover, licensed under the GNU General
# Public License. Refer to the included COPYING for full text of license.
#
# Restore from remote backup via DUPLICIY over rsync
if [ "$BACKUP_PROG" = "duplicity" ]; then
LogPrint "=================================... | N3WWN/rear | usr/share/rear/restore/DUPLICITY/default/400_restore_duplicity.sh | Shell | gpl-3.0 | 4,534 |
#!/bin/sh
export GR_DONT_LOAD_PREFS=1
export srcdir=/home/katsikas/gnuradio/gnuradio-core/src/python/gnuradio/gr
export PATH=/home/katsikas/gnuradio/build/gnuradio-core/src/python/gnuradio/gr:$PATH
export LD_LIBRARY_PATH=/home/katsikas/gnuradio/build/volk/lib:/home/katsikas/gnuradio/build/gruel/src/lib:/home/katsikas/g... | katsikas/gnuradio | build/gnuradio-core/src/python/gnuradio/gr/qa_fractional_interpolator_test.sh | Shell | gpl-3.0 | 626 |
grep -v -e "^#" | cut -f1,2 | sed 's/\t/,/'
| EvolBioInf/sid | scripts/vcfsite2csv.sh | Shell | gpl-3.0 | 45 |
#!/bin/sh
#-------------------------------------------------------------------------------
# Define required Zep version:
ZEP_VER=1.14
# Iff installed at nonstandard location, define installation location here:
#ZEP_DIR=/opt/zep
#-------------------------------------------------------------------------------
USE=`... | UiL-OTS-labs/ZEP-detection-task-xin-li | linux-terminal.sh | Shell | gpl-3.0 | 2,894 |
#!/usr/bin/env bash
#Easy utilities and mappings for debugging with kubernetes
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
REPO="$( cd "$DIR/../" && pwd )"
alias cr="kubectl create -f $REPO/Containers/Orca-Deployment.yml"
alias de="kubectl delete -f $REPO/Containers/Orca-Deployment.yml"
alias cdr="cd $RE... | pallavagarwal07/SummerOfCode16 | utilities/kubeUtils.sh | Shell | gpl-3.0 | 2,160 |
#!/bin/sh
# Not all of these dependencies below may be covered automatically by PTS
# sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
# sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev libatlas-base-dev
# sudo apt-get install --no-in... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/tensorflow-1.0.0/install.sh | Shell | gpl-3.0 | 574 |
# 1 - serialized results, 2 - output file path and prefix
java -cp ../target/Backstage-5.1-SNAPSHOT-jar-with-dependencies.jar st.cs.uni.saarland.de.saveData.ApiResultsProcessor -i $1 -o $2
| uds-se/backstage | scripts/api_extraction.sh | Shell | gpl-3.0 | 189 |
#!/bin/bash
wget https://files.phpmyadmin.net/phpMyAdmin/4.0.10.19/phpMyAdmin-4.0.10.19-all-languages.tar.gz
| jianyingdeshitou/docker-centos6 | phpmyadmin-c6/files/get-phpmyadmin.sh | Shell | gpl-3.0 | 110 |
#!/bin/bash
#
# SLURM batch script to launch BLAST
#
#SBATCH -p nbi-medium # partition (queue)
#SBATCH -N 1 # number of nodes
#SBATCH -n 1 # number of cores
#SBATCH --mem 30000 # memory pool for all cores
#SBATCH -t 2-00:00 # time (D-HH:MM)
#SBATCH -o /nbi/Research-Groups/NBI/Cristobal-Uauy/PB_AFLF/control_timecourse/T... | philippaborrill/AFLF_timecourse_control | blast_protein_seq.sh | Shell | gpl-3.0 | 2,633 |
#!/usr/bin/env bash
rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/cuts/scripts/rofi/launcher.rasi
| SubhrajitPrusty/dotfiles | config/polybar/cuts/scripts/launcher.sh | Shell | gpl-3.0 | 130 |
#!/bin/bash
#
# Wrapper startup script for iPrint
# Bob Brandt <projects@brandt.ie>
#
#
### BEGIN INIT INFO
# Provides: brandt-iprint
# Required-Start: $ALL
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: iPrint-Server
# Description: Wrappe... | robertwbrandt/init.d | oes/iprint.sh | Shell | gpl-3.0 | 12,907 |
#!/usr/bin/env bash
# Root Author: Lindsey Simon
YUI_COMPRESS='tools/yuicompressor/build/yuicompressor.jar'
# --CSS--
CSS_FILES=$(ls -1 ./static/css/*css |grep -v compiled) # All CSS files instead of compiled version
TMP_CSS_FILE='/tmp/MY_GAE_APP.css.tmp' # Location for joined version of CSS_FILE... | pombredanne/SmartNotes | tools/deploy.sh | Shell | gpl-3.0 | 1,532 |
# Test for features in dd
# true if dd supports oflag= option
FEATURE_DD_OFLAG=
dd_version=$(get_version "dd --version")
if version_newer "$dd_version" 5.3.0; then
FEATURE_DD_OFLAG="y"
fi
# we assume that REAL_USB_DEVICE and RAW_USB_DEVICE are both set from the script
# in prep/USB/Linux-i386/350_check_usb_disk.s... | aussendorf/rear | usr/share/rear/output/USB/Linux-i386/850_make_USB_bootable.sh | Shell | gpl-3.0 | 1,945 |
#!/bin/sh
echo "Installing backdrop to " . $DOCROOT
# Go to domain directory.
cd $DOCROOT
#download latest backdrop CMS.
$B -y dl backdrop
mv backdrop/* ./
mv backdrop/.htaccess ./
rm -rf backdrop
# set config directory.
cat >> settings.php <<_EOF
\$config_directories['active'] = '$DOCROOT/files/config/active';
... | Zen-CI/docs.zen.ci | scripts/backdrop_install.sh | Shell | gpl-3.0 | 693 |
#!/bin/bash
if [[ ! -d ../src ]]; then
cd scripts
fi
if [[ ! -d ../src ]]; then
echo ================ !ERROR! =================
echo No source folder!
echo ================ !ERROR! =================
exit
fi
FILES=`find ../src -type f -name \*.cc -o -name \*.h`
for file in $FILES
do
echo >> result-c... | kostyfisik/jade | scripts/do-lint.sh | Shell | gpl-3.0 | 482 |
#!/bin/sh
# This script is a template which must be updated if one wants to use the universal MSS driver.
# Your working version should be in this directory server/bin/cmd/univMSSInterface.sh.
# Functions to modify: syncToArch, stageToCache, mkdir, chmod, rm, stat
# These functions need one or two input parameters whi... | da-nrw/DNSCore | ContentBroker/src/main/bash/univMSSInterface.sh | Shell | gpl-3.0 | 7,318 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 2/logs/w-11_2/20170125T233320+0000/00/00/sessioncompute_5_ID0000008.sh | Shell | gpl-3.0 | 1,228 |
#!/bin/bash
declare -a ARRAY=(
"abc"
"123"
"foo"
)
for i in "${ARRAY[@]}"; do
echo "i=>$i"
done
| junjiemars/kit | all/snippet/shell/iterate.sh | Shell | gpl-3.0 | 106 |
#!/bin/bash
PROGNAME=${0##*/}
PROGVERSION=0.9.0
usage()
{
cat << EO
Usage: $PROGNAME [options]
$PROGNAME -o <version> -c
Increase the .deb file's version number, noting the change in the
Options:
EO
cat <<EO | column -s\& -t
-h|--help & show this output
... | venediktov/vanilla-rtb | examples/ab.sh | Shell | gpl-3.0 | 2,283 |
#!/bin/sh
set -e
DIR="$(cd $(dirname $0); pwd)"
VENV="$DIR/venv"
python3 -m venv "$VENV"
"$VENV/bin/python" -m pip -q install -r "$DIR/requirements.txt"
exec "$VENV/bin/python" -m sphinx.cmd.build "$@"
| magenta-aps/mox | doc/sphinx-build.sh | Shell | mpl-2.0 | 206 |
#!/bin/bash
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (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.mozilla.org/M... | bunnyblue/nss-3.12.6-android | mozilla/security/nss/tests/common/cleanup.sh | Shell | mpl-2.0 | 3,145 |
#!/bin/bash
cat $1 |
while read line
do
a=`echo $line | cut -d '.' -f1`
b=`echo $line | cut -d '.' -f2`
c=`echo $line | cut -d '.' -f3`
d=`echo $line | cut -d '.' -f4`
num=`expr $a \* 256 \* 256 \* 256 + $b \* 256 \* 256 + $c \* 256 + $d`
echo $num >> ip2.c
done
| jin13417/Linux-C-C--learning | shell/ip.sh | Shell | agpl-3.0 | 270 |
#!/bin/bash
# -*- ENCODING: UTF-8 -*-
# Launch this script from path /test/acceptance/
# ./acceptance*.sh
echo "// Environment CHECKS before tests //"
SERVICES="mongod redis-server"
RUSH="consumer.js listener.js"
# check if each service is running
for service in $SERVICES
do
# if current service is running, dont d... | telefonicaid/Rush | test/e2e/acceptance.e2e.sh | Shell | agpl-3.0 | 1,382 |
#!/bin/sh
if [ ! -e "./cert.pem" ] || [ ! -e "./key.pem" ]
then
echo ">> generating self signed cert"
openssl req -x509 -newkey rsa:4086 \
-subj "/C=XX/ST=XXXX/L=XXXX/O=XXXX/CN=${CN}" \
-keyout "./key.pem" \
-out "./cert.pem" \
-days 3650 -nodes -sha256
fi | gabriel-farache/calendar | Front-End/generateCertificates.sh | Shell | agpl-3.0 | 269 |
#! /bin/bash
# run from project root .. to this file
7za e -p${key} res.7z -ores | CaptainCourierIntegration/captain-courier-cidr | script/decrypt.bash | Shell | agpl-3.0 | 80 |
#!/usr/bin/env bash
cd `dirname $BASH_SOURCE` && cd ../openassessment/xblock/static
sass --update sass:css --force --style compressed
| EDUlib/edx-ora2 | scripts/sass.sh | Shell | agpl-3.0 | 135 |
#!/bin/bash
set -e
uploadDocs()
{
for modName in $@; do
pushd $modName > /dev/null
rm -rf GI
cabal clean
cabal upload -d
popd > /dev/null
done
}
uploadDocs $(./PKGS.sh)
| ford-prefect/haskell-gi | bindings/uploadDocs.sh | Shell | lgpl-2.1 | 199 |
#!/bin/bash
basever=$(ghc-pkg list base)
unamestr=$(uname)
# Packages compatible with base >= 4.7
base47PKGS="GLib GObject Atk Gio Secret cairo Pango PangoCairo GdkPixbuf Gdk Gtk GtkSource Soup GIRepository Poppler JavaScriptCore-3.0 WebKit Vte Notify OSTree"
# Packages compatible with base >= 4.8
base48PKGS="Gst GstB... | ford-prefect/haskell-gi | bindings/PKGS.sh | Shell | lgpl-2.1 | 736 |
#!/bin/sh
#
# Thicket
# https://github.com/d-plaindoux/thicket
#
# Copyright (c) 2015-2016 Didier Plaindoux
# Licensed under the LGPL2 license.
#
#
# Set the Thicket home
#
RELATIVE=`dirname "$0"`/..
THICKET_HOME="`cd \"$RELATIVE\" 2>/dev/null && pwd || echo \"$RELATIVE\"`"
#
# Set the Thicket site
#
THICKET_SIT... | d-plaindoux/thicket | bin/thicket_package.sh | Shell | lgpl-2.1 | 469 |
#!/bin/sh
ETCDCTL=/usr/bin/etcdctl
if [ ! -x $ETCDCTL ]; then
echo "ERROR: Missing $ETCDCTL, exiting $0"
exit 1
fi
AWSCLI=/opt/data/tools/awscli
if [ ! -x $AWSCLI ]; then
echo "ERROR: Missing $AWSCLI, exiting $0"
exit 1
fi
[ -z $ENV_TECH_ID ] && echo "ERROR: No environment tech id given, exiting $0" && exit... | nuxeo/nuxeo.io | tools/initialize-bucket.sh | Shell | lgpl-2.1 | 2,462 |
python -m serial.tools.miniterm -p $1 -b 38400 --rts=0 --dtr=0
| dmitriy5181/yaha-common | terminal.sh | Shell | unlicense | 63 |
pipeline_name=regulation_effect_38_98
pipeline_dir=/hps/nobackup2/production/ensembl/anja/release_98/mouse/regulation_effect/
species=mouse
HIVE_SRV=mysql-ens-var-prod-3-ensadmin
init_pipeline.pl Bio::EnsEMBL::Variation::Pipeline::RegulationEffect_conf \
$($HIVE_SRV details hive) \
-pipeline_name $pipeline_name \
-pipe... | at7/work | pipelines/scripts/run_regulation_mouse_38.sh | Shell | apache-2.0 | 366 |
#!/bin/bash
java -Xmx5000M -Djava.library.path="./huginlink/huginlib/" -cp "./huginlink/huginlib/*:./core/target/*:./examples/target/*:./moalink/target/*:./huginlink/target/*:./flinklink/target/*:./extensions/uai2016/target/*:./extensions/nips2016/target/*" $@
| amidst/toolbox | run.sh | Shell | apache-2.0 | 262 |
#!/usr/bin/bash
#
# This file is part of the KubeVirt project
#
# 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... | mpolednik/kubevirt | images/libvirt-kubevirt/libvirtd.sh | Shell | apache-2.0 | 2,588 |
#!/bin/bash
usage() {
echo "Usage:"
echo " start.sh <-c conf_name> [-p prop_file]"
echo "Description:"
echo " conf_name: the dir name in conf directory. eg: licai-cifdb"
echo " prop_file: the path to hsb.properties. eg: /home/work/soft/sh-key.properties"
exit -1;
}
CONFIG=""
PROPERTIES=""
CURRENT_DIR="${PWD}"
... | fengshao0907/heisenberg_beta | assembly/bin/start.sh | Shell | apache-2.0 | 1,482 |
#!/bin/bash
# Copyright 2019 Google LLC
#
# 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 agreed to ... | googleapis/sample-tester | examples/mock-samples/samples/vision/product-search/list_products.sh | Shell | apache-2.0 | 952 |
#!/bin/bash
pushd ./provision
mongo ./environment.js
mongo ./oauth.js
mongo ./product.js
mongo ./services.js
mongo ./tenant.js
popd
pushd ./urac
mongo ./urac.js
popd | soajs/soajs.mongodb.data | modules/oauth/import.sh | Shell | apache-2.0 | 166 |
#!/bin/bash
fail() {
echo "Usage: $0 disk_name disk_size master_vm"
echo " disk_name: name of PD to create (e.g. git-server-data)"
echo " disk_size: size including unit (e.g. 500GB)"
echo " master_vm: name of the master VM (to use to format the disk)"
echo "$@" >&2
exit 1
}
# This assumes you have used... | kylelemons/dockerfiles | git-server/setup_pd.sh | Shell | apache-2.0 | 1,237 |
#!/bin/bash
# Copyright 2020 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | googleapis/python-service-management | .kokoro/release.sh | Shell | apache-2.0 | 1,284 |
#!/bin/sh
#
# Docker script to configure and start an IPsec VPN server
#
# DO NOT RUN THIS SCRIPT ON YOUR PC OR MAC! THIS IS ONLY MEANT TO BE RUN
# IN A DOCKER CONTAINER!
#
# This file is part of IPsec VPN Docker image, available at:
# https://github.com/hwdsl2/docker-ipsec-vpn-server
#
# Copyright (C) 2016-2019 Lin So... | MaoJianwei/Docker_Image_DockerFile | IPSEC/run.sh | Shell | apache-2.0 | 11,993 |
#!/bin/bash
function usage {
echo ""
echo "Usage: $0: -l token -o org -t team -c condition -d description -k apikey [-r period] [--disabled]"
echo " -l value, --token=value"
echo " Cave login token"
echo " -o value, --org=value"
echo " Cave organi... | gilt/cave-tools | bin/create_alert.sh | Shell | apache-2.0 | 2,830 |
#!/bin/bash
#set -o errexit
set -o nounset
set -o pipefail
#set -x
if [ "$TRAVIS_PULL_REQUEST_BRANCH" != "" ]; then
echo "Test of container skipped for PR. Container will be tested and uploaded after merge."
exit 0
fi
DATE=$(date "+%Y%m%d")
WD="$(pwd)/bird-container/tmp-$DATE"
IMG_ID=$(tail -n 10 $WD/buil... | xenolog/kargo-multirack | CI/container_DS-Calico_test.sh | Shell | apache-2.0 | 8,651 |
#!/bin/bash
./startNginx.sh
echo
cd ElectionHandler/ ; ./run.sh
| escapin/ElectionManager | run.sh | Shell | apache-2.0 | 68 |
#!/bin/bash
AUTOBASE="/autobuild"
# source file which exports all variables
if [ -f ${AUTOBASE}/settings.conf ]; then
source ${AUTOBASE}/settings.conf
fi
# run all install scripts
for i in $(ls -1 /autobuild/*/install.sh); do
if [ -x ${i} ]; then
${i}
else
echo "Warning: unable to run ins... | gombadi/honeygot | aws/autobuild/install.sh | Shell | apache-2.0 | 576 |
#!/bin/bash -e
# This script builds a docker container with dev. environment on demand and runs specified shells command there.
THIS_SCRIPT=`realpath $0`
REPO_DIR=`dirname $THIS_SCRIPT`
DOCKERFILE_DIR=$REPO_DIR/build-scripts
[ -f /.dev-env ] && { echo "You are already inside the dev-env shell!"; exit 1; }
# Avoiding re... | project-oak/oak-enclave | cheri-hackathon/dev-env.sh | Shell | apache-2.0 | 900 |
#!/usr/bin/env bash
#
# Copy env variables to app module gradle properties file
#
# Reliably include our config file
DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
. "$DIR/config.sh"
set +x // dont print the next lines on run script
mkdir ~/.gradle
printenv | tr ' ' '\n' | grep $ENV_VAR_PREFIX > ... | stealthcopter/AndroidNetworkTools | scripts/cp-env-to-properties.sh | Shell | apache-2.0 | 355 |
# ---------------------------------------------------------------------------
# Sample environment script for OpenJMS
#
# This is invoked by openjms.sh to configure:
# . the CLASSPATH, for JDBC drivers
# . JVM options
# . JSSE, when using the TCPS connector
# ------------------------------------------------------------... | SLAsticSPE/slastic | bin/openjms-0.7.7-beta-1/bin/setenv.sh | Shell | apache-2.0 | 753 |
#!/bin/bash
# Copyright 2016 Port Direct
#
# 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 agreed to... | portdirect/harbor | docker/openstack/openstack-horizon/common-assets/opt/harbor/horizon/config-apache.sh | Shell | apache-2.0 | 2,258 |
#!/bin/bash
function stopServer {
#Kills Python server and exits
echo "Sending kill to Python -> $python_pid"
kill -s 9 $python_pid
exit 0
}
sendError()
{
#Notifies Node.js that create_env script crashed
if [ "$#" -gt "0" ];then
echo "$1"
echo "@ERROR@|$1|"
if [ "$#" -gt "1" ];then
if [[ ! -z "$2" ]];t... | StingraySoftware/dave | src/main/resources/bash/activate_and_launch.bash | Shell | apache-2.0 | 2,397 |
#!/usr/bin/env bash
#
# This script builds the application from source for multiple platforms.
set -e
# Get the parent directory of where this script is.
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
DIR="$( cd -P "$( dirname "$SOURCE" )/../../" && pwd )"
# Change into th... | gkGaneshR/maya | buildscripts/mayactl/build.sh | Shell | apache-2.0 | 2,727 |
#!/bin/bash
# Install some packages
sudo apt-get -y update
sudo apt-get install -y python-dev
sudo apt-get install -y python-pip
cd /home/ubuntu/
git clone https://github.com/rasros/CloudTranscoderLTH2.git
export LC_ALL=C
sudo echo "10.0.0.9 waspmq" >> /etc/hosts
sudo echo "129.192.68.4 xerces.ericsson.net" >> /etc/... | rasros/CloudTranscoderLTH2 | entry-init.sh | Shell | apache-2.0 | 427 |
#!/bin/bash
#compress
aws s3 sync dist/css s3://xdevel.com.br/css --acl=public-read --delete --cache-control="max-age=31536000" --content-encoding="gzip"
aws s3 sync dist/less s3://xdevel.com.br/less --acl=public-read --delete --cache-control="max-age=31536000" --content-encoding="gzip"
aws s3 sync dist/js s3://xdeve... | priscilaneves/startbootstrap-grayscale | s3cmd.sh | Shell | apache-2.0 | 1,236 |
#!/usr/bin/env bash
MIRROR_LIST="http://www.apache.org/dyn/closer.cgi"
#MIRROR=$(curl $MIRROR_LIST | grep strong | grep href | head -1 | cut -f 2 -d'"')
MIRROR=http://archive.apache.org/dist
echo USING MIRROR: $MIRROR
echo Pull Hadoop
HADOOP_VERSION=2.6.5
echo Pulling and extracting Hadoop...
curl -SsfL "$MIRROR/had... | JamesLampton/piggybank-squeal | src/main/kubernetes/heron_piggybank_squeal/fetch_and_install.sh | Shell | apache-2.0 | 608 |
#!/bin/bash
dropdb tournament
createdb tournament
psql -d tournament -f tournament.sql
| erikarthur/P2_Tournament | vagrant/setup.sh | Shell | apache-2.0 | 87 |
#!/bin/bash
xterm -rv -maximized -e /home/root/Respi-Rite/Software/Code/run_main.sh
| Duke-Medical-Instrumentation/Respi-Rite | Software/FinalCode/debugFiles/run_main.sh | Shell | apache-2.0 | 84 |
#!/bin/bash
pwd
g++ $gccBaseSwitch $gccExtraSwitch -I../../../../src LuvCH2cmy.cpp -o LuvCH2cmy
g++ $gccBaseSwitch $gccExtraSwitch -I../../../../src LuvCH2cmyk.cpp -o LuvCH2cmyk
g++ $gccBaseSwitch $gccExtraSwitch -I../../../../src LuvCH2gray.cpp -o LuvCH2gray
g++ $gccBaseSwitch $gccExtr... | dmilos/color | example/less-than-1k/assign/LuvCH/make.sh | Shell | apache-2.0 | 2,901 |
#!/bin/bash
# Verify user is root
if [[ $(id -un) != 'root' ]]; then
echo "This script can only be run as root!"
exit 3
fi
# cobbler subdirs
cobbler_dirs="
etc/cobbler/power
var/lib/cobbler/kickstarts
var/lib/cobbler/triggers/sync/post
var/www/cobbler/aux/xenserver
"
# The aux/xenserver w... | apereira/mothership | xenserver/xenserver_mod.sh | Shell | apache-2.0 | 676 |
#!/bin/bash
. 000_define.sh
eix-sync
emerge ${verbose} ${ask} -uND --with-bdeps=y --keep-going @world
dispatch-conf
emerge ${verbose} ${ask} @preserved-rebuild
dispatch-conf
emerge ${verbose} ${ask} --depclean
| ppv77/qsgentoo | addon_update_world.sh | Shell | apache-2.0 | 214 |
# -----------------------------------------------------------------------------
#
# Package : fastparallel
# Version : 2.3.0
# Source repo : https://github.com/mcollina/fastparallel
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com>... | ppc64le/build-scripts | f/fastparallel/fastparallel_rhel_8.3.sh | Shell | apache-2.0 | 3,068 |
#! /bin/bash
set -eu -o pipefail
export DOCKER_CLI_EXPERIMENTAL=enabled
channel="${EXPEDITOR_CHANNEL:-unstable}"
version="${EXPEDITOR_VERSION:?You must manually set the EXPEDITOR_VERSION environment variable to an existing semantic version.}"
docker_login_user="expeditor"
docker_login_password="$(vault read -field=e... | MsysTechnologiesllc/chef | .expeditor/promote-docker-images.sh | Shell | apache-2.0 | 1,300 |
#!/usr/bin/env bash
# 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 ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "Lic... | siddharthteotia/arrow | ci/travis_install_toolchain.sh | Shell | apache-2.0 | 1,579 |
#!/bin/bash -e
# Copyright 2018 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | GoogleCloudPlatform/gke-cloud-sql-postgres-demo | scripts/pgadmin_deployment.sh | Shell | apache-2.0 | 1,066 |
#!/bin/bash
# treat unset variables as an error when substituting.
set -u
# exit immediately if a command exits with a nonzero exit status.
set -e
py.test -x
touch temp.db && rm temp.db
django-admin.py migrate --noinput
django-admin.py demo_data_login
django-admin.py init_app_mail
django-admin.py demo_data_mail
django... | pkimber/mail | init_dev.sh | Shell | apache-2.0 | 340 |
#!/bin/bash
# Copyright 2015 Google Inc.
#
# 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 agreed to ... | yyao39/mu23sandbox | testing/install_test_dependencies.sh | Shell | apache-2.0 | 3,582 |
#! /bin/sh
# Copyright (C) 2014 VA Linux Systems Japan K.K.
# Copyright (C) 2014 YAMAMOTO Takashi <yamamoto at valinux co jp>
# 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... | budnyjj/ofagent | tools/misc-sanity-checks.sh | Shell | apache-2.0 | 2,442 |
df -h|sed '1,8d'| cut -d"%" -f2 >aldisks_list.txt
cat alldisks_list.txt |sed "s|^| mkdir /mnt/"$HOSTNAME"/|g" | sed 's|/ /|/|g' >all_mkdir.sh
cat alldisks_list.txt |sed "s|^| chown vhuang /mnt/"$HOSTNAME"/|g" | sed 's|/ /|/|g' >all_chown.sh
cat alldisks_list.txt |sed "s|^|sshfs -o follow_symlinks -o idmap=user "... | bayvictor/distributed-polling-system | bin/make_all_ssfs_for_outsiders.sh | Shell | apache-2.0 | 983 |
#!/bin/bash
# Run from K3 Base directory
set -e
if [ $# -ne 3 ]
then
echo "Usage: $0 k3_source test_dir results_var"
exit 1
fi
INFILE=$1
TESTDIR=$2
RESULTVAR=$3
KTRACE=./tools/ktrace
# Remove old executables
rm __build/A __build/__build/* || true
# Compile the K3 executable
./tools/scripts/run/compile.sh ... | yliu120/K3 | tools/ktrace/run_test.sh | Shell | apache-2.0 | 880 |
#!/usr/bin/env bash
# This script should be used for calling a vote for a release candidate.
# In addition to publishing the source tarball to svn repo this script
# also deploys the corresponding jar to a staging Maven repo.
set -e
# Use 'atexit' for cleanup.
. $(dirname ${0})/atexit.sh
# Use colors for errors.
. ... | asamerh4/mesos | support/vote.sh | Shell | apache-2.0 | 5,199 |
#!/usr/bin/env bash
BASE_DIR="$HOME/.vim"
PLUGIN_DIR="$BASE_DIR/bundle"
COLORS_DIR="$BASE_DIR/colors"
AUTOLOAD_DIR="$BASE_DIR/autoload"
PLUGINS=(
"tpope/vim-pathogen"
"kien/ctrlp.vim"
"vim-airline/vim-airline"
"vim-airline/vim-airline-themes"
"scrooloose/nerdtree"
"dracula/vim"
"tomasiser/vim-code-dark"
... | mpa80/dotfiles | bin/vim-setup.sh | Shell | bsd-2-clause | 710 |
#!/bin/bash
./clear.sh
./run.sh \
-m 1024 \
-s 2 \
-r 1000 \
-R True \
-S $$ \
-c 2 \
2>&1
| aijunbai/bandit | python/test-laptop.sh | Shell | bsd-2-clause | 121 |
#!/bin/bash
#
# chkconfig: 345 90 1
# Description: Thales
# Provides: thales
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
#
# Set PROJ_DIR to the directory where the Thales project sources are installed.
PROJ_DIR="/home/thales/thales"
# Set UNICORN to the Unicorn program. If using RVM, this will be the wrapper
# s... | uq-eresearch/thales | script/initd-thales-basic.sh | Shell | bsd-2-clause | 2,796 |
umount //172.23.0.1/TRANSPHERE
mount
echo --------------------------------------------------------------
read dummy
| BerndDammer/LinuxUsage25 | smb/umount.sh | Shell | bsd-2-clause | 116 |
#! /bin/bash
# WARNING: this will DELETE EVERYTHING, including mongo and the filestore.
#
# This script restores from a specific backup. First, it pulls the backup
# from our backup box (backup.medbook.io). Then it restores both mongo
# and the filestore from that backup.
#
# When running this on an Azure box, it's us... | UCSC-MedBook/MedBook_ | dev-ops/restore_from_backup.sh | Shell | bsd-3-clause | 2,430 |
#!/usr/bin/env bash
# Generate a minimal filesystem for archlinux and load it into the local
# docker as "archlinux"
# requires root
set -e
export LANG="C.UTF-8"
ROOTFS=$(mktemp -d ${TMPDIR:-/var/tmp}/rootfs-archlinux-XXXXXXXXXX)
chmod 755 $ROOTFS
# mkdir -p $ROOTFS/usr/bin/ $ROOTFS/{dev,proc,root,etc,bin,tmp,sys,run... | archslim/rootfs | mkimage.sh | Shell | bsd-3-clause | 2,301 |
# This file is sourced by both runcnc and run_all_tests
# This represents a set of default compile-time and run-time options
# for GHC that are used for all benchmarks.
# -fvia-C
#GHC_DEFAULT_FLAGS=" -fasm -O2"
# For 6.13:
# TOGGLE
#GMAP=
GMAP="-DUSE_GMAP"
if [ "$CNCOPT" == "" ];
then CNCOPT="-O2"
fi
# [2010.10... | rrnewton/Haskell-CnC | default_opt_settings.sh | Shell | bsd-3-clause | 709 |
#!/bin/sh
# https://www.piriform.com/ccleaner/download
VERSION="107"
DMG="CCMacSetup${VERSION}.dmg"
MNTPATH="./${DMG}.mount"
APPNAME="CCleaner.app"
APPPATH="/Applications/${APPNAME}"
URL="http://download.piriform.com/mac/${DMG}"
if [ ! -f "${DMG}" ] || [ "${REINSTALL}" == "true" ]; then
echo "Downloading: ${URL}... | westurner/dotfiles | scripts/setup_ccleaner.sh | Shell | bsd-3-clause | 747 |
echo "$(sh ./scripts/cpu_script)@$(sh ./scripts/mem_script)@$(sh ./scripts/networktraffic)@$(sh ./scripts/hd_script)"
| mikalcallahan/.dotfiles | ubersicht/bar.widget/scripts/stats.sh | Shell | mit | 118 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.