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 |
|---|---|---|---|---|---|
#!/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. T... | mtunique/flink | tools/travis_mvn_watchdog.sh | Shell | apache-2.0 | 13,805 |
#!/bin/bash
set -e
cd "$(dirname "$0")"
if [[ ! -d venv ]]; then
echo "venv not initialized!" >& 2
exit 1
fi
CONFIG_PATH="$1"
source venv/bin/activate
./godaddy-dyndns.py --config "$CONFIG_PATH"
| jason-bean/docker-godaddy-dyndns | image/godaddy-dyndns/godaddy-dyndns.sh | Shell | apache-2.0 | 208 |
#!/bin/bash
if [ "$#" -ne 2 ]; then
echo "Usage: ./create_cluster.sh bucket-name region"
exit
fi
PROJECT=$(gcloud config get-value project)
BUCKET=$1
REGION=$2
INSTALL=gs://$BUCKET/flights/dataproc/install_on_cluster.sh
# upload install file
sed "s/CHANGE_TO_USER_NAME/$USER/g" install_on_cluster.sh > /tmp/... | GoogleCloudPlatform/training-data-analyst | quests/data-science-on-gcp-edition1_tf2/06_dataproc/create_cluster.sh | Shell | apache-2.0 | 748 |
#!/bin/bash
currentChangeSetContains() {
results=`git diff --name-only HEAD~1`
contains=false
# Turn on for case-insensitive matching
# shopt -s nocasematch
for i in "$results"
do
:
if [[ ("$i" =~ $1) || "${TRAVIS_COMMIT_MESSAGE}" =~ "[force build]" ]]; then
... | robertoschwald/cas | ci/functions.sh | Shell | apache-2.0 | 1,208 |
#!/bin/bash
# Copyright 2017 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 ... | w9n/cri-containerd | test/e2e_node/build.sh | Shell | apache-2.0 | 1,861 |
#!/bin/bash
#
# Restore a snapshot
# Configuration
REPO=dbmiannotator-elastic-snapshot # Name of snapshot repository
HOST=$1
PORT=$2
SNAPSHOT=$3
if [[ -z $HOST || -z $PORT || -z $SNAPSHOT ]]; then
echo "Usage: bash elastic-restore.sh <hostname> <port> <snapshot name>"
echo "ex. bash elastic-restore.sh localh... | dbmi-pitt/dbmi-annotator | backup-program/elastic-restore.sh | Shell | apache-2.0 | 673 |
BUCKETNAME=alpha.droneshare.com
export AWS_DEFAULT_PROFILE=3dr
aws s3 mb s3://$BUCKETNAME
aws s3 sync --delete dist s3://$BUCKETNAME
# AngularJS applications prefer to get back index.html for any bad links
cat >s3website.json <<EOF
{
"IndexDocument": {
"Suffix": "index.html"
},
"RoutingRules": [
{
... | bernese/droneshare | deploy-to-s3.sh | Shell | apache-2.0 | 1,001 |
#!/bin/bash
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | grafeas/kritis | hack/linter.sh | Shell | apache-2.0 | 1,063 |
#!/bin/bash
set -e
rm -rf bazel-bin/tools
read -ra BAZEL_BUILD_OPTIONS <<< "${BAZEL_BUILD_OPTIONS:-}"
BAZEL_BUILD_OPTIONS+=("--remote_download_outputs=all")
TOOLS="$(dirname "$(dirname "$(realpath "$0")")")"
# to satisfy dependency on run_command
export PYTHONPATH="$TOOLS"
# protoxform fix test cases
PROTO_TARGETS... | envoyproxy/envoy-wasm | tools/protoxform/protoxform_test.sh | Shell | apache-2.0 | 1,558 |
#!/bin/bash
# Copyright 2020 The XLS Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | google/xls | xls/tools/package_bazel_build_testdata/bazel-bin/package_test.runfiles/c/copied_dep.sh | Shell | apache-2.0 | 620 |
# 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 may not u... | michaelhkw/incubator-impala | bin/set-pythonpath.sh | Shell | apache-2.0 | 1,800 |
#!/bin/bash -e
DATA_DIR=data/dqa_parts_v1/
SCRIPT_DIR=experiments/dipart/scripts/preprocess/
RAW_ANNOTATIONS=$DATA_DIR/annotation.json
IMAGE_DIR=$DATA_DIR/
# SYNTACTIC_NGRAMS=~/Desktop/syntactic_ngrams/
DIAGRAM_SIZE_OUTPUT=$DATA_DIR/diagram_sizes.txt
OUTPUT=$DATA_DIR/diagrams.json
# NGRAM_OUTPUT=$DATA_DIR/syntactic_n... | jayantk/pnp | experiments/dipart/scripts/preprocess/preprocess_diagram_annotations.sh | Shell | apache-2.0 | 2,439 |
#!/bin/bash
# converts pretty-space formatted treceval and galagoeval format into tab-separated format - to be used as inputs for minir-plots
awk -v OFS="\t" ' { print $2, $1 ,$3; } ' $1 | laura-dietz/minir-plots | treceval2minir.sh | Shell | apache-2.0 | 188 |
#!/usr/bin/env bash
MASON_NAME=wagyu
MASON_VERSION=0.1.0
MASON_HEADER_ONLY=true
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://github.com/mapbox/wagyu/archive/${MASON_VERSION}.tar.gz \
fd8197ef6258338683b0fe583dca7b0957b98339
mason_extract_tar_gz
export MA... | hydrays/osrm-backend | third_party/mason/scripts/wagyu/0.1.0/script.sh | Shell | bsd-2-clause | 618 |
#!/bin/bash
# Usage: ./bin/add-package.sh namespace PackageName http://git-repository
set -e
repo=$1
name=$2
src=$3
if [ -z "$repo" ]; then
echo "You need to supply a repository name"
exit 1
fi
if [ -z "$name" ]; then
echo "You need to supply a package name"
exit 1
fi
if [ -z "$src" ]; then
echo "You need... | andersevenrud/OS.js-v2 | bin/add-package.sh | Shell | bsd-2-clause | 765 |
#!/bin/bash
HIGU_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )"
DATA_DIR="$HIGU_DIR/test/data"
WORK_DIR="$( mktemp -d )"
export PYTHONPATH="$WORK_DIR/lib"
export MKDB_LIB_PATH="$WORK_DIR/lib.db"
clean() {
rm -f *.png
rm -f lib/*.pyc
rm -rf $MKDB_LIB_PATH
git checkout .
}
load() {
... | hakuya/higu | test/build_legacy_dbs.sh | Shell | bsd-2-clause | 1,666 |
#!/bin/bash
ROOT=$(dirname $0)
# Get RKQC path
export RKQC_PATH=${ROOT}/rkqc
if [ $(echo $PATH | grep ${RKQC_PATH} | wc -l) -eq 0 ]; then
export PATH=$PATH:$RKQC_PATH
fi
function show_help {
echo "Usage: $0 [-hv] [-rqfRTFckdso] [-l #] [-P #] [-D <pass_name>] <filename>.scaffold [args]*"
echo " -r Gene... | epiqc/ScaffCC | scaffold.sh | Shell | bsd-2-clause | 4,211 |
#!/bin/bash
#
# extactSamFromSam.sh
#
# extract SAM reads corresponding to a SAM header file from another SAM reference file and writes to
# SAM output file
# Chiu Laboratory
# University of California, San Francisco
# 3/15/2014
#
# Copyright (C) 2014 Charles Y Chiu - All Rights Reserved
# SURPI has been relea... | chiulab/surpi | extractSamFromSam.sh | Shell | bsd-2-clause | 1,992 |
#!/bin/bash
#bandwidth allocation experiments
### coefficients from guard relays on 1/1/13, cf network_analysis.py
### a = 299.45192815560563
### b = 1104612.6683457776
### r_squared = 0.74124917207592156
### coefficients from exit relays 1/13-3/13, cf network_analysis.py
### a = 215.85762129136413
### b = 1010231.1... | multicastTor/multicastTor | torps/run_simulations_guard_exit_bw.sh | Shell | bsd-3-clause | 2,355 |
#!/bin/sh
cabal-dev install -f highlighting pandoc
cabal-dev install --only-dependencies
| MasseR/Blog | installdeps.sh | Shell | bsd-3-clause | 90 |
rm -rf packed
mkdir packed
cp index.html packed
mkdir packed/css
mkdir packed/app
cp css/* packed/css
node ../../tools/iris_packager.js base='app/' output='packed/app' init='app/init.js' ext="html,js,css" input="css"
| thegameofcode/iris | examples/todo-list/packager.sh | Shell | bsd-3-clause | 219 |
#! /bin/sh
PROJECT_ROOT=../../..
. $PROJECT_ROOT/common/config.sh
./SortingWithSelectorPerformance.bin ${1+"$@"}
| sck/oobench | Objective-C/Foundation/Collections/Sorting/bench.sh | Shell | bsd-3-clause | 114 |
#!/usr/bin/env bash
set -u #Detect undefined variable
set -o pipefail #Return return code in pipeline fails
# IFS=$'\n\t' #used in loop, Internal Field Separator
#Official Site: https://www.torproject.org/projects/torbrowser.html
#Verify Signature: https://www.torproject.org/docs/verifying-signatures.html
#Target: A... | MaxdSre/ShellScript | assets/software/TorBrowser.sh | Shell | bsd-3-clause | 23,131 |
#!/bin/bash
# Bucket location
export AWS_S3_BUCKET="YourBucket/install"
export AWS_DEFAULT_REGION=eu-central-1
# Download the files from S3
echo "Downloading install files" >> /home/ec2-user/log.txt
aws s3 cp --region $AWS_DEFAULT_REGION s3://$AWS_S3_BUCKET/install/install-unrealircd.sh /home/ec2-user/install-unreali... | codetalkio/AWS-IRC-Setup | initec2.sh | Shell | bsd-3-clause | 1,154 |
#setup git
git config --global user.email "s3562412@student.rmit.edu.au"
git config --global user.name "Loy Larvin"
#clone the docker repository
git clone --quiet --branch=master https://larvinloy:$GITHUB_API_KEY@github.com/larvinloy/docker-dareon
#go into directory and copy data we're interested
rm -f docker-da... | dareon-org/dareon | upload-jar.sh | Shell | bsd-3-clause | 586 |
SERVICE_COMMAND="${SYNOPKG_PKGDEST}/bin/syncthing -home=${SYNOPKG_PKGVAR}"
SVC_BACKGROUND=y
SVC_WRITE_PID=y
GROUP="sc-syncthing"
service_prestart ()
{
# Read additional startup options from /usr/local/syncthing/var/options.conf
if [ -f ${SYNOPKG_PKGVAR}/options.conf ]; then
. ${SYNOPKG_PKGVAR}/options... | Zetten/spksrc | spk/syncthing/src/service-setup.sh | Shell | bsd-3-clause | 492 |
#!/bin/bash
docco -t assets/docco/pagelet.jst -c assets/docco/docco.less \
-o assets/docco/generated \
source/start.js \
source/controllers/PanelsController.js \
source/controllers/EditorController.js \
source/controllers/FilesController.js \
source/models/collections/RollerCollection.js \
... | soapdog/ffos-enyo-bootplate-mvc-app | gendocs.sh | Shell | bsd-3-clause | 853 |
#!/bin/bash
#
# ======= TEMPLATE GAMS-CPLEX Header ========
# No printf parameters
#
# Simple BASH script to run and time a series of GAMS jobs to compare the run
# time of binary vs clustered unit commitment both with and without capacity
# expansion decisions
#
# To actually submit the job use:
# qsub SCRIPT_NA... | bpalmintier/mepo | models/config/ercot_yr_6.sh | Shell | bsd-3-clause | 12,071 |
#!/bin/bash
# this script downloads the reference genome of Plasmodium falciparum from the Sanger centre
wget -O ../data/Pf3D7_v2.1.5.fasta ftp://ftp.sanger.ac.uk/pub/project/pathogens/Plasmodium/falciparum/3D7/3D7.version2.1.5/Pf3D7_v2.1.5.fasta
| dmlond/arangs2015 | bin/download_plasmodium_reference.sh | Shell | mit | 248 |
#!/bin/bash
if [[ "${CI}" == 'true' && "${TRAVIS}" == 'true' ]]; then
echo "Objective-Clean will not be executed on Travis"
exit 0
fi
if [[ -z "${SKIP_OBJCLEAN}" || "${SKIP_OBJCLEAN}" != 1 ]]; then
if [[ -d "${LOCAL_APPS_DIR}/Objective-Clean.app" ]]; then
"${LOCAL_APPS_DIR}"/Objective-Clean.app/Co... | vokal/Xcode-Template | Vokal-ObjC.xctemplate/Scripts/Objective_Clean_Run_Script.sh | Shell | mit | 612 |
#!/bin/bash
# Sets up various stuff in Docker Container: database and Plugins
echo "START /configure.sh"
source /venv/bin/activate .
# Make sure PYTHONPATH includes GeoHealthCheck
export PYTHONPATH=/GeoHealthCheck/GeoHealthCheck:$PYTHONPATH
# Determine database type from DB URI
DB_TYPE=$(echo ${SQLALCHEMY_DATABASE_... | geopython/GeoHealthCheck | docker/scripts/configure.sh | Shell | mit | 2,001 |
#!/bin/bash
# add's --date=relative to git-log
git config --global log.date relative
| marado/aliases.sh | generic/git-config-log-date-relative.sh | Shell | mit | 85 |
# ----------------------------------------------------------------------------
# http://www.itautrade.com.br e http://www.bovespa.com.br
# Busca a cotação de uma ação na Bovespa.
# Obs.: As cotações têm delay de 15 min em relação ao preço atual no pregão
# Com a opção -i, é mostrado o índice bovespa
# Uso: zzbove... | funcoeszz/funcoeszz | off/zzbovespa.sh | Shell | gpl-2.0 | 1,445 |
#!/usr/bin/env bash
#
#
source `dirname $0`/common.sh
TEST_CASE="ATOS acf cold options"
config_query() {
$ROOT/bin/atos lib config -u -t -q $*
}
cat > build.sh <<EOF
gcc -c $SRCDIR/examples/sha1-c/sha.c -o sha.o
gcc -c $SRCDIR/examples/sha1-c/sha1.c -o sha1.o
gcc -o sha1-c sha.o sha1.o
EOF
cat > ./oprof.in <<E... | knochelh/atos-utils | tests/test113.sh | Shell | gpl-2.0 | 2,011 |
#!/bin/sh
# Fix permissions of files
chown www-data:www-data -R /var/www
# Remove the default apache index file
rm -f /var/www/html/index.html
# Enable services
service apache2 start
service mysql start
# Enable SSH - Insecure Key! - For development only
/sbin/my_init --enable-insecure-key
# Show the access log
ta... | OSTraining/alledia-docker-wordpress-installed | run.sh | Shell | gpl-2.0 | 354 |
#!/usr/bin/env bash
# ------------------------------------------------------------------
# Author [Jean Pourroy - jean.pourroy at g_:) _mail.com]
#
# Description: Bash file using to start/stop uncore counters for Skylake Architecture with the lspci command
#
# -----------------------------------------------------... | PourroyJean/performance_modelisation | src/tool_PMU/pmu_uncore.sh | Shell | gpl-3.0 | 7,094 |
#!/bin/bash
set -e
#it is quite difficult to set PATH for jenkins-slave started by launchd on OSX.
export PATH=/usr/local/bin:$PATH
source "$(dirname $0)/ci_configure_flags.sh"
export WITHOUT_CAPD_EXAMPLES=true
env
files=(*.tar.gz)
if [ "1" != "${#files[*]}" ]; then
echo "ERROR: Found more than one file"
e... | soonhokong/capd4 | capdMake/utils/ci_release_homebrew.sh | Shell | gpl-3.0 | 944 |
#!/usr/bin/env bash
# Set default values of some useful variables
export VERSION="1.0-beta" # Latest released Dorsal version
export PREFIX=${HOME}/local # Default download/install location
export ORIG_DIR=`pwd` # Store original directory, so we can
# return to it when finished
# Colours for pr... | chaffra/dorsal | utilities/install-fenics.sh | Shell | gpl-3.0 | 3,817 |
sleep 2
pkill -f start_net_mem_cpu_logging.sh
pkill ifstat
| joe42/nubisave | testsuite/scripts/stop_net_mem_cpu_logging.sh | Shell | gpl-3.0 | 59 |
#!/bin/bash
#VERSION="3.0.5"
VERSION="$1"
pushd ~/Library/Audio/Plug-Ins/Components/
zip -r ~/Desktop/ZirkOSC$VERSION.zip ./ZirkOSC3.component
popd
pushd ~/Library/Audio/Plug-Ins/VST/
zip -r ~/Desktop/ZirkOSC$VERSION.zip ./ZirkOSC3.vst
popd
#zip -rj ~/Desktop/ZirkOSC.zip ~/Library/Audio/Plug-Ins/Components/ZirkOS... | GRIS-UdeM/ZirkOSC2 | copyPlugins.sh | Shell | gpl-3.0 | 422 |
#! /bin/sh
### BEGIN INIT INFO
# Provides: shutdownsw.sh
# Required-Start: $local_fs $remote_fs
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Shutdown Switch Monitor
# Description: Push the button then Shutdown Sqeuence be started.
### END INIT INFO... | RaspberryGuardian/raspberrygate_p2.0 | shutdown-button/shutdownsw.sh | Shell | gpl-3.0 | 2,363 |
#! /bin/sh
# Make sure all of these programs work properly
# when invoked with --help or --version.
# Copyright (C) 2000-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... | sreth/sed | testsuite/help-version.sh | Shell | gpl-3.0 | 8,299 |
pwd
version=$(cat jenkins/version.txt)
rm -Rf build
mkdir -p build
cd build
cmake -D BUILD_PYSWIG_WRAPPERS:BOOL=OFF -D BUILD_LUA_WRAPPERS:BOOL=OFF .. || exit 1
make || exit 1
tar -cjf deepcl-linux64-${version}.tar.bz2 --exclude=CMake* --exclude=CMakeFiles --exclude=cmake* --exclude=Makefile --exclude=*.png --exclude=*.... | pimms/DeepCL | jenkins/linux64-cpp.sh | Shell | mpl-2.0 | 327 |
#! /bin/sh -e
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
mm-common-prepare --force --copy "$srcdir"
autoreconf --force --install --warnings=all "$srcdir"
test -n "$NOCONFIGURE" || "$srcdir/configure" --enable-maintainer-mode "$@"
| johne53/MB3Pangomm | autogen.sh | Shell | lgpl-2.1 | 261 |
#! /bin/bash
# -*- OpenSAF -*-
#
# (C) Copyright 2008 The OpenSAF Foundation
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed
# under the G... | kenzaburo/OpenSaf-FrameWork | tests/opensaf_tet_env.sh | Shell | lgpl-2.1 | 1,320 |
#!/usr/bin/env bash
# This script contains only functions that can be used in other bash scripts
function change_shortlink_urlstub() {
# changes port_number in shortlink.urlstub=http://localhost:port_number
sed -i 's/\(shortlink\.urlstub=http:.*:\)\(.*\)/\1'"$1"'/' conf/config.properties
}
| singhpratyush/loklak_server | bin/utility.sh | Shell | lgpl-2.1 | 302 |
# Copyright 2020 The Error Prone Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | google/error-prone | util/generate-latest-docs.sh | Shell | apache-2.0 | 1,915 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); y... | dtrodrigues/nifi-minifi-cpp | linux.sh | Shell | apache-2.0 | 960 |
#!/bin/bash
# Update the DNS server with a record for this host
set -eu
set -x
set -o pipefail
DNS_UPDATE_KEY="%DNS_UPDATE_KEY%"
if [ -z "$DNS_UPDATE_KEY" ]; then
echo "Skipping the DNS update because the key is empty."
exit
fi
if yum info python-dns; then
retry yum -y install python-dns
else
retry ... | redhat-openstack/openshift-on-openstack | fragments/add_dns_record.sh | Shell | apache-2.0 | 682 |
#!/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... | chamikaramj/incubator-beam | sdks/python/run_postcommit.sh | Shell | apache-2.0 | 3,580 |
#!/bin/bash
workingdir=/home/ec2-user
mkdir jettytmp
mkdir eurekaj
cd eurekaj
mkdir logs
mkdir EurekaJData
curl -o eurekaJ.managerServer.zip http://nightly.haagen.name/EurekaJ/latest/eurekaJ.ManagerServer-1.0.2.zip
curl -o run.sh https://raw.github.com/joachimhs/EurekaJ/master/EurekaJ.ManagerServer/run.sh
chmod 755 r... | joachimhs/Montric | Montric.Scripts/setup/setupEurekaJ.sh | Shell | apache-2.0 | 649 |
#!/bin/bash
# Run the python test in the django environment for scisheets
# $1 - file with extension or python path
filename=`echo $1 | sed "s/.py//"`
cur_dir=`pwd`
BASEDIR=$(bash get_basedir.sh)
cd $BASEDIR/mysite
home_dir=`pwd`
null_str=""
rel_dir="${cur_dir/$home_dir/}"
py_path=`echo $rel_dir | sed "s/^\///"`
py_pa... | ScienceStacks/SciSheets | bin/dt.sh | Shell | apache-2.0 | 448 |
#!/bin/sh
setup()
{
rm -f local.properties
rm -rf bin
rm -rf gen
android update project --path . --name MobileTest --target android-15
echo "" >> local.properties
echo "cinder.dir=$CINDER_PATH" >> local.properties
echo "chr.src.dir=$CINDER_PATH/blocks/new-chronotext-toolkit/android/src" >> local.proper... | arielm/new-chronotext-toolkit | samples/MobileTest/android/setup.sh | Shell | bsd-2-clause | 560 |
#!/bin/bash
# configs/teensy/usbmsc/setenv.sh
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributio... | IUTInfoAix/terrarium_2015 | nuttx/configs/teensy/usbmsc/setenv.sh | Shell | bsd-2-clause | 2,526 |
#!/usr/bin/env bash
# vim: sw=2 et
set -euo pipefail
fail() {
echo "ERROR: $*" >&2
exit 1
}
echo 'BUILD_SPHINX_HTML = NO' > mk/validate.mk
echo 'BUILD_SPHINX_PDF = NO' >> mk/validate.mk
hackage_index_state="@1511758800"
cat > mk/build.mk <<EOF
V=1
HADDOCK_DOCS=YES
LATEX_DOCS=YES
HSCOLOUR_SRCS=YES
BUILD_DOCBOOK_H... | ezyang/ghc | .circleci/prepare-system.sh | Shell | bsd-3-clause | 2,097 |
#!/bin/bash
# Caution: This is common script that is shared by more packages.
# If you need to do changes related to this particular collection,
# create a copy of this file instead of symlink.
THISDIR=$(dirname ${BASH_SOURCE[0]})
source ${THISDIR}/../../../common/functions.sh
[ -z "${PGDATA}" ] && exit_fail "Enviro... | hhorak/db-ci-tests | packages/postgresql-common/basic-usage/basic-test.sh | Shell | bsd-3-clause | 862 |
#!/bin/bash
# install system dependencies:
#
# - aspcud for opam (on OS X; installed via apt on Linux)
# - awscli (to talk to AWS)
# - modern node (for yarn and npm)
# - yarn
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
case "$TRAVIS_OS_NAME" in
osx)
printf "travis_fold:start:brew_install\nInstallin... | ylu1317/flow | resources/travis/before_install.sh | Shell | mit | 479 |
#!/bin/sh
# Find legacy docs and frame them
for file in `ls */index.html` ; do
if grep -q ".title ng-bind-template=.UI Router: {{partialTitle}}..Docs..title." $file ; then
if head -n 1 $file | grep -q "^---$" ; then
echo "skipping $file";
else
echo "processing legacy docs: $file";
(echo "---... | ui-router/ui-router.github.io | _react_docs/process_docs.sh | Shell | mit | 1,107 |
#!/bin/sh
tar xf ${PKG_NAME}-*.tar.*
| FreakyPenguin/static-distro | packages/musl/1.1.18/unpack.sh | Shell | mit | 37 |
#!/bin/bash
service mysql stop
rm -rf /var/lib/mysql/*
cp -Rp /var/lib/mysql-old/* /var/lib/mysql
service mysql start | clwdev/precip | shell/migrate-db.sh | Shell | mit | 117 |
#!/usr/bin/env bash
cd "$( dirname "${BASH_SOURCE[0]}" )"
cp ../Assets/slua_src/slua.c luajit-2.1.0/src/
cd luajit-2.1.0
LIPO="xcrun -sdk iphoneos lipo"
STRIP="xcrun -sdk iphoneos strip"
IXCODE=`xcode-select -print-path`
ISDK=$IXCODE/Platforms/iPhoneOS.platform/Developer
ISDKVER=iPhoneOS8.4.sdk
ISDKP=$IXCODE/usr/bin/
... | dayongxie/slua | build/make_ios.sh | Shell | mit | 1,200 |
#!/bin/bash
TIME=`date +\%F-\%T`
echo
echo "######## ${TIME} ########"
echo
# COMBINATION: specify wifi driver build parameter
# CHIP PLATFORM WIFI_MODE
declare -a COMBINATION=("mt7615 PC AP "
"mt7615 PC STA"
"mt7615 MT7621 AP "
"mt7615 MT7621 STA"
"mt7622 MT7622 AP "
... | jchuang1977/openwrt | package/lean/mt/drivers/mt_wifi/src/mt_wifi/embedded/tools/build-check-jedi.sh | Shell | gpl-2.0 | 1,173 |
#!/bin/bash
# check how deep does recursive 'fi du' go, currently it has to stop at
# mountpoint and can continue to subvolumes
source "$TEST_TOP/common"
check_prereq mkfs.btrfs
check_prereq btrfs
setup_root_helper
prepare_test_dev
run_check_mkfs_test_dev
run_check_mount_test_dev
run_check truncate -s 0 img2
run_c... | kdave/btrfs-progs | tests/cli-tests/012-defrag-recursion/test.sh | Shell | gpl-2.0 | 1,670 |
############################################################################
# To test encrypted SST and IST.
############################################################################
. inc/common.sh
node1=1
# node2 will be getting SST
node2=901
ADDR=127.0.0.1
SSTPASS="password"
SUSER="root"
SMDSUM="d35d212fdfe945... | freyes/percona-xtradb-cluster-5.5 | percona-xtradb-cluster-tests/t/xb_galera_sst_encrypted.sh | Shell | gpl-2.0 | 4,021 |
check_sudoer() {
show_msg "Checking sudo access for $user"
if [[ `sudo -l -U "$user" 2>&1 | grep "ALL"` ]]; then
show_status "Sudo access exists"
else
show_dialog --title="Add you to the wheel group?" --text="Adding yourself to wheel group will enable you to perform operations as root with sudo. Do you want $pr... | oaeide/fedy | lib/check_sudoer.sh | Shell | gpl-3.0 | 617 |
#!/bin/bash
# Makes a mashed up JS file containing what's needed to
# run the Espruino code building pipeline
#
# You can then just do:
#
# Espruino.transform(js_code, {
# SET_TIME_ON_WRITE : false,
# PRETOKENISE : true
# }).then(function(code) {
# console.log(code);
# });
#
cd `dirname $0`
cd ..
echo Creating ... | EternityForest/KaithemAutomation | kaithem/data/static/EspruinoWebIDE/extras/create_espruinotools_js.sh | Shell | gpl-3.0 | 2,973 |
#!/bin/sh
test_begin "dash-subt"
do_test "$MP4BOX -add $MEDIA_DIR/auxiliary_files/subtitle.srt -new $TEMP_DIR/file.mp4" "dash-input-preparation"
do_test "$MP4BOX -dash 1500 $TEMP_DIR/file.mp4 -profile live -out $TEMP_DIR/file.mpd" "dash-subt"
do_hash_test $TEMP_DIR/file.mpd "dash-subt-hash-mpd"
do_playback_test "$... | ARSekkat/gpac | tests/scripts/dash-subtitle.sh | Shell | lgpl-2.1 | 366 |
#! /bin/bash
#
# A script to reconfigure Apache so that it serves up Graphite's Web UI.
#
sudo tee /etc/apache2/sites-available/000-default.conf > /dev/null <<CONFIG_EOF
WSGISocketPrefix /var/run/wsgi
<VirtualHost *:80>
ServerAdmin $SERVER_ADMIN_EMAIL
ServerName graphite
DocumentRoot "/opt/gr... | ksclarke/packer-graphite | scripts/configure-apache.sh | Shell | apache-2.0 | 1,542 |
#!/bin/bash
# ------------------------------------------------------------------------
#
# Copyright 2016 WSO2, Inc. (http://wso2.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... | wso2-incubator/mesos-artifacts | wso2cep/undeploy.sh | Shell | apache-2.0 | 1,474 |
#!/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 o... | dchen1107/test-infra | jobs/ci-kubernetes-bazel-build.sh | Shell | apache-2.0 | 1,261 |
# 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 may not use ... | stealthly/go_kafka_client | run-tests.sh | Shell | apache-2.0 | 2,000 |
#!/bin/sh
sleep 0.8
./resource_client 127.0.0.1 2048 1 2600 1 20 &
sleep 1.2
./resource_client 127.0.0.1 2048 1 2100 1 25 &
sleep 1.0
./resource_client 127.0.0.1 2048 1 1600 1 30 &
sleep 0.7
./resource_client 127.0.0.1 2048 1 1100 1 40 &
sleep 1.4
./resource_client 127.0.0.1 2048 1 600 1 60 &
| minjinsong/libcoap-code | resource8/scritps/start_obsv_20.sh | Shell | bsd-2-clause | 300 |
@INCLUDE_COMMON@
echo
echo ELEKTRA SPEC TESTS
echo
check_version
set -x
echo "Test specification get"
ROOT_FILE=spec_tests.ecf
ROOT_MOUNTPOINT=/test/script/spec
if is_plugin_available dump && is_plugin_available list && is_plugin_available sync; then
"$KDB" mount $ROOT_FILE $ROOT_MOUNTPOINT dump 1> /dev/null
su... | mpranj/libelektra | tests/shell/check_spec.sh | Shell | bsd-3-clause | 1,589 |
#!/bin/sh
# $Id$
#
# This script need openssl 0.9.8a or newer, so it can parse the
# otherName section for pkinit certificates.
#
openssl=openssl
gen_cert()
{
keytype=${6:-rsa:1024}
${openssl} req \
-new \
-subj "$1" \
-config openssl.cnf \
-newkey $keytype \
-sha1 \
-nodes \
-keyout out.key \
-out ... | pexip/os-heimdal | lib/hx509/data/gen-req.sh | Shell | bsd-3-clause | 7,482 |
#!/bin/sh
#
# This is an example of a script to run a DOS attack
# in a "secure" environment on a server with
# self-load-balancing option
#
if [ -d examples ] ; then
cd examples
fi
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/
while [ 0 ] ; do
PATH=examples/bin/:../bin/:./bin/:${PATH} turnut... | whatvn/rfc5766-turn-server | examples/scripts/selfloadbalance/secure_dos_attack.sh | Shell | bsd-3-clause | 3,938 |
#!/bin/bash
FN="LRBase.Ath.eg.db_1.2.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/LRBase.Ath.eg.db_1.2.0.tar.gz"
"https://bioarchive.galaxyproject.org/LRBase.Ath.eg.db_1.2.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-lrbase.ath.eg.db/bioconductor-lrbase.... | Luobiny/bioconda-recipes | recipes/bioconductor-lrbase.ath.eg.db/post-link.sh | Shell | mit | 1,328 |
#!/bin/bash
FN="RTCGA.clinical_20151101.16.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/experiment/src/contrib/RTCGA.clinical_20151101.16.0.tar.gz"
"https://bioarchive.galaxyproject.org/RTCGA.clinical_20151101.16.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-rtcga.clinical/bioc... | Luobiny/bioconda-recipes | recipes/bioconductor-rtcga.clinical/post-link.sh | Shell | mit | 1,350 |
#!/bin/bash
FN="hu35ksubbprobe_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/hu35ksubbprobe_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/hu35ksubbprobe_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-hu35ksubbprobe/bioconductor-hu35ksubbpro... | bebatut/bioconda-recipes | recipes/bioconductor-hu35ksubbprobe/post-link.sh | Shell | mit | 1,445 |
#!/bin/bash -e
if [ $(whoami) != "root" ]
then
echo "Please be root."
exit 1
fi
set -x
cd .. && berks vendor ./chef/vendored-cookbooks && cd -
chef-solo --no-fork -c ./solo.rb --environment production -j ./node.json
| mwiencek/listenbrainz-server | chef/provision.sh | Shell | gpl-2.0 | 224 |
#!/bin/sh
LANG=POSIX
TMP_OUTPUT=eng1.txt
TMP_GET_UNC=english.txt
TMP_FINAL=eng2.txt
OUTPUT=english.dict
OUTPUT_SYNTH=english_synth.dict
MORFOLOGIK=morfologik-tools-1.5.4-standalone.jar
rm $TMP_OUTPUT
rm $TMP_GET_UNC
rm $TMP_FINAL
gawk -f filter_out.awk infl.txt part-of-speech.txt| gawk -f remap.awk >penn.txt
cat pen... | danilo04/latextools | languagetools/org/languagetool/resource/en/make-dict-en.sh | Shell | gpl-2.0 | 1,182 |
#! /bin/sh
## Quit immediately an error
set -e
## Build the R package from a github branch.
## We assume that all the build tools, and the
## igraph dependencies are already installed,
## but the R packages we depend on are not.
## If not specified, we build the master branch
branch=${1-master}
## If not specifie... | feeds/igraph | tools/virtual/vagrant/scripts/build-r.sh | Shell | gpl-2.0 | 1,141 |
#!/bin/sh
# Copyright (C) 1999-2006 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
. ${srcdir}/tests/common.shi
${RUNENV} ${MEMCHECK} ... | ipwndev/DSLinux-Mirror | user/imagemagick/src/tests/rwfile_GRAY_pallette.sh | Shell | gpl-2.0 | 364 |
#!/bin/sh
. ../../dttools/test/test_runner_common.sh
. ./parrot-test.sh
. ../../chirp/test/chirp-common.sh
c="./hostport.$PPID"
myp() {
parrot --no-chirp-catalog --timeout=5 --work-dir="/chirp/$hostport/" "$@"
}
prepare()
{
chirp_start local
echo "$hostport" > "$c"
return 0
}
run()
{
hostport=$(cat "$c")
s... | batrick/cctools | parrot/test/TR_parrot_exec_cache.sh | Shell | gpl-2.0 | 868 |
#!/bin/bash
# Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | helinwang/Paddle | demo/sentiment/test.sh | Shell | apache-2.0 | 1,313 |
#!/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... | DaanHoogland/cloudstack | systemvm/debian/opt/cloud/bin/edithosts.sh | Shell | apache-2.0 | 5,502 |
#!/bin/bash
# Copyright 2014 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | chrisleck/kubernetes | cluster/aws/config-default.sh | Shell | apache-2.0 | 5,746 |
#!/bin/bash
# Copyright 2018 The TensorFlow Authors All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required... | googleinterns/wss | third_party/deeplab/datasets/download_and_convert_ade20k.sh | Shell | apache-2.0 | 2,413 |
VERSION=$1
if [ ! "$VERSION" ]; then
echo "usage: $(basename $0) [version]"
exit 1
fi
# edit parent pom.xml
echo "editing parent pom.xml"
echo mvn versions:update-parent "-DparentVersion=[${VERSION}]"
mvn versions:update-parent "-DparentVersion=[${VERSION}]"
echo "Committing changes"
git commit -am "bumping ... | isisaddons/isis-app-neoapp | bumpver_isis.sh | Shell | apache-2.0 | 363 |
#!/bin/bash
##########################################################################
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012
# Vincent C. Passaro (vincent.passaro@gmail.com)
# Shannon Mitchell (shannon.mitchell@fusiontechnology-llc.com)
#
#This program is free software; you can redist... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5/prod/GEN001200.sh | Shell | apache-2.0 | 4,841 |
#!/bin/bash
cp -a $REPO ./build/
${PIP} install -r $REPO/requirements.txt
| universalcore/unicore-hub | sideloader/build.sh | Shell | bsd-2-clause | 76 |
#!/usr/bin/env bash
set -x -e
# Build project
MVN_ARGS="clean package -B -V"
mvn ${MVN_ARGS} -P release,skip-unzip-jdk
| vlsi/pgjdbc-jre6 | travis_build.sh | Shell | bsd-3-clause | 120 |
#!/bin/sh
#
# IMPORTANT: To use, do the folling:
#
# 1. Change 'NAME' variable to the name of your project. E.g. "bednets_for_nigeria"
# 2. Place this file in the TOP-LEVEL of your project, right where 'rapidsms' is
# 3. Link it into /etc/init.d e.g. > ln -s /usr/local/my_project/rapidsms-init.sh /etc/init.d/
# 4. Add... | genova/rapidsms-senegal | dist/debian/rapidsms-init.sh | Shell | bsd-3-clause | 4,510 |
#!/bin/bash
set -e
#currentVersion=android-8.0.0_r36
#currentVersion=android-8.1.0_r22
currentVersion=android-9.0.0_r12
baseDir=`dirname $0`/..
frameworksBaseRepoDir="$HOME/Dev/AOSP/frameworks/base"
function showDiffs2() {
file="$1"
line="$2"
x=$(echo "$line" | sed -e 's/.*https:\/\/android.googlesource.com\... | spotify/robolectric | scripts/update-cpp.sh | Shell | mit | 1,816 |
#!/bin/sh
# Copyright (c) 2006 Karl Hasselström
test_description='Test the mail command'
. ./test-lib.sh
test_expect_success \
'Initialize the StGIT repository' \
'
git config stgit.sender "A U Thor <author@example.com>" &&
for i in 1 2 3 4 5; do
touch foo.txt &&
echo "line $i" >> foo.txt &... | terinjokes/stgit | t/t1900-mail.sh | Shell | gpl-2.0 | 2,615 |
#! /bin/sh
# Copyright (C) 2010-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/libobj16a.sh | Shell | gpl-2.0 | 2,930 |
#!/bin/bash
# Copyright 2016 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | rajdeepd/kubernetes | cluster/gce/gci/configure.sh | Shell | apache-2.0 | 7,746 |
# $NetBSD: t_fsplit.sh,v 1.1 2012/03/17 16:33:11 jruoho Exp $
#
# Copyright (c) 2007 The NetBSD Foundation, 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:
# 1. Redistributions of source co... | veritas-shine/minix3-rpi | tests/bin/sh/t_fsplit.sh | Shell | apache-2.0 | 6,951 |
#!/bin/bash -e
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# dis... | thinker0/aurora | examples/vagrant/aurorabuild.sh | Shell | apache-2.0 | 3,510 |
#!/bin/bash
# This script is meant to be called by the "script" step defined
# in the ".travis.yml" file. While this step is forbidden by the
# continuous deployment jobs, we have to execute the scripts for
# testing the continuous integration jobs.
if [[ $BUILD_WHEEL != true ]]; then
# This trick will make Travi... | sergeyf/scikit-learn | build_tools/travis/script.sh | Shell | bsd-3-clause | 496 |
[ "$FREETZ_ADD_REGEXT_GUI" == "y" ] || return 0
echo1 "adding GUI switch to set reg_from_outside"
SEARCHSTR='-name fon_config_End.[f|h|j]* -o -name fon_config.frm -o -name fon_config_IPPhone_1.[j|h]*'
isFreetzType 7240 7270 7390 && SEARCHSTR="$SEARCHSTR"' -o -name fon1IPPhone*'
for file_n in $(find ${FILESYSTEM_MOD... | bs-github/freetz | patches/scripts/550-add_reg_external_in_gui.sh | Shell | gpl-2.0 | 2,969 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.