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/sh
# Usage: ./duplicati-make-git-snapshot.sh [COMMIT] [DATE]
#
# to make a snapshot of the given tag/branch. Defaults to HEAD.
# Point env var REF to a local duplicati repo to reduce clone time.
if [ -z $2 ]; then
DATE=`date +%Y%m%d`
else
DATE=$2
fi
DIRNAME="duplicati-$DATE"
echo REF ${REF:+--reference ... | Xervmon/XervSync | duplicati/Installer/fedora/duplicati-make-git-snapshot.sh | Shell | gpl-3.0 | 612 |
#!/bin/bash
#
# setup.sh
#
# Ensure that the packager manager's latest repository settings are up to date.
# Install the required puppet modules to provision the dataverse components.
#
# Usage: ./setup [operating system] [environment]
#
# This script will set an empty file '/opt/firstrun'
# Once there, future vagrant ... | IISH/dataverse-puppet | setup.sh | Shell | gpl-3.0 | 2,830 |
#!/bin/bash
python AnalyzeSimulation.py --paralog1 YMR142C --paralog2 YDL082W --simnum 60 > YMR142C_YDL082W_MG94_nonclock_Sim60_PrintScreen.txt
| xjw1001001/IGCexpansion | Simulation/ShFiles/MG94_YMR142C_YDL082W_sim60.sh | Shell | gpl-3.0 | 145 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=Arduino-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/triviu... | efDidymos/LightweightCryptography | StreamCiphers/Trivium-md5/nbproject/Package-Release.bash | Shell | gpl-3.0 | 1,473 |
#!/bin/sh
#
# Change the commit and/or author date of git commits.
#
# change-date [-f] commit-to-change [branch-to-rewrite [commit-date [author-date]]]
#
# If -f is supplied it is passed to "git filter-branch".
#
# If <branch-to-rewrite> is not provided or is empty HEAD will be used.
# Use "--all" or a sp... | dmikalova/scripts | git-change-date.sh | Shell | gpl-3.0 | 1,312 |
set -ex
# SET THE FOLLOWING VARIABLES
# docker hub username
USERNAME=codeforafrica
# image name
IMAGE=hurumap-apps
docker build -t $USERNAME/$IMAGE:latest .
| CodeForAfrica/WAZImap.Kenya | contrib/docker/release-build.sh | Shell | gpl-3.0 | 157 |
echo Welcome to Scott\'s environment setup script!
export HOME=$HOME
export INSTALL_DIR=$(pwd)
echo Setting gitconfig
cp ./gitconfig_default $HOME/.gitconfig
#NB: the git filter needs "conda install jq" to work
cp ./gitattributes_global $HOME/.gitattributes_global
echo Setting up dir_colors from solarized
cp ./dir_co... | scottdaniel/scotts-fortune | setup_env.sh | Shell | gpl-3.0 | 3,061 |
python3 HybridEngineController.py
| UVicRocketry/Hybrid-Test-Stand-Control | client/startclient.sh | Shell | gpl-3.0 | 34 |
#!/bin/bash
for name in $@;
do
convert images/$name.jpg -colorspace gray \
\( +clone -tile pencil_tile.gif -draw "color 0,0 reset" \
+clone +swap -compose color_dodge -composite \) \
-fx 'u*.2+v*.8' images/"$name"_out.jpg;
done
| LVNCELOT/drawme | scripts/sketch.sh | Shell | gpl-3.0 | 318 |
#!/bin/sh
#
# This file is protected by Copyright. Please refer to the COPYRIGHT file
# distributed with this source distribution.
#
# This file is part of GNUHAWK.
#
# GNUHAWK is free software: you can redistribute it and/or modify is under the
# terms of the GNU General Public License as published by the Free Sof... | RedhawkSDR/integration-gnuhawk | components/regenerate_bb/build.sh | Shell | gpl-3.0 | 1,556 |
#!/bin/bash
# List policy types: Searching for "AttributeName": "ProxyProtocol",
aws elb describe-load-balancer-policy-types
# List elb load-balancer
aws elb describe-load-balancers
# aws elb describe-load-balancers --output table --query 'LoadBalancerDescriptions[*].LoadBalancerName'
aws elb create-load-balancer-p... | iceflow/aws-demo | cli/scripts/elb_tcp_proxy.sh | Shell | gpl-3.0 | 1,201 |
#! /bin/bash
cmake -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx -DSKYLAKE=1 -DSLURM=1 -DSLURMTESTTHREADS=8 -DCMAKE_BUILD_TYPE=Release $@
| Slaedr/FVENS | scripts/build_slurm_skl.sh | Shell | gpl-3.0 | 146 |
#!/bin/bash
echo "m2s --x86-config 1-cpu-config --mem-config 1-mem-config --x86-report report.pipeline --mem-report report.mem --x86-sim detailed smithwaterman-test"
m2s --x86-config 1-cpu-config --mem-config 1-mem-config --x86-report report.pipeline --mem-report report.mem --x86-sim detailed smithwaterman-test
| Peilong/multi2sim-4.0-hc | C_Code/smithwaterman/run.bash | Shell | gpl-3.0 | 314 |
# modified from https://github.com/trevorstephens/gplearn
# This script is meant to be called by the "install" step defined in
# .travis.yml. See http://docs.travis-ci.com/ for more details.
# The behavior of the script is controlled by environment variabled defined
# in the .travis.yml in the top level folder of the ... | pronojitsaha/tpot | ci/.travis_test.sh | Shell | gpl-3.0 | 998 |
#!/bin/bash
python RunBootstrap.py --paralog1 YMR142C --paralog2 YDL082W --bootnum 46 > YMR142C_YDL082W_Boot46_PrintScreen.txt
| xjw1001001/IGCexpansion | Bootstrap/ShFiles/MG94_YMR142C_YDL082W_Boot46.sh | Shell | gpl-3.0 | 128 |
#!/bin/bash
export PYTHONPATH="$PYTHONPATH:$PWD"
exec -a eggy python bin/eggy
| pombreda/eggy | eggy.sh | Shell | gpl-3.0 | 80 |
#!/bin/sh
res1=$(date +%s.%N)
aopt=false
bopt=false
copt=false
dopt=false
eopt=false
fopt=false
gopt=false
hopt=true
while getopts 'abcdefg' opt; do
case "$opt" in
a)
hopt=false
aopt=true ;;
b)
hopt=false
bopt=true ;;
c)
hopt=false
copt=true ;;
e)
hopt=false
eopt=true ;;
f)
hopt=false
fopt=... | mzk/olvi.cz | runtests.sh | Shell | gpl-3.0 | 2,229 |
#!/bin/sh
#
#
# Filename: generate_release_archives.sh
#
if [ -z "$CS_VERSION" ] ; then
echo "CS_VERSION env var not set."
exit
fi
if [ -z "$PACK_FULL" ] ; then
echo "PACK_FULL env var not set."
exit
fi
#
# If archives for the version being created already exist. Delete them.
#
if [ -e "$PACK_FULL-src-$CS_VE... | philswyett/crystal_release | sub_scripts/generate_release_archives.sh | Shell | gpl-3.0 | 1,208 |
#!/bin/sh
#
# Vivado(TM)
# runme.sh: a Vivado-generated Runs Script for UNIX
# Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.
#
echo "This script was generated under a different operating system."
echo "Please update the PATH and LD_LIBRARY_PATH variables below, before executing this script"
exit
if [ -z "$... | hsnuonly/PikachuVolleyFPGA | VGA.runs/bg_mid_synth_1/runme.sh | Shell | gpl-3.0 | 1,090 |
#!/bin/sh
# This file is part of remotecp-plugin-restart
PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin"
if [ "$1" != "tmfserver" ] && [ "$1" != "rcplive" ]; then
echo "Unknown service" >&2
exit 150
fi
if [ "$2" != "start" ] && [ "$2" != "restart" ] && [ "$2" != "stop" ] && [ "$2" != "status" ]... | Marco01809/remotecp-plugin-restart | userrestart.sh | Shell | gpl-3.0 | 389 |
#!/bin/sh
# Restart already running Hockey Oracle within screen session
screen -S fileworthy -X stuff '(fileworthy:stop-app)^M'
screen -S fileworthy -X stuff '(exit)^M'
screen -S fileworthy -X stuff 'sbcl --load restart.lisp^M'
| thiru/fileworthy | restart.sh | Shell | gpl-3.0 | 230 |
#!/bin/bash
#This is a Comment
echo "What is your name?"
read name
echo "What is your sibling's name?"
read sibling
clear #clears the screen
echo "Hello $name."
echo "I hope $sibling is doing well."
| metalx1000/waldenx | bash/01_hello.sh | Shell | gpl-3.0 | 203 |
if [ ! -f "config.xml" ]; then
echo "Using default project..."
./set-project.sh default
fi
echo "Installing plugins..."
./install-plugins.sh
echo "Adding browser platform..."
cordova platform add browser
echo "Adding Android platform..."
cordova platform add android
# The local notifications plugin needs to... | nzilbb/elicitspeechweb | cordova/setup.sh | Shell | gpl-3.0 | 1,375 |
rm -rf src/adjustBox/build
mkdir src/adjustBox/build
cd src/adjustBox/build
cmake . ..
make
cd ../../..
rm -rf src/rec3D/build
mkdir src/rec3D/build
cd src/rec3D/build
cmake . ..
make
cd ../../..
rm -rf src/marchingCubes/build
mkdir src/marchingCubes/build
cd src/marchingCubes/build
cmake . ..
make
cd ../../..
rm -r... | rogermm14/rec3D | INSTALL.sh | Shell | agpl-3.0 | 728 |
#!/bin/bash
PATH=$PATH:/project/joshuaelliott/ggcmi/utils
indir=/project/ggcmi/AgMIP.input/other.inputs/reference
for r in ray iizumi; do
if [ $r = ray ]; then
yrs=1961-2008
else
yrs=1982-2006
fi
for a in gadm0 fpu kg global; do
for w in mirca ray iizumi spam; do
if [ $w = mirc... | RDCEP/ggcmi | bin/detrend.reference/detrendref.sh | Shell | agpl-3.0 | 760 |
#!/bin/sh
# test_pamcmds.sh - test script to start test_pamcmds.expect
#
# Copyright (C) 2011 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the... | silkentrance/nss-pam-ldap | tests/test_pamcmds.sh | Shell | lgpl-2.1 | 1,214 |
#! /bin/bash
id=${1:-csss_exp1}
year=${2:-2015}
month=${3:-10}
tr=${4:-2077}
./target/universal/stage/bin/plasmaml ./helios/scripts/csss_job.sc --csss_job_id $id --test_year $year --test_month $month --test_rotation $tr
| transcendent-ai-labs/PlasmaML | helios/scripts/csss_job.sh | Shell | lgpl-2.1 | 225 |
#!/bin/sh
curdir=$(cd "${0%/*}" 2>/dev/null; echo "$PWD")
cd $curdir/admin
tar cf - --exclude=swp . | (cd ../../../../administrator/components/com_prenotown; tar xf -)
cp it-IT.com_prenotown*ini ../../../../administrator/language/it-IT/
cp en-GB.com_prenotown*ini ../../../../administrator/language/en-GB/
cd ..
tar cf... | andrea-novara/prenotown | com_prenotown/install.sh | Shell | lgpl-2.1 | 677 |
#!/bin/sh
xcursorgen left_ptr_watch.in ../../../Hawaii/cursors/left_ptr_watch
#xcursorgen hand1.in ../../../Hawaii/cursors/hand1
xcursorgen hand2.in ../../../Hawaii/cursors/hand2
xcursorgen left_ptr.in ../../../Hawaii/cursors/left_ptr
#xcursorgen center_ptr.in ../../../Hawaii/cursors/center_ptr
xcursorgen xterm.in ../.... | hawaii-desktop/hawaii-icon-theme | src/cursors/pngs/make.sh | Shell | lgpl-3.0 | 6,735 |
#!/bin/bash
set -x -e -o pipefail
apt-get update
apt-get install -y curl apt-transport-https \
ssl-cert ca-certificates gnupg lsb-release git
apt-get upgrade -y
echo "deb https://dl.bintray.com/wand/general $(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/wand.list
curl --silent "https://bintray.com/u... | alistairking/wandio | run-tests.sh | Shell | lgpl-3.0 | 1,024 |
#!bash
#
# nvm setup.
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
| igetgames/dotfiles | bash/init.d/nvm.bash | Shell | unlicense | 220 |
#!/bin/bash
set -e
[[ -n "$DEBUG" ]] && set -x
# if [ "$(ls -A /usr/local/share/ca-certificates)" ]; then
# cat /usr/local/share/ca-certificates/* >> /etc/ssl/certs/ca-certificates.crt
# fi
/bin/mantl-api $@
| CiscoCloud/mantl-api | launch.sh | Shell | apache-2.0 | 215 |
#!/bin/bash
##########
#
# WARNING iptables changes won't survive a server restart and so this script must be run
# by command script(s) invoked by init when the system starts up.
#
# @see rc_local_setup.sh and its accompanying rc.local script
#
##########
# --numeric|-n
# --tcp|-t
# --listening|-l
netstat -ntl
# ... | nicodewet/new-ubuntu-server | src/subscript/port8080_to_80_redirect.sh | Shell | apache-2.0 | 2,229 |
#!/bin/bash
# resolve currentDirectory even if symlink
source="${BASH_SOURCE[0]}"
while [ -h "$source" ]; do # resolve $source until the file is no longer a symlink
currentDirectory="$( cd -P "$( dirname "$source" )" && pwd )"
source="$(readlink "$source")"
[[ $source != /* ]] && source="$currentDirectory/... | to-kra/dotfiles | bin/sshCopyId_rtps.sh | Shell | apache-2.0 | 1,412 |
#!/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 ... | devimc/tests | metrics/run_all_metrics.sh | Shell | apache-2.0 | 4,324 |
#!/bin/sh
cmake .. \
-DLIEF_DOC=off \
-DLIEF_PYTHON_API=off \
-DLIEF_EXAMPLES=on \
-DLIEF_C_API=on \
-DLIEF_LOGGING=off \
-DLIEF_ASAN=on \
-CMAKE_CXX_COM... | lief-project/LIEF | scripts/cmake-config/lief-asan.sh | Shell | apache-2.0 | 424 |
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
#set( $symbol_bash = '${BASH_SOURCE[0]}' )
#!/bin/bash
#
# Copyright 2015 Delft University of Technology
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Lic... | tudelft-atlarge/graphalytics | graphalytics-platforms-default-archetype/src/main/resources/archetype-resources/bin/sh/execute-job.sh | Shell | apache-2.0 | 3,321 |
# !/bin/bash
#
# Copyright 2018 Stuart Scott
#
# 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 ... | stuartmscott/Match | Match.sh | Shell | apache-2.0 | 596 |
#!/bin/bash
# This file is licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Returns the current submodule revision used for LLVM.
set -e
set -o pipefail
ROOT_DIR="$(git rev-parse --sho... | google/llvm-bazel | scripts/get_llvm_commit.sh | Shell | apache-2.0 | 461 |
docker run -d -p 27017:27017 --name yaframongo --volumes-from yafradata yafraorg/docker-yafradb:mongodb
#docker run --rm -t -p 27017:27017 --name yaframongo --volumes-from yafradata -i yafraorg/docker-yafradb:mongodb /bin/bash
| yafraorg/yafra | org.yafra.sysadm/shellscripts/run-yafra-mongodb.sh | Shell | apache-2.0 | 227 |
#!/bin/bash
function load_image() {
local node=$1
docker cp ./calico-node.tar ${node}:/calico-node.tar
docker cp ./calico-apiserver.tar ${node}:/calico-apiserver.tar
docker cp ./calicoctl.tar ${node}:/calicoctl.tar
docker cp ./calico-cni.tar ${node}:/calico-cni.tar
docker cp ./pod2daemon.tar ${... | projectcalico/calico | node/tests/k8st/load_images_on_kind_cluster.sh | Shell | apache-2.0 | 1,089 |
#!/bin/bash
# now modify sudoers configuration to allow execution without tty
grep -i ubuntu /proc/version > /dev/null
if [ "$?" -eq "0" ]; then
# ubuntu
echo Running on Ubuntu
if sudo grep -q -E '[^!]requiretty' /etc/sudoers; then
echo creating sudoers user file
echo "Defaults:`whoami` !req... | geokala/cloudify-agent | cloudify_agent/resources/disable-requiretty.sh | Shell | apache-2.0 | 859 |
#!/bin/bash -xe
#
# 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
# d... | gongysh2004/openstack-manual | tools/copy-to-branch.sh | Shell | apache-2.0 | 1,093 |
#!/bin/bash
/elasticsearch/bin/elasticsearch
| n-k/dockerfiles | fedora-20-elasticsearch-jboss/run-es.sh | Shell | apache-2.0 | 46 |
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/..
for x in `find . -type d -depth 1 | egrep -v zips`;
do
echo $x;
ZIPNAME="$DIR/"`basename $x`".zip";
echo $ZIPNAME
cd $DIR/../$x
zip -r $ZIPNAME .
done
| nagoodman/gr8bi_extras | examples/zips/zip_examples.sh | Shell | apache-2.0 | 244 |
#!/usr/bin/env bash
echo "**********************************************"
echo "PARAMS FROM UPSTREAM:"
echo ""
echo "PUPPETDB_BRANCH: ${PUPPETDB_BRANCH}"
echo "LEIN_PROJECT_VERSION: ${LEIN_PROJECT_VERSION}"
echo "GEM_SOURCE: ${GEM_SOURCE}"
echo "SHIP_NIGHTLY: ${SHIP_NIGHTLY}"
echo "REPO_URL: ${REPO_URL}"
echo "*******... | wkalt/puppetdb | ext/jenkins/packaging.sh | Shell | apache-2.0 | 2,224 |
#!/usr/bin/env bash
# Install ssh
# The following packages should be installed :
# ncurses-term openssh-client openssh-sftp-server ssh-import-id
apt-get -y install openssh-server
# nomachine
# The following packages should be installed :
# git git-man liberror-perl
wget http://download.nomachine.com/download/5.... | simchanu29/Raspberry-INSTALL-SCRIPTS | install_scripts_indiv/install-remote_control.sh | Shell | apache-2.0 | 394 |
#!/bin/bash
set -e
PUBS=`pwd`/provers/pubs_static
EXAMPLE_FILE=`pwd`/$1
TIME_FILE=`pwd`/$2
STDOUT_FILE=$(echo "${TIME_FILE}" | sed -e 's/.time$/.stdout.txt/')
STDERR_FILE=$(echo "${TIME_FILE}" | sed -e 's/.time$/.stderr.txt/')
INPUT_FILE=$(echo "${TIME_FILE}" | sed -e 's/.time$/.input.txt/')
TEMPDIR=$(mktemp -d)
cd "... | s-falke/kittel-koat | koat-evaluation/bin/PUBS-wrapper.sh | Shell | apache-2.0 | 495 |
java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 \
-classpath ./druid-services-0.5.39-SNAPSHOT-selfcontained.jar:config/master \
com.metamx.druid.http.MasterMain
| jfmwz/storm-example | Chapter08/druid/master.sh | Shell | apache-2.0 | 169 |
#!/bin/bash
# Give the JEE Discovery Directory a chance to start ...
sleep 30
function wait_for_endpoint {
retry_count=0
max_retries=60
until curl -f -s http://localhost:8080/sit-jee-app/consumer/ping || ((retry_count++ > max_retries))
do
echo "Consumer ping not started yet ..."
sleep 2
done
if (( retry_cou... | clive-jevons/joynr | tests/system-integration-test/docker/sit-jee-app/start-me-up.sh | Shell | apache-2.0 | 701 |
PCTB003B >PCTB003B.log
more PCTB003B.log
| Martinfx/DBPRE | Cobol/PCTB003B.sh | Shell | apache-2.0 | 41 |
# Copyright 2022 The Google Research 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 or agree... | google-research/google-research | hitnet/predict_eth.sh | Shell | apache-2.0 | 1,518 |
Run options: --seed 52969
# Running:
..
Finished in 0.000582s, 3435.1925 runs/s, 5152.7888 assertions/s.
2 runs, 3 assertions, 0 failures, 0 errors, 0 skips
| gregdaynes/after.coffee | src/_posts/_getting-started-with-minitest/bash_rake_task_output.sh | Shell | apache-2.0 | 161 |
#!/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... | sslavic/kafka | bin/kafka-server-stop.sh | Shell | apache-2.0 | 1,215 |
#!/bin/bash
###
### Bootstrap environment check
###
if [ "$A2O_REPO_URI" == "" ]; then
echo "Hint: export A2O_REPO_URI='http://source.a2o.si/git/puppet-modules-a2o-essential/raw/master'"
echo "ERROR: a2o Repository URI not specified."
exit 1
fi
if [ "$WORK_DIR" == "" ]; then
echo "Hint: export WORK... | a2o/puppet-modules-a2o-essential | bootstrap/os/slackware64/scripts/in-chroot/install-wget.sh | Shell | apache-2.0 | 1,803 |
#! /usr/bin/env bash
# Written by Sim Young-Bo, mobileconvergence lab. Kyung Hee Univ.
source opnfv.config
# Create Bridge
function configure_br() {
ovs-vsctl add-br $OPNFV_BR_PRIV
ovs-vsctl add-br $OPNFV_BR_PUB
}
function configure_rt() {
if [ "$JUMP_MASTER" -eq "1" ]; then
ifconfig $OPNFV_BR_P... | MobileConvergenceLab/opnfv_on_vm | opnfv_net.sh | Shell | apache-2.0 | 1,251 |
#!/bin/bash
set -euo pipefail
if [ -n "${CIRCLE_ARTIFACTS-}" ]; then
outdir="${CIRCLE_ARTIFACTS}"
elif [ -n "${TMPDIR-}" ]; then
outdir="${TMPDIR}"
else
outdir=""
fi
builder=$(dirname $0)/builder.sh
match='^panic|^[Gg]oroutine \d+|(read|write) by.*goroutine|DATA RACE'
prepare_artifacts() {
ret=$?
# Trans... | arypurnomoz/cockroach | build/circle-test.sh | Shell | apache-2.0 | 4,663 |
#!/bin/bash
#*****************************************************************************
#* *
#* Copyright FUJITSU LIMITED 2021 *
#* ... | servicecatalog/oscm-dockerbuild | oscm-scripts/oscm-on-azure-vm/app-registration/def/user.sh | Shell | apache-2.0 | 2,569 |
#!/bin/bash
set -o nounset
set -o errexit
#setup database settings
docker exec consul curl -s -X PUT -d '{"host":"mysql_server","username":"root","password":"mypass","jdbc":"jdbc:mysql://mysql_server:3306/movielens?characterEncoding=utf8&user=root&password=mypass"}' 'http://localhost:8500/v1/kv/seldon/movielens/db_re... | SeldonIO/seldon-vm | dist/consul/setup-dbs.sh | Shell | apache-2.0 | 3,576 |
#!/bin/bash
# Given a pom with a version of X.Y-SNAPSHOT the result after this script is run should be
# * master is a copy of the current commit with the version X.Y
# * develop has the version X.(Y+1)-SNAPSHOT
set -e
[[ -n "$GIT_AUTHOR_NAME" ]] && git config user.name $GIT_AUTHOR_NAME
[[ -n "$GIT_AUTHOR_EMAIL"... | lstephen/basepom | construi/release/run.sh | Shell | apache-2.0 | 1,413 |
#!/bin/bash
set -e
set -x
export HOME=/root
export TEMP_DIR=/root/tmp
# Install nvm
mkdir -p /opt/nvm
export NVM_DIR=/opt/nvm
curl https://raw.githubusercontent.com/creationix/nvm/v0.24.1/install.sh | bash
# TODO: rethink this
chown mop:mop /opt/nvm/nvm.sh
chmod g-w /opt/nvm/nvm.sh
npm install -g get-version
| onmodulus/docker-run-node | bootstrap.sh | Shell | apache-2.0 | 314 |
cd ~/kafka/
# start zookeeper
bin/zookeeper-server-start.sh -daemon config/zookeeper.properties
# start kafka
bin/kafka-server-start.sh -daemon config/server.properties
# wait 2 seconds for the server to start and be able to add partitions
sleep 2s
# add topics
bin/kafka-topics.sh --create --topic "topic.OdeBsmPojo" --... | usdot-jpo-ode/jpo-ode | .devcontainer/post-create.sh | Shell | apache-2.0 | 2,056 |
#!/bin/bash
# Create a consumer for JSON data, starting at the beginning of the topic's log
docker-compose exec rest-proxy curl -X POST \
-H "Content-Type: application/vnd.kafka.v2+json" \
--data '{"name": "ci1", "format": "json", "auto.offset.reset": "earliest"}' \
http://localhost:8082/consumers/cg1... | confluentinc/examples | clients/cloud/rest-proxy/consume.sh | Shell | apache-2.0 | 1,330 |
#!/bin/sh
# HadoopIlluminated script
mvn assembly:single
hadoop jar \
/usr/lib/hadoop-0.20/contrib/streaming/hadoop-streaming-0.20.2-cdh3u3.jar \
-libjars target/HadoopIlluminated-1.0-SNAPSHOT-jar-with-dependencies.jar \
-input /test-data/ch1/moby-dick.txt \
-output /test-output/ch1 \
-mapper com.hadoopilluminated.ch01... | elephantscale/hadoop-book | run_streaming.sh | Shell | apache-2.0 | 383 |
#!/bin/bash
if [ -z "$ROOT" ]
then
ROOT=$(while ! test -e env.sh.sample; do cd ..; done; pwd)
export ROOT
fi
. $ROOT/env.sh:
START_FOLDER=$PWD
mkdir -p $IDS_FOLDER
echo
echo "*********************************"
echo servIoTicy final demo tester
echo "Retrieve most recent sensor update (lastUpdate)"
echo "*... | servioticy/servioticy-demo | wearables/retrieve_last_updates.sh | Shell | apache-2.0 | 628 |
#!/bin/bash -e
# erik reed
pop=10
mappers=2
reducers=2
net=asia
SAMPLES=1000000
HIDDEN=rand
rm -rf dat/{in,out} in out
./scripts/init.sh dat/bnets/$net.net $SAMPLES $HIDDEN
echo $net: pop=$pop, mappers=$mappers
/usr/bin/time ./scripts/mr_streaming.sh dat/in -u $mappers $reducers $pop
rm -rf dat/{in,out} in out
| erikreed/HadoopBNEM | mapreduce/tests/test-large-samples.sh | Shell | bsd-2-clause | 317 |
#!/usr/bin/env bash
# auto sudo su
if [ -z "$(cat /home/vagrant/.bashrc | grep 'sudo su')" ]; then
echo "sudo su" >> /home/vagrant/.bashrc
fi
# force docker to start
sed -i "s/exit 0//" /etc/rc.local
if [ -z "$(cat /etc/rc.local | grep 'docker restart')" ]; then
echo "service docker restart" >> /etc/rc.local... | mhmxs/vagrant-host-hadoop-cassadra-cluster | common.sh | Shell | bsd-2-clause | 1,212 |
#!/bin/bash
cd $2
experiment_config=$1
./visodom -c ~/Projects/cv-stereo/config_files/config_kitti_11.txt -e $experiment_config
./visodom -c ~/Projects/cv-stereo/config_files/config_kitti_12.txt -e $experiment_config
./visodom -c ~/Projects/cv-stereo/config_files/config_kitti_13.txt -e $experiment_config
./visodom -c... | ivankreso/stereo-vision | scripts/egomotion_kitti_eval/old/run_kitti_evaluation_test.sh | Shell | bsd-3-clause | 1,021 |
#!/bin/bash
# To install requirements:
# pip install tox pytest pytest-pep8 pytest-cov
py.test --ignore=build --pep8 -v --cov=clitools --cov-report=term-missing --doctest-modules clitools "$@"
| rshk/clitools | run-tests.sh | Shell | bsd-3-clause | 195 |
#!/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... | cullaboration/userhook-sdk-ios | Example/Pods/Target Support Files/Pods-UserHook_Tests/Pods-UserHook_Tests-frameworks.sh | Shell | bsd-3-clause | 3,885 |
p=( ", yeah!" ", this is crazy, I tell ya." ", can U believe this?" ", eh?" ", aw yea." ", yo." "? No way!" ". Awesome!" )
l=false
c=0
while read -r line || [ -n "$line" ]; do
for ((i=0; i<${#line}; i++)); do
if [ "${line:$i:1}" == '.' ] || [ "${line:$i:1}" == '!' ] || [ "${line:$i:1}" == '?' ]; then
if $l... | nikai3d/ce-challenges | easy/slang_flavor.bash | Shell | bsd-3-clause | 525 |
#!/bin/bash
files=(
# Koza_1
# Koza_2
# Koza_3
Nguyen_01
# Nguyen_02
# Nguyen_03
# Nguyen_04
# Nguyen_05
# Nguyen_06
# Nguyen_07
# Nguyen_08
# Nguyen_09
# Nguyen_10
# Nguyen_11
# Nguyen_12
# Korns_01
# Korns_02
# Korns_03
# Korns_04
# Korns_05
# Korns_06
# Korns_07
# Korns_08
# Korns_09
# K... | verdverm/go-pge | scripts/test.sh | Shell | bsd-3-clause | 1,905 |
#!/bin/bash
export PYTHONPATH=.
./runauto_nag_common.sh
. venv/bin/activate
# force the update of dependencies
pip install -r requirements.txt
# Clean the log files
python -m auto_nag.log --clean
# Not up-to-date release date
# Daily
python -m auto_nag.next_release
# Send a todo list to set priority
# Daily
pyth... | mozilla/relman-auto-nag | runauto_nag_daily.sh | Shell | bsd-3-clause | 4,505 |
RUNS=50
# Disk virtual
./disk_artifacts.py -T 2 -p WinXPSP3x86 -i virbr0 -m WinXPSP3 -o disk_virtual_with_sensor -S -r $RUNS
./disk_artifacts.py -T 2 -p WinXPSP3x86 -i virbr0 -m WinXPSP3 -o disk_virtual_without_sensor -r $RUNS
# Disk physical
./disk_artifacts.py -T 0 -p WinXPSP3x86 -i eth3 -m Dell -o disk_physical_w... | mit-ll/LO-PHI | experiments/artifacts/disk/run_tests.sh | Shell | bsd-3-clause | 443 |
#!/usr/bin/env bash
# Copyright (c) 2018, University of Kaiserslautern
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# 1. Redistributions of source code must retain the above copyright noti... | tukl-msd/gem5.TnT | arch/arm/run_arm_fs_stride.sh | Shell | bsd-3-clause | 3,916 |
# Need to pass the -b option to indicate that we want to build
cythonize -b taxcode.pyx
| tleonhardt/LearningCython | Learning_Cython_video/Chapter03/tax_tests/build_cython.sh | Shell | mit | 88 |
#!/usr/bin/env sh
#
# Simply unit tests for borgcron starter, using no borg or fake borg binaries.
# Required envorimental variables:
# * $PATH set to include custom binary path
# * $TEST_SHELL
#
# LICENSE: MIT license, see LICENSE.md
#
CURRDIR=$( dirname "$0" )
# shellcheck source=./common.sh
. "$CURRDIR/common.sh"
... | rugk/borg-cron-helper | tests/unitTests/borgcronStarter.sh | Shell | mit | 7,916 |
fuseki-server --file dataset-simple.ttl /data | weso/wiExtract | testbed/run_fuseki.sh | Shell | mit | 45 |
/home3/redwards/opt/iq-tree/current/bin/iqtree -nt 16 -s seqs.A.rc.trim.aln
| linsalrob/crAssphage | Metagenomes/Strains/Analysis/PrimerA/iqtree.sh | Shell | mit | 78 |
#!/bin/bash
##########################################################################
# This script executes commands to remove Xonotic third-party repository
# @author César Rodríguez González
# @version 1.3, 2016-10-10
# @license MIT
##########################################################################
# Check... | cesar-rgon/linux-app-installer | uninstall/ubuntu/Xonotic.sh | Shell | mit | 988 |
#!/bin/sh
# This do not shows up in coverage report
echo "foo from sh"
| vlajos/kcov | tests/bash/sh-shebang.sh | Shell | gpl-2.0 | 72 |
#!/bin/sh
#
# gst-libav autogen.sh
#
# Run this to generate all the initial makefiles, etc.
#
# This file has been generated from common/autogen.sh.in via common/update-autogen
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd "$srcdir"
DIE=0
package=gst-libav
srcfile=gst-liba... | freedesktop-unofficial-mirror/gstreamer__gst-ffmpeg | autogen.sh | Shell | gpl-2.0 | 2,793 |
# (c) 2014-2015 Sam Nazarko
# email@samnazarko.co.uk
#!/bin/bash
. ../../scripts/common.sh
function build_fs_image()
{
echo -e "Downloading latest filesystem for RBP Version ${1}"
date=$(date +%Y%m%d)
count=150
while [ $count -gt 0 ]; do wget --spider -q ${DOWNLOAD_URL}/filesystems/osmc-${1}-filesystem-${date}.t... | osmc/osmc | installer/noobs/build.sh | Shell | gpl-2.0 | 1,669 |
# This script looks for source files not present in object lists
[ -s configure.ac ] || exit 1
echo "Looking for orphan files"
echo "------------------------"
echo ""
for d in src/[0-9]*
do
orphans=""
echo -n "Directory $d:"
cd ${d} > /dev/null
for f in `ls *.f *.F90 2> /dev/null`
do
file_lists="obje... | qsnake/abinit | util/source/check-orphans.sh | Shell | gpl-3.0 | 535 |
timeout_set 45 seconds
CHUNKSERVERS=4 \
DISK_PER_CHUNKSERVER=1 \
MOUNT_EXTRA_CONFIG="mfscachemode=NEVER" \
USE_RAMDISK=YES \
setup_local_empty_lizardfs info
dir="${info[mount0]}/dir"
mkdir "$dir"
lizardfs setgoal xor3 "$dir"
FILE_SIZE=6M file-generate "$dir/file"
# Corrupt data in part 1 of the chunk
csid=$(find... | lizardfs/lizardfs | tests/test_suites/SanityChecks/test_xor_read_part_1_corrupted.sh | Shell | gpl-3.0 | 646 |
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution ... | petrockblog/RetroPie-Setup | scriptmodules/supplementary/bashwelcometweak.sh | Shell | gpl-3.0 | 5,064 |
jar -uvf ../installerbuild/ide/modules/org-netbeans-modules-editor-lib2.jar org/netbeans/modules/editor/lib2/document/ReadWriteUtils.class | vnkmr7620/kojo | gettext_patch/dopatch.sh | Shell | gpl-3.0 | 138 |
#!/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... | dymx101/NiuBiBookCity | NiuBiBookCity/Pods/Target Support Files/Pods-NiuBiBookCityTests/Pods-NiuBiBookCityTests-frameworks.sh | Shell | gpl-3.0 | 3,871 |
#!/bin/sh
#
# Copyright (C) 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/.
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
... | pecharmin/bind9 | bin/tests/system/tsig/setup.sh | Shell | mpl-2.0 | 380 |
#!/bin/sh
start() {
exec /home/ubuntu/mles/mles-rs/mles-client/target/release/mles-client 127.0.0.1 --use-websockets
}
stop() {
exec sudo killall mles-client
}
case $1 in
start|stop) "$1" ;;
esac
| jq-rs/mles-rs | utils/mles-client-manage.sh | Shell | mpl-2.0 | 207 |
#!/usr/bin/env bash
#####
## COPYRIGHT © ITAMETIS - TOUS DROITS RÉSERVÉS
## Pour plus d'information veuillez contacter : copyright@itametis.com
#####
#####
## Determines whether or not the "$1" parameter contains the "$2" pattern. Returns true if it's the case, false
## otherwise.
##
## Usage : result=`STRING_contains... | itametis/bbtools | samples/bash-project/target/test/lib_string.sh | Shell | agpl-3.0 | 779 |
#!/usr/bin/env bash
APPNAME="auction"
# find voltdb binaries in either installation or distribution directory.
if [ -n "$(which voltdb 2> /dev/null)" ]; then
VOLTDB_BIN=$(dirname "$(which voltdb)")
else
VOLTDB_BIN="$(pwd)/../../../bin"
fi
# installation layout has all libraries in $VOLTDB_ROOT/lib/voltdb
if [... | zheguang/voltdb | doc/tutorials/auction/run.sh | Shell | agpl-3.0 | 2,905 |
#!/bin/bash
result=0
echo "################ canvas_ext ################"
echo "################ Running tests against Rails 2 ################"
export CANVAS_RAILS3=0
bundle check || bundle install
bundle exec rspec spec
let result=$result+$?
echo "################ Running tests against Rails 3 ################"
rm -... | Unow/canvas-lms | gems/canvas_ext/test.sh | Shell | agpl-3.0 | 521 |
dir=`dirname "$0"`
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java -d64 -Xmx4000M -Xss2m -Djava.library.path=lib -Djri.ignore.ule="yes" -cp "$dir" mesquite.Mesquite
#increase the numbers above to enable more than 500M total and 2M per thread for the stack. The latter enables larger trees, e.g. ... | daisieh/MesquiteCore | Additional Files/Mesquite_Start_Script java 1.7.command | Shell | lgpl-3.0 | 431 |
#!/bin/sh -eux
debian_version="`lsb_release -r | awk '{print $2}'`";
major_version="`echo $debian_version | awk -F. '{print $1}'`";
if [ "$major_version" -le "8" ]; then
echo "Disabling automatic udev rules for network interfaces in Debian"
# Disable automatic udev rules for network interfaces in Ubuntu,
# sou... | Oefenweb/bento | scripts/debian/networking.sh | Shell | apache-2.0 | 676 |
#!/bin/bash
AR=access-request1
ARMAC=aa:bb:cc:dd:ee:ff
ARIP=10.0.0.1
PDP=pdp1
USER=Bob
export IFMAP_USER=test
export IFMAP_PASS=test
# create PDP
java -jar ar-ip.jar update $AR $ARIP
java -jar ar-mac.jar update $AR $ARMAC
java -jar auth-by.jar update $AR $PDP
java -jar auth-as.jar update $AR $USER
# device-characteri... | trustathsh/irondetect | src/main/templates/scripts/01trust-create-ar-and-pdp.sh | Shell | apache-2.0 | 338 |
#!/bin/bash
PKG_ROOT=$1
PKG_PKGOUT=$2
PKG_REPO=$3
PKG_NAME="syndicate-UG"
PKG_VERSION="0.$(date +%Y\%m\%d\%H\%M\%S)"
PKG_BUILD=$PKG_ROOT/out/syndicate-UG
PKG_INSTALL=$PKG_ROOT/out/syndicate-UG/usr/local
PKG_DEPS="openssl curl uriparser protobuf fuse libsyndicate"
DEPARGS=""
for pkg in $PKG_DEPS; do
DEPARGS="$DEP... | jcnelson/syndicate | pkg/scripts/syndicate-UG.sh | Shell | apache-2.0 | 809 |
#!/usr/bin/env bash
set -o errexit -o nounset
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
source "$TOP_DIR/config/paths"
source "$LIB_DIR/functions.guest"
indicate_current_auto
exec_logfile
# At this point in the cluster build, we just rebooted the compute VM to take
# a snapshot, and we are about to reboot the contro... | harrisonfeng/training-guides | labs/scripts/shutdown_controller.sh | Shell | apache-2.0 | 1,090 |
#!/bin/bash
# This script will iterate through the webinos platform and run all unit tests
# If an argument is specified, then only whitelisted tests will be executed,
# otherwise, all tests will be executed
# Assumptions:
# 1. jasmine is being used for the tests
# 2. all the specs are found in tests/jasmine
# 3. jas... | krishnabangalore/Webinos-Platform | tools/travis/unit-tests.sh | Shell | apache-2.0 | 4,215 |
#/bin/bash
# Copyright (C) 2010-2012 Max Planck Society
until [ -z $1 ] ; do
if [ $# != 1 ];
then
echo -n "'$1', "
else
echo -n "'$1'"
fi
shift
done
| vipints/oqtans | oqtans_tools/DESeq/1.12/bin/genarglist.sh | Shell | bsd-3-clause | 159 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.