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
source common.sh
echo "Precompiling templates"
python -c \
"from dpxdt.server import app; \
app.jinja_env.compile_templates(
'./deployment/appengine/templates_compiled.zip')"
echo "Starting deployment"
appcfg.py update ./deployment/appengine
| mabushadi/dpxdt | appengine_deploy.sh | Shell | apache-2.0 | 274 |
#!/bin/sh
python3 setup.py register sdist upload
| oxo42/FpTest | release.sh | Shell | apache-2.0 | 51 |
#!/bin/bash
#
# honggfuzz libunwind build help script
# -----------------------------------------
#
# 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/licen... | google/honggfuzz | third_party/android/scripts/compile-libunwind.sh | Shell | apache-2.0 | 2,716 |
#!/bin/bash
#placeholder for deployment script.
set -ex
case "$1" in
'nonha' )
cp nosdn/juju-deployer/ovs.yaml ./bundles.yaml
;;
'ha' )
cp nosdn/juju-deployer/ovs-ha.yaml ./bundles.yaml
;;
'tip' )
cp nosdn/juju-deployer/ovs-tip.yaml ./bundles.yaml
cp common/s... | opnfv/opnfv-ravello-demo | joid/ci/nosdn/01-deploybundle.sh | Shell | apache-2.0 | 4,978 |
#!/bin/bash
code=(
"utils"
)
c1=`pwd`
for c in "${code[@]}"
do
pushd . >& /dev/null
cd ../../$c
make clean
make
popd >& /dev/null
done
cd $c1
make clean
make
echo
echo
echo "*****************"
echo "You may need to restart the rsyslog server: sudo service rsyslog restart"
echo "*****************"
make cl... | ibm-security-innovation/libsecurity-c | libsecurity/src/examples/appExample/run.sh | Shell | apache-2.0 | 337 |
#!/usr/bin/env bash
############ CODE
ZCodeConfig() {
if [ -e /opt/code ] && [ "$(uname)" != "Darwin" ] ; then
export ZCODEDIR=${ZCODEDIR:-/opt/code}
else
export ZCODEDIR=${ZCODEDIR:-~/code}
fi
}
ZCodeGetJSUsage() {
cat <<EOF
Usage: ZCodeGet [-r reponame] [-g giturl] [-a account] [-b ... | Jumpscale/core9 | bash/lib/code_lib.sh | Shell | apache-2.0 | 8,213 |
# -----------------------------------------------------------------------------
#
# Package : github.com/mholt/certmagic
# Version : v0.6.2-0.20190624175158-6a42ef9fe8c2
# Source repo : https://github.com/mholt/certmagic
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPack... | ppc64le/build-scripts | g/github.com__mholt__certmagic/github.com__mholt__certmagic_rhel_8.3.sh | Shell | apache-2.0 | 5,121 |
#! /bin/sh
# Operations to execute before running the pheno_extract_candidates extractor
${APP_HOME}/util/truncate_table.sh ${DBNAME} pheno_mentions
python ${APP_HOME}/onto/prep_pheno_terms.py
| HazyResearch/dd-genomics | util/pheno_extract_candidates_before.sh | Shell | apache-2.0 | 193 |
go build -o colony-test-read-data-1
mv colony-test-read-data-1 $EC_APP_PATH/web
cd $EC_APP_PATH/web
./colony-test-read-data-1
| eaciit/colony-app | data-root/sample-application/colony-test-read-data-1/install.sh | Shell | apache-2.0 | 126 |
#! /bin/sh
tinyproxy start
# do nothing, just wait
while true; do sleep 1000; done
| newnius/Dockerfiles | tinyproxy/bootstrap.sh | Shell | apache-2.0 | 86 |
# 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... | DavidHerzogTU-Berlin/cassandraToRun | bin/cassandra2.in.sh | Shell | apache-2.0 | 1,594 |
#!/bin/sh
# ----------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses ... | panelion/incubator-stratos | products/cloud-controller/modules/distribution/src/main/resources/stratos.sh | Shell | apache-2.0 | 10,216 |
# -----------------------------------------------------------------------------
#
# Package : github.com/openzipkin/zipkin-go
# Version : v0.2.2
# Source repo : https://github.com/openzipkin/zipkin-go
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation... | ppc64le/build-scripts | g/github.com__openzipkin__zipkin-go/github.com__openzipkin__zipkin-go_rhel_8.3.sh | Shell | apache-2.0 | 5,081 |
#docker run -it --rm logstash logstash -e 'input { stdin { } } output { stdout { } }'
#./logstash-1.5.0.rc2/bin/logstash agent -f ./logstash-opendata-donations.conf
| ohsu-computational-biology/dms-es | services/logstash/config/start_logstash.sh | Shell | apache-2.0 | 165 |
echo "-----------------------------------------------------------"
execDir=.
if [ "$1" = "" ]
then
echo "No directory given, default to current"
Directory="."
else
echo "| Test id : $1"
if [ -d "$1" ]
then
Directory="$1"
else
echo "$1 is not a directory. Exiting."
exit 2
fi
fi
cd $Dir... | bmarchon/LG_H4311 | test/test.sh | Shell | apache-2.0 | 3,657 |
#!/bin/bash
# the folder this script is in (*/bootplate/tools)
TOOLS=$(cd `dirname $0` && pwd)
# application root
SRC="$TOOLS/.."
DEST="$SRC/deploy"
# enyo location
ENYO="$TOOLS/../enyo"
# deploy script location
DEPLOY="$ENYO/tools/deploy.js"
# check for node, but quietly
if command -v node >/dev/null 2>&1; then
... | DougReeder/org.webosports.app.testr | tools/deploy.sh | Shell | apache-2.0 | 1,135 |
#!/bin/bash
BASEDIR=`dirname $0`
JAR="${BASEDIR}/../target/disassembler.jar"
java -jar ${JAR} $1 $1.javr.asm
java -jar ${JAR} --avr-as $1 $1.avr-as.asm
| toby1984/javr | scripts/disassemble.sh | Shell | apache-2.0 | 154 |
#!/bin/sh
########################## Various utility functions ##########################
# Canonicalize a directory name
canon_dir () {
(cd "$1" && pwd -P)
}
# Extract the argument from "--foo=..." style arguments
get_arg () {
echo "$1" | sed 's/[^=]*=//'
}
# Add a parameter to the set of parameters with w... | rackerlabs/striker | run_tests.sh | Shell | apache-2.0 | 5,716 |
#!/bin/bash
SRV=client.radosgw
if [ $(find /var/run/ceph/ -name "ceph-${SRV}*asok" | wc -l) -ne 1 ];then
echo "ERROR - zero or more then one ceph-${SRV} socket? Dunno if this is right, would expect exactly one"
echo '>> find /var/run/ceph/ -name "ceph-${SRV}*asok"'
find /var/run/ceph/ -name "ceph-${SRV}*asok... | qnib/docker-ceph-mono | opt/qnib/ceph/radosgw/bin/isok.sh | Shell | apache-2.0 | 461 |
#!/bin/bash
# Set up the Puppet Master
# r10k -v info puppetfile install
### The following lines get a development version of tempest that fixes glance and neutron ids
#cd modules/tempest
#git fetch https://review.openstack.org/stackforge/puppet-tempest refs/changes/51/86751/1 && git checkout FETCH_HEAD
#cd ../..
va... | varunarya10/puppet-cassandra | tests/10_install_apt_module.sh | Shell | apache-2.0 | 458 |
apt-get --purge -y remove mysql-server
apt-get --purge -y remove mysql-client
apt-get --purge -y remove mysql-common
| bayvictor/distributed-polling-system | bin/remove_only_mysql.sh | Shell | apache-2.0 | 120 |
#!/bin/bash
set -e
export GOPWT_DEBUG=1
ORIGINAL_GOPATH=${GOPATH:-$HOME/go}
# dep is not working with _ prefiexed ( like a `_integrationtest` ) dir
workspace="/tmp/gopath-gopwt-integrationtest-$$/src"
mkdir -p "$workspace"
cp -r "$(cd "$(dirname "$0")"; pwd)"/* "$workspace/"
GOPATH=$(dirname $workspace):$GOPATH
ex... | ToQoz/gopwt | _integrationtest/test.sh | Shell | bsd-2-clause | 1,290 |
#!/bin/bash
MODULE_NAME="vdphci"
DEVICE_NAME="vdphcidev"
DEVICE_LOWER=0
DEVICE_UPPER=10
sudo insmod ./$MODULE_NAME.ko $* || exit 1
# Retrieve major number
DEVICE_MAJOR=`awk "\\$2==\"$MODULE_NAME\" {print \\$1}" /proc/devices`
sudo rm -f /dev/${DEVICE_NAME}*
for (( I=$DEVICE_LOWER; I<=$DEVICE_UPPER; I++ )) do
su... | Sheph/vdp | modules/vdphci/vdphci-load.sh | Shell | bsd-2-clause | 421 |
#!/bin/bash
BUILD_DIR="."
REPO_ROOT="$(git rev-parse --show-toplevel)"
SCRIPT_DIR="$REPO_ROOT/scripts/engine"
export XML_CATALOG_FILES=~/.openwebrtc/etc/xml/catalog
if [[ ! -d $SCRIPT_DIR ]]; then
git submodule init
git submodule update
fi
#
# Check preconditions:
# 1. Check if file releases are missing and... | adam-be/openwebrtc | build.sh | Shell | bsd-2-clause | 8,993 |
#!/usr/bin/env bash
cwd="$( cd "${BASH_SOURCE[0]%/*}" && pwd )"
cd "$cwd/.."
f=`mktemp -d`
git clone "git@github.com:relrod/chordpro.git" "$f/chordpro.git"
cabal haddock
pushd "$f/chordpro.git"
git checkout gh-pages && git rm -rf *
popd
mv dist/doc/html/chordpro/* "$f/chordpro.git/"
pushd "$f/chordpro.git"
git add... | relrod/chordpro | scripts/deploy-haddock-manually.sh | Shell | bsd-2-clause | 558 |
#!/bin/sh
# add ssh to default lxd image
if [ "X$1" = "X8" -o "X$1" = "X8-Stream" ]; then
image=centos-8-Stream
else
image=centos-7
fi
guest=default-$image
template="$image"-nossh
publishalias="$image"
lxc init $template $guest
lxc start $guest
openssl rand -base64 48 | perl -ne 'print "$_" x2' | lxc exec $guest ... | juju4/ansible-MISP | test/lxd/centos-ssh-image.sh | Shell | bsd-2-clause | 1,139 |
#!/bin/sh
# source the common platform independent functionality and option parsing
script_location=$(cd "$(dirname "$0")"; pwd)
. ${script_location}/common_test.sh
retval=0
# running unit test suite
run_unittests --gtest_shuffle \
--gtest_death_test_use_fork || retval=1
cd ${SOURCE_DIRECTORY}/test
e... | trshaffer/cvmfs | test/cloud_testing/platforms/fedora24_x86_64_test.sh | Shell | bsd-3-clause | 2,482 |
#!/bin/bash
function add_dependency_override() {
local name=$1
local path=$2
if ! cat pubspec.yaml | grep "dependency_overrides:" ; then
echo "dependency_overrides:" >> pubspec.yaml
fi
local pubspec=`cat pubspec.yaml | grep -v "$name: .path: "`
echo "$pubspec" > pubspec.yaml
if [[ -n "$path" ]]; then... | ochafik/dev_compiler | tool/dependency_overrides.sh | Shell | bsd-3-clause | 1,568 |
#!/usr/bin/env bash
# This sets iptables rules that facilitate targeted dropping of connections for
# the reconnect tests.
iptables-restore <<RULES
# Generated by iptables-save v1.4.21 on Fri Sep 29 15:37:54 2017
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -p tcp -m tcp --dport 22 ... | zendframework/zend-ldap | .ci/config_iptables.sh | Shell | bsd-3-clause | 910 |
#!/bin/bash
set -e
BUILD_DIRECTORY=build
CLI_E2E_PATH=fbsimctl/cli-tests/executable-under-test
function assert_xcode_version() {
local version=$1
if ! xcodebuild -version | grep -q "Xcode $version\."; then
echo "building fbsimctl requires Xcode $version"
exit 1
fi
}
function assert_has_carthage() {
... | ichu501/FBSimulatorControl | build.sh | Shell | bsd-3-clause | 7,599 |
#!/bin/env bash
usage() {
cat >&2 << EOF
Usage: ${0##*/} <pid>...
Wait for <pid>... to finish execution.
EOF
}
main() {
if [[ -z $@ ]];then
usage
exit 1
fi
echo "PID's: $@" >&2
local -a pids=()
while [[ -n $1 ]]; do
check_pid_exists "$1" &
pids+=($!)
shift
done
progress &
rc=... | dgengtek/scripts | tools/wait_pid.sh | Shell | mit | 902 |
#!/bin/bash
cd /root
wget http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.12/src/hdf5-1.8.12.tar.gz
tar xvfz ./hdf5-1.8.12.tar.gz; cd hdf5-1.8.12/
./configure --prefix=/usr/local
make; make install
rm -r -f /root/hdf5*
| leoncamel/docker-brew-datacanvas-base | sci-python/3.3/scripts/hdf5_install.sh | Shell | mit | 222 |
#!/bin/bash
#
# Script to launch the CarND Unity simulator
USER_PROFILE="profile.tmp"
if [ ! -f "$USER_PROFILE" ];
then
echo "What is the full path to your Unity simulator?"
read unity_path
# write to the file
echo "$unity_path" > $USER_PROFILE
else
unity_path=$(cat "$USER_PROFILE")
fi
$unit... | shernshiou/CarND | Term3/03-CarND-Capstone/ros/src/styx/unity_simulator_launcher.sh | Shell | mit | 327 |
#!/bin/bash
set -e
apt-get -y update
apt-get -y install linux-headers-$(uname -r) build-essential dkms puppet-common
apt-get -y clean
mount -o loop /tmp/VBoxGuestAdditions.iso /media/cdrom
/media/cdrom/VBoxLinuxAdditions.run || true
umount /media/cdrom
| cppforlife/packer-bosh | dev/scripts/vbox-guest-additions.sh | Shell | mit | 256 |
PORT=8887
while `true` ; do
echo "about to start jetty on port $PORT"
mvn -Djetty.port=$PORT jetty:run
SLEEPTIME=$?
echo "jetty stopped. Going to sleep for $SLEEPTIME seconds"
sleep $SLEEPTIME
done
| hotlib/http-rpc-client | resttest-app/run7.sh | Shell | mit | 204 |
gvim(){ /usr/bin/gvim -f "$@" & true;disown }
| waysidekoi/dotfiles | home/zsh/gvim.zsh | Shell | mit | 46 |
#!/bin/bash
SPEC="Grid5k"
# Check Grid5k.tla for semantical meaning
K=${1-"04"}
L=${2-"01"}
N=${3-"10"}
C=${4-"04"}
MODEL='k'$K'_l'$L'_n'$N'_c'$C
# Performance related properties
WORKERS=${5-"$(nproc --all)"}
HEAP_MEM=${6-"8G"}
DIRECT_MEM=${7-"8g"}
FPSET_IMPL="tlc2.tool.fp.OffHeapDiskFPSet"
# TLC version
REV=$(git ... | lemmy/tlaplus | general/performance/measure.sh | Shell | mit | 2,013 |
#!/bin/bash
set -eu
source ../../common-functions.sh
PATCHES_FOLDER="mypatches/java.base"
MODS_FOLDER="mods/com.greetings"
SRC_FOLDER="src"
echo ""
echo "${info} *** Displaying the contents of the '$SRC_FOLDER' folder *** ${normal}"
runTree "$SRC_FOLDER"
echo ""
echo "${info} *** Compiling a new version of Concurr... | AdoptOpenJDK/jdk9-jigsaw | session-1-jigsaw-intro/07_patch_module_option/compile.sh | Shell | cc0-1.0 | 933 |
#!/bin/sh
# Copyright (c) 2002, Intel Corporation. All rights reserved.
# Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com
# This file is licensed under the GPL license. For the full content
# of this license, see the COPYING file at the top level of this
# source tree.
#
#
# Test various methods of remo... | rogerq/ltp-ddt | testcases/open_posix_testsuite/conformance/interfaces/sigdelset/4-3.sh | Shell | gpl-2.0 | 371 |
#!/bin/sh
# see if we are in the top of the tree
if [ ! -f configure.proto ]; then
cd ../..
if [ ! -f configure.proto ]; then
echo "please run this script from the base of the VICE directory"
echo "or from the appropriate build directory"
exit 1
fi
fi
curdir=`pwd`
./configure
gcc src/arch/amigaos/f... | AreaScout/vice-gles2 | build/amigaos/build-os4-native.sh | Shell | gpl-2.0 | 384 |
#!/bin/sh
# Script to rebuild the openhsu installation profile
# This command expects to be run within the openhsu profile.
# To use this command you must have `drush make` and `git` installed.
if [ -f openhsu.make ]; then
echo "\nThis command can be used to rebuild the installation profile in place.\n"
echo " [... | kalamuna/open-hsu-drops-7 | profiles/openhsu/gen.sh | Shell | gpl-2.0 | 702 |
#!/bin/bash
# -----------------------------------------------------------------------------
# Check source-tree for anomalies
#
# Copyright (C) 2005-2007 by Ivo van Poorten
#
# 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
#... | azuwis/mplayer-fork | TOOLS/checktree.sh | Shell | gpl-2.0 | 10,979 |
#!/bin/bash
for file in `ls *CACHE*`; do
newfile=`echo $file | sed -e 's/CACHE/NOCACHE/g'`
cp $file $newfile
sed -e 's/NOPINT-CACHE/NOPINT-NOCACHE/g' < $newfile > tmp
cp tmp $newfile
sed -e 's/AccountingConsumer/AccountingRandomConsumer/g' < $newfile > tmp
cp tmp $newfile
rm tmp
done
| chris-wood/ndnSIM-accounting | examples/script.sh | Shell | gpl-3.0 | 313 |
#!/usr/bin/env bash
#
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
set -e
if [ -z "$IOS_CMAKE_TOOLCHAIN_FILE" ]
then
echo "IOS_CMAKE_TOOLCHAIN_FILE not set... | lavima/MLLib | src/torch/aten/src/ATen/native/quantized/cpu/qnnpack/scripts/build-ios-arm64.sh | Shell | gpl-3.0 | 1,438 |
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2015 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... | lemones/dotfiles | home/.zsh/plugins/syntax-highlighter/highlighters/main/test-data/prefix-redirection.zsh | Shell | gpl-3.0 | 2,238 |
#!/bin/bash
{ # this ensures the entire script is downloaded #
nvm_has() {
type "$1" > /dev/null 2>&1
}
if [ -z "$NVM_DIR" ]; then
NVM_DIR="$HOME/.nvm"
fi
nvm_latest_version() {
echo "v0.30.1"
}
#
# Outputs the location to NVM depending on:
# * The availability of $NVM_SOURCE
# * The method used ("script" or... | dylanlott/bridge-gui | ansible/roles/node/files/nvm-v0.30.1-install.sh | Shell | agpl-3.0 | 7,735 |
#!/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... | DaanHoogland/cloudstack | systemvm/debian/opt/cloud/bin/setup/router.sh | Shell | apache-2.0 | 3,355 |
#!/bin/sh
echo "Dropping DB schema"
mysql -u alfresco -palfresco -e "DROP SCHEMA activiticompatibility"
echo "Creating DB schema"
mysql -u alfresco -palfresco -e "CREATE SCHEMA activiticompatibility DEFAULT CHARACTER SET utf8 COLLATE utf8_bin"
echo "Building dependencies"
cd ..
mvn clean install -DskipTests
cd modu... | stefan-ziel/Activiti | scripts/run-compatibility-tests.sh | Shell | apache-2.0 | 730 |
#!/bin/bash -xe
PREV_DIR=`pwd`
cd "$(dirname $0)"
echo "Cleaning environment"
python3 setup.py clean
echo "Building chrome-loader.exe"
rm -f bzt/resources/chrome-loader.exe
x86_64-w64-mingw32-gcc -std=c99 -o bzt/resources/chrome-loader.exe bzt/resources/chrome-loader.c
echo "Creating distribution packages"
rm -rf .... | Blazemeter/taurus | build-artifacts.sh | Shell | apache-2.0 | 381 |
# Simple script used to easily search all packages in conda for their
# dependency requirements
# TODO also search through output of ldd
# TODO update conda info syntax for different channels
if [ -z "$CONDA_ROOT" ]; then
# TODO create our own environment
echo "Please set CONDA_ROOT so that I know where to search ... | xzturn/caffe2 | scripts/read_conda_versions.sh | Shell | apache-2.0 | 6,719 |
#!/bin/bash
# This file is sourced by build_crowbar.sh when you want to build Crowbar
# using Ubuntu 11.04 as the base OS. It includes all Ubuntu 11.04 specific
# build routines.
# OS information for the OS we are building crowbar on to.
OS=ubuntu
OS_VERSION=11.04
OS_TOKEN="$OS-$OS_VERSION"
OS_CODENAME=natty
. "$CR... | rhafer/crowbar | ubuntu-11.04-extra/build_lib.sh | Shell | apache-2.0 | 357 |
#!/usr/bin/env bash
# Copyright 2016 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 b... | rhuss/gofabric8 | vendor/github.com/google/cadvisor/build/integration.sh | Shell | apache-2.0 | 991 |
# Fish-like fast/unobtrusive autosuggestions for zsh.
# https://github.com/zsh-users/zsh-autosuggestions
# v0.4.3
# Copyright (c) 2013 Thiago de Arruda
# Copyright (c) 2016-2018 Eric Freese
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
#... | VerKnowSys/ServeD-OS | shell/zsh-autosuggestions/zsh-autosuggestions.zsh | Shell | bsd-2-clause | 21,199 |
#!/bin/bash
GKE_CLUSTER_NAME=${GKE_CLUSTER_NAME:-'example'}
SHARDS=${SHARDS:-'-80,80-'}
TABLETS_PER_SHARD=${TABLETS_PER_SHARD:-3}
CELLS=${CELLS:-'test'}
./vtgate-down.sh
SHARDS=$SHARDS CELLS=$CELLS TABLETS_PER_SHARD=$TABLETS_PER_SHARD ./vttablet-down.sh
./vtctld-down.sh
./etcd-down.sh
gcloud compute firewall-rules d... | tjyang/vitess | examples/kubernetes/vitess-down.sh | Shell | bsd-3-clause | 383 |
#! /bin/bash
killall -9 nameserver
killall -9 chunkserver
killall -9 bfs_client
rm -rf nameserver* chunkserver*
rm -rf master* slave*
rm -rf bfs_client
rm -rf bfs.flag
rm -rf client.*
rm -rf core.*
| 00k/ToyDFS | sandbox/clear.sh | Shell | bsd-3-clause | 200 |
#!/bin/bash
echo "This is not a script to run. Please read this script"
exit
readonly MODULE_NAME=SVM
readonly MODULE_USERNAME=your_username
readonly MODULE_PATH=${MODULE_USERNAME,,}/${MODULE_NAME,,}
echo $MODULE_NAME
echo $MODULE_USERNAME
echo $MODULE_PATH
# initialize a module
screwjack init basic -n $MODULE_NAM... | DataCanvasIO/example-modules | tutorials/basic/quickstart.sh | Shell | bsd-3-clause | 950 |
#!/bin/bash
set -u -e -o pipefail
declare -A payloadLimits
payloadLimits["hello_world__closure", "uncompressed", "bundle"]=106000
payloadLimits["hello_world__closure", "gzip7", "bundle"]=35000
payloadLimits["hello_world__closure", "gzip9", "bundle"]=35000
payloadLimits["cli-hello-world", "uncompressed", "inline"]=15... | smartm0use/angular | integration/_payload-limits.sh | Shell | mit | 802 |
#!/bin/bash
# called by dracut
check() {
require_binaries wicked || return 1
# do not add this module by default
return 255
}
# called by dracut
depends() {
echo systemd dbus
return 0
}
# called by dracut
installkernel() {
return 0
}
# called by dracut
install() {
local -a wicked_units
... | FGrose/dracut | modules.d/35network-wicked/module-setup.sh | Shell | gpl-2.0 | 2,211 |
#!/bin/bash
rm -rf work transcript vsim.wlf
vlib work
vlog ../argmax.v testbench.v
#w/o gui
vsim -c -do test.do testbench
#w/ gui
#vsim -do test.do testbench
| esonghori/TinyGarble | circuit_synthesis/argmax/test/test.sh | Shell | gpl-3.0 | 164 |
#!/usr/bin/env bash
set -e
echo "" > coverage.txt
for d in $(go list ./... | grep -v vendor); do
#TODO - Include -race while creating the coverage profile.
go test -coverprofile=profile.out -covermode=atomic $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
... | openebs/mayaserver | buildscripts/test-cov.sh | Shell | apache-2.0 | 329 |
#!/bin/bash
#
# Copyright (c) 2013-%%copyright.year%% Commonwealth Computer Research, Inc.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0 which
# accompanies this distribution and is available at
# http://www.opensource.org/lic... | aheyne/geomesa | geomesa-hbase/geomesa-hbase-tools/bin/install-hadoop.sh | Shell | apache-2.0 | 4,001 |
#!/bin/sh
#This script ensures that OneTimeSecret is automatically restarting after an error happens
#Handling Errors
# 0 silent
# 1 email
ERROR_HANDLING=0
# Your email address which should recieve the error messages
EMAIL_ADDRESS="no-reply@example.com"
# Sets the minimun amount of time betweens the sending of error ... | 10xEngineer/onetimesecret | bin/safeRun.sh | Shell | mit | 1,695 |
#!/usr/bin/env bash
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# This script runs or (given -n) prints suggested commands to generate files for
# the Architecture/OS specified by the GOARCH and GOOS environ... | OpenBazaar/openbazaar-go | vendor/golang.org/x/sys/unix/mkall.sh | Shell | mit | 7,230 |
#!/bin/bash
set -e
# set variables
PREFIX="/usr/local"
BASE_DIR="$PREFIX/share/vibe"
SRC_DIR=$(dirname $0)
CONFIG_DIR="/etc/vibe"
CONFIG_FILE="$CONFIG_DIR/vibe.conf"
LOG_DIR="/var/spool/vibe"
LOG_FILE="$LOG_DIR/install.log"
MENU_DIR="$PREFIX/share/applications"
MENU_FILE="$MENU_DIR/vibe.desktop"
USER_NAME="www-vib... | rejectedsoftware/vibe.d | setup-linux.sh | Shell | mit | 4,524 |
#!/bin/sh
# /**
# * ---------------------------------------------------------------------
# * GLPI - Gestionnaire Libre de Parc Informatique
# * Copyright (C) 2015-2018 Teclib' and contributors.
# *
# * http://glpi-project.org
# *
# * based on GLPI - Gestionnaire Libre de Parc Informatique
# * Copyright (C) 200... | orouet/glpi | tools/genapidoc.sh | Shell | gpl-2.0 | 1,662 |
#!/bin/sh
# Copyright (c) 2003, Intel Corporation. All rights reserved.
# Created by: salwan.searty REMOVE-THIS AT intel DOT com
# This file is licensed under the GPL license. For the full content
# of this license, see the COPYING file at the top level of this
# source tree.
#
# Test various methods of adding inv... | ycui1984/posixtestsuite | posixtestsuite/conformance/interfaces/sigrelse/3-1.sh | Shell | gpl-2.0 | 408 |
source ../testsupport.sh
bpipe run -p batch_name=testsim -p sample_info=samples.txt test.groovy > test.out 2>&1
exists testsim_simulated_cnvs/XXXXX_test.bam
# Run again should skip
bpipe test -p batch_name=testsim -p sample_info=samples.txt test.groovy > test.out 2>&1
grep -q "Would execute" test.out && err ... | vivovip/bpipe | tests/produce_wildcard_with_set_outputdir/run.sh | Shell | bsd-3-clause | 424 |
#!/bin/sh
PIDFILE="/run/AlexaPi/AlexaPi.pid"
DISABLE_FILE="/run/AlexaPi/monitor_pause"
while true; do
if [ ! -f ${DISABLE_FILE} ]; then
if [ -f ${PIDFILE} ]; then
pgrep --pidfile $PIDFILE 2> /dev/null
DIED="$?"
if [ ${DIED} -eq 1 ]; then
rm ${PIDFILE}
... | renekliment/AlexaPi | src/scripts/monitorAlexa.sh | Shell | mit | 464 |
#! /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 ... | evaautomation/automake | t/extra-dist-wildcards-gnu.sh | Shell | gpl-2.0 | 2,284 |
#! /bin/sh
$EXTRACTRC *.rc *.ui >> rc.cpp
$XGETTEXT *.cpp -o $podir/googledocs_plugin.pot
rm -f rc.cpp
| wyuka/calligra | plugins/staging/googledocs/Messages.sh | Shell | gpl-2.0 | 103 |
#!/bin/bash
rm -rf _public
node_modules/.bin/brunch build -o
| Lucafp/panemcoin | scripts/production.sh | Shell | gpl-2.0 | 62 |
#string workflowName
#string creationDate
#list out_out
echo "Workflow name: ${workflowName}"
echo "Created: ${creationDate}"
echo "Result of step1.sh:"
for s in "${out_out[@]}"
do
echo ${s}
done
echo "(FOR TESTING PURPOSES: your runid is ${runid})" | RoanKanninga/molgenis-compute | molgenis-compute-core/src/main/resources/workflows/benchmark.5.1/protocols/step2.runtime.automapping.sh | Shell | lgpl-3.0 | 257 |
#!/bin/bash
LC_ALL=C
export PYTHONIOENCODING=utf8
python3 parse.py
python3 redirect.py
LC_ALL=C sort -u -t$'\t' -k1,1 output2.txt -o output.txt
cat output.txt | ./output_statistics.awk
| rasikapohankar/zeroclickinfo-fathead | lib/fathead/react_native/parse.sh | Shell | apache-2.0 | 189 |
if [ "$1" = "lein" ]; then
exportVariable JAVA_CMD "$JAVA_HOME/bin/java"
exportVariable LEIN_JAVA_CMD "$JAVA_HOME/bin/java"
if [ -n "$JENV_OPTIONS" ]; then
if [ -z "$LEIN_JVM_OPTS" ]; then
exportVariable LEIN_JVM_OPTS $JENV_OPTIONS
exportVariable JVM_OPTS $JENV_OPTIONS
else
echo "LEIN_... | jchochli/dotfiles | home/.jenv/available-plugins/lein/etc/jenv.d/exec/lein-before.bash | Shell | mit | 416 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you ... | TiVo/kafka | examples/bin/exactly-once-demo.sh | Shell | apache-2.0 | 981 |
#! /usr/bin/env bash
set -e
cd $(dirname $0)/..
doxygen
chmod -R g+rx doc/
| OursDesCavernes/springlobby | tools/update-docs.sh | Shell | gpl-2.0 | 78 |
#!/usr/bin/env bash
plan 20
. "$LIB_DIR/report_formatting.sh"
is \
"$(shorten 10485760 1)" \
"10.0M" \
"10485760, 1 precision, default divisor => 10.0M"
is \
"$(shorten 3145728000 1)" \
"2.9G" \
"3145728000, 1 precis... | fipar/percona-toolkit | t/lib/bash/report_formatting.sh | Shell | gpl-2.0 | 2,654 |
CCOLLECT_CONF=./conf ./ccollect.sh daily -v remote1
| greendeath/ccollect | test/remote.sh | Shell | gpl-3.0 | 52 |
# machten.sh
# This file has been put together by Mark Pease <peasem@primenet.com>
# Comments, questions, and improvements welcome!
#
# MachTen does not support dynamic loading. If you wish to, you
# can fetch, compile, and install the dld package.
# This ought to work with the ext/DynaLoader/dl_dld.xs in the
# perl5 ... | rhuitl/uClinux | user/perl/hints/machten_2.sh | Shell | gpl-2.0 | 3,127 |
#!/bin/sh
#
# Added in support of https://github.com/Unidata/netcdf-c/gh425 and
# https://github.com/Unidata/netcdf-c/gh469
#
# The output isn't validated, but the regression it is fixing fails on nccopy.
#
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh
# For a netCDF-3 build, test nccopy on netCD... | Unidata/netcdf-c | ncdump/tst_nccopy3_subset.sh | Shell | bsd-3-clause | 883 |
#!/bin/bash
cd $SRC_DIR
mkdir -p lib
cp -r $PREFIX/include/* src/
cp -r $PREFIX/lib/* lib/
cp $PREFIX/lib/libBigWig.a lib/
make
cp lib/libwiggletools.a $PREFIX/lib/
cp inc/wiggletools.h $PREFIX/include/
cp bin/wiggletools $PREFIX/bin/
| jerowe/bioconda-recipes | recipes/wiggletools/build.sh | Shell | mit | 236 |
MACHINE=
SCRIPT_NAME=elfm68hc11
OUTPUT_FORMAT="elf32-m68hc11"
ROM_START_ADDR=0x08000
ROM_SIZE=0x8000
RAM_START_ADDR=0x01100
RAM_SIZE=0x6F00
EEPROM_START_ADDR=0xb600
EEPROM_SIZE=512
TEXT_MEMORY=text
DATA_MEMORY=data
EEPROM_MEMORY=eeprom
ARCH=m68hc11
MAXPAGESIZE=32
EMBEDDED=yes
GENERIC_BOARD=no
TEMPLATE_NAME=elf
EXTRA_EM... | mattstock/binutils-bexkat1 | ld/emulparams/m68hc11elf.sh | Shell | gpl-2.0 | 337 |
source_sh ${srcdir}/emulparams/elf64btsmip.sh
source_sh ${srcdir}/emulparams/elf_fbsd.sh
OUTPUT_FORMAT="elf64-tradbigmips-freebsd"
BIG_OUTPUT_FORMAT="elf64-tradbigmips-freebsd"
LITTLE_OUTPUT_FORMAT="elf64-tradlittlemips-freebsd"
| mattstock/binutils-bexkat1 | ld/emulparams/elf64btsmip_fbsd.sh | Shell | gpl-2.0 | 229 |
#!/bin/bash
fw_depends crystal
crystal deps install
crystal server-postgres.cr &
| F3Community/FrameworkBenchmarks | frameworks/Crystal/moonshine/setup-postgres.sh | Shell | bsd-3-clause | 84 |
#!/bin/sh
set -eu
platform="$1"
env
cd ~/
if [ "${platform}" = "freebsd" ]; then
while true; do
env ASSUME_ALWAYS_YES=YES pkg bootstrap && \
pkg install -y \
bash \
curl \
gtar \
python \
py27-Jinja2 \
py27-virtualenv \
... | trondhindenes/ansible | test/runner/setup/remote.sh | Shell | gpl-3.0 | 2,489 |
#!/bin/bash
set -e
if [ "$CIRCLE_BRANCH" = "$REACT_WEBSITE_BRANCH" ]; then
GH_PAGES_DIR=`pwd`/../react-gh-pages
# check if directory exists (restored from cache)
if [ -d $GH_PAGES_DIR ]; then
pushd $GH_PAGES_DIR
git pull origin gh-pages
popd
else
git clone --branch gh-pages --depth=1 \
... | leexiaosi/react | scripts/circleci/build_gh_pages.sh | Shell | bsd-3-clause | 669 |
#!/bin/bash
set -e
source ./scripts/mod_helpers.sh
if test "$(mod_filename mac80211)" = "mac80211.ko.gz" ; then
compr=".gz"
else
compr=""
fi
for driver in $(find ${BACKPORT_DIR} -type f -name *.ko); do
mod_name=${driver/${BACKPORT_DIR}/${KLIB}${KMODDIR}}${compr}
echo " uninstall" $mod_name
rm -f $mod_name
don... | tank0412/android_kernel_xiaomi_latte | uefi/cht/modules/iwlwifi/scripts/uninstall.sh | Shell | gpl-2.0 | 322 |
#!/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... | StephanEwen/incubator-flink | flink-python/pyflink/bin/pyflink-udf-runner.sh | Shell | apache-2.0 | 1,977 |
# Copyright 2013 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 applicable law or ... | gruter/bdutil | libexec/setup_master_ssh.sh | Shell | apache-2.0 | 1,570 |
# This hook overrides config.sub and config.guess.
hook() {
local _cfgdir="${XBPS_COMMONDIR}/environment/configure/automake"
if [ -z "$build_style" -o "$build_style" = "gnu-configure" ]; then
for f in $(find "${wrksrc}" -type f -name "*config*.sub"); do
cp -f ${_cfgdir}/config.sub ${f}
done
for f in $(find... | oliver-cfc/void-packages | common/hooks/pre-configure/01-override-config.sh | Shell | bsd-2-clause | 420 |
#!/usr/bin/env bash
set -e
############################################################################
#
# find-dead-code.sh
#
# This script analyzes the edx-platform for dead code instances using
# vulture, a static analysis tool that ranks potential unused code using
# the following confidence scores:
# - 100% = co... | kmoocdev2/edx-platform | scripts/vulture/find-dead-code.sh | Shell | agpl-3.0 | 2,257 |
#!/usr/bin/env 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 ... | 7anner/grpc | tools/jenkins/run_full_performance.sh | Shell | bsd-3-clause | 3,096 |
#!/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"); ... | sergeykolychev/mxnet | tests/nightly/test_image_classification.sh | Shell | apache-2.0 | 2,640 |
#!/bin/bash
test_info()
{
cat <<EOF
Verify that a mounted NFS share is still operational after failover.
We mount an NFS share from a node, write a file via NFS and then
confirm that we can correctly read the file after a failover.
Prerequisites:
* An active CTDB cluster with at least 2 nodes with public addres... | SVoxel/R7800 | git_home/samba.git/ctdb/tests/complex/45_failover_nfs_kill.sh | Shell | gpl-2.0 | 2,179 |
#run_test.sh
run_test()
{
prog=$1
mkdir -p ./dbenv
rm -f -r dbenv/*
echo "Auto commit btree transaction tests:" >&2
$prog -s b -m t -t a -T 200 -k 50 -l 100 -c 33554432 -n $total && mv gmon.out gmon${i}.out
i=`expr $i + 1`
echo "Transaction btree tests:" >&2
$prog -s b -m t -t e -T 200 -k 50 -l 100 -c 33554432... | mxrrow/zaicoin | src/deps/db/test_stl/run_base_profile.sh | Shell | mit | 1,654 |
#!/bin/bash
#
# https://bugzilla.redhat.com/show_bug.cgi?id=1415570
#
# In the initial release of OCP 3.4, paths for two objects,
# User and EgressNetworkPolicy, inadvertantly changed.
# This script migrates any of these resources created in
# version of OCP 3.4 without the fix to the proper location
# in etcd. Namely:... | tmckayus/oshinko-cli | vendor/github.com/openshift/origin/contrib/migration/fix-3.4-paths.sh | Shell | apache-2.0 | 4,022 |
#!/usr/bin/env bash
# Copyright 2011 OpenStack Foundation.
# 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... | jumpojoy/neutron | tools/with_venv.sh | Shell | apache-2.0 | 731 |
#!/bin/bash
export ARG="$1"
curl -s "https://github.com/meteor/meteor/commit/$(git log --format=%H -1 --author "$1")" | perl -nle 'm!<span class="author-name"><a href="/([^"]+)"! and do { my $name = $1; $ENV{ARG} =~ /(<.+>)/; print "GITHUB: $name $1"; exit 0 }'
| sitexa/meteor | scripts/admin/find-author-github.sh | Shell | mit | 263 |
#!/bin/bash
#
# author : Didier BONNEFOI <dbonnefoi@gmail.com>
#
[ -z "$BIN_OVS_VSCTL" ] && BIN_OVS_VSCTL=$(which ovs-vsctl)
# create a bridge in OVS
# usage : ovs_add_bridge <bridge>
function ovs_add_bridge
{
local ret=
_log_debug "OVS: adding bridge $1"
[ $# -lt 1 ] && echo "$_ERR_NO_BRIDGE_DEFINED" && retur... | bonidier/xen4-toolbox | ovs-bridges-maker/inc/bridge-OVS.lib.sh | Shell | mit | 3,676 |
#!/bin/bash
#####################################
# Chef Client Downloader
# Ryan Moon
# Created 08/29/16
# Version 0.0.1 on 08/29/16
#####################################
# CURRENTLY REQUIRES WGET
#####################################
# This script iterates thru two arrays
# chef_versions and os_versions, to
# downloa... | ryanmoon/at-action-park | scripts/chef-downloader.sh | Shell | mit | 1,969 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.