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 -ex
cd "$(dirname "${BASH_SOURCE[0]}")"
weave launch-router || true
weave expose 10.99.0.254/24 || true
version_tag() {
if [ ! "${VERSION_TAG+x}" = "x" ] ; then git --git-dir "${KUBE_ROOT:-../../}/.git" describe; fi
}
image="errordeveloper/hyperquick:master-$(version_tag)"
token="e44343.dcc54f526ab6b... | errordeveloper/t8s | jws-discovery/master.sh | Shell | apache-2.0 | 2,084 |
restore_undercloud ()
{
HOST=$1
cat > restore <<EOF
cd /root
BACKUP_FILE=\$(find /root/ -type f -name "*backup.tar")
echo "Unpacking DB backup."
tar -xC / -f \$BACKUP_FILE etc/my.cnf.d/server.cnf
tar -xC / -f \$BACKUP_FILE root/undercloud-all-databases.sql
sed -e '/bind-address/ s/^#*/#/' -i /etc/my.cnf.d/ser... | cmyster/coti | functions/restore_undercloud.sh | Shell | apache-2.0 | 1,553 |
#!/bin/bash
# Author: yeho <lj2007331 AT gmail.com>
# BLOG: https://linuxeye.com
#
# Notes: OneinStack for CentOS/RedHat 6+ Debian 8+ and Ubuntu 14+
#
# Project home page:
# https://oneinstack.com
# https://github.com/oneinstack/oneinstack
Install_Percona57() {
pushd ${oneinstack_dir}/src > /dev/null
... | lj2007331/oneinstack | include/percona-5.7.sh | Shell | apache-2.0 | 7,955 |
#!/bin/bash
for x in 0 1 2 3 4 5;
do
curl http://dev.banno.com:7000/api/brokers/stop?id=$x
curl http://dev.banno.com:7000/api/brokers/remove?id=$x
done
curl http://dev.banno.com:7000/api/brokers/status | jq .
| Banno/terraform-provider-mesoskafka | cleanup.sh | Shell | apache-2.0 | 219 |
# -----------------------------------------------------------------------------
#
# Package : furo
# Version : 2020.12.30.beta24
# Source repo : https://github.com/pradyunsg/furo
# Tested on : ubi 8.5
# Language : python
# Travis-Check : True
# Script License: Apache License, Version 2 or later
# Maintainer : Adi... | ppc64le/build-scripts | f/furo/furo_ubi_8.5.sh | Shell | apache-2.0 | 1,652 |
#!/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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | GoogleCloudPlatform/python-docs-samples | .kokoro/tests/run_single_test.sh | Shell | apache-2.0 | 3,884 |
#!/usr/bin/env bash
./gradlew clean build test check uploadArchives closeAndReleaseRepository | pwittchen/prefser | release.sh | Shell | apache-2.0 | 93 |
#!/bin/bash
set -e
DEPLOY=`dirname $0`/..
#
# TEMPLATE FOR RUNNING JARS FROM BASH SCRIPTS
#
# Directory Structure:
# The following directory structure will be assumed
#
# app_root/
# bin/ # All executable scripts go here, ie derivatives of this template
# lib/ # All 3rd party libs/jar... | statsbiblioteket/summa | Summix/bin/generic_start.sh | Shell | apache-2.0 | 5,883 |
#!/bin/bash
###############################################################################
# Configure puppet with our manifests and setting for the puppet run
# Globals:
# None
# Arguments:
# $@
# Returns:
# None
###############################################################################
configure_puppet()... | ajxb/ubuntu-build-server-sandbox | provisioners/script/run_puppet.sh | Shell | apache-2.0 | 3,308 |
# -----------------------------------------------------------------------------
#
# Package : github.com/smartystreets/assertions
# Version : v1.0.1
# Source repo : https://github.com/smartystreets/assertions
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Au... | ppc64le/build-scripts | g/github.com__smartystreets__assertions/github.com__smartystreets__assertions_rhel_8.3.sh | Shell | apache-2.0 | 5,097 |
#!/bin/bash
#
# Translate all files in a folder using the Google Translate API of a Moses server
# (wrapper for accept-client.py)
#
if [ $# -lt 5 ] ; then
echo "Usage: $0 <srcfile> <srclang> <tgtfile> <tgtlang> <api-url>"
exit 1
fi
export thisdir=`dirname $0`
export srcfile=$1
shift
export srclang=$1
shift
... | accept-project/accept-score-rules | translate-api.sh | Shell | apache-2.0 | 505 |
#!/bin/bash
#
# Turn on tracing, we want to see what's going on
#set -x
clear
# Remember the dir where we started out since we use relative paths
scriptPath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
RUNCMAKE_SCRIPTSTARTDIR=${scriptPath%/*}
echo "RUNCMAKE_SCRIPTSTARTDIR = $RUNCMAKE_SCRIPTSTARTDIR"
echo "... | LiberatorUSA/GUCEF | projects/CMake/RunCMake_Shared_CodeBlocks_Unix_Debug_udp2kafka.sh | Shell | apache-2.0 | 844 |
#!/usr/bin/env bash
set -e
set -o pipefail
exec docker-cloud.sh "$@"
| encodeering/docker-owncloud | modules/fpm/sequel/bin/docker-entrypoint.sh | Shell | apache-2.0 | 71 |
#!/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/java-securitycenter | .kokoro/release/publish_javadoc.sh | Shell | apache-2.0 | 1,424 |
#!/bin/bash -e
module use /lustre/home/nx01/shared/cherold/sw/modules
module load otf2-merger/git # Prototype
| mF2C/COMPSs | compss/runtime/scripts/system/trace/scorep-merger.sh | Shell | apache-2.0 | 112 |
# Copyright 2021 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 in writing, sof... | google/golden-path-for-app-delivery | test.sh | Shell | apache-2.0 | 616 |
#!/bin/sh
############################
##change current directory
############################
if [ `echo $0 | grep -c "/"` -gt 0 ];then
cd ${0%/*}
fi
rm -rf ../build
rm -rf ../packages
cd ../
xcodebuild clean
rm -rf ./build
| BenXia/TXTDDemo | Bin/clearPackages.sh | Shell | artistic-2.0 | 234 |
set -euo pipefail
function run() {
echo '$' "$@"
"$@"
echo
}
function die() {
echo "$@" >&2
exit 1
}
PY=${PY-python3}
command -v $PY >/dev/null || die "Python interpreter '$PY' not found"
PY_MAJOR="$($PY -c 'import sys; print(sys.version_info.major)')"
PY_MINOR="$($PY -c 'import sys; print(sys.... | ppb/ppb-vector | .common.sh | Shell | artistic-2.0 | 402 |
#!/bin/sh
#
PATH="/usr/local/bin:/usr/bin:/bin"
LANG="C"
LC_CTYPE="C"
if [ "`uname -s`" = "Linux" ]; then
/usr/sbin/setenforce 0
perl -i -ple 's/^SELINUX=.+$/SELINUX=disabled/' /etc/sysconfig/selinux
fi
| azumakuniyuki/make-server | script/11-selinux-off.sh | Shell | bsd-2-clause | 213 |
cd ../..
g++ -O3 -o simplifyDriver drivers/simplification.cc -I src build/src/libiegenlib.a -lisl -std=c++11
cd data/ILU0_CSR/
time ../../simplifyDriver ilu0.json > ilu0.out 2> /dev/null
echo ""
echo "The output is written to ilu0.out"
echo ""
| CompOpt4Apps/IEGenLib | data/ILU0_CSR/runscript.sh | Shell | bsd-2-clause | 244 |
java -cp $(dirname $0)/bin/ com.wolfesoftware.mipsos.debugger.Debugger "$@"
| thejoshwolfe/mips-os | run_debugger.sh | Shell | bsd-2-clause | 76 |
#!/usr/bin/env bash
FAILED=0
if [ "$DESTDIR" == "" ]; then
DESTDIR=/
fi
nosetests || ((FAILED++))
sudo /etc/init.d/apache2 stop
sudo /etc/init.d/nginx stop
if [ "$SKIP_DEPLOY" == "" ]; then
sudo ./brutus-deploy --srcdir=tmp/output $DESTDIR || ((FAILED++))
sudo ./brutus-deploy --srcdir=tests/root $DESTD... | vpsfreecz/brutus | tests/run-travis.sh | Shell | bsd-2-clause | 789 |
#!/bin/bash
# Try and make sure the internet is connected
sleep 10
weather=$(/usr/bin/python2 $HOME/git/conky_wunderground_scripts/wunderground_current.py 77042)
if [ $? == 0 ]; then
echo $weather > /tmp/current-forecast-$USER
fi
$HOME/git/conky_wunderground_scripts/pubip.sh &
while true; do
sleep 600
weather=$(/... | iwvelando/conky_wunderground_scripts | runner_wunderground_min.sh | Shell | bsd-2-clause | 572 |
#!/bin/sh
git clone https://github.com/google/closure-library.git lib/closure-library
git clone https://github.com/imaya/zlib.js lib/zlib.js
| danghvu/e2enode | install_lib.sh | Shell | bsd-2-clause | 144 |
#!/bin/sh
IMAGE=build/base/bin/embox
arm-none-eabi-gdb -x $(dirname $0)/da14695_gdb_start_script $IMAGE
| embox/embox | scripts/dialog/da14695/gdb_start.sh | Shell | bsd-2-clause | 106 |
PROJECT="all-of-us-workbench-test"
PETVET_DATASET="1kg_wgs"
DEST_TABLE="cohort_extract"
TEMP_DATASET="1kg_wgs_temp_tables"
EXTRACT_DATASET="1kg_wgs_extract"
COHORT_LIST_TABLE="cohort"
python ngs_cohort_extract.py \
--fq_petvet_dataset ${PROJECT}.${PETVET_DATASET} \
--fq_temp_table_dataset ${PROJECT}.${TEMP_DATASET... | all-of-us/workbench | api/genomics/scripts/run_cohort_extract.sh | Shell | bsd-3-clause | 626 |
#!/bin/bash
# change locales to en_US.UTF-8
dpkg-reconfigure locales
sed -i "s/wheezy/jessie/" /etc/apt/sources.list
apt-get update
apt-get dist-upgrade
apt-get autoremove
apt-get install libreoffice p7zip-full libfontforge1 timidity freepats pmount
dpkg -i pdf2htmlex*.deb
# Make Libreoffice usable on a RO filesyste... | Dymaxion00/KittenGroomer | prepare_rPI.sh | Shell | bsd-3-clause | 548 |
#!/bin/sh
rsync -e ssh -rpzv _build/html/* scott@vehicles.caltech.edu:/var/www/scott/btsynth/
| slivingston/btsynth | doc/update.sh | Shell | bsd-3-clause | 95 |
#/bin/bash
# Creates the service account for scrap.skia.org.
../../kube/secrets/add-service-account.sh \
skia-public \
skia-public \
scrapexchange \
"The scrapexchange server service account." \
roles/storage.objectAdmin | google/skia-buildbot | scrap/secrets/create-skia-public-service-account.sh | Shell | bsd-3-clause | 231 |
#!/bin/bash
cd /var/www
php bin/console doctrine:database:drop --force
php bin/console doctrine:database:create
php bin/console doctrine:generate:entities IceMarkt/Bundle/MainBundle/Entity/MailRecipient
php bin/console doctrine:generate:entities IceMarkt/Bundle/MainBundle/Entity/EmailProfile
php bin/console doctrine:g... | irvingswiftj/iceMarkt | setupdb.sh | Shell | bsd-3-clause | 521 |
#!/bin/bash
configname=configuration.conf
configfile="configuration/$configname"
verbosity='> /dev/null'
while [[ $# > 0 ]]
do
key="$1"
case $key in
-verbose)
verbosity=''
;;
-configNumber)
confignumber=$2
echo "confignumber is $confignumber"
configfile="`head -$confignumber configuration/list |... | Jacques-Florence/schedSim | src/run.sh | Shell | bsd-3-clause | 1,125 |
#!/bin/sh
g++ -c *.cpp
g++ -o Zelda.bin *.o -lSDL
| zork9/zelda-links-awakening-2 | build.linux.sh | Shell | bsd-3-clause | 51 |
#/bin/sh
mysql -u root -p --default-character-set utf8 -D mk < ./mk_create_tables.sql
| Petrus3D/Monark2 | 2_create_tables.sh | Shell | bsd-3-clause | 88 |
#!/bin/bash
RETCODE=$(fw_exists ${IROOT}/py3.installed)
[ ! "$RETCODE" == 0 ] || { return 0; }
fw_get http://www.python.org/ftp/python/3.4.2/Python-3.4.2.tar.xz
fw_untar Python-3.4.2.tar.xz
cd Python-3.4.2
./configure --prefix=${IROOT}/py3 --disable-shared --quiet
make -j4 --quiet
make install --quiet
${IROOT}/py3/b... | kellabyte/FrameworkBenchmarks | toolset/setup/linux/languages/python3.sh | Shell | bsd-3-clause | 425 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/viking_mpg... | Team4276/2016_VisionSystem | viking_mpg_streamer/nbproject/Package-Release.bash | Shell | mit | 1,509 |
source $setup
tar -xf $src
mv libXfixes-* xfixes
mkdir build
cd build
PKG_CONFIG=pkg-config-cross \
../xfixes/configure --prefix=$out $configure_flags
make
make install
sed -i 's/Requires.private/Requires/' $out/lib/pkgconfig/*.pc
ln -sf $xproto/lib/pkgconfig/*.pc $out/lib/pkgconfig/
ln -sf $fixesproto/lib/pkgco... | ngzax/urbit | nix/nixcrpkgs/pkgs/libxfixes/builder.sh | Shell | mit | 404 |
#!/bin/bash
apt-get update
apt-get install -y portaudio19-dev flac uchardet libmagic1 enca recode python-lxml \
libxml2-dev libxslt-dev ed
source /venv27/bin/activate
pip2 install --upgrade setuptools pip
pip2 install chardet
pip2 install pyicu
pip2 install cssutils
pip2 install shutilwhich
pip2 install python-magic... | PHI-Toolkit/docker-jupyterhub | packages/python-nlp-packages.sh | Shell | mit | 1,372 |
#!/bin/sh
set -e
mv /build/conf/nginx.logs.conf /var/www/photoems/nginx.logs.conf
| andrei2nikitin/quiz | dockerfiles/build/logs.sh | Shell | mit | 84 |
wget -O ship.json "http://kcwikizh.github.io/kcdata/ship/all.json"
wget -O shiptype.json "http://kcwikizh.github.io/kcdata/shiptype/all.json"
wget -O shipclass.json "http://kcwikizh.github.io/kcdata/shipclass/all.json"
wget -O slotitem.json "http://kcwikizh.github.io/kcdata/slotitem/all.json"
wget -O useitem.json "http... | kcwikizh/poi-statistics | data/fetch.sh | Shell | mit | 432 |
#!/bin/sh
AUTOLOGIN=1
if [ "$AUTOLOGIN" == "1" ] ; then
# enable autologin
/bin/login -f root
else
# disable autologin
/bin/login
fi
| virt2real/v2r_buildroot | board/virt2real/v1mass/rootfs-additions/etc/virt2real/autologin.sh | Shell | gpl-2.0 | 156 |
#! /bin/bash
$MONGO_DIR/bin/mongo --username=$adminUsername --password=$adminPassword $adminDatabase --eval "printjson(db.shutdownServer())"
| Percona-QA/toku-qa | tokudb/software/mongodb/audit/01_user_management/99_shutdown.bash | Shell | gpl-2.0 | 142 |
#!/bin/sh
#
# Copyright (c) 2006 Shawn Pearce
#
test_description='Test git update-ref and basic ref logging'
. ./test-lib.sh
Z=0000000000000000000000000000000000000000
test_expect_success setup '
for name in A B C D E F
do
test_tick &&
T=$(git write-tree) &&
sha1=$(echo $name | git commit-tree $T) &&
eval... | certik/git | t/t1400-update-ref.sh | Shell | gpl-2.0 | 9,231 |
#
# Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foun... | kgilmer/openjdk-7-mermaid | test/sun/security/pkcs11/Provider/Login.sh | Shell | gpl-2.0 | 2,996 |
#!/bin/bash
#
# This script handles the provisioning of software for windows machines.
cd /vagrant/
# copy the authoring_tool into the VM box
# move to /home/vagrant/
mv conf frontend lib plugins routes test test_frontend .editorconfig .gitignore config.js Gruntfile.js index.js install.js package.json server.js upgra... | AmitGolhar/adapt_authoring | vagrant_setup_win.sh | Shell | gpl-3.0 | 1,559 |
#!/bin/sh
cd work
rm -f rootfs.cpio.gz
cd rootfs
find . | cpio -H newc -o | gzip > ../rootfs.cpio.gz
cd ../..
| Diaob/minimal | src/6_pack_rootfs.sh | Shell | gpl-3.0 | 115 |
#!/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 1A/logs/w-09_1/20161106T121502+0000/00/00/generalinfo_0_ID0000002.sh | Shell | gpl-3.0 | 1,243 |
#!/bin/bash
./differentialrobotComp --Ice.Config=../etc/config &
| robocomp/robocomp-robolab | components/hardware/base/differentialrobotComp/bin/startpbase.sh | Shell | gpl-3.0 | 65 |
#!/usr/bin/env bash
#
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
set -e
if [ -z "$IOS_CMAKE_TOOLCHAIN_FILE" ]
then
echo "IOS_CMAKE_TOOLCHAIN_FILE not set... | lavima/MLLib | src/torch/aten/src/ATen/native/quantized/cpu/qnnpack/scripts/build-ios-armv7s.sh | Shell | gpl-3.0 | 1,441 |
#!/bin/sh
tar -xf kripke-v1.2.4-d85c6bc.tar.gz
cd kripke-v1.2.4-d85c6bc
mkdir build
cd build
cmake -DENABLE_OPENMP=TRUE ..
make -j $NUM_CPU_CORES
echo $? > ~/install-exit-status
cd ~
echo "#!/bin/sh
cd kripke-v1.2.4-d85c6bc/build/
OMP_NUM_THREADS=\$NUM_CPU_CORES ./bin/kripke.exe \$@ > \$LOG_FILE
echo \$? > ~/test-exi... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/kripke-1.1.0/install.sh | Shell | gpl-3.0 | 357 |
#! /bin/bash
# Install everything that is in apt
sudo apt-get install -y git
sudo apt-get install default-jdk
sudo apt-get install default-jre
sudo apt-get install -y python-numpy
sudo apt-get install -y python-scipy
sudo apt-get install -y python-matplotlib
sudo apt-get install -y python-qt4
sudo apt-get install -y p... | mueller-lab/PyFRAP | install_linux.sh | Shell | gpl-3.0 | 670 |
#!/usr/bin/env bash
# ------------------------------------------------------------------
# Author [Jean Pourroy - jean.pourroy at g_:) _mail.com]
# [Frederic Ciesielski]
# [Patrick Demichel]
#
# Description: Bash file using to start/stop HPMC counters for Skylake Architecture through /dev/msu/... | PourroyJean/performance_modelisation | src/tool_PMU/pmu_hpmc.sh | Shell | gpl-3.0 | 7,137 |
#!/bin/bash
if [ -z $2 ]; then printf "\nSytnax: $0 <massscan.out> <client>\n\n"
else
FILE=$1; CLIENT=$2; cd ~/whatweb/; for HOST in $(awk '{print $6}' $FILE|sort -u); do
for PORT in $(grep "$HOST" $FILE|awk '{print $4}'|cut -d'/' -f1;); do
echo "ruby whatweb -a 4 --no-errors http://$HOST:$PORT/ 2>/dev/null|s... | jnqpblc/Randomness | 3.mapping/masscan-to-whatweb.sh | Shell | gpl-3.0 | 889 |
docker build -t nomad-e2e .
| nak3/nomad | e2e/migrations/docker-init.sh | Shell | mpl-2.0 | 29 |
cd `dirname $0`/../archives
curl -L "http://downloads.sourceforge.net/project/modules/Modules/modules-3.2.10/modules-3.2.10.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fmodules%2Ffiles%2FModules%2Fmodules-3.2.10%2F&ts=1415873248&use_mirror=switch" > modules-3.2.10.tar.gz
| alces-software/clusterware-packager | scripts/fetch_archives.sh | Shell | agpl-3.0 | 278 |
#!/usr/bin/env bash
set -e
if [ -z "$HOME_REPAIR" ] || [ ! -d $HOME_REPAIR ]; then
echo "Create home for repairnator: $HOME_REPAIR"
mkdir -p $HOME_REPAIR
fi
mkdir -p $ROOT_LOG_DIR
mkdir -p $ROOT_BIN_DIR
mkdir -p $ROOT_OUT_DIR
export REPAIR_OUTPUT_PATH=$REPAIR_OUTPUT_PATH"_$RUN_ID"
export LOG_DIR=$LOG_DIR"_$... | Spirals-Team/librepair | src/scripts/utils/create_structure.sh | Shell | agpl-3.0 | 580 |
#!/bin/bash
#
# Copyright (C) 2016 Colin Walters <walters@verbum.org>
#
# SPDX-License-Identifier: LGPL-2.0+
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the Li... | GNOME/ostree | tests/test-export.sh | Shell | lgpl-2.1 | 2,813 |
#! /bin/bash
# test for compact v/s non-compact json-ld result document
# compact
STORE_ACCOUNT=json-ld curl_sparql_request \
--repository "foaf" \
-H "Accept: application/ld+json" \
'query=describe%20?s%20where%20%20%7b?s%20?p%20?o%7d' \
| fgrep -q -v '<http://xmlns.com/foaf/0.1/Person>'
# non-compact
STORE... | dydra/http-api-tests | extensions/sparql-protocol/json-ld/compact.sh | Shell | unlicense | 578 |
#!/bin/bash -e
if [ "$(id -u)" != "0" ] ; then
echo "Running the script with root's privileges"
sudo "$0"
exit $?
fi
echo '------------------------------------------------------------------'
echo ' /data and /logs volumes installation'
echo '----------------------------------------------... | samsara/samsara | deployments/amazon-ec2/images/scripts/data-volumes.sh | Shell | apache-2.0 | 760 |
#!/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 applicabl... | metral/nginx | start.sh | Shell | apache-2.0 | 1,468 |
#!/bin/sh
function a {
echo a $1 1>&2 $2 ${3}
}
function x {
echo $*
}
function x2 {
echo ${*}
}
function y {
echo $@
}
function y2 {
echo ${@}
}
a a b c
x a
x2 a
y a b c
y2 a b c
| jansorg/BashSupport | testData/psi/inspection/unusedFunctionParameter/ok/src/A.bash | Shell | apache-2.0 | 206 |
#!/bin/bash
# verbose
set -x
momentum=.95
epochs=20
layerSize=1824
numLayers=5
maxBatch=1500
step=1e-5
anneal=1.3
deviceId=0
temporalLayer=3
outfile="models/swbd_layers_${numLayers}_${layerSize}_bitemporal_${temporalLayer}_step_${step}_mom_${momentum}_anneal_${anneal}.bin"
echo $outfile
python runNNet.py --layerSiz... | amaas/stanford-ctc | ctc_fast/swbd-utils/runSwbd.sh | Shell | apache-2.0 | 708 |
#!/bin/bash
# This script tests the high level end-to-end functionality demonstrated
# as part of the examples/sample-app
set -o errexit
set -o nounset
set -o pipefail
OS_ROOT=$(dirname "${BASH_SOURCE}")/../..
source "${OS_ROOT}/hack/util.sh"
source "${OS_ROOT}/hack/cmd_util.sh"
os::log::install_errexit
source "${O... | tmckayus/oshinko-rest | vendor/github.com/openshift/origin/test/end-to-end/core.sh | Shell | apache-2.0 | 22,906 |
#!/bin/sh
#
# Copyright (C) 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS ... | execunix/vinos | external/bsd/bind/dist/bin/tests/system/rsabigexponent/prereq.sh | Shell | apache-2.0 | 1,097 |
#!/bin/bash
# Copyright 2016 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | danwinship/kubernetes | test/e2e_node/environment/setup_host.sh | Shell | apache-2.0 | 3,796 |
#!/bin/sh
#
# This is a help script to run cucumber scenarios given a set of tags.
# ex: Running the controllers.feature (annotated with @controllers)
# sh cuke.sh @controllers
#
# You can also combine tags to filter out scenarios:
#
# ex: only starting the server created in the publicServices.feature. Run the scenari... | etexier/r2m-cli | tests/cuke.sh | Shell | apache-2.0 | 1,489 |
#!/bin/bash
perl -Ilib scripts/generate.demo.pl
# $DR is my web server's doc root.
DIR=html
PM=Perl-modules/html/graphviz2.marpa.pathutils
mkdir -p $DR/$PM
mkdir -p ~/savage.net.au/$PM
cp $DIR/* $DR/$PM > /dev/null
cp $DIR/* ~/savage.net.au/$PM > /dev/null
echo Copied files to $DR/$PM
echo Warning: Ch... | ronsavage/GraphViz2-Marpa-PathUtils | scripts/generate.demo.sh | Shell | artistic-2.0 | 361 |
#!/bin/sh
# Prepare all supported Python branches for memory debugging:
# ./build_all_branches --without-threads --with-pydebug
branches="2.5 2.6 2.7 3.1 3.2 default"
cd ../../
for dir in $branches; do
cd $dir
if [ -f Makefile ]; then
make distclean
fi
./configure --prefix=/dev/null ... | valven/cdecimal | python/build_all_branches.sh | Shell | bsd-2-clause | 492 |
#!/bin/sh
# 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.
/usr/sbin/installer -pkg "$1/Chrome Remote Desktop.mpkg" -target /
| gx1997/chrome-loongson | remoting/host/installer/mac/Scripts/keystone_install.sh | Shell | bsd-3-clause | 245 |
#!/usr/bin/env bash
# Copyright 2014 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# See main.go for commentary.
set -e
if [ ! -f make.bash ]; then
echo 'make.bash must be run from $GOPATH/src/code.google.com/p/go.mobile/ex... | rejoicelee/clone.go-mobile | example/libhellojni/make.bash | Shell | bsd-3-clause | 901 |
#!/usr/bin/env bash
set -e
echo $CIRCLE_TAG
IFS=$'\n'
badFiles=($(goimports -l $(go list -f {{.Dir}} ./... | grep -v /vendor/)))
unset IFS
if [ ${#badFiles[@]} -eq 0 ]; then
echo "Congratulations! All Go source files are formatted correctly! :D"
else
{
echo "The following files are not formatted properly:"
... | Ultraporing/albiondata-client | scripts/validate-fmt.sh | Shell | mit | 573 |
#!/bin/sh
#sudo co -l /etc/squid/personal.conf
#sudo gedit /etc/squid/personal.conf
#sudo rcsdiff -u /etc/squid/personal.conf
#sudo ci -u /etc/squid/personal.conf
sudo co -l /etc/squid/squid.conf
sudo gedit /etc/squid/squid.conf
sudo rcsdiff -u /etc/squid/squid.conf
sudo ci -u /etc/squid/squid.conf
| sauloal/linuxscripts | squid/squid2/editsquid.sh | Shell | mit | 301 |
#!/bin/sh -e
#
# Copyright (C) 2008-2011 Intel
#
# install.sh [device_name] [rootfs_name] [video_mode] [vga_mode]
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# We need 20 Mb for the boot partition
boot_size=20
# 5% for the swap
swap_ratio=5
# Get a list of hard drives
hdnamelist=""
live_dev_name=${1%%/*}
live_dev_name=${l... | wwright2/dcim3-angstrom1 | sources/openembedded-core/meta/recipes-core/initrdscripts/files/init-install.sh | Shell | mit | 5,539 |
#!/usr/bin/env bash
PACKAGES="nsis cloog-isl libmpc2 qt4-linguist-tools mingw32
mingw32-x-sdl mingw32-x-libvorbis mingw32-x-fluidsynth mingw32-x-stk
mingw32-x-glib2 mingw32-x-portaudio mingw32-x-libsndfile mingw32-x-fftw
mingw32-x-flac mingw32-x-fltk mingw32-x-libsamplerate
mingw32-x-pkgconfig mingw32-x-binutils m... | Fastigium/lmms | .travis/linux.win32.install.sh | Shell | gpl-2.0 | 528 |
#!/bin/bash --
| TrentHawkins/ikkt-clm | T/limits/ems.aen.sh | Shell | gpl-3.0 | 15 |
#!/bin/bash
ACV="5.6"
ARC=".tar.gz"
APN="ncurses"
export ACV ARC APN
ACB=$APN-$ACV
export ACB
###################################
#
# Ncurses-5.6
#
###################################
cd $LSB
$TC $LSR/$ACB$ARC
cd $ACB
./configure --prefix=/tools --with-shared \
--without-debug --without-ada --enable-overwrite
ma... | buswellj/code | AppOS-Linux/AppOS-Hardened/scripts/ncurses_h1.sh | Shell | gpl-3.0 | 337 |
#!/bin/bash
CONTAINERPILOT_LOGFILE="/tmp/containerpilot.log"
CONTAINERPILOT_ROTATEDLOGFILE="/tmp/containerpilot.log.1"
sleep 2
logs=`cat $CONTAINERPILOT_LOGFILE`
nb_lines=`cat $CONTAINERPILOT_LOGFILE | wc -l`
if [ ! -f $CONTAINERPILOT_LOGFILE ] || [[ $logs != *"hello world"* ]]; then
exit 1
fi
#rotate logs
mv $C... | joyent/containerbuddy | integration_tests/tests/test_reopen/test_reopen.sh | Shell | mpl-2.0 | 700 |
#!/bin/sh
# Build command for belacsound
c++ main.cpp -o belacsound -std=c++11 -fno-pie -no-pie `/usr/xenomai/bin/xeno-config --skin=posix --cflags` -I/usr/local/lib \
-I/root/Bela/include -L/usr/local/lib `/usr/xenomai/bin/xeno-config --skin=posix --ldflags` \
-lcsound -lsndfile -L/root/Bela/lib \
-lbela -... | csound/csound | Bela/build.sh | Shell | lgpl-2.1 | 342 |
#!/bin/bash
# ------------------------------------------------------------------------
#
# Copyright 2016 WSO2, Inc. (http://wso2.com)
#
# 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... | Thanu/kubernetes-artifacts | wso2am/undeploy.sh | Shell | apache-2.0 | 1,591 |
#!/bin/bash -eu
# Copyright 2016 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 agree... | skia-dev/oss-fuzz | projects/wget/build.sh | Shell | apache-2.0 | 3,922 |
#!/bin/sh
source conf/drillTestConfig.properties
set -x
set -e
if [ -z "$PASSWORD" ]
then
${DRILL_HOME}/bin/sqlline -n ${USERNAME} -u "jdbc:drill:schema=dfs.aggregation;drillbit=${DRILL_STORAGE_PLUGIN_SERVER}" --run=${DRILL_TEST_DATA_DIR}/Datasources/limit0/aggregates/aggregation/multicolumn/create_multicolumn_view... | Agirish/drill-test-framework | framework/resources/Datasources/limit0/aggregates/aggregation/multicolumn/create_multicolumn_views.sh | Shell | apache-2.0 | 592 |
#!/bin/sh
#
# alsa-utils initscript
#
### BEGIN INIT INFO
# Provides: alsa-utils
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start:
# Default-Stop: 0 6
# Short-Description: Restore and store ALSA driver settings
# Description: This script stores and restores mixer... | jansorg/BashSupport | testData/errorFiles/AlsaUtils.bash | Shell | apache-2.0 | 11,858 |
#!/bin/bash
###########################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in s... | PoornimaNayak/autotest-client-tests | linux-tools/popt/popt.sh | Shell | gpl-2.0 | 3,198 |
# 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"); you may not use ... | alanfgates/hive | bin/ext/strictmanagedmigration.sh | Shell | apache-2.0 | 1,078 |
#!/bin/bash
FN="FDb.InfiniumMethylation.hg18_2.2.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/annotation/src/contrib/FDb.InfiniumMethylation.hg18_2.2.0.tar.gz"
"https://bioarchive.galaxyproject.org/FDb.InfiniumMethylation.hg18_2.2.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-fd... | joachimwolff/bioconda-recipes | recipes/bioconductor-fdb.infiniummethylation.hg18/post-link.sh | Shell | mit | 1,394 |
#!/bin/bash
FN="CLL_1.32.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/experiment/src/contrib/CLL_1.32.0.tar.gz"
"https://bioarchive.galaxyproject.org/CLL_1.32.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-cll/bioconductor-cll_1.32.0_src_all.tar.gz"
)
MD5="54117a14479d842849022b... | phac-nml/bioconda-recipes | recipes/bioconductor-cll/post-link.sh | Shell | mit | 1,267 |
#!/bin/bash
#
# Download OpenFace models.
cd "$(dirname "$0")"
die() {
echo >&2 $*
exit 1
}
checkCmd() {
command -v $1 >/dev/null 2>&1 \
|| die "'$1' command not found. Please install from your package manager."
}
checkCmd wget
checkCmd bunzip2
mkdir -p dlib
if [ ! -f dlib/shape_predictor_68_face_landmar... | EliHar/Pattern_recognition | openface1/models/get-models.sh | Shell | mit | 3,021 |
#!/bin/bash
db='../db/versions/6.1/versions.tsv'
bunzip2 '1f231bad38cd1781e7431df1fb2023df458dc3aefb31a0a4c8bb4d2a7c7a3e9b-primary.sqlite.bz2'
packagesdata="$(sqlite3 -separator $'\t' '1f231bad38cd1781e7431df1fb2023df458dc3aefb31a0a4c8bb4d2a7c7a3e9b-primary.sqlite' 'select name, epoch, version, release, location_hre... | avgoor/python-cudet | util/update-versions-db-6.1-from-centos-iso-sqlite.sh | Shell | gpl-2.0 | 1,152 |
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
set -e
TEST_DESCRIPTION="https://github.com/systemd/systemd/issues/3166"
TEST_NO_NSPAWN=1
. $TEST_BASE_DIR/test-functions
test_setup() {
create_empty_image
mkdir -p $TESTDIR/root
mount... | dvdhrm/systemd | test/TEST-11-ISSUE-3166/test.sh | Shell | gpl-2.0 | 2,151 |
#!/bin/sh
#
# Copyright (c) 2012 SZEDER Gábor
#
test_description='test git-specific bash prompt functions'
. ./lib-bash.sh
. "$GIT_BUILD_DIR/contrib/completion/git-prompt.sh"
actual="$TRASH_DIRECTORY/actual"
c_red='\\[\\e[31m\\]'
c_green='\\[\\e[32m\\]'
c_lblue='\\[\\e[1;34m\\]'
c_clear='\\[\\e[0m\\]'
test_expect_... | sunny256/git | t/t9903-bash-prompt.sh | Shell | gpl-2.0 | 20,557 |
#!/bin/sh
#
# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permissi... | rhuitl/uClinux | user/bind/bin/tests/system/masterfile/clean.sh | Shell | gpl-2.0 | 934 |
#!/bin/bash
. "$(dirname $BASH_SOURCE)/fits-env.sh"
cmd="java -classpath \"$APPCLASSPATH\" edu.harvard.hul.ois.fits.Fits $args"
eval "exec $cmd"
| Det-Kongelige-Bibliotek/fits | fits.sh | Shell | gpl-3.0 | 148 |
#!/bin/sh
# demonstrate that stat - works and stat -f - does not.
# Copyright (C) 2009-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 3 of t... | shichao-an/coreutils | tests/misc/stat-hyphen.sh | Shell | gpl-3.0 | 1,003 |
#!/bin/sh
# Check the set of headers with conformtest expectations for a given standard.
# Copyright (C) 2014-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#... | geminy/aidear | oss/glibc/glibc-2.24/conform/check-header-lists.sh | Shell | gpl-3.0 | 1,538 |
#!/bin/bash
#
# Helper script to upload docs to doc.servo.org.
# Requires ghp-import (from pip)
# GitHub API token must be passed in environment var TOKEN
set -e
cd "$(dirname $0)/../.."
./mach doc
# etc/doc.servo.org/index.html overwrites $(mach rust-root)/doc/index.html
cp etc/doc.servo.org/* target/doc/
python c... | raviflipsyde/servo | etc/ci/upload_docs.sh | Shell | mpl-2.0 | 467 |
#!/bin/bash
set -e -x
f() {
if test -z "$1"; then
echo "crap"
exit 2
fi
read -r -d '' -a templist <&0 || true
echo ${templist[@]}
}
f "something" <<EOF
a
b
c
d e f
g
EOF
| respeccing/gentooskyline | system/Z575/OSes/manjaro/filesystem_now/home/emacs/temporary_sandbox_play/tests1/b.bash | Shell | apache-2.0 | 192 |
#!/bin/bash
RETCODE=$(fw_exists ${IROOT}/node.installed)
[ ! "$RETCODE" == 0 ] || { \
source $IROOT/node.installed
return 0; }
VERSION="6.3.0"
fw_get -O http://nodejs.org/dist/v$VERSION/node-v$VERSION-linux-x64.tar.gz
fw_untar node-v$VERSION-linux-x64.tar.gz
NODE_HOME=$IROOT/node-v$VERSION-linux-x64
# Upgrade n... | PermeAgility/FrameworkBenchmarks | toolset/setup/linux/languages/nodejs.sh | Shell | bsd-3-clause | 703 |
#!/bin/sh
self=$0
usage() {
cat <<EOF >&2
Usage: $self [options] FILE
Reads the Run Time CPU Detections definitions from FILE and generates a
C header file on stdout.
Options:
--arch=ARCH Architecture to generate defs for (required)
--disable-EXT Disable support for EXT extensions
--require-EXT Require sup... | amd/Chromium-WebCL | src/third_party/libvpx/source/libvpx/build/make/rtcd.sh | Shell | mit | 7,138 |
#!/bin/bash
######################################################################
#By Tummy a.k.a Vincent C. Passaro #
#Vincent[.]Passaro[@]gmail[.]com #
#www.vincentpassaro.com #
######################################################################
#___________________________... | jpschaaf/hardening-script-el6 | scripts/gen008140.sh | Shell | gpl-2.0 | 2,392 |
#! /bin/sh
LANG=C; export LANG
LC_ALL=C; export LC_ALL
LC_COLLATE=C; export LC_COLLATE
if [ $# -lt 3 ]
then
echo "Usage: $0 awk [-h headerdefine] outputheader proto_obj"
exit 1
fi
awk="$1"
shift
if [ x"$1" = x-h ]
then
headeropt="-v headername=$2"
shift; shift;
else
headeropt=""
fi
header="$1"
shift
head... | ipwndev/DSLinux-Mirror | user/samba/source/script/mkproto.sh | Shell | gpl-2.0 | 704 |
#!/bin/bash
if [[ -n "$1" && -n "$2" ]] ; then
rm -r ./PokerTH-$1*
mkdir ./PokerTH-$1
cp release/pokerth.exe ./PokerTH-$1/
cp release/pokerth.exe .
cp -R ./data ./PokerTH-$1/
find ./PokerTH-$1/ -name ".svn" | xargs rm -Rf
zip -r PokerTH-$1-windows.zip ./PokerTH-$... | pokerth/pokerth | win_create_release.sh | Shell | agpl-3.0 | 961 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.