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 |
|---|---|---|---|---|---|
timestamp() {
date +%s
}
nanostamp() {
date +%s%N
}
wait_for() {
local goal="$1"
local time_limit="$2"
local end_ts="$(date +%s%N -d "$time_limit")"
while (( $(date +%s%N) < end_ts )); do
if eval "${goal}"; then
return 0
fi
sleep 0.1
done
if eval "${goal}"; then
return 0
fi
return 1
}
execution_... | lizardfs/lizardfs | tests/tools/time.sh | Shell | gpl-3.0 | 392 |
#!/bin/bash -x
BASE=tetgen1.5.0
DLNAME=$BASE.tar.gz
BUILD=tetgen-build
mkdir -p cache
cd cache
if [ ! -f $DLNAME ]; then
wget http://wias-berlin.de/software/tetgen/1.5/src/$DLNAME
fi
if [ ! -d $BASE ]; then
tar xvfz $DLNAME
fi
if [ ! -d $BUILD ]; then
mkdir $BUILD
cd $BUILD
cmake -DCMAKE_CXX_FL... | CognitionGuidedSurgery/msml | share/install_tetgen.sh | Shell | gpl-3.0 | 369 |
#!/bin/bash
rm -r results
debye_decomposition.py -f frequencies.dat -d data.dat -c 2 -o results -n 10 --plot
| m-weigand/ccd_tools | playground/Sensitivities/synthetic/fit.sh | Shell | gpl-3.0 | 109 |
#!/bin/sh
#$1 is eg `test.avi`
fps=5
/opt/vc/bin/raspivid -o $1 -w 720 -h 540 -fps $fps -e
ffmpeg -r 5 -i $1 -vcodec copy tmp_$1 && mv tmp_$1 $1
| gilestrolab/ethoscope | scripts/record_video.sh | Shell | gpl-3.0 | 152 |
#!/bin/bash
# Run this script if you want to find and update all strings in the code.
# lupdate doesn't work with recursive *.pro file and without direct pointing to correct *.pro file just update exists strings in code.
# Please, run this script from folder <root_folder>/scripts.
start=$(date +%s)
# Download all tra... | FashionFreedom/Seamly2D | scripts/lupdate.sh | Shell | gpl-3.0 | 1,469 |
#!/bin/bash
busq=10.32.73.10.txt
sed -i '/msf3/d' $busq
sed -i '/=>/d' $busq
sed -i '/^$/d' $busq
sed -i '/</d' $busq
sed -i '/Warning:/d' $busq
| procamora/Scripts-Bash | NMAP/script.sh | Shell | gpl-3.0 | 152 |
#!/bin/bash
set -u
TARGET="${1:-HEAD}"
current_default="$(git describe --tags --abbrev=0 "${TARGET}")"
echo >&2 -n "Current version [${current_default}]: "
read -r current_in
if [ -z "${current_in}" ]; then
CURRENT_VERSION="${current_default}"
else
CURRENT_VERSION="${current_in}"
fi
next_default="$(cat app/... | spacecowboy/Feeder | release.sh | Shell | gpl-3.0 | 2,147 |
#!/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/instances/10_0_workflow_full_10files_primary_3sh_3rs_noannot_with_proj_3s_range/dags/ubuntu/pegasus/example_workflow/20161107T015001+0000/00/00/taskevent_2_ID0000008.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/sh
tar -xzf KeyDB-5.0.2.tar.gz
cd ~/KeyDB-5.0.2/deps
make hiredis jemalloc linenoise lua
cd ~/KeyDB-5.0.2
make MALLOC=libc -j $NUM_CPU_CORES
echo $? > ~/install-exit-status
cd ~
echo "#!/bin/sh
cd ~/KeyDB-5.0.2/
./src/keydb-server --server-threads 4 &
KEYDB_SERVER_PID=\$!
sleep 8
./src/keydb-benchmark --th... | phoronix-test-suite/phoronix-test-suite | ob-cache/test-profiles/pts/keydb-1.0.1/install.sh | Shell | gpl-3.0 | 415 |
#!/bin/sh
error=0
if [ -z "$JBOSS_HOME" ]; then
echo "Error: JBOSS_HOME ist nicht gesetzt!" 1>&2
error=1
fi
if [ x$JBOSS_IS_INSTALLED != x ]; then
echo "INFO: JBOSS_IS_INSTALLED ist gesetzt. JBoss wird nicht installiert." 1>&2
exit $error
fi
if [ -z "$JBossPackage" ]; then
JBossPackage=$1
fi
if [ ! -f "$... | ErhardSiegl/jboss-examples | ws-trans/ws-trans-pkg/src/main/config/00_install_jboss.sh | Shell | gpl-3.0 | 860 |
#!/usr/bin/env bash
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${CI_DIR}/common.sh"
travis_retry make fetchthirdparty
make all
make testfront
luajit $(which luacheck) --no-color -q {reader,setupkoenv,datastorage}.lua frontend plugins
| NickSavage/koreader | .ci/script.sh | Shell | agpl-3.0 | 256 |
#! /bin/bash
rm -rf /home/daniele/Documents/SoftDev/sdproject
cp -R /media/sf_Shared/SoftDev /home/daniele/Documents/SoftDev/sdproject
chown -R daniele:daniele /home/daniele/Documents/SoftDev/sdproject
#cd /home/daniele/Documents/SoftDev/sdproject/demos/softdev
#su daniele
#python /home/daniele/Documents/SoftDev/sdproj... | drolando/SoftDev | run.sh | Shell | lgpl-2.1 | 470 |
#!/bin/sh
mp4file=$TEMP_DIR/test.mp4
test_begin "meta"
if [ $test_skip = 1 ] ; then
return
fi
do_test "$MP4BOX -set-meta Metadata:id=0 $EXTERNAL_MEDIA_DIR/item/counter_noItems1.mp4 -out $mp4file" "set0"
do_hash_test $mp4file "set0"
do_test "$MP4BOX -set-meta Metadata:id=1 $EXTERNAL_MEDIA_DIR/item/counter_noIte... | porcelijn/gpac | tests/scripts/item.sh | Shell | lgpl-2.1 | 2,241 |
#!/usr/bin/env bash
input_path=./inputs
output_path=./outputs
function tolower(){
echo $1 | sed "y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/"
}
os=`tolower $OSTYPE`
# set converter path according to OS:
if [ $os == 'cygwin' ] || [ $os == 'msys' ]
then
#Windows ...
resampler_path=../x64/Rel... | jniemann66/ReSampler | tests/sweeps-dither.sh | Shell | lgpl-2.1 | 5,077 |
#!/bin/bash
########################################################################
#
# University of Southampton IT Innovation Centre, 2011
#
# Copyright in this library belongs to the University of Southampton
# University Road, Highfield, Southampton, UK, SO17 1BJ
#
# This software may not be used, sold, licensed, ... | mmcardle/MServe | scripts/setup-mserve.sh | Shell | lgpl-2.1 | 40,126 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/model_optimizer
OUTPUT_BAS... | ryden/Slackgine | model_optimizer/nbproject/Package-Release.bash | Shell | lgpl-3.0 | 1,473 |
#!/bin/sh
git reset --hard
git pull
echo "git maybe pull finish!"
| jnuzh/nidama | pullGitStrongly.sh | Shell | lgpl-3.0 | 66 |
#!/bin/sh
cd `dirname $0`
exec erl -pa $PWD/ebin $PWD/deps/*/ebin -boot start_sasl -s erl_reader
| grahamrhay/erl_reader | start.sh | Shell | unlicense | 97 |
#-----------------------------------------------------------------------------
# Copyright (c) 2011 Qualcomm Technologies, Inc.
# All Rights Reserved. Qualcomm Technologies Proprietary and Confidential.
#-----------------------------------------------------------------------------
. $TEST_ENV_SETUP
sps_test_path=/sys... | eliot-shao/qcom | kernel-tests/sps/run.sh | Shell | apache-2.0 | 523 |
#!/bin/bash
killall Xvfb
for i in `seq 0 200`; do
Xvfb :$i -ac -dpms -noreset +extension GLX +render -shmem &
done
| koldn/jsflight | server/startXvfbs.sh | Shell | apache-2.0 | 116 |
#!/bin/bash
#
# DSVerifier - Benchmark Runner
#
# Universidade Federal do Amazonas - UFAM
# Author: Hussama Ismail <hussamaismail@gmail.com>
# Iury Bessa <iury.bessa@gmail.com>
# Lennon Chaves <lennon.correach@gmail.com>
#
# ------------------------------------------------------
#
# S... | ssvlab/dsverifier | benchmarks/tr2018/k-5/run-limit-cycle.sh | Shell | apache-2.0 | 4,992 |
# show basic of CPU etc.
top
# show disk
dstat
iotop
sar
# show network stat
iftop
iptraf
# EOF
| caesar0301/warp-drive | learn_shell/system_stat.sh | Shell | apache-2.0 | 99 |
#!/usr/bin/env bash
SCRIPT_LOCATION=$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")
# shellcheck source=./release_functions.sh
source "${SCRIPT_LOCATION}/../source_files/release_functions.sh"
source "${SCRIPT_LOCATION}/test_runner.sh"
test_find_gradle_property_check_fails_if_variable_is_undeclared(){
unset un... | TNG/JGiven | scripts/tests/test_release_functions.sh | Shell | apache-2.0 | 5,725 |
#!/bin/bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); y... | haoch/kylin | build/script/download-tomcat.sh | Shell | apache-2.0 | 1,738 |
#!/bin/bash
if [ "$TRAVIS_BRANCH" = 'master' ] && [ "$TRAVIS_PULL_REQUEST" == 'false' ]; then
mvn deploy \
-P sign,build-extras \
-DskipTests \
--settings deployment/settings.xml
fi
| MyRealityCoding/jpersis | deployment/deploy.sh | Shell | apache-2.0 | 195 |
#!/bin/bash
#Initial setup
echo "Starting setup"
sudo easy_install pip
sudo pip install virtualenvwrapper
sudo apt-get update
sudo apt-get install python-setuptools python-dev build-essential -y
sudo apt-get install nginx -y
sudo apt-get install git -y
sudo apt-get install postgresql postgresql-contrib -y
echo "Runnin... | Upande/MaMaSe | util/setup.sh | Shell | apache-2.0 | 556 |
#!/bin/bash
echo "Welcome to Chips File Search Program"
echo "Local or SSH Scan ?"
echo "Press 1 for Local & 2 for SSH Scan";
read answer
if [ $answer = "1" ]; then
sh search.sh
elif [ $answer = "2" ]; then
sh main.sh
fi
| pratik-kubal/ChipsFileSearch | gen.sh | Shell | apache-2.0 | 223 |
#!/bin/bash
alias=$1
storepass=$2
keystore=$3
$JAVA_HOME/bin/keytool -genkey -alias $alias -keyalg RSA -keypass $storepass -storepass $storepass -keystore $keystore
| janweinschenker/servlet4-demo | server-jetty/script/create-cert.sh | Shell | apache-2.0 | 166 |
#!/bin/bash
## DL params
EXTRA_PARAMS=(
--batch-size "120"
--eval-batch-size "160"
--warmup "650"
--lr "2.92e-3"
--wd "1.6e-4"
--use-nvjpeg
# --use-roi-decode
)
... | mlperf/training_results_v0.7 | Fujitsu/benchmarks/ssd/implementations/implementation_closed/config_PG.sh | Shell | apache-2.0 | 585 |
sh clean.sh
jekyll build
cd ../jhfjhfj1.github.io
git pull
cd ../github_io_source
rm -r ../jhfjhfj1.github.io/*
cp -r _site/* ../jhfjhfj1.github.io/
sh update.sh $1
cd ../jhfjhfj1.github.io
sh update.sh $1
| jhfjhfj1/jhfjhfj1.github.io | all_update.sh | Shell | apache-2.0 | 206 |
./mvnw clean package -DdefaultCompileVersion=1.7
cp target/*sources.jar $ProxyClient_IOS_LIB/simplewebserver-sources.jar
| 94fzb/simplewebserver | build-objc.sh | Shell | apache-2.0 | 121 |
#!/bin/bash
# Copyright 2018 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 ... | gambol99/kops | addons/cluster-autoscaler/cluster-autoscaler.sh | Shell | apache-2.0 | 4,491 |
#!/bin/bash
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | GoogleCloudPlatform/cloudml-dist-mnist-example | scripts_p3/start-dist-mnist.sh | Shell | apache-2.0 | 927 |
#!/bin/bash
siege -f urls.txt -c50 -r500000 -b -i &
sleep 3
siege -f urls.txt -c50 -r500000 -b -i &
sleep 5
siege -f urls.txt -c50 -r500000 -b -i &
sleep 3
siege -f urls.txt -c50 -r500000 -b -i &
sleep 5
siege -f urls.txt -c50 -r500000 -b -i &
sleep 3
siege -f urls.txt -c50 -r500000 -b -i &
| concurrentlabs/laguna | 1.0/scripts/siege/transcperftest.sh | Shell | apache-2.0 | 292 |
#!/bin/bash
docker build -t arapso/jenkins_job_builder .
| arapso-scaffoldings/docker | JenkinsJobs/jenkins_job_builder/build.sh | Shell | apache-2.0 | 58 |
echo "Starting jCodeCollector"
java -jar jcodecollector.jar -Dawt.useSystemAAFontSettings=o
| thevladsoft/jcodecollector_git | launch_jcc.sh | Shell | apache-2.0 | 92 |
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
check() {
return 0
}
depends() {
echo systemd network
}
install() {
inst_multiple afterburn
inst_simple "$moddir/afterburn-hostname.service" \
"$systemdutildir/system/aft... | coreos/coreos-metadata | dracut/30afterburn/module-setup.sh | Shell | apache-2.0 | 945 |
#!/bin/bash
#
# Copyright 2011-2021 Asakusa Framework Team.
#
# 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... | asakusafw/asakusafw | testing-project/asakusa-test-driver/src/main/dist/testing/libexec/hadoop-execute.sh | Shell | apache-2.0 | 3,256 |
#!/bin/bash
docker run -it --rm wrk-3 "$@"
| William-Yeh/build-docker-with-ansible | lab-wrk/step-3/run.sh | Shell | apache-2.0 | 46 |
#!/bin/bash
# - name: Plex
# docker:
# name: plex
# hostname: plex
# image: timhaak/plex
# state: started
# restart_policy: always
# pull: always
# net: host
# ports:
# - "32400:32400"
# volumes_from:
# ... | kurron/scripts | fix-plex.sh | Shell | apache-2.0 | 610 |
#!/bin/bash
unset https_proxy
unset http_proxy
unset no_proxy
| v1k0d3n/bootkube-ci | .proxy/proxy_disable.sh | Shell | apache-2.0 | 62 |
#!/bin/bash
ZONE=root-servers.net
PARENT_FILE=/var/lib/knot/root.zone
while :
do
if [ -n "$(/usr/sbin/keymgr ${ZONE} ds | grep -v OK)" ]
then
/usr/sbin/keymgr ${ZONE} ds | grep -v OK >> ${PARENT_FILE}
touch /var/lib/knot/root.zone.ds_added
exit
fi
done
| b4ldr/rsn | update_ds.sh | Shell | apache-2.0 | 271 |
#!/bash/bin
#/***************************************************************************
# * copyright : (C) 2011 by Karel Vesely,UPGM,FIT,VUT,Brno *
# * email : iveselyk@fit.vutbr.cz *
# ***********************************************************************... | troylee/nnet-asr | examples/01test_MLP3_compare_multithread_cuda_decode_phn/decode.sh | Shell | apache-2.0 | 2,162 |
#!/bin/bash
#
# maintainer: Zhuohuan LI <zixia@zixia.net>
#
OWNER="zixia"
NAME="simple-mail-forwarder"
IMAGE_NAME="$OWNER/$NAME"
TAG='' && [ -n "$1" ] && TAG=":$1" && shift
CMD="docker run --rm --name $NAME -it ${IMAGE_NAME}${TAG} shell"
echo ">> Run $CMD"
$CMD
| zixia/docker-simple-mail-forwarder | script/shell.sh | Shell | apache-2.0 | 266 |
#!/usr/bin/env 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 a... | googleapis/google-cloud-cpp-bigquery | ci/colors.sh | Shell | apache-2.0 | 963 |
#!/bin/bash
#
# Runs the full suite of integration tests for a builder pipeline.
set -e
DIR=$(dirname $0)
TEST_CASES_DIR=$DIR/tests
IMAGE_UNDER_TEST=$1
if [ -z $IMAGE_UNDER_TEST ]; then
echo "Usage: $0 <image_under_test>"
exit 1;
fi
# make sure git submodules are initialized
git submodule update --init
# run t... | GoogleCloudPlatform/runtime-builder-java | test/integration/test-suite.sh | Shell | apache-2.0 | 564 |
#!/bin/sh
#
# This is a Shell script for v2ray based alpine with Docker image
#
# Copyright (C) 2019 - 2022 Teddysun <i@teddysun.com>
#
# Reference URL:
# https://github.com/v2fly/v2ray-core.git
PLATFORM=$1
if [ -z "$PLATFORM" ]; then
ARCH="amd64"
else
case "$PLATFORM" in
linux/386)
ARCH="... | teddysun/across | docker/v2ray/v2ray.sh | Shell | apache-2.0 | 1,566 |
#!/bin/bash
# Copyright 2018 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... | GoogleCloudPlatform/gke-enterprise-demo | scripts/teardown.sh | Shell | apache-2.0 | 2,421 |
# ----------------------------------------------------------------------------
#
# Package : Quartz-Scheduler
# Version : 2.3.1
# Source repo : https://github.com/quartz-scheduler/quartz
# Tested on : ubuntu_18.04
# Script License: Apache License, Version 2 or later
# Maintainer : Meghali Dhoble <d... | ppc64le/build-scripts | q/quartz-scheduler/quartz-scheduler_ubuntu_18.04.sh | Shell | apache-2.0 | 981 |
#!/bin/bash
docker build -t goovstest . | kopwei/goovs | docker/build.sh | Shell | apache-2.0 | 40 |
function install_xcode_cli {
echo "Installing Xcode CLI tools..."
xcode-select --install
}
function install_brew {
echo "Installing Homebrew..."
if !(hash brew 2>/dev/null); then
ruby \
-e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" \
</dev/null
brew doctor... | lacion/dotfiles | setupOSX.sh | Shell | apache-2.0 | 3,165 |
#!/bin/bash
docker rmi weinschenker/glassfish-servlet4:1.0.4-SNAPSHOT
| janweinschenker/servlet4-demo | server-glassfish/docker/rmi.sh | Shell | apache-2.0 | 70 |
#!/bin/bash
#
# Copyright 2012 Marco Vermeulen
#
# 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... | DealerDotCom/gvm-cli | src/main/bash/gvm-offline.sh | Shell | apache-2.0 | 1,415 |
#!/usr/bin/env sh
source /opt/nailgun/bin/activate
./hack.py
deactivate
| gh7717/hack | start.sh | Shell | apache-2.0 | 73 |
#!/bin/bash
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export TF_MODULE=gke-eks-cluster-infra-tf
#
GCP_TFVARS=$TF_MODULE/gcp.auto.tfvars
AWS_TFVARS=$TF_MODULE/aws.auto.tfvars
source mc-r2-eks.env
cat <<EOF > "$AWS_TFVARS"
aws_region = "$AWS_REGION"
aws_vpc = "$AWS_VPC"
aws_public_subnet = "$AWS... | apigee/ahr | examples-mc-gke-eks/bs-cluster-infra.sh | Shell | apache-2.0 | 475 |
#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distrib... | richliu/devstack | tests/test_refs.sh | Shell | apache-2.0 | 786 |
#!/bin/sh
# The following executes the HelloWorld using load time weaving (ltw). The aspectj javaagent is required.
# ltw is the most flexible way of using aspectj and is controled by passing an aspectj xml config line into the program.
#
# The example monitors jdk IO, and net classes.
java -Dorg.automon=sysout -Dor... | stevensouza/automon | examples/jdk-ltw.sh | Shell | apache-2.0 | 634 |
#!/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 i... | GoogleCloudPlatform/ai-platform-samples | training/horovod/scripts/train-cloud.sh | Shell | apache-2.0 | 2,992 |
#!/bin/bash
# Copyright 2015 Insight Data Science
#
# 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 ... | InsightDataScience/pegasus | service/zookeeper/start_service.sh | Shell | apache-2.0 | 1,015 |
#!/bin/bash
check_usage() {
if [ $# -lt 2 ]
then
echo "Usage:"
echo "$0 <NN_URI> <RM_URI>"
exit 1
fi
}
check_usage $*
find examples/apps/*/ -name job.properties | xargs sed -i -e "s/localhost:8020/${1}/g"
find examples/apps/*/ -name job.properties | xargs sed -i -e "s/localhost:8021/${2}/g"
| zhuwbigdata/hadoop-admin-utils | oozie-utils/fixOozieExampleJobProperties.sh | Shell | apache-2.0 | 312 |
#!/bin/bash
##===----------------------------------------------------------------------===##
##
## This source file is part of the SwiftNIO open source project
##
## Copyright (c) 2017-2018 Apple Inc. and the SwiftNIO project authors
## Licensed under Apache License v2.0
##
## See LICENSE.txt for license information
##... | apple/swift-nio | scripts/generate_docs.sh | Shell | apache-2.0 | 4,492 |
#!/bin/sh
mkdir -p aarch64
cp arch-update.sh aarch64/
cat <<DOCKER > aarch64/Dockerfile
FROM build-clavator
COPY arch-update.sh /arch/
COPY build.sh /
CMD ["/bin/sh", "-x", "/build.sh"]
DOCKER
cat <<SH > aarch64/build.sh
#!/bin/sh
mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
echo -1 > /proc/sys/fs/bin... | mabels/clavator | image/arch-aarch64.sh | Shell | apache-2.0 | 1,334 |
JAVACMD=java
BASEDIR=$(dirname $0)
$JAVACMD -jar $BASEDIR/remoteDbDumper.jar $*
| schnatterer/remoteDbDumper | src/main/resources/remoteDbDumper.sh | Shell | apache-2.0 | 83 |
apt-get source libbz2-dev
| bayvictor/distributed-polling-system | bin/libz_init.sh | Shell | apache-2.0 | 26 |
echo "[Unit]
Description=Infinite Glitch
Requires=glitch.socket
[Install]
WantedBy=multi-user.target
[Service]
User=`whoami`
ExecStart=`which gunicorn` --certfile=fullchain.pem --keyfile=privkey.pem glitch.server:app --workers=4 --log-level=debug
WorkingDirectory=`pwd`
"|sudo tee /etc/systemd/system/glitch.service >/... | MikeiLL/appension | makeservice.sh | Shell | artistic-2.0 | 1,158 |
#!/bin/bash
cd /srv/cobl
git pull
./venv/bin/pip install --upgrade pip
./venv/bin/pip install -r REQUIREMENTS
cd static
npm install
nodejs ./node_modules/bower/bin/bower install
nodejs ./node_modules/grunt-cli/bin/grunt
cd ..
./venv/bin/python manage.py migrate
| lingdb/CoBL-public | deployment/update.sh | Shell | bsd-2-clause | 262 |
#!/bin/bash
# Return the location of the stylesheet.
export STATE_DIR="${STATE_DIR:-appState}"
placeToLook=~/.mozilla/firefox
function findFirefoxProfiles
{
cd "$placeToLook"
grep ^Path= profiles.ini | cut -d= -f2
}
function addFileName
{
sed 's#$#/chrome/userContent.css#g'
}
function makeFullPathA... | ksandom/colouredWeb | apps/firefox-content/appState/cwCSSPath.sh | Shell | bsd-2-clause | 454 |
nohup sh runme1-4-pseudo-adaptative.sh &
nohup sh runme5-8-pseudo-adaptative.sh &
nohup sh runme9-12-pseudo-adaptative.sh &
nohup sh runme13-16-pseudo-adaptative.sh &
nohup sh runme17-20-pseudo-adaptative.sh &
nohup sh runme21-24-pseudo-adaptative.sh &
| PyQuake/earthquakemodels | result_exp_benchmark/gaBenchmarksStudy/run-all-pseudo-adaptative.sh | Shell | bsd-3-clause | 253 |
#!/bin/bash
# Copyright (c) 2012 The libmumble Developers
# The use of this source code is goverened by a BSD-style
# license that can be found in the LICENSE-file.
# Generate a self-signed certificate valid for one year, with CN=SelfSignedTest
openssl genrsa -out /dev/stdout 2048 | openssl rsa -inform PEM -outform DE... | metredigm/libmumble | testdata/x509/selfsign/generate.bash | Shell | bsd-3-clause | 536 |
apt-get install -y git-core
a2dissite default
a2dissite default-ssl
rm -rf /var/www
mkdir -p /var/www
ln -fs /vagrant/public /var/www/frontend
ln -fs /vagrant/app /var/www/api
cp /vagrant/provision/conf/apache2/vhost/* /etc/apache2/sites-available/
a2ensite api
a2ensite frontend
service apache2 reload
rm -rf /vagra... | denisura/zfAlbum | provision/deploy.sh | Shell | bsd-3-clause | 530 |
cat procedures/JobQStart.sql
cat upgrade/10000000.sql
exit 0
| jctincan/tsadm-webapp | tsadm/db/upgrade/10000000.bash | Shell | bsd-3-clause | 61 |
#!/bin/sh
# printf -v
printf -v a 1
| Gnouc/flycheck-checkbashisms | test/checkbashisms.sh | Shell | bsd-3-clause | 37 |
#!/bin/bash -ve
# just for testing purposes, use --max_cov 30 or higher for real applications.
../../util/insilico_read_normalization.pl --JM 2G \
--left ../test_Trinity_Assembly/reads.left.fq.gz,../test_Trinity_Assembly/reads2.left.fq.gz \
--right ../test_Trinity_Assembly/reads.right.fq.gz,../test_Trinity_A... | g1o/trinityrnaseq | sample_data/test_InSilicoReadNormalization/test_PE_normalization.mult_read_sets.sh | Shell | bsd-3-clause | 505 |
#!/bin/bash
# This is a template for the instance-user-data.sh script for the Nomad Server.
# For more information on instance-user-data.sh scripts, see:
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
# This script will be formatted by Nomad, which will read files from
# the project into terrafo... | data-refinery/data_refinery | infrastructure/nomad-configuration/pg-bouncer-instance-user-data.tpl.sh | Shell | bsd-3-clause | 2,278 |
#!/bin/bash
git clone gitlab@gitlab.cs.uni-tuebingen.de:csapex/core-plugins.git plugins/core_plugins
git clone gitlab@gitlab.cs.uni-tuebingen.de:csapex/backgroundsubtraction.git plugins/background_subtraction
git clone gitlab@gitlab.cs.uni-tuebingen.de:ioc/cip104.git plugins/cip104
git clone gitlab@gitlab.cs.uni-tuebi... | cogsys-tuebingen/csapex | install_plugins.sh | Shell | bsd-3-clause | 650 |
#!/bin/sh
#
# Copyright (C) 2012 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 PROVID... | WigWagCo/node-isc-dhclient | deps/isc-dhcp/bind/bind-expanded-tar/bin/tests/system/rsabigexponent/ns2/sign.sh | Shell | isc | 1,271 |
#!/bin/bash
# https://gist.github.com/cobyism/4730490
git push
git push --tags
git subtree push --prefix dist origin gh-pages
| koodilehto/invoice-frontend | update_gh_pages.sh | Shell | mit | 126 |
#!/bin/bash
protoc --proto_path=proto --proto_path=/usr/include --go_out=. proto/cstrike15_usermessages_public.proto
| gophergala/csgo_parser | build-proto.sh | Shell | mit | 118 |
if [ $ES_DOWNLOAD_URL ]
then
wget ${ES_DOWNLOAD_URL}
tar -xzf elasticsearch-${ES_VERSION}.tar.gz
./elasticsearch-${ES_VERSION}/bin/plugin -install elasticsearch/elasticsearch-analysis-icu/2.3.0
./elasticsearch-${ES_VERSION}/bin/elasticsearch &
fi
| davidfischer/readthedocs.org | scripts/travis/install_elasticsearch.sh | Shell | mit | 263 |
#!/bin/bash -e
# TODO: cross-check this list against final ubuntu os script
# Install packages for Go
echo "================= Install packages for Go ==================="
apt-get update && apt-get install -y \
autotools-dev \
autoconf \
bison \
git \
mercurial \
cmake \
scons \
binutils
# Install gvm
echo "=... | dry-dock/u12golall | install.sh | Shell | mit | 529 |
#!/bin/bash
docker build -t dockergui --rm=true .
| hurricanehrndz/dockergui | build.sh | Shell | mit | 50 |
#!/bin/bash
###########################################################
# START SECRET DATA - ECHO DISABLED
###########################################################
# Following parameters now read from environment variable
# Fields for `azure.json`
# TENANT_ID SUBSCRIPTION_ID RESOURCE_GROUP LOCATION SUBNET
# NETWO... | shrutir25/acs-engine | parts/kubernetesmastercustomscript.sh | Shell | mit | 14,093 |
open_jtalk -m /usr/local/share/hts_voice/mei_normal.htsvoice -x /usr/local/dic -ow message.wav speak.txt
aplay message.wav
rm speak.txt message.wav
| sh4869/AVAWSW | talk.sh | Shell | mit | 149 |
#!/usr/bin/env bash
source lib.sh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# check in homebrew in installed first
if ! type brew > /dev/null ; then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew bundle install --file="${D... | whwright/dotfiles | Darwin/install.sh | Shell | mit | 334 |
#!/bin/bash -eu
if [[ $# -lt 1 ]]; then
echo "Usage: node.sh nodeType"
exit 1
fi
nodeType="$1"
shift
exec java \
`cat conf/druid/$nodeType/jvm.config | xargs` \
-cp conf/druid/_common:conf/druid/$nodeType:lib/* \
"$@" \
io.druid.cli.Main \
server \
$nodeType
| fdns/TSDB-benchmarks | dockerfiles/druid/tranquility/run.sh | Shell | mit | 278 |
#!/bin/sh
# Set the timezone. Base image does not contain the setup-timezone script, so an alternate way is used.
if [ "$CONTAINER_TIMEZONE" ]; then
cp /usr/share/zoneinfo/${CONTAINER_TIMEZONE} /etc/localtime && \
echo "${CONTAINER_TIMEZONE}" > /etc/timezone && \
echo "Container timezone set to: $CONTAINER_TIME... | venveo/docker-baseimage | alpine/php73-apache/bootstrap/start.sh | Shell | mit | 10,181 |
#!/bin/bash
php ../../vendor/bin/phpdoc.php -c dev/phpdoc/phpdoc.xml | picamator/NeoWsClient | dev/phpdoc/phpdoc.sh | Shell | mit | 69 |
#!/bin/sh
TARGET_FILE=$0
cd `dirname $TARGET_FILE`
LOC_DIR=`pwd`
sh ../lib/IfwPsn/Wp/Plugin/Cli/Executables/script.sh $LOC_DIR $@
| brasadesign/wpecotemporadas | wp-content/plugins/post-status-notifier-lite/scripts/script.sh | Shell | gpl-2.0 | 132 |
#!/bin/bash
CUR_TEST="$(dirname $0)"
BUTTERFLY_BUILD_ROOT=$1
BUTTERFLY_SRC_ROOT=$(cd "$(dirname $0)/../.." && pwd)
source $BUTTERFLY_SRC_ROOT/tests/functions.sh
network_connect 0 1
server_start 0
nic_add 0 1 42
nic_add 0 2 42 sg-1
sg_rule_add_all_open 0 sg-1
qemu_start_async 1
qemu_start_async 2
qemus_wait 2 1
ssh_co... | outscale-toa/butterfly | tests/21_firewall_all_open_udp_tcp_2VM_1BT/test.sh | Shell | gpl-3.0 | 528 |
#!/usr/bin/env sh
composer validate
#--no-check-lock
| libre-informatique/LISemSymfonyProject | bin/ci-scripts/run_lint.sh | Shell | gpl-3.0 | 54 |
#!/bin/bash
set -eu
# Run test template for explicit operators
OPER=--explicit
source "`dirname $0`/test_parallel_template.sh"
| RhysU/suzerain | apps/reacting/test_parallel_explicit.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
# TODO: 1. Move this script to the base class
# 2. add new env variables for modifying PYTHONPATH. That way the export
# below wouldn't be built to images.
set -e
# setup ros environment
source "/opt/ros/$ROS_DISTRO/setup.bash"
# For oc2mc
export PYTHONPATH=$PYTHONPATH:/oc2mc:/oc2mc/minecr... | opencog/docker | opencog/minecraft/ros_entrypoint.sh | Shell | agpl-3.0 | 342 |
#!/usr/bin/env bash
# Copyright (c) .NET Foundation and contributors. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
# Stop script if unbound variable found (use ${var:-} if intentional)
set -u
usage()
{
echo "Common settings:"
echo " --c... | jcouv/roslyn | eng/build.sh | Shell | apache-2.0 | 7,603 |
# Copyright 2016, IBM US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | open-power-ref-design/opsmgr | recipes/osa-newton/ops.sh | Shell | apache-2.0 | 721 |
#!/bin/bash
#
# This file builds all of the Javascript into a minified "hermetic" bundle.js
# file, which is written out into the same directory as this script.
#
# This script takes no arguments. See README.md for more information.
viz_path="$(readlink -f "$(dirname "$0")")"
(
cd "${viz_path}"
docker build -t dra... | hang-qi/models | syntaxnet/dragnn/viz/compile-minified.sh | Shell | apache-2.0 | 778 |
#!/bin/sh
if [ -f $1/main.c ]; then
echo "C"
exit 0
else
exit 1
fi
| CodeboxIDE/package-project | node/projects/c/detector.sh | Shell | apache-2.0 | 74 |
#!/usr/bin/env bash
# Copyright 2015 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... | DavidNorman/tensorflow | tensorflow/tools/ci_build/install/install_bazel.sh | Shell | apache-2.0 | 1,407 |
#!/bin/sh
# Copyright 2012 Cloudera Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | placrosse/ImpalaToGo | bin/start-statestore.sh | Shell | apache-2.0 | 2,276 |
#!/bin/sh
# Run this from ~Documents/wb_new/web to build and deploy the workbench web app.
SS_ROOT=~/ss_server
SS_SERVER=$SS_ROOT/ss_control
# For development builds, it's ok to kill the socketserver logger since we don't have
# running jobs that we care about that may still be logging.
$CATALINA_HOME/bin/shutdown.sh... | SciGaP/DEPRECATED-Cipres-Airavata-POC | saminda/cipres-airavata/cipres-portal/portal2/src/main/ss_server/tl2.sh | Shell | apache-2.0 | 1,877 |
#-------------------------------------------------------------------------------
# Copyright (c) 2013-2020 Contributors to the Eclipse Foundation
#
# See the NOTICE file distributed with this work for additional
# information regarding copyright ownership.
# All rights reserved. This program and the accompanying mater... | ngageoint/geowave | deploy/packaging/docker/build-rpm/fpm_scripts/gwtomcat_post_uninstall.sh | Shell | apache-2.0 | 741 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.