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/sh
dataInstallDir=($DESTDIR)/etc/upnpaudio
defaultInstallDir=($DESTDIR)/etc/default
initInstallDir=($DESTDIR)/etc/init.d
binInstallDir=($DESTDIR)/usr/sbin
manInstallDir=($DESTDIR)/usr/share/man/man1
replaceXMLTag()
{
local tagName="$1"
local newValue="$2"
local fileName="$3"
sed "s#<${tagName}>.*#<${tagN... | phillimar/UPNPAudioPlayer | src/build_scripts/install_upnpaudio.sh | Shell | gpl-3.0 | 1,523 |
google-chrome --app=http://localhost:7000
RUNSERVER= gradle run
| zielmicha/satoriui | run.sh | Shell | gpl-3.0 | 64 |
# Name: Install Arista Transcoder
# Command: install_arista
install_arista() {
show_func "Installing Arista Transcoder"
if [[ "$(install_arista_test)" = "Installed" && ! "$reinstall" = "yes" ]]; then
show_status "Arista Transcoder already installed"
else
add_repo "rpmfusion-free.repo" "rpmfusion-nonfree.repo"
show_... | danielt69/fedorautils | plugins/soft/install_arista.sh | Shell | gpl-3.0 | 1,288 |
#
# Circle CI & gradle.properties live in harmony
#
# Android convention is to store your API keys in a local, non-versioned
# gradle.properties file. Circle CI doesn't allow users to upload pre-populated
# gradle.properties files to store this secret information, but instaed allows
# users to store such inf... | Plastix/Forage | environmentSetup.sh | Shell | mpl-2.0 | 1,670 |
#!/usr/bin/env bash
if [ -z "$APPLICATION_ENV" ]; then
export APPLICATION_ENV=production
fi
# fail on subcommand
set -e
SCRIPT_DIRECTORY=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
cd "$SCRIPT_DIRECTORY/../"
php bin/console.php common:cron
| LitusProject/Litus | bin/cron.sh | Shell | agpl-3.0 | 250 |
#!/bin/bash
function has_opt() {
OPT_NAME=$1
shift
#Par the parameters
for i in "$@"; do
if [[ $i == $OPT_NAME* ]] ; then
echo "true"
return
fi
done
echo "false"
}
function get_opt() {
OPT_NAME=$1
DEFAULT_VALUE=$2
shift
#Par the parameters
for i in "$@"; do
if [[ $i == $O... | DemandCube/Scribengin | V2/docker/scribengin/bootstrap/post-install/parse_opt_sample.sh | Shell | agpl-3.0 | 536 |
#!/bin/bash
set -ex
[[ $# -eq 2 ]]
source settings.sh
GLIB_RELEASE="${1}"
JSON_GLIB_RELEASE="${2}"
GLIB_PREFIX="${DESTDIR}${GLIB_PREFIX}/${GLIB_RELEASE}"
[[ -d "${GLIB_PREFIX}" ]]
# Environment variables to found uninstalled glib and build against it.
export PKG_CONFIG_PATH="${GLIB_PREFIX}/lib/pkgconfig"
export ... | balde/ci-dep-bundle | build-json-glib.sh | Shell | lgpl-2.1 | 1,618 |
#!/bin/bash
#
##########################################################
# Generate an rpm spec file for testing looping issue
#
# rpm-genenerate-loop-test-harness.sh -s <namespec> -m <max direct Requires clauses> -p <number of packages>
#
# Copyright (C) 2006 Elia Pinto (devzero2000@rpm5.org)
#
# This program is... | devzero2000/RPM5 | tests/rpm-genenerate-loop-test-harness.sh | Shell | lgpl-2.1 | 6,678 |
#!/usr/bin/env bash
# Script for install web server for rubbos
# For ubuntu 14.04 64bit
# 2015.02.26 Jaehyun Han <jhhan@dcslab.snu.ac.kr>
# common prerequisites
#sudo apt-get update
sudo apt-get install -y apache2 libapache2-mod-jk
cd ~/RUBBoS
pwd
# copy web files
sudo cp -r statichtml/* /var/www/html/
# copy work... | hanjae/RUBBoS | setup/setup_web.sh | Shell | lgpl-2.1 | 719 |
pt_testcase_begin
rm -f "$socket_file"
using_measure
pt_add_fifo "$main_fifo_file"
pt_add_file_to_remove "$socket_file"
pt_write_widget_file <<__EOF__
f = assert(io.open('$main_fifo_file', 'w'))
f:setvbuf('line')
f:write('init\n')
widget = {
plugin = '$PT_BUILD_DIR/plugins/unixsock/plugin-unixsock.so',
opts = {... | shdown/luastatus | tests/pt_tests/plugin-unixsock/05-timeout.lib.bash | Shell | lgpl-3.0 | 1,006 |
##Root
rm osv.keystore
#Dependencies remove
rm volley/buildRelease.gradle
rm spherical/buildRelease.gradle
rm sensorlib/buildRelease.gradle
rm scalablevideoview/buildRelease.gradle
rm photoview/buildRelease.gradle
rm eventbus/buildRelease.gradle
rm dotindicator/buildRelease.gradle
rm connectivity/buildRelease.gradle
rm... | openstreetview/android | communityRelease.sh | Shell | lgpl-3.0 | 519 |
#!/bin/bash
# Checks that versions of the DPDK library compile successfully
# Ensure that all DPDK requirements are installed on the system
TEST_DIR=$(pwd)
LIBTRACE_DIR="$TEST_DIR"/../
DPDK_DOWNLOAD_PATH=http://wand.nz/~rjs51/dpdk/
DOWNLOAD_DIR="$TEST_DIR"/DPDK_source
BUILD_DIR="$TEST_DIR"/DPDK_builds
BUILD_THREADS=9
... | alistairking/libtrace | test/do-test-build-dpdk.sh | Shell | lgpl-3.0 | 3,781 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Debug
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/log2bgp
OUTP... | omar-khalid/log2BGP | nbproject/Package-Debug.bash | Shell | lgpl-3.0 | 1,443 |
#!/bin/bash
#
# Start Keykit with given arguments.
####################################
# Input handling
ARGS="print(\"Usage: $0 {Keykit CMD} [; Keykit CMD] ...\")"
if [ -n "$1" ] ; then
ARGS="$*"
fi
# Normalize path. GRID_MUSIC_ROOT will be used to find Pyconsole/tests in Keykit
THIS_DIR=$(pwd)
export GRID_MUSIC_RO... | YggdrasiI/Pyconsole | scripts/runkey.sh | Shell | lgpl-3.0 | 547 |
#!/bin/bash
#
# Build all common Toolbox plugins
#
CPP=g++
C_FLAGS="-std=c++14 -Wall -pedantic"
LD_FLAGS="-fPIC -shared"
PLUGIN_EXT=".so"
for PLUGIN_SRC in `for DIR in \`find . -type d | grep -v './example' | grep / | sed 's/^\.\///'\`; do ls $DIR/*.cpp; done`; do
PLUGIN_TYPE=`echo $PLUGIN_SRC | sed 's/\/.*$//'`... | nicrohobak/Toolbox | Plugin/build_plugins.sh | Shell | lgpl-3.0 | 1,498 |
#!/bin/bash
echo "Obtaining all files for xbmc setup"
sudo echo "password"
sleep 1
sudo apt-get install python-software-properties pkg-config
sleep 1
sudo apt-get install sofware-properties-common
sleep 1
sudo add-apt-repository ppa:team-xbmc/ppa
sleep 1
sudo apt-get update
sleep 1
sudo apt-get install xbmc
./xbmc-bare... | Eyolf81/xbmc-setup | xbmc.sh | Shell | unlicense | 371 |
MYSQL_HOST=${MYSQL_HOST:-""}
MYSQL_PORT=${MYSQL_PORT:-"3306"}
MYSQL_ROOT_USER=${MYSQL_ROOT_USER:-"root"}
MYSQL_ROOT_PASS=${MYSQL_ROOT_PASS:-""}
DATABASE_GRAPHITE_PASS=${DATABASE_GRAPHITE_PASS:-graphite}
if [ -z "${MYSQL_HOST}" ]
then
log_info "no MYSQL_HOST set ..."
exit 1
else
MYSQL_OPTS="--host=${MYSQL_HOST}... | bodsch/docker-graphite | rootfs/init/database/mysql.sh | Shell | unlicense | 2,314 |
# vi: ft=bash
# Source me
function exit_with {
local actual=$?
local expected=$1
(( expected == actual ))
}
_register exit_with 1
function on_stderr {
local expected
case $1 in
- ) read -d '' -r expected || true ;;
* ) expected="$1" ;;
esac
shift
local actual="$(<$stderr)"
... | binkley/bitsh | f/expectations.sh | Shell | unlicense | 600 |
# Adds a service
source `dirname $0`/../../functions.sh '' '' $*
curl $copts -X PATCH -H 'Content-Type: application/json' -H 'Accept: application/json' -H "Authorization:Basic $EXCHANGE_ORG/$EXCHANGE_USER:$EXCHANGE_PW" -d '{
"arch": "arm"
}' $EXCHANGE_URL_ROOT/v1/orgs/$EXCHANGE_ORG/services/bluehorizon.network-servi... | cgiroua/exchange-api | src/test/bash/patch/services/gps-arch-bad.sh | Shell | apache-2.0 | 349 |
java -jar start.jar STOP.PORT=8879 STOP.KEY=mysecret OPTIONS=Server,jsp --ini=webapps/dev/start.d/dev.ini webapps/dev/jetty_dev.xml
| codeboyyong/playground | standalone-jetty-multi-instance/start_jetty_dev.sh | Shell | apache-2.0 | 132 |
#!/bin/sh
# downscale using imagemagicks convert
# since this is only one line, we would be able to
# use the convert in cmdfs command straigt without
# wrapping script too
convert - -resize '1920x1080>' -quality 75 -
exit $?
| allofmex/docker-cmdfs | config-example/img_filter.sh | Shell | apache-2.0 | 228 |
# Copyright 2014 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 ... | zulily/zdutil | libexec/configure_hdfs.sh | Shell | apache-2.0 | 2,347 |
#!/bin/bash
source ./env.sh
#if [ $# -ne 1 ]; then
# echo 'Error: miss hostname.'
# echo 'Usage: command your-hostname'
# exit 1
#fi
HOST_NAME=$NODE_HOST_NAME
HOST_NAME_FQDN=$NODE_HOST_NAME_FQDN
hostname $HOST_NAME
CONF_FILE=/etc/hostname
./backup-file.sh $CONF_FILE
echo $HOST_NAME > $CONF_FILE
CONF_FILE... | wingon-niu/OpenStackDeploy | DeployScripts/OpenStack-Install-HA/node-1-server-init-conf.sh | Shell | apache-2.0 | 1,985 |
#!/dev/null
if ! test "${#}" -eq 0 ; then
echo "[ee] invalid arguments; aborting!" >&2
exit 1
fi
## chunk::d1dfca51fec7f64f5d67609f4980d1b4::begin ##
if test -e "${_outputs}/package" ; then
chmod -R +w -- "${_outputs}/package"
rm -R -- "${_outputs}/package"
fi
if test -e "${_outputs}/package.cpio.gz" ; then
chmo... | mosaic-cloud/mosaic-applications-realtime-feeds | backend/scripts/package.bash | Shell | apache-2.0 | 5,663 |
#!/bin/bash
# Copyright 2017 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 required ... | kubernetes/kube-state-metrics | tests/e2e.sh | Shell | apache-2.0 | 6,118 |
# -----------------------------------------------------------------------------
#
# Package : aws/aws-lambda-go
# Version : v1.13.3
# Source repo : https://github.com/aws/aws-lambda-go
# Tested on : RHEL 8.3
# Script License: Apache License, Version 2 or later
# Maintainer : BulkPackageSearch Automation <sethp@us.ibm.c... | ppc64le/build-scripts | a/aws__aws-lambda-go/aws__aws-lambda-go_rhel_8.3.sh | Shell | apache-2.0 | 5,049 |
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
wait_for_endpoint() {
URL=$1
EXPECTED=$2
MAX_WAIT=$3
while [ $MAX_WAIT -gt 0 ]; do
echo -en "\r$URL $MAX_WAIT";
RESPONSE_STATUS=$(curl --stderr /dev/null -X GET -i "$URL" | head -1 | cut -d' ' -f2)
... | amient/kafka-metrics | docker-instance.sh | Shell | apache-2.0 | 1,743 |
# COPYRIGHT_MAY_GO_HERE
# This script expects the following variables to be defined:
# PAIRED_END_ALIGNMENT = true|false
# COLOR_SPACE = true|false
# READS = reads file
# START_POSITION = start index in the reads file
# END_POSITION = end index in the reads file
# INDEX_DIRECTORY = directory that contains the indexed... | CampagneLaboratory/gobyweb2-plugins | plugins/aligners/LASTAG_GOBY/script.sh | Shell | apache-2.0 | 2,367 |
#!/bin/bash
bash ./docker/build.sh
./bin/dendrite-media-api-server --config dendrite.yaml
| gperdomor/dendrite | docker/services/media-api.sh | Shell | apache-2.0 | 92 |
#!/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... | majetideepak/arrow | ci/docker_build_cpp.sh | Shell | apache-2.0 | 2,856 |
#! /bin/bash
# Copyright 2019 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | google-research/episodic-curiosity | scripts/vm_drop_root.sh | Shell | apache-2.0 | 1,477 |
export JAVA_HOME=/usr/java/default
| whlee21/docker | centos6-cdh5-base/profile.d/jdk.sh | Shell | apache-2.0 | 35 |
#!/bin/bash -ex
pushd `dirname $0` > /dev/null
base=$(pwd -P)
popd > /dev/null
# Gather some data about the repo
source $base/vars.sh
# Send a null Job status check
[ `curl -H "Content-Type: application/json" -X POST \
-w "%{http_code}" -s -o /dev/null \
-d '{ "name":"The toLower Service", "description":"Service... | venicegeo/pz-servicecontroller | scripts/health-check.sh | Shell | apache-2.0 | 582 |
#!/bin/bash
function help() {
echo "Usage: ./run.sh [centos|ubuntu|ports|demodela] [1|3] [ndb|hopsworks|hops|jim|antonios|theofilos|demodela|etc] [no-random-ports] [udp-hack]"
echo ""
echo "Create your own cluster definition from an existing one:"
echo "cp cluster.1.hopsworks cluster.1.jim"
echo "For example... | AlexHopsworks/karamel-chef_dela | run.sh | Shell | apache-2.0 | 4,902 |
#!/usr/bin/env bash
# Cause the script to exit if a single command fails.
set -e
# Show explicitly which commands are currently running.
set -x
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
platform="unknown"
unamestr="$(uname)"
if [[ "$unamestr" == "Linux" ]]; then
echo "Platform is linux."
platform="l... | atumanov/ray | ci/travis/test-wheels.sh | Shell | apache-2.0 | 2,789 |
#!/bin/bash
set -e
function start_rpc {
rpcbind || return 0
rpc.statd -L || return 0
rpc.idmapd || return 0
}
function start_nfs {
get_config
check_config
# Init RPC
start_rpc
if [ ! -e "$RGW_KEYRING" ]; then
if [ ! -e "$RGW_BOOTSTRAP_KEYRING" ]; then
log "ERROR- $RGW_BOOTSTRAP_KEYRING m... | rootfs/ceph-docker | ceph-releases/luminous/ubuntu/16.04/daemon/start_nfs.sh | Shell | apache-2.0 | 1,010 |
#!/bin/sh
set -e
echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
install_framework()
{
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
local source="${BUILT_PRO... | jacy2013/SharedContainer | Pods/Target Support Files/Pods-SharedContainer/Pods-SharedContainer-frameworks.sh | Shell | apache-2.0 | 3,672 |
#!/bin/bash
basepath=`dirname $0`
while read line ; do
eval "$line"
done < $basepath/proxy.config
if [[ ! -n $proxy_host ]] || [[ ! -n $proxy_port ]] ; then
echo -e "\033[31m Please set the proxy host and port in proxy.config \033[0m"
exit -1;
else
echo -e "\033[32m proxy server : $proxy_host:$proxy_p... | msdx/autoGetAndroidSource | checkConfig.sh | Shell | apache-2.0 | 345 |
#!/bin/bash
# Copyright 2017 Google Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# Don't allow to call these scripts from their directories.
[ -e $(basename $0) ] && echo "PLEASE USE THIS SCRIPT FROM ANOTHER DIR" && exit 1
# Ensure that fuzzing engine, if defined, is val... | bshastry/fuzzer-test-suite | common.sh | Shell | apache-2.0 | 2,766 |
#
# DIST.sh
#
# David Janes
# IOTDB
# 2015-04-03
#
PACKAGE=homestar-sonos
DIST_ROOT=/var/tmp/.dist.$$
if [ ! -d "$DIST_ROOT" ]
then
mkdir "$DIST_ROOT"
fi
echo "=================="
echo "NPM Packge: $PACKAGE"
echo "=================="
(
NPM_DST="$DIST_ROOT/$PACKAGE"
echo "NPM_DST=$NPM_DST"
if... | dpjanes/homestar-sonos | DIST.sh | Shell | apache-2.0 | 837 |
#!/bin/sh
# Tizen GBS Local Build Script
#
# Copyright (C) 2016 Linux Foundation
#
# 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 lat... | sangbae/Tizen-GLF | tizen_common_artik_fullbuild.sh | Shell | apache-2.0 | 6,160 |
#!/bin/bash
echo "Shutting down OpenFlow soft switches......"
pkill -9 ofdatapath
pkill -9 ofprotocol
pkill -9 fail-ofdatapath
pkill -9 fail-ofprotocol
pkill -9 ext-ofdatapath
pkill -9 ext-ofprotocol
echo "Removing links......"
ip link del sw1-eth1
ip link del sw1-eth2
ip link del sw1-eth3
ip link del sw2-eth1
i... | jgoodyear/OpenDaylightCookbook | chapter4/chapter4-recipe6/VPC/network-down.sh | Shell | apache-2.0 | 949 |
#!/usr/bin/env bash
#
# Example: GROUP=weaveworksdemos COMMIT=latest ./scripts/build.sh
#
IMAGE=orders-aws
set -evx
SCRIPT_DIR=$(dirname "$0")
if [[ -z "$GROUP" ]] ; then
echo "Cannot find GROUP env var"
exit 1
fi
if [[ -z "$COMMIT" ]] ; then
echo "Cannot find COMMIT env var"
exit 1
fi
CODE_DIR=$... | Compositional/orders-aws | scripts/build.sh | Shell | apache-2.0 | 838 |
# Copyright 2022 The Google Research 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-research/google-research | solver1d/run.sh | Shell | apache-2.0 | 873 |
#!/usr/bin/env bash
# Helper functions
export TERM=xterm # XXX: To get around 'tput: No value for $TERM and no -T specified'
info() { echo "$(date +%T): $(tput setaf 2)INFO:$(tput sgr0) $@"; }
warn() { echo "$(date +%T): $(tput setaf 3)WARN:$(tput sgr0) $@"; }
erro() { echo "$(date +%T): $(tput setaf 1)ERRO:$(tput sgr... | magnetic-ci/vamp-docker-images | tests/test-push.sh | Shell | apache-2.0 | 3,508 |
: '@(#)getXrecon.sh 22.1 03/24/08 2003-2005 '
#
#
# Copyright (C) 2015 University of Oregon
#
# You may distribute under the terms of either the GNU General Public
# License or the Apache License, as specified in the LICENSE file.
#
# For more information, see the LICENSE file.
#
#
#!/bin/sh
#
# getXrecon copies X... | OpenVnmrJ/OpenVnmrJ | src/scripts/getXrecon.sh | Shell | apache-2.0 | 832 |
#!/bin/bash
#make sure deps are up to date
rm -r node_modules
npm install
# get current version
VERSION=$(node --eval "console.log(require('./package.json').version);")
# Build
git checkout -b build
npm run build
git add dist -f
git add lib/.version.js -f
git commit -m "build $VERSION"
# Tag and push
git tag $VERSI... | omsmith/pouchdb | bin/publish.sh | Shell | apache-2.0 | 493 |
#!/bin/bash
# This runs the protoc plugin in a similar way to how it is run using the bazel rules
php src/Main.php
| googleapis/gapic-generator-php | scripts/run_protoc_plugin.sh | Shell | apache-2.0 | 115 |
#!/bin/bash
# Author: yeho <lj2007331 AT gmail.com>
# BLOG: https://blog.linuxeye.com
#
# Notes: OneinStack for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+
#
# Project home page:
# https://oneinstack.com
# https://github.com/lj2007331/oneinstack
Upgrade_DB() {
cd $oneinstack_dir/src
[ ! -e "$db_install_dir... | batpig61/lnmp | include/upgrade_db.sh | Shell | apache-2.0 | 10,019 |
#!/bin/sh
VERSION="1.0.0-SNAPSHOT"
AUTHOR="Zak Hassan <zak.hassan@redhat.com>"
echo ' __ ___ _ __ ___ '
echo ' / |/ /__ ___ (_) /____ ____ / _ \'
echo ' / /|_/ / _ \/ _ \/ / __/ _ \/ __/ / // /'
echo '/_/ /_/\___/_//_/_/\__/\___/_/ /____/ '
echo " Building Docker File For Backend ... | BZCareer/monitor.d | bin/make-all-push.sh | Shell | apache-2.0 | 593 |
sudo apt-get install virtualbox-guest-additions-iso -y --force-yes
sudo apt-get install -y --force-yes virtualbox-guest-utils
| bayvictor/distributed-polling-system | bin/setup_win7_ubu_share.sh | Shell | apache-2.0 | 133 |
#!/bin/bash
#
# Source me from your .bashrc to use Chippery's shared-environment settings
| hipikat/chippery-formula | chippery/templates/set_chippery_env.sh | Shell | bsd-2-clause | 91 |
#!/bin/bash
source config/google-deploy.txt.default
ls config/google-deploy.txt >/dev/null 2>&1 && \
source config/google-deploy.txt
if [ "$APPID" == "sample" ]; then
echo "Please configure APPID in config/google-deploy.txt"
exit 1
fi
exec goapp deploy -application $APPID .
| ckxng/bibleschoolmedia | bin/deploy.sh | Shell | bsd-2-clause | 283 |
readonly PROJECT="UARIS"
readonly AVRDUDEMCU="t13"
readonly PROGRAMMER="atmelice_isp"
make
sudo avrdude -p $AVRDUDEMCU -c $PROGRAMMER -P usb -e -U flash:w:./$PROJECT.hex
make clean
| Leonhart231/UARIS | Slave/run.sh | Shell | bsd-2-clause | 182 |
#!/bin/sh
# Intercepts GCC calls from a makefile -- remember to change LOCKROOT
# Example usage: "intercept.sh make -e"
LOCKROOT=/home/jan/research/relay-race
CC=$LOCKROOT/scripts/mycc.pl
GCC=$LOCKROOT/scripts/mycc.pl
LD=$LOCKROOT/scripts/myld.pl
AR=$LOCKROOT/scripts/myar.pl
LOGFILE=$PWD/gcc-log.txt
/bin/rm -f $L... | cogumbreiro/relay | scripts/intercept.sh | Shell | bsd-3-clause | 493 |
#!/bin/bash
# httpie: https://httpie.org/
TOKEN="6765c4a0c68fd2ea0c5a5f6ff9eb01dcaae68a647ee4e643c3cf169455dae206"
#通用透传接口
http http://localhost:8002/push epush_id=apns_c token=$TOKEN content="common" -f
#各种参数的接口
http http://localhost:8002/push epush_id=apns_c device_token=$TOKEN sound="default"
| dcy/epush | examples/http/apns.sh | Shell | bsd-3-clause | 329 |
#!/bin/bash
#PBS -l nodes=12:ppn=12
#PBS -l walltime=02:00:00
#PBS -j oe
#PBS -V
#PBS -N IPythonMPI0
#source activate radar35
export LD_LIBRARY_PATH=/home/scollis/coin/lib/:$LD_LIBRARY_PATH
ipcluster start --n=144 --profile=mpi0
| scollis/AGU_2016 | cluster/my_sub_script_big.sh | Shell | bsd-3-clause | 231 |
export SWALS_SRC='../../src'
source ${SWALS_SRC}/test_run_commands
# Run the convergence test, so the "test_convergence.R" script can be run
rm -rf ./OUTPUTS model
make -B -f make_model > build_log.log
eval "$OMP_RUN_COMMAND ./model 1"
eval "$OMP_RUN_COMMAND ./model 2"
eval "$OMP_RUN_COMMAND ./model 4"
eval "$OMP_RUN_... | GeoscienceAustralia/ptha | propagation/SWALS/examples/periodic_convergence/run_model.sh | Shell | bsd-3-clause | 382 |
# This script will install Anope IRC Services on an AWS Linux AMI by:
# 0.1) Create an AWS Linux EC2 instance, with S3 read access (IAM roles))
# 0.2) Set up UnrealIRCd
# 1) Installing the necessary packages with yum
# 2) Downloading anope
# 3) Configuring and installing anope
# 4.1) Download configuration ... | codetalkio/AWS-IRC-Setup | install/install-anope.sh | Shell | bsd-3-clause | 4,224 |
#!/bin/bash
pushd $LOCAL_TMP_DIR
status=0
rm -t -f u23_infos.log
fw -p $LOCAL_TEST_DIR/u23_cfg.py
for file in u23_infos.log
do
sed -i -r -f $LOCAL_TEST_DIR/filter-timestamps.sed $file
diff $LOCAL_TEST_DIR/unit_test_outputs/$file $LOCAL_TMP_DIR/$file
if [ $? -ne 0 ]
then
echo The above discrepancies con... | gartung/fnal-art | art/test/Framework/Services/Message/u23t.sh | Shell | bsd-3-clause | 374 |
#!/bin/sh
bower update --config.directory=tranny/static/vendor
grunt build
| leighmacdonald/tranny | update.sh | Shell | bsd-3-clause | 75 |
#!/bin/bash
# Command line arguments
# Default to 1 core
N=${1:-1}
# Bash array to iterate over for configurations
cfgs=(\
"e_bp_unicore_cfg"
"e_bp_unicore_tinyparrot_cfg"
"e_bp_multicore_1_cfg"
"e_bp_multicore_1_cce_ucode_cfg"
"e_bp_multicore_4_cfg"
"e_bp_multicore_4_cce_ucode_cfg"
)
# ... | litex-hub/pythondata-cpu-blackparrot | pythondata_cpu_blackparrot/system_verilog/black-parrot/ci/sv2v.sh | Shell | bsd-3-clause | 922 |
#!/bin/bash
# Script to build and upload a docker image.
function build_and_publish_image() {
RED='\033[0;31m'
BLUE='\033[0;34m'
NC='\033[0m'
VERSION="$(cat VERSION)"
IMAGE=skasip/vis_recv_c
echo -e "${RED}--------------------------------------------------------------${NC}"
echo -e "${BLUE}... | SKA-ScienceDataProcessor/integration-prototype | sip/science_pipeline_workflows/ingest_visibilities/recv_c/build_image.sh | Shell | bsd-3-clause | 665 |
#!/bin/bash
# uses Ghostscript to convert PDF to PNG at good quality
# Michael Hirsch
echo "if you're trying to extract images, use pdfimages program instead"
inpdf=$1
firstpg=$2
lastpg=$3
dpi=600 #user specified
#basestem=$(basename $inpdf .pdf) #no directory
instem=${inpdf%.*} #no $ on inpdf
gs -r$dpi -dSAFER -dBA... | scienceopen/pybashutils | pdf2png.sh | Shell | bsd-3-clause | 432 |
#!/bin/sh
#
# Copyright © 2000, 2003 by The XFree86 Project, Inc
# All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation t... | pyrovski/scalasca | utils/build/cleanlinks.sh | Shell | bsd-3-clause | 2,938 |
#!/bin/bash
CMOCK='../src/cmock.py'
REF_H="_ref.h"
REF_C="_ref.c"
MOCK_H="_mock.h"
MOCK_C="_mock.c"
MOCK_H_OUT="_mock_out.h"
MOCK_C_OUT="_mock_out.c"
TEMPFILE="mock.out"
function GenerationTest {
slash='/'
path=$1$slash
file=$path$2
base=$path$3
options=$4
error=0
$CMOCK $options $file
... | FreddyHurkmans/cmock | test/test.sh | Shell | bsd-3-clause | 1,518 |
#This relies on test-1.sh and related files
# requires two arguments 1. design size 2. wall clock time
# Please update or enhance as needed
cp test-1.sh test-$1.sh
cp cfg-prm-1.sh cfg-prm-$1.sh
cp cfg-sys-1.sh cfg-sys-$1.sh
NP=$(($1+2))
# setting the budget to be 10 times the number of evaluations
Budget=$(($1*10))
ech... | ECP-CANDLE/Supervisor | workflows/mlrMBO/test/create-new-test.sh | Shell | mit | 809 |
#!/usr/bin/env bash
TS=`echo $(date +"%Y-%m-%dT%H:%M:%SZ")`
echo "Dumping database starting at ${TS} ..."
cd ./db_dump
DNAME=${MYSQL_ENV_MYSQL_DATABASE}_$TS
start=`date +%s`
mysqldump -v \
--port=$MYSQL_PORT_3306_TCP_PORT \
--protocol=TCP \
--single-transaction \
-h $MYSQL_PORT_3306_TCP_ADDR \... | bradojevic/django-prod | scripts/dump_db.sh | Shell | mit | 519 |
#!/bin/sh
wget -q https://dl.dropbox.com/s/5m6iy52mfuzz3fe/aoc-techtree-tiles.zip?dl=1 -O tiles.zip &&
unzip -qo tiles.zip
| galapon/aoe2stats | web/images/techtrees/aoc/download_tiles.sh | Shell | mit | 124 |
#!/opt/exp/bin/expect
#
# run a TL1 script remotely
#
#########################################################################
#
# libraries
#
source $env(LCSTOOLSLIB)/logging
source $env(LCSTOOLSLIB)/checkenv
source $env(LCSTOOLSLIB)/chooseone
source $env(LCSTOOLSLIB)/getoptval
source $env(LCSTOOLSLIB)/db
#
# functio... | ombt/ombt | lts08.lcstools/tools/src/hug/OLD/src/OLD/lcshug.sh | Shell | mit | 10,649 |
#!/bin/bash
# Build Script for WebcamJS
# Install uglifyjs first: sudo npm install uglify-js -g
uglifyjs webcam.js -o webcam.min.js --mangle --reserved "Webcam" --preamble "// WebcamJS v1.0.6 - http://github.com/jhuckaby/webcamjs - MIT Licensed"
| EmmetBlue/Emmet-Blue-Ui | assets/js/plugins/webcam/build.sh | Shell | mit | 248 |
######################################
# INSTALL OPENCV ON UBUNTU OR DEBIAN #
######################################
# -------------------------------------------------------------------- |
# SCRIPT OPTIONS |
# ------------------------------------------------------... | milq/scripts-for-ubuntu-debian | scripts/bash/install-opencv.sh | Shell | mit | 3,938 |
#!/usr/bin/env bash
# Base16 Atelier Plateau - Guake Terminal color scheme install script
# Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau)
gconftool-2 -s -t string /apps/guake/style/background/color "#f4f4ecececec"
gconftool-2 -s -t string /apps/guake/style/font/color "#585850... | atelierbram/syntax-highlighting | docs/atelier-schemes/output/guake/base16-atelierplateau.light.sh | Shell | mit | 610 |
# Copyright (c) 2017 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#network interface on which to limit traffic
IF="eth0"
#limit of the network interface in question
LINKCEIL="1gbit"
#limit outbound M... | xieta/mincoin | contrib/qos/tc.sh | Shell | mit | 2,564 |
#!/bin/bash
set -e
if [[ "$DISTRIB" =~ ^conda.* ]]; then
source activate $VIRTUALENV
elif [[ "$DISTRIB" == "ubuntu" ]]; then
source $VIRTUALENV/bin/activate
fi
if [[ "$TEST_DOCSTRINGS" == 'true' ]]; then
make test-doc
pytest -vsl maint_tools/test_docstring.py
fi
| fmfn/UnbalancedDataset | build_tools/azure/test_docs.sh | Shell | mit | 282 |
cd Chapter1_Introducao/ && ipython nbconvert Chapter1.ipynb --to latex --post PDF --template article
cd ../Chapter2_Calculo_Proposicional/ && ipython nbconvert Chapter2_Calculo_Proposicional.ipynb --to latex --post PDF --template article
cd ../Chapter3_Deducao_Natural/ && ipython nbconvert Chapter3_Deducao_Natural.ipy... | MelroLeandro/Matematica-Discreta-para-Hackers-ipnyb | to_latex_pdf.sh | Shell | mit | 501 |
#!/bin/bash
#incremental backup script
#takes daily backups and uses them as weekly backups
set -eu
. /etc/lincremental/lincremental.cfg
. /usr/local/lincremental/lincremental_functions
#If it takes you longer than a week to back up, you
#probably have bigger problems, but what the hell,
#let's lock anyway
lock "$LO... | DanielKinsman/lincremental | lincremental_weekly.sh | Shell | mit | 730 |
#!/bin/bash
URL=$1
LINK_ID=$2
TMP_DIR=/tmp/
TMP_FILE=$TMP_DIR$LINK_ID.ts
PID_FILE=$TMP_DIR$LINK_ID.pid
TIMEOUT=5
#echo $TMP_FILE
cvlc $URL --daemon --pidfile $PID_FILE --sout '#duplicate{dst=std{access=file,mux=ts,dst=\"'$TMP_FILE'\"}}' >/dev/null 2>&1
#echo start counting $TIMEOUT s
sleep $TIMEOUT
#echo $!
kill -9... | saydulk/stalker_portal | monitoring/check_channel.sh | Shell | mit | 431 |
#!/bin/bash
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relativ... | bmichalski-poc/requirejs-optimization-poc | run.sh | Shell | mit | 534 |
#!/bin/sh
while read a b; do
c=$((a + b))
test 10 -lt $c && c=10
echo "$a + $b = $c"
done
| apluslms/grading-base | examples/testcase/model.sh | Shell | mit | 103 |
javac --module-source-path src -d target $(find . -name '*.java')
| pellaton/techtalk-java9-example | services/j9-compile.sh | Shell | mit | 66 |
#!/bin/bash
#
# Copyright (c) 2005-2017 Intel Corporation
#
# 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 ... | variar/contest-template | external/tbb/src/perf/run_statistics.sh | Shell | mit | 1,103 |
#! /bin/sh
# Copyright (C) 2011-2013 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 ... | GavinSmith0123/automake-amplain | t/remake-gnulib-add-acsubst.sh | Shell | gpl-2.0 | 2,713 |
#! /bin/sh
# Copyright (C) 2011-2013 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 ... | GavinSmith0123/automake-amplain | t/aclocal-path-precedence.sh | Shell | gpl-2.0 | 2,536 |
#!/bin/bash
# 2011-05-20
# Aurelio Jargas
#
# Mostra quando uma função está faltando ou sobrando na linha Requisitos:
#
# $ ./requisitos.sh
# zzcarnaval: # Requisitos: zzpascoa
# zzfeed: Função listada mas não utilizada: zzbeep
#
cd $(dirname "$0") || exit 1
base="\
zzzz
zztool
zzajuda"
cd ../zz
for f in zz*
do
# ... | gmgall/funcoeszz | util/requisitos.sh | Shell | gpl-2.0 | 1,592 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2009-2017 Mike Shal <marfey@gmail.com>
#
# 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 distribu... | fasterthanlime/tup-fuseless | test/t5017-read-symlink2.sh | Shell | gpl-2.0 | 1,404 |
cd bin
make
sudo cp libCosmPsfWrapper.so /usr/lib/
| bnorthan/projects | truenorthJ/native/CosmPsfWrapper/Build.sh | Shell | gpl-2.0 | 51 |
#!/bin/bash
# Place to add code
# Some basic functions to access the data
#echo ${concentration[*]} # All elements of the array
#echo ${concentration[9]} # Element number 10 (counter starts at 0)
#numberofitems=${#concentration[*]} # calculate the number of elements in array
#echo $numberofitems
#echo ${concentratio... | olunet/NaRIBaS | task_storage/task_analysis-energy-bulk-impurity_STEP1.sh | Shell | gpl-2.0 | 2,304 |
#!/bin/bash -le
#PBS -N em_annling
#PBS -l walltime=24:00:00
#PBS -o Output.job
#PBS -j oe
#PBS -l nodes=1:ppn=20
#PBS -M jakub.krajniak@cs.kuleuven.be
#PBS -A lp_sim_interpoco
source switch_to_2015a
module purge
module load 2015a/GROMACS/2016.3
cd $PBS_O_WORKDIR
# Set up OpenMPI environment
n_proc=$(cat $PBS_NODE... | MrTheodor/bakery | examples/network_backmapping/pete/backmapping/template_eq/MyJobScript.sh | Shell | gpl-3.0 | 1,004 |
#!/usr/bin/env bash
# check if vendor dir is existing
DIR="/vagrant/vendor/"
if [ -d "$DIR" ]; then
# Take action if $DIR exists. #
echo "vendor dir found, nothing to do..."
else
echo "vendor dir not found, installing dependencies..."
cd /vagrant/ && php composer.phar install
fi
| rauldobrota/phpservermon | setup-php.sh | Shell | gpl-3.0 | 288 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/logs/w-10_2/20161108T225102+0000/00/00/init_0_ID0000001.sh | Shell | gpl-3.0 | 1,222 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 2/logs/w-09_0/20170123T162046+0000/00/00/longestsession_0_ID0000004.sh | Shell | gpl-3.0 | 1,228 |
#!/bin/bash
# Set the error mode so the script fails automatically if any command in it fails.
# This saves us a lot of error checking code down below.
set -e
# Check the command line arguments.
if (( $# < 1 ))
then
>&2 echo "Error: missing profile name"
>&2 echo
>&2 echo "Usage:"
>&2 echo " make men... | OpenWrt-HappyHacker/happyhacker-builder | script/host/make_menuconfig.sh | Shell | gpl-3.0 | 1,428 |
#!/bin/sh
# In the case of UPS failure we can't rely on the cluster master availability.
# We will shutdown the ganeti daemons and next - the virtual instances,
# But we will stay with Dom0 running for the case of pending DRBD sync.
# The real power off will drop Dom0, but this is safe because of journalling fs.
# In... | vladimir-ipatov/sci-setup | sbin/gnt-node-shutdown.sh | Shell | gpl-3.0 | 663 |
#!/bin/bash
#SBATCH -J AxiSEM
#SBATCH -D /scratch/cnt0023/git6091/beller/EGU_2015/Real_Data/AxiSEM_simulations/axisem-master/SOLVER/mondossier
#SBATCH --get-user-env
#SBATCH --nodes=10
#SBATCH --ntasks=240
#SBATCH --ntasks-per-node=24
#SBATCH --cpus-per-task=1
#SBATCH --time=05:00:00
#SBATCH --output AxiSEM
module purg... | geodynamics/specfem3d | EXTERNAL_PACKAGES_coupled_with_SPECFEM3D/AxiSEM_for_SPECFEM3D/AxiSEM_modif_for_coupling_with_specfem/SOLVER/mysubmit_occigen.sh | Shell | gpl-3.0 | 481 |
#!/bin/bash
gnuplot test_g/DoS-L=16_PP=16-12/temp/*.plot
convert -delay 10 -loop 0 test_g/DoS-L=16_PP=16-12/graphs/{1..20}.jpg animate-DoS-L=16_PP=16-12.gif
| nlare/Landau-Wang-omp | plot_test_g_graph-L=3D_16_PP=16-12.sh | Shell | gpl-3.0 | 157 |
#!/bin/ash
. /root/admin/applconfig.sh
date1=`tail -1 /root/api/server/tmptmptmp`
date2=$(date +"%s")
diff=$(($date2-$date1))
#echo "$(($diff / 60)) minutes and $(($diff % 60)) seconds elapsed."
minutes=$(($diff / 60));
if [[ "$minutes" -gt 5 ]]; then
b=`pgrep -f $diyiotserver:127.0.0.1:$diyiotserver`
i... | diyiot-tools/DIYiotClient | install/templates/admin/isAlive.sh | Shell | agpl-3.0 | 522 |
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# install YAJSW daemon script
#
set -e
# resolve links - $0 may be a softlink
PRG="$0"
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
... | RemiKoutcherawy/exist | tools/yajsw/bin/installDaemon.sh | Shell | lgpl-2.1 | 5,539 |
mvn clean package -DskipTests
java -jar target/streaming-event-listener-thorntail.jar -Dswarm.project.stage=localhost -Djava.net.preferIPv4Stack=true
#docker build --tag=nowellpoint/streaming-event-listener .
#docker run -it \
#-e AWS_REGION=$AWS_REGION \
#-e AWS_ACCESS_KEY=$AWS_ACCESS_KEY \
#-e AWS_SECRET_ACCESS_KEY=$... | nowellpoint/nowellpoint-integration-platform-parent | nowellpoint-streaming-event-listener/run.sh | Shell | apache-2.0 | 441 |
#!/bin/bash
echo "Starting..."
cd /opt/litef
# java7/bin/java -Dconfig.resource=/opt/litef/etc/application.conf -jar litef-conductor.jar &> /dev/null &
# java7/bin/java -cp etc:litef-conductor.jar core.Rest &> /dev/null &
CPATH="etc:litef-conductor.jar"
for dep in deps/*jar;
do
CPATH=$CPATH:$dep
done
echo $CPA... | ivan-cukic/litef-conductor | scripts/run.sh | Shell | apache-2.0 | 401 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.