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 -e
. ../lfs.comm
make_check() {
set +e
# Now the test suite is ready to be run. First, run the tests that
# are meant to be run as user root:
make NON_ROOT_USERNAME=nobody check-root
# We're going to run the remainder of the tests as the tests as the
# nobody useer. Certain tes... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/lfs-8.4-systemd/2-build-final-system/47-Coreutils.sh | Shell | gpl-3.0 | 2,306 |
bundle exec jekyll serve --watch --drafts --host=127.0.0.1
| nazuke/SEOMacroscope | docs/jekyll-drafts.sh | Shell | gpl-3.0 | 59 |
#!/bin/bash
# Check if command exists
function comex {
which $1 >/dev/null 2>&1
}
export -f comex
| fusion809/atom-installer | lib/test.sh | Shell | gpl-3.0 | 102 |
#!/bin/bash
for (( i=1; i<=18; i++ ))
do
# ./test image/l$i.png right.jpeg
for (( j=1; j<=18; j++ ))
do
# echo l$i.png r$j.png
./test2 image/r$i.png image/l$j.png
done
done
| jiguanglizipao/DIP_E1 | run.sh | Shell | gpl-3.0 | 205 |
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="gnome-reader"
(test -f $srcdir/configure.ac \
&& test -d $srcdir/src) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level gnome-reader directory... | madbob/GnomeReader | autogen.sh | Shell | gpl-3.0 | 572 |
#!/bin/bash
echo Running lint...
shopt -s globstar
for file in **/*.php; do
OUTPUT=`./bin/php7/bin/php -l "$file"`
[ $? -ne 0 ] && echo -n "$OUTPUT" && exit 1
done
echo Lint done successfully.
echo -e "version\nms\nstop\n" | ./bin/php7/bin/php src/pocketmine/PocketMine.php --no-wizard | grep -v "\[Eventaxhl] Ad... | EventaxhlTeam/Eventaxhl | build.sh | Shell | gpl-3.0 | 472 |
#!/bin/bash
. docker-compose.env
CONTAINERS=`sudo docker ps -aq -f name=${PROJECT_NAME}*`
if [ -n "$CONTAINERS" ]; then
sudo docker rm -f $CONTAINERS
fi | ipeos-and-co/docker-php7-dev | stop.sh | Shell | gpl-3.0 | 158 |
#!/bin/bash
rm -rf understand_in/*
rm -rf understand_in/*
year="$1"
month="$2"
day="$3"
analyzeModule() {
# module name
MOD="$1"
DB_NAME=currentBuild'-'$MOD.udb
# changeset date
changeset_date="$2"
# get loc, mccabe and export dependencies
und create -db $DB_NAME -languages c++ Web add -exclude ".*,... | mozilla/firefox-code-quality | scripts/analyzeMozillaCentralHistorical.sh | Shell | mpl-2.0 | 2,751 |
#!/bin/sh
#
# @(#) $RCSfile: strsock.sh,v $ $Name: $($Revision: 1.1.2.3 $) $Date: 2011-05-10 13:45:37 $
# Copyright (c) 2001-2011 OpenSS7 Corporation <http://www.openss7.com>
# Copyright (c) 1997-2000 Brian F. G. Bidulock <bidulock@openss7.org>
# All Rights Reserved.
#
# Distributed by OpenSS7 Corporation. See the ... | 0x7678/openss7 | src/util/init/strsock.sh | Shell | agpl-3.0 | 9,311 |
#!/bin/bash -e
#===============================================================================
# FILE: kaltura-dwh-config.sh
# USAGE: ./kaltura-dwh-config.sh
# DESCRIPTION: configure the server as a DWH node.
# OPTIONS: ---
# LICENSE: AGPLv3+
# REQUIREMENTS: ---
# BUGS: ---
# ... | jessport1/platform-install-packages | RPM/scripts/postinst/kaltura-dwh-config.sh | Shell | agpl-3.0 | 2,941 |
#!/bin/bash -e
#===============================================================================
# FILE: package_kaltura_html5lib.sh
# USAGE: ./package_kaltura_html5lib.sh
# DESCRIPTION:
# OPTIONS: ---
# LICENSE: AGPLv3+
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# ... | littlefisher112291/platform-install-packages | build/package_kaltura_html5lib.sh | Shell | agpl-3.0 | 1,566 |
#!/bin/bash
. $builddir/tests/test_common.sh
set -e
set -o pipefail
result=`mktemp`
stderr=`mktemp`
stdout=`mktemp`
$OSCAP xccdf eval --results $result $srcdir/test_xccdf_check_multi_check.xccdf.xml > $stdout 2> $stderr
echo "Stderr file = $stderr"
echo "Result file = $result"
[ -f $stderr ]; [ ! -s $stderr ]; rm $... | redhatrises/openscap | tests/API/XCCDF/unittests/test_xccdf_check_multi_check.sh | Shell | lgpl-2.1 | 844 |
# Run with ./run-tests.sh
test_that_stbt_lint_passes_existing_images() {
cat > test.py <<-EOF &&
import stbt
stbt.wait_for_match('$testdir/videotestsrc-redblue.png')
EOF
stbt-lint --errors-only test.py
}
test_that_stbt_lint_fails_nonexistent_image() {
cat > test.py <<-EOF &&
import stbt
stbt.wait_for... | capablue/stb-tester | tests/test-stbt-lint.sh | Shell | lgpl-2.1 | 1,329 |
#!/bin/bash
set -e
set -x
root=fedora-25-x86_64
short=fc25
[ -z "$version" ] && version=`git describe --match 'v*' | sed 's/^v//'`
if expr index ${version} '-' > /dev/null; then
rpm_version=`echo ${version} | cut -d - -f 1-1`
rpm_release=`echo ${version} | cut -d - -f 2- | sed 's/-/./'`
else
rpm_version=${version... | noahdesu/zlog | make-srpm.sh | Shell | lgpl-2.1 | 876 |
#!/bin/bash
# run the tests
for x in $(seq 5 5 400); do echo NODE_SIZE: ${x}; g++ -O3 -std=c++11 -D NODE_SIZE=${x} bheap_benchmark.cpp && time ./a.out; done > bheap_arity_test.txt 2>&1
# prep the data for graphing
cat bheap_arity_test.txt | awk '/NODE_SIZE/{print $2} /user/{print $2}' | tr '\n' ' ' | sed -e 's/0m//g' ... | multilinear/datastructures_C--11 | experiments/bheap_arity_test/bheap_arity_benchmark.sh | Shell | lgpl-2.1 | 400 |
# Pick the correct version from PBTech's install scripts:
slchoose R 2.14.1 gcc_64
# Run with the arguments:
function run-R {
R $*
} | CampagneLaboratory/gobyweb-plugins | resources/R_2.14.1/script_R.sh | Shell | lgpl-3.0 | 151 |
#!/bin/bash
if [ ! -e output ]; then
echo "Making output directory..."
mkdir output
fi
# Clean up any leftover files
echo "Cleaning up previous simulation..."
yank cleanup --store=output
# Set up calculation.
echo "Setting up binding free energy calculation..."
yank prepare binding amber --setupdir=setup --l... | luirink/yank | examples/benzene-toluene-implicit/test.sh | Shell | lgpl-3.0 | 571 |
#!/bin/bash
#Run the mapper and reducer (an issue need to be fixed)
hadoop jar /usr/lib/hadoop-mapreduce/hadoop-streaming.jar -input /data/training/shakespeare/comedies -output output_wc_unix -mapper /bin/cat -reducer /usr/bin/wc
| rchaudhari/hadoop_learning | wc_streaming/wc_unix_cmd.sh | Shell | unlicense | 231 |
#!/bin/sh
# apt-get update --allow-releaseinfo-change
sudo apt-get update && sudo apt-get upgrade
sudo pihole -up
| cameron-sjo/Utilities | raspberrypi/update.sh | Shell | unlicense | 118 |
#!/bin/bash
# script de backup rsync machines vbox spirou => hdd portable
VBOXFOLDER=/hdd3/boman/VirtualBox\ VMs
HDDFOLDER=/media/boman/VBox
echo "***** BACKUP Win10-x64 => hdd"
rsync -av --progress \
--delete --delete-excluded \
"${VBOXFOLDER}"/Win10-x64/ \
"${HDDFOLDER}"/VBox/Win10-x64/
echo
echo "***... | rboman/progs | bin/rsync_vbox2hdd.sh | Shell | apache-2.0 | 659 |
#!/bin/bash
# backup_db.sh
# This script uses the 'pg_dump' utility to dump the contents of hive and ranger PostgreSQL databases as plain SQL.
# After PostgreSQL contents are dumped, the SQL file is uploaded using the hdfs cli.
# For AWS or Azure, the url should start with `s3a://` or `abfs://`, respectively.
set -o n... | hortonworks/cloudbreak | orchestrator-salt/src/main/resources/salt/salt/postgresql/disaster_recovery/scripts/backup_db.sh | Shell | apache-2.0 | 7,222 |
#!/usr/bin/env bash
if [ ! -n "${ANDROID_HOME}" ]; then
echo "You must define ANDROID_HOME at first!!!"
exit -1
else
echo "ANDROID_HOME: ${ANDROID_HOME}"
fi
proguard_retrace_file="${ANDROID_HOME}/tools/proguard/bin/retrace.sh"
if [ ! -f "${proguard_retrace_file}" ]; then
echo "I can't find ${proguard_r... | mingyuans/Smoke | smoke-java/smoke_retrace.sh | Shell | apache-2.0 | 541 |
#!/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/gapic-generator-cpp | ci/install-bazel.sh | Shell | apache-2.0 | 1,338 |
for i in 2 9 16 23 30
do
wkhtmltopdf -s A1 -R 0 -L 0 -B 0 -T 0 --debug-javascript http://localhost:8000/health.html?idx=$i $i.pdf
mv $i.pdf health/
done
| Code4SA/blacksash-cycle2-posters | gen_health.sh | Shell | apache-2.0 | 161 |
#!/bin/bash -ex
echo "Starting NGINX installation ..."
echo "***** NGINX installation from apt-get"
sudo apt-get -y install nginx
echo "***** Verify NGINX configuration "
sudo nginx -t
echo "***** Restart NGINX service to verify that restart works"
sudo systemctl restart nginx
echo "***** Copy configurations in /h... | marcomaccio/devpaas | devpaas-vm/packer/scripts/nginx/nginx-ubuntu.sh | Shell | apache-2.0 | 445 |
#!/usr/bin/env 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
# "Lice... | pcmoritz/arrow | ci/travis_script_python.sh | Shell | apache-2.0 | 7,239 |
#!/bin/bash
pid="$(ps aux | grep manage.py | grep server | awk '{print $2;}')"
if [ -n "$pid" ]; then
kill $pid
fi
rm config/cred.json
cp $NEO_CONF config/cred.json
source /home/jan.ehmueller/anaconda2/bin/activate webapp
pip install -r requirements.txt
cd cle
npm install
npm install --save react-toastify@4.0.1... | bpn1/ingestion | scripts/webapp.sh | Shell | apache-2.0 | 481 |
start_docker() {
mkdir -p /var/log
mkdir -p /var/run
# set up cgroups
mkdir -p /sys/fs/cgroup
mountpoint -q /sys/fs/cgroup || \
mount -t tmpfs -o uid=0,gid=0,mode=0755 cgroup /sys/fs/cgroup
for d in `sed -e '1d;s/\([^\t]\)\t.*$/\1/' /proc/cgroups`; do
mkdir -p /sys/fs/cgroup/$d
mountpoint -q /... | Pivotal-DataFabric/docker-image-resource | assets/common.bash | Shell | apache-2.0 | 1,946 |
#!/bin/bash
set -xe
source hack/common.sh
# FIXME: change this so that it works on non-x86
tag="${IMAGE_NAME}:${IMAGE_TAG}"
platform="linux/amd64"
prepare_dockerfile
build_container "${tag}" "${platform}" BUILDER_BUILD PUSH_DOCKER
push_container "${tag}" "${platform}" BUILDER_BUILD PUSH_DOCKER
test_container "${tag... | kubevirt/libvirt | hack/simple-build.sh | Shell | apache-2.0 | 363 |
#!/bin/bash
if [[ ! -f /etc/letsencrypt-auto/account.key ]]; then
openssl genrsa 4096 > /etc/letsencrypt-auto/account.key
else
echo "Account key already exists!"
exit 1
fi
| perillamint/acme-tiny-automator | createaccount.sh | Shell | apache-2.0 | 185 |
#!/bin/sh
sudo docker build -t vpp_minion_base:latest .
| ArthurChiao/videoplusplus | images/celery-minion/build-image.sh | Shell | apache-2.0 | 57 |
# This script is used to prepare an eclipse workspace for building.
# It will copy the required configuration data to a new workspace
# and pre-build all required xtuml projects. After completing the
# the tool is ready to build.
#!/bin/bash
SCRIPTPATH=`dirname $0`
source $SCRIPTPATH/build_configuration.sh
prev_di... | TypeFox/bridgepoint | utilities/build/prepare_build.sh | Shell | apache-2.0 | 5,790 |
#!/bin/bash
VERSION="4.0.7"
NAME=org.apache.karaf.management.server
cat >${NAME}.bnd <<STARTBND
Bundle-Blueprint OSGI-INF/blueprint/karaf-management.xml
Bundle-Name Apache Karaf :: Management :: Server
Bundle-SymbolicName org.apache.karaf.manag... | ms123s/simpl4-src | repository/karaf4/karaf-management.server.sh | Shell | apache-2.0 | 2,123 |
# -----------------------------------------------------------------------------
#
# Package : ssri
# Version : 7.1.0
# Source repo : https://github.com/npm/ssri
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.com>
#
# Disclaimer: This... | ppc64le/build-scripts | s/ssri/ssri_rhel_8.3.sh | Shell | apache-2.0 | 3,026 |
#!/bin/bash
source common.sh
# About me
curl -XPUT -u $AUTH $URL/put-job-fair/about-me/1?pretty=1 -d'{
"name": "Igor Kupczyński",
"url": "igor.kupczynski.info"
}
'
# What is elastic?
curl -XPOST -u $AUTH $URL/put-job-fair/product/1?pretty=1 -d'{
"name": "elasticsearch",
"summary": "Distribute docum... | puszczyk/elasticsearch-workshop | 1-about.sh | Shell | apache-2.0 | 1,983 |
#!/bin/bash
set -e
source /image_build/buildconfig
header "Setting up NGINX"
# Moved to DockerFile for temp quick build
run apt-get update
run apt-get install -y nginx
# This username should match what is in setup_user.sh
USER_NAME=webuser
# Now calculate the variables
USER_HOME=/home/$USER_NAME
NGINX_USER_CONF_DIR=... | edgarroman/webappdock | nginx/setup_nginx.sh | Shell | apache-2.0 | 1,997 |
#/**
# * TraCINg-Server - Gathering and visualizing cyber incidents on the world
# *
# * Copyright 2013 Matthias Gazzari, Annemarie Mattmann, André Wolski
# *
# * 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 co... | Cyber-Incident-Monitor/TraCINg-Server | fetch.sh | Shell | apache-2.0 | 4,712 |
#!/usr/bin/env bash
nomad run drd.nomad
| flyhard/awsHashicorpStack | nomad-jobs/6-drd.sh | Shell | apache-2.0 | 41 |
#!/bin/sh
##########################################################################
# If not stated otherwise in this file or this component's Licenses.txt
# file the following copyright and licenses apply:
#
# Copyright 2016 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may ... | rdkcmf/rdk-sysint | lib/rdk/docsis_utility.sh | Shell | apache-2.0 | 1,736 |
#!/bin/bash
set -exu
BRANCH=${BRANCH:?'missing BRANCH env var'}
# Set default GOARCH variable to the host GOARCH, the target architecture can
# be overrided by passing architecture value to the script:
# `GOARCH=<target arch> ./scripts/build-all-in-one-image.sh`.
GOARCH=${GOARCH:-$(go env GOARCH)}
expected_version="... | uber/jaeger | scripts/build-all-in-one-image.sh | Shell | apache-2.0 | 2,182 |
#!/bin/bash
set -o nounset
set -o errexit
set -o pipefail
# This script is executes kubernetes e2e tests against an openshift
# cluster. It is intended to be copied to the kubernetes-tests image
# for use in CI and should have no dependencies beyond oc, kubectl and
# k8s-e2e.test.
# Identify the platform under test ... | openshift/kubernetes | openshift-hack/test-kubernetes-e2e.sh | Shell | apache-2.0 | 2,855 |
#! /bin/bash
service rabbitmq-server stop
# stop all processes that are under pureelk folder
ps aux | grep pureelk | grep -v 'grep' | tr -s ' ' | cut -d ' ' -f 2 | xargs kill -9
| pureelk/pureelk | container/stop.sh | Shell | apache-2.0 | 180 |
#!/bin/bash
# Copyright 2018 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... | googleapis/google-api-java-client-services | .kokoro/release.sh | Shell | apache-2.0 | 3,168 |
#!/bin/bash
# Environment variable TE_VERSION specifies TEAMengine release version
: ${TE_VERSION:=4.10}
yum -y install unzip
# Derby system directory (derby.system.home)
mkdir /srv/derby
chown -R tomcat:tomcat /srv/derby
# TEAM Engine instance directory
groupadd cite
mkdir /srv/teamengine
cd /srv/teamengine
unzip -a /... | opengeospatial/teamengine | teamengine-virtualization/src/main/config/packer/scripts/setup-teamengine.sh | Shell | apache-2.0 | 1,417 |
#!/bin/bash
#No Arguments Taken
#PostInstall Script for a Standard Stand-Alone Web Server
#Optimized for Automated Installation of Nginx, PHP5-FPM and MySQL (More comming soon)
#Don't Forget to Fill-in the Declaration Variables
#Feel free to open Issues or to make pull request on my github
#Test if executed as root
ex... | cthulhuely/server-setup | db-server-install.bash | Shell | apache-2.0 | 8,812 |
#!/bin/bash -e
# Copyright 2015 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | benjyw/kythe | kythe/cxx/extractor/testdata/test_metadata.sh | Shell | apache-2.0 | 1,503 |
rm resume.synctex.gz
rm resume.out
rm resume.log
rm resume.aux
| davidbradway/resume-bibtex | clean.sh | Shell | apache-2.0 | 63 |
#!/bin/bash
# Usage example: sh rh.sh ~/test_subject/surf
# for vtk_extract.py using Clouchoux-style pits
time python vtk_extract.py --thick $1/rh.thickness --convex $1/rh.sulc --fundi $1/rh.fundi.vtk --pits $1/rh.pits.vtk --sulci $1/rh.sulci.vtk --sulciThld 0.15 --meancurv $1/rh.mean_curv.vtk --gausscurv $1/rh.ga... | binarybottle/mindboggle_sidelined | fundi_from_pits/rh.sh | Shell | apache-2.0 | 868 |
rm -fr GeoNames
rm -fr lib/*
rm -fr bin/* | geoparser/geolocator-2.0 | geo-locator/uninstall.sh | Shell | apache-2.0 | 41 |
#!/bin/bash
N=1
for i in 10 40 160 640
do
dataSet=/tmp/testDatasets/$i/
#echo $dataSet
fileSize=$(ls -lh $dataSet/file0.dat | awk '{print($5)}')
uploadResFile=$HOME/workspace/lobcder-tests/measures/elab.lab.uvalight.net/swift_script/upload/swift_"$i"_"$fileSize"
downloadResFile=$HOME/workspace/lobcder-t... | skoulouzis/lobcder | lobcder-tests/scripts/measureSwift.sh | Shell | apache-2.0 | 640 |
go test -c || exit -1
sudo iptables -A OUTPUT -p udp --dport 9999 --sport 9999 -j NFQUEUE --queue-num 0
sudo ./go-nfq.test
sudo iptables -D OUTPUT -p udp --dport 9999 --sport 9999 -j NFQUEUE --queue-num 0
| mjgarton/go-nfq | runtest.sh | Shell | apache-2.0 | 205 |
#!/bin/bash
set -e
STACK_NAME=$1
EMAIL=$2
REGION=$3
PROFILE=$4
if [ -z ${STACK_NAME} ];
then
echo "add-user.sh STACK_NAME EMAIL {REGION} {PROFILE}"
exit 1
fi
if [ -z ${REGION} ];
then
REGION=eu-west-1
fi
profile_args="--profile ${PROFILE}"
if [ -z ${PROFILE} ];
then
profile_args=""
fi
user_pool_id... | guardian/pan-domain-authentication | cognito/add-user.sh | Shell | apache-2.0 | 795 |
#!/bin/bash
set -o nounset
set -o errexit
cd "$(dirname "$0")"
mkdir -p $PWD/../data/plugins/editors
cp $BIN_DIR/plugins/editors/trikMetamodel.dll $PWD/../data/plugins/editors/
cp $BIN_DIR/robots-trik-qts-generator-library.dll $PWD/../data/
cp $BI... | Victor-Y-Fadeev/qreal | installer/packages/trik-studio/ru.qreal.root.trik.core/meta/prebuild-win32.sh | Shell | apache-2.0 | 1,534 |
#!/usr/bin/env bash
NUSSKNACKER_DIR=`dirname "$0" | xargs -I{} readlink -f {}/..`
export STORAGE_DIR="$NUSSKNACKER_DIR/storage"
CONF_DIR="$NUSSKNACKER_DIR/conf"
LIB_DIR="$NUSSKNACKER_DIR/lib"
MODELS_DIR="$NUSSKNACKER_DIR/models"
CONFIG_FILE=${CONFIG_FILE-${2-"$CONF_DIR/application.conf"}}
LOG_FILE=${NUSSKNACKER_LOG_F... | TouK/nussknacker | engine/lite/request-response/app/src/universal/bin/nussknacker-request-response-entrypoint.sh | Shell | apache-2.0 | 1,063 |
#!/bin/sh -eu
. ./env.sh
exec _bin/migrations/migrations
| tidepool-org/platform | migrations/start.sh | Shell | bsd-2-clause | 58 |
#!/bin/sh
#
# fractactor
#
java -cp $SCALA_HOME/lib/scala-library.jar:fractactor_2.9.1-0.1.jar net.ultrametrics.fractactor.FractalGenerator $*
| pchuck/fractactor | scripts/fractactor.sh | Shell | bsd-2-clause | 143 |
#!/bin/sh
# Install multiple Python versions into ~/.local/
#
# Based on https://raw.githubusercontent.com/mjuenema/docker-pythons/master/Dockerfile
PREFIX=~/.local/
# Check directories
#
[ -d ${PREFIX}/bin ] || exit 1
[ -d ${PREFIX}/src ] || exit 1
# Download get-pip.py
#
cd ${PREFIX}/bin && \
[ ! -f get-pi... | mjuenema/ansible-role-postinstall | files/install_local_python.sh | Shell | bsd-2-clause | 1,250 |
#!/bin/bash
DIR=`dirname $0`
case $2 in
p1) $DIR/../../../bin/genprog_tests.py --program smallest $1 $DIR/../../tests/blackbox/8.out $DIR/../../tests/blackbox/8.in && exit 0;;
p2) $DIR/../../../bin/genprog_tests.py --program smallest $1 $DIR/../../tests/blackbox/3.out $DIR/../../tests/blackbox/3.in && exit 0;;
p3) $DI... | ProgramRepair/IntroClass | smallest/d9e7eab5f82342d78fb20833701c4e9f900e8fcb737038d3a2ad18f664532af4d6332b7d14841c9ac773c52f6590b754f76df1f430a35bc8ca4799a767cdec6d/002/blackbox_test.sh | Shell | bsd-3-clause | 1,141 |
#!/bin/sh
if [ "$OS" = "Windows_NT" ]; then
PATH=$PATH:../lib;
./bin/okra;
else
LD_LIBRARY_PATH=/usr/local/lib/OGRE:../lib;
./bin/okra;
xset r on;
fi
| aerique/okra | dist/bin/run-okra.sh | Shell | bsd-3-clause | 171 |
#!/bin/bash
set -e
if head -n 1 project.clj | grep -e '-SNAPSHOT' >/dev/null; then
lein deploy snapshots
fi
| totakke/jungerer | snapshots-deploy.sh | Shell | bsd-3-clause | 114 |
#! /bin/bash
cd "$(dirname "$0")/.."
./script/stop-node.sh
./script/stop-mongod.sh
| dandahle/Catalyst-AppVetting | script/stop-all.sh | Shell | bsd-3-clause | 85 |
#!/bin/bash
pushd . > /dev/null
cd "$(dirname "$0")"
cd ..
echo "This may end in conflict, see git docs."
#point to server
read -p "Is this the first time you sync? [y/n] " -n 1
echo ""
if [[ $REPLY =~ ^[Yy]$ ]]; then
git remote add ba git://github.com/binaryage/totalfinder-i18n.git
echo "Pointed!"
fi
#merge re... | nntoan/totalfinder-i18n | bin/sync.sh | Shell | bsd-3-clause | 666 |
sudo THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32,nvcc.fastmath=True,lib.cnmem=0.5 ./train.py --proto=prototype_search_state --state $1$2/state.py
| Komzpa/GroundHog | experiments/nmt/train.sh | Shell | bsd-3-clause | 155 |
#!/bin/sh
cat << 'EOF' > dummy.c
#include "nosetter.actual.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#define ERROR_CHECK(tag) \
if (error != NULL) ... | BernhardDenner/libelektra | tests/shell/gen/highlevel/nosetter.check.sh | Shell | bsd-3-clause | 4,233 |
#!/bin/bash
function create_wallet {
wallet_name=$1
echo 0 | simplewallet --testnet --trusted-daemon --daemon-address localhost:38081 --generate-new-wallet $wallet_name --password "" --restore-height=1
}
create_wallet wallet_01.bin
create_wallet wallet_02.bin
create_wallet wallet_03.bin
create_wallet walle... | ranok/bitmonero | tests/libwallet_api_tests/scripts/create_wallets.sh | Shell | bsd-3-clause | 413 |
#!/usr/bin/env bash
CMAKE_VERSION="3.7.2"
set -e
sudo apt-get install build-essential
sudo apt-get remove cmake
cd tools
if [ ! -d "tools/cmake-${CMAKE_VERSION}" ]
then
wget "https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}.tar.gz"
tar xf "cmake-${CMAKE_VERSION}.tar.gz"
rm "cmake-${CMAKE_V... | Wicker25/intercom-party | travis/install_cmake.sh | Shell | mit | 505 |
exit 0
set -ev
# download ifw for linux, mingw
# upload packages
# TRAVIS_TAG
echo TRAVIS_TAG=$TRAVIS_TAG
PKG=$TRAVIS_BUILD_DIR/$QTAV_OUT.tar.xz
tar Jcvf $PKG $QTAV_OUT/{bin,lib*,build.log}
wget http://sourceforge.net/projects/sshpass/files/sshpass/1.05/sshpass-1.05.tar.gz/download -O sshpass.tar.gz
tar zxf sshpas... | fuyanzhi1234/DevelopQt | QtAV-master/tools/ci/after_success.sh | Shell | mit | 880 |
#!/bin/sh
##
# @private
# Executed if a variable is not set or is empty string
# @param1 - Name of the failed environment variable
##
function _check_env_failed {
echo "Environment variable $1 is not set."
echo "Environment variables failed, exit 1"
exit 1
}
##
# @private
# Executed if a variable ... | blacklabelops/volumerize | prepost_strategies/mysql/preexecute/utils/check-env.sh | Shell | mit | 996 |
#!/usr/bin/env zsh
set -e
[[ -z "$DEBUG" ]] || set -x
for data in ../data/1Kints.dat ../data/2Kints.dat ../data/4Kints.dat; do
[[ -f "$data" ]] || {
echo "missing $data file"
exit 1
} >&2
echo "-- ${data:t}"
time ./src/ch1/s4/ex/2 < $data
time ./src/ch1/s4/ex/2 --efficient < $data
... | ksamdev/algorithms | src/ch1/s4/ex/2_run.sh | Shell | mit | 325 |
#!/bin/sh
curl -X POST --data-urlencode 'payload={"channel": "#notification", "username": "travis JDropDownAlert", "text": "Travis JDropDownAlert was successfully tested."}' https://hooks.slack.com/services/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
| trilliwon/JDropDownAlert | travis/travis_after_success.sh | Shell | mit | 253 |
#!/bin/sh
# Exit on failure
set -e
#
# SOURCE: https://github.com/bellingard/multi-language-project/blob/master/runSonarQubeAnalysis.sh
#
# This assumes that the 2 following variables are defined:
# - SONAR_HOST_URL => should point to the public URL of the SQ server (e.g. for Nemo: https://nemo.sonarqube.org)
# - SON... | t-cas/JumpSSH | .travis/runSonarQubeAnalysis.sh | Shell | mit | 2,567 |
#!/bin/bash
#
# Copyright (c) 2011, Intel Corporation.
# All rights reserved.
#
# 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 2 of the License, or
# (at your option) any later v... | PhiInnovations/mdp28-linux-bsp | scripts/contrib/bb-perf/bb-matrix-plot.sh | Shell | mit | 3,644 |
#!/bin/bash
#
# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
# version 2, as published by the Free Software Foundation.
#
# This program is distributed in... | coreboot/nvidia-cbootimage | samples/sign.sh | Shell | gpl-2.0 | 3,863 |
#!/usr/bin/sh
# you should have "doxygen" in your path
# http://www.doxygen.org/
echo make Documentation
doxygen Doxyfile > Doxygen.log.txt 2> Doxygen.err.txt
| UbiCastTeam/mkvtoolnix-ubicast | lib/libmatroska/make/makedoc.sh | Shell | gpl-2.0 | 161 |
#!/sbin/busybox sh
BB=/sbin/busybox
if [ -d /system/etc/init.d ]; then
chmod 755 /system/etc/init.d/*;
$BB run-parts /system/etc/init.d/;
fi;
if [ -f /system/bin/customboot.sh ]; then
chmod 755 /system/bin/customboot.sh;
$BB sh /system/bin/customboot.sh;
fi;
if [ -f /system/xbin/customboot.sh ]; then
chmod 755... | jthatch12/STi | initramfs32/sbin/ext/run-init-scripts.sh | Shell | gpl-2.0 | 509 |
#!/usr/bin/env bash
export LC_ALL="C"
BASE_DIR=$PWD
TARBALL_DIR=$BASE_DIR/tarballs
BUILD_DIR=$BASE_DIR/build
TARGET_DIR=$BASE_DIR/target
PATCH_DIR=$BASE_DIR/patches
SDK_DIR=$TARGET_DIR/SDK
PLATFORM=$(uname -s)
SCRIPT=$(basename $0)
ARCH=$(uname -m)
if [ -z "$USESYSTEMCOMPILER" ]; then
# Default to gcc on some OS... | billotronic/osxcross | tools/tools.sh | Shell | gpl-2.0 | 3,571 |
#!/bin/bash -e
# This file is a Solo Calendar
# This file is part of amon (https://github.com/solo-system/amon.git)
# see readme.txt for info on calendars
# Turn recording "on" for the even numbered hours, off otherwise.
datestr=$(date +"%Y %-m %-d %-H %-M %-S")
read year month day hour minute second <<< $datestr
#... | solosystem/amon | boot/calendar/1h-on-1h-off.sh | Shell | gpl-2.0 | 1,072 |
#!/bin/bash
#
# This script aims to configure opendkim automatically
# It can be rerunned independantly to configure opendkim for other domains created via yunohost
#
# If you want to reuse existing keys, the files mail.txt and mail.private needs to
# be placed in a correct subfolder such as conf_opendkim/$domain/
#
# ... | lordzurp/auto_install | 7_opendkim.sh | Shell | gpl-2.0 | 6,851 |
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software ... | JetBrains/jdk8u_hotspot | test/runtime/StackGap/testme.sh | Shell | gpl-2.0 | 2,433 |
#!/bin/sh
TEST_TYPE=klipstest
TESTNAME=west-icmp-05
TESTHOST=west
EXITONEMPTY=--exitonempty
ARPREPLY=--arpreply
THREEEIGHT=true
PUB_INPUT=../inputs/08-sunrise-sunset-aes.pcap
REF_PRIV_OUTPUT=spi1-cleartext.txt
REF_CONSOLE_OUTPUT=spi1-console.txt
REF26_CONSOLE_OUTPUT=spi1-console26.txt
REF_CONSOLE_FIXUPS="script-on... | kidmaple/CoolWall | openswan/testing/klips/west-icmp-05/testparams.sh | Shell | gpl-2.0 | 660 |
#!/bin/sh
#
# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000, 2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission ... | kidmaple/CoolWall | user/bind/bin/tests/system/stress/setup.sh | Shell | gpl-2.0 | 964 |
#!/bin/sh
PKG_NAME="cwm"
PKG_VER="cvs$(date +%d%m%Y)"
PKG_REV="1"
PKG_DESC="Minimalistic window manager"
PKG_CAT="Desktop"
PKG_DEPS="+xorg_base,+libbsd"
download() {
[ -f $PKG_NAME-$PKG_VER.tar.xz ] && return 0
# download the sources
mkdir $PKG_NAME-$PKG_VER
[ $? -ne 0 ] && return 1
# determine the list of sou... | dimkr/roar-ng | skeleton/rootfs/build_scripts/var/packages/cwm.sh | Shell | gpl-3.0 | 2,909 |
#!/bin/bash
HOST=$1
if [ "$HOST" == "" ];
then
echo "No host specified, exitting..."
exit 1
fi
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
pushd .
echo "Getting into script folder..."
cd $DIR
ssh -q -o StrictHostKeyC... | DragonRoman/rhevm-utils | 3.0/hooks/directlun/borra.sh | Shell | gpl-3.0 | 1,040 |
#!/bin/bash
# This is an example launcher script for PyLatencyMap
# The sqlplus script outputs data from gv$event_histogram for the wait event log file sync
# LatencyMap.py displays data as Frequency-Intensity heatmaps
# This script is intended to be used to perform latency drilldown of the commit time wait event
#
... | LucaCanali/PyLatencyMap | Example2_oracle_commit_time.sh | Shell | gpl-3.0 | 427 |
#!/bin/bash -e
#===============================================================================
# FILE: p99_manage_patch.sh
# USAGE: ./p99_manage_patch.sh
# DESCRIPTION:
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Jess Portnoy (), <jess.port... | littlefisher112291/platform-install-packages | RPM/scripts/postinst/patches/p99_manage_patch.sh | Shell | agpl-3.0 | 1,910 |
#!/bin/sh
# 2005, 2006, 2007, 2008 (c) Etersoft http://etersoft.ru
# Author: Vitaly Lipatov <lav@etersoft.ru>
# GNU Public License
#
. functions/helpers.sh
# default target
#export REBUILDLIST=lists/rebuild.list.all
# custom target
#export REBUILDLIST="FreeBSD/6.2 FreeBSD/6.3 FreeBSD/7.0"
#export REBUILDLIST="Special/... | vitlav/korinf | bin-old/build-wine-school-components.sh | Shell | agpl-3.0 | 947 |
#!/bin/bash
# (use "chmod +rx scriptname" to make script executable)
#
# This script publishes the SKIRT documentation to the public web host.
#
# Instructions:
# - use on Mac OS X only
# - before running this script, build the PDF and HTML documentation
# - you need write access to the public web host
# - run ... | raesjo/SKIRTcorona | publishToWebHost.sh | Shell | agpl-3.0 | 846 |
#!/bin/sh
#
echo `date` Running offline remove command on hostname `hostname` >> /hostfs/upgradeInstallationRemoval.log
echo Arguments: >> /hostfs/upgradeInstallationRemoval.log
ARGS=$@
for ARG in $ARGS; do
echo $ARG >> /hostfs/upgradeInstallationRemoval.log
done
exit 0
| helioloureiro/opensaf-fork | samples/smfsv/offline_remove.sh | Shell | lgpl-2.1 | 278 |
#!/bin/bash
# set the number of runs
RUNS=2000
# Set the default OpenMP behaviour
export OMP_WAIT_POLICY=PASSIVE
# Set the path for CUDA libraries
export LD_LIBRARY_PATH=/opt/cuda/lib64:/usr/local/cuda/lib64:/usr/local/cuda/lib:$LD_LIBRARY_PATH
# loop over number of CPUs
for cpu in {1..12}
do
# Set some enviro... | AndySomogyi/mdcore | examples/jac/jac_cpu.sh | Shell | lgpl-3.0 | 861 |
#!/bin/sh
haxe --run tools.haxelib.Main $@
| SaratAdiraj/CoreSDK | ref/std/tools/haxelib/haxelib.sh | Shell | apache-2.0 | 43 |
java -classpath "lib/java/*:ai/dumb/java/*" dendygeeks.tanxees.client.ai.java.dumb.Main bot1 | dendygeeks/tanxees-arena | scripts/osx/start-java-dumb-bot1.sh | Shell | apache-2.0 | 92 |
#!/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"); you... | vergilchiu/hive | dev-support/jenkins-execute-hms-test.sh | Shell | apache-2.0 | 5,807 |
#!/bin/bash
#
# Copyright 2013 Tomaz Muraus
#
# 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 t... | Kami/node-mtr | scripts/tests.sh | Shell | apache-2.0 | 882 |
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/.. && pwd )"
source "$ROOT/run/common.sh"
node "$ROOT/run/audit-package-versions.js" "$ROOT"
cd "$ROOT"
export FIX_OR_ERR=${FIX_OR_ERR:-FIX}
newPackage="$(cat package.json)"
correctVersion="$(cat "$ROOT/lerna.... | streamkitchen/streamkitchen | run/lint.sh | Shell | apache-2.0 | 784 |
cd src/compiler/;
./makeTests.sh;
cd ..;
cd ..;
| E-B-Smith/protobuf-objc | travis/travis.sh | Shell | apache-2.0 | 48 |
curl ipecho.net/plain ; echo
| useorchard/orchard2 | Scripts/Public_IP.sh | Shell | apache-2.0 | 29 |
#!/usr/bin/env bash
# John Vivian
#
# Please read the associated README.md before attempting to use.
#
# Execution of pipeline
export PYTHONPATH=$(python -c 'from os.path import abspath as a, dirname as d;import sys;print d(d(d(a(sys.argv[1]))))' $0)
python -m toil_scripts.spladder_pipeline.spladder_pipeline \
/data/js... | BD2KGenomics/toil-scripts | src/toil_scripts/spladder_pipeline/launch_spladder_sm.sh | Shell | apache-2.0 | 478 |
#!/usr/bin/env bash
# A script file to generate IntelliJ project from using the Intellij Pants Plugin.
# Note: for any modification in this file please modify ExportIntegrationTest#test_intellij_integration
# We don't want to include targets which are used in unit tests in our project so let's exclude them.
./pants e... | ity/pants | build-support/pants-intellij.sh | Shell | apache-2.0 | 648 |
#!/bin/bash
SOODA_PATH=../../../bin
MCS_OPTIONS=/debug+ /optimize+
MCS=mcs
SOODA_DLL=$SOODA_PATH/Sooda.dll
OBJECTS_DLL=Sooda.UnitTests.Objects
OBJECTS_ASSEMBLY_INFO=../AssemblyInfo.cs
STUBS_DLL=$OBJECTS_DLL.Stubs
STUBS_ASSEMBLY_INFO=
ADDITIONAL_STUBS_CS=
echo Deleting old stubs...
rm -f $STUBS_DLL.dl... | pfusik/sooda | tests/UnitTestObjects/Stubs/_rebuild_stubs.sh | Shell | bsd-2-clause | 935 |
#!/bin/bash
# author: Bohdan Mushkevych
# script clears all the queues in the Rabbit MQ
# List of queues to purge
QUEUES="all"
cd ..
for queue in ${QUEUES}
do
.ve/bin/python -m scripts.purge_queue ${queue}
done
exit 0
| eggsandbeer/scheduler | scripts/purge_all_queues.sh | Shell | bsd-3-clause | 224 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.