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
# On MacOSX, checks whether redis and postgres is running
# Version: 2016nov15
if [[ $(lunchy status postgres | grep postgres) ]]; then
echo "Postgres already running..."
else
echo "Start postgres"
lunchy start postgres
fi
if [[ $(lunchy status redis | grep redis) ]]; then
echo "Redis alre... | optimamodel/Optima | bin/osx_check_postgres_redis.sh | Shell | lgpl-3.0 | 390 |
#!/bin/bash
docker run -t -v $(pwd):/data osrm/osrm-backend:v5.5.2 osrm-extract -p /data/osrm-wheelchair-profiles/wheelchair-athletic.lua /data/planet/austria/graz/athletic/graz.osm.pbf
docker run -t -v $(pwd):/data osrm/osrm-backend:v5.5.2 osrm-contract /data/planet/austria/graz/athletic/graz.osrm
docker run -t -i -p ... | species/osrm-wheelchair-profiles | update+run-athletic.sh | Shell | unlicense | 428 |
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you m... | rvs/bigtop | bigtop-packages/src/common/zookeeper/install_zookeeper.sh | Shell | apache-2.0 | 5,812 |
#!/bin/bash
# This file contains list-manipulation functions.
# A list is defined here as a string of items separated by some delimiter. The PATH variable is one such
# example.
if ! test "${default_delim+defined}" ; then
readonly default_delim=" "
fi
# Performance note: It is important for these functions to r... | openbmc/openbmc-test-automation | bin/gen_list.sh | Shell | apache-2.0 | 4,114 |
#!/bin/sh
#apt-get install libjson-c-dev
git clone https://github.com/Cisco-Talos/clamav-devel
cd clamav-devel
./configure --enable-static --with-libjson
DEB_BUILD_HARDENING=1 make
hardening-check clamscan/.libs/clamscan
| lprat/static_analysis | remake_clamav.sh | Shell | apache-2.0 | 222 |
installer "kotlin" "brew install kotlin"
| carloseduardosx/MyDotFiles | config_environment/kotlin.sh | Shell | apache-2.0 | 41 |
#!/bin/sh -e
if ! [ -x "$(command -v godog)" ]; then
echo "godog is not installed. Installing..."
go get github.com/DATA-DOG/godog/cmd/godog
fi
echo "godog is installed."
cd test
godog
| velocity-ci/velocity | backend/scripts/test-integration.sh | Shell | apache-2.0 | 195 |
DCP=yeth1509
alias dc='docker-compose -p ${DCP}'
alias dcup='dc scale bootstrap=1 miner=2 eth=3'
alias miner1='docker exec -i -t ${DCP}_miner_1'
alias miner2='docker exec -i -t ${DCP}_miner_2'
| y12studio/y12eth | hello1509/alias.sh | Shell | apache-2.0 | 193 |
# The script is based on tutorial written by Antonis Tsakiridis published at:
# https://medium.com/@atsakiridis/continuous-deployment-for-ios-using-travis-ci-55dcea342d9
#
# APPLE_CERT_URL - the URL pointing to Apple certificate (set to
# http://developer.apple.com/certificationauthority/AppleWWDRCA.cer by default)
# D... | bgrozev/jitsi-meet | ios/ci/setup-certificates.sh | Shell | apache-2.0 | 4,386 |
#!/bin/bash
set -e
bundle install
if [[ "$OSTYPE" == "linux-gnu" ]]
then
sudo apt-get update
sudo apt-get install -y npm
elif [[ "$OSTYPE" == "darwin"* ]]
then
brew update
brew install npm
fi
npm install uglify-js
npm install less
| GusBricker/GusBricker.github.io | setup.sh | Shell | apache-2.0 | 250 |
#!/bin/bash
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | googleapis/java-game-servers | .kokoro/readme.sh | Shell | apache-2.0 | 1,573 |
#!/bin/bash
##
## Starts the TCP socket client
## and transmits a message.
##
CMD="java -jar"
BASE_DIR=`dirname $0`
JAR="${BASE_DIR}/../../../target/tcp-socket-client-1.0-SNAPSHOT.jar"
${CMD} ${JAR} $@ | mbredel/distributed-systems | tcp-socket/socket-client/sources/src/main/bash/socket-client.sh | Shell | apache-2.0 | 204 |
#simple test
./install-eclipse -f -c https://raw.githubusercontent.com/budhash/install-eclipse/master/profiles/git-java-mvn.cfg ./eclipse
status=$?
cat install-eclipse.log
exit $status
| budhash/install-eclipse | install_test.sh | Shell | apache-2.0 | 185 |
# Source https://wiki.archlinux.org/index.php/proxy_settings
function proxy_on() {
export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
if (( $# > 0 )); then
valid=$(echo $@ | sed -n 's/\([0-9]\{1,3\}.\)\{4\}:\([0-9]\+\)/&/p')
if [[ $valid != $@ ]]; then
>&2 echo "In... | Abdennebi/ProTips | proxy_switch.sh | Shell | apache-2.0 | 1,293 |
#!/bin/bash -xe
###############################################################################
#
# This script is for starting QEMU against the input build and running the
# robot CI test suite against it.(ROBOT CI TEST CURRENTLY WIP)
#
###############################################################################
#
... | openbmc/openbmc-build-scripts | run-qemu-robot-test.sh | Shell | apache-2.0 | 8,006 |
#! /bin/sh
# Travis OpenJDK workaround
#cat /etc/hosts # optionally check the content *before*
hostname "$(hostname | cut -c1-63)"
sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | tee /etc/hosts
#cat /etc/hosts # optionally check the content *after*
SCRIPT_DIR=`dirname $0 | sed -e "s|^\.... | charleskubicek/ReactiveMongo | .travis_scripts/beforeInstall.sh | Shell | apache-2.0 | 2,070 |
#!/bin/bash
source "`dirname "$0"`/functions.sh"
add_classpath ${ISPN_HOME}/infinispan-embedded-*.jar
add_classpath ${ISPN_HOME}/demos/ec2/etc
add_classpath ${ISPN_HOME}/demos/ec2/etc/config
add_classpath ${ISPN_HOME}/demos/ec2/etc/runtime-classpath.txt
add_jvm_args '-Xmx512m'
add_jvm_args $JVM_PARAMS
add_jvm_args '... | infinispan/infinispan-ec2-demos | ec2/src/main/release/bin/runEC2Demo-all.sh | Shell | apache-2.0 | 1,554 |
echo "" | php -R 'include("'$1'");' -B 'parse_str($argv[1], $_GET);pasrse_str($argv[2], $_POST);' "$2" "$3" | mihail-rotmg/MSiteFramework | MSite/php.sh | Shell | apache-2.0 | 110 |
#!/usr/bin/env bash
PASSWORD=$(openssl rand -base64 18 | tr -d +/)
#export TZ=Asia/Kolkata
export TZ=America/Los_Angeles
run_ms_tests() {
docker pull mcr.microsoft.com/mssql/server:$1
docker run -d --rm --name dbtest-ms -e ACCEPT_EULA=Y -e TZ=$TZ -e SA_PASSWORD=$PASSWORD -p 1433:1433 --health-cmd='/opt/mssql-tool... | susom/database | test-sqlserver.sh | Shell | apache-2.0 | 1,292 |
#!/bin/bash
# Copyright 2015 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 applica... | ajessup/appengine-jenkins | bundle/build.sh | Shell | apache-2.0 | 700 |
#
# Licensed to Cloudera, Inc. under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# Cloudera, Inc. licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file exc... | cloudera/whirr-cm | src/main/resources/functions/install_cm_java.sh | Shell | apache-2.0 | 2,776 |
#!/bin/bash
#
# Copyright (c) 2015 Charles H Martin, PhD
#
# Calculated Content
# http://calculatedcontent.com
# charles@calculatedcontent.com
#
AMI_ID="ami-a26265e7"
INSTANCE_TYPE="t1.micro"
SECURITY_GROUPS="chefami"
# 1. create
# 2. ssh private key to server .. need ssh key
# 3. add private endpoint role,... | CalculatedContent/chef-repo | deploy_private_endpoint.sh | Shell | apache-2.0 | 529 |
#!/bin/bash
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# 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 re... | JunhwanPark/TizenRT | external/iotivity/iotivity_1.3-rel/extlibs/tinycbor/prep.sh | Shell | apache-2.0 | 2,154 |
#!/usr/bin/env bash
#
# Copyright 2020 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | googleapis/google-cloud-cpp | ci/kokoro/lib/cache.sh | Shell | apache-2.0 | 2,934 |
#!/bin/bash
set -ex
. cico_setup.sh
docker build -t f8a-e2e-tests .
docker run -t \
-e F8A_API_URL=${F8A_API_URL} \
-e F8A_JOB_API_URL=${F8A_JOB_API_URL} \
-e F8A_GREMLIN_URL=${F8A_GREMLIN_URL} \
-e F8A_3SCALE_URL=${F8A_3SCALE_URL} \
-e F8A_SERVICE_ID=${F8A_SERVICE_ID} \
-e F8A_BACKBONE_API_... | jpopelka/fabric8-analytics-common | integration-tests/cico_run_tests.sh | Shell | apache-2.0 | 492 |
#!/bin/bash
functionName="Sodexo"
slackFunctionName="sodexo-slack-command"
echo "Build binary"
./sbt assembly
echo "create bucket"
aws --region eu-west-1 s3 mb "s3://sodexo-slack" || echo "Bucket already exists"
aws s3api put-bucket-policy --bucket "sodexo-slack" --policy "file://bucketPolicy.json"
echo "upload upda... | ImmobilienScout24/slack-sodexo | deploy.sh | Shell | apache-2.0 | 1,915 |
language=$1
prog=$2
cp -r /opt/runner/code/* /opt/runner/env
/bin/bash /run.sh $language $prog | kvchen/codeframe | docker/entrypoint.sh | Shell | apache-2.0 | 96 |
#!/usr/bin/env bash
echo "./gradlew clean test testUi"
./gradlew clean test testUi
if [ $? -ne 0 ]
then
say "Test build failed"
fi
| christophpickl/gadsu | bin/test.sh | Shell | apache-2.0 | 138 |
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd ../../.. && pwd -P)"
# Exposes:
# + fingerprint_data: Fingerprints the data on stdin.
# shellcheck source=build-support/common.sh
so... | jsirois/pants | build-support/bin/rust/calculate_engine_hash.sh | Shell | apache-2.0 | 1,462 |
# Generate API docs and upload them to Github on the gh-pages branch
# IMPORTANT: This is only meant to be called from Travis builds!
set -e
if [ "$TRAVIS" = "true" ]; then
gem install jazzy
# Configure Travis to be able to push to the Github repo
git config --global user.email "travis@travis-ci.org"
... | watson-developer-cloud/ios-sdk | Scripts/travis/publish-documentation.sh | Shell | apache-2.0 | 1,160 |
#!/usr/bin/env bash
set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
API_SRC_DIR="${SCRIPT_DIR}/apis"
CLI_ARGS= # Nothing, by default
# The combined output file
export CONFIG_FILE_PATH="/opt/apiman/apis/all.json"
# All declarations
DECLARATIONS=""
for DECLARATION_FILE in "$@"; do
DECLARATIO... | apiman/apiman-docker | vertx-standalone/files/docker-entrypoint.sh | Shell | apache-2.0 | 635 |
#mkdir /mnt/context
#mount /dev/disk/by-label/CONTEXT /mnt/context/
cp /mnt/onegate /usr/bin
chmod +x /usr/bin/onegate
TOKENTXT=`cat /mnt/token.txt`
echo "export TOKENTXT=$TOKENTXT" >> /root/.bashrc
function export_rc_vars
{
if [ -f $1 ] ; then
ONE_VARS=`cat $1 | egrep -e '^[a-zA-Z\-\_0-9]*=' | sed 's/=.*$//'`
... | dsa-research/onegate-panacea | share/onegate/init.sh | Shell | apache-2.0 | 447 |
#!/bin/bash
. ../../role_configrc
echo "Archive software factory local GIT copy"
(cd ../../; tar -czf /tmp/software-factory-lc.tgz *)
echo "Create softwarefactory archive for version $SF_VER to ${INST}/softwarefactory-${SF_VER}.edeploy"
(cd ${INST}/softwarefactory; tar -c -p --use-compress-program=pigz -f ../software... | invenfantasy/software-factory | tests/roles_provision/prepare.sh | Shell | apache-2.0 | 349 |
#!/bin/bash
PROJECT_ROOT_DIR=../../../../..
ABSOLUTE_PROJECT_ROOT_DIR=$(cd $PROJECT_ROOT_DIR; pwd)
mkdir -p tmp
for f in $(find . -name "*.yaml")
do
echo "Running on '$f' ..."
DIR=$(dirname "$f")
export PYTHONPATH=$PYTHONPATH:$ABSOLUTE_PROJECT_ROOT_DIR; cat $f | $ABSOLUTE_PROJECT_ROOT_DIR/scripts/vipe-pipeline2d... | openaire/vipe | vipe/graphviz/test/data/converter/run_pipeline2png.sh | Shell | apache-2.0 | 472 |
#!/bin/bash
#
# This delivers the swift-storage upgrade script to be invoked as part of the tripleo
# major upgrade workflow.
#
set -eu
UPGRADE_SCRIPT=/root/tripleo_upgrade_node.sh
cat > $UPGRADE_SCRIPT << ENDOFCAT
### DO NOT MODIFY THIS FILE
### This file is automatically delivered to the swift-storage nodes as part... | michaelhenkel/tht | extraconfig/tasks/major_upgrade_object_storage.sh | Shell | apache-2.0 | 1,694 |
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | google/ml-compiler-opt | run_tests.sh | Shell | apache-2.0 | 970 |
curl http://nebriak3:8098/types/cdmi/bucketsdmi/keys/$1
| building39/nebula2 | scripts/get_by_key.sh | Shell | apache-2.0 | 56 |
#!/bin/bash
set -eux
set -o pipefail
SCRIPT_HOME=$(dirname $0)
BIFROST_HOME=$SCRIPT_HOME/..
# Install Ansible
$SCRIPT_HOME/env-setup.sh
# Source Ansible
source /opt/stack/ansible/hacking/env-setup
# Change working directory
cd $BIFROST_HOME/playbooks
# Perform a syntax check
ansible-playbook -vvvv -i inventory/loca... | juliakreger/bifrost | scripts/test-bifrost.sh | Shell | apache-2.0 | 461 |
#!/bin/sh
bosh create-env \
"${BBL_STATE_DIR}/bosh-deployment/bosh.yml" \
--state "${BBL_STATE_DIR}/vars/bosh-state.json" \
--vars-store "${BBL_STATE_DIR}/vars/director-vars-store.yml" \
--vars-file "${BBL_STATE_DIR}/vars/director-vars-file.yml" \
-o "${BBL_STATE_DIR}/bosh-deployment/gcp/cpi.yml" \
-o ... | cloudfoundry/buildpacks-ci | deployments/patches/create-director-override.sh | Shell | apache-2.0 | 736 |
#!/bin/bash
# Sets or clears latency on a container's virtual ethernet device.
# Wraps tc netem, in a 'ip netns exec tc netem'.
source "${BASH_SOURCE%/*}/utils.sh" || (echo "cannot find utils.sh" && exit 1)
echo "Looking up docker id $1"
prepare_docker_pid $1
DPID=$(docker_pid $1)
shift
echo sudo ip netns exec $DPID... | uProxy/uproxy | docker/testing/run-scripts/set-latency.sh | Shell | apache-2.0 | 358 |
#!/usr/bin/env bash
stat_names=( cpu_util mem_util virtual_memory )
hostname=$(hostname)
log_file=$1
if [ -z "$log_file" ]; then
log_file="/tmp/ceilometer_stats/${hostname}-ceilometer-ps-stats.log"
fi
sleep_time=$2
if [ -z "$sleep_time" ]; then
sleep_time=5
fi
function write_stats() {
names=($(ls /usr/bin/ | g... | nprivalova/ceilometer-at-scale-scripts | ceilometer_stats/ceilometer_ps_stats.sh | Shell | apache-2.0 | 984 |
#!/bin/zsh
# this provides the shell function strftime() and the variable ${EPOCHSECONDS}
zmodload zsh/datetime
base="${ROOT:-/}usr/local/admin/dns"
tmpNamedConf="${base}/tmpNamedConf"
tmpZoneFiles="${base}/zonefiles"
tmpcPanelZoneFiles="${base}/cPanelZoneFiles"
varNamed=${ROOT:-/}var/named
servers=( 10.123.128.11 10... | dklann/cpanel-tools | create_zone_files.sh | Shell | apache-2.0 | 6,699 |
#!/bin/bash
# iptables
set -e
set -u
pkg_dir="$(locate_package 'iptables')"
. "${pkg_dir}/package.mk"
cd "${CLFS_SOURCES}/"
if [ ! -e "${CLFS_SOURCES}/${PKG_NAME}-${PKG_VERSION}.tar.bz2" ]; then
wget --read-timeout=20 "${PKG_URL}"
fi
cd "${CLFS_SOURCES}/"
# make sure things are clean
if [ -d "${CLFS_SOURCES}... | SnakeDoc/LiLi | scripts/system/iptables.sh | Shell | apache-2.0 | 5,260 |
#!/bin/sh
export KDEWM=/usr/bin/i3
| renaudll/dotfiles | i3/kde-i3.sh | Shell | bsd-2-clause | 35 |
opam install -y ocp-indent.1.5.2
ocp-indent -i *.ml bulletml/*.ml bulletml/*.mli tests/*.ml
[ -z "$(git diff)" ]
| emillon/bulletml | .ci-indent.sh | Shell | bsd-2-clause | 113 |
#!/bin/bash
ssh -i ../id_rsa_una $1 $2
| Dresden-pm/Dresden-pm.github.io | git_ssh_wrapper.sh | Shell | bsd-2-clause | 40 |
#!/bin/bash
if [ ! -e mnt ]; then
mkdir mnt
fi
echo "OK - Created mount dir"
env node index.js > /dev/null &
DRIVE_PID=$!
if [ $DRIVE_PID -ge 0 ]; then
echo "OK - Running octo-drive"
else
echo "ERR - Cannot run octo-drive"
exit -1
fi
touch mnt/.waiting
while ( [ -e mnt/.waiting ] ) ; do
sleep 1;
done;
e... | b37t1td/virtualfs-template | tests/fs.spec.sh | Shell | bsd-2-clause | 2,301 |
# Copyright 2015 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
if [ "${TOOLCHAIN}" = "pnacl" -o "${TOOLCHAIN}" = "clang-newlib" ]; then
export CC_FOR_BUILD=clang
else
export CC_FOR_BUILD=gcc
fi
NACLPORTS_CPPFLA... | yeyus/naclports | ports/wireshark/build.sh | Shell | bsd-3-clause | 832 |
RunFunctions() {
if [ -n "${FETCHSYNTAX}" ]; then
GetSyntaxExample
fi
if [ -n "${SYNAPP}" ]; then
PrepSyntax
fi
if [ "${FETCHTEMPLATES}" = "1" ]; then
PullTemplates
fi
if [ "${LISTTEMPLATES}" = "1" ]; then
AvailableTemplates
fi
# FETCH FROM URL
if [ -n "${GETURL}" ]; then
... | mfillpot/sdtbase | parted/98-RunFunctions.sh | Shell | bsd-3-clause | 998 |
#!/bin/bash
# https://conferencing.siteos.de/
sudo ip route add 194.69.205.60 via 192.168.10.3 dev br0 metric 9
# https://mail.siteos.de/
sudo ip route add 194.69.205.61 via 192.168.10.3 dev br0 metric 9
# https://projektron.siteos.de/bcs/login
sudo ip route add 194.69.205.205 via 192.168.10.3 dev br0 metric 9
# http... | aanno/linux-config | scripts/siteos-prepare.sh | Shell | bsd-3-clause | 403 |
#!/bin/bash
VER=$1
if [ -z ${VER} ] ; then
echo "Error, pass the version number you are creating (for example 1.1)";
exit -1;
fi
STARTDIR=`pwd`;
if [ -d build/Release ]; then
cd build/Release
echo "Creating zip file";
ditto -ck --keepParent PortKnox.app PortKnox-${VER}.zip
LEN=`stat -f %z Po... | jstelzer/PortKnox | release-prep.sh | Shell | bsd-3-clause | 1,322 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
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}/tutorial08... | ktejas/OpenGL | tutorial08/nbproject/Package-Release.bash | Shell | mit | 1,463 |
#!/bin/bash
kubectl create -f - << EOF
kind: Namespace
apiVersion: v1
metadata:
name: kube-system
labels:
name: kube-system
EOF
| Yggdrasil/traefik | examples/k8s.namespace.sh | Shell | mit | 137 |
unset HOME
unsetopt promptsp notransientrprompt
setopt interactivecomments
setopt autonamedirs
# POWERLINE_CONFIG_PATH=$PWD/powerline/config_files
# POWERLINE_THEME_CONFIG=( default_leftonly.segment_data.hostname.args.only_if_ssh=false )
# POWERLINE_CONFIG=( ext.shell.theme=default_leftonly )
POWERLINE_NO_ZSH_ZPYTHON=1... | firebitsbr/powerline | tests/test_shells/input.zsh | Shell | mit | 1,334 |
source $stdenv/setup
cp -r $src ./src
chmod -R a+w ./src
cd ./src
sed -i 's|ar rcs|${AR} rcs|' Makefile
make libargon2.a -j4
mkdir -p $out/{lib,include}
cp libargon2.a $out/lib
cp include/argon2.h $out/include
cp ./src/blake2/*.h $out/include
| jfranklin9000/urbit | nix/deps/argon2/builder.sh | Shell | mit | 252 |
#!/bin/sh
# Downloads Gradle wrapper into current directory.
baseurl='https://se-edu.github.io/gradle-wrapper'
mkdir -p gradle/wrapper &&
wget -O gradle/wrapper/gradle-wrapper.jar "$baseurl/gradle/wrapper/gradle-wrapper.jar" &&
wget -O gradle/wrapper/gradle-wrapper.properties "$baseurl/gradle/wrapper/gradle-wrapper.pr... | se-edu/addressbook-level2 | config/travis/download_gradle_wrapper.sh | Shell | mit | 434 |
#!/bin/sh
# Keep upstart from complaining
RUN dpkg-divert --local --rename --add /sbin/initctl
RUN ln -s /bin/true /sbin/initctl
apt-get update && apt-get install -y mysql-server && apt-get clean && rm -rf /var/lib/apt/lists/*
sed -i -e"s/^bind-address\s*=\s*127.0.0.1/bind-address = 0.0.0.0/" /etc/mysql/my.cnf
/usr... | zhy0216/random-read | docker/mysql-setup.sh | Shell | mit | 452 |
#!/bin/bash
conan_bin=`which conan`
if [ -z $conan_bin ]; then
exit 0
fi
conan profile show default || {
conan profile new default --detect
}
conan profile update settings.compiler.libcxx=libstdc++11 default
echo "correct version of cmake"
mkdir -p build && cd build && conan install .. && cmake .. && make
i... | ttroy50/cmake-examples | 07-package-management/D-conan/ii-basic-targets/run_test.sh | Shell | mit | 388 |
#!/bin/sh
node ./scripts/espower-cli.js sandbox/qunit_rhino.js > sandbox/qunit_rhino_espowered.js && ./sandbox/phantomjs_test.sh
exit 0
| azu/power-assert | scripts/example_runners/qunit_phantomjs_js.sh | Shell | mit | 137 |
#!/bin/bash
APPNAME='resilio-sync'
APPSHORTNAME='rs'
APPPATH="/var/lib/resilio-sync"
APPTITLE='Resilio Sync'
APPSETTINGSDIR="/home/$UNAME/.config/resilio-sync"
APPSETTINGS="$APPSETTINGSDIR/config.json"
APPDPORT='8888'
APPSYSTEMD='resilio-sync.service'
APPREPOSITORYNAME='resilio-sync'
ACCESSHOST='NA'
APPSYSTEMDOVERIDE=... | TommyE123/AtoMiC-ToolKit | resilio-sync/resilio-sync-constants.sh | Shell | mit | 398 |
#!/bin/sh
. /lib/functions.sh
. ../netifd-proto.sh
init_proto "$@"
proto_dhcpv6_init_config() {
proto_config_add_string "reqaddress"
proto_config_add_string "reqprefix"
proto_config_add_string "clientid"
proto_config_add_string "reqopts"
proto_config_add_string "noslaaconly"
proto_config_add_string "forceprefix... | mazareeb/openwrt | package/network/ipv6/odhcp6c/files/dhcpv6.sh | Shell | gpl-2.0 | 1,750 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2012-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/t8070-group-variant.sh | Shell | gpl-2.0 | 1,924 |
#!/bin/bash
./minic test.mc
cat test.ast
| formfoxk/YUJOO-COMPILER | parser/yacc/test/test.sh | Shell | gpl-2.0 | 41 |
#!/bin/sh
test_description='test untracked cache'
. ./test-lib.sh
avoid_racy() {
sleep 1
}
git update-index --untracked-cache
# It's fine if git update-index returns an error code other than one,
# it'll be caught in the first test.
if test $? -eq 1; then
skip_all='This system does not support untracked cache'
t... | diegolagoglez/git | t/t7063-status-untracked-cache.sh | Shell | gpl-2.0 | 9,108 |
#!/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-03/20170119T140532+0000/00/00/terminate_0_ID0000009.sh | Shell | gpl-3.0 | 1,213 |
#!/bin/sh
# gpt: create many partitions
# Before parted-3.1, this would provoke an invalid free.
# Copyright (C) 2012-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 Fo... | sjas/parted | tests/t0212-gpt-many-partitions.sh | Shell | gpl-3.0 | 1,576 |
#!/bin/bash
if [ $# -ne 1 ]; then
echo "ERROR: must specify destination file."
exit 1
fi
DESTINATION=$1
TEMP=$(mktemp -d --suffix=_unetlab)
VMDK="Unified_Networking_Lab-disk1.vmdk"
QCOW="Unified_Networking_Lab-disk1.qcow2"
OVF="Unified Networking Lab.ovf"
export DEBIAN_FRONTEND="noninteractive"
echo -ne "Creating... | CJloHuK/unetlab | scripts/build_ova.sh | Shell | gpl-3.0 | 7,255 |
rm -rf pylarion
git clone --depth 1 ${PYLARION_REPO_URL}
# Make pylarion ready to be installed on a virtual environment
cd pylarion
cp setup.py setup.py.old
head -n -3 setup.py.old > setup.py
sed -i "s|'/etc', ||" setup.py
sed -i "s/cachingpolicy=1/cachingpolicy=0/" src/pylarion/session.py
# Install pylarion and its ... | elyezer/robottelo-ci | scripts/satellite6-betelgeuse.sh | Shell | gpl-3.0 | 743 |
export DEBIAN_FRONTEND=noninteractive
export CXX="g++-4.8"
export CC="gcc-4.8"
#
# Swig install
if [ -f $HOME/swig-install/bin/swig ] ; then
echo "Swig already built (and in travis cache)"
else
cd
wget https://github.com/swig/swig/archive/rel-3.0.10.tar.gz
tar zxvf rel-3.0.10.tar.gz
mkdir $HOME/swig-install
cd... | d-cooper/I-Simpa | ci/travis/linux/before_install.sh | Shell | gpl-3.0 | 1,755 |
#!/bin/bash
#Installation script for Caja Terminal
_install() {
#Install Caja Terminal
#$1 : the output path, if different of /
echo "$_BOLD * Copy file...$_NORMAL"
#Share
mkdir -pv "$1"/usr/share/caja-terminal/
cp -v ./pixmaps/* "$1"/usr/share/caja-terminal/
cp -v ./code/*.glade "$1"/usr/share/caja-terminal/
... | raveit65/caja-terminal | install-64.sh | Shell | gpl-3.0 | 5,166 |
#!/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_1/20161107T090001+0000/00/00/calculateratio_7_ID0000022.sh | Shell | gpl-3.0 | 1,252 |
#!/bin/bash
# This scripts must be executed inside the **jemma** folder resulting from a fresh clone of the *releases* branch .
# Note: this is just a quick and dirty script for internal use - OSGi has more standard ways to do this
# typically launched as
# - ./scripts/jemma-generate-release.sh
mvn clean package
... | ivangrimaldi/jemma | scripts/jemma-generate-release.sh | Shell | lgpl-3.0 | 1,616 |
#!/usr/bin/env bash
version='1.3-SNAPSHOT'
jar="aroma-authentication-service-$version.jar"
nohup java -jar $jar > server.log &
| RedRoma/banana-authentication-service | src/main/bin/startServer.sh | Shell | apache-2.0 | 129 |
:
cd build
jar cvf ../xmlrpc.war .
| paulnguyen/cloud | xmlrpc/docker/genwar.sh | Shell | apache-2.0 | 36 |
sudo docker run -i -t --name cyber-event-collector cyber-event-collector /bin/bash
| wjcjenny/cyberattack-event-collector | ssh-docker.sh | Shell | apache-2.0 | 84 |
#!/bin/bash -e
DATETIME=$(date +%Y-%m-%dT%H:%M:%S -d "+15 seconds")
case $1 in
start)
curl http://172.17.4.50:8082/v1/refresh-creation \
-H "Content-Type: application/json" -X POST -iv -d \
"{
\"id\": 1,
\"image_id\": 1,
\"battlefield_id\": 1,
\"name\": \"test\",
\"periodic\": 15,
\"refreshi... | tangfeixiong/go-for-docker | examples/java/flag/runtests_curl.sh | Shell | apache-2.0 | 2,364 |
#!/usr/bin/env bash
#--------------------------------------------------------------------------------------------------
# Test suit for the utilities.sh
#--------------------------------------------------------------------------------------------------
# To run the test:
# ( source $ALICE_PHYSICS/../src/PWGPP/script... | pbatzing/AliPhysics | PWGPP/scripts/test/utilities.test.sh | Shell | bsd-3-clause | 5,264 |
export INSTALL_SCLS='llvm-toolset-7.0'
export ENABLE_SCLS='llvm-toolset-7.0'
| sclorg/sclo-ci-tests | collections/llvm-toolset-7.0-rh/include.sh | Shell | bsd-3-clause | 77 |
#!/usr/bin/env sh
set -e
echo 'Running unit tests.'
phpunit --verbose --coverage-clover build/logs/clover.xml
echo ''
echo ''
echo ''
echo 'Testing for Coding Styling Compliance.'
echo 'All code should follow PSR standards.'
./vendor/bin/php-cs-fixer fix ./ --level="all" -vv --dry-run | tedivm/Current | tests/runTests.sh | Shell | mit | 287 |
#!/bin/bash
env
if [ -n "$DB_URI" ]; then
MONGODB_URI=${DB_URI}
elif [ -z "$MONGODB_URI" ]; then
MONGODB_URI=mongodb://localhost/strider-foss
fi
if [ -n "$MONGO_PORT" ]; then
MONGODB_URI="mongodb://${MONGO_PORT#tcp://}/strider-foss"
fi
DB_URI=$MONGODB_URI
# TODO: make this work with arbitrary plugin_* vars
HOME=... | bitwit/strider | docker/start-strider.sh | Shell | mit | 572 |
#!/usr/bin/env bash
scriptRoot="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [ "$BUILDVARS_DONE" != 1 ]; then
. $scriptRoot/buildvars-setup.sh $*
fi
# Check the system to ensure the right pre-reqs are in place
check_native_prereqs()
{
echo "Checking pre-requisites..."
# Check presence of CMake on t... | krytarowski/corert | buildscripts/build-native.sh | Shell | mit | 4,233 |
bundle exec puma -C config/puma.rb
| teknofire/ruby_reader | script/start_puma.sh | Shell | mit | 35 |
#!/bin/bash
printf "Plugin name: "
read NAME
printf "Destination folder: "
read FOLDER
printf "Include Grunt support (y/n): "
read GRUNT
printf "Initialise new git repo (y/n): "
read NEWREPO
DEFAULT_NAME="WordPress Plugin Template"
DEFAULT_CLASS=${DEFAULT_NAME// /_}
DEFAULT_TOKEN=$( tr '[A-Z]' '[a-... | ganggangdit/wordpress | wp-content/plugins/pc-google-analytics/build-plugin.sh | Shell | gpl-2.0 | 4,608 |
#!/bin/bash
###########################################################################################
## Copyright 2003, 2015 IBM Corp ##
## ##
## Redistribution and use in s... | rajashreer7/autotest-client-tests | linux-tools/perl_HTML_Format/perl-HTML-Format.sh | Shell | gpl-2.0 | 4,310 |
#!/bin/sh
test_description='split index mode tests'
. ./test-lib.sh
# We need total control of index splitting here
sane_unset GIT_TEST_SPLIT_INDEX
sane_unset GIT_FSMONITOR_TEST
test_expect_success 'enable split index' '
git config splitIndex.maxPercentChange 100 &&
git update-index --split-index &&
test-tool du... | Ikke/git | t/t1700-split-index.sh | Shell | gpl-2.0 | 12,103 |
#!/bin/sh
find . -type f -name '*.h' -exec chmod 644 {} \;
find . -type f -name '*.c' -exec chmod 644 {} \;
find . -type f -name '*.py' -exec chmod 755 {} \;
find . -type f -name '*.sh' -exec chmod 755 {} \;
find . -type f -name '*.pl' -exec chmod 755 {} \;
chown root:root . -R
| dorimanx/SAMMY-ICS-SOURCE | fix-permissions.sh | Shell | gpl-2.0 | 279 |
#!/bin/bash
echo 1..1
if $RCGO $srcdir/reaction_param_activation.rc 2>&1 | grep -q 'E5'
then
echo 'ok 1 - reaction_param_activation'
else
echo 'not ok 1 - reaction_param_activation'
fi
| jrw972/fbu | ftest/reaction_param_activation.sh | Shell | gpl-3.0 | 195 |
#!/bin/bash
python -m SimpleHTTPServer 8080
| NGG-Group-CS320/Frontend | watch.sh | Shell | agpl-3.0 | 44 |
#!/bin/bash
# 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 applic... | hortonworks/kubernetes-yarn | hack/e2e-suite/update.sh | Shell | apache-2.0 | 4,520 |
#!/usr/bin/env bash
# Copyright 2015, Rackspace US, Inc.
# Copyright 2017, SUSE LINUX GmbH.
#
# 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
... | cloudnull/os-ansible-deployment | scripts/sources-branch-updater.sh | Shell | apache-2.0 | 3,261 |
#!/bin/bash
#
# Copyright 2017 IBM 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 law or agree... | denilsonm/advance-toolchain | utils/repo.sh | Shell | apache-2.0 | 7,513 |
#!/usr/bin/env bash
PGPASSWORD=postgres psql -U postgres <<EOF
drop database if exists geodesydb;
drop database if exists geodesy_baseline_db;
drop role if exists geodesy;
create user geodesy with password 'geodesypw';
create database geodesydb owner geodesy;
create database geodesy_baseline_db owner geodesy;
EOF
PGP... | lbodor/geodesy-domain-model | src/test/docker/database/setup-database.sh | Shell | bsd-3-clause | 584 |
#!/bin/bash
# useful script to test all the different build types that we support.
# This helps when doing large merges
# Andrew Tridgell, November 2011
. config.mk
set -e
set -x
echo "Testing ArduPlane build"
pushd ArduCopter
make configure
for b in all apm2 sitl; do
pwd
make clean
make $b -j4
done
popd... | R-bob/R-bob.github.io | ardupilot-ArduCopter-3.2.1/Tools/scripts/build_all_travis.sh | Shell | gpl-2.0 | 467 |
#!/bin/bash -e
. utils/functions
sqlite3 webproxycache.db 'PRAGMA foreign_keys = ON; DELETE FROM cache WHERE url LIKE "%/repodata/%";'
sqlite3 webproxycache.db 'PRAGMA foreign_keys = ON; DELETE FROM cache WHERE url LIKE "https://registry-1.docker.io:443/v2/%/manifests/%";'
sqlite3 webproxycache.db 'PRAGMA foreign_key... | ianmiell/demobuilder | utils/clean-repodata.sh | Shell | gpl-3.0 | 540 |
#!/bin/bash
# Robuust downloadscript om gegevens van PDOK te downloaden
# Gebaseerd op NLExtract / brk/etl/download-brk.sh
#
# Auteur: Just van den Broecke, Frank Steggink
#
# Probeert gezipte GML-bestanden van PDOK te downloaden. Er kan nogal wat mis gaan,
# en gebeurt veel in praktijk, vandaar veel checks en retries:... | nlextract/NLExtract | brk/etl/robust-download.sh | Shell | gpl-3.0 | 1,936 |
#!/bin/bash
# $1 is the required idea version.
# $2 is an optional ant target to build.
if [[ $# -eq 0 ]] ; then
echo 'This script must be called with the version of IDEA to test'
echo 'example: ./travis.sh 14.1.6'
exit 1
fi
# Run the tests
./gradlew clean test -PgenerateHxcppDebugger=false -PtargetVers... | TiVo/intellij-haxe | travis.sh | Shell | apache-2.0 | 409 |
#!/bin/bash -x
# slim-sat-channel-create.sh will source the slim.cfg file to understand what
# what it needs to work on.
#
# then it will iterate through Release/OS/Arch array to export from
# svn server and then check for the existence of a channel, create
# it if it does not exist and populate it with rpm's
... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Puppet/STIG/rhel5/Unix-Checklist/base/dev/rhel5/scripts/trunk/scripts/sat-clone-channels.sh | Shell | apache-2.0 | 2,563 |
#!/usr/bin/env zsh
rm *.hi *.o
ghci -ghci-script create.ghci
rm *.hi *.o
for i in *svg; do
inkscape -z -e ${i:r}.png -d 60 -b white $i
#gzip -9 $i
#mv $i.gz ${i:r}.svgz
pngnq ${i:r}.png
optipng -o7 ${i:r}-nq8.png
mv ${i:r}-nq8.png ${i:r}.png
done
for i in **/*.txt; do
asciidoc -b xhtml11 -f asciidoc.... | bitemyapp/ghc-vis | docs/Makefile.sh | Shell | bsd-3-clause | 447 |
git update-index --assume-unchanged pom.xml edu.wpi.first.wpilib.plugins.core.feature/feature.xml edu.wpi.first.wpilib.plugins.core.feature/pom.xml edu.wpi.first.wpilib.plugins.core/META-INF/MANIFEST.MF edu.wpi.first.wpilib.plugins.core/pom.xml edu.wpi.first.wpilib.plugins.cpp.feature/feature.xml edu.wpi.first.wpilib.p... | wpilibsuite/EclipsePlugins | ignore.sh | Shell | bsd-3-clause | 841 |
#!/bin/bash
FN="org.Mm.eg.db_3.7.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/annotation/src/contrib/org.Mm.eg.db_3.7.0.tar.gz"
"https://bioarchive.galaxyproject.org/org.Mm.eg.db_3.7.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-org.mm.eg.db/bioconductor-org.mm.eg.db_3.7.0_src_a... | joachimwolff/bioconda-recipes | recipes/bioconductor-org.mm.eg.db/post-link.sh | Shell | mit | 1,314 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.