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 -v
# ===========================================
# Copyright NeCTAR, May 2014, 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/l... | rrothwell/heat_hadoop | install_cloudera_1click.sh | Shell | apache-2.0 | 1,361 |
#!/bin/bash
source $POWERTRAIN_DIR/var/ARGS.sh
enforce_args_length 1
VALIDATE_SCRIPT=${ARGS[0]}
if [ -n "$VALIDATE_SCRIPT" ] && [ "$VALIDATE_SCRIPT" != "default" ]; then
$VALIDATE_SCRIPT $SEMVER
fi
| carsdotcom/powertrain | scripts/validateEnv.sh | Shell | apache-2.0 | 202 |
#!/bin/bash
set -ex
source ${DEB_BUILDER_DIR}/functions.sh
echo "Building rdkafka for gcp-php${SHORT_VERSION}"
apt-get install -y librdkafka-dev
PNAME="gcp-php${SHORT_VERSION}-rdkafka"
# Download the source
download_from_pecl rdkafka
build_package rdkafka
| GoogleCloudPlatform/php-docker | package-builder/extensions/rdkafka/build.sh | Shell | apache-2.0 | 263 |
#!/bin/bash
sudo apt-get update
sudo apt-get install -y git curl
sudo curl -L git.io/weave -o /usr/local/bin/weave
git pull origin master
sudo chmod +x /usr/local/bin/weave
curl -fsSL https://get.docker.com/ | sh
sudo usermod -aG docker $USER
echo '***** You must now reboot. Then run ./start.sh ******'
| RobomoSTL/Sherpa | sherpa_setup/setup.sh | Shell | apache-2.0 | 305 |
#!/bin/bash
# -------------------------------------------------------------------------- #
# Copyright 2002-2015, OpenNebula Project, OpenNebula Systems #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you ... | fasrc/one | src/im_mad/remotes/common.d/collectd-client_control.sh | Shell | apache-2.0 | 2,901 |
#!/bin/bash
#
# labelling on the recorded wav files
#
# create labelled dir
recorded=`pwd`/recorded
labelled=`pwd`/labelled
if [ ! -e ${labelled} ]; then
mkdir ${labelled}
fi
# labelling the files
label="0"
while [ `ls ${recorded}/*.wav 2> /dev/null | wc -w` -gt 0 ]; do
# play a file and ask its label
filena... | kazunori279/raspi | mlsd/label.sh | Shell | apache-2.0 | 879 |
#/bin/sh
cd ..
. ./setEnv.sh
RUN_CMD="$JAVA_HOME/bin/java $MEM_ARGS -cp $CLASSPATH twitter4j.examples.block.ExistsBlock"
echo $RUN_CMD ${1+"$@"}
exec $RUN_CMD ${1+"$@"}
| jrm2k6/MobilePortfolio | bin/block/existsBlock.sh | Shell | apache-2.0 | 170 |
#!/bin/bash
# Author: yeho <lj2007331 AT gmail.com>
# BLOG: https://blog.linuxeye.com
#
# Notes: OneinStack for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+
#
# Project home page:
# https://oneinstack.com
# https://github.com/lj2007331/oneinstack
Install_MariaDB55() {
pushd ${asn_dir}/src
id -u mysql >... | asntechsolution/lamp-lemp | include/mariadb-5.5.sh | Shell | apache-2.0 | 7,902 |
#!/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... | cornerAnt/PilesSugar | PilesSugar/Pods/Target Support Files/Pods/Pods-frameworks.sh | Shell | apache-2.0 | 3,498 |
#!/bin/bash -x
set -e
PIDS=""
GNOCCHI_TEST_STORAGE_DRIVERS=${GNOCCHI_TEST_STORAGE_DRIVERS:-file}
GNOCCHI_TEST_INDEXER_DRIVERS=${GNOCCHI_TEST_INDEXER_DRIVERS:-postgresql}
for storage in ${GNOCCHI_TEST_STORAGE_DRIVERS}
do
export GNOCCHI_TEST_STORAGE_DRIVER=$storage
for indexer in ${GNOCCHI_TEST_INDEXER_DRIVERS}
... | leandroreox/gnocchi | run-tests.sh | Shell | apache-2.0 | 1,651 |
#!/bin/bash
coproc acpi_listen
trap 'kill $COPROC_PID' EXIT
while read -u "${COPROC[0]}" -a event; do
~/acpi/handler.sh "${event[@]}"
done
| ssledz/dotfiles | acpi/acpi-listen.sh | Shell | apache-2.0 | 144 |
#!/bin/bash
# Just run this file and you can test your circ files! Make sure your files are in the directory above this one though! From William Huang
cp alu.circ test-files
cp regfile.circ test-files
cd test-files
./autograder_limited.py -here
cd .. | MicBrain/CPU | short-test.sh | Shell | apache-2.0 | 251 |
#!/bin/bash
set -x
export GOPATH="$JENKINS_HOME/workspace/project"
export GOBIN="$GOPATH/bin"
deploy/build-test.sh \
&& influx-grafana/grafana/build-test.sh \
&& influx-grafana/influxdb/build-test.sh \
&& pushd integration \
&& godep go test -a -v --vmodule=*=1 --timeout=30m github.com/GoogleCloudPlatform/heapster/int... | rjnagal/heapster | integration/.jenkins.sh | Shell | apache-2.0 | 343 |
#!/bin/bash -e
EXIT_CODE=0
PROJECT_ROOT='../../tests/data/nested-create'
PYTHONIOENCODING=UTF-8 ${BIN} -d test run -p ${PROJECT_ROOT} >& /tmp/output || EXIT_CODE=$?
if [[ ${EXIT_CODE} -ne 0 ]] ; then
echo '$ taskcat test -p ./tests/data/nested-create'
cat /tmp/output
echo "FAILED: expected exit code to ... | aws-quickstart/taskcat | e2e/tests/test.sh | Shell | apache-2.0 | 380 |
#!/bin/bash
npm run clean
npm install
npm run build-production
docker build -t garagedoor/api:latest .
| kaga/garage-door | node/build_dockerfile.sh | Shell | apache-2.0 | 105 |
#/bin/sh
cd ..
. ./setEnv.sh
RUN_CMD="$JAVA_HOME/bin/java $MEM_ARGS -cp $CLASSPATH twitter4j.examples.tweets.GetRetweetedBy"
echo $RUN_CMD ${1+"$@"}
exec $RUN_CMD ${1+"$@"}
| jrm2k6/MobilePortfolio | bin/tweets/getRetweetedBy.sh | Shell | apache-2.0 | 174 |
#!/bin/bash
TUNNEL=( "2 2 __basename__2" "3 3 __basename__3" "4 4 __basename__4" "5 5 __basename__5" "6 6 __basename__6" "7 7 __basename__7" "8 8 __basename__8")
NW_ID=01
start () {
## Modify ##
ulimit -c
for (( i = 0; i< ${#TUNNEL[@]}; i ++)); do
t=`echo ${TUNNEL[$i]}`
ifnr=`echo $t | awk '{print $1}'`... | opennetworkinglab/spring-open | old-scripts/cluster-mgmt/template/tunnel_onsdemo_core_template.sh | Shell | apache-2.0 | 1,266 |
#!/bin/bash
set -e
# Run Kolla common script
echo "Running the kolla-common script"
. /opt/kolla/kolla-common.sh
# Credentials, token, etc..
: ${ADMIN_USER:=admin}
: ${ADMIN_USER_PASSWORD:=password}
: ${ADMIN_TENANT_NAME:=admin}
: ${KEYSTONE_USER:=keystone}
: ${KEYSTONE_ADMIN_PASSWORD:=password}
: ${KEYSTONE_ADMIN_T... | rthallisey/atomic-osp-installer | docker/keystone/start.sh | Shell | apache-2.0 | 4,849 |
#!/bin/bash
NATIVE_PROPERTIES_PATH=$1
FIRST_ARG=$2
SECOND_ARG=$3
taskReturnCode=0
if [ "$FIRST_ARG" = "0" ];then
FIRST_ARG=replace-schema
elif [ "$FIRST_ARG" = "97" ];then
FIRST_ARG=help
fi
if [ "$FIRST_ARG" = "replace-schema" ];then
echo "/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
echo "...Calling the ReplaceSchem... | dbflute-example/dbflute-example-with-non-rdb | etc/tools/solr/etc/cmd/_df-managedo.sh | Shell | apache-2.0 | 839 |
#!/bin/bash
#Create user
username=$1
passwd=$2
#Create username /etc/passwd
if grep -q $username /etc/passwd; then
sudo echo "User $username already exist in /etc/passwd !"
else
sudo useradd -p $passwd -s /usr/bin/mysecureshell $username -g sftpusers
sudo echo "User $username added in passwdwd,shadow and sftpusers... | DimitriTchapmi/codshare | scripts/add_unix_user.sh | Shell | apache-2.0 | 567 |
#!/bin/bash
ctx instance runtime-properties "test" "Say hello to my little friend!"
| anilveeramalli/cloudify-azure-plugin | system_tests/manager/resources/scripts/test_user_data.sh | Shell | apache-2.0 | 85 |
if [ "$1" == "0" ]; then
# This is an uninstall, instead of an upgrade.
/sbin/chkconfig --del openfire
[ -x "/etc/init.d/openfire" ] && /etc/init.d/openfire stop
fi
| Gugli/Openfire | distribution/src/installer/rpmscripts/pre_uninstall.sh | Shell | apache-2.0 | 168 |
#!/bin/bash
#******************************************************************************
# Copyright 2016 the original author or authors. *
# *
# Licensed under the Apache License, Version 2.0 (the "License"); ... | schneidermatic/kibana-docker | src/scripts/bootstrap.sh | Shell | apache-2.0 | 1,571 |
#!/bin/bash
SERVER_NAME=Sharding-Proxy
cd `dirname $0`
cd ..
DEPLOY_DIR=`pwd`
LOGS_DIR=${DEPLOY_DIR}/logs
if [ ! -d ${LOGS_DIR} ]; then
mkdir ${LOGS_DIR}
fi
STDOUT_FILE=${LOGS_DIR}/stdout.log
PIDS=`ps -ef | grep java | grep "$DEPLOY_DIR" | grep -v grep | awk '{print $2}'`
if [ -n "$PIDS" ]; then
echo "ERROR... | dangdangdotcom/sharding-jdbc | sharding-proxy/src/main/resources/bin/start.sh | Shell | apache-2.0 | 1,297 |
#!/bin/bash
echo "configure type script" >> /tmp/topology-override-interface-${NODE}.txt
| alien4cloud/alien4cloud-provider-int-test | src/test/resources/csars/topology-override-interface/scripts/configure.sh | Shell | apache-2.0 | 89 |
#!/bin/sh
####
## Install Forge and Minecraft versions and update documentation
##
## Usage:
## update.sh <forge installer> [--force]
####
# toggle git integration
if [ "$2" = --git ]; then
__ENABLE_GIT=1
else
__ENABLE_GIT=0
fi
# determine target version and installer
# default to latest available installe... | hivemined/forge | update.sh | Shell | apache-2.0 | 2,757 |
#!/bin/sh
### BEGIN INIT INFO
# Provides: app-io
# Required-Start: $local_fs $remote_fs $network $syslog
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop app-io
### END INIT INFO
#
#source some script files in ... | lizepeng/app.io | dist/bin/launch.sh | Shell | apache-2.0 | 2,177 |
#!/bin/bash
docker build -t wrfly/web_pt-fileinclude:level_1 . && \
docker run --rm -ti -e FLAG=hhhhhh -p 8080:80 wrfly/web_pt-fileinclude:level_1 | wrfly/templates | Web-Penetration/File-Include/level_1/build.sh | Shell | apache-2.0 | 147 |
#!/bin/bash
source ./ci/functions.sh
runBuild=false
echo "Reviewing changes that might affect the Gradle build..."
currentChangeSetAffectsTests
retval=$?
if [ "$retval" == 0 ]
then
echo "Found changes that require the build to run test cases."
runBuild=true
else
echo "Changes do NOT affect project test cas... | philliprower/cas | ci/tests/mariadb/run-tests-mariadb.sh | Shell | apache-2.0 | 2,473 |
# expected test data (total is 8 but we are testing or percent readiness of 90 - rounds to 7)
NODECOUNT=15
node_count=$(docker run \
-e "KUBECONFIG=${WORKSPACE}/${K2_CLUSTER_NAME}/ci-pr-${ghprbPullId}-gke/admin.kubeconfig" \
--volumes-from=jenkins \
${K2_CONTAINER_IMAGE} \
kubectl get nodes --no-headers | wc -... | samsung-cnct/kraken-ci-jobs | scripts/include-raw001-k2-pr-gke.sh | Shell | apache-2.0 | 710 |
#!/bin/bash
DIR=`dirname $0`
NODE_BIN=`npm bin`
rm "$DIR"/files/*.js*
if [ ! -f "$NODE_BIN/babel" ]; then
npm install --no-save @babel/cli @babel/preset-env
fi
"$NODE_BIN/babel" "$DIR/files" --config-file "./$DIR/babel.config.js" --source-maps -d "$DIR/files"
npx terser "$DIR/files/helloworld.js" -c --source-map "... | ampproject/remapping | test/samples/transpile-minify/build.sh | Shell | apache-2.0 | 457 |
# `install` phase: install stuff needed for the `script` phase
set -ex
case "$TRAVIS_OS_NAME" in
linux)
host=x86_64-unknown-linux-gnu
;;
osx)
host=x86_64-apple-darwin
;;
esac
mktempd() {
echo $(mktemp -d 2>/dev/null || mktemp -d -t tmp)
}
install_rustup() {
local td=$(mktempd)
pushd $td
... | jpcaruana/rust-build-test | ci/install.sh | Shell | apache-2.0 | 1,106 |
# c5dfe13b-1508-4fd4-9e08-c90f8b244537 btrinh's FOAF post
# 213f6df00cbe41bbb0e888a62d5780ae btrinh
# d8634b9e2e304323ab18ad16eae7a9fe mrX
STR=$'########################################################\n'
N=$'\n'
echo " #### Get A Post ID: 695fe189-b783-4b74-b679-5b312881909b ###"
echo "$N"
echo "Response: "
echo "$N"... | cntnboys/cmput410-project | curlcomms.sh | Shell | apache-2.0 | 3,768 |
#!/bin/bash
set -e
BUILD_DIR=build
PYTHON_ENV=$BUILD_DIR/tf-coreml-env
PYTHON=$(which python)
unknown_option() {
echo "Unknown option $1. Exiting."
exit 1
}
print_help() {
echo "Test the wheel by running all unit tests"
echo
echo "Usage: ./test_wheel.sh --wheel-path=WHEEL_PATH"
echo
echo " --wheel-pat... | tf-coreml/tf-coreml | scripts/make_wheel.sh | Shell | apache-2.0 | 1,096 |
#!/bin/sh
# startup.sh - startup script for the UI docker image
echo "Starting Conductor UI"
# Start the UI
cd /app/ui/dist
if [ -z "$WF_SERVER" ];
then
export WF_SERVER=http://localhost:8080/api/
else
echo "using Conductor API server from '$WF_SERVER'"
fi
node server.js | grfeng/conductor | docker/ui/bin/startup.sh | Shell | apache-2.0 | 286 |
#!/bin/bash
# Run on specifc test targets via: ./generate_coverage.sh <target>
# Script can be run without <target> to get coverage on all tests.
# This script recognizes the following environment variables:
# BUILDFARM_SKIP_COVERAGE_HOST
# If BUILDFARM_SKIP_COVERAGE_HOST=true, the script will still
# generag... | bazelbuild/bazel-buildfarm | generate_coverage.sh | Shell | apache-2.0 | 5,379 |
#!/bin/bash
apt-get install -y language-pack-en-base
locale -a
export LC_ALL="en.utf-8"
| cognition/docker-desktop | src/fix-local.sh | Shell | apache-2.0 | 92 |
#!/bin/sh
set -x
MQTTSERVER=localhost
MQTTPORT=1883
cvlc --no-video-title-show --fullscreen /home/hochob/LupeRobot/1080p/Silencio.mp4 &
#(sleep 1) && echo "hola a todos" | espeak -v es-la -a 200
(mosquitto_pub -h $MQTTSERVER -p $MQTTPORT -q 1 -t lupe/inicial -m 1) && sleep 1.25
cvlc --no-video-title-show --fullscre... | TheIoTLearningInitiative/CodeLabs | Hochob/LupeRobot/Show/LupeRobot1080p.sh | Shell | apache-2.0 | 2,162 |
#!/bin/bash
if [ -z "$ROOT" ]
then
ROOT=$(while ! test -e env.sh.sample; do cd ..; done; pwd)
export ROOT
fi
. $ROOT/env.sh
curl -XDELETE "http://$CB_MASTER:9200/soupdates/"
curl -XDELETE "http://$CB_MASTER:9200/subscriptions/"
curl -XPUT "http://$CB_MASTER:9200/soupdates/" -d '{
"mappings": {
"... | servioticy/servioticy-deployer | scripts/create_index.sh | Shell | apache-2.0 | 5,700 |
#!/bin/bash
# Copyright 2019 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... | annarev/tensorflow | tensorflow/tools/ci_build/rel/macos/cpu_py38_pip.sh | Shell | apache-2.0 | 2,000 |
$SNAP_APP_PATH/magic-bin/demogateway - 127.0.0.1:8086 0
| gerald-yang/ubuntu-iotivity-demo | snappy/demogateway/start-demo.sh | Shell | apache-2.0 | 56 |
#!/bin/bash
set -o errexit
set -o nounset
#
# *** You should already be logged in to DockerHub when you run this ***
#
NAME="ponylang/ponyc-ci-x86-64-unknown-linux-centos8-builder"
TODAY=$(date +%Y%m%d)
DOCKERFILE_DIR="$(dirname "$0")"
docker build --pull -t "${NAME}:${TODAY}" "${DOCKERFILE_DIR}"
docker push "${NAM... | sgebbie/ponyc | .ci-dockerfiles/x86-64-unknown-linux-centos8-builder/build-and-push.bash | Shell | bsd-2-clause | 333 |
#!/bin/sh
./buildlib.sh
g++ -shared -o libalgiebra.so libalgiebra.o -lm -fPIC
| EvilusPL/algiebra | build_sharedlib.sh | Shell | bsd-2-clause | 78 |
#!/bin/sh
PIXZ=../src/pixz
[ "foo" = "$(echo foo | xz | xz -dc)" ] || exit 1
[ "bar" = "$(echo bar | $PIXZ | $PIXZ -dc)" ] || exit 1
| vasi/pixz | test/xz-compatibility-c-option.sh | Shell | bsd-2-clause | 141 |
#!/bin/bash -x
export GLOB="$*"
[ -z "$GLOB" ] && GLOB="*.*"
lmoo-junit "$GLOB"
| TeamSPoon/pfc | t/sanity_base/quick_test/test_on_release.sh | Shell | bsd-2-clause | 83 |
#!/bin/bash
if [ -z "${TRAVIS_TESTS_COVERAGE}" ]; then
export TRAVIS_TESTS_COVERAGE=OFF
fi
if [ "$TRAVIS_TESTS_COVERAGE" = "ON" ]; then
mkdir gcov; cd gcov
list_src_path=(gmio_core gmio_core/internal
gmio_stl gmio_stl/internal
gmio_amf)
basedir_output=../build/src... | fougue/gmio | scripts/travis-codecov.sh | Shell | bsd-2-clause | 1,033 |
#!/bin/sh
echo -ne "normal\n"
echo -ne "\033[0mabcdefghijklmnopqrstuvwxyz\n\033[0m"
echo -ne "\033[0mABCDEFGHIJKLMNOPQRSTUVWXYZ\n\033[0m"
echo -ne "\nbold\n"
echo -ne "\033[1mabcdefghijklmnopqrstuvwxyz\n\033[0m"
echo -ne "\033[1mABCDEFGHIJKLMNOPQRSTUVWXYZ\n\033[0m"
echo -ne "\nitalic\n"
echo -ne "\033[3mabcdefghijklm... | godfath3r/terminology | tools/fonts.sh | Shell | bsd-2-clause | 671 |
set -ex
pushd ~
# Workaround for Travis CI macOS bug (https://github.com/travis-ci/travis-ci/issues/6307)
if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
rvm get head || true
fi
function llvm_download() {
export LLVM_VERSION_TRIPLE="3.9.0"
export LLVM=clang+llvm-${LLVM_VERSION_TRIPLE}-x86_64-$1
wget http:/... | ecoal95/angle | ci/before_install.sh | Shell | bsd-3-clause | 763 |
#!/bin/bash
set -xe
scriptDir=$(cd $(dirname $0) && pwd)
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
cd $TRAVIS_BUILD_DIR
build_name=$(git rev-parse --short HEAD)-$TRAVIS_BRANCH
else
build_name=${TRAVIS_PULL_REQUEST_SHA:0:7}-${TRAVIS_PULL_REQUEST_BRANCH}
fi
if [ "$USE_LCM" = "ON" ]; then
build_name=${buil... | patmarion/director | distro/travis/build_and_test.sh | Shell | bsd-3-clause | 1,386 |
#!/bin/bash
# This shell script is used for setting up our Kokoro Ubuntu environment
# with necessary dependencies for running integration tests, and then
# running tests when PRs are submitted or code is pushed.
#
# This script is intentionally a bit verbose with what it writes to stdout.
# Since its output is only v... | endlessm/chromium-browser | third_party/catapult/third_party/gsutil/test/ci/kokoro/run_integ_tests.sh | Shell | bsd-3-clause | 2,879 |
#!/usr/bin/env bash
cd $(dirname "$0")
PYTHONPATH=src
python src/cleanup.py "$1" "$2"
| openwfm/wrfxpy | cleanup.sh | Shell | mit | 86 |
#!/usr/bin/env bash
# generated from catkin/cmake/templates/setup.bash.in
CATKIN_SHELL=bash
. "/home/meka/mekabot/m3meka/ros/shm_led_x2xn/devel/setup.sh"
| ahoarau/m3meka | ros/shm_led_x2xn/devel/setup.bash | Shell | mit | 155 |
#!/bin/bash
FN="bsseqData_0.26.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/experiment/src/contrib/bsseqData_0.26.0.tar.gz"
"https://bioarchive.galaxyproject.org/bsseqData_0.26.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-bsseqdata/bioconductor-bsseqdata_0.26.0_src_all.tar.gz"... | roryk/recipes | recipes/bioconductor-bsseqdata/post-link.sh | Shell | mit | 1,297 |
#!/bin/bash
# Script Name: AtoMiC Ubooquity Version Check
echo
source "$SCRIPTPATH/inc/commons.sh"
echo -e "${YELLOW}--->Ubooquity Version Check...$ENDCOLOR"
RADARRVERSION=$(curl -s https://vaemendis.net/ubooquity/static2/download | \
grep -oP '(?<=Version ).*(?= )')
echo "Available Version: $RADARRVERSION"
i... | TommyE123/AtoMiC-ToolKit | ubooquity/ubooquity-version-handler.sh | Shell | mit | 390 |
for i in `ls *.nex`;
do rm -rf temp*;
mv $i temp;
Rscript rename.R;
mv tempout $i;
done;
| laninsky/renaming_things_inside_nexus_sequence_file | renaming_things_inside_nexus_sequence_file/rename.sh | Shell | mit | 89 |
#!/bin/bash
sudo ./arduino-serial -b 115200 -p /dev/ttyACM0 -s 5 -d 250 -s 5 -d 250 -s 5 -d 250 -s 5 -d 250 -s 5 -d 250 -s 5 -d 250 -s 5 -d 250 -s 5 -d 200 -s 4 -d 250 -s 4 -d 250 -s 4 -d 250 -s 4
| ragu222/volhalla | vol_up_down.sh | Shell | mit | 197 |
#!/usr/bin/env bash
###############################################################################
# Copyright (c) 2016, 2021 Red Hat Inc and others
#
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/leg... | stzilli/kapua | deployment/openshift/openshift-destroy.sh | Shell | epl-1.0 | 917 |
#!/bin/sh
javac -O -Xlint:unchecked -source 1.5 -target 1.5 -classpath src src/*.java
jar cfm TuioSimulator.jar src/manifest.inc -C src .
rm -f src/*.class src/com/illposed/osc/*.class src/com/illposed/osc/utility/*.class
| MichaelVdheeren/TUIO-Simulator | src/compile.sh | Shell | gpl-2.0 | 222 |
#!/bin/bash
./scripts/getModelSizes.py > json/modelSizes.json
node node_modules/jade/bin/jade.js -P index.jade
node ./node_modules/browserify/bin/cmd.js index.js -t babelify --outfile bundle.js
# for debugging es6 for..of in firefox, gives better errors than babel translation
# node ./node_modules/browserify/bin/cmd.js... | casaval/rts | compile.sh | Shell | gpl-2.0 | 405 |
#!/bin/bash
echo "
========================================================================
WARNING
========================================================================
This script modifies the SOGo database schema so that it complies to the
new optional 9-table model. It is *not* part of a normal upgrade.
It is... | emiliojsf/sogo | Scripts/sql-update-3.0.0-to-combined.sh | Shell | gpl-2.0 | 7,106 |
#!/bin/bash
#
# Test the delete code
#
source $REG_DIR/scaffold
cmd setup_repo
cmd guilt-delete mode
cmd list_files
cmd guilt-delete mode
# FIXME: this should return a non-zero status, no?
cmd list_files
cmd guilt-delete add
cmd list_files
# FIXME: test delete -f
| vitaly/guilt | regression/t-026.sh | Shell | gpl-2.0 | 273 |
#!/bin/bash
# daemon-reload.sh
#
# Do a daemon-reload for SystemD
#
# (C) Copyright 2018-2021 Fred Gleason <fredg@paravelsystems.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foun... | RadioFreeAsia/GlassNet | systemd/daemon-reload.sh | Shell | gpl-2.0 | 882 |
#!/bin/bash
# provision.sh: turn a stock raspbian img into a bootable "Solo
# Software Image". see raspi-install.txt for more info.
# Notes:
# There should be NO mention of p3 here. It doesn't exist
# Anything needing internet access must be done here.
# Anything slow should be done too
# Install base is : directory... | solo-system/solo | old/provision-2016-05-16.sh | Shell | gpl-2.0 | 8,994 |
#!/bin/bash
#PBS -l walltime=4:00:00
#PBS -l nodes=1:ppn=2
#PBS -l vmem=32G
#PBS -N WAF_4_1_2_500_100_0_0_69_82
cd /zhome/fc/e/102910/maritime-vrp/build
LD_LIBRARY_PATH=/zhome/fc/e/102910/gcc/lib64 ./maritime_vrp ../data/old_thesis_data/program_params.json ../data/new/WAF_4_1_2_500_100_0_0_69_82.json
| OR-Bologna/maritime-vrp | opt/launchers/WAF_4_1_2_500_100_0_0_69_82.sh | Shell | gpl-3.0 | 302 |
#!/bin/sh
# Test "rm -r --verbose".
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your opti... | homer6/gnu_coreutils | tests/rm/r-2.sh | Shell | gpl-3.0 | 1,383 |
#!/bin/bash
# Simple jobs that never fails
# Each should be taking >100s and be possible to run in parallel
# I.e.: No race conditions, no logins
cat <<'EOF' | sed -e 's/;$/; /;s/$SERVER1/'$SERVER1'/;s/$SERVER2/'$SERVER2'/' | stdout parallel -k -vj4 -L1
echo '### Test if we can deal with output > 4 GB'
## echo | nice... | michaKFromParis/gnu-parallel-sticky | testsuite/tests-to-run/parallel-local-100s.sh | Shell | gpl-3.0 | 869 |
#!/bin/sh
## first allow forwarding.
echo 1 > /proc/sys/net/ipv4/ip_forward
## Header Sammple Live Public Internet IP is 172.16.201.254 while 192.168.100.3 is Internal IP
iptables -t nat -A PREROUTING -d 172.16.201.254/32 -p tcp -m tcp --dport 25 -j DNAT --to-destination 192.168.100.3
iptables -t nat -A PREROUTING... | deependhulla/technomail-debian | files/iptables-sample-port-forwarding-rules.sh | Shell | gpl-3.0 | 726 |
#!/bin/sh
./speechClientExample.py --Ice.Config=config
| rajathkumarmp/robocomp-robolab | components/speechComp/clientExample/startClient.sh | Shell | gpl-3.0 | 56 |
#!/usr/bin/env bash
#
# This script builds the application from source for multiple platforms.
# Get the parent directory of where this script is.
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
# Change into that director... | iljaskevic/terraform | scripts/build.sh | Shell | mpl-2.0 | 2,845 |
#!/bin/sh
java -jar ../lib/osgi-framework.jar -console | laki88/hiron | distribution/standalone/bin/hironStart.sh | Shell | apache-2.0 | 56 |
#!/bin/bash
echo -n "" >> /tmp/net.ifaces
cat /tls/*.0 >> /etc/pki/tls/certs/ca-bundle.crt
if ! grep console= /proc/cmdline >& /dev/null; then
autocons=$(/opt/confluent/bin/autocons)
if [ -n "$autocons" ]; then
echo console=$autocons |sed -e 's!/dev/!!' >> /tmp/01-autocons.conf
autocons=${autoco... | xcat2/confluent | confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/cmdline/01-confluent.sh | Shell | apache-2.0 | 594 |
#!/bin/bash
# Argument parsing
if [ "$1" = "jacoco" ]
then
JACOCO_ENABLED=true
else
JACOCO_ENABLED=false
fi
# Clean out any old sandbox, make a new one
OUTDIR=sandbox/single
MKDIR=mkdir
SEP=:
case "`uname`" in
CYGWIN* )
MKDIR=mkdir.exe
SEP=";"
;;
esac
rm -fr $OUTDIR
$MKDIR -p $OUTDIR
f... | h2oai/h2o-3 | h2o-admissibleml/testSingleNode.sh | Shell | apache-2.0 | 3,981 |
#!/bin/bash
CERT="${HOME}/HelloWorldSwift/aps_development.cer"
KEY="${HOME}/HelloWorldSwift/Certificates-AJ-ONeal-Dev-Key-Private.p12"
openssl x509 -in "${CERT}" -inform DER -outform PEM -out cert.pem
openssl pkcs12 -in ${KEY} -out key.pem -nodes
| coolaj86/ios-swift-nodejs-push-notification-demo | convert-keys-for-node.sh | Shell | apache-2.0 | 247 |
#!/bin/bash
GOOS=darwin go build -o top-plugin-osx
#GOOS=linux go build -o top-plugin-linux
#GOOS=windows GOARCH=amd64 go build -o top-plugin.exe
#GOOS=linux GOARCH=arm GOARM=6 go build -o top-plugin-linux-arm6
if [ $? != 0 ]; then
printf "Error when executing compile\n"
exit 1
fi
cf uninstall-plugin top
cf inst... | ECSTeam/cloudfoundry-top-plugin | compile.sh | Shell | apache-2.0 | 351 |
# 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 ... | tomz/bigtop | docker/bigtop-deploy/centos-6/build.sh | Shell | apache-2.0 | 882 |
#!/bin/bash
# Bash Shell Script to facilitate Code Style Testing
# Python Flake8 Testing of the Python Eve REST Server Modules
#__author__ = "Sanjay Joshi"
#__copyright__ = "Copyright 2016 IBM"
#__credits__ = ["Sanjay Joshi"]
#__license__ = "Apache 2.0"
#__version__ = "1.0"
#__maintainer__ = "Sanjay Joshi"
#__email__ ... | joshisa/mistub | mistub/tests/pep8_style_tests.sh | Shell | apache-2.0 | 3,043 |
#!/bin/bash
#
# Script to run SOLiD_preprocess_filter steps on SOLiD data
#
# Usage: solid_preprocess_truncation_filter.sh [options] <csfasta> <qual>
#
function usage() {
echo "Usage: solid_preprocess_truncation_filter.sh [options] <csfasta> <qual>"
echo ""
echo "Run SOLiD_preprocess_filter_v2.pl script to ... | fw1121/genomics | QC-pipeline/solid_preprocess_truncation_filter.sh | Shell | artistic-2.0 | 9,088 |
#!/bin/bash
local_path=$(cd "$(dirname $0)";pwd)
NAME=$(basename $local_path)
RESOURCE_DIR=/home/app/content
folderName_tmp=${NAME#*-}
folderName=${folderName_tmp%%-*}
#parse params
USAGE="Usage: ./inst.sh [-i] [-u]
-u clean srouce file
-i unzip package
[-i] option was set as default."
function unzippkg()
{
... | yugang/crosswalk-test-suite | stability/wrt-stablonglast-android-tests/inst.sh | Shell | bsd-3-clause | 1,306 |
#! /usr/bin/env bash
for res in 512 256 128 64 32
do
for i in svg/*.svg
do
IMAGE_NAME=$(basename $i .svg)
echo "Converting ${IMAGE_NAME} to png/${res}/${IMAGE_NAME}.png"
rsvg-convert -w ${res} $i -o png/${res}/${IMAGE_NAME}.png
done
done
| korczis/microcrawler-webapp | web/static/assets/images/flags/generate-png.sh | Shell | mit | 259 |
#!/bin/bash
# Skip if there's a special string in the commit message.
if [[ $CI_MESSAGE =~ "[skip codeship tests]" ]]; then
echo "Skipped Codeship tests."
exit 0
fi
# By default, retry a command 3 times before exiting with errors.
MAX_LOOP=${TRIES:-3}
n=0
export TEST_RUN="$1"
until [[ $n -ge $MAX_LOOP ]]; do
e... | ariana-paris/otwarchive | script/codeship/try.sh | Shell | gpl-2.0 | 461 |
#!/bin/bash
# cleanup directory
rm -f *.clean
rm -f *.txt
rm -f *.rpkm
| statonlab/athal_smallRNAs | analysis/7_rpkm_ncRNA/3_cleanup.sh | Shell | gpl-3.0 | 72 |
#!/bin/bash
gnuplot test_g/DoS-L=32_PP=4-1/temp/*.plot
convert -delay 10 -loop 0 test_g/DoS-L=32_PP=4-1/graphs/{1..20}.jpg animate-DoS-L=32_PP=4-1.gif
| nlare/Landau-Wang-omp | plot_test_g_graph-L=3D_32_PP=4-1.sh | Shell | gpl-3.0 | 151 |
#!/bin/bash
#Compare summary statistics of ms and scrm for migration
mkdir test-prune-mig-pair
cd test-prune-mig-pair
rm *pdf
rep=10000
seqlen=1000000
#msr=(10 20 10 50)
r=100
## compare TMRCA
compareMIG=compareMIG
rm ${comparePop}
#rm ${compareTMRCA}
#rm ${compareBL}
#echo -e "compare TMRCA for ${rep} replicate... | luntergroup/scrm_jz_stable_branch | tests/manualtests/ms_vs_scrm-prune_mig_recomb.sh | Shell | gpl-3.0 | 9,710 |
#!/bin/bash
#
# Copyright (c) 2017 Intel Corporation
#
# 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 ... | chavafg/tests | .ci/setup_env_ubuntu.sh | Shell | apache-2.0 | 2,129 |
#!/usr/bin/env bash
if [ -z "${ANDROID_BUILD_FOLDER}" ]; then
echo STDERR "ANDROID_BUILD_FOLDER is not set. Please set it in the caller script"
echo STDERR "e.g. x86 or arm"
exit 1
fi
ANDROID_SDK=${ANDROID_BUILD_FOLDER}/sdk
export ANDROID_SDK_ROOT=${ANDROID_SDK}
export ANDROID_HOME=${ANDROID_SDK}
export P... | srottem/indy-sdk | libindy/ci/setup.android.env.sh | Shell | apache-2.0 | 6,759 |
#!/usr/bin/env bash
###############################################################################
# Copyright 2019 The Apollo 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... | jinghaomiao/apollo | modules/tools/prediction/data_pipelines/scripts/evaluate_prediction_result_script.sh | Shell | apache-2.0 | 1,226 |
#!/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 ma... | fenglu-g/incubator-airflow | airflow/www/compile_assets.sh | Shell | apache-2.0 | 984 |
#!/usr/bin/env bash
set -ex
# download Ibex and untar it
ibexver=2.6.5
curl https://codeload.github.com/ibex-team/ibex-lib/tar.gz/ibex-${ibexver} > ibex-${ibexver}.tar.gz
tar -xzf ibex-${ibexver}.tar.gz
# prepare installation
cd ibex-lib-ibex-${ibexver}
./waf configure --enable-shared --with-jni --java-package-name=or... | chocoteam/choco3 | .travis/install-ibex.sh | Shell | bsd-3-clause | 491 |
#!/bin/sh
# Copyright 2009-2012 Splunk, Inc.
#
# ... | excessivedemon/puppet-splunk | files/ta/Splunk_TA_nix/bin/hardware.sh | Shell | mit | 9,094 |
#!/bin/bash
cd `dirname $0`
CP=lib/jake2.jar
exec java -Xmx64M -cp $CP jake2.Jake2 +set dedicated 1
| sudeshgaur/GroupProject | scripts/Jake2_dedicated.sh | Shell | gpl-2.0 | 103 |
#
# MySQL-shared-compat.spec
#
# RPM build instructions to create a "meta" package that includes two
# versions of the MySQL shared libraries (for compatibility with
# distributions that ship older versions of MySQL and do not provide a
# separate "MySQL-shared" package. This spec file simply repackages two
# already e... | Abner-Sun/vx_mysql5.1_git | support-files/MySQL-shared-compat.spec.sh | Shell | gpl-2.0 | 3,341 |
#!/bin/bash
###########################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in s... | rajashreer7/autotest-client-tests | linux-tools/star/star.sh | Shell | gpl-2.0 | 7,004 |
#!/bin/bash
. acsstartupAcsPorts
export ACS_INSTANCE=`cat $ACS_TMP/acs_instance`
echo "Running $*"
$*
sleep 25
echo "Shutting down ContainerNotifTest"
acsStopContainer ContainerNotifTest >& /dev/null
sleep 10
echo "All done!"
| jbarriosc/ACSUFRO | LGPL/CommonSoftware/bulkData/test/bulkDataNotifTestRun.sh | Shell | lgpl-2.1 | 234 |
#!/bin/bash
# This script tests the high level end-to-end functionality demonstrated
# as part of the examples/sample-app
if [[ -z "$(which iptables)" ]]; then
echo "IPTables not found - the end-to-end test requires a system with iptables for Kubernetes services."
exit 1
fi
iptables --list > /dev/null 2>&1
if [ $? ... | tnguyen-rh/origin | hack/test-end-to-end.sh | Shell | apache-2.0 | 19,318 |
#!/usr/bin/env bash
scripts_dir=$(dirname $0)
. ${scripts_dir}/../helper_scripts/cosmic/helperlib.sh
set -e
function usage {
printf "Usage: %s: -m marvin_config \n" $(basename $0) >&2
}
say "Running script: $0"
say "Build cosmic-usage-chart"
make
wait_timeout=600
say "Install Cosmic Usage using cosmic-usage-cha... | MissionCriticalCloud/cosmic-bubble | ci/ci-setup-minikube.sh | Shell | apache-2.0 | 617 |
p "gcc -Wall -o cp cp.c"
| osamuaoki/fun2prog | file/cp-mmap-write/cp.sh | Shell | mit | 25 |
#!/bin/bash
set -ex
# Travis legacy boxes give you 1.5 CPUs, container-based boxes give you 2 CPUs
export NPY_NUM_BUILD_JOBS=2
# setup env
if [ -r /usr/lib/libeatmydata/libeatmydata.so ]; then
# much faster package installation
export LD_PRELOAD='/usr/lib/libeatmydata/libeatmydata.so'
elif [ -r /usr/lib/*/libeat... | numpy/numpy | tools/travis-test.sh | Shell | bsd-3-clause | 6,664 |
#
# restore/YUM/default/950_grub2_mkconfig.sh
# 950_grub2_mkconfig is a finalisation script (see restore/readme)
# that runs grub2-mkconfig in the target system
# after the files have been restored into the target system
# (i.e. so that GRUB2 is installed in the target system).
# Running grub2-mkconfig is needed as pre... | phracek/rear | usr/share/rear/restore/YUM/default/950_grub2_mkconfig.sh | Shell | gpl-3.0 | 2,251 |
#!/bin/sh
# Set ThingsBoard host to "demo.thingsboard.io" or "localhost"
THINGSBOARD_HOST="demo.thingsboard.io"
# Replace YOUR_ACCESS_TOKEN with one from Device details panel.
ACCESS_TOKEN="YOUR_ACCESS_TOKEN"
# Publish serial number and firmware version attributes
mosquitto_pub -d -h "$THINGSBOARD_HOST" -t "v1/devices... | thingsboard/thingsboard.github.io | docs/samples/senquip/resources/mosquitto.sh | Shell | apache-2.0 | 588 |
#!/bin/sh
test_concurrent_exec() {
ensure_import_testimage
name=x1
lxc launch testimage x1
lxc list ${name} | grep RUNNING
exec_container() {
echo "abc${1}" | lxc exec "${name}" -- cat | grep abc
}
PIDS=""
for i in $(seq 1 50); do
exec_container "${i}" > "${LXD_DIR}/exec-${i}.out" 2>&1 &
... | Malizor/lxd | test/suites/exec.sh | Shell | apache-2.0 | 452 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.