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
# put just the relevant result files into a tar file
# usage: tar_results <folder (without the "_output" part)>
BASEFOLDER=${1%/} # removes trailing slash, if there is one
FOLDER=${BASEFOLDER}_output
TARNAME=${BASEFOLDER}_results.tgz
if [[ $BASEFOLDER == "" ]]; then
echo "Missing parameter."
echo "us... | apahl/cellpainting | cluster_tools/scripts/tar_results.sh | Shell | mit | 467 |
#!/usr/bin/env bash
dir=`dirname "$0"`
source $dir/src/set_theme_default_profile.sh gotham $1
| duijf/gotham-contrib | gnome-terminal/set_gotham.sh | Shell | mit | 95 |
python scraper.py
python akoma_convert.py
| bundestag/plpr-parser | run.sh | Shell | mit | 42 |
#!/bin/bash
# This script does for Linux the same as build.bat for DOS,
# it compiles the current KolibriOS applications
echo "lang fix en"
echo "lang fix en" > lang.inc
fasm -m 16384 icon.asm icon
kpack icon
rm -f lang.inc
exit 0
| devlato/kolibrios-llvm | programs/system/icon/trunk/build.sh | Shell | mit | 241 |
#!/bin/sh
# Tests editing remote contents, as an effective test of the xeno edit, list,
# sync, and stop commands
setUp()
{
# Stop any existing daemon
xeno daemon --stop
# Stop any existing sessions
xeno stop --all
# Create a directory (which we can easily remove) which will contain all of
# our test... | jaydiablo/xeno | scripts/ci-test-xeno-editing.sh | Shell | mit | 6,266 |
#!/bin/bash
if [ "$RUN_CLI" = "" ]; then
exit 0
fi
export IPHONE_SIMULATOR_ROOT="$SDKROOT"
export NSDebugEnabled=YES
export NSZombieEnabled=YES
export NSDeallocateZombies=NO
export NSHangOnUncaughtException=YES
export NSAutoreleaseFreedObjectCheckEnabled=YES
THISDIR=$(dirname "$0")
[[ $THISDIR =~ ^/ ]] || THISDI... | socialize/socialize-sdk-ios | Scripts/run-simulator.sh | Shell | mit | 1,187 |
#!/bin/bash
# Requires the latest version of the Android SDK
# @TODO: Automated check that this stuff is in the path...
# @TODO: Still allows a number of adb calls that come through. These seem
# to spawn and exit and then respawn. They spawn from init so
# they don't get forked from the original audit... | subho007/AuditdAndroid | scripts/startaudit.sh | Shell | gpl-2.0 | 2,207 |
#!/bin/bash
function mkinput() {
# Write titration and atom property files:
echo '
{
"processes" :
{
"H-Asp" : { "bound":"HASP" , "free":"ASP" , "pKd":4.0 , "pX":'$pH' },
"H-Ctr" : { "bound":"HCTR" , "free":"CTR" , "pKd":2.6 , "pX":'$pH' },
"H-Glu" : { "bound":"HGLU" , "free":"GLU" , "pKd":4.4 , "p... | LukasSukenik/faunus | src/playground/fernando/run.sh | Shell | gpl-2.0 | 6,217 |
#!/bin/bash
. ./test-common.sh
cleanup 75
# ------------------------------- Test 75 ------------------------------------
# uncompress logs before mailing them even if delaycompress is enabled
# https://github.com/logrotate/logrotate/issues/151
preptest test.log 75 2 1
$RLR test-config.75 --verbose
checkoutput <<EO... | sergey-v/logrotate | test/test-0075.sh | Shell | gpl-2.0 | 409 |
run_bench() {
$SHELLPACK_INCLUDE/shellpack-bench-netcdffcbuild
return $?
}
| kdave/mmtests | drivers/driver-netcdffcbuild.sh | Shell | gpl-2.0 | 77 |
#!/bin/bash
# User input is specified here in form of input lists stored in a specific folder.
# Don't change the variable names, only add/rename lists given within the brackets
inputlists_folder=inputlists_preparation-bulk-impurity
# Remove replica.list, this one will now be considered as input loop in the tasks
in... | olunet/NaRIBaS | task_storage/user-input_analysis-rdf-bulk-impurity_STEP2.sh | Shell | gpl-2.0 | 1,112 |
#!/bin/sh
IMAGE_NAME="virtdb-build:centos6-gui-builder"
docker build --force-rm=true -t "$IMAGE_NAME" .
if [ $? -ne 0 ]
then
echo "ERROR during docker build " $IMAGE_NAME
exit 101
fi
echo "successfully built $IMAGE_NAME"
mkdir -p build-result
chmod a+rwxt build-result
docker run --rm=true -e "GITHUB_EMAIL=$GIT... | virtdb/virtdb-gui | start-build.sh | Shell | gpl-3.0 | 511 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/logs/w-11_0/20161108T164747+0000/00/00/taskevent_7_ID0000013.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | FlatTargetInk/UMD_RISC-16G5 | ProjectLab2/Shadow_Reg_No_VGA/Shadow_EX_NoVGA/ipcore_dir/Instr_Mem1/implement/planAhead_ise.sh | Shell | gpl-3.0 | 2,527 |
#!/bin/sh
dbus-send --session --print-reply --dest=com.rastersoft.cronopete /com/rastersoft/cronopete com.rastersoft.cronopete.RestoreFiles
| rastersoft/cronopete | data/cronopete_restore.sh | Shell | gpl-3.0 | 140 |
#!/usr/bin/env bash
set -eo pipefail
scriptDir=$(cd $(dirname $0); pwd)
rootDir=$scriptDir/..
echo >&2 "Testing classes in $rootDir/bin/zinc"
libs=$rootDir/bin/zinc:$(find $rootDir/lib -iname '*.jar' | paste -s -d':')
#JAVA_OPTS="-XX:MaxJavaStackTraceDepth=7" \
# Note -p from 1.7 is now -R in 2.0
java -cp $libs \
... | jhclark/ducttape | build-support/test-unit.sh | Shell | mpl-2.0 | 497 |
#!/bin/sh
# This shell script runs the ncgen tests.
# $Id: run_tests.sh,v 1.10 2010/04/04 22:06:03 dmh Exp $
if test "x$srcdir" = x ; then
srcdir="."
fi
echo "*** Testing ncgen."
set -e
echo "*** creating classic file c0.nc from c0.cdl..."
./ncgen -b -o c0.nc $srcdir/c0.cdl
if [ ! -f c0.nc ]; then
echo "Failure.... | polymec/polyglot-dev | 3rdparty/netcdf/ncgen/run_tests.sh | Shell | mpl-2.0 | 721 |
#!/bin/sh
###############################################################################
## Copyright (C) 2007 Elias Ponvert, The University of Texas at Austin
##
## 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 ... | eponvert/texnlp | bin/tcandc.sh | Shell | lgpl-3.0 | 4,506 |
#!/usr/bin/env bash
USERID=$1
GROUPID=$2
ldconfig
cd /tmp/rpmbuild
chown -R root:root /tmp/rpmbuild/SOURCES/node-v8.5.0.tar.gz
rpmbuild -v -bb --clean SPECS/nodejs.spec
chown -R $USERID:$GROUPID /tmp/rpmbuild
| geodocker/geodocker-jupyter-geopyspark | rpms/build/scripts/nodejs.sh | Shell | apache-2.0 | 212 |
#!/bin/bash
set -e
set -o pipefail
readonly container="bazel/dependencies:buster-ca-certificates"
readonly certs_dir="/etc/ssl/certs"
docker run --rm "$container" cat "$certs_dir/ca-certificates.crt"
| guymers/containers_by_bazel | scripts/ssl/crt_file.sh | Shell | apache-2.0 | 202 |
#!/bin/sh
sh ../mvnw clean install -f ../pom.xml -DskipTests $*
| Xlongshu/maven-archetypes | archetype-spring-boot/src/main/resources/archetype-resources/bin/mvn-install.sh | Shell | apache-2.0 | 68 |
#!/bin/sh
#
# GetRegion.sh
#
# David Janes
# IOTDB.org
# 2015-12-29
#
grep '^region =' ~/.aws/config | head -1 | sed -e '1 s/^.* = //'
| dpjanes/aws-iot-toolkit | tools/GetRegion.sh | Shell | apache-2.0 | 147 |
#!/bin/bash
# re-initialize writable dataset
initialize_dataset "$BASE_URL_WRITABLE" "../dataset.trig" "$ENDPOINT_URL_WRITABLE"
# separate URL-encoding step because we cannot combine -G with --data-binary
encoded_url=$(curl -w "%{url_effective}\n" -G -s -o /dev/null \
--data-urlencode "graph=${BASE_URL_WRITABLE}grap... | Graphity/graphity-processor | http-tests/graph-store-protocol/PUT-named-ntriples.sh | Shell | apache-2.0 | 1,021 |
#!/bin/bash -eux
# From: https://github.com/opscode/bento
case "$PACKER_BUILDER_TYPE" in
virtualbox-iso|virtualbox-ovf)
mkdir /tmp/vbox
VER=$(cat /home/vagrant/.vbox_version)
if [ ! -f "/home/vagrant/VBoxGuestAdditions_$VER.iso" ]; then
wget "http://download.virtualbox.org/virtualbox/4.3.8/VBoxGu... | diamond29/packer-config | spec/integration/scripts/vmtools.sh | Shell | apache-2.0 | 1,237 |
#!/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 "Licens... | apache-spark-on-k8s/spark | sbin/build-push-docker-images.sh | Shell | apache-2.0 | 2,446 |
curl -XGET http://127.0.0.1:9200/test-mindex/_search -d '{
"query": {
"filtered": {
"filter": {
"geo_bounding_box": {
"pin.location": {
"points": [
{
"lat": 50,
... | aparo/elasticsearch-cookbook-second-edition | chapter_05/geo/geo_polygon.sh | Shell | bsd-2-clause | 841 |
#!/bin/bash
# Copyright (C) 2014 Craig Phillips. All rights reserved.
function test_copying_to_missing_target_directory() {
local src=$(firstword /usr/lib/python*)
local dst=$LOCAL_TESTTMP/rsync_nodir
assert rsync -i $src $dst >$LOCAL_TESTTMP/rsync.out
rm -rf $dst
mkdir $dst
assert gsync -... | iwonbigbro/gsync | regression/tests/test_no_arguments_behaves_like_rsync.sh | Shell | bsd-3-clause | 428 |
#!/bin/bash
DIR=`dirname $0`
case $2 in
p1) $DIR/../../../bin/genprog_tests.py --program grade $1 $DIR/../../tests/whitebox/9.out $DIR/../../tests/whitebox/9.in && exit 0;;
p2) $DIR/../../../bin/genprog_tests.py --program grade $1 $DIR/../../tests/whitebox/8.out $DIR/../../tests/whitebox/8.in && exit 0;;
p3) $DIR/../.... | ProgramRepair/IntroClass | grade/dccb1242e60245b164eba39e7c2ae4d7140c2c8964675ee78c7d8bea4aae494217dcac52415ab45fd89391060d17b101d87530b8e5a0b9a5781d06fe7db614eb/001/whitebox_test.sh | Shell | bsd-3-clause | 1,250 |
#!/bin/bash -e
if [[ "$TRAVIS_TAG" = "" ]]; then exit 0; fi
PLATFORM=$([ "$TRAVIS_OS_NAME" == "linux" ] && echo "linux64" || echo "$TRAVIS_OS_NAME")
mkdir -p $HOME/release
rm -rf $HOME/release/flow
cp -R bin $HOME/release/flow
cd $HOME/release && zip -r \
"$TRAVIS_BUILD_DIR/flow-$PLATFORM-$TRAVIS_TAG.zip" \
flow... | shiftcars/flow | resources/travis/zip_release.sh | Shell | bsd-3-clause | 363 |
#!/bin/bash
# Amlogic gerrit code auto-fix script
# Author: xiaobo.gu@amlogic.com
# Init version: 2015.05.01
# get current dir
CUR_P=$(dirname $0)
CUR_P=${CUR_P/\./$(pwd)}
#echo $CUR_P
# prepare variables
REVIEW_OUTPUT=$CUR_P/review.txt
PATCH_FILE_NAME=$CUR_P/patch_name
#CUR_P=`abspath $pwd`
#echo $CUR_P
# get late... | genehuangtaiwan/uboot | scripts/amlogic/coding_style/fix_code.sh | Shell | gpl-2.0 | 668 |
CROSS_PREFFIX='/opt/mingw32ce/bin/arm-mingw32ce-'
#cd ffmpeg
#./cegcc-ffmpeg-compile.sh
cd wavpack
./wavpack-gcc-compile.sh
cd ../flac
./flac-gcc-compile.sh
| xorkrus/tcpmp-revive | armplg-gcc-compile.sh | Shell | gpl-2.0 | 164 |
#!/bin/sh
convert $1 -crop 255x255 +repage /tmp/tiles_%02d.jpg
| bjalon/nuxeo-features | nuxeo-platform-imaging-tiling/nuxeo-imagemagick-scripts/multiTile.sh | Shell | lgpl-2.1 | 66 |
#!/bin/bash
# Copyright 2017 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 applica... | skim1420/spinnaker | dev/buildtool/support_functions.sh | Shell | apache-2.0 | 7,823 |
#!/bin/bash
source conf/drillTestConfig.properties
set -e
set -x
hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dmapred.reduce.tasks.speculative.execution=false -Dimporttsv.columns=HBASE_ROW_KEY,data:p_partkey,data:p_name,data:p_mfgr,data:p_brand,data:p_type,data:p_size,data:p_container,data:p_retailprice,data:p_... | krystaln/drill-test-framework | framework/resources/Datasources/schema_change_empty_batch/maprdb/binary/loadTables.sh | Shell | apache-2.0 | 821 |
#!/usr/bin/env bash
# Copyright 2014 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 applica... | jackfrancis/kubernetes | hack/local-up-cluster.sh | Shell | apache-2.0 | 47,572 |
#!/bin/bash
# Runs ocropy on an image, producing text output.
# Usage:
# ./run-ocropy.sh model.pyrnn.gz image1.jpg image2.jpg ...
if [[ $# -lt 2 ]]; then
>&2 echo "Wrong # of arguments"
exit 1
fi
model=$1
test -f $model
shift
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
set -o errexit
bin_patterns=... | danvk/oldnyc | ocr/tess/run-ocropy.sh | Shell | apache-2.0 | 895 |
@INCLUDE_COMMON@
echo
echo ELEKTRA MOUNT TESTS
echo
is_plugin_available sync || {
echo "Test requires sync plugin, aborting" >&2
exit 0
}
check_version
echo "Test basic mounting"
ROOT_FILE=${FILE_SUFFIX}_root.ecf
ROOT_MOUNTPOINT=/test/script/mount
ROOT_MOUNTPOINTN=\\/test\\/script\\/mount
ROOT_MOUNTPOINT2=/test/s... | mpranj/libelektra | tests/shell/check_mount.sh | Shell | bsd-3-clause | 4,194 |
#!/bin/sh
# The relative path to the directory that holds the build shared libraries.
BUILT_LIB_DIR=../../build/src/swig/.libs
echo "=== setting shared library path to built libraries dir: $BUILT_LIB_DIR"
export LD_LIBRARY_PATH=$BUILT_LIB_DIR # For Linux.
export DYLD_LIBRARY_PATH=$BUILT_LIB_DIR # For Mac OS X.
rm -... | rashadkm/libkml | examples/java/run.sh | Shell | bsd-3-clause | 1,034 |
#!/bin/bash
FN="pd.chogene.2.0.st_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/pd.chogene.2.0.st_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.chogene.2.0.st_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.chogene.2.0.st/bioconductor-... | blankenberg/bioconda-recipes | recipes/bioconductor-pd.chogene.2.0.st/post-link.sh | Shell | mit | 1,466 |
snapcraft push nikola_master_amd64.snap --release edge
| knowsuchagency/nikola | snapcraft/edge/release.sh | Shell | mit | 55 |
#!/bin/bash
. ../../../prepare.inc.sh
. ../../../toolbox.inc.sh
# ---- do the actual testing ----
result=PASS
if [ $skip_install_required -eq 1 ]
then
echo "++++ SKIPPING TEST" >$OUTPUTFILE
marker "SKIP BECAUSE TEST REQUIRES FULL INSTALL (for /sbin/request-key)"
toolbox_report_result $TEST PASS
exit... | Distrotech/keyutils | tests/keyctl/requesting/noargs/runtest.sh | Shell | gpl-2.0 | 983 |
#!/bin/sh
export PATH=$GOPATH/bin:$PATH
# /tmp isn't moutned exec on most systems, so we can't actually start
# containers that are created there.
export SRC_DIR=$(pwd)
export LXD_DIR=$(mktemp -d -p $(pwd))
chmod 777 "${LXD_DIR}"
export LXD_CONF=$(mktemp -d)
export LXD_FUIDMAP_DIR=${LXD_DIR}/fuidmap
mkdir -p ${LXD_FUI... | mikemccracken/lxd | test/main.sh | Shell | apache-2.0 | 7,772 |
#!/bin/sh
# Written by: John Ellson <ellson@research.att.com>
error() { echo "$0: $*" >&2; exit 1; }
editor="/usr/bin/vim"
if ! test -x "$editor"; then error "the \"$editor\" editor not found or not executable"; fi
default="noname.gv"
if test -z "$1"; then
f="$default"
if ! test -f "$f"; then
if ! test -w .; t... | JasonGross/graphviz-packaging | reference-graphviz-2.39.20141222.0545/plugin/xlib/vimdot.sh | Shell | mit | 1,051 |
#!/bin/bash
FN="BSgenome.Cfamiliaris.UCSC.canFam2_1.4.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.13/data/annotation/src/contrib/BSgenome.Cfamiliaris.UCSC.canFam2_1.4.0.tar.gz"
"https://bioarchive.galaxyproject.org/BSgenome.Cfamiliaris.UCSC.canFam2_1.4.0.tar.gz"
"https://depot.galaxyproject.org/software... | phac-nml/bioconda-recipes | recipes/bioconductor-bsgenome.cfamiliaris.ucsc.canfam2/post-link.sh | Shell | mit | 1,573 |
#!/bin/bash
FN="silva128.1MgDb_1.00.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/annotation/src/contrib/silva128.1MgDb_1.00.0.tar.gz"
"https://bioarchive.galaxyproject.org/silva128.1MgDb_1.00.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-silva128.1mgdb/bioconductor-silva128.1mgd... | jerowe/bioconda-recipes | recipes/bioconductor-silva128.1mgdb/post-link.sh | Shell | mit | 1,444 |
#!/bin/bash -ex
cd ~/screenly/ansible
ansible-playbook -t enable-ssl site.yml
set +x
echo "You should be all set. You should be able to access Screenly's management interface at https://<your IP>"
echo "NOTE: If you have the firewall enabled, make sure to open it up for HTTPS (port 443)."
echo "Assuming you're runni... | GreatFruitOmsk/screenly-ose | bin/enable_ssl.sh | Shell | gpl-2.0 | 375 |
#! /bin/sh
# Copyright (C) 2003-2015 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | hika-server/automake | t/nodist3.sh | Shell | gpl-2.0 | 1,002 |
carthage checkout --no-use-binaries
| gowansg/firefox-ios | checkout.sh | Shell | mpl-2.0 | 36 |
#!/bin/bash
pushd thirdparty/tiff-4.0.3
CFLAGS="-fPIC" CXXFLAGS="-fPIC" ./configure --disable-jbig && make
popd
cd toonz && mkdir build && cd build
source /opt/qt55/bin/qt55-env.sh
cmake ../sources
# according to https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
# travis can offer up to 2 core... | kogaki/opentoonz | ci-scripts/linux/travis-build.sh | Shell | bsd-3-clause | 357 |
#!/bin/bash
FULLPATH=$(dirname $(readlink -f "$0"))
VINFO=`echo "<?php include 'boot.php'; echo PLATFORM_NAME . \" \" . STD_VERSION . \"\\n\";" | php`
PROJECTNAME=`echo $VINFO | awk '{print $1;}'`
F9KVERSION=`echo $VINFO | awk '{print $2;}'`
ADDONMODE=
ADDONNAME=
if [ "$1" == "--addon" -o "$1" == "-a" ]
then
A... | phellmes/hubzilla | util/run_xgettext.sh | Shell | mit | 2,529 |
#!/usr/bin/bash
# PostgreSQL Autodoc - http://www.rbt.ca/autodoc/
cd doc/database
postgresql_autodoc -d ledgersmb -f ledgersmb
| pongraczi/LedgerSMB-1.3-HU | tools/regen_db_docs.sh | Shell | gpl-2.0 | 130 |
#!/bin/sh
#
# Copyright (c) 2007 Carlos Rica
#
test_description='git tag
Tests for operations with tags.'
. ./test-lib.sh
# creating and listing lightweight tags:
tag_exists () {
git show-ref --quiet --verify refs/tags/"$1"
}
# todo: git tag -l now returns always zero, when fixed, change this test
test_expect_su... | AndyA/git-andya | t/t7004-tag.sh | Shell | gpl-2.0 | 33,226 |
#!/bin/bash -e
#
# Nightly build script that builds and publishes orange dmg installer.
#
function print_usage() {
echo 'daily-build.sh [--bootstrap] [--repo GIT_REPO] [--template TEMPLATE_URL] PUBLISH_DIR
Note: This script should be run from the root source directory.
Options:
--bootstrap Boot... | jlegendary/orange | install-scripts/mac/daily-build.sh | Shell | gpl-3.0 | 2,418 |
set -e
set -x
# Choose the python versions to install deps for
case $CIRCLE_NODE_INDEX in
0) dep_versions=( "3.3.6" "3.4.3" "3.5.1" ) ;;
1) dep_versions=( "3.4.3" ) ;;
2) dep_versions=( "3.3.6" ) ;;
*) dep_versions=( "3.5.1" ) ;;
esac
# apt-get commands
sudo apt-get update
deps="indent libclang1-3.4"
deps_python_... | djkonro/coala | .misc/deps.sh | Shell | agpl-3.0 | 995 |
#!/bin/bash
# Test is all examples in the .org files are working with lean.js
LEAN_JS=lean.js
RUN_LEAN_JS=run_lean_js.sh
if [ $# -ne 1 ]; then
echo "Usage: test.sh [file]"
exit 1
fi
if [ ! -f ${LEAN_JS} ] ; then
wget https://leanprover.github.io/lean.js/${LEAN_JS}
fi
if [ ! -f ${RUN_LEAN_JS} ] ; then
... | avigad/tutorial | test_js.sh | Shell | apache-2.0 | 1,374 |
#!/bin/bash
FN="zebrafish.db0_3.14.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/annotation/src/contrib/zebrafish.db0_3.14.0.tar.gz"
"https://bioarchive.galaxyproject.org/zebrafish.db0_3.14.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-zebrafish.db0/bioconductor-zebrafish.db0_3.... | cokelaer/bioconda-recipes | recipes/bioconductor-zebrafish.db0/post-link.sh | Shell | mit | 1,317 |
#!/usr/bin/env bash
#--- Apache server patch
HTTP_CONF_PATH="/etc/httpd/conf/httpd.conf"
# Disable more extra modules in centos 6.x /etc/httpd/httpd.conf dav/ldap/cgi/proxy_ajp
sed -i "s|LoadModule suexec_module modules|#LoadModule suexec_module modules|" "$HTTP_CONF_PATH"
sed -i "s|LoadModule cgi_module module... | slacknux/sentora-installers | centos6_cgi_patch.sh | Shell | gpl-3.0 | 667 |
#!/bin/sh
LOCAL_PATH=`dirname $0`
LOCAL_PATH=`cd $LOCAL_PATH && pwd`
ln -sf libsdl-1.2.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL.so
ln -sf libsdl_net.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL_net.so
ln -sf libsdl_sound.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL_sound.so
if [ \! -d dosbox-0.74 ] ... | def-/commandergenius | project/jni/application/prefclub/AndroidBuild.sh | Shell | lgpl-2.1 | 1,039 |
#!/bin/bash
# This script invokes the keytest.py script with the simple set-up needed
# to re-run deterministic regression tests that one would like to have.
#
# Usage: run-test.sh <test-in.txt>
#
# See the hello-world-in.txt for an example syntax and description
KEYTEST=${KEYTEST:-./keytest.py}
export KEYTEST_OUTFI... | hashinisenaratne/HSTML | development/autotests/single-test.sh | Shell | gpl-2.0 | 956 |
#! /bin/bash
. ./config.sh
start_suite "IPAM ring seed mismatch"
weave_on $HOST1 launch-router --no-discovery
weave_on $HOST2 launch-router --no-discovery
weave_on $HOST3 launch-router --no-discovery
# Do some allocations to get the ring initialized on two hosts
start_container $HOST1
start_container $HOST2
# Conn... | paulbellamy/weave | test/360_ipalloc_seed_mismatch_3_test.sh | Shell | apache-2.0 | 661 |
#!/bin/bash
#
# This library holds functions for configuring and starting an OpenShift server
# os::start::configure_server will create and write OS master certificates, node configurations, and OpenShift configurations.
# It is recommended to run the following environment setup functions before configuring the OpenSh... | rawlingsj/gofabric8 | vendor/github.com/openshift/origin/hack/lib/start.sh | Shell | apache-2.0 | 23,802 |
#!/bin/bash
set -o errexit
set -o xtrace
EXECUTOR_NUMBER=$1
CONFIGURATION=$2
ADAPTER=$3
RC=$4
function usage {
echo "Usage: $0 - Build a test configuration"
echo ""
echo "$0 [EXECUTOR_NUMBER] [CONFIGURATION] [ADAPTER] [RC (optional)]"
exit 1
}
# Validate inputs
if [[ "$EXECUTOR_NUMBER" = "" || "$CON... | HeidCloud/devstack | tools/jenkins/configurations/xs.sh | Shell | apache-2.0 | 1,057 |
#!/bin/sh
append DRIVERS "mac80211"
mac80211_hostapd_setup_base() {
local phy="$1"
local ifname="$2"
cfgfile="/var/run/hostapd-$phy.conf"
macfile="/var/run/hostapd-$phy.maclist"
[ -e "$macfile" ] && rm -f "$macfile"
config_get device "$vif" device
config_get country "$device" country
config_get hwmode "$devi... | TheSkorm/openwrt-metarouter-cjdns | package/mac80211/files/lib/wifi/mac80211.sh | Shell | gpl-2.0 | 15,491 |
$((123))
$((0x123))
$((0xA))
$((0xAf))
$((-0xAf))
$((--0xAf))
$((+0xAf))
$((10#1))
$((10#100))
$((-10#100))
$((+10#100))
$((0123))
$((-0123))
$((10#100afe))
$((12#D))
$((35#abcdefghijkl))
$((0X23 * 56)) | jwren/intellij-community | plugins/sh/testData/oldLexer/v3/arithmeticLiterals.sh | Shell | apache-2.0 | 202 |
echo 'Killing all Jekyll instances'
kill -9 $(ps aux | grep '[j]ekyll' | awk '{print $2}')
clear
echo "Building PDF-friendly HTML site for APIs ...";
bundle exec jekyll serve --detach --config _config.yml,pdfconfigs/config_apis_pdf.yml;
echo "done";
echo "Building the PDF ...";
prince --javascript --input-list=_site/... | LivePersonInc/dev-hub | content_ga6/pdf-apis.sh | Shell | mit | 376 |
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2016 zsh-syntax-highlighting contributors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the following conditions... | codeprimate/arid | zsh/zsh-syntax-highlighting/highlighters/main/test-data/path-separators.zsh | Shell | bsd-2-clause | 2,740 |
#!/bin/bash
# Copyright 2015, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditio... | bjori/grpc | tools/jenkins/grpc_interop_cxx/build_interop.sh | Shell | bsd-3-clause | 1,909 |
# -*-Shell-script-*-
# Common eXist script functions and settings for JMX
# $Id:jmx-settings.sh 7231 2008-01-14 22:33:35Z wolfgang_m $
JMX_ENABLED=0
JMX_PORT=1099
check_jmx_status() {
if [ "${JMX_ENABLED}" -gt 0 ]; then
JMX_OPTS="-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=$JMX_PORT \
... | wolfgangmm/exist | tools/backrest/src/jmx-settings.sh | Shell | lgpl-2.1 | 501 |
R CMD REMOVE --library=$PREFIX/lib/R/library/ ChAMPdata
| joachimwolff/bioconda-recipes | recipes/bioconductor-champdata/pre-unlink.sh | Shell | mit | 56 |
#!/bin/bash
free
echo _____________________________________________
echo "HOME IS $HOME"
ls $HOME
length=`echo $HOME |wc -c`
if (( $length >= 100 )) ;
then
echo "WARNING: The home directory $HOME is longer than 100 char"
OLDHOME=$HOME
NEWHOME="/tmp/alien_home_dir.${ALIEN_PROC_ID}"
echo "CHANGING H... | mvala/AliPhysics | PWGLF/FORWARD/analysis2/sim/run.sh | Shell | bsd-3-clause | 1,150 |
#!/bin/sh
if [ $# -lt 1 ]; then
cat <<EOF
Usage: blackbox_s3upgrade.sh PREFIX
EOF
exit 1;
fi
PREFIX=`pwd`"/$1"
shift 1
samba4bindir="$BINDIR"
samba_tool="$samba4bindir/samba-tool"
samba_net="$samba4bindir/net"
testparm="$samba4bindir/testparm"
. `dirname $0`/../../../testprogs/blackbox/subunit.sh
rm -rf $PREFIX/sa... | SpectraLogic/samba | source4/setup/tests/blackbox_s3upgrade.sh | Shell | gpl-3.0 | 3,699 |
#!/bin/bash
set -e
es_opts=''
while IFS='=' read -r envvar_key envvar_value
do
# Elasticsearch env vars need to have at least two dot separated lowercase words, e.g. `cluster.name`
if [[ "$envvar_key" =~ ^[a-z]+\.[a-z]+ ]]
then
if [[ ! -z $envvar_value ]]; then
es_opt="-E${envvar_key}=$... | blacktop/docker-elk | geoip/entrypoints/elastic-entrypoint.sh | Shell | mit | 2,986 |
#!/bin/sh
#
# Copyright (c) 2007 Santi Béjar, based on t4013 by Junio C Hamano
#
#
test_description='Merge logic in fetch'
. ./test-lib.sh
LF='
'
test_expect_success setup '
GIT_AUTHOR_DATE="2006-06-26 00:00:00 +0000" &&
GIT_COMMITTER_DATE="2006-06-26 00:00:00 +0000" &&
export GIT_AUTHOR_DATE GIT_COMMITTER_DATE ... | nodakai/git | t/t5515-fetch-merge-logic.sh | Shell | gpl-2.0 | 4,594 |
#!/usr/bin/env bash
# Copyright 2014 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 applica... | pweil-/origin | vendor/k8s.io/kubernetes/hack/lib/version.sh | Shell | apache-2.0 | 7,345 |
export ROOTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export DRY_RUN="--dry-run"
export PATTERN="*.*"
export CHECK_MD5="--no-check-md5"
function make_shas {
for i in $(ls *.tar.gz); do
shasum_file="${i//.tar.gz/.sha1.txt}";
if [ ! -f "${shasum_file}" ]; then
echo generating "${shasum_file}"
shasum... | Sawbones/BananaStand | server/node_modules/sqlite3/build-util/upload.sh | Shell | apache-2.0 | 752 |
#!/bin/bash
MIRRORS="http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/ http://download.ossystems.com.br/bsp/freescale/source/ http://downloads.yoctoproject.org/mirror/sources/"
fetch() {
name=$1
chksum=$2
# check existing file
chksum $name $chksum
t=$?
if [ "x$t" = "x0" ]; then
echo "$name exists already and M... | Artox/vivante-packaging | fetch.sh | Shell | mit | 1,338 |
#!/usr/bin/env sh
docker run --rm -v `pwd`:/slides astefanutti/decktape http://www.dirk-thomas.net/slides_roscon2017_ros2-vision/2017-09-21_roscon_ros2-vision.html 2017-09-21_roscon_ros2-vision.pdf
| dirk-thomas/slides_roscon2017_ros2-vision | pdf.sh | Shell | mit | 198 |
#!/bin/bash
rm -rf build
./build.sh
date=`date +%y%m%d`
log_name=kcache_${date}_$$.log
valgrind --tool=callgrind --log-file=${log_name} ./build/enumerate_forbidden_move --db ../../database/game_record_small.csv --mode point
callgrind_pid=`head -n 1 ${log_name} | sed -e "s/^==//g" | sed -e "s/==.*//g"`
kcachegrind ... | starpentagon/realcore | performance/enumerate_forbidden_move/kcachegrind.sh | Shell | mit | 368 |
#!/usr/bin/env bash
set -e
[ "$DEBUG" == 'true' ] && set -x
DAEMON=sshd
echo "> Starting SSHD"
# Copy default config from cache, if required
if [ ! "$(ls -A /etc/ssh)" ]; then
cp -a /etc/ssh.cache/* /etc/ssh/
fi
set_hostkeys() {
printf '%s\n' \
'set /files/etc/ssh/sshd_config/HostKey[1] /etc/ssh/k... | panubo/docker-sshd | entry.sh | Shell | mit | 7,700 |
#!/usr/bin/env bash
download-android
echo y | android update sdk --no-ui --filter platform-tool
echo y | android update sdk --no-ui --filter android-21
echo y | android update sdk --no-ui --all --filter build-tools-21.1.2 --force
echo y | android update sdk --no-ui --filter extra
| alabeduarte/retryableasynctask | ci/install-android-dependencies.sh | Shell | mit | 282 |
#!/bin/sh
# file: simulate_vcs.sh
#
# (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This discla... | peteg944/music-fpga | LED_Matrix_FPGA_Nexys 3/ipcore_dir/pll/simulation/timing/simulate_vcs.sh | Shell | mit | 2,910 |
# Output single horizontally-arranged image and the JSON
# bounding boxes found.
./datapiece -i pngs/contract2.png -b boxes_contract.json -o out/contract2_one_line.png --dpi 300 --jsonout out/contract2.json
# Output series of images named out/contract2_<field>.png with --split. Clean a 2 pixel border around each out... | alexbyrnes/Datapiece | run-examples.sh | Shell | mit | 594 |
#!/usr/bin/env bash
echo ----params----
echo input_dataset_train:${input_dataset_train}
echo input_dataset_test:${input_dataset_test}
echo run_type:${run_type}
echo run_name:${run_name}
echo output_dir:${output_dir}
echo word2vec_model:${word2vec_model}
echo word2vec_load_bin:${word2vec_load_bin}
#run parser in trai... | jimmycallin/master-thesis | architectures/conll16st-hd-sdp/sup_parser_v2_hierarchy_run_partial.sh | Shell | mit | 1,817 |
#!/bin/bash
#bdereims@vmware.com
[ "${1}" == "" ] && echo "usage: ${0} deploy_env" && exit 1
[ ! -f "${1}" ] && echo "error: file '${1}' does not exist" && exit 1
. ./"${1}"
### Local vars ####
PHOTONOS=photon-custom-hw11-1.0-13c08b6.ova
DEL_ENV=/tmp/del_bulk_photon.sh
TMP=/tmp/$$
TENANT=Demo
PROJECT=demo-project
... | bdereims/cPod | Photon-Deploy/bulk_photon.sh | Shell | mit | 1,147 |
#!/bin/bash
# paths
dirname="$(pwd)"
lib="/usr/local/lib"
bin="/usr/local/bin"
wallpaperdir='$HOME/wallpaper'
PIP_MODULES="numpy scipy matplotlib pymatbridge simplejson pyserial pyzmq pyqtgraph"
APT_FORMULAS="clang cmake curl fortune-mod gcc-avr git-core ipython minicom \
php5 cowsay python-matplotlib python-scipy p... | neale/Dotfiles | setup.sh | Shell | mit | 3,907 |
#!/bin/sh
# Script to make a new quantum project
# Jack Humbert 2015
KEYBOARD=$1
KEYBOARD_UPPERCASE=$(echo $1 | awk '{print toupper($0)}')
mkdir keyboard/$1
mkdir keyboard/$1/keymaps
sed -e "s;%KEYBOARD%;$KEYBOARD;g" -e "s;%KEYBOARD_UPPERCASE%;$KEYBOARD_UPPERCASE;g" quantum/template/template.h > keyboard/$KEYBOARD/$K... | ErgoDox-EZ/reactor | lib/firmware/new_project.sh | Shell | mit | 1,152 |
#!/usr/bin/env bash
# Terminate already running bar instances
killall -q polybar
# If all your bars have ipc enabled, you can also use
# polybar-msg cmd quit
# Launch polybar, using default config location ~/.config/polybar/config
polybar mybar 2>&1 | tee -a /tmp/polybar.log & disown
echo "Polybar launched..."
| syclops/dotfiles | arch/roles/i3/files/launch.sh | Shell | mit | 315 |
#!/bin/sh
#
# This script is invoked from the controller (gallery_controller.rb)
# No check because the controller checks it.
LIBREOFFICE=`which libreoffice`
$LIBREOFFICE --nologo --headless --nofirststartwizard --convert-to pdf --outdir public/pdf public/$1
| quvox/SlideGallery | bin/pdfout.sh | Shell | mit | 261 |
PORT=80
MONGO_URL=mongodb://127.0.0.1/<%= appName %>
ROOT_URL=http://localhost
#it is possible to override above env-vars from the user-provided values
<% for(var key in env) { %>
<%- key %>=<%- ("" + env[key]).replace(/./ig, '\\$&') %>
<% } %>
| pfafman/Up-Your-Meteor | templates/linux/env.sh | Shell | mit | 247 |
pod install --project-directory=Example
xcodebuild \
-workspace Example/CascadingTableDelegate.xcworkspace \
-scheme CascadingTableDelegate-Example \
-destination 'platform=iOS Simulator,name=iPhone 8' \
clean test | xcpretty
| edopelawi/CascadingTableDelegate | run_tests.sh | Shell | mit | 234 |
#!/bin/sh
#*/5 * * * * /usr/bin/reseteth0.sh 1>/dev/null 2>/dev/null > /dev/null
IFCONFIG="/sbin/ifconfig eth0"
DATE=`date`;
ISIT=`$IFCONFIG | grep "UP" | wc -l`;
if test $ISIT -gt 0;
then
echo $DATE " ETH0 OK" >> /tmp/reseteth0.log;
else
echo $DATE " bringing eth0 up" >> /tmp/reseteth0.log;
/sbin/service n... | sauloal/linuxscripts | sys/usr/bin/resetEth0.sh | Shell | mit | 371 |
#!/usr/bin/env bash
PODINFO=""
PODINFO+="<p><strong class=\"important\">HOST_NAME:</strong>$(hostname)</p>"
if [ $NODE_NAME ]
then
PODINFO+="<p><strong class=\"important\">NODE_NAME:</strong>$NODE_NAME</p>"
fi
if [ $POD_NAME ]
then
PODINFO+="<p><strong class=\"important\">POD_NAME:</strong>$POD_NAME</p>"
fi
if [ $POD_... | DaoCloud/dao-2048 | scripts/start.sh | Shell | mit | 580 |
###
### Released under the MIT License (MIT) --- see ../LICENSE
### Copyright (c) 2014 Ankit Singla, Sangeetha Abdu Jyothi, Chi-Yao Hong, Lucian Popa, P. Brighten Godfrey, Alexandra Kolla, Simon Kassing
###
NRUNS=1 # Reduced for sake of running time.
MYJAVAPATH="../"
topology=XP # JF = JellyFish,
# ... | ndal-eth/topobench | scripts/fatfree/figure_4a.sh | Shell | mit | 1,930 |
# Downloads MODIS active fire data; see:
# https://earthdata.nasa.gov/earth-observation-data/near-real-time/firms/active-fire-data
has_wget=$(which wget)
declare -a files=( "MODIS_C6_Alaska_24h.csv" "MODIS_C6_Australia_and_New_Zealand_24h.csv" "MODIS_C6_Canada_24h.csv" "MODIS_C6_Central_America_24h.csv" "MODIS_C6_Euro... | arthur-e/swc-workshop | unix-shell/download_data.sh | Shell | mit | 975 |
#!/bin/sh
# CYBERWATCH SAS - 2017
#
# Security fix for CESA-2012:0997
#
# Security announcement date: 2012-07-10 17:32:43 UTC
# Script generation date: 2017-01-01 21:10:27 UTC
#
# Operating System: CentOS 6
# Architecture: x86_64
#
# Vulnerable packages fix on version:
# - 389-ds-base-devel.i686:1.2.10.2-18.el6_3... | Cyberwatch/cbw-security-fixes | CentOS_6/x86_64/2012/CESA-2012:0997.sh | Shell | mit | 1,208 |
#!/bin/bash
#------------------------------------------------------------------------------
# If DEBUG is true, enable debugging and don't perform any actions.
DEBUG=false
#------------------------------------------------------------------------------
THIS_SCRIPT=$(basename "$0")
DATE_TIME_REGEXP='[0-9][0-9][0-9][0-... | dlsnostress/.home | scripts/photo_tag_add.sh | Shell | mit | 4,527 |
#!/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()
{
local source="${BUILT_PRODUCTS_DIR}/Pods-HaidoraPaging_Example/$1"
loc... | Haidora/HaidoraPaging | Example/Pods/Target Support Files/Pods-HaidoraPaging_Example/Pods-HaidoraPaging_Example-frameworks.sh | Shell | mit | 2,369 |
#!/bin/bash
set -e
fail() { >&2 printf "%s\n" "$*"; exit 1; }
if [[ -z $1 ]]; then
fail "Usage: '$0 dir'"
fi
if [[ -z "${COVERITY_TOKEN}" ]]; then
fail "missing env COVERITY_TOKEN"
fi
DIR="$1"
COVERITY_MD5="$DIR/coverity_tool.md5"
COVERITY_TGZ="$DIR/coverity_tool.tgz"
mkdir -p "$DIR"
echo "*" > "$DIR/.gitigno... | rcr/rirc | scripts/sa_coverity_get.sh | Shell | mit | 712 |
#!/bin/sh
#PBS -l walltime=01:00:0
# Useful only when this script is qsub'ed
# Written by Xiuming Zhang and CBIG under MIT license: https://github.com/ThomasYeoLab/CBIG/blob/master/LICENSE.md
# Example BET procedure/parameters (to be optimized based on your data)
standard_space_roi ${img} ${outDir}${name}_roi.nii.gz... | ThomasYeoLab/CBIG | stable_projects/disorder_subtypes/Zhang2016_ADFactors/step1_VBM/extractBrains/lib/CBIG_BETParam1.sh | Shell | mit | 393 |
# Project aliases
alias p="cd ~/Projects"
alias mmr="cd ~/Projects/MMR/mmr-web-v3"
alias mx="cd ~/Projects/MX/mx-web-v5"
# tmux sessions
alias tmux-default="tmux attach -t default || tmux new -s default"
# Show history
alias h="history"
# Get week number
alias week="date +%V"
# Get macOS Software Updates, and updat... | michaelx/dotfiles | .oh-my-zsh/custom/aliases.zsh | Shell | mit | 4,365 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.