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 -e
[ -n "${GOPATH:-}" ] && export "PATH=${GOPATH}/bin:${PATH}"
# Always ignore SC2230 ('which' is non-standard. Use builtin 'command -v' instead.)
export SHELLCHECK_OPTS="-e SC2230 -e SC2039 -e SC2028 -e SC2002 -e SC2005"
export BOOTSTRAP_REUSE_LOCAL="${BOOTSTRAP_REUSE_LOCAL:-}"
export BOOTSTRAP_REUSE="${B... | jameinel/juju | tests/main.sh | Shell | agpl-3.0 | 10,328 |
java -cp "/Applications/mallet-2.0.7/class:/Applications/mallet-2.0.7/lib/mallet-deps.jar" cc.mallet.fst.SimpleTagger --model-file crf.model.train1 dataset.test1 > crf.out.train1
| negacy/TIMEXCCP-PYTHON | runTest.sh | Shell | lgpl-2.1 | 182 |
#!/bin/bash
# Note that h2def.py should be in PATH for this script to work and
# JHBUILD_SOURCES should be defined to contain the path to the root of the
# jhbuild sources. Also this script should reside in
# gstreamermm/gstrearmer/src.
if [ -z "$JHBUILD_SOURCES" -o ! -x "`which h2def.py`" ]; then
echo -e "JHBUILD... | peper0/gstreamermm-plugins | gstreamer/src/generate-methods.sh | Shell | lgpl-2.1 | 894 |
#PBS -l nodes=1:ppn=16,mem=32gb,walltime=24:00:00 -j oe -N HTC.ATCC
module load picard
INDIR=bam
GENOME=/bigdata/stajichlab/shared/projects/Candida/HMAC/Clus_reseq/New_ref_assembly/ref/S9.fasta
OUTDIR=Variants
LIST=samples.info
b=`basename $GENOME .fasta`
dir=`dirname $GENOME`
mkdir -p $OUTDIR
CPU=$PBS_NUM_PPN
if [ ... | stajichlab/Candida_lusitaniae | New_ref_genome/pipeline/03_HTC.sh | Shell | lgpl-3.0 | 1,079 |
#
# Configuration file for using the XML library in GNOME applications
#
XML2_LIBDIR="-L/target/lib"
XML2_LIBS="-lxml2 -L/target/lib -lz -lm "
XML2_INCLUDEDIR="-I/target/include/libxml2"
MODULE_VERSION="xml2-2.9.7"
| Haini/dotfiles | .joplin-bin/lib/node_modules/joplin/node_modules/sharp/vendor/lib/xml2Conf.sh | Shell | unlicense | 222 |
#!/usr/bin/env bash
# Come on, give us at least one argument
if [ $# -eq 0 ]; then
echo "No arguments supplied; please supply at least one thread"
exit 1
fi
start=0
cache=""
while IFS=: read field_name field_contents
do
# Strip leading white space
field_name="${field_name#"${field_name%%[![:space:]]*... | alicemargatroid/Misaka-Network | LastOrder/getThread.sh | Shell | unlicense | 1,214 |
#!/bin/sh
DoExitAsm ()
{ echo "An error occurred while assembling $1"; exit 1; }
DoExitLink ()
{ echo "An error occurred while linking $1"; exit 1; }
echo Linking passwords
OFS=$IFS
IFS="
"
/usr/bin/ld.bfd -b elf64-x86-64 -m elf_x86_64 --dynamic-linker=/lib64/ld-linux-x86-64.so.2 -L. -o passwords link.res
if [ $? !... | Insaned79/pass | ppas.sh | Shell | apache-2.0 | 813 |
#!/usr/bin/env bash
# Migrate databases if necessary, sleep allows postgres container to finish launching
sleep 3
python ampcrowd/manage.py syncdb --noinput
# Generate static content
python ampcrowd/manage.py collectstatic --noinput
# Process options
DEVELOP=0
SSL=0
FOREGROUND=0
while getopts "dsf" OPTION
do
case $... | amplab/ampcrowd | ampcrowd/docker-entrypoint.sh | Shell | apache-2.0 | 1,017 |
#!/bin/bash
clip_name=$1
VOLUME_INCREASE=${2:-1}
output_mp4=$3
OUT_DIR=$4
echo $clip_name $VOLUME_INCREASE $output_mp4 $OUT_DIR
offset_clip_id=0
mkdir -p "${OUT_DIR}" &&
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" &&
~/projects/study/code/video/ex/process_shadowing_pronunciation_video_clips... | mertnuhoglu/study | code/video/ex/process_shadowing_pronunciation_video_clips/make_shadowing_video_clips_step02.sh | Shell | apache-2.0 | 1,387 |
#!/bin/bash
IMAGE=--image-family=tf-latest-cpu
INSTANCE_NAME=dlvm
MAIL=vlakshmanan@google.com # CHANGE THIS
echo "Looking for Jupyter URL on $INSTANCE_NAME"
while true; do
proxy=$(gcloud compute instances describe ${INSTANCE_NAME} 2> /dev/null | grep dot-datalab-vm)
if [ -z "$proxy" ]
then
echo -n "."... | GoogleCloudPlatform/bigquery-oreilly-book | 05_devel/find_url.sh | Shell | apache-2.0 | 405 |
#!/bin/bash
# ----------------------
# KUDU Deployment Script
# Version: 0.1.11
# ----------------------
# Helpers
# -------
exitWithMessageOnError () {
if [ ! $? -eq 0 ]; then
echo "An error has occurred during web site deployment."
echo $1
exit 1
fi
}
# Prerequisites
# -------------
# Verify node... | hruan/go-azure | deploy.sh | Shell | apache-2.0 | 3,382 |
#!/usr/bin/bash
grep -q '^user:' /etc/passwd || echo "user:x:$(id -u):0:USER:/root:/bin/bash" >> /etc/passwd
grep -q '^group:' /etc/group || echo "group:x:$(id -G | awk '{print $2}'):user" >> /etc/group
# get initial content for /var/www/html
GIT_DIR=/srv/git/security_meeting.git /root/postreceive.sh
LANG=C /usr/sbi... | joelsmith/images | meeting-oosecurity/root/start.sh | Shell | apache-2.0 | 341 |
#!/bin/bash
. release-common.sh
git_reset() {
git checkout master
git branch -D version-$CEYLON_RELEASE_VERSION
git tag -d $CEYLON_RELEASE_VERSION
git push origin :version-$CEYLON_RELEASE_VERSION
git push origin :$CEYLON_RELEASE_VERSION
git reset --hard $CEYLON_BRANCHING_TAG
}
cd ../ceylon
git_reset
cd... | ceylon/ceylon | release-abort.sh | Shell | apache-2.0 | 548 |
#!/usr/bin/env bash
INTERNAL_IP=${ip}
sudo mkdir -p /var/lib/{kubelet,kube-proxy,kubernetes}
sudo mkdir -p /var/run/kubernetes
sudo mv bootstrap.kubeconfig /var/lib/kubelet
sudo mv kube-proxy.kubeconfig /var/lib/kube-proxy
sudo mv ca.pem /var/lib/kubernetes/
# install docker
curl -sLO https://get.docker.com/builds/L... | yamamoto-febc/kube-sacloud-template | provisioning/bootstrap_kube_workers.sh | Shell | apache-2.0 | 3,381 |
# Delete keychain
security delete-keychain ios-build.keychain
# Remove provisioning profile
rm -f ~/Library/MobileDevice/Provisioning\ Profiles/*
echo "*********************************"
echo "* KeyChain Destroyed *"
echo "*********************************"
| GMSLabs/Hyber-SDK-iOS | travis/scripts/remove-key.sh | Shell | apache-2.0 | 271 |
#!/bin/bash
sh clean.sh
./autogen.sh
AXIS2C_HOME=`pwd`/deploy
export AXIS2C_HOME
./configure --prefix=${AXIS2C_HOME} --enable-tests=no --enable-trace=yes --enable-diclient=no --enable-static=no --enable-openssl=no --with-apache2=/usr/local/apache2/include --with-archive=/usr/include
make
make install
cd tools/tcp... | axbannaz/axis2-c | bindist.sh | Shell | apache-2.0 | 1,272 |
#!/usr/bin/env sh
# generated from catkin/cmake/template/setup.sh.in
# Sets various environment variables and sources additional environment hooks.
# It tries it's best to undo changes from a previously sourced setup file before.
# Supported command line options:
# --extend: skips the undoing of changes from a previou... | Txion001/src_x_os | x_os/devel/setup.sh | Shell | apache-2.0 | 2,533 |
#!/bin/sh
#
# Provisioning script for a vagrant machine.
#
# install Cloduera Repo and update the lists
wget http://archive.cloudera.com/cm4/installer/latest/cloudera-manager-installer.bin
chmod u+x cloudera-manager-installer.bin
update-locale LANG=en_US.UTF-8
export LANG=en_US.utf8
export LC_ALL=en_US.UTF-8
expor... | axemblr/cloudera-manager-api | src/test/resources/vagrant/build-image/install-cm-and-cdh.sh | Shell | apache-2.0 | 1,204 |
#!/bin/bash
#Change NDK to your Android NDK location
NDK=/home/joe/Android/sdk/ndk-bundle
PLATFORM=$NDK/platforms/android-21/arch-arm64/
PREBUILT=$NDK/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64
GENERAL="\
--enable-small \
--enable-cross-compile \
--extra-libs="-lgcc" \
--arch=aarch64 \
--cc=$PREBUILT/b... | joetang1989/Android-Universal-Image-Loader-Study | note/11.FFmpeg编译/build-scripts-of-ffmpeg-x264-for-android-ndk/ffmpeg/build_android_arm64_v8a.sh | Shell | apache-2.0 | 1,073 |
cd /root/event-go-server
NOW="$(date)"
$(mv nohup.log log/nohup-"$NOW".log)
echo "" > nohup.log
nohup npm start > nohup.log 2>&1 &
echo $! > app.pid
| qhccthanh/event-go-server | start.sh | Shell | apache-2.0 | 149 |
#!/usr/bin/env bash
cd "$(dirname "${BASH_SOURCE}")"
git pull origin master
function doIt() {
rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" \
--exclude "README.md" --exclude "LICENSE.md" -av --no-perms . ~
source ~/.bash_profile
}
if [ "$1" == "--force" -o "$1" =... | sporkmonger/dotfiles | bootstrap.sh | Shell | apache-2.0 | 554 |
java TopKIdentifier ../Analysis/Caida/caidaSplit1.csv ../Analysis/Caida/caidaSplit1SizeBySrcIp.csv runTrial Basic 2> ../Analysis/Caida/Caida1MTop300BaselineVal1ProbEvictions.csv
java TopKIdentifier ../Analysis/Caida/caidaSplit1.csv ../Analysis/Caida/caidaSplit1SizeBySrcIp.csv runTrial SpaceSaving 2> ../Analysis/Caida/C... | vibhaa/iw15 | code/runProblematicEvictions2.sh | Shell | apache-2.0 | 365 |
#!/bin/bash
DATE=$(date +"%Y%m%d")
echo Using $DATE as date
ffmpeg -f image2 -r 10 -i "/mnt/nas_plants/$DATE/${DATE}_%03d.jpg" -r 10 -s hd720 -vcodec libx264 /mnt/nas_plants/videos/$DATE.mp4
| rahulpopuri/plants | scripts/timelapse.sh | Shell | apache-2.0 | 193 |
#!/usr/bin/env bash
set -e
set -x
cp -r /root/ssh /root/.ssh
chown -R root:root /root/.ssh
chmod 0600 /root/.ssh/id_rsa
eval $(ssh-agent -s)
ssh -o StrictHostKeychecking=no aptly@${APTLY_SERVER} mkdir -p incoming/lg_ros_nodes/origin/master/
cd /src/lg_ros_nodes/catkin/
scp -o StrictHostKeychecking=no ./debs/*.deb a... | EndPointCorp/lg_ros_nodes | scripts/deploy.sh | Shell | apache-2.0 | 732 |
ssh orchard1@10.0.1.121 'bash ~/Orchard/Scripts/send_log.sh; bash ~/Orchard/Scripts/send_scp.sh'
| useorchard/orchard2 | Python/send_orchard1.sh | Shell | apache-2.0 | 97 |
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
realpath() {
DIRECTORY="$(cd "${1%/*}" && pwd)"
FILENAME="${1##*/}"
echo "$DIRECTORY/$FILENAME"
}
install_reso... | ClegeJJ/CJWeiBo | Pods/Target Support Files/Pods/Pods-resources.sh | Shell | apache-2.0 | 4,913 |
#!/usr/bin/env bash
cd "$(dirname "$0")"
rm -rf google
PROTOC=./node_modules/grpc-tools/bin/protoc.js
for p in $(find ../third_party/googleapis/google -type f -name *.proto); do
$PROTOC \
--proto_path=../third_party/googleapis \
--js_out=import_style=commonjs,binary:./ \
--grpc_out=./ \
"$p"
done
| GoogleCloudPlatform/grpc-gcp-node | cloudprober/codegen.sh | Shell | apache-2.0 | 319 |
#meta keywords below
echo -n '"' | tee --append $metadatatargetpath$uuid/"current-import.csv"
while read keyword
do
echo -n ''$keyword', ' | tee --append $metadatatargetpath"$uuid/current-import.csv"
done < "tmp/"$uuid/$sku"keywords.txt"
| fredzannarbor/pagekicker-community | scripts/includes/keywordreader.sh | Shell | apache-2.0 | 242 |
curl -XPUT 'localhost:9200/mystackoverflow?pretty' -d '
{
"settings" : {
"index" : {
"number_of_shards" : 10,
"number_of_replicas" : 1
}
}
}
'
| stefansavev/elasticsearch-mystackoverflow-example | scripts/create_index.sh | Shell | apache-2.0 | 191 |
#!/bin/sh
ln -sf /etc/nginx/conf.d/health-check-return--drain /etc/nginx/conf.d/health-check-return-cmd
/usr/sbin/nginx -s reload
| eyal-lupu/docker-nginx-healthcheck-webserver | filesystem/usr/sbin/mark-drain.sh | Shell | apache-2.0 | 130 |
echo "Building monkey-ops docker image"
TAG=$1
PROXY=""
if [ "$#" -gt 1 ]; then
PROXY="--build-arg https_proxy=$2"
fi
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o ./image/monkey-ops ./go/*.go
if [ $? = 0 ]
then
docker build ${PROXY} -t produban/monkey-ops:${TAG} -f ./image/Dockerfile ./image
fi | Produban/monkey-ops | build.sh | Shell | apache-2.0 | 319 |
#!/usr/bin/env bash
set -f
# docker stack deploy --compose-file $COMPOSE_PATH/docker-proxy/docker-compose.yml docker-proxy
docker stack deploy --compose-file $COMPOSE_PATH/proxy/docker-compose.yml proxy
sleep 15
docker stack deploy --compose-file $COMPOSE_PATH/visualizer/docker-compose.yml visualizer
docker stack de... | uscdev/compose | scripts/setup/05-docker-deploy.sh | Shell | apache-2.0 | 1,925 |
#!/bin/bash
# Translated languages (update these also to qlcplus.pro)
languages="de_DE es_ES fr_FR it_IT nl_NL cz_CZ pt_BR ca_ES ja_JP"
# Compile all files for the given language into one common qlcplus_<lang>.qm file
function compile {
echo Processing $1
lrelease -silent `find . -name *_$1.ts` -qm qlcplus_$1... | hveld/qlcplus | translate.sh | Shell | apache-2.0 | 435 |
#!/bin/bash
CURRENT_CONFIG_HASH=$(sha1sum /etc/haproxy/haproxy.cfg | cut -f1 -d' ')
NEW_CONFIG_HASH=$(sha1sum /opt/kolla/config_files/haproxy.cfg | cut -f1 -d' ')
if [[ $CURRENT_CONFIG_HASH != $NEW_CONFIG_HASH ]]; then
changed=changed
source /opt/kolla/config-external.sh
/usr/sbin/haproxy -f /etc/haproxy/... | fdumpling/kolla | docker/haproxy/ensure_latest_config.sh | Shell | apache-2.0 | 398 |
#!/usr/bin/env bash
repo_dir="$(dirname $0)/.."
# repo_dir=$(git rev-parse --show-toplevel)
. "${repo_dir}/bin/functions"
if [ $1 ]; then
app=$1
else
echo "You must specify a (valid) app name to install via tp"
exit 1
fi
PATH=$PATH:/opt/puppetlabs/puppet/bin
echo_title "Running tp::install { ${app}: }. Puppet v... | example42/psick | bin/tp_install.sh | Shell | apache-2.0 | 927 |
#!/bin/bash
if [ -z "$local_war" ]; then
echo "local_war is not set"
exit 1
else
echo "local_war is ${local_war}"
fi
if [ -z "$uploaded_war" ]; then
echo "uploaded_war is not set"
exit 1
else
echo "uploaded_war is ${uploaded_war}"
fi
if [ -z "$nested_uploaded_war" ]; then
echo "nested_upl... | alien4cloud/samples | demo-input-artifact/scripts/assert.sh | Shell | apache-2.0 | 540 |
#! /bin/sh
#
# File: swarm-setup-d8.sh
#
# Purpose: Complete setup steps for the Jenkins worker node instance
#
# Pre-conditions:
# Debian 8 OS
# slave.jar is downloaded to the user home directory
# This script is run from the Git repo directory
#
echo 'Create jenkins user'
sudo addgroup build
sudo adduser --disabl... | GoogleCloudPlatformTraining/cpo200-Google-Container-Registry | swarm-setup-d8.sh | Shell | apache-2.0 | 2,673 |
#!/bin/sh -x
sudo valgrind --tool=memcheck -v --demangle=yes \
--leak-check=full \
--leak-resolution=high \
--show-reachable=yes \
--show-possibly-lost=yes \
$1
| thortex/rpi3-webiopi | webiopi_0.7.1/python/native/valgrind.sh | Shell | apache-2.0 | 183 |
# 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 by applicable ... | wrouesnel/ci | sbt-deploy.sh | Shell | apache-2.0 | 2,362 |
#!/bin/bash
#
conda update -y -n base conda
| evansde77/cirrus | containers/ca-anaconda3/install_python.sh | Shell | apache-2.0 | 53 |
#!/bin/bash
docker build --rm -t whlee21/centos6-oracle-jdk17 `dirname $0`
docker images
| whlee21/docker | centos6-oracle-jdk17/docker-build.sh | Shell | apache-2.0 | 90 |
#! /bin/sh
echo "TESTING --first option: "
cp -f "$DIR/first.in" tmp.first.out
$MSRP --first -f -d "Ab" "!!" tmp.first.out
cmp --quiet tmp.first.out "$DIR/first.out" || exit 1
echo "PASSED!"
rm tmp.first.out
| malex984/msrp | test/first.sh | Shell | bsd-2-clause | 216 |
#!/bin/bash
set -e
flake8 cms --exclude migrations
coverage erase
coverage run `which py.test` --ds=test_settings --verbose cms "$@"
coverage report
| universalcore/unicore-cms-django | run_tests.sh | Shell | bsd-2-clause | 152 |
cd $(dirname $0)
if [ ! -d _virtualenv ];
then
virtualenv _virtualenv
fi
_virtualenv/bin/pip install -r requirements.txt
source _virtualenv/bin/activate
nosetests installation_test.py -m'^$'
| mwilliamson/whack-package-apache2-mod-php5 | tests/run-tests.sh | Shell | bsd-2-clause | 197 |
#!/bin/bash
# Copyright © Jonathan G. Rennison 2014 <j.g.rennison@gmail.com>
# License: New BSD License, see BSD-LICENSE.txt
# This script enables password-less sudo access for the following commands for the current login user:
CMDLIST=(
'/usr/bin/apt-get update'
'/usr/bin/apt-get upgrade'
)
# This creates the file... | JGRennison/dotfiles | misc/install_user_nopw_sudoers_d.sh | Shell | bsd-3-clause | 734 |
#!/bin/sh
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This script generates a set of test (end-entity, intermediate, root)
# certificates that can be used to test fetching of an intermediate via AIA... | ltilve/chromium | net/data/ssl/scripts/generate-test-certs.sh | Shell | bsd-3-clause | 9,814 |
#!/bin/bash
scala -classpath ./target/sparse_vector_output-0.0.0.jar GenerateInput ./input 10 10000
| agrippa/spark-swat | functional-tests/sparse-vector-output/generate.sh | Shell | bsd-3-clause | 101 |
../src/slim --ltl -p1 --no-dump --use-mcndfs --use-Ncore=48 --psym queen0.psym --nc queen0.nc queen/queen_13.lmn 1>/dev/null 2>queen/result_mcndfs/queen13
cat queen/result_mcndfs/queen13
../src/slim --ltl -p1 --no-dump --use-mcndfs --use-Ncore=48 --psym queen0.psym --nc queen0.nc queen/queen_14.lmn 1>/dev/null 2>queen/... | ysm001/slim | benchmarkset/queen/queen_bench_mcndfs.sh | Shell | bsd-3-clause | 2,057 |
#!/usr/bin/env bash
set -ex
echo Installing driver dependencies
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql.list
sudo apt-get update
ACCEPT_EULA=Y sudo apt-get install -qy msodbc... | BenMorel/dbal | tests/travis/install-sqlsrv-dependencies.sh | Shell | mit | 360 |
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices ... | EugeneNguyen/XBTransition | Example/Pods/Target Support Files/Pods-XBTransition/Pods-XBTransition-resources.sh | Shell | mit | 3,707 |
#!/bin/bash
#
##########################################################################
#Red Hat Enterprise Linux 6 - DISA STIG Compliance Remediation Content
#Copyright (C) 2013
#Vincent C. Passaro (vince@buddhalabs.com)
#
##########################################################################
#
#################... | atomicturtle/t-stig | aqueduct-0.4/compliance/Bash/STIG/rhel-6/prod/RHEL-06-000126.sh | Shell | mit | 2,724 |
// Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#include "../Utility/perlinnoise.h"
///////////////////////////////////////////////////////////////////////////////////////////////////
cbu... | xlgames-inc/XLE | Working/Game/xleres/ui/terrainmodification_int.sh | Shell | mit | 1,281 |
#network interface on which to limit traffic
IF="eth0"
#limit of the network interface in question
LINKCEIL="1gbit"
#limit outbound Dobbscoin protocol traffic to this rate
LIMIT="160kbit"
#defines the address space for which you wish to disable rate limiting
LOCALNET="192.168.0.0/16"
#delete existing rules
tc qdisc de... | dobbscoin/dobbscoin-source | contrib/qos/tc.sh | Shell | mit | 1,675 |
#!/usr/bin/env sh
# generated from catkin/python/catkin/environment_cache.py
# based on a snapshot of the environment before and after calling the setup script
# it emulates the modifications of the setup script without recurring computations
# new environment variables
export CATKIN_TEST_RESULTS_DIR="/projects/ros/s... | cheezium/seniordesign | trackbot/build/catkin_generated/setup_cached.sh | Shell | mit | 1,239 |
#!/bin/bash
# Wrapper script to bowtie that accepts the same arguments except
# for the first one which has to be the output file.
# Get path to output file and shift it.
OUT=$1
shift
echo "EXECUTING bowtie -S $* >${OUT}"
bowtie -S $* >${OUT}
| weese/docker-seqan | wrappers/bowtie-wrapper.sh | Shell | mit | 246 |
#!/bin/bash
#
#
STORM_NAME=$1
WORKDIR=$2
#
cd $WORKDIR
sdat1=`awk '{printf "%s", $1} ' ${STORM_NAME}.datesin `
sdat2=`awk '{printf "%s", $2} ' ${STORM_NAME}.datesin `
edat1=`awk '{printf "%s", $3} ' ${STORM_NAME}.datesin `
edat2=`awk '{printf "%s", $4} ' ${STORM_NAME}.datesin `
str=`echo $sdat1 | cut -c1-6 `
stc=`echo... | CHL-WIS/WIS_ATL | shells/genscript_multi_full.sh | Shell | gpl-2.0 | 23,739 |
# ----------------------------------------------------------------------------
# Verifica se a data passada por parâmetro é um feriado ou não.
# Caso não seja passado nenhuma data é pego a data atual.
# Pode-se configurar a variável ZZFERIADO para os feriados regionais.
# O formato é o dd/mm:descrição, por exemplo: 20/... | gmgall/funcoeszz | zz/zzferiado.sh | Shell | gpl-2.0 | 3,345 |
#!/bin/bash
# This script prepares the CI build for running
echo "Configuring backend"
sed -i -e "s|my \$hostname = .*$|my \$hostname = 'localhost';|" \
-e "s|our \$bsuser = 'obsrun';|our \$bsuser = 'jenkins';|" \
-e "s|our \$bsgroup = 'obsrun';|our \$bsgroup = 'jenkins';|" src/backend/BSConfig.pm.templa... | shyukri/open-build-service | dist/ci/obs_testsuite_travis_before.sh | Shell | gpl-2.0 | 1,158 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2011-2017 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | fasterthanlime/tup-fuseless | test/t2083-missing-newline.sh | Shell | gpl-2.0 | 1,383 |
#!/bin/sh
#
# Copyright (c) 2005, 2006 Junio C Hamano
SUBDIRECTORY_OK=Yes
OPTIONS_KEEPDASHDASH=
OPTIONS_STUCKLONG=t
OPTIONS_SPEC="\
git am [options] [(<mbox>|<Maildir>)...]
git am [options] (--continue | --skip | --abort)
--
i,interactive run interactively
b,binary* (historical option -- no-op)
3,3way ... | peanhuang/git | contrib/examples/git-am.sh | Shell | gpl-2.0 | 24,385 |
#!/bin/sh
#
# Copyright (c) 2017 - 2020 Eaton
#
# This file is part of the Eaton 42ity project.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
#... | jimklimov/fty-core | setup/20-fty-compat.sh | Shell | gpl-2.0 | 8,945 |
#!/bin/bash
#PBS -l walltime=4:00:00
#PBS -l nodes=1:ppn=2
#PBS -l vmem=32G
#PBS -N Baltic_2_3_5_500_5_no_no_no_no
cd /zhome/fc/e/102910/maritime-vrp/build
LD_LIBRARY_PATH=/zhome/fc/e/102910/gcc/lib64 ./maritime_vrp ../data/old_thesis_data/program_params.json ../data/new/Baltic_2_3_5_500_5_no_no_no_no.json
| OR-Bologna/maritime-vrp | opt/launchers/Baltic_2_3_5_500_5_no_no_no_no.sh | Shell | gpl-3.0 | 308 |
#!/bin/bash
CLASSPATH='lib/*:build/'
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DEFAULT_TO_DATABASE='false'
while getopts a:c:t:d: option
do
case "${option}"
in
c) CASESTUDIES=${OPTARG};;
t) TRIALS=${OPTARG};;
a) APPROACHES=${OPTARG};;
d) TODATABASE=${OPTARG:=$DEFAULT_TO_DATABASE};;
esac
done... | schemaanalyst/schemaanalyst | scripts/techniqueexperiment.sh | Shell | gpl-3.0 | 901 |
# LICENCE : CloudUnit is available under the Affero Gnu Public License GPL V3 : https://www.gnu.org/licenses/agpl-3.0.html
# but CloudUnit is licensed too under a standard commercial license.
# Please contact our sales team if you would like to discuss the specifics of our Enterprise license.
# If you are not sure whet... | cxxly/cstack | integration-tests/integration.sh | Shell | agpl-3.0 | 1,017 |
#!/bin/bash
# Make sure only root can run our script
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
IP=192.168.201.202
USER=erp
# opencv
scp $USER@$IP:lib/libopencv/* /usr/local/lib/
./tools/makelink.sh
# python-opencv
scp $USER@$IP:lib/pythonopencv/* /usr/local/lib/python2.... | MickSandoz/compassion-modules | sbc_compassion/setup.sh | Shell | agpl-3.0 | 472 |
yum -y install gcc python-devel mysql-devel sqlite-devel MySQL-python freetype-devel openssh-clients python-sqlite python-setuptools || exit 1
tar xf setuptools-1.1.6.tar.gz
cd setuptools-1.1.6
python setup.py build
python setup.py install
cd ..
tar xf pexpect-2.3.tar.gz
cd pexpect-2.3
python setup.py build
p... | sdgdsffdsfff/yunwei | packets/installpackets.sh | Shell | lgpl-3.0 | 1,051 |
#!/bin/bash
set -e
. /opt/kolla/kolla-common.sh
. /opt/kolla/config-cinder.sh
fail_unless_db
check_required_vars MARIADB_SERVICE_HOST DB_ROOT_PASSWORD \
CINDER_DB_NAME CINDER_DB_USER CINDER_DB_PASSWORD \
INIT_CINDER_DB
cfg=/etc/cinder/cinder.conf
if [ "${INIT_CINDER_DB}" ==... | brk3/kolla | docker/common/cinder-app/cinder-scheduler/start.sh | Shell | apache-2.0 | 803 |
#! /usr/bin/env bash
set -eu
shopt -s nullglob
# Locate the script file. Cross symlinks if necessary.
loc="$0"
while [ -h "$loc" ]; do
ls=`ls -ld "$loc"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
loc="$link" # Absolute link
else
loc="`dirname "$loc"`... | iRobotCorporation/djinni | example/run_djinni.sh | Shell | apache-2.0 | 2,401 |
#!/bin/bash
# Copyright 2017 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... | HubSpot/vitess | examples/local/vttablet-up.sh | Shell | apache-2.0 | 4,235 |
#!/usr/bin/env bash
# Copyright 2018 Cloudera 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 agre... | timarmstrong/native-toolchain | source/bison/build.sh | Shell | apache-2.0 | 1,123 |
#!/bin/bash
#
# Creates a list of commands for running experiments
#
CMD_NAME="$1"
SSIZES="$2"
EPS1S="$3"
EPS2S="$4"
CMD_FILE="cmd_${CMD_NAME##*/}"
# Make a command
if [[ ! "${CMD_NAME}" =~ '/' ]]; then
CMD_NAME="./${CMD_NAME}"
fi
# Check that the binary exists and is executable
if [[ ! -x "${CMD_NAME}" ]]; then
... | mlapin/cvpr14mtl | usps/make_cmd_experiments.sh | Shell | bsd-2-clause | 646 |
NODE_ADD=0
NODE_CHANGE=1
NODE_DEL=2
if [ "$qconf_event" != "$NODE_DEL" ]; then
value=`./qconf get_conf $qconf_path`
# TODO: Nginx directory, You may change this to your own directory
nginx=/usr/local/nginx
nginx_conf_path=$nginx/conf/nginx.conf
old_conf_value=`cat $nginx_conf_path`
#if value is ... | fengshao0907/QConf | agent/script/nginx_template.sh | Shell | bsd-2-clause | 667 |
#!/bin/sh
ROOT_PATH=`pwd`
INSTALL_PATH=/home/haiwen/nginx
SRC_ROOT_PATH=$ROOT_PATH
cd $SRC_ROOT_PATH;
#rm -rf nginx-0.8.54
#tar zxvf nginx-0.8.54.tar.gz
#rm -rf pcre-8.01
#tar zxvf pcre-8.01.tar.gz
#tar third modules
#cd $SRC_ROOT_PATH"/third_modules"
#rm -rf headers-more-nginx-module
#tar zxvf headers-more-nginx-mo... | wangfakang/ReadNginxSrc | install.sh | Shell | bsd-2-clause | 1,401 |
#!/usr/bin/env bash
# Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
set -x
ninja=$(which ninja)
depot_tools=$(dirname $ninja)
cmd="sed -i /jessie-updates/... | dartino/dart-sdk | tools/run_debian_build.sh | Shell | bsd-3-clause | 686 |
#!/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # http://stackoverflow.com/questions/59895
export PYTHONPATH=~/python-packages/lib/python2.6/site-packages
export PATH=~/python-packages/bin:$PATH
alias monit="monit -c $DIR/servers/monitrc"
| snac-pilot/eac-graph-load | setenv.bash | Shell | bsd-3-clause | 263 |
#!/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}"
# This protects against multiple targets copying the same framework dependency at the same time.... | feliperuzg/CleanExample | Pods/Target Support Files/Pods-CleanExampleUITests/Pods-CleanExampleUITests-frameworks.sh | Shell | mit | 4,974 |
#! /bin/sh
# Copyright (C) 2010-2014 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | kuym/openocd | tools/automake-1.15/t/libobj19.sh | Shell | gpl-2.0 | 2,231 |
# Copyright (C) 2008 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
#
# You should have received a copy of the GNU General Public License
# along ... | ystk/debian-lvm2 | test/t-lvm-init.sh | Shell | gpl-2.0 | 627 |
#!/bin/bash
set -e
# TODO - We (Joomla) need to expose an alternate API to checking the latest version other than our XML files
current="$(curl -A 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36' -sSL 'http://developer.joomla.org/latest_version.... | OSTraining/docker-joomla | update.sh | Shell | gpl-2.0 | 1,022 |
#!/bin/bash
############################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in ... | rajashreer7/autotest-client-tests | linux-tools/tuned/tuned.sh | Shell | gpl-2.0 | 4,920 |
#!/bin/sh
# $1 - action
# $2 - type of file
action=$1
filetype=$2
[ -n "${MC_XDG_OPEN}" ] || MC_XDG_OPEN="xdg-open"
do_view_action() {
filetype=$1
case "${filetype}" in
trpm)
rpm -qivl --scripts `basename "${MC_EXT_BASENAME}" .trpm`
;;
src.rpm|rpm)
if rpm --nosignature --ver... | nilsonmorales/Puppyes-nightrc | usr/local/libexec/mc/ext.d/package.sh | Shell | gpl-3.0 | 1,110 |
#!/bin/sh
EXEC=/usr/bin/python
MyServer=http://localhost:7080
#MyServer=http://server2:9673
case $2 in
n) Server=$MyServer/Cuon
;;
ssl) Server=https://localhost:7580/Cuon
;;
qemu) Server=http://192.168.17.2:4080/Cuon
;;
qemussl) Server=https://192.168.17.2:4580/Cuon
;;
die) Server=http://dietzel-normteile.dyndns.or... | BackupTheBerlios/cuon-svn | cuon_client/pycuon.sh | Shell | gpl-3.0 | 1,338 |
#!/bin/bash
set -m
# Send SIGTERM to child processes of PID 1.
function signal_handler()
{
kill "$pid"
}
function init_systemd()
{
GREEN='\033[0;32m'
echo -e "${GREEN}Systemd init system enabled."
for var in $(compgen -e); do
printf '%q=%q\n' "$var" "${!var}"
done > /etc/docker.env
echo 'source /etc/docker.e... | resin-io-projects/boombeastic | spotify/systemd/entry.sh | Shell | apache-2.0 | 1,345 |
#!/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 DOCKER_NAME_TAG="ubuntu:20.04"
export CONTAINER_NAME=ci_native_fuzz_valgrind... | MarcoFalke/bitcoin | ci/test/00_setup_env_native_fuzz_with_valgrind.sh | Shell | mit | 760 |
#!/bin/sh
. /scripts/A-config.sh
echo Restarting USB mixer device...
killall dvsource-alsa
killall -9 dvsource-alsa
dvsource-alsa hw:1
| xfxf/veyepar | setup/dvs_launchers/scripts/2-audiomixer.sh | Shell | mit | 139 |
#
# Git branch
#
# Show current git branch
# ------------------------------------------------------------------------------
# Configuration
# ------------------------------------------------------------------------------
SPACESHIP_GIT_BRANCH_SHOW="${SPACESHIP_GIT_BRANCH_SHOW=true}"
SPACESHIP_GIT_BRANCH_PREFIX="${SPAC... | matthewberryman/oh-my-zsh | themes/sections/git_branch.zsh | Shell | mit | 1,095 |
#!/usr/bin/env bash
function createRootDirectory() {
log "$0" "createRootDirectory";
_root_path=$1;
if [[ -d "${_root_path}" ]]
then
rm -rf "${_root_path}";
fi
mkdir "${_root_path}";
}
| bradyhouse/house | fiddles/bash/fiddle-0069-NodeProjectSetup/bin/_add_directory.sh | Shell | mit | 218 |
#!/usr/bin/expect -f
#!/bin/sh
set arguments [lindex $argv 0]
set password [lindex $argv 1]
eval spawn $arguments
match_max 100000
set timeout 1
#expect "*yes/no*" {send "yes\r"; exp_continue};
set timeout -1
expect {
#connection error
"?sh: Error*" {puts "CONNECTION_ERROR"; exit};
#connection refused
"... | OpenFibers/SSHMole | SSHMole/SSHTask/SSHCommand.sh | Shell | gpl-2.0 | 1,352 |
#! /bin/sh
## Quit immediately on error
set -e
## Want to run this as 'vagrant', so rerun if root
if [ "$(id -u)" = "0" ]; then
sudo -u vagrant bash $0 $@
exit 0
fi
## Check arguments
if [ ! "x"$# = "x1" ]; then exit 2; fi
version=$@
majorversion=`echo $version | cut -f1 -d.`
markerfile=~vagrant/vagrant/prov... | igraph/xdata-igraph | tools/virtual/vagrant/provisioners/installR.sh | Shell | gpl-2.0 | 900 |
#!/bin/sh
# Test use of compression subprocesses by sort
# Copyright (C) 2010-2015 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the Licens... | davisqi/coreutils | tests/misc/sort-compress-proc.sh | Shell | gpl-3.0 | 2,566 |
#!/bin/bash -e
#
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This script is used to generate .gni files and files in the
# config/platform directories needed to build libvpx.
# Every time libvpx ... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/libvpx/generate_gni.sh | Shell | gpl-3.0 | 16,697 |
#!/bin/sh
# **************************************
# Running Navitia in the blink of an eye
# **************************************
#
# You just need to blink slowly
#
# Here is a step by step guide for running navitia on a Ubuntu 14.04
#
#
# It's more an install guide but it can help as an out-of-a-box build script... | TeXitoi/navitia | build_navitia.sh | Shell | agpl-3.0 | 11,284 |
#!/bin/sh
for root in compiler core interpreter
do
for i in $(find $root -name "*.scala")
do
head -2 $i | tail -1 | grep -v Copyright && echo $i
done
done
| haro-freezd/noop | findMissingCopyright.sh | Shell | apache-2.0 | 174 |
#!/bin/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 "License"); yo... | irudyak/ignite | bin/control.sh | Shell | apache-2.0 | 5,736 |
#!/bin/bash
FN="u133aaofav2cdf_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/annotation/src/contrib/u133aaofav2cdf_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/u133aaofav2cdf_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-u133aaofav2cdf/bioconductor-u133aaofav2c... | phac-nml/bioconda-recipes | recipes/bioconductor-u133aaofav2cdf/post-link.sh | Shell | mit | 1,445 |
# MAKE ALL
# make_release.sh
#
# MAKE JUST ONE
# make_release.sh electron
# or
# make_release.sh 10
if [ -z $1 ]; then
MAKE_RELEASE_PLATFORM="all"
else
MAKE_RELEASE_PLATFORM="$1"
fi
echo attempting build for PLATFORM: $MAKE_RELEASE_PLATFORM
if [ $MAKE_RELEASE_PLATFORM == "photon" ] || [ $MAKE_RELEASE_PLATFORM == "... | glibersat/firmware | platform/spark/firmware/build/make_release.sh | Shell | agpl-3.0 | 894 |
#!/usr/bin/env roundup
#
: ${RUNDECK_USER?"environment variable not set."}
: ${RUNDECK_PROJECT?"environment variable not set."}
# Let's get started
# -----------------
# Helpers
# ------------
#. ./include.sh
# The Plan
# --------
describe "project: rundeck project should exist: $RUNDECK_PROJECT"
it_should_li... | rophy/rundeck | test/docker/dockers/rundeck/tests/ssltests/basic-client-test.sh | Shell | apache-2.0 | 539 |
#!/bin/bash
go test github.com/openshift/service-serving-cert-signer/test/e2e/ -v -count=1
| childsb/origin | vendor/github.com/openshift/service-serving-cert-signer/test/e2e.sh | Shell | apache-2.0 | 91 |
#!/usr/bin/env bash
# Make sure the package information is up-to-date
apt-get update || exit 1
# Compilers
apt-get install -y g++-4.7 || exit 1
apt-get install -y gfortran-4.7 || exit 1
apt-get install -y clang-3.4 || exit 1
# Configuration
apt-get install -y cmake || exit 1
# Source control
apt-get install -y git ... | xsixing/blaze | vagrant/saucy64-py27/bootstrap.sh | Shell | bsd-3-clause | 1,833 |
#!/bin/bash
# Copyright 2015 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... | wulonghui/kubernetes | cluster/ubuntu/util.sh | Shell | apache-2.0 | 19,930 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.