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
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 1B/logs/w-10-A/20161127T023805+0000/00/00/statscpumemory_0_ID0000003.sh | Shell | gpl-3.0 | 1,252 |
#!/usr/bin/bash
#
# Copyright (C) 2016 Steffen Nüssle
# rf - refactor
#
# This file is part of rf.
#
# 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 License, or
# (at y... | stnuessl/rf | test/run.sh | Shell | gpl-3.0 | 2,319 |
#!/usr/bin/env bash
# Replaces strings in a dist file with environment variables. Then makes dist file the production file by removing the
# '.dist' from the filename.
# $1: path to dist file which should be prepared - file name must include '.dist' before the actual extension
# $2: list of environment variables to be... | University-of-Potsdam-MM/Reflect.UP | fillCredentials.sh | Shell | gpl-3.0 | 1,289 |
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distributio... | goofwear/RetroPie-Setup | scriptmodules/libretrocores/lr-virtualjaguar.sh | Shell | gpl-3.0 | 1,131 |
#!/bin/sh
# This test verifies that find refuses the internal -noop, ---noop option.
# Between findutils-4.3.1 and 4.6, find dumped core ($? = 139).
# See Savannah bug #48180.
# Copyright (C) 2016-2019 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the... | pexip/os-findutils | tests/find/refuse-noop.sh | Shell | gpl-3.0 | 1,351 |
#!/bin/bash
pdflatex -halt-on-error -draftmode eip2014.tex > log.txt
#bibtex eip2014.aux
makeindex eip2014.toc eip2014.lof eip2014.lot
#bibtex eip2014.aux
#pdflatex -halt-on-error -draftmode eip2014.tex >> log.txt
pdflatex --file-line-error -halt-on-error eip2014.tex
#rm *.aux *.lot *.lof *.toc *.idx *.out *.bbl *.b... | xladde/hsw | eip/fernst/make.sh | Shell | gpl-3.0 | 359 |
#!/bin/bash
set -e
tag=${1:-latest}
./manage.sh --skip-install dumpdata --exclude=contenttypes --natural-foreign --natural-primary --indent=4 | gzip -9 - > "/tmp/lax-db-${tag}.json.gz"
| elifesciences/lax | backup.sh | Shell | gpl-3.0 | 187 |
dir=/opt/arduino-1.8.3/hardware/arduino/avr/cores/arduino
projet=sketch
serie=/dev/ttyACM1
baud=115200
for file in $dir/*.c
do
filename=$(basename "$file")
extension="${filename##*.}"
filename="${filename%.*}"
echo "Génération C $filename.o à partir de $file"
avr-gcc -c -g ... | mistert14/ardu-rasp1 | src/burn.sh | Shell | gpl-3.0 | 1,834 |
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution ... | HerbFargus/RetroPie-Setup | scriptmodules/ports/wolf4sdl.sh | Shell | gpl-3.0 | 3,247 |
#!/bin/bash
#DESCRIPTION_START
# Use AVET encoding.
#DESCRIPTION_END
# print AVET logo
cat banner.txt
# include script containing the compiler var $win32_compiler
# you can edit the compiler in build/global_win32.sh
# or enter $win32_compiler="mycompiler" here
. build/global_win32.sh
# import feature co... | govolution/avet | build/build_hasvmmac_revtcp_win32.sh | Shell | gpl-3.0 | 1,567 |
#!/bin/bash
# -----------------------------------------------------------------------
# the common build script
# -----------------------------------------------------------------------
cat >"${BUILD_SCRIPT}" <<EOL
#!/bin/bash
set -e
# checkout the source code && switch to the target branch or tag
git clone ${GIT_SOUR... | AlekseyDurachenko/MyCustomCI | projects/seismicsound-dl/schroot_deb.sh | Shell | gpl-3.0 | 1,907 |
#!/usr/bin/env bash
set -eux
export ANSIBLE_ROLES_PATH=./roles
function gen_task_files() {
for i in $(seq -f '%03g' 1 39); do
echo -e "- name: Hello Message\n debug:\n msg: Task file ${i}" > "tasks/hello/tasks-file-${i}.yml"
done
}
## Import (static)
# Playbook
ANSIBLE_STRATEGY='linear' ansible... | ogenstad/ansible | test/integration/targets/include_import/runme.sh | Shell | gpl-3.0 | 2,810 |
#!/bin/bash -e
. ../env/env
brief="The NTP daemon and utilities"
intro="
The Network Time Protocol (NTP) is used to synchronize a computer's
time with another reference time source. This package includes ntpd
(a daemon which continuously adjusts system time) and utilities used
to query and configure the ntpd daem... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/blfs-9.0-systemd/scripts/n/ntp.sh | Shell | gpl-3.0 | 2,224 |
#!/bin/bash
#########################################################
# #
# This are NScripts v3.6 #
# #
# Licensed under the GNU GENERAL PUBLIC LICENSE 3 #
# #
# Copyright 2007 - 2009 Christopher Bratusek #
# #
#########################################################
orig_file=$(zenity --... | kernt/linuxtools | gnome3-shell/nautilus-scripts/System/File System Management/MkPatch.sh | Shell | gpl-3.0 | 665 |
perl -MCPAN -e 'install Digest::SHA'
perl -MCPAN -e 'install URI::Escape'
perl -MCPAN -e 'install Mozilla::CA'
perl -MCPAN -e 'install Bundle::LWP'
perl -MCPAN -e 'install LWP::Protocol::https'
perl -MCPAN -e 'install MIME::Base64'
perl -MCPAN -e 'install Crypt::SSLeay'
perl -MCPAN -e 'install XML::LibXML'
| trumae/PractWave | email/setup.sh | Shell | mpl-2.0 | 309 |
#!/usr/bin/env bash
# running the Java tests of Repairnator on Travis
set -e
set -x
export M2_HOME=/usr/share/maven
# sudo apt-get update
# sudo apt-get install -y xmlstarlet
mvn clean install -B -f src/repairnator-core/ && mvn ${MAVEN_OPTS} -Dtest=$TEST_LIST clean test -B -f $TEST_PATH
| Spirals-Team/librepair | .ci/ci-run-with-core.sh | Shell | agpl-3.0 | 291 |
#!/bin/sh
cd ..
java -cp ./run_specific/OpenNARS.jar nars.web.NARServer $1 $2 $3 $4 $5
| printedheart/opennars | nars_lab/run_specific/web.sh | Shell | agpl-3.0 | 92 |
#!/bin/bash
./docstring_scanner.py > docstrings.tex
pdflatex api.tex
| mcolom/ipolDevel | doc/api/generate.sh | Shell | agpl-3.0 | 69 |
#!/bin/bash
#
# Autogenerates Table of Contents from Markdown doc and inserts / updates it
# into the document between given markers.
#
# Usage:
#
# 1. Add the following markers to the top of a Markdown document that has to have ToC inserted:
#
# <!-- MEDIACLOUD-TOC-START -->
#
# This is where TOC will be inser... | berkmancenter/mediacloud | doc/update_toc.sh | Shell | agpl-3.0 | 2,124 |
#!/usr/bin/env bash
#
# mxisd - Matrix Identity Server Daemon
# Copyright (C) 2018 Kamax Sarl
#
# https://www.kamax.io/
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 ... | kamax-io/mxisd | src/test/resources/store/exec/input/envTest.sh | Shell | agpl-3.0 | 1,162 |
#!/bin/sh
# Use this script to quickly install required dependencies
# and register module directories with distutils.
# WARNING: Use inside an activated virtualenv only!
test -z "$VIRTUAL_ENV" && exit 1
NPMOD_DEFAULT="netprofile \
netprofile_core \
netprofile_documents \
netprofile_geo \
netprofile_dialup \
net... | unikmhz/npui | develop.sh | Shell | agpl-3.0 | 1,213 |
#!/bin/bash
# NOTE: You will also need to modify your emClarity/mexFiles/mexCompile.m
# Set the mexPath, and modify the two library linker lines to point at your install of CUDA
# TODO set up a little configure script to do this and check other deps described below.
# NOTE: You also will need to download the bina... | bHimes/emClarity | testScripts/mCompile.sh | Shell | lgpl-3.0 | 7,578 |
#!/bin/bash
ROOTDIR=$1
if [ "$ROOTDIR" == "" ]; then
ROOTDIR=betainitrd
fi
echo "gen init ramfs list ... "
./gen_initramfs_list.sh $ROOTDIR/ > filelist
echo "gen init cpio to get initrd...."
./gen_init_cpio filelist > initrd
echo "gzip initrd ..."
rm initrd.gz -rf
gzip initrd
echo "copy initrd.gz to myiso/kerne... | jmdkina/jkmklinux | mkinitrd2.sh | Shell | lgpl-3.0 | 380 |
# Author: Daniel Ortiz Mart\'inez
# *- bash -*
# Generates a single-word model using batch learning. The training
# procedure maintains the space complexity of the training process under
# control by using the map reduce technique.
print_desc()
{
echo "thot_gen_batch_sw_model_mr written by Daniel Ortiz"
echo ... | daormar/thot | utils/sw_models/thot_gen_batch_sw_model_mr.sh | Shell | lgpl-3.0 | 22,042 |
#!/bin/sh
LAIK_BACKEND=mpi ${MPIEXEC-mpiexec} -n 4 ../src/kvstest > test-kvstest-mpi-4.out
cmp test-kvstest-mpi-4.out "$(dirname -- "${0}")/test-kvstest-mpi-4.expected"
| envelope-project/laik | tests/mpi/test-kvstest-mpi-4.sh | Shell | lgpl-3.0 | 169 |
# Running sequence to obtain EMERGE galaxies in the MultiDark simulation
module load git
module load anaconda
export PYTHONPATH="${PYTHONPATH}:/u/joco/software/pyEmerge/python/"
#preliminary pipeline
#--------------------
# download all hlist files generated by rockstar
ls /ptmp/joco/MD/MD_1.0Gpc/hlists/hlist_?.????... | JohanComparat/pyEmerge | bin_rzg_v0/run_analysis.sh | Shell | unlicense | 3,338 |
#!/bin/bash -xe
MAVEN_SETTINGS="/etc/maven/settings.xml"
# Set the location of the JDK that will be used for maven
export JAVA_HOME="${JAVA_HOME:=/usr/lib/jvm/java-11}"
# Use ovirt mirror if able, fall back to central maven
mkdir -p "${MAVEN_SETTINGS%/*}"
cat >"$MAVEN_SETTINGS" <<EOS
<?xml version="1.0"?>
<settings ... | oVirt/ovirt-engine-extension-logger-log4j | automation/build-artifacts.sh | Shell | apache-2.0 | 2,258 |
# copy this file to /etc/bash_completion.d/ and source it to enable bash completion
_apimcli()
{
local current previous options base
COMPREPLY=()
current="${COMP_WORDS[COMP_CWORD]}"
previous="${COMP_WORDS[COMP_CWORD-1]}"
options="export-api import-api list add-env remove-env reset-user version auth... | menuka94/product-apim-tooling | import-export-cli/apimcli_bash_completion.sh | Shell | apache-2.0 | 1,958 |
#!/bin/bash
# directory:coverage_percent
# for existing directories with low coverage.
declare -a KNOWN_LOW_COVERAGE=(
"source/common/network:94.0"
"source/common/http/http3:50.0"
"source/common/tracing:94.9"
"source/common/protobuf:94.3"
"source/common/secret:95.2"
"source/common/singleton:95.1"
"source/common/api:72... | envoyproxy/envoy-wasm | test/per_file_coverage.sh | Shell | apache-2.0 | 4,692 |
#!/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
# "Li... | sijie/bookkeeper | tests/docker-images/current-version-image/scripts/install-python-client.sh | Shell | apache-2.0 | 900 |
#!/bin/bash
APP_MAR_HIST_FILE="${APP_HOME}/marathon_hist.json"
APP_MAR_SHUF_FILE="${APP_HOME}/marathon_shuf.json"
APP_MAR_HIST_ID="${APP_ROLE}/${APP_ID}/sparkhistory"
APP_MAR_SHUF_ID="${APP_ROLE}/${APP_ID}/sparkshuffle"
APP_ENV_FILE="$CLUSTERMOUNT/zeta/kstore/env/env_${APP_ROLE}/${APP_NAME}_${APP_ID}.sh"
if [ "$UN... | JohnOmernik/zetaextra | old_spark/uninstall.sh | Shell | apache-2.0 | 1,863 |
#!/bin/bash
# ensure we're up to date
git pull
# bump version
VERSION=`cat VERSION | sed 's/+/ /g' | sed 's/v//g' | awk '{print $1}'`
BUILD_DATE=`cat DATE`
echo "version: ${VERSION}"
echo "date: ${BUILD_DATE}"
docker build \
--build-arg VERSION=${VERSION} \
--build-arg BUILD_DATE=${BUILD_DATE} \
--bu... | bbfrederick/rapidtide | dockerbuild/build.sh | Shell | apache-2.0 | 495 |
#!/bin/sh
set -e
set -x
if [ "$VMWARE_WITH_XORG" = "1" ]; then
pkg install -y ${OPEN_VM_TOOLS:-"open-vm-tools"} ${XF86_VIDEO_VMWARE:-"xf86-video-vmware"} ${XF86_INPUT_VMMOUSE:-"xf86-input-vmmouse"}
cat >> /etc/rc.conf << EOF
hald_enable="YES"
dbus_enable="YES"
moused_enable="YES"
EOF
cat >> /etc/X11/xorg.conf << E... | upperstream/packer-templates | freebsd/provisioners/vmware-guest.sh | Shell | apache-2.0 | 1,210 |
#!/bin/sh
set -eux
docker run -it --rm -v "$PWD":/usr/src/app -p "4000:4000" starefossen/github-pages
| orfjackal/territory-bro | docs/start.sh | Shell | apache-2.0 | 102 |
#!/bin/bash
# Copyright 2019 Google
#
# 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 in ... | google/GoogleDataTransport | GoogleDataTransport/ProtoSupport/generate_cct_protos.sh | Shell | apache-2.0 | 1,800 |
#!/usr/bin/env bash
for f in `find ../tools -name "*.xml" | grep "\S]]>"` ; do
echo $f
done | lappsgrid-incubator/GalaxyMods | scripts/fix-help.sh | Shell | apache-2.0 | 93 |
#!/bin/bash -xue
echo "Installing sloccount"
sudo aptitude install sloccount
echo "Running sloccount"
/usr/bin/sloccount --duplicates --wide --details pyrakoon test >${WORKSPACE}/sloccount.sc
| Incubaid/pyrakoon | jenkins/base/070_sloccount.sh | Shell | apache-2.0 | 194 |
#!/usr/bin/env bash
set -ueo pipefail
set -x
ulimit -u 4096
run-unit-tests()
(
pgdir="$(pwd)/test-resources/var/pg"
readonly pgdir
export PGHOST=127.0.0.1
export PGPORT=5432
ext/bin/setup-pdb-pg "$pgdir"
ext/bin/pdb-test-env "$pgdir" lein2 test
)
case "$PDB_TEST_LANG" in
clojure)
java -version
... | kbarber/puppetdb | ext/travisci/test.sh | Shell | apache-2.0 | 554 |
#!/bin/bash
# THIS FILE IS UNUSED!!!
if [ ! -d "$HOME/cached/chromedriver" ]; then
echo "--- INSTALLING CHROMEDRIVER ---"
wget http://chromedriver.storage.googleapis.com/2.11/chromedriver_linux64.zip
mkdir -p ~/cached/chromedriver
unzip chromedriver_linux64.zip -d ~/cached/chromedriver
rm chromedriver_linu... | AnnArborTees/softwear-production | travis-setup.bash | Shell | apache-2.0 | 1,062 |
#!/bin/bash
# Copyright 2015 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | rzagabe/bazel | scripts/bootstrap/init_workspace.sh | Shell | apache-2.0 | 2,039 |
#!/usr/bin/env bash
if env | grep -q "DOCKER_RIAK_AUTOMATIC_CLUSTERING=1"; then
# Join node to the cluster
(sleep 5; if env | grep -q "SEED_PORT_8098_TCP_ADDR"; then
riak-admin cluster join "riak@${SEED_PORT_8098_TCP_ADDR}" > /dev/null 2>&1
fi) &
# Are we the last node to join?
(sleep 8; if riak-admin m... | hectcastro/docker-riak | bin/automatic_clustering.sh | Shell | apache-2.0 | 513 |
#!/bin/sh
# @author: rpetry
# @date: 04 Nov 2010
# This script tries to obtain www-test.ebi.ac.uk/gxa/download/ebeye_export.xml via curl. If the dump file is being generated
# from scratch, an EBI timeout will cause a retrieval failure and a non-zip formatted error file will be returned. If this
# is the case, the... | gxa/gxa | scripts/cron/ebeye_export.sh | Shell | apache-2.0 | 2,207 |
#!/usr/bin/env bash
TEST=`gosu postgres postgres --single <<- EOSQL
SELECT 1 FROM pg_database WHERE datname='$DB_NAME';
EOSQL`
echo "******CREATING DOCKER DATABASE $DB_NAME ******"
if [[ $TEST == "1" ]]; then
# database exists
# $? is 0
exit 0
else
gosu postgres postgres --single <<- EOSQL
CREATE ... | mmaczka/zhaw-hci | docker/postgres/setup-database.sh | Shell | apache-2.0 | 589 |
#!/bin/bash
export MASTER_CONFIG_JSON_KEY="master_ignite_unit_test_docker_config"
./run-junit-tests-common.sh TestCommonDocker.properties \
../jars/iote2e-tests-1.0.0.jar \
"com.pzybrick.iote2e.tests.ignite.TestIgniteHandlerTempToFan"
./run-junit-tests-common.sh TestCommonDocker.properties \
../jars/iote2e-tests-1.0.0... | petezybrick/iote2e | iote2e-tests/iote2e-shared/scripts/run-junit-tests-ignite-docker.sh | Shell | apache-2.0 | 544 |
#!/usr/bin/env bash
set -euo pipefail
VERSION=$(cat mariadb-jdbc-archives/version)
cp mariadb-jdbc-archives/mariadb-java-client-*.jar repository/mariadb-jdbc-$VERSION.jar
cp mariadb-jdbc-archives/version repository/version
| cloudfoundry/java-buildpack-dependency-builder | mariadb-jdbc.sh | Shell | apache-2.0 | 226 |
#!/bin/bash
libraryPath='./Library'
classPath=''
for fileName in $(ls $libraryPath); do
if [ ${fileName:(-4)} = ".jar" ]; then
if [ "$classPath" != "" ]; then
classPath=$classPath':'
fi
classPath=${classPath}${libraryPath}'/'${fileName}
fi
done
classPath='./Build:./Resources... | atsuya/multitouchj | RunWhiteboard.sh | Shell | apache-2.0 | 490 |
#!/bin/bash
export PORT=3000
export ROOT_URL="http://10.0.1.2:3000/"
export MONGO_URL=mongodb://root:3s3msqKx7qDTpQNyfWem@candidate.20.mongolayer.com:10131/d2moddin
export MONGO_OPLOG_URL=mongodb://root:3s3msqKx7qDTpQNyfWem@candidate.20.mongolayer.com:10131/local?authSource=d2moddin
export TEMP_DIR=/tmp/
meteor --port ... | paralin/D2ModdinMeteor | start.bash | Shell | apache-2.0 | 338 |
export SERVER_PORT=8080
export ETCD_URL="http://10.42.42.1:4001" #http://$(ifconfig docker0 | awk '/\<inet\>/ { print $2}'):4001"
export SECURITY_KEY=goalbook123
export GITHUB_API_TOKEN=goalbook123
export DOCKER_REGISTRY_AUTH=goalbookproduct:goalbook123
| goalbook/halyard | env.sh | Shell | apache-2.0 | 254 |
# ----------------------------------------------------------------------------
#
# Package : request-promise
# Version : 4.2.2
# Source repo : https://github.com/request/request-promise.git
# Tested on : ubuntu_16.04
# Script License: Apache License, Version 2 or later
# Maintainer : Snehlata Mohit... | ppc64le/build-scripts | r/request-promise/request-promise_ubuntu_16.04.sh | Shell | apache-2.0 | 1,287 |
#!/bin/bash -eux
sudo apt-get update
sudo apt-get install -y codeblocks codeblocks-contrib
| cmbant/ubuntu | script/IDE.sh | Shell | apache-2.0 | 94 |
#!/bin/bash
/usr/bin/docker-compose -f /root/runtime/huozhu/server/huozhu/java/docker-compose/docker-compose.yml ps | /usr/bin/docker-compose -f /root/runtime/huozhu/server/huozhu/java/docker-compose/docker-compose.yml stop | tomtrije/huozhu | server/huozhu/java/docker-compose/stop.sh | Shell | apache-2.0 | 223 |
#!/bin/bash
# Notice: change registry to which you can access to
# assume you running the script on mac
set -e
set -u
set -o pipefail
source "$(dirname "${BASH_SOURCE}")/lib/common.sh"
cd ${CYCLONE_ROOT}
# Clean up local run of cyclone.
function cleanup {
unset DEBUG
unset CYCLONE_SERVER
unset MONGOD... | zjj2wry/cyclone | scripts/e2e-docker.sh | Shell | apache-2.0 | 3,803 |
#/var/lib/boot2docker
#/var/lib/boot2docker/bootlocal.sh
curl -L https://github.com/docker/compose/releases/download/1.19.0/docker-compose-`uname -s`-`uname -m` -o /var/lib/boot2docker/docker-compose
cp /var/lib/boot2docker/docker-compose /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
alias compo... | nicolasbonnet/my_docker_tools | bootlocal.sh | Shell | apache-2.0 | 379 |
#!/usr/bin/env bash
chown -Rf postgres:postgres /data/postgresql
chmod -R 700 /data/postgresql
su -u postgres /usr/lib/postgresql/9.4/bin/postgres -D /var/lib/postgresql/9.4/main -c config_file=/etc/postgresql/9.4/main/postgresql.conf | OSGeo-live/CesiumWidget | pgstart.sh | Shell | apache-2.0 | 234 |
#!/bin/bash
./file_exists.sh '/usr/local/share/chruby/chruby.sh'
| carwinz/lazycarwin | ruby/is_installed.sh | Shell | apache-2.0 | 66 |
#! /bin/bash -ue
# Usage: Requires defining AWS_KEYPAIR
REPO="$HOME/tmp/puppet"
TIMELOG="/tmp/puppet-timelog"
MAX_SPOT_PRICE=0.090
# remove old repo
rm -rf $REPO
# create new puppet repo with the example system
poni -L "$TIMELOG" -d $REPO script - -v <<EOF
init
vc init
add-config -cd ec2-deb6/ template/ec2-deb6 hac... | ohmu/poni | examples/puppet/inst-puppet.sh | Shell | apache-2.0 | 1,534 |
mkdir -p /data/apps
# import into the environment
. /data/Wing/bin/dataapps.sh
cd perl-5.26.2
./Configure -Dprefix=/data/apps -des
make
make install
cd ..
cd beanstalkd-1.10
make
make install PREFIX=/data/apps
cd ..
cd libpng-1.6.34
./configure --prefix=/data/apps
make
make install
cd ..
cpan App::cpanminus
| plainblack/Wing | bin/setup/02_build.sh | Shell | artistic-2.0 | 315 |
#!/bin/bash
set -x
if [[ $(uname) == Darwin ]]; then
${SYS_PREFIX}/bin/conda create -y -p ${SRC_DIR}/bootstrap clangxx_osx-64=10
export PATH=${SRC_DIR}/bootstrap/bin:${PATH}
CONDA_PREFIX=${SRC_DIR}/bootstrap \
. ${SRC_DIR}/bootstrap/etc/conda/activate.d/*
export CONDA_BUILD_SYSROOT=${CONDA_BUILD_SYSROOT:-... | numba/llvmlite | conda-recipes/llvmlite/build.sh | Shell | bsd-2-clause | 1,167 |
#!/bin/sh
case `uname -s` in
HP-UX)
OS="Unix";;
SunOS)
OS="Unix";;
IRIX*)
OS="Unix";;
Linux)
OS="Unix";;
*)
OS="Windows";;
esac
./make/${OS}/make.scanclrmake.sh $*
#
# -- end:
#
| kit-transue/software-emancipation-discover | scanclrmake/make.scanclrmake.sh | Shell | bsd-2-clause | 198 |
#!/bin/sh
#find . -name "*.php" -print | xargs etags -
exec exctags \
--languages=PHP \
-h ".php" -R \
--exclude="\.git" \
--exclude="\.svn" \
--exclude="Incubator" \
--totals=yes \
--tag-relative=yes \
--PHP-kinds=+cdf \
--regex-PHP='/abstract class ([^ ]*)/\1/c/' \
--regex-PHP='/interface ([^ ]*)/\1/c/' \
--regex-P... | chtoucas/RESTafy | bin/_/exctags.sh | Shell | bsd-2-clause | 398 |
#!/bin/bash
# install homebrew version of core tools that are better or more up-to-date
set -e
# environment management
brew install bash-completion direnv pyenv jenv rbenv nodenv ruby-build
# key libraries used by other brew stuff
brew install gettext libnet libtool libxml2 libxslt libyaml openssl readline
# gnu ... | lsimons/lsd-mac-setup | 08-coreutils.sh | Shell | bsd-2-clause | 559 |
#!/bin/bash -x
# https://github.com/nextcloud/docker
# export BASE="/home/dockeruser/nextcloud"
export BASE="/home/dockeruser/keycloak"
# not used
export BASE_PATH="/keycloak"
if [ -z $KEYCLOAK_DB_PASSWORD ]; then
echo "KEYCLOAK_DB_PASSWORD not set"
exit -1
fi
# https://stackoverflow.com/questions/59895/gettin... | aanno/linux-config | docker-compose/keycloak/dkc-compose.sh | Shell | bsd-3-clause | 543 |
#!/bin/bash
for i in `seq -w 25 1020` ; do echo -n "$i - "; cat html/$i.html | awk -f getidx.awk ; done > resource_txt/index.txt
| tomszilagyi/svhu1972 | imagery/manual_scripts/mk_txt_index.sh | Shell | bsd-3-clause | 129 |
certtool --generate-certificate --load-privkey key.pem \
--outfile cert.pem --template cert.tpl \
--load-ca-certificate ca-cert.pem --load-ca-privkey ca-key.pem
| tlaitinen/prototls | scripts/gen-server-cert.sh | Shell | bsd-3-clause | 172 |
#!/bin/bash
source $ROSWSS_BASE_SCRIPTS/helper/helper.sh
# check for reset command
if [ "$1" == "reset" ]; then
if [ -f $ROSWSS_ROOT/.hands ]; then
rm $ROSWSS_ROOT/.hands
fi
unset L_HAND_TYPE
unset L_HAND_JOINTS
unset R_HAND_TYPE
unset R_HAND_JOINTS
unset ROBOT_SETUP
return
fi
... | thor-mang/thor_mang_scripts | scripts/switch_hands.sh | Shell | bsd-3-clause | 2,781 |
#!/usr/bin/env bash
## Installs the local project dependencies.
npm install;
./node_modules/.bin/typings install;
| amilner42/kleen | bin/install.sh | Shell | bsd-3-clause | 116 |
#!/bin/bash
./run_tests.py --settings=tests.hiredis_parser_settings -s ../redis/src/redis-server --redis-version=$REDIS_VERSION
./run_tests.py --settings=tests.python_parser_settings -s ../redis/src/redis-server --redis-version=$REDIS_VERSION
./run_tests.py --settings=tests.sockets_settings -s ../redis/src/redis-serve... | Lab305/django-redis-cache | travis_run_all_tests.sh | Shell | bsd-3-clause | 352 |
#!/bin/bash
echo "running gcc..."
./gcc_base.arm-v7a cccp.i -o cccp.s > cccp.out 2>> cccp.err
echo "gcc done"
| silkyar/570_Big_Little | benchmarks/spec2k6_arm/gcc/gcc_test.sh | Shell | bsd-3-clause | 113 |
#!/bin/bash
lookup_6_or_higher ()
{
# Find oldest clang-format available
OLD_IFS=$IFS
IFS=":"
find ${PATH} -name 'clang-format-*' 2>/dev/null | grep -oE '[0-9]+(\.[0-9]+)*)?$' | sort -V | uniq | while read v ; do
if test $(expr "$v" '>=' '6.0') -ne 0 ; then
echo "clang-format-$v"
break
fi... | Parrot-Developers/alchemy | scripts/codeformat/select_clang_format.sh | Shell | bsd-3-clause | 542 |
#!/usr/bin/env sh
SRC_DIR="`pwd`"
cd "`dirname "$0"`"
PHP_TARGET="`pwd`/../app/console"
cd "$SRC_DIR"
php -f "$PHP_TARGET" "$@"
| webforge-labs/cms | bin/cli.sh | Shell | mit | 128 |
#-------------------------------------------------------------------------
# Name - quality_filter_single.sh
# Desc - Quality filter all single end reads in the current folder and produces FASTQ and FASTA files
# Author - Ranjit Kumar (ranjit58@gmail.com)
#---------------------------------------------------------------... | QWRAP/QWRAPv3 | quality_filter_single.sh | Shell | mit | 3,268 |
#!/usr/bin/env bash
# Exit immediately if a command exits with a non-zero status
set -e
PILLAR_COMMAND="./pillar"
if hash "pillar" 2>/dev/null; then
PILLAR_COMMAND="pillar"
fi
for chapter in `$PILLAR_COMMAND show inputFiles`; do
dir=$(dirname $chapter)
# cd "${dir}"
rm -vf ${dir}/*.{aux,glo,idx,log,out,toc,url... | A4BP/documentation | clean.sh | Shell | mit | 570 |
BRANCH=`git rev-parse --abbrev-ref HEAD`
if [[ $BRANCH != "master" ]]; then
echo "You should publish on master"
exit 1
fi
# Edit From https://github.com/benmanbs/javascript-skeleton/
# Make sure a version type is passed in
if [[ -z "$1" || ( "$1" != "patch" && "$1" != "minor" && "$1" != "major" ) ]]
then
echo ... | melalj/maptable | publish.sh | Shell | mit | 1,388 |
python -m SimpleHTTPServer 8080 &
open http://localhost:8080/test/jasmine.html
| rjrodger/jsonic | open.sh | Shell | mit | 81 |
#!/bin/bash
# exit script immediately on any error
set -eu
git checkout master
git pull origin master
echo "New version to be published in npm:"
npm version patch
echo "Publishing in 60s: Ctrl-C to cancel"
sleep 60
echo "Running npm publish:"
npm publish
echo "Full list of git tags:"
git tag -l
echo "Pushing git tags... | openaps/oref0 | release-master.sh | Shell | mit | 363 |
#!/bin/bash
php app/console cache:clear --env=prod --no-debug
php app/console assets:install web --env=prod
php app/console assetic:dump --env=prod
| manuroot/sf23_echange | clearinsallasset.sh | Shell | mit | 148 |
#!/bin/sh
set -x
LOGLEVEL=${1:-WARNING}
python src/main.py load_corpus --goldstd genia --log $LOGLEVEL --entitytype protein
python src/main.py annotate --goldstd genia --log $LOGLEVEL --entitytype protein
python src/crossvalidation.py --goldstd genia --log $LOGLEVEL --entitytype protein --models results/genia_cv_prote... | AndreLamurias/IBEnt | benchmarks/ner/genia_corpus.sh | Shell | mit | 696 |
#!/bin/bash
##########################################################################
# This script starts the installation and configuration process of the
# specified application and finally it shows a log file which contains
# reported installation steps and posible errors.
# @author César Rodríguez González
# @ver... | cesar-rgon/desktop-app-installer | app-scripts/midori.sh | Shell | mit | 760 |
#!/usr/bin/env bash
type=`basename $0`
pushd "${0%/*}" &>/dev/null
which wclang >/dev/null || exit 1
export PLATFORM=windows
export MINGWPREFIX=`w32-clang -wc-target`
export MINGWCLANGPREFIX=w32-clang
export MINGWARCH=i686
export CFLAGS="-fms-extensions -D_MSC_VER=1800"
export CXXFLAGS="-fms-extensions -D_MSC_VER=1... | PowerKiller/wc-ng | src/build/checkvcsyntax_clang.sh | Shell | gpl-2.0 | 347 |
#!/sbin/sh
#
# Copyright (C) 2016 CyanogenMod 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 applicable l... | TeamHorizon/android_device_xiaomi_cancro | releasetools/device_check.sh | Shell | gpl-2.0 | 2,316 |
mysql -h 172.17.0.2 -u root -p$(cat /tmp/.DBpasswd) </tmp/adduser.sql
| acasadoalonso/SWiface | provisioning/ADDUSER.sh | Shell | gpl-2.0 | 70 |
openssl genrsa -des3 -out /etc/ssl/server.key 4096
openssl req -new -key /etc/ssl/server.key -out /etc/ssl/server.csr
openssl x509 -req -days 3650 -in /etc/ssl/server.csr -signkey /etc/ssl/server.key -out /etc/ssl/server.crt
openssl rsa -in /etc/ssl/server.key -out /etc/ssl/server.key.insecure
mv /etc/ssl/server.key /e... | eikoninaru/nightshade | ssl-keygen.sh | Shell | gpl-2.0 | 721 |
service mongod stop; service pulp-server stop; service tomcat6 stop; service katello stop; service katello-jobs stop; service elasticsearch stop
kill -9 `ps -aef | grep katello | grep -v grep | awk '{print $2}'`
kill -9 `ps -aef | grep delayed_job | grep -v grep | awk '{print $2}'`
yum erase -y `rpm -qa | grep candlep... | beav/katello | scripts/katello_remove.sh | Shell | gpl-2.0 | 1,020 |
#!/usr/bin/env sh
# -*- coding: utf-8 -*-
#
# This file is part of DoMapping.
# Copyright (C) 2015, 2016 CERN.
#
# DoMapping 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, o... | inveniosoftware/es-jsonschema | run-tests.sh | Shell | gpl-2.0 | 1,229 |
#!/bin/sh
TEST_PURPOSE=goal
TEST_TYPE=umlXhost
TESTNAME=myid-road-02
XHOST_LIST="ROAD EAST SUNRISE"
REF_CONSOLE_FIXUPS="kern-list-fixups.sed nocr.sed"
REF_CONSOLE_FIXUPS="$REF_CONSOLE_FIXUPS east-prompt-splitline.pl"
REF_CONSOLE_FIXUPS="$REF_CONSOLE_FIXUPS cutout.sed"
REF_CONSOLE_FIXUPS="$REF_CONSOLE_FIXUPS klips-d... | ZHAW-INES/rioxo-uClinux-dist | openswan/testing/pluto/myid-road-02/testparams.sh | Shell | gpl-2.0 | 1,031 |
#!/bin/bash
SUPPORTED_ARCHITECTURES=(armeabi-v7a armeabi-v7a-neon x86)
ANDROID_NDK_ROOT_PATH=${ANDROID_NDK}
if [[ -z "$ANDROID_NDK_ROOT_PATH" ]]; then
echo "You need to set ANDROID_NDK environment variable, please check instructions"
exit
fi
ANDROID_API_VERSION=9
NDK_TOOLCHAIN_ABI_VERSION=4.8
NUMBER_OF_CORES=$(np... | hiteshsondhi88/ffmpeg-android | settings.sh | Shell | gpl-3.0 | 540 |
#!/bin/bash
set -e
dirs="
/lib64
/usr/lib
/usr/lib64
/usr/bin
/usr/local/bin
/sbin
/usr/sbin
/usr/local/sbin
"
for dir in $dirs; do
# If any file has group or world write privilege, remove that privilege.
# shellcheck disable=SC2086
find $dir -type f -perm /go=w -exec chmod go-w {} +
done
# Disable empty passwo... | jumanjihouse/docker-puppet | puppetdb/files/remediate-oscap.sh | Shell | gpl-3.0 | 382 |
#!/bin/sh
if [ "$(whoami)" = "root" ];
then
echo don\'t execute this script as root!
fi
cd $(dirname $0)/..
npm install
| eberhab/hopglass-server | scripts/install_deps.sh | Shell | agpl-3.0 | 122 |
#!/bin/bash
CUR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
mkdir -p /home/pi/.firewalla/run/zeek/scripts/bro-long-connection
cp $CUR_DIR/bro-long-connection/* /home/pi/.firewalla/run/zeek/scripts/bro-long-connection/
mkdir -p /home/pi/.firewalla/run/zeek/scripts/bro-heartbeat
cp $CUR_DIR/bro-h... | MelvinTo/firewalla | platform/all/hooks/before_bro/before_bro.sh | Shell | agpl-3.0 | 1,061 |
#!/bin/bash
./scripts/remove-autofiles.sh
./scripts/autotools.sh
| ricardorodab/AceptacionUmbral | scripts/delete-and-compile.sh | Shell | lgpl-2.1 | 66 |
#!/usr/bin/env bash
sleep inf
| aem-design/aem.design | docker-sleep.sh | Shell | apache-2.0 | 31 |
#!/bin/bash
# Copyright 2012 Johns Hopkins University (Author: Guoguo Chen)
# Apache 2.0
# Begin configuration section.
model= # You can specify the model to use
cmd=run.pl
acwt=0.083333
lmwt=1.0
max_silence_frames=50
max_states=1000000
max_states_scale=4
max_expand=180 # limit memory blowup in lattice-align-words
s... | keighrim/kaldi-yesno-tutorial | steps/make_index.sh | Shell | apache-2.0 | 4,402 |
#!/bin/bash
source testutils/utils.sh
_PWD=`pwd`
_BUILD="$_PWD/build"
_TOOLS="$_PWD/tools"
_TESTS="$_PWD/tests"
_PROJECT="$_BUILD/CafeTraveler"
SERIAL_NUMBER="$1"
ADB="adb -s $SERIAL_NUMBER"
TARGET="$2"
usage()
{
echo "usage: $0"
echo " For example, ./travel.sh [serial_number] [target_apk]"
}
resign_apk()
{ ... | BaiduQA/Cafe | travel.sh | Shell | apache-2.0 | 3,051 |
#! /bin/bash
# Copyright 2014-2015 National Institute of Advanced Industrial Science and Technology
#
# 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/LIC... | ict-felix/stack | modules/resource/manager/transit-network/src/proxy.sh | Shell | apache-2.0 | 1,331 |
#!/bin/bash
#/*
# Copyright 2009-2013 by The Regents of the University of California
# 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 from
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... | sjaco002/incubator-asterixdb | asterix-tools/scripts/bash/trim.sh | Shell | apache-2.0 | 678 |
#!/bin/bash -e
cd $(dirname $0)
PATH=$PWD/..:$HOME/go/bin:$PATH
if [[ $1 = "-v" ]]; then
V=-v
shift
fi
rm -f *_sql.go *_sql.json
go generate .
# also...
# These demonstrate the various filters that control what methods are generated
sqlgen -type demo.User -o user_ex_xxxxxxxxx_sql.go $V -prefix X -json ... | rickb777/sqlgen | demo/build.sh | Shell | bsd-2-clause | 3,056 |
#!/bin/bash
# From:
# https://github.com/JohnMorales/dotfiles/blob/master/colors/24-bit-color.sh
# This file was originally taken from iterm2 https://github.com/gnachman/iTerm2/blob/master/tests/24-bit-color.sh
#
# This file echoes a bunch of 24-bit color codes
# to the terminal to demonstrate its functionality.
# ... | rwhogg/DomTerm | tests/24-bit-color.sh | Shell | bsd-3-clause | 2,154 |
for i in `cat /data/shell/ejabberlist.txt |sed s/#//g`; do
echo ' ' $i;
./erl_expect -sname ejabberd@${i}-pri -setcookie EASEMOBAAAAAAAAAAEBS $* &
done
wait
| zhuxiangkui/erl_tool | all_ejabberd_conn.sh | Shell | mit | 194 |
#!/bin/bash
FN="waveTilingData_1.20.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/experiment/src/contrib/waveTilingData_1.20.0.tar.gz"
"https://bioarchive.galaxyproject.org/waveTilingData_1.20.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-wavetilingdata/bioconductor-wavetilingdat... | zachcp/bioconda-recipes | recipes/bioconductor-wavetilingdata/post-link.sh | Shell | mit | 1,321 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | movabletype/mt-data-api-sdk-swift | Example/Pods/Target Support Files/Pods-MTDataAPITests/Pods-MTDataAPITests-frameworks.sh | Shell | mit | 3,921 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.