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
if ! [ "$(id 'relay')" ]; then
getent group 'relay' > /dev/null 2>&1
exit_code=$?
if [ $exit_code -eq 0 ]; then
echo "creating user relay and adding to relay group"
useradd --no-create-home --system -g"relay" "relay"
elif [ $exit_code -eq 2 ]; then
echo "creating user and group relay"
... | tsheasha/relayd | deb/before_install.sh | Shell | apache-2.0 | 555 |
#!/bin/bash
# Copyright 2015 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 | jenkins/e2e-image/e2e-runner.sh | Shell | apache-2.0 | 2,385 |
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
| ilya-murzinov/dotfiles | nvim/plug.sh | Shell | apache-2.0 | 117 |
#!/bin/bash
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
curl -L https://raw.github.com/tonyseek/oh-my-zsh-seeker-theme/master/install.sh | sh
ln -sf $HOME/.vim/.vimrc $HOME/.vimrc
ln -sf $HOME/.vim/.zshrc $HOME/.zshrc
vim -c "BundleInstall"
bundle/YouCompleteMe/install.sh --clang-completer
sud... | moowiz/dotfiles | setup.sh | Shell | apache-2.0 | 371 |
#!/bin/bash
#
# 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.
#
# Update OpenVnmrJ
# First argument is location of previous VnmrJ 4.... | OpenVnmrJ/OpenVnmrJ | src/scripts/update_OpenVnmrJ.sh | Shell | apache-2.0 | 4,541 |
#!/bin/bash
#
# The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
# (the "License"). You may not use this work except in compliance with the License, which is
# available at www.apache.org/licenses/LICENSE-2.0
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR... | Reidddddd/mo-alluxio | integration/yarn/bin/alluxio-yarn.sh | Shell | apache-2.0 | 3,337 |
#! /bin/bash
# This file must be sourced.
if [ "x${DIG_CRF_HOME}" == "x" ]
then
echo "Please set the DIG_CRF_HOME envar"
exit 1
fi
DATASET_NAME=hbase-dump-2016-06-15
DIG_CRF_APPLY=${DIG_CRF_HOME}/src/applyCrf
DIG_CRF_COUNT=${DIG_CRF_HOME}/src/count
DIG_CRF_EXTRACT=${DIG_CRF_HOME}/src/extract
DIG_CRF_SCRIP... | usc-isi-i2/dig-crf | examples/hbase-dump-2016-06-15/config.sh | Shell | apache-2.0 | 2,564 |
#!/bin/bash
set -e
#
# Copyright 2015 Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | juliandunn/chef-server-1 | dev/scripts/update-changelog.sh | Shell | apache-2.0 | 2,331 |
#!/bin/sh
set -e
set -u
set -o pipefail
function on_error {
echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR
if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
# If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
# frameworks to, so exit 0 (signalling the... | themonki/onebusaway-iphone | Carthage/Checkouts/SwiftEntryKit/Example/Pods/Target Support Files/Pods-SwiftEntryKitDemo/Pods-SwiftEntryKitDemo-frameworks.sh | Shell | apache-2.0 | 8,046 |
#!/bin/bash
DIR=$(dirname $0)
pylint --rcfile $DIR/../.pylintrc $DIR/prettypublictest
| pcn/prettypublictest | run_pylint.sh | Shell | apache-2.0 | 88 |
#!/usr/bin/env bash
# -------------------------------------------------------
WORKAROUND=0
PIP=1
NEW_OOOQ=1
DEV=0
RUNQ=1
PKGS=1
SCRIPTS=1
VALIDATE=0
RELEASE=master-tripleo-ci
#RELEASE=queens
#RELEASE=rocky
# -------------------------------------------------------
export VIRTHOST=127.0.0.2
echo "Testing virthost connect... | fultonj/oooq | under/deploy.sh | Shell | apache-2.0 | 5,775 |
#!/usr/bin/env 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 a... | GoogleCloudPlatform/anthos-workshop | common/install-tools.sh | Shell | apache-2.0 | 1,948 |
#!/bin/bash
# configuration
user=webiopi # login username
pass=raspberry # login password
ipadr=127.0.0.1 # webiopi server ip address
port=8000 # webiopi server port number
pin=4 # GPIO port number
freq=50.0 # frequency
# default pwm frequency is 50 Hz.
if [ "$1" !=... | thortex/rpi3-webiopi | dev/test/hotaru.sh | Shell | apache-2.0 | 1,710 |
#!/bin/bash
# Author:Tyson
# E-mail:admin#svipc.com
# Website:http://www.svipc.com
# Version:1.0.0 Aug-16-2015-12:28:58
# Notes:Autoscripts for CentOS/RadHat 5+ Debian 6+ and Ubuntu 12+
Install_MySQL-5-5()
{
cd $Autoscripts_dir/src
src_url=http://cdn.mysql.com/Downloads/MySQL-5.5/mysql-$mysql_5_version.tar.gz && Down... | LongTaiJun/Autoscripts | include/mysql-5.5.sh | Shell | apache-2.0 | 6,709 |
#!/bin/sh
path="`pwd`"
repositoryId=h2o-mvn-repo
url="file://${path}/mvn-repo"
ver=6.0.0
mvn deploy:deploy-file -DgroupId=h2o -DartifactId=h2o-common -Dversion=${ver} -Dpackaging=jar -Dfile=../h2o-common/target/h2o-common-${ver}.jar -Durl=$url -DrepositoryId=${repositoryId}
| sixshot626/h2o | deploy/deploy_common.sh | Shell | bsd-2-clause | 278 |
pip install dash==0.21.0 # The core dash backend
pip install dash-renderer==0.12.1 # The dash front-end
pip install dash-html-components==0.10.0 # HTML components
pip install dash-core-components==0.22.1 # Supercharged components
pip install plotly --upgrade # Latest Plotly graphing library
| UWSEDS/LectureNotes | PreFall2018/Programming-Interactivity/setup_dash.sh | Shell | bsd-2-clause | 297 |
#!/bin/sh -eu
# Put all submodules on master from upstream:
git submodule foreach 'git checkout master && git pull'
| xmonad/xmonad-testing | bin/pull-all.sh | Shell | bsd-2-clause | 117 |
# custom settings for domain
# horst.kapfenberger@agoracon.at, 19.11.2014
#
# * file is sourced in setDomainEnv.sh
# * production mode
# * memory args
#
# if we set USER_MEM_ARGS those values will overrode all other memory
# settings in setDomainEnv.sh. distinction only by server_name.
#
# before changes... | kapfenho/iam-deployer | lib/identity/domain/setCustDomainEnv.sh | Shell | bsd-2-clause | 1,307 |
#!/usr/bin/env sh
# test_net_seg.bin test_proto pre_train_model label.txt outputfolder [CPU/GPU]
ROOTFILE=/nfs/hn46/xiaolonw/pose_cnncode/caffe-3dnormal_joint_pose
GLOG_logtostderr=1 /nfs/hn46/xiaolonw/pose_cnncode/caffe... | xiaolonw/caffe-3dnormal_joint_pose | posescript/pose_flic_3neg/test_pose.sh | Shell | bsd-2-clause | 648 |
#/bin/bash
cat ../logs/nginx.pid | xargs kill
| whm2300/nginx | test/sbin/stop.sh | Shell | bsd-2-clause | 46 |
#!/bin/bash
/etc/init.d/nscd start
/etc/init.d/nslcd start
| coco-project/dockerfiles | base-ldap/lib/02_start_ldap_services.sh | Shell | bsd-3-clause | 60 |
#!/bin/bash
VERSION="0.0.14 test"
afftype=".txt"
# trap keyboard interrupt (control-c)
trap control_c SIGINT
function setPath {
cat <<SETPATH
--------------------------------------------------------------------------------------
Error locating ANTS
----------------------------------------------------------------... | fbudin69500/ANTs | Scripts/buildtemplateparallel.sh | Shell | bsd-3-clause | 50,701 |
#!/bin/bash
# Author: Nate Levesque <public@thenaterhood.com>
# Language: Shell
# Filename: volumeControl.sh
#
# Description:
# Simple script to change the volume, useful to bind to keys in
# desktops/WMs that don't have their own control for it.
#
# Arguments:
# (none): displays the current volume to the termin... | thenaterhood/shellzilla | volumeControl.sh | Shell | bsd-3-clause | 1,378 |
#!/bin/sh
# NOTE!!!!
# this script should be run via sudo
#
# 1) Before starting, build a centos7 VM or download a cloud image for centos7
# and then save the base qcow2 file. See BASE below.
#
# 2) Using virt-manager define a number of VMs (e.g. 3 VMs if that's what you
# need). You MUST ensure that the libvir... | sadsfae/misc-scripts | shell/vm-sandbox-tool/vm-reset-fedora.sh | Shell | bsd-3-clause | 5,251 |
#!/bin/sh -e
# Edit the following to change the name of the database user that will be created:
APP_DB_USER=piktio
APP_DB_PASS=12345
# Edit the following to change the name of the database that is created (defaults to the user name)
APP_DB_NAME=$APP_DB_USER
# Edit the following to change the version of PostgreSQL th... | jbbrokaw/piktio | vagrantpg/Vagrant-setup/bootstrap.sh | Shell | bsd-3-clause | 3,409 |
#!/usr/bin/env bash
set -euo pipefail
GIT_BRANCH="${GITHUB_REF/refs\/heads\//}"
git checkout $GIT_BRANCH
echo "On branch $GIT_BRANCH."
if [ "$GIT_BRANCH" != "master" ] && [[ "$GIT_BRANCH" != dependabot/* ]]; then
PUSH_BRANCH=true
echo "Will try to push changes."
else
PUSH_BRANCH=false
echo "Will not push ch... | uwdata/vega-lite | scripts/check-and-commit-toc.sh | Shell | bsd-3-clause | 737 |
#!/bin/bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
versions=( "$@" )
if [ ${#versions[@]} -eq 0 ]; then
versions=( */ )
fi
versions=( "${versions[@]%/}" )
for version in "${versions[@]}"; do
fullVersion="$(curl -fsSL "https://raw.githubusercontent.com/golang/go/release-branch.go$version/VERSION" 2>... | mattrobenolt/golang | update.sh | Shell | bsd-3-clause | 1,259 |
#!/bin/sh
# Package
PACKAGE="cops"
DNAME="COPS"
# Others
INSTALL_DIR="/usr/local/${PACKAGE}"
DEFAULT_CFG_FILE="/usr/local/${PACKAGE}/config_local.php.synology"
WEB_DIR="/var/services/web"
CFG_FILE="${WEB_DIR}/${PACKAGE}/config_local.php"
preinst ()
{
exit 0
}
postinst ()
{
# Link
ln -s ${SYNOPKG_PKGDES... | momiji/spksrc | spk/cops/src/installer.sh | Shell | bsd-3-clause | 1,341 |
#!/bin/sh
# ignore "error" codes in the env script below
set +e
. /opt/qt56/bin/qt56-env.sh
set -e
# Switch to the gcc version we want
if [ $CC == "gcc" ]; then
export CC=gcc-6;
export CXX=g++-6;
fi
mkdir build
cd build
if [[ "$RELEASE_BUILD" == "1" ]]; then
cmake -DCMAKE_BUILD_TYPE=Release ..
else
cmake -DCM... | googlestadia/renderdoc | util/travis/linux_compile.sh | Shell | mit | 449 |
#!/bin/bash
# Link to the binary
ln -sf /opt/{{ name }}/{{ name }} /usr/local/bin/{{ name }}
# Create an entry to launch on startup
mkdir -p $HOME/.config/autostart/
cp -f /usr/share/applications/{{ name }}.desktop $HOME/.config/autostart/{{ name }}.desktop
| akovalyov/hipchat-desktop | resources/linux/after-install.sh | Shell | mit | 260 |
#!/bin/bash
# Useful exports to have while running quicktry locally. This can be used by
# sourcing the file.
# This tells the flask cli where to look for the current application
export PYTHONPATH=`pwd`
# Define the location of the flask appliction
export FLASK_APP=quicktry
# This is the location to the default con... | QuickTry/QuickTry-Server | exports.sh | Shell | mit | 491 |
#!/bin/bash
# Run to install wkhtmltopdf in local folder
version="0.12.4"
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/$version/wkhtmltox-"$version"_linux-generic-amd64.tar.xz
tar xf wkhtmltox-"$version"_linux-generic-amd64.tar.xz
| mxklb/cuteproject | libs/extern/wkhtmltox.sh | Shell | mit | 252 |
#!/usr/bin/env bash
# nvm (Node Version Manager) completion
if [ "$NVM_DIR" ] && [ -r "$NVM_DIR"/bash_completion ];
then
. "$NVM_DIR"/bash_completion
fi
| voku/dotfiles | .redpill/completion/available/nvm.completion.bash | Shell | mit | 157 |
#!/usr/bin/env bash
set -e
SCRIPT=`pwd`/$0
FILENAME=`basename $SCRIPT`
PATHNAME=`dirname $SCRIPT`
ROOT=$PATHNAME/..
BUILD_DIR=$ROOT/build
CURRENT_DIR=`pwd`
LIB_DIR=$BUILD_DIR/libdeps
PREFIX_DIR=$LIB_DIR/build/
NVM_CHECK="$PATHNAME"/checkNvm.sh
FAST_MAKE=''
NUM_CORES=1;
if [ "$(uname)" == "Darwin" ]; then
NUM_CORES... | lodoyun/licode | scripts/installErizo.sh | Shell | mit | 3,938 |
#!/bin/bash
set -e
# If this is a pull request then we won't have access to secure variables and can't do integration tests with SauceLabs.
# In this case just do normal local tests
if [ $TRAVIS_PULL_REQUEST != "false" ]
then
# Run default task
gulp
else
echo "travis_fold:start:Tests"
gulp test
echo "trav... | YonatanKra/ui-grid-columns-filters | travis_build.sh | Shell | mit | 523 |
#!/bin/bash
cd $(dirname "${BASH_SOURCE[0]}")
WSTEST=$(ls $HOME/Library/Python/2.*/bin/wstest 2>/dev/null)
set -e
if [ ! -f "$WSTEST" ] || [ "$UPGRADE" == "1" ]; then
pip install --user --upgrade unittest2
pip install --user --upgrade autobahntestsuite
WSTEST=$(ls $HOME/Library/Python/2.*/bin/wstest)
fi
if [ "$SERV... | siegesmund/RealmMeteor | Carthage/Checkouts/SwiftWebSocket/test/run.sh | Shell | mit | 1,288 |
crystal build test.cr --release -o base64_cr
go build -o base64_go test.go
gccgo -O3 -g -o base64_go_gccgo test.go
g++ -O3 -o base64_cpp test.cpp -lcrypto
gcc -O3 -std=c99 -o base64_c test.c
scalac -optimize test.scala
dmd -ofbase64_d -O -release -inline test.d
gdc -o base64_d_gdc -O3 -frelease -finline test.d
ldc2 -of... | erickt/benchmarks | base64/build.sh | Shell | mit | 1,035 |
#!/usr/bin/env bash
usage="./collect_events.sh fromFolder toFolder"
fromFolder=$1
toFolder=$2
if [ -z "$fromFolder" ]
then
echo $usage
exit 1
fi
if [ -z "$toFolder" ]
then
echo $usage
exit 1
fi
echo "collecting events from " $fromFolder " to " $toFolder
folderName=$fromFolder
target_folder=$toFolde... | chunshen1987/HBTcorrelation_MCafterburner | ebe_scripts/collect_events.sh | Shell | mit | 2,174 |
#!/bin/sh
# Best Practices: https://developers.facebook.com/docs/videos/live-video/best-practices/
# It may be possible to auto-gen the API key: https://developers.facebook.com/docs/graph-api/reference/live-video/
# "You can make a POST request to live_videos edge from the following paths"
# -t 14400 Limit to 4 ho... | voc/voctomix | example-scripts/ffmpeg/stream-facebook.sh | Shell | mit | 858 |
openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert pnpush.pem -key pnpush.pem
| opentable/pubnub | iOS/verifyCertWithApple.sh | Shell | mit | 95 |
#!/bin/sh
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/files/am-wrapper-8.sh,v 1.2 2013/02/04 14:00:23 aballier Exp $
# Executes the correct automake version.
#
# If WANT_AUTOMAKE is set (can be ... | rafaelmartins/gentoo-rpi | sys-devel/automake-wrapper/files/am-wrapper-8.sh | Shell | gpl-2.0 | 4,676 |
#!/bin/bash
#
# Copyright (C) 2007 Karel Zak <kzak@redhat.com>
#
# This file is part of util-linux.
#
# This file 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... | Romutk/lab3.2n | util-linux/tests/run.sh | Shell | gpl-2.0 | 4,508 |
#!/bin/sh
##########################################################################
# compile.sh - Unix/X11 configuration script
# $Date: 2007/07/01 09:46:46 $
# $Revision: 1.15 $
#
# This is a minimalist configuration script for GLFW, which is used to
# determine the availability of certain features.
#
# This script... | DavidMutchler/kiss | external/src/glfw/compile.sh | Shell | gpl-2.0 | 16,929 |
#!/bin/bash
# required env vars:
# HASH
# HASH_ORIG
# KERNELDIR
# KERNEL_RELEASE
# OUTPUT
# PROBE_DEVICE_NAME
# PROBE_NAME
# PROBE_VERSION
set -euo pipefail
ARCH=$(uname -m)
if [[ -f "${KERNELDIR}/scripts/gcc-plugins/stackleak_plugin.so" ]]; then
echo "Rebuilding gcc plugins for ${KERNELDIR}"
(cd "${KERNELDIR}" &... | hlieberman/sysdig | probe-builder/builder-entrypoint.sh | Shell | gpl-2.0 | 1,104 |
#!/bin/sh
export DRACUT_SYSTEMD
export NEWROOT
if [ -n "$NEWROOT" ]; then
[ -d $NEWROOT ] || mkdir -p -m 0755 $NEWROOT
fi
if ! [ -d /run/initramfs ]; then
mkdir -p -m 0755 /run/initramfs/log
ln -sfn /run/initramfs/log /var/log
fi
[ -d /run/lock ] || mkdir -p -m 0755 /run/lock
[ -d /run/log ] || mkdir -p ... | xlpang/dracut | modules.d/99base/dracut-lib.sh | Shell | gpl-2.0 | 33,981 |
#!/bin/bash
runthis(){
## print the command to the logfile
echo "$@"
## run the command and redirect it's error output
## to the logfile
eval "$@"
}
printf "\n\033[1;34m******************************Start cloud_write_read_nameHash.sh script**********************************\033[0m\n"
printf "\033[... | bprotopopov/s3backer | Testing_GCS/cloud_write_read_nameHash.sh | Shell | gpl-2.0 | 4,523 |
#!/usr/bin/env sh
# Martin Kersner, m.kersner@gmail.com
# 2016/03/10
# TODO store init model and DeepLab-LargeFOV files in one directory
NET_ID=DeepLab-LargeFOV
INIT_PATH=init
MODEL_PATH=exper/voc12/model/${NET_ID}
CONFIG_PATH=exper/voc12/config/${NET_ID}
mkdir -p ${INIT_PATH}
mkdir -p ${MODEL_PATH}
mkdir -p ${CONF... | sadjadasghari/deeplab4a2d | get_DeepLab_LargeFOV_voc12_data.sh | Shell | gpl-3.0 | 788 |
#/bin/bash
function export {
inkscape --export-area-page --export-dpi $1 --export-png=$2 $3
echo
}
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <svg file>"
exit 0
fi
outdir="../src/main/res/mipmap"
dpi=90
outfile=ic_launcher.png
export $dpi $outdir-mdpi/$outfile $1
export $(echo "scale=2; $dpi*1.5" | bc) $outdir-hdp... | jvalue/hochwasser-app | app/images/export_launcher.sh | Shell | agpl-3.0 | 529 |
#!/bin/bash
# get directory of script
DIR="$( cd "$( dirname "$0" )" && pwd )"
# assuming a local guacmole version is located properly
LOCAL_GUACAMOLE="$DIR/../../../guacamole"
LOCAL_AVANGO="$DIR/../../../avango"
# if not, this path will be used
GUACAMOLE=/opt/guacamole/master
AVANGO=/opt/avango/master
# third part... | yaroslav-tarasov/avango | examples/volume/start.sh | Shell | lgpl-3.0 | 1,109 |
#!/usr/bin/env bash
set -e
[[ -z $DEBUG ]] || set -x
cur_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
repo_root=$(git rev-parse --show-toplevel 2> /dev/null)
docker_compose_dir="${repo_root}"
(
cd $docker_compose_dir
docker-compose -f ${docker_compose_dir}/docker-compose.release.yml config > ${cur_dir}... | myambition/ambition | production/generate-docker-compose.sh | Shell | unlicense | 342 |
#!/bin/bash
set -euo pipefail
set -o xtrace
if ! type innoextract >/dev/null 2>&1; then
mkdir -p _deps
pushd _deps
curl -fLO http://constexpr.org/innoextract/files/innoextract-1.6-windows.zip
7z x innoextract-1.6-windows.zip -obin innoextract.exe
innoextract --version
rm innoextract-1.6-windows... | nickhutchinson/benchmark | .appveyor_setup.sh | Shell | apache-2.0 | 1,715 |
#!/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 ... | rajatchopra/kubernetes | hack/make-rules/test-cmd-util.sh | Shell | apache-2.0 | 260,770 |
#!/bin/bash
# Copyright 2018 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 ... | kubernetes/examples | cassandra/image/files/build.sh | Shell | apache-2.0 | 4,178 |
#!/bin/bash
./LAProcess -H 9001 -I localhost -P 9000
#LAProcess.exe -H 9001 -I localhost -P 9000 2&> la_log &
| izenecloud/izenelib | test/net/message-framework-testbed/bin/la.sh | Shell | apache-2.0 | 111 |
#!/bin/bash
path=`dirname $0`
OUTPUT_DIR=$1
TARGET_NAME=plugin_library
OUTPUT_SUFFIX=dylib
CONFIG=Release
#
# Checks exit value for error
#
checkError() {
if [ $? -ne 0 ]
then
echo "Exiting due to errors (above)"
exit -1
fi
}
#
# Canonicalize relative paths to absolute paths
#
pushd $... | scoreflex/scoreflex-corona-plugin | mac/build.sh | Shell | apache-2.0 | 764 |
#!/usr/bin/env bash
export PYTHON_PATH=..;$PYTHON_PATH | jurcicek/ndm | setup.sh | Shell | apache-2.0 | 55 |
#!/bin/bash
# (c) Copyright 2019 SUSE 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 in... | SUSE-Cloud/automation | scripts/jenkins/cloud/manual/lib.sh | Shell | apache-2.0 | 16,121 |
java -Dfile.encoding=utf-8 -jar run-me.jar | cowthan/ImageRepo | start.sh | Shell | apache-2.0 | 42 |
#!/bin/bash
for i in {2..999}; do
printf -v j "Class_%03d" $i
echo "generating $j"
cp Class_001.java $j.java
sed -i "s/Class_001/$j/g" $j.java
done
| lesaint/experimenting-annotation-processing | experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation2/generate_classes.sh | Shell | apache-2.0 | 157 |
#!/bin/sh -e
for F in mtc*.swift
do
echo Running $F
swift-t $F
done
| basheersubei/swift-t | stc/docs/gallery/mtc/run.sh | Shell | apache-2.0 | 73 |
#!/bin/bash
CURR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
GO_CONDUCTOR_DIR=$GOPATH/src/conductor
$CURR_DIR/install.sh
go run $GO_CONDUCTOR_DIR/startclient/startclient.go
| d3sw/conductor | client/go/install_and_run.sh | Shell | apache-2.0 | 188 |
#!/bin/bash
# REQUIRED:
# ELASTICSEARCH_PORT_9200_TCP_ADDR
# ELASTICSEARCH_PORT_9200_TCP_PORT
synapse /opt/kibana/config/kibana.yml.tmpl
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
| samsara/samsara | docker-images/kibana/configure-and-start.sh | Shell | apache-2.0 | 205 |
/bin/echo "postremove script started [$1]"
if [ "$1" = 0 ]
then
/usr/sbin/userdel -r {{lower-name}} 2> /dev/null || :
/bin/rm -rf /usr/local/{{lower-name}}
fi
/bin/echo "postremove script finished"
exit 0
| mixradio/mr-clojure | src/leiningen/new/mr_clojure/postremove.sh | Shell | bsd-3-clause | 211 |
#!/usr/bin/env bash
# run_pytest.bash: Run pytest on cclib with coverage checking. Requires
# `pytest` and `pytest-cov`.
set -euxo pipefail
python -m pytest -v --capture=no --cov=cclib --cov-report=term --cov-report=xml:coverage-unit.xml --terse test -k "not test_method"
pushd data
bash ./regression_download.sh
popd... | cclib/cclib | .github/scripts/run_pytest.bash | Shell | bsd-3-clause | 476 |
#!/bin/bash
# This script is meant to be called by the "install" step defined in
# .travis.yml. See http://docs.travis-ci.com/ for more details.
# The behavior of the script is controlled by environment variabled defined
# in the .travis.yml in the top level folder of the project.
# License: 3-clause BSD
set -e
# Fi... | dagbldr/dagbldr | continuous_integration/install.sh | Shell | bsd-3-clause | 2,186 |
#!/usr/bin/env bash
set -eux
if [[ ! -f convert ]]
then
curl https://s3.amazonaws.com/michael.snoyman.com/convert-old-stackage-22f85f4829da949df601f2facf2d9b8c794232cf.bz2 > convert.bz2
chmod +x convert.bz2
bunzip2 convert.bz2
fi
cd $(dirname ${BASH_SOURCE[0]})
for d in lts-haskell stackage-nightly stac... | mgajda/stackage | automated/new-stackage-format/convert.sh | Shell | mit | 870 |
#!/bin/bash
source "${EJABBERD_HOME}/scripts/lib/base_config.sh"
source "${EJABBERD_HOME}/scripts/lib/config.sh"
source "${EJABBERD_HOME}/scripts/lib/base_functions.sh"
source "${EJABBERD_HOME}/scripts/lib/functions.sh"
# Do not exit if users already registered
set +e
randpw() {
< /dev/urandom tr -dc A-Z-a-z-0-9... | sulphur/docker-ejabberd | scripts/post/20_ejabberd_register_users.sh | Shell | mit | 2,855 |
#cd spec/dummy
#export BUNDLE_GEMFILE=$PWD/Gemfile
#bundle install
| ldodds/capybara-ng | travis/setup.sh | Shell | mit | 67 |
#! /bin/sh
. ../../testenv.sh
analyze 585748_deb.vhd
elab_simulate_failure tb_test
clean
echo "Test successful"
| tgingold/ghdl | testsuite/gna/deb585748/testsuite.sh | Shell | gpl-2.0 | 116 |
#!/bin/sh
ALL_CONFIGS=$*
GREP="grep"
cat <<- EOF > lib/lufa/Bootloaders/DFU/Keyboard.h
#pragma once
$($GREP "MANUFACTURER[ \t]" $ALL_CONFIGS -h | tail -1)
$($GREP "PRODUCT[ \t]" $ALL_CONFIGS -h | tail -1 | tr -d '\r') Bootloader
$($GREP "QMK_ESC_OUTPUT[ \t]" $ALL_CONFIGS -h | tail -1)
$($GREP "QMK_ESC_INPUT[ \t]" $AL... | kmtoki/qmk_firmware | tmk_core/make_dfu_header.sh | Shell | gpl-2.0 | 452 |
#!/usr/bin/env sh
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2015, 2016 CERN.
#
# Invenio 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 (a... | tiborsimko/invenio-collections | run-tests.sh | Shell | gpl-2.0 | 1,231 |
#! /bin/sh
# Copyright (C) 2006-2014 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 ... | kuym/openocd | tools/automake-1.15/t/txinfo-setfilename-suffix-strip.sh | Shell | gpl-2.0 | 1,025 |
#!/bin/sh
#### FOR DEVELOPING ONLY DOES NOT CONTAIN 99kernel INIT SCRIPT TO CONFIG THE KERNEL. ASSUMES YOU ARE DOING A DIRTY FLASH ####
export SRC_ROOT=`readlink -f ../../..`
## time start ##
time_start=$(date +%s.%N)
# Number of jobs (usually the number of cores your CPU has (if Hyperthreading count each core as ... | DirtyUnicorns/android_kernel_htc_msm8660-caf | build-holiday.sh | Shell | gpl-2.0 | 1,731 |
#!/bin/sh
set -e
./bootstrap.sh
./configure --enable-maintainer-mode --enable-examples-build --enable-tests-build "$@"
| pbatard/libusbx | autogen.sh | Shell | lgpl-2.1 | 121 |
#!/bin/bash
set BUILD_DIR="../../../../../../../build/android/gradle/apps/atw_opengl/"
gradlew --project-cache-dir ${BUILD_DIR}.gradle build
jar -tf ${BUILD_DIR}outputs/apk/atw_opengl-all-debug.apk
adb install -r ${BUILD_DIR}outputs/apk/atw_opengl-all-debug.apk
adb shell am start -n com.vulkansamples.atw_opengl/andro... | brenwill/Vulkan-Samples | samples/apps/atw/projects/android/gradle/atw_opengl/build.sh | Shell | apache-2.0 | 342 |
#!/bin/sh
#Move to the folder where ep-lite is installed
cd `dirname $0`
#Was this script started in the bin folder? if yes move out
if [ -d "../bin" ]; then
cd "../"
fi
ignoreRoot=0
for ARG in $*
do
if [ "$ARG" = "--root" ]; then
ignoreRoot=1
fi
done
#Stop the script if it's started as root
if [ "$(id -u... | lpagliari/etherpad-lite | bin/run.sh | Shell | apache-2.0 | 865 |
#~/code/code_bash_shell/BatchCopyOrMoveFiles.sh 380_exp_files.txt
while read line; do
f=`echo "$line"`
echo "$f"
cp "$f" ~/DataFromVahid/Data4EachTrialAfterQC/.
done < $1 | solgenomics/zeabase | code_bash_shell/BatchCopyOrMoveFiles.sh | Shell | artistic-2.0 | 173 |
#!/bin/bash
FN="yeastGSData_0.28.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/experiment/src/contrib/yeastGSData_0.28.0.tar.gz"
"https://bioarchive.galaxyproject.org/yeastGSData_0.28.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-yeastgsdata/bioconductor-yeastgsdata_0.28.0_src_a... | blankenberg/bioconda-recipes | recipes/bioconductor-yeastgsdata/post-link.sh | Shell | mit | 1,307 |
#!/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_YUV_truecolor_70x46.sh | Shell | gpl-2.0 | 382 |
#!/bin/sh
# This is what we would do if we needed something more:
export OPAMYES=1 OPAMVERBOSE=1
echo System OCaml version
ocaml -version
echo OPAM versions
opam --version
opam --git-version
opam init
opam switch $OCAML_VERSION
| OCamlPro/typerex-lint | autoconf/travis-install.sh | Shell | gpl-3.0 | 232 |
#! /bin/sh
if test z"$srcdir" = "z"; then
srcdir=.
fi
command=run_parser_all.sh
one_test_logs_dir=test_log
diffs_dir=diffs
if test "z$LONG_TESTS" != z"yes" && test "z$ALL_TESTS" != z"yes"; then
echo "Skipping long tests that take a lot of time to run"
exit 77
fi
if test "z$TEX_HTML_TESTS" = z"yes"; then
e... | samdmarshall/info | tp/tests/test_scripts/contents_contents_and_parts.sh | Shell | gpl-3.0 | 723 |
if test -n "$DATRIE_BASEPATH"; then
case `uname -a` in
CYGWIN*)
DATRIE_BASEPATH=`echo $DATRIE_BASEPATH | sed -e 's/\"//g'`
DATRIE_BASEPATH=`cygpath $DATRIE_BASEPATH`;;
MINGW32*)
DATRIE_BASEPATH=`echo $DATRIE_BASEPATH | sed -e 's/\"//g' -e 's/\\\\/\\//g' -e 's/^\\([a-zA-Z]\\):/\\/\\1/g'`
esac
export DAT... | omeid/libdatrie | nsis/contrib/libdatrienv.sh | Shell | lgpl-2.1 | 1,037 |
#!/bin/bash
vagrant ssh weave-gs-01 -c "weave launch -iprange 10.2.0.1/16"
vagrant ssh weave-gs-02 -c "weave launch -iprange 10.2.0.1/16 172.17.8.101"
vagrant ssh weave-gs-01 -c "weave launch-dns; weave launch-proxy"
vagrant ssh weave-gs-02 -c "weave launch-dns; weave launch-proxy"
| spacediver/guides | weave-loadbalance/setup-weave.sh | Shell | apache-2.0 | 284 |
#!/bin/bash
docker-compose stop
docker rm $(docker ps -a -f name=mobsosqueryvisualization_ -q)
| Gordin/Layers-Dockerfiles | mobsos-query-visualization/clean.sh | Shell | apache-2.0 | 96 |
cd build-test-data && grails test-app && cd ../testOptionalJars && grails test-app && cd ../bookStore && grails test-app && cd ../baseTests && grails test-app && cd ..
| domurtag/build-test-data | bin/testAll.sh | Shell | apache-2.0 | 168 |
#!/bin/bash
# note: expects to run from top directory
./mono/latest-mono-stable.sh
./fcs/build.sh NuGet
| dsyme/FSharp.Compiler.Service | fcs/cibuild.sh | Shell | mit | 105 |
#!/bin/sh
TEST_SCRIPT=./VMake/executableTester.sh
until test -r ${TEST_SCRIPT} ; do
TEST_SCRIPT=../${TEST_SCRIPT}
done
. ${TEST_SCRIPT}
runAndHandleSystemTest "testMPIStream 2 0" "$0" "$@"
| bmi-forum/bmi-pyre | StGermain/Base/IO/tests/testMPIStream.0of2.sh | Shell | gpl-2.0 | 199 |
#!/bin/bash
# added 2016-04-13 by singh.janmejay
# This file is part of the rsyslog project, released under ASL 2.0
echo ===============================================================================
echo \[dynstats_prevent_premature_eviction-vg.sh\]: test for ensuring metrics are not evicted before unused-ttl with va... | sematext/rsyslog | tests/dynstats_prevent_premature_eviction-vg.sh | Shell | gpl-3.0 | 2,387 |
#!/bin/bash
# Direct solver to generate initial data
./fsitimedependent -input "./input/turek_FSI2.neu" -n_timesteps 200 -autosave_time_interval 200 -nlevel 1 -rhof 1000 -muf 1 -rhos 10000 -E 1500000 -ni 0.5 -ic_bdc "../../../../lib64/libfsi2_td_2d_turek_hron_benchmark_bdc.so" -outer_ksp_solver "preonly" -max_outer_so... | FeMTTU/femus | applications/FSI/TimeDependent/Benchmarks/run_fsi2_turek.sh | Shell | lgpl-2.1 | 6,353 |
#!/bin/bash
source ./setenv.sh
FILENAME=libtheora-svn
svn co http://svn.xiph.org/trunk/theora $FILENAME
cd $FILENAME
# remove call to ./configure from the script
head --lines=-1 autogen.sh > autogenmod.sh
chmod +x ./autogenmod.sh
./autogenmod.sh
rm ./config.sub
rm ./config.guess
wget http://git.savannah.gnu.or... | humble/ags-geminirue | iOS/buildlibs/armv7/theora-svn.sh | Shell | artistic-2.0 | 1,274 |
#!/usr/bin/env bash
set -exuo pipefail
# Rename arrow.dll to lib_arrow.dll to avoid conflicts with the arrow-cpp arrow.dll
sed -i -e 's/void R_init_arrow/__declspec(dllexport) void R_init_lib_arrow/g' r/src/arrowExports.cpp
sed -i -e 's/useDynLib(arrow/useDynLib(lib_arrow/g' r/NAMESPACE
| cpcloud/arrow | dev/tasks/conda-recipes/r-arrow/build_win.sh | Shell | apache-2.0 | 291 |
#!/bin/sh
# Based on the relocatable vmlinux file and offset create the
# new vmlinux and System.map file. New vmlinux and System.map is
# intend to be used by debugging tools to retrieve the actual
# addresses of symbols in the kernel.
#
# Usage
# mksysmap vmlinux-old offset
# Author : Jia Ma (jia.ma@samsung.... | Jovy23/N930TUVU1APGC_Kernel | kaslr_patch.sh | Shell | gpl-2.0 | 1,664 |
#! /bin/bash
# Copyright (C) 2013 Red Hat, Inc.
# This file is part of elfutils.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later v... | MonkeyZZZZ/platform_external_elfutils | tests/run-backtrace-dwarf.sh | Shell | gpl-3.0 | 1,231 |
#!/bin/bash
dir=`dirname "$0"`
cd $dir/../data
# download
if ! [ -e rcv1_train.binary ]; then
wget http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary/rcv1_train.binary.bz2
bunzip2 rcv1_train.binary.bz2
fi
if ! [ -e rcv1_test.binary ]; then
wget http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/dat... | yipeiw/pserver | example/linear/rcv1/download.sh | Shell | apache-2.0 | 750 |
#/bin/sh
#
# From: ELBERS@bng.nl (H.D. Elbers)
# Date: Thu, 12 Dec 1996 12:16:46 +0100 (MET)
# Cc: helbers@solair1.inter.NL.net (H.D. Elbers)
#
# Hello Marc,
#
# Since it wasn't possible to play the recorded messages from my Elsa modem
# on my soundblaster with the pvftools used in the "listen" script I hacked it
# a b... | Distrotech/mgetty | voice/scripts/listen.sh | Shell | gpl-2.0 | 2,892 |
#!/bin/bash
if ! type chkconfig &> /dev/null; then
update-rc.d kairosdb defaults
else
chkconfig --add kairosdb
chkconfig kairosdb on
fi
/etc/init.d/kairosdb start | panqingcui/kairosdb-1 | src/scripts/install/post_install.sh | Shell | apache-2.0 | 167 |
#!/usr/bin/env bash
set -e
cd "$(dirname "$BASH_SOURCE")/.."
rm -rf vendor/
source 'hack/.vendor-helpers.sh'
# the following lines are in sorted order, FYI
clone git github.com/Sirupsen/logrus v0.8.2 # logrus is a common dependency among multiple deps
clone git github.com/docker/libtrust 230dfd18c232
clone git github... | sivabizruntime/dockerfile | hack/vendor.sh | Shell | apache-2.0 | 2,595 |
#!/bin/sh
PROJECT_DIR=/usr/local/apache/www.alhem.net/htdocs/Sockets
PROJECT_NAME=sockets
/usr/local/bin/dp \
-D_RUN_DP \
-DUSE_SCTP -D_THREADSAFE_SOCKETS \
-DHAVE_OPENSSL -DENABLE_POOL -DENABLE_RECONNECT -DENABLE_SOCKS4 \
-DENABLE_IPV6 -DENABLE_DETACH -DENABLE_RESOLVER -DENABLE_TRIGGERS \
-DENABLE_XML \
-fontsiz... | miiimooo/greylist | src/Sockets-2.3.5/mkdot.sh | Shell | gpl-2.0 | 544 |
#!/bin/bash
# BUG(rjeczalik): -ngrokdebug is required, when it's off ngrok stales on
# process pipes causing the test to hang; ioutil.Discard should be
# plugged somewhere to fix this
# ngrok v1 authtoken, see ./ngrokProxy
export E2ETEST_NGROKTOKEN=${E2ETEST_NGROKTOKEN:-}
# aws creds with access to dev.koding.io Rou... | jack89129/koding | go/src/koding/kites/e2etest/e2etest.sh | Shell | apache-2.0 | 807 |
#!/bin/sh
test_description='diff.*.textconv tests'
. ./test-lib.sh
find_diff() {
sed '1,/^index /d' | sed '/^-- $/,$d'
}
cat >expect.binary <<'EOF'
Binary files a/file and b/file differ
EOF
cat >expect.text <<'EOF'
--- a/file
+++ b/file
@@ -1 +1,2 @@
0
+1
EOF
cat >hexdump <<'EOF'
#!/bin/sh
"$PERL_PATH" -e '$/ = ... | velorientc/git_test3 | t/t4030-diff-textconv.sh | Shell | gpl-2.0 | 3,555 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.