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
timeout_set '3 minutes' CHUNKSERVERS=10 \ DISK_PER_CHUNKSERVER=1 \ MOUNT_EXTRA_CONFIG="mfscachemode=NEVER" \ USE_RAMDISK=YES \ setup_local_empty_lizardfs info # List of file sizes which will be tested for each xor level sizes=(100 200 300 1000 2000 3000 10000 20000 30000 100000 200000 300000 \ $((LIZARDFS_BLOCK_...
lizardfs/lizardfs
tests/test_suites/ShortSystemTests/test_xor_truncate_missing_parts.sh
Shell
gpl-3.0
1,873
#!/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-11_1/20161107T225001+0000/00/00/taskevent_8_ID0000014.sh
Shell
gpl-3.0
1,237
#!/bin/bash # Pin commands to install vagrant, ansible, serverspec # Pinning commands will ensure that they are run in each snap-ci stage. # This is useful for two reasons: # * rerunning a single stage from a pipeline of many # * keeping the CI suite DRY set -e set -x # Support Snap-CI cache directory, but also a...
mark-in/securedrop-prov-upstream
snap_ci/pinned.sh
Shell
agpl-3.0
1,479
#!/bin/bash -e SVNFLAGS="-q" CURDIR=$(pwd) SCRIPT_DIR=$(cd $(dirname $0) && pwd) cd $SCRIPT_DIR ./setup.sh cd svn-test/checkout/testrepo echo "new content" > README.txt svn add $SVNFLAGS README.txt svn commit $SVNFLAGS -m "Added readme." svn cp $SVNFLAGS README.txt OTHER.txt svn commit $SVNFLAGS -m "Copied readme."...
cstroe/svndumpapi
src/test/resources/dumps/scripts/svn_copy_file_many_times_new_content.sh
Shell
agpl-3.0
659
#!/bin/bash # Copyright 2015 Yajie Miao (Carnegie Mellon University) # Apache 2.0 # This script trains acoustic models based on CTC and using SGD. ## Begin configuration section train_tool=train-ctc-parallel # the command for training; by default, we use the # parallel version which processes m...
tzyll/eesen
asr_egs/wsj/steps/train_ctc_parallel.sh
Shell
apache-2.0
8,133
#!/bin/bash -ex # 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"...
xhochy/arrow
python/manylinux201x/scripts/build_cares.sh
Shell
apache-2.0
1,316
#!/bin/sh inventory_file_path=$1 pbench_label="pbench_role=agent" register_all_nodes=$2 oc_client_url=$3 ansible_host=$4 prometheus_path=/root/svt/openshift_tooling/openshift_labeler/prometheus_metrics.yml # Check for kubeconfig if [[ ! -s $HOME/.kube/config ]]; then echo "cannot find kube config in the home directo...
vikaslaad/svt
openshift_tooling/openshift_labeler/generate.sh
Shell
apache-2.0
2,568
#!/usr/bin/env 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...
sparkprime/jsonnet
tools/scripts/push_docs.sh
Shell
apache-2.0
2,084
#!/usr/bin/env bash clear_up() { echo "Clearing up environment. Uninstalling analytics-zoo" pip uninstall -y bigdl-dllib pip uninstall -y bigdl-orca pip uninstall -y pyspark } set -e echo "#1 start test for tf2_lenet_mnist.ipynb" #replace '!pip install --pre' to '#pip install --pre', here we test pr with buil...
intel-analytics/BigDL
python/orca/dev/colab-notebook/run-notebook-tf2.sh
Shell
apache-2.0
1,608
#!/bin/bash mv /opt/hpi/*.hpi ~/.jenkins/plugins/ rm -rf /opt/hpi
nisang/jenkins-android-java
jenkins-java/run.sh
Shell
apache-2.0
68
#!/bin/bash # Copyright Greg Haskins All Rights Reserved. # # SPDX-License-Identifier: Apache-2.0 set -e # shellcheck source=/dev/null source "$(cd "$(dirname "$0")" && pwd)/functions.sh" fabric_dir="$(cd "$(dirname "$0")/.." && pwd)" source_dirs=() while IFS=$'\n' read -r source_dir; do source_dirs+=("$source_...
manish-sethi/fabric-sidedb
scripts/golinter.sh
Shell
apache-2.0
2,767
#!/bin/bash # Re-establish port-forward to jaeger jaeger_pod="$(kubectl get po -l app=jaeger -o jsonpath='{.items[].metadata.name}')" nohup kubectl port-forward "po/${jaeger_pod}" 16686 & # UI port nohup kubectl port-forward "po/${jaeger_pod}" 14268 & # Collector port nohup kubectl port-forward "po/etcd-0" 2379 & # ...
pachyderm/pfs
etc/deploy/tracing/start_port_forward.sh
Shell
apache-2.0
471
#!/bin/bash PROTOCOL_VERSION='3.1.0' function process { ### Status codes I_CHANGED=(0 '${SSH_AUTHORIZED_KEYS} updated') I_NOT_CHANGED=(0 '${SSH_AUTHORIZED_KEYS} has not changed') E_NO_HOME=(50 'Cannot found home for user ${USER}.') E_CREATE_SSH_DIR=(51 'Cannot create $SSH_DIR') E_MERGE_SSH_KEYS=(52 'Cannot ...
Laliska/perun-services
slave/process-sshkeys.sh
Shell
bsd-2-clause
2,207
#!/bin/bash set -e if [[ "${CI}" == "true" ]]; then # When running in a CI environment, the database/composer setup is done # outside. echo "CI=true was passed, not running database/composer setup." exit 0 fi function ensure_contents() { local path="$1" local contents="$2" local expected_hash="$(echo "${cont...
samdsmx/omegaup
stuff/docker/usr/bin/developer-environment.sh
Shell
bsd-3-clause
3,006
#!/bin/bash # path of master file source ../master_preprocessing.sh # creates directory for job files if not present mkdir -p $jobs_resaving # splits up resaving into 1 job per .czi file and writes the given parameters # into the job file tif_timepoint=${first_timepoint} for timepoint in ${timepoints} do for angl...
schmiedc/snakemake-workflows
spim_registration/tools/czi_resave/create-resaving-jobs.sh
Shell
bsd-3-clause
743
#!/usr/bin/env bash sudo apt-get -y update sudo apt-get install -y python3-pip libjpeg8-dev postgresql postgresql-contrib libpq-dev libsqlite3-dev nodejs npm sudo ln -s /usr/bin/nodejs /usr/bin/node sudo npm install -g bower mkdir /home/vagrant/git-sources wget -P /home/vagrant/git-sources https://github.com/python/...
PyNSKOrg/pynsk.ru
bootstrap.sh
Shell
bsd-3-clause
772
#!/usr/bin/env bash NUMBER_RE='^[0-9]+$' LENGTH="$1" if ! [[ $LENGTH =~ $NUMBER_RE ]] ; then echo "Integer length required" >&2 exit 1 fi # Generate a random string using a Python script to choose random characters # from a set of letters, numbers and punctuation. # NOTE: An explicit list of punctuation is pro...
oogles/djem
provision/scripts/utils/rand_str.sh
Shell
bsd-3-clause
1,611
apt-get update && apt-get install -y wget unzip wget https://services.gradle.org/distributions/gradle-4.10.2-bin.zip -O gradle.zip mkdir /opt/gradle && unzip -d /opt/gradle gradle.zip mv /opt/gradle/gradle-4.10.2 /opt/gradle/gradle
Lekanich/lombok
docker/provision/gradle/gradle-4.10.2.sh
Shell
mit
232
# Master script: run all scripts with necessary permissions. # This script will create a non-sudo user called "researcher" # which should be used for research and non-admin tasks. # This is now just a wrapper around ansible, provided for back-compatibility. # Usage: sh run_all.sh [-s] # Silent mode (-s) is equivale...
claresloggett/gvl_commandline_utilities
run_all.sh
Shell
mit
1,001
#!/bin/sh ./node_modules/vows/bin/vows --spec spec/taglibSpec.js spec/resolverSpec.js spec/buffersSpec.js
nikhilm/node-taglib
test.sh
Shell
mit
106
#!/bin/bash set -e shopt -s globstar nullglob CHECK=( **/*.yaml **/*.yml **/*.eyaml .travis.yml ) EYAML=( **/*.eyaml ) IGNORE=() # filter out plaintext versions of .eyaml files for e in "${!EYAML[@]}"; do uneyaml=${EYAML[e]/eyaml/yaml} for c in "${!CHECK[@]}"; do [[ ${CHECK[c]} == "$uneyaml" ]] && unset -v '...
lsst-sqre/sqre-codekit
tests/yamllint.sh
Shell
mit
730
#!/bin/bash # "$1" : systemd service name (sudo powers needed) # "$2" : command: start|stop|status if [ "$2" = "start" ] then sudo /bin/systemctl start $1 elif [ "$2" = "stop" ] then sudo /bin/systemctl stop $1 elif [ "$2" = "status" ] then /bin/systemctl status $1 |grep running|wc -l else exit -1 fi ex...
azogue/hass_config
slave_hass_mpd/switch_systemd_service.sh
Shell
mit
326
export MOLECULE_NAME=elcapitan export MOLECULE_BOX=jhcook/osx-elcapitan-10.11 export MOLECULE_BOX_VERSION=10.11.6
jfahrer/ansible-dev-mac
roles/elliotweiser.osx-command-line-tools/molecule/elcapitan.sh
Shell
mit
114
#!/bin/sh default_client=kiosk-client changescript=/usr/bin/change_midori_url.sh if [ $# == 1 ] then client=$default_client url=$1 elif [ $# == 2 ] then client=$1 url=$2 else echo "Usage: $0 [client] <url>" exit fi ssh -x root@${client} ${changescript} ${url}
wwright2/dcim3-angstrom1
sources/meta-web-kiosk/recipes-manager/kiosk-manager/files/change_url_for_client.sh
Shell
mit
275
#!/bin/bash source config.sh set -e # ************************************************************ # check state before performing case ${1} in backup) [[ -f ${HOST_WIKI_BACKUP_DIR}${STATIC_BACKUP_FILE} ]] && \ rm -f ${HOST_WIKI_BACKUP_DIR}${STATIC_BACKUP_FILE} [[ -f ${HOST_WIKI_BACKUP...
novatechweb/ansible-virtd-docker-mariadb-bacula-nginx
roles/docker-mediawiki/container/mediawiki.sh
Shell
gpl-2.0
6,788
#!/bin/bash make ARCH=arm CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi- distclean make ARCH=arm CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi- imx6...
FEDEVEL/imx6rex-linux-3.0.35
build_linux.sh
Shell
gpl-2.0
486
#!/bin/bash for SEED in {1..40}; do echo Running with seed [$SEED] ./evolve.sh \ --params evolve/experiments/simple-development.parameters \ --logprefix simple-dev-experiment \ --jargs -Dactivation-function-mapping-file=./cfg/activation-functions.properties \ --runid simple-dev...
snucsne/bio-inspired-leadership
scripts/sim/repeated-simple-development.sh
Shell
gpl-3.0
482
#!/bin/bash sudo apt-get install -qqy mingw-w64 || exit 1 # 64 bit CXX=i686-w64-mingw32-g++ CXXFLAGS='-O3' LDFLAGS='-static-libgcc -static -lpthread' \ ./configure --host=i686-w64-mingw32 || exit 1 make clean && make && zip scrm-win64.zip scrm.exe doc/manual.html # 32bit CXX=i686-w64-mingw32-g++ CXXFLAGS='-O3 -m3...
luntergroup/scrm_jz_stable_branch
.travis/build_win_binaries.sh
Shell
gpl-3.0
486
#!/bin/bash # unset the SUBDIR variable since it changes the behavior of make here unset SUBDIR ./configure \ --prefix="${PREFIX}" \ --disable-doc \ --enable-shared \ --enable-static \ --extra-cflags="-Wall -g -m64 -pipe -O3 -march=x86-64 -fPIC `pkg-config --cflags zlib`" \ ...
anjos/librarian
deps/ffmpeg/build.sh
Shell
gpl-3.0
625
ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N '' /usr/sbin/sshd #cat #for docker run -ti, cat holds forever, but for docker run -d, cat gets no stdin and stops, stopping container. #use this loop instead of cat, to hold forever. Of coarse, /bin/true could be any otehr test aswel, #giving you the options to end...
sebasmannem/splendid_demo
docker/f25_ssh/start.sh
Shell
gpl-3.0
395
#!/bin/bash source $(dirname $0)/omorfi.bash args=$@ function print_version() { echo "omorfi-spell 0.2 (using omorfi bash API $omorfiapi)" echo "Copyright (c) 2016 Tommi A Pirinen" echo "Licence GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>" echo "This is free software: you are free to ...
redox-alpha/omorfi
src/bash/omorfi-spell.sh
Shell
gpl-3.0
1,100
#! /bin/sh # # Create a fresh checkout of openda # if [ "$1" == "" ]; then export SVNUSER=$USER else export SVNUSER=$1 fi echo Checking out the repository, using user-ID \"$SVNUSER\" okay=1 for program in svn javac gcc gfortran g++ xml2-config ant; do if [ "`which $program 2>/dev/null`" == "" ]; then ...
wkramer/openda
scripts/openda_checkout_sf.sh
Shell
lgpl-3.0
779
#!/bin/bash # usage: ./HistoricalDataRequest.sh <request.json> if [ "$#" -ne 1 ]; then echo "Missing Historical Data Request JSON" exit 1 fi REQUEST="$1" curl -v -X POST "https://http-api-host/request?ns=blp&service=refdata&type=HistoricalDataRequest" \ --cacert bloomberg.crt \ --cert client.crt \ ...
fyquah95/blpapi-http
examples/shell/HistoricalDataRequest.sh
Shell
apache-2.0
371
#!/bin/sh if [[ -z "$SRCROOT" ]] then SRCROOT="." fi GEN="${SRCROOT}/squidb-ios-sample/squidb-gen" JARS="${SRCROOT}/jars" SQUIDB_ROOT="${SRCROOT}/../.." SQUIDB_SRC="$SQUIDB_ROOT/squidb/src" SQUIDB_ANNOTATIONS_SRC="$SQUIDB_ROOT/squidb-annotations/src" SQUIDB_SAMPLE_CORE_SRC="${SRCROOT}/../squidb-sample-core/src/main...
jdkoren/squidb
samples/squidb-ios-sample/generate-models.sh
Shell
apache-2.0
557
#!/bin/bash # set -e cpver=$1 base_url=$2 if [[ -z $base_url ]]; then echo "Usage: $0 <cp-base-ver> <base_url>" exit 1 fi apt-get update apt-get install -y apt-transport-https wget wget -qO - ${base_url}/deb/${cpver}/archive.key | apt-key add - cat >/etc/apt/sources.list.d/Confluent.list <<EOF deb [arch=...
nokute78/fluent-bit
lib/librdkafka-1.7.0/packaging/cp/verify-deb.sh
Shell
apache-2.0
630
echo "Installing Ethersheet" if [ ! `which node` ] && [ ! `which nodejs` ]; then echo "You need to install nodejs for your platform! Install it via your package manager or at https://nodejs.org" exit 1 fi if ! [ `which npm` ]; then echo "You need to install npm for your platform! Install it via your package man...
Stackato-Apps/EtherSheet
install.sh
Shell
bsd-2-clause
1,012
#!/usr/bin/sh set -xeuo pipefail base_dir="$(pwd)" mkdir -p $base_dir/logs # Start libvirtd mkdir -p /var/run/libvirt libvirtd & sleep 5 virtlogd & pushd ${base_dir}/ostree python -m SimpleHTTPServer & popd chmod 666 /dev/kvm function clean_up { set +e pushd ${base_dir}/images ln -sf $(ls -tr fedora-atomic-...
CentOS-PaaS-SIG/ci-pipeline
config/Dockerfiles/ostree-image-compose/ostree-image-compose.sh
Shell
gpl-3.0
5,132
#!/bin/sh # # Copyright (C) 2001, 2004, 2007, 2011-2016 Internet Systems Consortium, Inc. ("ISC") # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. rm -f dig.out.* rnd...
pecharmin/bind9
bin/tests/system/tkey/clean.sh
Shell
mpl-2.0
449
#!/bin/bash set -e TRAVIS_BUILD=${TRAVIS_BUILD:-0} export PYTHONPATH=$PYTHONPATH:. # It's not a really good idea to test spiders on travis # limit test to some basic consistency and usage tests if [ $TRAVIS_BUILD -eq 1 ]; then python tests/unittest_pybikes.py TestBikeShareStationInstance python tests/unittest_p...
eskerda/pybikes
runtests.sh
Shell
lgpl-3.0
522
onetokenset(){ local PASSWORD if [ -n "$PASSWORD_ARG" ]; then PASSWORD=$1 shift fi USER=$1 shift if [ -z "$USER" -o "${USER:0:1}" = "-" ]; then echo "Usage: $0 <user> [options]" >&2 echo " Any option understood by 'oneuser token-set' is valid." >&2 ret...
unistra/one
share/onetoken/onetoken.sh
Shell
apache-2.0
1,462
#!/bin/bash set -x -e #bower install rm -rf vendor mkdir -p vendor/{css,fonts,js} cp -r bower_components/bootstrap/dist/* vendor cp -r bower_components/bootstrap-toggle/css/*.min.css* vendor cp -r bower_components/bootstrap-toggle/js/*.min.js* vendor cp -r bower_components/bootstrap3-dialog/dist/* vendor cp -r bowe...
cmusatyalab/faceswap
server/openface-server/update-vendor-deps.sh
Shell
apache-2.0
596
#!/bin/bash if [[ "$1" == "--help" || $# -lt 1 ]]; then echo -e "Usage:" echo -e "$0 [OPTIONS], where options can be:" echo -e "\t--secret=SECRET\t sets the shared secret used to authenticate to the XMPP server" echo -e "\t--domain=DOMAIN\t sets the XMPP domain (default: none)" echo -e "\t--min-po...
ReadyTalk/jitsi-videobridge
resources/install/linux-64/jvb.sh
Shell
apache-2.0
1,824
#!/bin/sh # # Copyright (c) 2016 Jeromy Johnson # MIT Licensed; see the LICENSE file in this repository. # test_description="Test migrations auto update prompt" . lib/test-lib.sh test_init_ipfs test_expect_success "setup mock migrations" ' mkdir bin && echo "#!/bin/bash" > bin/fs-repo-migrations && echo "echo 4"...
rht/go-ipfs
test/sharness/t0066-migration.sh
Shell
mit
1,423
. /lib/functions/network.sh wpa_supplicant_add_rate() { local var="$1" local val="$(($2 / 1000))" local sub="$((($2 / 100) % 10))" append $var "$val" "," [ $sub -gt 0 ] && append $var "." } hostapd_add_rate() { local var="$1" local val="$(($2 / 100))" append $var "$val" " " } hostapd_append_wep_key() { loca...
fid0did0/source
package/network/services/hostapd/files/hostapd.sh
Shell
gpl-2.0
20,921
#!/bin/bash # Copyright Hans Dembinski 2019 # Distributed under the Boost Software License, Version 1.0. # See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt for cpu in /sys/devices/system/cpu/cpu? ; do echo powersave > $cpu/cpufreq/scaling_governor; done
stan-dev/math
lib/boost_1.75.0/libs/histogram/benchmark/enable_cpu_scaling.sh
Shell
bsd-3-clause
293
./build/libcpu/test_fib mips test/bin/mips/fibit_mips_be.bin 1000000000
cgerum/libcpu
test/scripts/mips_fib.sh
Shell
bsd-2-clause
72
#!/bin/bash # # Copyright 2015 Google 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; version 2 of the License. # # This program is distributed in the hope that it will be useful, # but W...
librecore-org/librecore
util/scripts/dts-to-fmd.sh
Shell
gpl-2.0
3,759
#!/system/bin/sh /system/xbin/su --daemon &
neobuddy89/vibrant_mackay_kernel
usr/galaxy_ramdisk2/cwm/sbin/run-su-daemon.sh
Shell
gpl-2.0
44
#! /bin/sh # Piggy list consistency checker LANG=C export LANG TEMPFILE=/tmp/vlclist.tmp.$$ LISTFILE=MODULES_LIST rm -f $TEMPFILE touch $TEMPFILE echo "------------------------------------" echo "Checking that all modules are listed" echo "------------------------------------" i=0 for modfile in `find . -name "M...
pddthinh/android-vlc
vlc/modules/list.sh
Shell
gpl-2.0
1,274
#!/bin/bash DIR=$(dirname $0) cd "${DIR}" #export G15_PLUGINS=./src/plugins src/scripts/g15-systemtray
timhughes/gnome15
debug-g15-systemtray.sh
Shell
gpl-3.0
103
#!/bin/bash # This file is a workaround to install a directory recursively, # without hitting limitations of the SPEC file build environment OLDIFS=$IFS IFS=$'\n' for file in $(find "$1" -type d -printf '%P\n'); do install -p -d -m 755 "$2/${file}" done for file in $(find "$1" -type f -printf '%P\n'); do install...
gerco/duplicati
Installer/fedora/duplicati-install-recursive.sh
Shell
lgpl-2.1
378
#!/bin/bash set -o nounset set -o pipefail OS_ROOT=$(dirname "${BASH_SOURCE}")/.. source ${OS_ROOT}/hack/util.sh source ${OS_ROOT}/hack/common.sh TIME_SEC=1000 TIME_MIN=$((60 * $TIME_SEC)) # TODO: Randomize these ports export OS_MASTER_PORT=$(go run ${OS_ROOT}/test/util/random_port/generate.go) export OS_DNS_PORT=...
markllama/atomic-enterprise
hack/test-extended.sh
Shell
apache-2.0
6,395
#!/usr/bin/env bash set -eu RDECK_BASE=$1 ; shift; DIR=$1 ; shift; PROJECT=$1; shift; RUNDECK_USER=$1; shift; RESOURCES_DIR=$1; shift; echo "Adding project: $PROJECT" mkdir -p $DIR/$PROJECT/etc mkdir -p $RESOURCES_DIR PROPSFILE=$DIR/$PROJECT/etc/project.properties # Generate resource model for each node. cat > $P...
tjordanchat/rundeck
test/vagrant/yum-aws-multinode/provisioning/rundeck/create-project.sh
Shell
apache-2.0
784
#!/bin/sh test_description='test quickfetch from local' GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME . ./test-lib.sh test_expect_success setup ' test_tick && echo ichi >file && git add file && git commit -m initial && cnt=$( ( git count-objects | sed -e "s/ *objects...
tacker66/git
t/t5502-quickfetch.sh
Shell
gpl-2.0
2,606
source /home/jenkins-slave/runs/devstack_params.$ZUUL_UUID.txt export FAILURE=0 set +e echo "Running tests" ssh -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no" -i $DEVSTACK_SSH_KEY ubuntu@$FLOATING_IP "source /home/ubuntu/keystonerc && /home/ubuntu/bin/run-all-tests.sh" >> /home/jenkins-slave/logs/conso...
cloudbase/hyperv-networking-ci
jobs/run_tests.sh
Shell
apache-2.0
444
#!/bin/sh # This script loads FastPD from http://www.csd.uoc.gr/~komod/FastPD/ and applies a patch to make FastPD-LIB workable with openGM. # Important: Registration is required to get the FastPD source. # Thus the user needs to provide a valid download link for this script to work properly # See README.txt for detai...
recarroll/opengm
src/external/patches/FastPD/patchFastPD.sh
Shell
mit
1,904
#!/bin/bash REAL_FILE=`readlink -f $0` BASE_HOME=`dirname $REAL_FILE` warn_echo() { printf "\033[36m $* \033[0m\n" } print_usage() { warn_echo "Usage: $0 source_ns_ip dest_ns_ip ds_ip [file_name]" warn_echo " source_ns_ip: the cluster ns ip of broken disk" warn_echo " dest_ns_ip: peer c...
sfdazsdf/tfs
src/tools/cluster/check_disk.sh
Shell
gpl-2.0
1,373
#!/usr/bin/env bash set -euvx MYTMPDIR=$(mktemp -d 2>/dev/null || mktemp -d -t 'mytmpdir') trap 'rm -rf "${MYTMPDIR}"' EXIT # create a test file TEST_FILE="${MYTMPDIR}/test_file" echo "This is a test file" > "${TEST_FILE}" TEST_FILE_1_2="${MYTMPDIR}/test_file_1_2" echo "This is a test file for format 1.2" > "${TEST...
dharmabumstead/ansible
test/integration/targets/vault/runme.sh
Shell
gpl-3.0
25,186
#!/bin/bash # Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
karllessard/tensorflow
tensorflow/tools/ci_build/horovod/gpu/nightly.sh
Shell
apache-2.0
996
#!/bin/bash export C_INCLUDE_PATH=${PREFIX}/include export LIBRARY_PATH=${PREFIX}/lib export CPATH=${PREFIX}/include make mkdir -p ${PREFIX}/bin cp -f calib ${PREFIX}/bin calib --help mkdir consensus/spoa_v1.1.3/build cd consensus/spoa_v1.1.3/build cmake -DCMAKE_BUILD_TYPE=Release .. make cd ../.. make cp -f calib_c...
roryk/recipes
recipes/calib/build.sh
Shell
mit
356
#!/bin/sh # Note: This test fails on Cygwin 1.5.x, because the non-blocking flag has # apparently no effect on STDOUT_FILENO. It is fixed in Cygwin 1.7. # Test blocking write() with blocking read(). # Commented out because this test succeeds on all platforms anyway. #./test-nonblocking-pipe-main${EXEEXT} ./test-nonbl...
dmitryilyin/libvirt
gnulib/tests/test-nonblocking-pipe.sh
Shell
gpl-2.0
783
#!/bin/bash # Test for automatic creation of dynafile directories # note that we use the "test-spool" directory, because it is handled by diag.sh # in any case, so we do not need to add any extra new test dir. # added 2009-11-30 by Rgerhards # This file is part of the rsyslog project, released under GPLv3 # uncomment ...
oldmantaiter/rsyslog
tests/dircreate_dflt.sh
Shell
gpl-3.0
910
#!/bin/sh test -d /tmp/foxx || mkdir -m 700 /tmp/foxx export HOME=/tmp/foxx exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@"
arangodb/arangodb-docker
alpine/3.6.4/docker-foxx.sh
Shell
apache-2.0
126
#!/bin/sh set -e # # This script is meant for quick & easy install via: # 'curl -sSL https://get.docker.com/ | sh' # or: # 'wget -qO- https://get.docker.com/ | sh' # # For test builds (ie. release candidates): # 'curl -sSL https://test.docker.com/ | sh' # or: # 'wget -qO- https://test.docker.com/ | sh' # # For ...
flythecircle/gotojourney
hack/install.sh
Shell
apache-2.0
13,219
#!/bin/bash if [ ! -d dante-1.4.0 ] || [ ! -d dante-1.4.0/configure ]; then rm dante-1.4.0 -rf #wget http://www.inet.no/dante/files/dante-1.4.0.tar.gz || exit 1 wget https://codeload.github.com/notpeter/dante/tar.gz/dante-1.4.0 -O dante-1.4.0.tar.gz || exit 1 tar xf dante-1.4.0.tar.gz || exit 1 # ...
fengyie007/shadowsocks
tests/socksify/install.sh
Shell
apache-2.0
477
R CMD REMOVE --library=$PREFIX/lib/R/library/ hthgu133bprobe
ostrokach/bioconda-recipes
recipes/bioconductor-hthgu133bprobe/pre-unlink.sh
Shell
mit
61
#!/bin/sh ( echo 'User-Name = "eapsim"'; echo 'Cleartext-Password = "md5md5"'; echo 'NAS-IP-Address = marajade.sandelman.ottawa.on.ca'; echo 'EAP-Code = Response'; echo 'EAP-Id = 210'; echo 'EAP-Type-Identify = "eapsim'; echo 'Message-Authenticator = 0'; echo 'NAS-Port = 0' ) >req.txt ../../main/radea...
moontide/freeradius-server
src/tests/vectors/eapsim-02/client.sh
Shell
gpl-2.0
368
#!/bin/bash # SPDX-License-Identifier: GPL-2.0 # # ns: me | ns: peer | ns: remote # 2001:db8:91::1 | 2001:db8:91::2 | # 172.16.1.1 | 172.16.1.2 | # veth1 <---|---> veth2 | # | veth5 <--|--> veth6 172.1...
penberg/linux
tools/testing/selftests/net/fib_nexthops.sh
Shell
gpl-2.0
46,974
#!/bin/sh # 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 m...
qorio/maestro
zookeeper/src/contrib/zooinspector/zooInspector.sh
Shell
apache-2.0
962
#!/bin/sh mkdir -p $PREFIX/bin cp ./pipelines/GeneFamilyPhylogenyBuilder $PREFIX/bin chmod +x $PREFIX/bin/GeneFamilyPhylogenyBuilder
cokelaer/bioconda-recipes
recipes/plant_tribes_gene_family_phylogeny_builder/build.sh
Shell
mit
135
#!/bin/bash rm -r tmpmnt rm -f testfile.img dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1 DEVICE=$(losetup --show -f testfile.img) mkfs.btrfs -f $DEVICE mkdir tmpmnt ./tracex7 $DEVICE if [ $? -eq 0 ] then echo "SUCCESS!" else echo "FAILED!" fi losetup -d $DEVICE
rperier/linux
samples/bpf/test_override_return.sh
Shell
gpl-2.0
276
#!/bin/bash mkdir -p $PREFIX/share/singlecell-barcodes mv * $PREFIX/share/singlecell-barcodes/.
cokelaer/bioconda-recipes
recipes/singlecell-barcodes/build.sh
Shell
mit
97
#!/bin/sh # wrapper around dpkg-buildpackage to generate correct changelog # use "debian/daily-build.sh -b" to create binary packages # and "debian/daily-build.sh -S" to create a source package only # # use this invocation to load system libdvdcss at runtime # env DEB_EXTRA_CONFIGURE_FLAGS=--disable-libdvdcss-internal...
SuperrSonic/WiiMC-SSLC
source/mplayer/debian/daily-build.sh
Shell
gpl-3.0
749
#!/bin/bash ARG_DEFS=( ) echo "##### " echo "##### site/config.sh" echo "#####" function init { SITE_DIR=$HOME/ionic-site ../clone/clone.sh --repository="driftyco/ionic-site" \ --directory="$SITE_DIR" \ --branch="master" } function run { cd ../.. VERSION=$(readJsonProp "package.json" "version") ...
uus169/ionic
scripts/site/config.sh
Shell
mit
923
sudo apt-get update sudo apt-get install build-essential sudo apt-get install tcl8.5 wget http://download.redis.io/releases/redis-2.8.9.tar.gz tar xzf redis-2.8.9.tar.gz cd redis-2.8.9 make make test sudo make install cd utils sudo ./install_server.sh
indrasantosa/common-shell-ubuntu
app/redis.sh
Shell
mit
252
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2751-1 # # Security announcement date: 2013-09-04 00:00:00 UTC # Script generation date: 2017-01-01 21:06:40 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: i386 # # Vulnerable packages fix on version: # - libmodplug:1:0.8.8.1-1+squeeze2+git2...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/i386/2013/DSA-2751-1.sh
Shell
mit
696
#!/bin/bash # shellcheck disable=SC2155 # # nrk-tv-downloader # # Contributors: # Odin Ugedal <odin@ugedal.com> # Henrik Lilleengen <mail@ithenrik.com> # shopt -s expand_aliases DEPS="sed gawk printf curl cut grep rev" DRY_RUN=false DOWNLOAD_SUBS=true EPISODE_FORMAT=false EPISODE_FOLDERS=false SELECT_QUALITY=false TAR...
odinuge/nrk-tv-downloader
nrk-tv-downloader.sh
Shell
mit
17,634
#!/bin/bash -x set -eu # NOTE: Edit project_name and rpm_name. copr_project_name=unison rpm_name=unison arch=x86_64 copr_project_description="Unison is a file-synchronization tool for OSX, Unix, and Windows." copr_project_instructions="\`\`\` version=\$(rpm -q --qf "%{VERSION}" \$(rpm -q --whatprovides redhat-releas...
hnakamur/unison-rpm
scripts/build.sh
Shell
mit
4,030
#!/bin/sh PLATFORM="android" TREE_DIR="../../tree/jsoncpp" SRC_DIR="$TREE_DIR/src" BUILD_DIR="build/$PLATFORM" INSTALL_DIR="tmp/$PLATFORM" SRC_PATH="$(pwd)/$SRC_DIR" INSTALL_PATH="$(pwd)/$INSTALL_DIR" if [ ! -d "$SRC_PATH" ]; then echo "SOURCE NOT FOUND!" exit 1 fi # --- TOOLCHAIN_FILE="$CROSS_PATH/core/cmake...
arielm/chronotext-cross
deps/jsoncpp/build.android.sh
Shell
mit
965
#!/bin/bash # Shell Function Demo function funct { echo "Step 2" return } # Main program starts here echo "Step 1" funct echo "Step 3"
dank-developer/shell-scripts
Bash Scripts/functions/func_demo.sh
Shell
mit
146
if [ -f '/opt/google-cloud-sdk/completion.zsh.inc' ]; then source '/opt/google-cloud-sdk/completion.zsh.inc' fi
defrank/dotfiles
gcloud/completion.zsh
Shell
mit
116
#!/bin/bash # ### SSH Connection Mapper # # This Script is desinged to generate csv files that help you map # ssh connections for all users on a given host. The resulting # outbound.csv shows accepted known hosts and thus outbound ssh # connections from the host the script is run on, while inbound.csv # shows the ID fi...
nshobe/parse-ssh-connections
parse-ssh-connections.sh
Shell
mit
2,583
#!/bin/bash FILES="/home/marco/Aisf/realsite/gallery/*" for i in $FILES do echo "Prcoessing image $i ..." eval "convert -thumbnail 200 "$i" "$i".thumb" done
ai-sf/tiqit
gallery/bash.sh
Shell
mit
159
#!/bin/bash WHITE=$(tput setaf 7) NORMAL=$(tput sgr0) noflow=$(git ls-files | egrep '^src.*\.jsx?$' | grep -v 'test' | grep -v 'config' | xargs grep --files-without-match '@flow') if [ -n "$noflow" ]; then echo "These files are missing ${WHITE}@flow${NORMAL} annotations:" echo "$noflow" exit 1 fi
shanewilson/google-inbox
scripts/flow-annotation-check.sh
Shell
mit
305
#!/bin/sh # This function replicates the variance component model results in the GSP dataset shown in Li et al., 2019 # # Written by Jingwei Li and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md ######################## # setup for CIRC cluster ######################## curr_dir=$(p...
ThomasYeoLab/CBIG
stable_projects/preprocessing/Li2019_GSR/replication/scripts/CBIG_LiGSR_LME_replication_all_GSP.sh
Shell
mit
3,276
if [[ ! -d ~/.zplug ]] ; then git clone https://github.com/zplug/zplug ~/.zplug source ~/.zplug/init.zsh && zplug update fi source ~/.zplug/init.zsh zplug 'zplug/zplug', hook-build:'zplug --self-manage' zplug 'zsh-users/zsh-syntax-highlighting' zplug 'mafredri/zsh-async', from:github zplug 'romkatv/powerlev...
aexoden/dotfiles
topics/zsh/zplug.zsh
Shell
mit
542
#!/usr/bin/env bash # Run inside PHP container composer install --optimize-autoloader --prefer-dist php app/console doctrine:migrations:migrate --env=prod --no-interaction php app/console assets:install --env=prod rm -R ./var/cache/* php app/console cache:warmup --env=prod chown -R www-data:www-data .
morontt/zend-blog-3-backend
buildapp_php.sh
Shell
mit
309
#!/bin/bash echo "Installation of dockerony" mkdir -p vendor cd vendor if [ -d dockerony ]; then echo "Dockerony is already installed" else git clone git@github.com:greg0ire/dockerony.git fi cd .. mkdir --parents ~/bin ln --symbolic --force $(pwd)/vendor/dockerony/bin/* ~/bin/.
jngermon/workstation-docker
assets/install-dockerony.sh
Shell
mit
288
# # Metrics Deployer # # The Metrics Deployer deploys and configures all of the metrics components. # You can configure it by passing in information from secrets and by passing # parameters to the Metrics Deployer’s template. # # Secrets: The Metrics Deployer will auto-generate self-signed certificates for # use betwee...
javiroman/reproducible-research
ansible-projects/OCP-on-AWS/default-vpc-ocp/test/03-cluster-metrics/04-deploy-metrics-components.sh
Shell
mit
3,617
#!/bin/sh # Start the application using the supervisor, so it never stops supervisord -n -c /naftis/supervisord.conf
ipinak/naftis
run.sh
Shell
mit
118
#!/bin/bash # Bring CPUs online for CPU_DIR in /sys/devices/system/cpu/cpu[0-9]* do CPU=${CPU_DIR##*/} echo "Found cpu: '${CPU_DIR}' ..." CPU_STATE_FILE="${CPU_DIR}/online" if [ -f "${CPU_STATE_FILE}" ]; then if grep -qx 1 "${CPU_STATE_FILE}"; then echo -e "\t${CPU} already online" ...
spirit986/AdminScripts
hot_add_cpu.sh
Shell
mit
528
#!/usr/bin/env bash php /usr/local/lib/phinster/main.php "$@"
unyieldinggrace/Phinster
run-phinster.sh
Shell
mit
62
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2435-1 # # Security announcement date: 2012-03-19 00:00:00 UTC # Script generation date: 2017-01-01 21:06:22 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: i386 # # Vulnerable packages fix on version: # - gnash:0.8.8-5+squeeze1 # # Last vers...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/i386/2012/DSA-2435-1.sh
Shell
mit
653
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2016:0610 # # Security announcement date: 2016-04-08 12:59:08 UTC # Script generation date: 2017-01-01 21:17:08 UTC # # Operating System: Red Hat 5 # Architecture: x86_64 # # Vulnerable packages fix on version: # - flash-plugin.i386:11.2.202.616-1.el5 # ...
Cyberwatch/cbw-security-fixes
Red_Hat_5/x86_64/2016/RHSA-2016:0610.sh
Shell
mit
1,091
bold=$(tput bold) normal=$(tput sgr0) function run () { # Accepts local script filename or command IP="$1" shift; CMD=$@ echo "Going to run [$IP] $CMD" >&2 ssh -o stricthostkeychecking=no \ -o BatchMode=yes \ -o EscapeChar=none \ -o ControlMaster=auto \ -o Cont...
glic3rinu/basefs
eval/confine/src/utils.sh
Shell
mit
1,757
source stage0n_variables source stage01_variables source stage02_variables PKGNAME=basefiles PKGVERSION=20151124 # Build and install mkdir -p ${CLFS}/targetfs/etc/rc.d mkdir -p ${CLFS}/targetfs/etc/rc.subr mkdir -p ${CLFS}/targetfs/root mkdir -p ${CLFS}/targetfs/usr/share/udhcpc # Needed for startup install -m 064...
mschlenker/TinyCrossLinux
stage02/0001_basefiles.sh
Shell
mit
1,633
#!/bin/bash node --use_strict index.js
MysticEyeBlink/angular2-courses-pet-project
json-api/run.sh
Shell
mit
40
#!/bin/bash # DETAILS: # CREATED: 09/11/21 14:46:07 IST # MODIFIED: 11/Sep/2021 15:43:05 IST # REVISION: 1.0 # # AUTHOR: Ravikiran K.S., ravikirandotks@gmail.com # LICENCE: Copyright (c) 2021, Ravikiran K.S. #set -uvx # Warn unset vars, Verbose (echo each command), Enable debug mode PATH=/usr/bin:/usr/sbin:.:...
rkks/scripts
bash/vnc.sh
Shell
mit
2,520
#!/bin/bash ## NB: Remove the "-phred64" option for recently generated data. ## This was needed to processes some Illumina data generated in Nov. 2010. ## The B-trimming routine is also unnecessary now, as that special encoding is no longer used. cd `pwd` trimfile=$HOME/apps/Trimmomatic-0.35/adapters/TruSeq2...
sestaton/sesbio
genome_assembly/shell_scripts/trimmomatic.sh
Shell
mit
1,689
#!/bin/bash printf "\n" >> /home/vagrant/.bashrc echo 'export PS1="\[\e[01;34m\]kukulkan\[\e[0m\]\[\e[01;37m\]:\w\[\e[0m\]\[\e[00;37m\]\n\\$ \[\e[0m\]"' >> /home/vagrant/.bashrc printf "\n" >> /home/vagrant/.bashrc sudo yum clean all sudo yum -y update #Downloading configuration files for java, maven curl https://g...
danimaniarqsoft/vagrant-lab
vm-kukulkan/init.sh
Shell
mit
2,135