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
WORKING_DIR="${BASH_SOURCE[0]}";
if ([ -h "${WORKING_DIR}" ]) then
while([ -h "${WORKING_DIR}" ]) do WORKING_DIR=`readlink "${WORKING_DIR}"`; done
fi
pushd . > /dev/null
cd `dirname ${WORKING_DIR}` > /dev/null
WORKING_DIR=`pwd`;
popd > /dev/null
if [ -z $LUMONGO_CLIENT_JAVA_SETTINGS ]
then
export LUMONGO... | lumongo/lumongo | lumongo-cluster/scripts/storeassociated.sh | Shell | apache-2.0 | 472 |
#!/bin/bash
echo "fetch storm host from ambari"
#TOOD
echo "Creating Storm View..."
#curl -u admin:ADMINPASSWORD -H "X-Requested-By:ambari" -X POST -d '{"ViewInstanceInfo":{"instance_name":"Storm_View","label":"Storm View","visible":true,"icon_path":"","icon64_path":"","description":"storm view","properties":{"stor... | Chaffelson/whoville | whoville/resources/v2/inf-hcp17-multi/create-storm-view.sh | Shell | apache-2.0 | 500 |
#!/bin/bash
rm -rf build
mkdir build
jsbuild -license=LICENSE -version=`cat VERSION` -output=build/popup.js -name=popupjs src/*.js
| unixpickle/popup.js | build.sh | Shell | bsd-2-clause | 132 |
#!/bin/bash
# Usage: ./print_dylibs <path to executable>
# Recurisvely prints all transitive dynamic libraries required by an executable.
deps=""
find_deps()
{
bin=$1
while read lib; do
lib=${lib%%\(*\)}
lib=${lib%%[[:space:]]}
lib=${lib##[[:space:]]}
if [[ ! "$deps" =~ "$lib"... | yifanz/masters-proj | scripts/print_dylibs.sh | Shell | bsd-2-clause | 500 |
#!/bin/bash
echo "Install zfs"
yum install ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/7.0/x86_64/updates/security/kernel-devel-3.10.0-123.20.1.el7.x86_64.rpm -y
yum install ftp://bo.mirror.garr.it/1/slc/centos/7.0.1406/updates/x86_64/Packages/kernel-headers-3.10.0-123.20.1.el7.x86_64.rpm -y
yum --enablerepo... | tennsk/scripts | openshift/create_zfs_pool.sh | Shell | bsd-2-clause | 754 |
set -e
source helpers.sh
start_up
CRYPTO_PROFILE="RSA"
setup_fapi $CRYPTO_PROFILE
function cleanup {
tss2 delete --path=/
shut_down
}
trap cleanup EXIT
NV_PATH=/nv/Owner/myNVwrite
PCR_DIGEST_FILE=$TEMP_DIR/pcr_digest.file
PCR_LOG_FILE_WRITE=$TEMP_DIR/pcr_log_write.file
echo "{\"test\": \"myfile\"}" > $PCR... | 01org/tpm2.0-tools | test/integration/fapi/fapi-pcr-extend-read.sh | Shell | bsd-3-clause | 4,815 |
#!/bin/sh
rebar3 compile
erl -mnesia dir '"db"'
| 0wnag3/assa | assaserver.sh | Shell | bsd-3-clause | 49 |
#!/bin/bash
. /etc/environment
if [ -z "$PYNQ_PYTHON" ]; then
PYNQ_PYTHON=python3.6
fi
start_pl_server.py &
| yunqu/PYNQ | sdbuild/packages/pynq/pl_server.sh | Shell | bsd-3-clause | 114 |
#!/bin/bash
if [ -n "$NODE_VERSION" ]; then
git clone https://github.com/creationix/nvm.git ~/.nvm
source ~/.nvm/nvm.sh
nvm install $NODE_VERSION
node --version
npm install
npm test
else
pip install coveralls
pip install -r python_scripts/requirements.pip
pip install -r python_script... | praekelt/go-imali-yethu-js | run_tests.sh | Shell | bsd-3-clause | 433 |
# ./NuGet.exe install -OutputDirectory packages ./OAuth2Client/packages.config
'/C/Program Files (x86)/Microsoft SDKs/F#/3.0/Framework/v4.0/Fsi.exe' ./Tests/FullExample.fsx | versionone/OAuth2Client.Net | run_example.sh | Shell | bsd-3-clause | 176 |
#!/bin/sh
. mail-toaster.sh || exit
export JAIL_START_EXTRA=""
export JAIL_CONF_EXTRA=""
export NICTOOL_VER=${NICTOOL_VER:="2.33"}
export NICTOOL_UPGRADE=""
mt6-include mysql
install_nt_prereqs()
{
assure_jail mysql
tell_status "installing NicTool app prerequisites"
stage_pkg_install perl5 mysql57-client apach... | msimerson/Mail-Toaster-6 | provision/nictool.sh | Shell | bsd-3-clause | 5,730 |
#!/bin/bash
#
#-----------------------------------------------------------------------------
# Copyright (c) 2016--, Evguenia Kopylova.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------... | cuttlefishh/emp | legacy/code/emp/run_compute_sample_diversity.sh | Shell | bsd-3-clause | 1,254 |
#!/bin/bash
$PYTHON setup.py install
# Add more build steps here, if they are necessary.
# See
# https://github.com/ContinuumIO/conda/blob/master/conda/builder/README.txt
# for a list of environment variables that are set during the build process.
| hajs/pylodger | recipes/devel/yapf/build.sh | Shell | bsd-3-clause | 250 |
#!/bin/bash
# Description:
# Script to emumerate subdomains for a given domain
# and checks if it's vulnerable to takeover
#
# Requires:
# - amass
# - sublist3r
# - subjack
echo
echo ----------------------------------------------------
echo " Sub_Takeover "
echo " Check... | owtf/owtf | owtf/scripts/subdomain_takeover.sh | Shell | bsd-3-clause | 5,469 |
if [ ! -d "./node_modules/jasmine-node" ]; then
npm install jasmine-node@1
fi
if [ ! -d "./node_modules/phantomjs" ]; then
npm install phantomjs@1.8.2-3
fi
./node_modules/.bin/jasmine-node ./test
./node_modules/.bin/phantomjs test/run-jasmine.js test/jasmine.html
| geek/gex | test.sh | Shell | mit | 271 |
#!/bin/bash
# https://github.com/jaagr/polybar/wiki
killall -q polybar
while pgrep -u $UID -x polybar > /dev/null; do sleep 1; done
if type "xrandr"; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
MONITOR=$m polybar --reload default &
done
else
polybar --reload default &
fi
# polyba... | kiwidan92/dotfiles | ui/polybar-launch.sh | Shell | mit | 330 |
#!/usr/bin/env bash
. $(dirname "${BASH_SOURCE[0]}")/common.sh
cd ${CURR_DIR}/issue990-download-optional-selected
rm -rf b/.dub
${DUB} remove gitcompatibledubpackage -n --version=* 2>/dev/null || true
${DUB} run
| grogancolin/dub | test/issue990-download-optional-selected.sh | Shell | mit | 213 |
#!/bin/sh
echo '(+ 2 2) (print "hello")' | $@ -q
| aisamanra/owl-lisp | tests/quiet.sh | Shell | mit | 51 |
#!/usr/bin/env bash
cd ~/prog/labhardware/projects/novasweep/
/usr/bin/env python sweep.py
| UltracoldAtomsLab/labhardware | projects/novasweep/startsweep.sh | Shell | mit | 91 |
#!/usr/bin/env bash
cd "$( dirname "${BASH_SOURCE[0]}" )"
cp slua.c luajit-2.1.0-beta3/src/
cd luajit-2.1.0-beta3
SRCDIR=$(pwd)
DIR=$(pwd)
${NDKPATH?"Need to set NDKPATH"}
NDK=$NDKPATH
NDKABI=8
NDKVER=$NDK/toolchains/arm-linux-androideabi-4.9
NDKP=$NDKVER/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-
NDKF="--sysr... | haolly/slua_source_note | build/make_android.sh | Shell | mit | 1,403 |
#!/usr/bin/env bash
set -ex
echo "Installing extension"
pecl install pdo_sqlsrv-5.7.0preview
| drieschel/dbal | tests/travis/install-mssql-pdo_sqlsrv.sh | Shell | mit | 96 |
#!/bin/bash
mysql_database_name="octobercms"
mysql_root_password="Renobit"
printf "Running Vagrant Provisioning..."
printf "Updating Box..."
# make sure the box is fully up to date
apt-get update -qq > /dev/null
# comment out the line below to disallow the system to upgrade
# apt-get upgrade -y && apt-get dist-up... | janusnic/vagrant-octobercms-boilerplate | provision.sh | Shell | mit | 5,216 |
# ================================================== #
# Spatio-Temporal Big Data - the rasdaman approach #
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- #
# OGRS'14 symposium @ Aalto Uni (Espoo, FI) #
# Modified 12/2015 for custom deployment #
# ===========================================... | clojusc/reggae | examples/tutorial_session.bash | Shell | epl-1.0 | 11,625 |
#!/bin/sh
output="syscalls.h"
rm -f "${output}".[1-9]*
output_pid="${output}.$$"
max_jobs=$(getconf _NPROCESSORS_ONLN 2>/dev/null)
: ${max_jobs:=1}
srcdir=${0%/*}
err() {
echo "$*" 1>&2
exit 1
}
cat << EOF > "${output_pid}"
/************************************************
* GENERATED FILE: DO NOT EDIT/PATCH TH... | pevik/ltp | include/lapi/syscalls/regen.sh | Shell | gpl-2.0 | 2,863 |
# ----------------------------------------------------------------------------
# http://dilbert.com/
# Mostra o texto em inglês das últimas tirinhas de Dilbert.
#
# Uso: zzdilbert
# Ex.: zzdilbert # Mostra as tirinhas mais recentes
#
# Autor: Itamar <itamarnet (a) yahoo com br>
# Desde: 2018-05-19
# Versão: 1
# Req... | funcoeszz/funcoeszz | off/zzdilbert.sh | Shell | gpl-2.0 | 874 |
#!/bin/sh
#
# Copyright (C) 2009-2011 OpenWrt.org
#
AR71XX_BOARD_NAME=
AR71XX_MODEL=
ar71xx_get_mtd_offset_size_format() {
local mtd="$1"
local offset="$2"
local size="$3"
local format="$4"
local dev
dev=$(find_mtd_part $mtd)
[ -z "$dev" ] && return
dd if=$dev bs=1 skip=$offset count=$size 2>/dev/null | hex... | jingpg/openwrt-1 | target/linux/ar71xx/base-files/lib/ar71xx.sh | Shell | gpl-2.0 | 15,377 |
#! /bin/bash
#
# TALPA test script
#
# Copyright (C) 2004-2011 Sophos Limited, Oxford, England.
#
# This program is free software; you can redistribute it and/or modify it under the terms of the
# GNU General Public License Version 2 as published by the Free Software Foundation.
#
# This program is distributed in the h... | paperclip/talpa | tests/chkinterceptorfilter3.sh | Shell | gpl-2.0 | 834 |
#!/bin/bash
SCRIPT="quiz"
VERSION="1.0.0"
BUILD_TARGZ="no"
BUILD_TARBZ2="no"
BUILD_ZIP="yes"
HAS_PO="yes"
HAS_PICS="no"
| un1versal/kvirc-scripts | quiz/config.sh | Shell | gpl-2.0 | 124 |
version=\
(
"1.19"
)
url=\
(
"http://downloads.sourceforge.net/otcl-tclcl/tclcl-src-$version.tar.gz"
)
md5=\
(
"023aefbd2e6d99ad96eb2cbe8acdbf4a"
)
maintainer=\
(
"Ricardo Martins <rasm@fe.up.pt>"
)
post_unpack()
{
patches=$(ls "$pkg_dir"/patches/*.patch)
if [ -n "$patches" ]; then
c... | LSTS/glued | rules/tclcl/default.bash | Shell | gpl-2.0 | 1,334 |
#!/bin/bash
#
# This script compiles all plugins and runs all prm files in the subdirectories
# of the cookbooks folder
if [ "$#" -ne 1 ]; then
echo "usage: $0 aspect-build-directory"
exit 1
fi
BUILD=`cd $1;pwd`
if [[ ! -e $BUILD/AspectConfig.cmake || ! -e $BUILD/aspect ]];
then
echo "'$BUILD' doesn't l... | HarryRLevinson/aspect | cookbooks/check.sh | Shell | gpl-2.0 | 1,781 |
#!/bin/sh
git clone https://bitbucket.org/libqxt/libqxt || (cd libqxt && git pull && cd ..) || exit 1
for i in AUTHORS COPYING src/core/qxtglobal.* src/widgets/{win,mac,x11,}/qxtglobalshortcut*; do
for j in libqxt/$i; do
echo "cp $j ."
cp $j .
done
done
cat *.patch | patch
| BeImprovised/qstardict_webengine | qxt/update.sh | Shell | gpl-2.0 | 299 |
#! /usr/bin/env bash
$EXTRACTRC *.ui >> rc.cpp || exit 11
$XGETTEXT *.cpp -o $podir/kdebugdialog.pot
rm -f rc.cpp
| kolab-groupware/kde-runtime | kdebugdialog/Messages.sh | Shell | gpl-2.0 | 115 |
$SCRIPT_JAVA -Xmx4g -Djava.io.tmpdir=/tmp \
-jar $SCRIPT_PT_MARKDUP \
INPUT=$FILE_OUTPUT.sort.bam \
OUTPUT=$FILE_OUTPUT.mark.bam \
METRICS_FILE=$FILE_OUTPUT.mark.metrics \
CREATE_INDEX=true \
TMP_DIR=$DIR_OUTPUT \
VALIDATION_STRINGENCY=LENIENT
if $ARG_CLEANUP; then
rm $FILE_OUTPUT.sort.bam
rm $FILE_OUTPUT.s... | Irsan88/SeqTools | DataProcessing/roda/tags/1.0/bin/pt_md.sh | Shell | gpl-2.0 | 548 |
#!/bin/sh
# directory of this script
BASEDIR=$(dirname $0)
examples_dir="${BASEDIR}/../examples"
standalone_dirs="standalone-model standalone-rge"
for dir in ${standalone_dirs}
do
echo "> cleaning: rm -rf ${BASEDIR}/${dir}"
rm -rf ${BASEDIR}/${dir}
echo "> copying: cp -r ${examples_dir}/${dir}/ ${BASED... | Expander/FlexibleSUSY | test/test_standalone.sh | Shell | gpl-3.0 | 901 |
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distributio... | goofwear/RetroPie-Setup | scriptmodules/libretrocores/lr-bluemsx.sh | Shell | gpl-3.0 | 1,326 |
for scalp in 0 2 4 6 8 10 12 14 16 18
do
echo "SkipTrie scalp = $scalp"
./strie_test.x 80 $scalp
done | trougnouf/School | ProgrammingAssignment3/Resources/concurrent_ds-master/skiptrie/other/tests/all/run_levels.sh | Shell | gpl-3.0 | 109 |
#!/bin/bash
#
# This file is part of HortonMachine (http://www.hortonmachine.org)
# (C) HydroloGIS - www.hydrologis.com
#
# HortonMachine 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... | moovida/jgrasstools | extras/deploy/hm-utils-ssh.sh | Shell | gpl-3.0 | 1,085 |
#!/bin/sh
if [ ! -n "$1" ]; then
echo "Syntax is: recurse.sh dirname filesuffix"
echo "Syntax is: recurse.sh filename"
echo "Example: recurse.sh temp cpp"
exit 1
fi
if [ -d "$1" ]; then
#echo "Dir ${1} exists"
if [ -n "$2" ]; then
filesuffix=$2
else
filesuffix="*"
fi
#echo "Filtering files using suffix ${filesuffix... | w-martin/tact | scripts/format.sh | Shell | gpl-3.0 | 831 |
#!/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-11_1/20161107T225001+0000/00/00/medianmemory_0_ID0000005.sh | Shell | gpl-3.0 | 1,246 |
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
# set -o xtrace
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
__file="${__dir}/$(basename "${BASH_SOURCE[0]}")"
__base="$(basename ${__file} .sh)"
# Recommends: antiword, graphviz, ghostscript, postgresql, python-gevent, poppler-utils
export DE... | nurmd2/nurmd | addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh | Shell | gpl-3.0 | 3,399 |
#!/bin/sh
set -e
export ROOT_DIR=${0%/*}
. "${ROOT_DIR}/_init_lib.sh"
log2 'begin register'
log2 'generate new setup secret'
setupsecret=$(gen_pass "${PASS_LEN:-64}")
while true; do
i=0
while [ $i -lt "${CURL_REAUTH:-3}" ]; do
if [ -z $VAULT_TOKEN ]; then
export VAULT_TOKEN=$(auth_vault)
log2... | hackform/governor | example/anvil_out/secrets/register/governor/governor/register.sh | Shell | mpl-2.0 | 3,580 |
#!/bin/bash
LIST=$(echo resources/cmaps/* | sort)
for f in $LIST
do
b=$(basename $f)
echo "#include \"cmaps/$b.h\""
python scripts/cmapdump.py > source/pdf/cmaps/$b.h $f
done
echo "static pdf_cmap *table[] = {"
for f in $LIST
do
b=$(basename $f)
c=$(echo $b | tr - _)
echo "&cmap_$c,"
done
echo "};"
| fluks/mupdf-x11-bookmarks | scripts/runcmapdump.sh | Shell | agpl-3.0 | 310 |
#!/bin/sh
if [ -n "$COVERITY" ];
then
./script/coverity.sh;
exit $?;
fi
# Create a test repo which we can use for the online::push tests
mkdir $HOME/_temp
git init --bare $HOME/_temp/test.git
git daemon --listen=localhost --export-all --enable=receive-pack --base-path=$HOME/_temp $HOME/_temp 2>/dev/null &
export GI... | maxiaoqian/libgit2 | script/cibuild.sh | Shell | lgpl-2.1 | 1,532 |
#
## Header for 'local' backend
#
#highly recommended to use
#set -e # exit if any subcommand or pipeline returns a non-zero status
#set -u # exit if any uninitialised variable is used
# Set location of *.env and *.log files
ENVIRONMENT_DIR="."
# If you detect an error, then exit your script by calling this function... | RoanKanninga/molgenis-compute | molgenis-compute-core/src/test/resources/expected/testFoldingWeaving/test3_1.sh | Shell | lgpl-3.0 | 3,566 |
#!/bin/bash
echo Running $@
$@ < /dev/zero
| idaholab/raven | framework/fix_stdin.sh | Shell | apache-2.0 | 44 |
#!/bin/sh
### LODASH
echo lodash...
uglifyjs lodash-4.17.4.src.js -o lodash.js
### BENCHMARK
echo Benchmark...
uglifyjs Benchmark-2.1.4.src.js -o benchmark.js
# Remove the while loop (since we provide it in our tests).
perl -i -0pe 's/while(i#--){m#.f#()}/m#.f#.call(m#,i#);/g' benchmark.js
### JQUERY
echo jQuery.... | forcedotcom/aura | aura-components/src/test/components/lockerPerformance/vendor/minify.sh | Shell | apache-2.0 | 1,003 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-*-mode:scheme-*-
;;; ;;;
;;; Carnegie Mellon University ;;;
;;; and Alan W Black and Kevin Lenzo ;;;
;;; ... | saikrishnarallabandi/Festival-Speech-Synthesis-System | festvox/src/general/find_unknowns.sh | Shell | apache-2.0 | 5,670 |
#!/usr/bin/env 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 applica... | salewski/kubernetes | test/cmd/legacy-script.sh | Shell | apache-2.0 | 25,551 |
#!/bin/bash
# Copyright 2019 Google, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | CloudVLab/professional-services | examples/dataproc-idle-shutdown/idle-check.sh | Shell | apache-2.0 | 8,650 |
#!/bin/bash
USERNAME="`git config user.name`"
EMAIL="`git config user.email`"
USERNAME="$USER"
HTTP_PASS=goober
FULLNAME="`git config user.name`"
# Fixes issues with repo url getting wrong username, since it uses local part of
# email for SSH username
git config --global review.http://localhost:8080/.username $USER
ch... | svanoort/gerrit-workflow-demo | config-gerrit.sh | Shell | apache-2.0 | 606 |
#!/bin/bash
# TODO: !OUT OF DATE!
# starts up the multicore example
cd ..
rm -r -f server2
rm -r -f server3
rm -r -f server4
rm -r -f server5
rm -r -f server6
rm -r -f dist
rm -r -f build
rm -r -f server/solr/zoo_data
rm -r -f server/solr/collection1/data
rm -f server/server.log
ant server dist
cp -r -f server s... | visouza/solr-5.0.0 | solr/cloud-dev/solrcloud-multi-start.sh | Shell | apache-2.0 | 1,599 |
set -e
wget http://prdownloads.sourceforge.net/swig/swig-2.0.10.tar.gz
tar -xvf swig-2.0.10.tar.gz
cd swig-2.0.10
./configure
make -j 5
sudo make install
| f24-ag/kalium-jni | jni/installswig.sh | Shell | apache-2.0 | 155 |
setupPublicCurl || return 1
curl -q -s -S -L --connect-timeout 10 --max-time 600 --retry 20 -X GET http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64.tar.gz |(mkdir -p /usr/local &&cd /usr/local &&tar -xpzf -)
mv /usr/local/jdk* /usr/local/jdk/
test -n "$SUDO_USER" &&
cat >> /home/$SUDO_USER/.bashrc <<'END... | yanzhijun/jclouds-aliyun | scriptbuilder/src/test/resources/functions/test_install_jdk_from_url.sh | Shell | apache-2.0 | 796 |
#!/bin/bash
#
# Script to create installers
#
cd $(dirname $0)
if [[ $# -lt 1 ]]
then
echo "USAGE: $0 <version>"
exit 1
fi
VERSION=$1
check_requirement () {
if ! eval $1 &>/dev/null
then
echo $2
exit 1
fi
}
check_requirement "ls ../../ext-6.2.0" "Missing ../../ext-6.2.0 (https://www.sencha.com/... | joseant/traccar-1 | setup/package.sh | Shell | apache-2.0 | 4,091 |
#!/usr/bin/env bash
set -e
echo "================================"
echo " Fluent Bit Installation Script "
echo "================================"
echo "This script requires superuser access to install packages."
echo "You will be prompted for your password by sudo."
# Determine package type to install: https://unix.... | nokute78/fluent-bit | install.sh | Shell | apache-2.0 | 2,604 |
#!/bin/bash
set -e
#TODO: use roundup or something
test_status(){
echo "test_status"
service rundeckd status | grep 'is running' || { echo "FAILED" ; exit 2 ; }
echo "OK"
}
test_start_twice(){
echo "test_start_twice"
service rundeckd start | grep 'already running' || { echo "FAILED" ; exit 2 ; }
echo "OK"
}... | rundeck/rundeck | docker/installcommon/scripts/deb-tests.sh | Shell | apache-2.0 | 366 |
#!/bin/bash
export GTS_HOME=/home/dev/OpenGTSFull
$GTS_HOME/bin/runserver.sh -s GP6000
| neeph/OpenGTSFull | runGP6000.sh | Shell | apache-2.0 | 90 |
#!/bin/bash
# configs/sam4e-ek/nsh/setenv.sh
#
# Copyright (C) 2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistribution... | IUTInfoAix/terrarium_2015 | nuttx/configs/sam4e-ek/nsh/setenv.sh | Shell | bsd-2-clause | 3,040 |
# this is the location of the main server from a docker image
export cache_server=172.17.0.1
export timeout_exit=0
timeout 1 bash -c 'cat < /dev/null > /dev/tcp/'$cache_server'/3128' || export timeout_exit=1
if [ $timeout_exit == 0 ] ; then
echo "running proxy"
export http_proxy=http://$cache_server:3128/
export ... | joequant/bitquant | ldap/proxy.sh | Shell | bsd-2-clause | 1,179 |
#!/bin/bash
# This script sets the ip of the addons-frontend image as localhost within the selenium-firefox image.
# This MUST be run before any user integration tests.
UI_IP="`docker inspect addons-server_addons-frontend_1 | grep "IPAddress" | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"`"
echo $UI_IP
HOSTS_LINE="$UI_I... | lavish205/olympia | scripts/ui-test-hostname-setup.sh | Shell | bsd-3-clause | 499 |
#!/bin/bash
# Update package list and upgrade all packages
apt-get update
apt-get -y upgrade
# Installing dependencies
apt-get -y install build-essential git bison flex libreadline-dev zlib1g-dev
# Cloning Postgres-XL repo
cd
git clone git://git.postgresql.org/git/postgres-xl.git
cd postgres-xl
git checkout XL_10_ST... | rafaelthca/OmniDB | OmniDB/OmniDB_app/tests/vagrant/xl-10/install.sh | Shell | mit | 670 |
#!/bin/sh
#
# Copyright (c) 2013 Big Switch Networks, Inc.
#
# Licensed under the Eclipse Public License, Version 1.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.eclipse.org/legal/epl-v10.html
#
# Unless required by ap... | mandeepdhami/netvirt-ctrl | sdnplatform/sdnplatform.sh | Shell | epl-1.0 | 1,879 |
#!/bin/bash
#
# Celerra NAS FileSystem command
#
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# please add the following to your NAS in the /etc/snmp/snmpd.conf and restart the snmpd deamon
# exec .1.3.6.1.4.1.1139.99999.1 server_df /nas/bin/server_df
# !!... | zenoss/ZenPacks.community.CelerraFileSystem | ZenPacks/community/CelerraFileSystem/libexec/CelerraDf.sh | Shell | gpl-2.0 | 1,869 |
#!/usr/bin/env bash
###############################################################################
# Copyright 2017 The Apollo 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... | ApolloAuto/apollo | scripts/ultrasonic_radar.sh | Shell | apache-2.0 | 1,020 |
#!/bin/bash
# Copyright 2014 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 ... | cjcullen/kubernetes | cluster/libvirt-coreos/config-default.sh | Shell | apache-2.0 | 2,778 |
#!/bin/bash
cd "$(dirname "$0")"
java -Xms128m -Xmx1024m -jar libs/Terasology.jar
# Alternatively use our Launcher from: https://github.com/MovingBlocks/TerasologyLauncher/releases
| Josharias/Terasology | facades/PC/launchScripts/run_macosx.command | Shell | apache-2.0 | 183 |
#!/bin/bash
set -x
# Assume bitcoind built elsewhere and copied by Jenkins Copy Artifact plugin
BTCD=./copied-artifacts/src/bitcoind
DATADIR=$HOME/.bitcoin
chmod +x $BTCD
# Run Bitcoin in main net mode
mkdir -p $DATADIR
cp -n bitcoin.conf $DATADIR
mkdir -p logs
$BTCD -server -datadir=$DATADIR -debug > logs/bitcoin.lo... | OmniLayer/OmniJ | src/scripts/run-mainnet.sh | Shell | apache-2.0 | 322 |
#!/usr/bin/env bash
# Copyright 2018 Google 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | google/link022 | test.sh | Shell | apache-2.0 | 846 |
#!/bin/bash
hash genstrings &> /dev/null
if [ $? -eq 1 ]; then
echo >&2 "Xcode Command Line Tools not found. Please install them first by going to XCode -> Preferences -> Downloads and try again"
exit 1
fi
RUBY=( `ruby --version` )
if [[ ${RUBY[1]} == *"1.8"* ]]; then
echo >&2 "WARNING: your ruby version in... | octo-online/AGi18n | bin/install.sh | Shell | bsd-3-clause | 930 |
@INCLUDE_COMMON@
echo
echo ELEKTRA SCRIPTS BASHISMS TEST
echo
command -v checkbashisms > /dev/null 2>&1 || {
echo "checkbashisms command needed for this test, aborting" >&2
exit 0
}
cd "@CMAKE_SOURCE_DIR@"
# Use (non-emacs) extended regex for GNU find or BSD find
find -version > /dev/null 2>&1 > /dev/null && FIND... | mpranj/libelektra | tests/shell/check_bashisms.sh | Shell | bsd-3-clause | 1,614 |
#!/usr/bin/env bash
# This file contains environment variables required to run Spark. Copy it as
# spark-env.sh and edit that to configure Spark for your site.
#
# The following variables can be set in this file:
# - SPARK_LOCAL_IP, to set the IP address Spark binds to on this node
# - MESOS_NATIVE_LIBRARY, to point t... | stefanvanwouw/puppet-spark | files/spark/conf/spark-env.sh | Shell | mit | 1,211 |
#!/bin/bash
# Backup name
DATE=`date +%Y%m%d`
# Create used directories if they don't exist already
[[ -d /var/lib/phenotips/backups/$DATE ]] || mkdir -p /var/lib/phenotips/backups/$DATE
[[ -d /var/lib/phenotips/next ]] || mkdir -p /var/lib/phenotips/next
# Download the latest release
cd /var/lib/phenotips/next
rm -... | logust79/phenopolis | shell_scripts/upgrade-phenotips.sh | Shell | mit | 2,583 |
if grep "/dev/hdc" /proc/mounts | grep "ext3" | grep -q "/media/cf"
then
echo "Found ext3 CF mounted, now copying files..."
else
echo "Cannot continue, you did not format or mount the CF correcly."
echo "This may also mean that you are already booting from CF."
exit 1
fi
for f in bin etc home lib sbin tmp usr var
d... | SIFTeam/openembedded | recipes/dreambox/dreambox-boottool-cf/root_to_cf.sh | Shell | mit | 675 |
#!/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_MNG_gray.sh | Shell | gpl-2.0 | 359 |
#!/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/rwblob_WBMP_gray.sh | Shell | gpl-2.0 | 360 |
#!/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/autoconf-wrapper/files/ac-wrapper-13.sh,v 1.1 2013/04/16 18:48:33 vapier Exp $
# Based on the ac-wrapper.pl script provided by MandrakeSoft
# Rewritten in ba... | rafaelmartins/gentoo-rpi | sys-devel/autoconf-wrapper/files/ac-wrapper-13.sh | Shell | gpl-2.0 | 5,168 |
#!/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_TIFF_gray.sh | Shell | gpl-2.0 | 360 |
#! /usr/bin/env bash
$EXTRACTRC *.ui >> rc.cpp
$XGETTEXT *.cpp -o $podir/krandr.pot
rm -f rc.cpp
| afiestas/kde-workspace | kcontrol/randr/Messages.sh | Shell | gpl-2.0 | 97 |
./rop-tool-Linux-x86_64 g ./binary-samples/elf-Linux-SparcV8-bash -B "x32x90x0a"
| liorvh/rop-tool | test/test72.sh | Shell | gpl-3.0 | 81 |
#!/bin/sh
#
# This file is protected by Copyright. Please refer to the COPYRIGHT file
# distributed with this source distribution.
#
# This file is part of FilterDecimate.
#
# FilterDecimate is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by th... | RedhawkSDR/FilterDecimate | cpp_arm/build.sh | Shell | gpl-3.0 | 1,103 |
#!/bin/sh
#
# Copyright (C) 2011-2013 pancake <pancake@nopcode.org>
# Copyright (C) 2011-2012 Edd Barrett <vext01@gmail.com>
# Copyright (C) 2012 Simon Ruderich <simon@ruderich.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as... | sushant94/radare2-regressions | run_tests_parallel.sh | Shell | gpl-3.0 | 4,061 |
curl -s http://127.0.0.1:6666/query -H "Content-Type: application/json" --data @bodysourcecache.json -X POST
| MISP/misp-modules | tests/query-sourcecache.sh | Shell | agpl-3.0 | 109 |
#!/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"); ... | ptrendx/mxnet | docs/build_version_doc/build_all_version.sh | Shell | apache-2.0 | 5,834 |
#!/bin/bash
#
# Copyright 2015 The Bazel 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 by... | cushon/bazel | src/test/shell/bazel/starlark_repository_test.sh | Shell | apache-2.0 | 64,849 |
#!/bin/bash
separator='======================================================================'
#ls *.py | xargs -I{} --max-args=1 bash -c "echo -e '$separator\nExecuting: {}\n';python {}"
#ls *.py | xargs --max-args=1 python
export PYTHONPATH=../../..:$PYTHONPATH
total=0
ok=0
failed=0
for file in `ls *.py` ; do
echo... | tholum/PiBunny | system.d/library/tools_installer/tools_to_install/impacket/impacket/testcases/dot11/runalltestcases.sh | Shell | mit | 791 |
#!/bin/sh
TEST_SCRIPT=./VMake/executableTester.sh
until test -r ${TEST_SCRIPT} ; do
TEST_SCRIPT=../${TEST_SCRIPT}
done
. ${TEST_SCRIPT}
runAndHandleSystemTest "testVariable-Short " "$0" "$@"
| bmi-forum/bmi-pyre | StGermain/Base/Automation/tests/testVariable-Short.0of1.sh | Shell | gpl-2.0 | 201 |
#!/bin/bash
# Copyright 2014 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 ... | ursuad/kubernetes | hack/benchmark-go.sh | Shell | apache-2.0 | 803 |
#! /bin/sh
./gradlew clean testDebugUnitTest jacocoTestReportDebug -PtargetSDK=19 -Dorg.gradle.daemon=true -Dorg.gradle.parallel=true -Dorg.gradle.jvmargs="-Xmx512m -XX:+HeapDumpOnOutOfMemoryError" -Dfile.encoding=UTF-8
osascript -e 'display notification "Test Done!" with title "Weex Unit Test"'
| KalicyZhou/weex-example | android/sdk/unittest.sh | Shell | apache-2.0 | 298 |
#!/bin/bash
if [ ! -d bin ]; then
mkdir bin
fi
CPATH=`${HADOOP_HOME}/bin/hadoop classpath`
${JAVA_HOME}/bin/javac -cp $CPATH -d bin src/main/java/org/apache/hadoop/yarn/dmlc/*.java
${JAVA_HOME}/bin/jar cf dmlc-yarn.jar -C bin .
| hclhkbu/dlbench | tools/mxnet/mxnet0.7/multi-nodes-support/tracker/yarn/build.sh | Shell | mit | 233 |
#!/bin/sh
test_description='test describe
B
.--------------o----o----o----x
/ / /
o----o----o----o----o----. /
\ A c /
.------------o---o---o
D,R e
'
. ./test-lib.sh
check_describe () {
expect="$1"
s... | velorientc/git_test8 | t/t6120-describe.sh | Shell | gpl-2.0 | 3,830 |
#!/bin/sh
autoreconf -is
| benchmark-subsetting/MPIre | autogen.sh | Shell | lgpl-3.0 | 25 |
#!/bin/bash -xe
#
# Copyright 2015 Hewlett-Packard Development Company, L.P.
#
# 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 req... | noorul/os-project-config | jenkins/scripts/npm-tarball-upload.sh | Shell | apache-2.0 | 1,132 |
#!/bin/bash
rnnpath=../rnnlm-0.2b
trainfile=../data/ptb.train.txt
validfile=../data/ptb.valid.txt
testfile=../data/ptb.test.txt
rnnmodel=../models/ptb.model.hidden100.class100.txt
temp=../temp
if [ ! -e $rnnmodel ]; then
echo "model file not found... run first train.sh"
exit
fi
##############################... | deepakgupta1313/models | tutorials/rnn/ptb/tmp/simple-examples/6-recovery-during-training/test.sh | Shell | apache-2.0 | 920 |
#!/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:
# http://oneinstack.com
# https://github.com/lj2007331/oneinstack
Install_MariaDB-5-5()
{
cd $oneinstack_dir/src
[ "$IPADDR_STA... | ZhQYuan/lnmp | include/mariadb-5.5.sh | Shell | apache-2.0 | 7,078 |
#!/bin/bash
EXIT_CODE=0
function run_npm_test {
cd $1
# Install dependencies.
npm install
INSTALL_RESULT=$?
if [ $INSTALL_RESULT -ne 0 ]; then
return $INSTALL_RESULT
fi
# Run the tests.
npm test
TEST_RESULT=$?
cd ..
return $TEST_RESULT
}
for DIR in ./*/; do
# Sanity check: Do not attemp... | pongad/api-client-staging | generated/nodejs/runtests.sh | Shell | bsd-3-clause | 592 |
#!/bin/bash
#. installrc
set -e
./generate_assets.sh
./terraform_provision.sh
echo "sleeping 20"
sleep 20
./rhel_setup.sh
openshift-install create ignition-configs
./run_ansible.sh
| kwoodson/openshift-ansible | hack/libvirt/deploy.sh | Shell | apache-2.0 | 181 |
#!/bin/bash
#
# ------------ update vendor/ with govendor -----------
#
# Usage:
#
# # update runv
# > hack/update-govendor.sh github.com/hyperhq/runv/...
#
# # update all available vendors
# > hack/update-govendor.sh
#
# # dry run
# > hack/update-govendor.sh -n
#
which govendor > /dev/null 2>... | laijs/hyper | hack/update-govendor.sh | Shell | apache-2.0 | 906 |
#!/bin/bash
# Proper header for a Bash script.
# usage:
# Running from inside ui/scripts
# ./transfer.sh <devel-login-name> <optional-theme> <optional -F>
# The -F is meant to do the finalbuild for the deployment server
SRC_DIR=./src
BUILD_DIR=./build
FINAL_DIR=final-build
FINAL_FLAG=false
if [ $# = 0 ]
then
echo... | ksripathi/ui-1.0-toolkit | src/template/transfer.sh | Shell | mit | 2,205 |
#!/bin/bash
set -x -e
mkdir -p $PREFIX/bin
mkdir -p perl-build perl-build/lib
mv *pl perl-build
mv scripts/*pl perl-build
#mv *.pm perl-build/lib/
cp ${RECIPE_DIR}/Build.PL perl-build
cd perl-build
perl ./Build.PL
perl ./Build manifest
perl ./Build install --installdirs site
| gvlproject/bioconda-recipes | recipes/spine/build.sh | Shell | mit | 281 |
#!/usr/bin/env bash
# A script to test whether the PostgreSQL tests should be done or not
set -eu
cd "$(dirname "$0")"
. ./env.sh
{
# try executing a SQL query against the configured database for tests
DBNAME=postgres db-execute "SELECT VERSION() LIKE '%PostgreSQL%'"
} &>/dev/null
| vasyvas/deepdive | test/postgresql/should-work.sh | Shell | apache-2.0 | 291 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.