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
set -e
# A POSIX variable
OPTIND=1 # Reset in case getopts has been used previously in the shell.
function show_help {
echo
"Pharo Build Script
==================
This script assumes the existence of a new uninitialized image. Then it proceeds to its initialization and \"growing\".
* Ste... | vineetreddyrajula/pharo | bootstrap/scripts/build.sh | Shell | mit | 4,988 |
#!/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}"
# This protects against multiple targets copying the same framework dependency at the same time.... | klwoon/TTGSnackbar | ExampleObjc/TTGSnackbarObjcExample/Pods/Target Support Files/Pods-TTGSnackbarObjcExample/Pods-TTGSnackbarObjcExample-frameworks.sh | Shell | mit | 4,674 |
#!/usr/bin/env bash
set -e
cd `dirname $0`
TEST_DIR=$PWD
export PATH=`dirname $TEST_DIR`:$PATH
# Reset the direnv loading if any
export DIRENV_CONFIG=$PWD
unset DIRENV_BASH
unset DIRENV_DIR
unset DIRENV_MTIME
unset DIRENV_DIFF
direnv_eval() {
eval `direnv export bash`
}
test_start() {
cd "$TEST_DIR/scenarios/$... | camelpunch/direnv | test/direnv-test.sh | Shell | mit | 2,435 |
yasm -O2 -f win32 -DPREFIX -DHAVE_ALIGNED_STACK=1 -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8 -DARCH_X86_64=0 -o cpu-a.obj cpu-a.asm
| lordmulder/CPUFeaturesLib | Prerequisites/cpu-a/build.sh | Shell | gpl-2.0 | 122 |
#!/bin/bash
if [ $(hostname) = ximera-1.asc.ohio-state.edu ]; then
echo On the deployment machine.
echo Pulling latest version from github, protecting our dotenv...
mv -f .env .env.backup
git pull
mv -f .env.backup .env
echo Updating npm...
npm install
echo Running gulp...
node ./nod... | kisonecat/ximera | deploy.sh | Shell | gpl-2.0 | 859 |
version=\
(
'4.8'
)
url=\
(
"http://downloads.sourceforge.net/strace/4.8/strace-$version.tar.xz"
)
md5=\
(
'c575ef43829586801f514fd91bfe7575'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
configure()
{
"../strace-$version/configure" \
--prefix="$cfg_dir_toolchain_sysroot/usr" \
... | LSTS/glued | rules/strace/default.bash | Shell | gpl-2.0 | 649 |
#!/bin/bash
set -e
cd tools/android
# Build C code
~/android-ndk-r9d/ndk-build
# Buid Jar
ant release
# Sign with the release key
jarsigner \
-verbose \
-sigalg SHA1withRSA \
-digestalg SHA1 \
-keystore ~/android-keys/chaoticrage-release-key.keystore \
-storepass `cat ~/android-keys/password` \
bin/ChaoticRag... | enjgine/chaotic-rage | tools/buildtool/android_apk.sh | Shell | gpl-2.0 | 640 |
#! /bin/sh
. ../../testenv.sh
analyze rng1.vhdl
elab_simulate sliding_index
clean
echo "Test successful"
| tgingold/ghdl | testsuite/gna/bug049/testsuite.sh | Shell | gpl-2.0 | 109 |
#!/bin/bash
#
# Copyright (C) 2008 Oracle. 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, version 2, as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful... | markfasheh/ocfs2-test | programs/xattr_tests/xattr-multi-run.sh | Shell | gpl-2.0 | 18,550 |
#!/bin/sh
# Check for VMWare
isVMWare
noVMWare=$?
isVPC
noVPC=$?
grep -q "QEMU Virtual CPU" /proc/cpuinfo
noQEMU=$?
while [ 1 ]
do
sleep `expr $1 \* 60`
myip=`cat /tmp/myip`
# For each instance
instance=1
while [ -d /etc/folding/$instance ]
do
cd /etc/folding/$instance
if [ -f latest.$myip.$insta... | thwpike/foldingathome | initrd_dir/bin/backup.sh | Shell | gpl-2.0 | 4,811 |
#! /bin/bash
for d in `ls */doit.sh | cut -d/ -f1`; do
echo '[ '$d' ]'
cd ./$d >/dev/null
test -f "xlt.c" && exit 1
base=`ls rawcounts.* | head -n1 | cut -d. -f2`
rm -vf *.c *.pair
ls *.base *.xbase | grep -v '^'$base'\.' | xargs rm -vf
cd .. >/dev/null
done
rm -rf letters
rm *~ 2>/dev/null
| ShiftMediaProject/enca | data/clean.sh | Shell | gpl-2.0 | 306 |
#!/bin/sh
set -e
# first arg is `-f` or `--some-option`
if [ "--risky" == "$1" ]; then
sed -i "s/enable = 0/enable = 1/g" /root/.config/torrench/config.ini
shift
torrench "$@"
exit 0
elif [ "${1#-}" != "$1" ]; then
set -- torrench "$@"
fi
exec "$@"
| kryptxy/torrench | docker/entrypoint.sh | Shell | gpl-3.0 | 271 |
#!/usr/bin/bash
for f in *.po; do
msgcat --use-first $f template.pot -o $f
msgattrib --set-obsolete --ignore-file=template.pot -o $f $f
msgattrib --no-obsolete -o $f $f
done
| KoKuToru/gTox | src/i18n/update.sh | Shell | gpl-3.0 | 177 |
#!/bin/bash
STORAGE_DIRECTORY=`dirname "$(readlink -f "$0")"`
exec "${STORAGE_DIRECTORY}/htd_main" --input gr --output td --strategy challenge --opt width --iterations 0 --print-opt-progress "$@" <&0
| yannponty/RNARedPrint | lib/htd-master/scripts/htd_gr2td_exhaustive.sh | Shell | gpl-3.0 | 202 |
#!/bin/sh
download() {
cd tgz
wget -N -nd -c -e robots=off -A tgz,html -r -np \
http://www.repository.voxforge1.org/downloads/es/Trunk/Audio/Main/16kHz_16bit
# http://www.repository.voxforge1.org/downloads/SpeechCorpus/Trunk/Audio/Main/8kHz_16bit
cd ..
}
unpack() {
for f in tgz/*.tgz; do
tar xf $f -C wav
done
... | ejmalfatti/VoiceControl-RaspberryPi | voxforge-es-0.2/scripts/build.sh | Shell | gpl-3.0 | 1,450 |
sudo apt-get update && sudo apt-get -y upgrade
sudo apt-get install vim rsync git zip unzip
wget -qO- https://get.docker.com/ | sh
sudo usermod -aG docker ubuntu
sudo su
curl -L https://github.com/docker/compose/releases/download/1.5.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/... | mingchuno/golden-cache | init.sh | Shell | gpl-3.0 | 345 |
#!/bin/bash
PREF='matchem'
python MatrixChem.py > ${PREF}.gr
header=`head -1 ${PREF}.gr | cut -f 2-`
pltline='plot '
sep=''
i=1
for clm in $header ; do
i=$[$i + 1]
pltline="$pltline$sep\"${PREF}.gr\" using 1:$i w l lw 2 title \"$clm\""
sep=', '
done
gnuplot <<EOF
set terminal postscript eps color 16
set ylabe... | laryamamoto/PyCellChemistry | src/scripts/matchem.sh | Shell | gpl-3.0 | 399 |
cd $(dirname "${0}")
cd ..
yarn install || exit 1
yarn install_deps || exit 1 | eloello/kakakaka | bin/build-dev.sh | Shell | gpl-3.0 | 78 |
#####
##### Elec: Supervised training using three types of tv-embedding
#####
##### Step 1. Generate input files.
##### Step 2. Training.
#####
##### NOTE1: To run this script, download unlab_data.tar.gz and decompress it at test/,
##### so that the directory test/unlab_data will be create... | DeercoderCourse/NLP | conText-v2.00/test/semisup-elec-all-three.sh | Shell | gpl-3.0 | 4,000 |
#!/bin/sh
## live-build(7) - System Build Scripts
## Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.
# Debia... | linuxknow/livebuildlihuen | functions/releases.sh | Shell | gpl-3.0 | 733 |
#!/bin/bash -e
# The Textinfo package contains programs for reading, writing, and converting
# info pages.
. ../lfs.comm
build_src() {
version=6.5
srcfil=texinfo-$version.tar.xz
srcdir=texinfo-$version
tar -xf $LFSSRC/$srcfil && cd $srcdir
./configure --prefix=/tools
make $JOBS
make ins... | fangxinmiao/projects | Architeture/OS/Linux/Distributions/LFS/build-scripts/lfs-8.4-systemd/1-build-tmp-system/30-Texinfo.sh | Shell | gpl-3.0 | 363 |
#!/bin/bash
#
# This is job test5_0
#
#
## Start of header for backend 'local'.
#
set -e
set -u
ENVIRONMENT_DIR='.'
#
# Variables declared in MOLGENIS Compute headers/footers always start with an MC_ prefix.
#
declare MC_jobScript="test5_0.sh"
declare MC_jobScriptSTDERR="test5_0.err"
declare MC_jobScriptSTDOUT="tes... | pneerincx/molgenis-compute | molgenis-compute-core/src/test/resources/expected/testFoldingWeaving/test5_0.sh | Shell | lgpl-3.0 | 5,888 |
#!/bin/bash -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ROOT="$DIR/../.."
REPOSITORY_ROOT="$ROOT/.."
WORKSPACE_DIR="$ROOT/.workspace"
TMP_DIR="$WORKSPACE_DIR/tmpdir"
VERSION=$("$REPOSITORY_ROOT/git-version")
export VERSION
export TECTONIC_RELEASE_BUCKET=releases.tectonic.com
export TECTONIC_BINARY_BUC... | everett-toews/tectonic-installer | installer/scripts/release/common.env.sh | Shell | apache-2.0 | 1,289 |
#!/bin/bash
# Copyright 2016 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... | iTagir/kubernetes | hack/make-rules/test-cmd-util.sh | Shell | apache-2.0 | 182,384 |
#!/usr/bin/env bash
set -e
# Create a temp dir and clean it up on exit
TEMPDIR=`mktemp -d -t maya-test.XXX`
trap "rm -rf $TEMPDIR" EXIT HUP INT QUIT TERM
# Build the Maya binary for the tests
echo "--> Building maya"
go build -o $TEMPDIR/maya || exit 1
# Run the tests
echo "--> Running tests"
GOBIN="`which go`"
PATH... | gkGaneshR/maya | buildscripts/test.sh | Shell | apache-2.0 | 433 |
#!/bin/sh
which setxkbmap
if test $? -ne 0
then
echo "error, setxkbmap not found"
exit 1
fi
# English - US 'en-us' 0x00000409
setxkbmap -model pc104 -layout us
./xrdp-genkeymap ../instfiles/km-00000409.ini
# English - UK 'en-GB' 0x00000809
setxkbmap -model pc105 -layout gb
./xrdp-genkeymap ../instfiles/km-000008... | cocoon/xrdp | genkeymap/dump-keymaps.sh | Shell | apache-2.0 | 1,156 |
#!/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... | DinoCow/airflow | scripts/ci/constraints/ci_branch_constraints.sh | Shell | apache-2.0 | 1,332 |
wget https://dist.thingsboard.io/thingsboard-2.5.1pe.rpm
| thingsboard/thingsboard.github.io | docs/user-guide/install/pe/resources/2.5.1pe/thingsboard-centos-download.sh | Shell | apache-2.0 | 57 |
#!/bin/sh
#This has a series of multiple command tests w/o comments#
../bin/rshell < multi_command_test | kchen068/rshell | tests/multi_command.sh | Shell | bsd-3-clause | 105 |
#!/bin/bash
if [ "$TRAVIS_OS_NAME" == "linux" ]
then
# Add repositories
sudo add-apt-repository -y 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main'
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update -qq
# Remove existing LLVM
sudo apt-g... | mpflanzer/Oclgrind | .travis-deps.sh | Shell | bsd-3-clause | 863 |
#!/bin/bash
# Copyright (c) 2014 The CoreOS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Replacement script for 'grub-install' which does not detect drives
# properly when partitions are mounted via individual loopback devices.
... | BugRoger/scripts | build_library/grub_install.sh | Shell | bsd-3-clause | 5,967 |
#!/bin/bash
npm run build
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
for d in ${DIR}/../packages/*/ ; do (cd "$d" && npm publish); done
cd ${DIR}/../ && npm publish
| clausejs/clausejs | scripts/publish_all.sh | Shell | mit | 182 |
#!/bin/bash
NOW=$(date +%s)
LIMIT=$(expr $NOW + 3600 \* 4 )
# Args check
if [ $# -eq 1 ]
then
LIMIT=$(expr $1 \* 60 + $NOW)
fi
echo "**************************************"
echo "You haven't speciefied any limit for the stress test. I will set 4 hours as limit. Good luck!"
echo "***********************************... | diegorusso/ictf-framework | services/poipoi/test/longrun.sh | Shell | gpl-2.0 | 610 |
#!/bin/bash
COUCH_URL="https://www.apache.org/dist/couchdb/source/1.6.1/"
COUCH_CONFIG_DIR="/usr/local/etc/couchdb/"
COUCH_NAME="apache-couchdb-1.6.1"
COUCH_TAR="${COUCH_NAME}.tar.gz"
COUCH_DIR="${COUCH_NAME}"
COUCH_ASC="${COUCH_TAR}.asc"
COUCH_DEP="wget make autoconf autoconf-archive automake libtool perl-Test-Harnes... | CentOS/CentOS-Dockerfiles | couchdb/centos7/install.sh | Shell | gpl-2.0 | 1,759 |
#!/bin/bash
#before install check DB setting in
# judge.conf
# hustoj-read-only/web/include/db_info.inc.php
# and down here
#and run this with root
#CENTOS/REDHAT/FEDORA WEBBASE=/var/www/html APACHEUSER=apache
WEBBASE=/var/www/html
APACHEUSER=www-data
DBUSER=root
DBPASS=root
printf "Input Database(MySQL) Username:... | wlx65003/HZNUOJ | judger/install/install-interactive.sh | Shell | gpl-3.0 | 2,931 |
# if else test
# --output:start
# a: local func
# b: global func
# a: local test
# b: global func
# start func2
# x local
# y global
# x call in func2
# y call in func2
# start func1
# x local
# y call in func2
# x call in func1
# y call in func1
# end func1
# x call in func2
# y call in func1
# end func2
# x local
# y... | alexst07/seti | test/interpreter/lang_basic/global.sh | Shell | apache-2.0 | 930 |
#!/usr/bin/env bash -ex
for f in $(git ls-files -- *.thrift); do
/usr/local/bin/thrift --gen java -out src-gen/ $f
done
| ilya-klyuchnikov/buck | third-party/java/thrift/gen.sh | Shell | apache-2.0 | 122 |
#!/bin/sh
. /lib/functions.sh
. $dir/functions.sh
# Set dnsmasq config
handle_dhcp() {
if [ -z "${1/cfg[0-9a-fA-F]*/}" ]; then
section_rename dhcp $1 dnsmasq
fi
}
config_load dhcp
config_foreach handle_dhcp dnsmasq
uci batch << EOF
set dhcp.dnsmasq.local="/$profile_suffix/"
set dhcp.dnsmasq.domain="$profile_s... | saraedum/luci-packages-old | contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_dnsmasq.sh | Shell | apache-2.0 | 630 |
#!/usr/bin/zsh
setopt extended_glob
# Target must be a target directory or .
TARGET=gerbers
PROJNAME=$1
# Valid: ITEAD, SEEED, OSHPARK
# Or set the values manually after the conditional
MANUF=OSHPARK
# Manufacturers' file extensions
exts_oshpark=(
'*F_Cu.g*' .GTL
'*F_Mask.g*' .GTS
'*F_SilkS.g*'... | WCP52/input_frontend | pcb/scripts/rename_gerbers.sh | Shell | bsd-3-clause | 1,230 |
#!/bin/bash
FN="TENxBUSData_1.0.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/experiment/src/contrib/TENxBUSData_1.0.0.tar.gz"
"https://bioarchive.galaxyproject.org/TENxBUSData_1.0.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-tenxbusdata/bioconductor-tenxbusdata_1.0.0_src_all.t... | Luobiny/bioconda-recipes | recipes/bioconductor-tenxbusdata/post-link.sh | Shell | mit | 1,303 |
#! /bin/sh
# Test nl_langinfo.
# Copyright (C) 2000, 2001, 2003, 2007, 2008 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
# The GNU C 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 Sof... | stephenR/glibc-fpp | localedata/tst-langinfo.sh | Shell | gpl-2.0 | 13,539 |
#!/bin/sh
python manage.py collectstatic --noinput --settings=dkobo.settings
grunt build_all
npm install yuglify
python manage.py compress --settings=dkobo.settings
mkdir -p jsapp/CACHE
cp -R jsapp/components/fontawesome/fonts jsapp/CACHE/fonts
python manage.py collectstatic --noinput --settings=dkobo.settings
| jomolinare/dkobo | scripts/collectstatic.sh | Shell | agpl-3.0 | 312 |
#!/bin/bash -x
set -euo pipefail
IFS=$'\n\t'
# Test scripts run with PWD=tests/..
# The test harness exports some variables into the environment during
# testing: PYTHONPATH (python module import path
# WORK_DIR (a directory that is safe to modify)
# DOCKER (the docker executable location)
# ... | rh-atomic-bot/atomic | tests/integration/test_verify.sh | Shell | lgpl-2.1 | 1,283 |
#!/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... | davebarnes97/geode | ci/scripts/capture-call-stacks.sh | Shell | apache-2.0 | 3,456 |
#!/bin/bash
########################################################################
#
# Linux on Hyper-V and Azure Test Code, ver. 1.0.0
# Copyright (c) Microsoft Corporation
#
# All rights reserved.
# Licensed under the Apache License, Version 2.0 (the ""License"");
# you may not use this file except in compliance w... | adriansuhov/lis-test | WS2012R2/lisa/remote-scripts/ica/SR-IOV_Multicast.sh | Shell | apache-2.0 | 5,017 |
# Script to generate the documentation.
ln -s ../src/inc/liblogger
ln -s ../src/testapp
doxygen
| Kudo/liblogger | docs/gendoc.sh | Shell | apache-2.0 | 96 |
#!/bin/bash
# assumes this script (config.sh) lives in "${JAMR_HOME}/scripts/"
export JAMR_HOME="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." > /dev/null && pwd )"
export CLASSPATH=".:${JAMR_HOME}/target/scala-2.10/jamr-assembly-0.1-SNAPSHOT.jar"
# change the following enviroment variables for your configuration
exp... | hopshackle/wordAlignment | scripts/config_ACL2014_LDC2014E41.sh | Shell | bsd-2-clause | 1,968 |
#!/bin/bash
FN="BSgenome.Dmelanogaster.UCSC.dm2.masked_1.3.99.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.9/data/annotation/src/contrib/BSgenome.Dmelanogaster.UCSC.dm2.masked_1.3.99.tar.gz"
"https://bioarchive.galaxyproject.org/BSgenome.Dmelanogaster.UCSC.dm2.masked_1.3.99.tar.gz"
"https://depot.galaxypro... | mdehollander/bioconda-recipes | recipes/bioconductor-bsgenome.dmelanogaster.ucsc.dm2.masked/post-link.sh | Shell | mit | 1,612 |
#!/bin/sh
# Setup script for OSSEC UI
# Author: Daniel B. Cid <dcid@ossec.net>
# Finding my location
LOCAL=`dirname $0`;
cd $LOCAL
PWD=`pwd`
ERRORS=0;
# Looking for echo -n
ECHO="echo -n"
hs=`echo -n "a"`
if [ ! "X$hs" = "Xa" ]; then
ls "/usr/ucb/echo" > /dev/null 2>&1
if [ $? = 0 ]; then
ECHO="/usr/... | TheDarren/ossecweb-stanford | webui/setup.sh | Shell | mit | 1,824 |
#!/bin/bash
FN="IlluminaHumanMethylation450kprobe_2.0.6.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/annotation/src/contrib/IlluminaHumanMethylation450kprobe_2.0.6.tar.gz"
"https://bioarchive.galaxyproject.org/IlluminaHumanMethylation450kprobe_2.0.6.tar.gz"
"https://depot.galaxyproject.org/software/... | bioconda/recipes | recipes/bioconductor-illuminahumanmethylation450kprobe/post-link.sh | Shell | mit | 1,419 |
#!/bin/sh
srcdir=${srcdir:-.}
oIFS="$IFS"
IFS='
'
secno=0
testno=0
comment=0
ecode=0
test -f ${srcdir}/cql2xcqlsample || exit 1
test -d cql || mkdir cql
for f in `cat ${srcdir}/cql2xcqlsample`; do
if echo $f | grep '^#' >/dev/null; then
comment=1
else
if test "$comment" = "1"; then
secno=`expr $secno + 1`
t... | ysuarez/Evergreen-Customizations | yaz-4.2.32/test/test_cql2xcql.sh | Shell | gpl-2.0 | 1,044 |
#!/bin/bash
prog="valgrind -q ../src/pedis"
samples=../support_files/samples/*
n=0
err=0
for sample in $samples; do
echo -e "\n$sample"
func=$(../src/readpe -f csv -h optional "$sample" | grep Entry | cut -d, -f2)
for format in text csv xml html; do
$prog -f $format -F $func $sample || let err++
done
let ... | diogoleal/pev | tests/valgrind_pedis.sh | Shell | gpl-3.0 | 383 |
#!/bin/sh
# Ensure that md5sum prints each checksum atomically
# so that concurrent md5sums don't intersperse their output
# Copyright (C) 2009-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... | andreas-gruenbacher/coreutils | tests/misc/md5sum-parallel.sh | Shell | gpl-3.0 | 1,206 |
#!/bin/bash
# Copyright (C) 2017 Red Hat, 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 agr... | jimmidyson/minishift | docs/docker-entrypoint.sh | Shell | apache-2.0 | 999 |
#!/bin/bash
# Copyright © 2016-2017 Zetok Zalbavar <zetok@openmailbox.org>
# Copyright © 2019 by The qTox Project Contributors
#
# This file is part of qTox, a Qt-based graphical interface for Tox.
# qTox is libre software: you can redistribute it and/or modify
# it under the terms of the GNU General Public ... | sudden6/qTox | windows/qtox-nsi-version.sh | Shell | gpl-3.0 | 1,497 |
#!/usr/bin/env bash
if [[ ${RUN_PHPCS} == 1 ]]; then
CHANGED_FILES=`git diff --name-only --diff-filter=ACMR $TRAVIS_COMMIT_RANGE | grep \\\\.php | awk '{print}' ORS=' '`
IGNORE="tests/cli/,apigen/,includes/gateways/simplify-commerce/includes/,includes/libraries/,includes/api/legacy/"
if [ "$CHANGED_FILES" != "" ];... | DevinWalker/woocommerce | tests/bin/phpcs.sh | Shell | gpl-3.0 | 440 |
#!/usr/bin/env bash
# find voltdb binaries
if [ -e ../../bin/voltdb ]; then
# assume this is the examples folder for a kit
VOLTDB_BIN="$(dirname $(dirname $(pwd)))/bin"
elif [ -n "$(which voltdb 2> /dev/null)" ]; then
# assume we're using voltdb from the path
VOLTDB_BIN=$(dirname "$(which voltdb)")
els... | deerwalk/voltdb | examples/geospatial/run.sh | Shell | agpl-3.0 | 2,791 |
#! /bin/sh
#
# Copyright (c) 2015 Red Hat.
#
# 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 version.
#
# This program is dist... | aeg-aeg/pcpfans | src/pcp/shping/pcp-shping.sh | Shell | lgpl-2.1 | 3,534 |
#!/bin/bash
set -e
################################################################################
# A script for building all the examples.
################################################################################
# run all the example sbt builds
for directory in $( ls -d */ ); do
cd $directory && sbt cle... | joecwu/finatra | examples/build-all.sh | Shell | apache-2.0 | 430 |
#!/bin/bash
# Copyright (c) 2010, 2013, 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 F... | RedlineResearch/OpenJDK8 | nashorn/bin/verbose_octane.sh | Shell | gpl-2.0 | 2,387 |
#!/bin/bash
source ../test_base
export DEV_GRAPHICS="-vga std"
make SERVICE=Test FILES=vga.cpp
start Test.img "VGA: Verify that the service starts test"
make SERVICE=Test FILES=vga.cpp clean
| ingve/IncludeOS | test/hw/integration/vga/test.sh | Shell | apache-2.0 | 192 |
#!/usr/bin/env bash
set -e
export INTEGRATION_ROOT=./integration-tmp
export TMPC_ROOT=./integration-tmp/tmpc
declare -A cmap
trap "cleanup_containers" EXIT SIGINT
function cleanup_containers() {
for c in "${!cmap[@]}";
do
docker stop $c 1>>${INTEGRATION_ROOT}/test.log 2>&1 || true
if [ -z "$CIRCLECI" ]; ... | pyakpyak/libnetwork | test/integration/dnet/run-integration-tests.sh | Shell | apache-2.0 | 8,333 |
if [[ $('uname') == 'Linux' ]]; then
local _sublime_linux_paths > /dev/null 2>&1
_sublime_linux_paths=(
"$HOME/bin/sublime_text"
"/opt/sublime_text/sublime_text"
"/opt/sublime_text_3/sublime_text"
"/usr/bin/sublime_text"
"/usr/local/bin/sublime_text"
"/usr/bin/sub... | linjk/oh-my-zsh | plugins/sublime/sublime.plugin.zsh | Shell | mit | 2,014 |
#!/bin/sh
# Rooms and Floors example
CEP=localhost:8080
. ../common.sh
# Send an updateContext request with Room temp
function sendRoomTemp() #(url, floor, room, value)
{
payload='{
"contextElements": [
{
"type": "Room",
"isPattern": "false",
"id": "'$3'",
"attributes": [
{
"na... | IOTHUB-F4I/IoThub | fiware-cepheus/doc/examples/RoomsAndFloorsExample/run.sh | Shell | gpl-3.0 | 1,165 |
#!/bin/zsh
setopt extended_glob
echo '
// Copyright 2015 go-swagger maintainers
//
// 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
//
// U... | Dataman-Cloud/drone | vendor/github.com/go-swagger/go-swagger/hack/add-license.sh | Shell | apache-2.0 | 849 |
sed -i.bak 's/INCLUDEPATHS= \\/INCLUDEPATHS?= \\/g' $ROOTPATHSH/src/makefile.mingw
sed -i.bak 's/LIBPATHS= \\/LIBPATHS?= \\/g' $ROOTPATHSH/src/makefile.mingw
sed -i.bak 's/USE_UPNP:=-/USE_UPNP?=-/g' $ROOTPATHSH/src/makefile.mingw
sed -i.bak 's,#include <miniupnpc/miniwget.h>,#include <miniwget.h>,g' $ROOTPATHSH/src/ne... | gridcoin/Gridcoin-stake | contrib/easywinbuilder/patch_files.sh | Shell | mit | 1,358 |
#!/usr/bin/env bash
VOLTDB_BIN="$(pwd)/../../../bin"
VOLTDB_BASE=$(dirname "$VOLTDB_BIN")
VOLTDB_LIB="$VOLTDB_BASE/lib"
VOLTDB_VOLTDB="$VOLTDB_BASE/voltdb"
LOG4J="$VOLTDB_VOLTDB/log4j.xml"
CLASSPATH=$({ \
\ls -1 "$VOLTDB_VOLTDB"/voltdb-*.jar; \
\ls -1 "$VOLTDB_LIB"/*.jar; \
\ls -1 "$VOLTDB_LIB"/extension/*... | anhnv-3991/VoltDB | tests/test_apps/voter-adhoc/run.sh | Shell | agpl-3.0 | 2,171 |
#!/bin/sh
set -ex
mkdir /usr/local/mips-linux-musl
# originally from
# https://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/
# OpenWrt-Toolchain-ar71xx-generic_gcc-5.3.0_musl-1.1.16.Linux-x86_64.tar.bz2
URL="https://ci-mirrors.rust-lang.org/rustc"
FILE="OpenWrt-Toolchain-ar71xx-generic_gcc-5.3.0_musl-1.1.16.L... | aidancully/rust | src/ci/docker/host-x86_64/dist-various-1/install-mips-musl.sh | Shell | apache-2.0 | 545 |
#!/usr/bin/env bash
#
# Zinc, the bare metal stack for rust.
# Copyright 2014 Matt Coffin <mcoffin13@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/l... | phil-opp/zinc | support/build-examples.sh | Shell | apache-2.0 | 722 |
source_sh ${srcdir}/emulparams/elf32ppc.sh
source_sh ${srcdir}/emulparams/elf_fbsd.sh
OUTPUT_FORMAT="elf32-powerpc-freebsd"
| mattstock/binutils-bexkat1 | ld/emulparams/elf32ppc_fbsd.sh | Shell | gpl-2.0 | 126 |
#!/bin/sh
# Copyright (C) 1989-2016 Free Software Foundation, Inc.
# This file is part of GDB.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your o... | freak97/binutils | gdb/common/create-version.sh | Shell | gpl-2.0 | 1,412 |
#!/usr/bin/env bash
#TODO: move this logic into release.hs.
set -xe
BUILD_DIR="$PWD"
cd "$(dirname "$0")/../.."
(cd etc/scripts && stack --install-ghc build)
RELEASE_SCRIPT="$(cd etc/scripts && stack exec which stack-release-script)"
cd "$BUILD_DIR"
"$RELEASE_SCRIPT" --no-test-haddocks release
| AndreasPK/stack | etc/scripts/linux-armv7-release.sh | Shell | bsd-3-clause | 295 |
#!/bin/sh
#
# Copyright (c) 2015 Matt Bell
# MIT Licensed; see the LICENSE file in this repository.
#
test_description="Test get command"
. lib/test-lib.sh
test_init_ipfs
test_ipfs_get_flag() {
ext="$1"; shift
tar_flag="$1"; shift
flag="$@"
test_expect_success "ipfs get $flag succeeds" '
ip... | ForrestWeston/go-ipfs | test/sharness/t0090-get.sh | Shell | mit | 2,896 |
# The folder containing this script
export TOOLS=`dirname $0`
export TRUNK=`cd $TOOLS/..; pwd`
# Global variables needed later
export MODE=release
export DEBUGGABLE_FLAG=false
export DEBUG_FLAG=0
export ANDROID_NDK=$TRUNK/sdks/android-ndk
export ANDROID_SDK=$TRUNK/sdks/android-sdk
# Local variables
export SRCROOT=$1... | thierrydouez/livecode | tools/build-extension-android.sh | Shell | gpl-3.0 | 1,575 |
#!/bin/bash
if [ $# -lt 1 ]; then
echo "Usage: $0 tag" >/dev/stderr
exit 1
fi
TAG=$1
docker push quay.io/coreos/flannel:$TAG
| kelcecil/flannel | dist/publish.sh | Shell | apache-2.0 | 130 |
#!/bin/sh
#~ Copyright 2002-2005 Rene Rivera.
#~ Distributed under the Boost Software License, Version 1.0.
#~ (See accompanying file LICENSE_1_0.txt or copy at
#~ http://www.boost.org/LICENSE_1_0.txt)
# Reset the toolset.
BOOST_JAM_TOOLSET=
# Run a command, and echo before doing so. Also checks the exit status and ... | NixaSoftware/CVis | venv/bin/tools/build/v2/engine/build.sh | Shell | apache-2.0 | 9,306 |
#!/usr/bin/webif-page
<?
. /usr/lib/webif/webif.sh
timeout=60
if empty "$FORM_reboot"; then
reboot_msg="<form method=\"post\" action=\"$SCRIPT_NAME\"><input type=\"submit\" value=\" @TR<<Yes, really reboot now>> \" name=\"reboot\" /></form>"
else
uci_load "network"
router_ip="$CONFIG_lan_ipaddr"
[ -n "$SERVER_PORT... | gwlim/openwrt_mr3420_8M | feeds/xwrt/webif/files/www/cgi-bin/webif/reboot.sh | Shell | gpl-2.0 | 1,193 |
#!/bin/sh
NET=/tmp/net
LOG=$NET/log
SRV_USR=$NET/users
SRV_IPS=$NET/srv_ip
CLI_IPS=$NET/cli_ip
PATH=/sbin:/usr/sbin:$PATH
export PATH
[ -d $NET ] || mkdir -p $NET
rm_entry() {
grep -v "^$1 " $2 > $2.new
mv $2.new $2
}
clear_dev() {
for file in `grep -l "^$1 " $NET/*`; do
rm_entry $1 $file
done
}
#... | sxx1314/openwrt-test | feeds/xwrt/webif-vpn/files/etc/functions-net.sh | Shell | gpl-2.0 | 4,691 |
#!/bin/sh
#
# Copyright (c) 2011, 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 Fre... | FauxFaux/jdk9-jdk | test/java/net/URLClassLoader/closetest/build2.sh | Shell | gpl-2.0 | 1,844 |
#!/bin/bash
# Script that requires one parameter to run
BASE=$(cd $(dirname $0); pwd -P)
error() {
cat <<< "$@" 1>&2
exit 1
}
[[ $# == 0 ]] && error "Usage: $(basename $0) <something>"
printf "Running with %s.\n" "$1"
| jotham/bash-fragments | simple-template.sh | Shell | isc | 229 |
#!/bin/sh
coq_compile()
{
echo "coqc: $1" 1>&2
coqc -opt "$1"
if [ $? -ne 0 ]
then
exit 1
fi
}
grep -n 'Admitted' *.v
case $? in
0) echo "warning: Some Admissions remain" 1>&2 ;;
1) ;;
*) exit 1
esac
grep -n 'admit' *.v
case $? in
0) echo "warning: Some proofs completed with 'admit'" 1>&2 ;;
... | io7m/jvvfs-model2 | build.sh | Shell | isc | 1,345 |
#!/bin/sh
set +h # disable hashall
shopt -s -o pipefail
set -e # Exit on error
PKG_NAME="perl"
PKG_VERSION="5.22.1"
TARBALL="${PKG_NAME}-${PKG_VERSION}.tar.bz2"
SRC_DIR="${PKG_NAME}-${PKG_VERSION}"
function prepare() {
ln -sv "../../source/$TARBALL" "$TARBALL"
}
function unpack() {
tar xf ${TARBALL}
}
... | PandaLinux/pandaOS | phase1/perl/build.sh | Shell | mit | 766 |
#!/bin/sh -xe
mount /dev/mmcblk0p1 /boot
if [ ! -f /boot/uEnv.txt.orig ]; then
cp -p /boot/uEnv.txt /boot/uEnv.txt.orig
fi
echo "optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN" >>/boot/uEnv.txt
umount /boot
cp BB-* /lib/firmware/
ln -sf $PWD/../rc.local /etc/
sudo ln -sf $PWD/lcd-ifupdown.sh /etc/networ... | KnCMiner/knc-asic | system/install.sh | Shell | mit | 735 |
#!/bin/bash
source ${TESTS_DIR}/functions.sh
CURRENT_REPOSITORIES_JSON=${TESTS_DIR}/files/repositories.json
cp ${CURRENT_REPOSITORIES_JSON} settings/repositories.json
trash *7z
touch afisync.log
xvfb-run ./AFISync &
while [ ! -f *7z ]; do
sleep 2
done
kill_and_wait
if [ -f core* ]; then
echo -e "\e[31m$1Core... | haikion/afi-sync | afi-sync-tests/bash-tests/log-rotate.sh | Shell | mit | 361 |
#!/bin/bash
alias g='git'
alias gb='git branch -vv'
alias gbr='git branch -vv -r'
alias gs='g status --untracked-files=no'
alias gsa='g status'
alias gsaa='g status --untracked-files=all'
alias gd='git diff'
alias gfa='g fetch --all'
alias gfat='gfa --tags'
alias gfap='gfa --prune --tags'
alias gp='git pull'
alias gr=... | BenWhitehead/.dotfiles | fs/home/user/.bash/alias/git.bash | Shell | mit | 373 |
#!/bin/sh
# run codepainter on source files
# https://github.com/jedmao/codepainter
# then hand edit { spaces_inside_curly_brackets }
cd ../src
codepaint xform -j ../build/glif-codepainter.json "**/*.js"
cd ../build
| gschorno/glif | build/pretty.sh | Shell | mit | 220 |
#!/usr/bin/env bash
upload_url='https://uploads.github.com/repos/dirkraft/ash/releases/3238640/assets'
asset_file=$1
asset_name=$(basename $asset_file)
curl --silent \
--header "Authorization: token ${GITHUB_TOKEN}" \
--header "Content-Type: application/octet-stream" \
"${upload_url}?name=${asset_name}" \
--d... | dirkraft/ash | scripts/publish-dev.sh | Shell | mit | 355 |
#!/bin/bash
set -e
export CFLAGS="-I${SANDBOX}/include/libxml2 ${CFLAGS}"
export CPPFLAGS="-I${SANDBOX}/include/libxml2 ${CPPFLAGS}"
${SRCDIR}/configure --build=x86_64-unknown-linux-gnu --host=${PREFIX} --prefix=${OUTPUT} \
--enable-static --with-libxml-prefix=${SANDBOX} \
--with-libxml-include-prefix=${SAND... | ericwlange/hemroid | packages/libxslt/build_android.sh | Shell | mit | 434 |
# Only difference between this and testsuite.sh is the timeout time is very large here.
allPassed=1
cd "examples"
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
for file in $(ls -1 *.tex); do
printf "$file"
out=( $( ( /usr/bin/timeout 100 /usr/bin/time -f %e pdflatex --quiet $file 2>&1; echo $? ) | t... | sanathdevalapurkar/algtop-notes | compileexamples.sh | Shell | mit | 698 |
#SQL:
#select id from article_live where
#big_picture_id is null and picture_id is null and
#id in (
# SELECT tlc.CONTENT_ID
# FROM tag_to_live_content tlc
# WHERE tlc.TAG_ID = 24364
# INTERSECT
# SELECT tlc.CONTENT_ID
# FROM tag_to_live_content tlc
# WHERE tlc.TAG_ID = 19805
#)
#and id not in (
#select article_id fro... | guardian/flex-content-migrator | scripts/article/first100_stageReviews.sh | Shell | mit | 3,090 |
#!/usr/bin/env bash
# Waking up herokuapp
curl $BACKOFFICE_URL > /dev/null
if [ "$CI_BRANCH" == "master" ]; then
gradle clean bintrayUpload
fi
# ARTIFACTS:
# ARTIFACT build/libs
#
# ENVIRONMENT VARIABLES:
# BACKOFFICE_URL https://backoffice -qa.kushkipagos.com/ | Kushki/kushki-java | pipeline/03-distribute.sh | Shell | mit | 266 |
#!/usr/bin/env bash
# Keep my .ssh stuff private.
chmod 700 "${HOMESICK}/bashrc/home/.ssh"
case ${PLATFORM} in
darwin)
# Setup ssh stuff.
if [[ -z ${SSH_AUTH_SOCK} ]]; then
ssh-add -K
else
echo "SSH agent using key in OSX keychain."
fi
;;
*)
# Setup ssh agent.
if [[ -z ${SSH... | dougborg/bashrc | home/.bashrc.d/topics/ssh.sh | Shell | mit | 547 |
#!/bin/sh
erlc proxy.erl && erl -noshell -s proxy $@
| itplanes/proxy | proxy.sh | Shell | mit | 54 |
#!/usr/bin/env bash
shopt -s -o pipefail
set -e # Exit on error
PKG_NAME="diffutils"
PKG_VERSION="3.7"
TARBALL="${PKG_NAME}-${PKG_VERSION}.tar.xz"
SRC_DIR="${PKG_NAME}-${PKG_VERSION}"
LINK="http://ftp.gnu.org/gnu/$PKG_NAME/$TARBALL"
function showHelp() {
echo -e "-------------------------------------------------... | PandaLinux/base-64 | temp-system/diffutils/build.sh | Shell | mit | 1,225 |
exec file -m ../magic data/* | sort | diff -u -w - <(sort data.out)
| enlnt/kdb-magic | test/check.sh | Shell | mit | 68 |
#header "Adjusting file descriptors limit, if necessary"
#FILE_DESCRIPTOR_LIMIT=$( ulimit -n )
#if [ $FILE_DESCRIPTOR_LIMIT -lt 512 ]
#then
# info "Increasing file description limit to 512"
# ulimit -n 512
#fi
dotnet --info
dotnet restore
dotnet test test/MR.Augmenter.Tests/MR.Augmenter.Tests.csproj -f netcoreapp2.0
d... | mrahhal/MR.Augmenter | build.sh | Shell | mit | 420 |
#!/bin/bash
VERSION=0.0.1
usage () {
echo "usehowdy [-hV]"
echo
echo "Options:"
echo " -h|--help Print this help dialogue and exit"
echo " -V|--version Print the current version and exit"
}
require() {
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source ${SCRIPTDIR}/deps/$1.sh... | thoward/usehowdy | usehowdy.sh | Shell | mit | 687 |
#!/bin/bash
waitpid(){
pid=$1
while kill -0 "$pid" 2> /dev/null; do
sleep 0.5
done
}
BREAK_TIME=4
ACK_TIME=2
for mask in "raspi_mon_sys/MainMonitoringSystem.py" "raspi_mon_sys/OpenEnergyMonitor.py" "raspi_mon_sys/PlugwiseMonitor.py" "raspi_mon_sys/MailLoggerServer.py"; do
pid=$(pgrep -n -f "py... | ESAI-CEU-UCH/raspi-monitoring-system | stop.sh | Shell | mit | 654 |
export PORT=8088
./aurora-demo
| gernest/aurora-demo | run.sh | Shell | mit | 31 |
#!/bin/bash
set -euo pipefail
HELM_DOCS_VERSION="1.5.0"
# install helm-docs
curl --silent --show-error --fail --location --output /tmp/helm-docs.tar.gz https://github.com/norwoodj/helm-docs/releases/download/v"${HELM_DOCS_VERSION}"/helm-docs_"${HELM_DOCS_VERSION}"_Linux_x86_64.tar.gz
tar -xf /tmp/helm-docs.tar.gz hel... | joeferner/redis-commander | .github/helm-docs.sh | Shell | mit | 377 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.