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 -e
#
# Copyright (c) 2016 The Ontario Institute for Cancer Research. All rights reserved.
#
# This program and the accompanying materials are made available under the terms of the GNU Public License v3.0.
# You should have received a copy of the GNU General Public License along with
# this program. If not, ... | icgc-dcc/dcc-etl | dcc-etl-client/src/main/scripts/legacy/projects/dev.sh | Shell | gpl-3.0 | 1,536 |
#!/bin/bash
#
##
###
##################################################################################
# #
# Copyright 2018; Antonio Henrique (Fela); <ahlr_2000@yahoo.com> #
# Todos os direitos reservados. ... | ahlrodrigues/slackonfig | source/scripts/mountstorage.Slackonfig.sh | Shell | gpl-3.0 | 5,797 |
sudo modprobe -r AnB
sudo modprobe AnB | fotonartur/qnet | kks_console/mod_reload.sh | Shell | gpl-3.0 | 38 |
#!/bin/sh
wd=`dirname $0`
cd $wd
test=${1:-ping}
case "$test" in
ping)
exec sipp 127.0.0.1:4060 -sf ping.xml -p 4050 -m 5 -s 30
;;
*)
echo "siptest: $1: unknown test" >&2
exit 1
;;
esac
| tychosoft/sipwitchqt | testdata/siptest.sh | Shell | gpl-3.0 | 191 |
#!/usr/bin/env bash
chown -R pixel /home/pixel
chmod -R 0755 /home/pixel/www/public
# FIX ENOMEM: out of memory when installing packages
# https://stackoverflow.com/questions/26193654/node-js-catch-enomem-error-thrown-after-spawn
fallocate -l 1G /swapfile
mkswap /swapfile
swapon /swapfile
su - pixel
cd /home/pixel/w... | pixelcanvasio/pixelcanvas | packer/scripts/post-receive.sh | Shell | gpl-3.0 | 335 |
#!/bin/sh
# WARNING: This file is created by the Configuration Wizard.
# Any changes to this script may be lost when adding extensions to this configuration.
# --- Start Functions ---
stopAll()
{
# We separate the stop commands into a function so we are able to use the trap command in Unix (calling a function) t... | devwebcl/wls_contraption | script/startWebLogic.sh | Shell | gpl-3.0 | 8,444 |
./rop-tool-Linux-x86-64-static g ./binary-samples/libSystem.B.dylib -B "x32x90x0a"
| sigma-random/rop-tool | test/test99.sh | Shell | gpl-3.0 | 83 |
En la maquina real
iptables -I FORWARD -i vboxnet0 -j ACCEPT
iptables -I FORWARD -o vboxnet0 -j ACCEPT
iptables -t nat -I POSTROUTING -o wlan0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
En la virtual
route add default gw 192.168.56.1
| einar-lanfranco/MatFel | script/habilitar_red_externa.sh | Shell | gpl-3.0 | 247 |
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# b... | winkey/grib_contour | share/nam_conus_hires.config.sh | Shell | gpl-3.0 | 2,714 |
#!/bin/sh
#
# Tool script used to strip all unshared symbol from a shared library.
# A symbol is unshared when it is not GLOBAL and/or its visibility is not
# DEFAULT (so only exported symbol should be marked with this visibility).
if [ $# -ne 2 ]
then
echo "Usage: $0 <source-object> <dest-object>"
exit 1
fi
share... | fixos/fixos | user/sharedtest/tools/strip_unshared.sh | Shell | gpl-3.0 | 554 |
#!/bin/bash
echo $1
echo $2
echo "output to: $3"
gst-launch-1.0 filesrc location=$1 ! video/x-h264,width=1920,height=1080,framerate=25/1 ! h264parse ! queue ! mux. filesrc location=$2 ! decodebin ! audioconvert ! queue ! mux. avimux name=mux ! filesink location=$3
| i-n-g-o/ffch-phone | mux.sh | Shell | gpl-3.0 | 266 |
#!/bin/sh
#
# This file is protected by Copyright. Please refer to the COPYRIGHT file
# distributed with this source distribution.
#
# This file is part of GNUHAWK.
#
# GNUHAWK is free software: you can redistribute it and/or modify is under the
# terms of the GNU General Public License as published by the Free Sof... | RedhawkSDR/integration-gnuhawk | components/pack_k_bits_bb/build.sh | Shell | gpl-3.0 | 1,561 |
#!/bin/bash
sudo service iptables stop
sudo service httpd restart | uws-eresearch/owncloud | puphpet/files/exec-always/restart_httpd.sh | Shell | gpl-3.0 | 65 |
#!/bin/sh
if [ -e $1 ];
then
cat $1
else
echo "Oh noes, the specified file does not exist! Everything was so perfect up until now! :("
fi
| kotct/messageboard | src/display_message_board.sh | Shell | gpl-3.0 | 140 |
#!/bin/bash
# =========================================================
# Get the properties file
PROPS=$1
# Get the base output directory
DIR=$2
# Get the locations file prefix
#LOC_FILE_PREFIX=$3
LOC_FILE_PREFIX=cfg/sim/locations/metric/valid-metric-loc
# =========================================================
... | snucsne/bio-inspired-leadership | scripts/sim/perform-restricted-local-spatial-fixed-personality-exp.sh | Shell | gpl-3.0 | 2,443 |
#!/bin/sh
#desc:Delete action
#type:local
#package:odauto
# Copyright(c) 2015 OpenDomo Services SL. Licensed under GPL v3 or later
ACTPATH="/etc/opendomo/actions"
if test -f "$ACTPATH/$1.action"; then
rm -fr "$ACTPATH/$1.action"
fi
# Once deleted, back to the main script
/usr/local/opendomo/manageActions.sh
| opalenzuela/opendomo-automation | usr/local/opendomo/services/syscript/delAction.sh | Shell | gpl-3.0 | 314 |
#!/bin/sh
export MAVEN_REPO=/Users/tryggvil/.maven/repository
java -classpath target/classes:$MAVEN_REPO/axis/jars/axis-1.3.jar:$MAVEN_REPO/axis/jars/axis-jaxrpc-1.3.jar:$MAVEN_REPO/commons-logging/jars/commons-logging-api-1.0.4.jar:$MAVEN_REPO/commons-discovery/jars/commons-discovery-0.2.jar:$MAVEN_REPO/axis/jars/ax... | idega/com.idega.licence | generate_wsdl.sh | Shell | gpl-3.0 | 594 |
patch -p0 <ZfcUser.patch
| Eddy0402/NCKUPianoClub | patch.sh | Shell | gpl-3.0 | 25 |
#!/bin/bash
: ${INSTALL_CHADO_SCHEMA:=1}
CHECK_FOR_CHADO=$(psql -U postgres "$POSTGRES_DB" -c 'select * from chadoprop' >/dev/null 2>&1; echo "$?")
if [[ $CHECK_FOR_CHADO -ne 0 ]]; then
# Only if set to 1 do we automatically install the schema
if [[ $INSTALL_CHADO_SCHEMA -eq 1 ]]; then
psql --username p... | erasche/docker-chado | load_schema.sh | Shell | gpl-3.0 | 375 |
#!/bin/bash
. ./tests/test.sh
echo "1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1" > /tmp/src1
echo "2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2" > /tmp/src2
echo "3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3" > /tmp/src3
echo "4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4" > /tmp/src4
laun... | timvideos/gst-switch | tests/deprecated/labs/convbin_switch.sh | Shell | gpl-3.0 | 798 |
#!/bin/sh
echo 'Compressing css'
rm -f compressed.css
for f in blueprint-screen.css MenuMatic.css style.css
do
/usr/bin/yui-compressor --type css $f >> compressed.css
done
| fbianco/webraptor | example/css/compress.sh | Shell | gpl-3.0 | 176 |
#!/usr/bin/bash
######################################################
#
# File Name: log.sh
#
# Function: 通用日志模块,提供日志打印,邮件发送等功能
#
# Usage: source log
#
# Input: none
#
# Output: none
#
# Author: panwenhai
#
# Create Time: 2016-07-01 16:04:14
#
######################################################
# 日志配置
LO... | icemoon1987/shell_toolkit | log.sh | Shell | gpl-3.0 | 1,403 |
#!/bin/bash -eu
# -e: Exit immediately if a command exits with a non-zero status.
# -u: Treat unset variables as an error when substituting.
#
# Copyright (C) 2013 Royal Observatory, University of Edinburgh, UK
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU G... | stvoutsin/pyrothorn | scripts/tests/test14-nohup.sh | Shell | gpl-3.0 | 982 |
#!/usr/bin/env bash
sudo pacman -S $(pacman -Ssq xf86-|grep xf86-)
| NoviceLive/unish | scripts/pkgs/xf86.sh | Shell | gpl-3.0 | 69 |
#!/bin/bash
seed=2016
gpu_id=0
batchsize=16
opt=Adam
lr=0.001
adam_alpha=0.0001
n_encdec=4
result_dir=results_opt-${opt}_lr-${lr}_alpha-${adam_alpha}_`date "+%Y-%m-%d_%H%M%S"`
if [ -z ${snapshot_epoch} ]; then
snapshot_epoch=10
fi
if [ -z ${epoch} ]; then
epoch=300
fi
init_train () {
CHAINER_SEED=${seed}... | mitmul/chainer-segnet | experiments/train_origcw.sh | Shell | gpl-3.0 | 2,372 |
#!/bin/bash
press_enter()
{
echo -en "\nPress Enter to continue"
read
clear
}
option=
algorithm=
until [ "$option" = "q" ]; do
echo "
ALBERT CHECKSUM CHECKER
This script's purpose is to act as a multi-algorithm chechsum checher.
Available options:
f, F - Display free disk space
... | albertaparicio/s-checker | tests/schk.sh | Shell | gpl-3.0 | 1,099 |
#!/bin/sh
Mlog -x "$SQL_CLIENT < $TSTSRCBASE/$TSTDIR/../01.sql"
Mlog -x "$SQL_CLIENT < $TSTSRCBASE/$TSTDIR/../02.sql"
Mlog -x "$SQL_CLIENT < $TSTSRCBASE/$TSTDIR/../03.sql"
Mlog -x "$SQL_CLIENT < $TSTSRCBASE/$TSTDIR/../04.sql"
Mlog -x "$SQL_CLIENT < $TSTSRCBASE/$TSTDIR/../05.sql"
Mlog -x "$SQL_CLIENT < $TSTSRCBASE/$TST... | zyzyis/monetdb | sql/benchmarks/tpch/LOCKED/Tests/01-22.SQL.sh | Shell | mpl-2.0 | 1,199 |
#! /bin/bash -e
ROOT=$(readlink -f "$(dirname "$0")")
cp "$ROOT"/head.png "$ROOT"/../head.png
cp "$ROOT"/head.png "$ROOT"/../bed.png
| platsch/OctoPNP | octoprint_OctoPNP/cameras/dummy/grab.sh | Shell | agpl-3.0 | 136 |
#!/bin/bash
VERBOSE=1
fjcsv2sglf="../fjcsv2sglf"
#$fjcsv2sglf ../test-data/035e.tagset ../test-data/test0/035e.fjcsv
pos8count=`$fjcsv2sglf ../test-data/035e.tagset ../test-data/test1/035e.fjcsv | cut -f1 -d, | grep -P '^035e\.00\.0008\.' | wc -l | cut -f1 -d' '`
pos9count=`$fjcsv2sglf ../test-data/035e.tagset ../... | curoverse/l7g | tools/fjcsv2sglf/tests/run-tests.sh | Shell | agpl-3.0 | 729 |
#!/usr/bin/env bash
pm2 startOrRestart /home/ubuntu/API/processes.json
| GHImplementationTeam/API | ApplicationStart.sh | Shell | agpl-3.0 | 72 |
#!/bin/bash
[ -f /usr/src/app/app/config.json ] || exit 1;
[ -f /usr/src/app/app/users.json ] || exit 2; | kkkyyy03/docker-server-management-tools | panel/check.sh | Shell | agpl-3.0 | 106 |
#!/bin/sh
echo "mail filter" >> /tmp/test
cat > /tmp/mail
cat /tmp/mail
| posteo/scrambler-plugin | dovecot/script/mail-filter.sh | Shell | agpl-3.0 | 74 |
#!/bin/bash -e
#
# Copyright (C) 2020-present ScyllaDB
#
#
# SPDX-License-Identifier: AGPL-3.0-or-later
#
PROGRAM=$(basename $0)
print_usage() {
echo "Usage: $PROGRAM [OPTION]..."
echo ""
echo " --mode MODE The build mode of 'scylla' to verify (options: 'release', 'dev', and 'debug')."
exit 1
}
i... | scylladb/scylla | tools/testing/dist-check/dist-check.sh | Shell | agpl-3.0 | 1,482 |
#!/bin/bash
PID=`ps -ef | grep marytts | grep -v grep | awk '{print $2}'`
if [[ "" != "$PID" ]]; then
echo "Kill process $PID"
kill -9 $PID
fi | BrutusTT/yasp | scripts/stopMary.sh | Shell | agpl-3.0 | 153 |
#!/bin/bash
# init $PATH
source /etc/profile
if grep -q $BASHPID -r /sys/fs/cgroup/systemd/backup.slice
then rsync "$@"
else systemd-run --slice backup.slice --scope "$0" "$@"
fi
| orezpraw/scripts | rsync-wrapper.sh | Shell | agpl-3.0 | 187 |
#!/usr/bin/env bash
#
# Script called by Terraform to do all the things (for the Base image)
# just like we used to in the 90s. Things must go in Chef!
#
set -e -o -x errexit
#
# Pre-reqs
#
yum install -y unzip
#
# Consul client
#
mkdir -p /etc/consul.d/client/
mv /tmp/consul_client_config.json /etc/consul.d/client/... | Klazomenai/rehab.earth | terraform/base/scripts/all_the_things.sh | Shell | agpl-3.0 | 1,230 |
#!/bin/bash
# set default parameters
stencil_spec=""
arch="x86_64 AVX"
#arch_set="false"
#verb="codegen"
strategy="$PATUS_HOME/strategy/cacheblocked.stg"
#outdir="$PWD/out"
unroll="1,2,4,8"
create_inline_asm="yes"
moreargs=""
# accuracy tolerance
# --validation-tolerance=1e-3
### ------------------------------------... | bcosenza/patus | tune/patus_hvinter.sh | Shell | lgpl-2.1 | 877 |
#!/bin/bash
fileinput=$1
fileAS=answerset.txt
first=1 # var to start create a new file for the answer sets
startwrite=0 # var to mark when to start/finish redirect graph output to *.dot file
while read LINE
do
if [ "$LINE" = "ANSWER SET" ];
then read LINE # skip the number
read LINE # this... | hexhex/core | src/postpross.sh | Shell | lgpl-2.1 | 886 |
#!/bin/bash
# Magic
latest="$(wget -O - https://github.com/cogneco/magic/releases/latest | grep -o -m 1 '\<download/.*tar.gz\>')"
wget https://github.com/cogneco/magic/releases/$latest
echo ${latest##*/}
tar zxvf ${latest##*/}
# Rock
if [ "$(uname -o)" == "Msys" ]; then
latest="$(wget -O - https://github.com/cogneco/r... | davidhesselbom/ooc-kean | tools/ci/install_ci_tools.sh | Shell | lgpl-3.0 | 744 |
#!/bin/bash
# 下面需要修改的地方
# 1、HOME=/data/zach根据自己建的目录
export HOME=/data/zach
export DOMAIN_HOME=${HOME}/domain
export LOG_HOME=${HOME}/logs
export TOMCAT_HOME=${HOME}/server
#Variable settings begin
# 下面需要修改的地方
# 1、export projectName=center 服务名称,即war包名称
# 2、export httpPort=7001 启动接收请求端口端口
# 3、export serverPort=8001 ... | WZQ1397/automatic-repo | shell/tomcat/startcenter.sh | Shell | lgpl-3.0 | 2,226 |
#!/bin/bash
export LD_LIBRARY_PATH=/home/leooo/Workspace/hex/libboost_1_45_0/lib:$LD_LIBRARY_PATH
src/benzenetest/benzenetest
| l3o0o/benzene | test.sh | Shell | lgpl-3.0 | 127 |
#!/bin/bash
# Copyright (c) 2021 Damien Ciabrini
# This file is part of ngdevkit
set -ue
# Disable verbose to prevent leaking credentials
set +x
help() {
echo "Usage: $0 --slug=\"{~user}/{ppa}/+git/{package}\" --name=\"{launchpad-key-name}\"" >&2
exit ${1:-0}
}
error() {
echo "Error: $1" >&2
help ... | dciabrin/ngdevkit | .ci/trigger-launchpad-build.sh | Shell | lgpl-3.0 | 2,059 |
#
# .--------------. .----------------. .------------.
# | .------------. | .--------------. | .----------. |
# | | ____ ____ | | | ____ ____ | | | ______ | |
# | ||_ || _|| | ||_ \ / _|| | | ... | nliu96/openHMC_Altera | sim/tb/run/run_files/run.sh | Shell | lgpl-3.0 | 4,923 |
#!/bin/sh
# using average option, negative values from a pipe, with decimal part
cat > data << EOF
1
2
3
4
2
EOF
if test 2.000000 = "`numaverage -m data`" ; then
rm -f data
else
exit 1
fi
| serge-sans-paille/num-utils-ng | tests/testaverage12.sh | Shell | lgpl-3.0 | 190 |
PREFIX="/manylines"
function prefixPaths() {
sed -i '' "s@href=\"/\([^/]\)@href=\"$PREFIX/\1@g" $1;
sed -i '' "s@src=\"/\([^/]\)@src=\"$PREFIX/\1@g" $1;
sed -i '' "s@var PATH_PREFIX = '';@var PATH_PREFIX = '$PREFIX';@g" $1;
}
echo "Cleanup..."
rm -rf build
mkdir build
echo "Copying files..."
cp -r static/* bui... | medialab/manylines | build.sh | Shell | lgpl-3.0 | 839 |
gcc -O3 -c gpioFastLib2.c
gcc -O3 -o gpio_tst fastlib_tst.c gpioFastLib2.o
gcc -O3 -o ledpanel ledpanel_exe.c gpioFastLib2.o
| cledic/Acqua_SAMA5D3 | gpioFastLib/compila_gpio.sh | Shell | lgpl-3.0 | 125 |
#!/bin/bash
# Copyright 2016 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | Kaffa-MY/kubernetes | hack/jenkins/dockerized-e2e-runner.sh | Shell | apache-2.0 | 2,222 |
#!/bin/bash
# Copyright 2014 The Kubernetes Authors All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless require... | swarren83/kubernetes | cluster/aws/config-default.sh | Shell | apache-2.0 | 3,707 |
#!/usr/bin/env bash
# Copyright © 2014-2015 Cask Data, 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 applicabl... | chtyim/cdap | cdap-docs/developers-manual/build.sh | Shell | apache-2.0 | 4,870 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=Android-Windows
CND_CONF=Android-Debug
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=dll
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/l... | favedit/MoCross | Source/Cross/Engine/MoEngineFace/nbproject/Package-Android-Debug.bash | Shell | apache-2.0 | 1,494 |
#!/bin/bash -x
# 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
# "Lic... | failys/CAIRIS | cairis/bin/installUI.sh | Shell | apache-2.0 | 1,290 |
mkdir -p proofSheet
echo "<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www... | rwoodley/SphericalPhotoBrowser | makeProofSheet.sh | Shell | apache-2.0 | 2,483 |
#!/bin/sh
tg-georef.sh $TEXTGROUNDER_DATA/pcl_corpus/txt w pcl_corpus.kml
| tectronics/textgrounder | bin/georef-pcl.sh | Shell | apache-2.0 | 74 |
if [ ! -d "./build" ]; then
mkdir build
fi
cd build
rm -r *
cmake -DUSE_LLVM=/usr/local/opt/llvm/bin/llvm-config -DUSE_SORT=ON ..
make -j`sysctl -n hw.ncpu`
cd ..
| sxjscience/tvm | macos_cmake.sh | Shell | apache-2.0 | 168 |
echo $PWD
TASK_ROOT_DIR=$PWD
SCRIPT_DIR=$(dirname $0)
CF_API_ENDPOINT=${CF_API_ENDPOINT:-api.10.244.0.34.xip.io}
CF_USER=${CF_USER:-admin}
CF_PASSWD=${CF_PASSWD:-admin}
CF_ORG=${CF_ORG:-dev}
CF_SPACE=${CF_SPACE:-dev}
# Run as privileged
apt-get install -y wget unzip gzip
echo "Install CF binary"
cd /tmp
wget "htt... | jeaniejung/Wildcard_Plugin | ci/scripts/test/run.sh | Shell | apache-2.0 | 1,187 |
#!/bin/bash
#Note:you can add on this script and develop it
#But please dont remove my name from them
#The script write in bash language
a=$1
b=$2
c=$3
if [ $# -eq 0 ]
then
echo "./webscan.sh: Options Not Found Type ./webscan.sh -h to show Options"
elif [ $a == -h ]
then
echo "-------------------------------------... | ahmadnourallah/Webscan | webscan.sh | Shell | apache-2.0 | 443,139 |
#!/bin/bash
set -e
. /opt/kolla/kolla-common.sh
check_required_vars KEYSTONE_ADMIN_SERVICE_HOST \
KEYSTONE_ADMIN_SERVICE_PORT \
KEYSTONE_ADMIN_TOKEN \
KEYSTONE_PUBLIC_SERVICE_HOST
dump_vars
cat > /openrc <<EOF
export SERVICE_TOKEN="${KEYSTONE_ADMIN_TOKEN}"... | invenfantasy/kolla | docker/common/ceilometer/ceilometer-base/config-ceilometer.sh | Shell | apache-2.0 | 1,559 |
#!/bin/bash
echo "This is a job in a subdirectory"
echo "RES:done"
| rfgiusti/runexp | test4/runs/subdir/subjob.sh | Shell | apache-2.0 | 67 |
#!/bin/bash
cd /usr/share/openstack-puppet/
echo "Cleaning up before patching..."
rm -rf puppet-keystone.git
git clone https://github.com/stackforge/puppet-keystone.git puppet-keystone.git
cd puppet-keystone.git
echo "Applying support for keystone v3 api - v3 domain utility code"
# support for keystone v3 api - v3 dom... | imcsk8/gerrit-utils | keystone_v3_patches.sh | Shell | apache-2.0 | 2,904 |
#!/bin/sh
frfile=$1
shift
broken=
fakeroot true 2>/dev/null || broken=1
if [ -z "$broken" ] && [ -e "$frfile" ]; then
redo-ifchange "$frfile"
exec fakeroot -i "$frfile" "$@"
elif [ -z "$broken" ]; then
exec fakeroot "$@"
else
exec "$@"
fi
| apenwarr/redo | docs/cookbook/container/try_fakeroot.sh | Shell | apache-2.0 | 243 |
#!/bin/bash
# Copyright 2022 The Waymo Open Dataset 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... | waymo-research/waymo-open-dataset | waymo_open_dataset/latency/run_latency_evaluation.sh | Shell | apache-2.0 | 2,537 |
#!/bin/bash
#tmpname=`mktemp -d -t`
VERSION=x86_64-1.1.1
function main() {
if [ $# -eq 0 ]; then
echo "Usage: $0 <system channel name> [clean]"
echo "Use 'clean' to deleted the auxiliary images (bftsmart/fabric and bftsmart/fabric-common)"
exit 1
fi
cd ..
#if [ ! -f dist/BFT-Proxy.jar ]; then
ant
... | jcs47/hyperledger-bftsmart | docker_images/create-docker-images.sh | Shell | apache-2.0 | 63,298 |
#!/usr/bin/env bash
# Copyright 2020 The Knative 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 l... | knative-sandbox/kn-plugin-admin | hack/update-codegen.sh | Shell | apache-2.0 | 777 |
#! /usr/bin/env bash
# Copyright 2016 WePay, 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 agr... | skyzyx/kafka-connect-bigquery | test/docker/connect/connect-docker.sh | Shell | apache-2.0 | 848 |
#!/bin/sh
ADB_COMMAND_PATH="adb"
ADB_FOUND=`${ADB_COMMAND_PATH} devices | tail -2 | head -1 | cut -f 1 | sed 's/ *$//g'`
DEVICES_NOT_PRESENT="List of devices attached"
SDCARD_FOLDER="/sdcard"
PATH_TO_APK_FILE=$1
if [ -f $PATH_TO_APK_FILE ];
then
echo "File $PATH_TO_APK_FILE exists."
if [[ ${ADB_FOUND} != ${NOT_PRE... | zyrikby/ANDROID_TOOLS | run_pm_installer.sh | Shell | apache-2.0 | 947 |
#!/bin/bash
##
# Copyright IBM Corporation 2016,2018
#
# 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... | IBM-Swift/Package-Builder | linux/install_swift_from_url.sh | Shell | apache-2.0 | 1,551 |
#!/bin/bash
cd `dirname $0`
. _project.sh
export answer=y
export DBFLUTE_ENVIRONMENT_TYPE=diffready
. replace-schema.sh
. jdbc.sh
export DBFLUTE_ENVIRONMENT_TYPE=diffworld
. replace-schema.sh
. jdbc.sh
. doc.sh
# call by native not to stop by failure
sh $DBFLUTE_HOME/etc/cmd/_df-manage.sh $MY_PROPERTIES_PATH sc... | dbflute-test/dbflute-test-active-hanger | dbflute_maihamadb/diffworld-test.sh | Shell | apache-2.0 | 460 |
#!/bin/bash
# Copyright 2016 - 2022 Crunchy Data Solutions, 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 applicabl... | CrunchyData/crunchy-containers | examples/docker/pgbasebackup/full/run.sh | Shell | apache-2.0 | 1,219 |
#!/bin/bash
set -e
#########################################################################
#
# GUIDE TO USE OF THIS SCRIPT
#
#########################################################################
#
# - This script is used by npm run bundle in this probject and serves
# solely as an example
#
###################... | googlearchive/npm-publish-scripts | project/create-release-bundle.sh | Shell | apache-2.0 | 804 |
#!/bin/sh
exec scala "$0" "$@"
!#
object HelloWorld {
def main(args: Array[String]) {
println("Hello, " + args.toList)
}
}
HelloWorld.main(args) | tobyweston/learn-scala-java-devs | src/main/scala/s4j/scala/chapter02/hello.sh | Shell | apache-2.0 | 152 |
#!/bin/bash
set -x
set -e
if [ "$build_version" == "" ]; then
echo "Must set build_version environment variable"
exit 1
fi
if [ "$ANDROID_NDK_HOME" == "" ]; then
echo "Must set ANDROID_NDK_HOME environment variable"
exit 1
fi
rm -rf artifacts
mkdir artifacts
# compile braincloud
pushd ../solutions/android
... | getbraincloud/braincloud-cpp | autobuild/build_android.sh | Shell | apache-2.0 | 1,597 |
#!/bin/bash
# Copyright (C) 2016 Red Hat, 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 agr... | praveenkumar/minishift | centos_ci.sh | Shell | apache-2.0 | 14,722 |
test_container_devices_nic_bridged_filtering() {
ensure_import_testimage
ensure_has_localhost_remote "${LXD_ADDR}"
firewallDriver=$(lxc info | awk -F ":" '/firewall:/{gsub(/ /, "", $0); print $2}')
if [ "$firewallDriver" != "xtables" ] && [ "$firewallDriver" != "nftables" ]; then
echo "Unrecognised firewa... | atxwebs/lxd | test/suites/container_devices_nic_bridged_filtering.sh | Shell | apache-2.0 | 29,601 |
#!/bin/bash
#
# Run the full test suite.
#
# Copyright 2015 Andrew Dawson, Peter Dueben
#
# 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
#
#... | aopp-pred/rpe | test/runtests.sh | Shell | apache-2.0 | 2,297 |
#!/bin/bash
# sample script with virtualenv
# configure crontab to run this script
cd "$(dirname "$0")"
source $HOME/.virtualenvs/python2.7/bin/activate
python script.py
| z0lope0z/cheathub | run.sh | Shell | apache-2.0 | 170 |
#!/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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | googleapis/google-cloud-cpp | release/release.sh | Shell | apache-2.0 | 6,943 |
#!/bin/sh
# variables used for logging build steps, use build_step() and
# build_step_done() for setting or clearing them.
BUILD_STEP_FILE="$(mktemp)"
BUILD_STEP_PID=''
BUILD_STEP_DELAY='1m'
build_step_log() {
echo "$(date) -- ${*}"
}
# start a build step, and log every
build_step() {
echo "${*}" > "${BUILD_STEP_F... | ceph/ceph-csi | scripts/build_step.inc.sh | Shell | apache-2.0 | 812 |
#!/bin/bash
current_dir=$(dirname "$0")
exec "$SPLUNK_HOME/bin/splunk" cmd node "$current_dir/app/socketio_app.js" $@ | glennblock/splunk-add-on-for-socketio | bin/socketio.sh | Shell | apache-2.0 | 119 |
docker build -t="gustavonalle/jgroups-gossip" .
| gustavonalle/jgroups-gossip-docker | build.sh | Shell | apache-2.0 | 48 |
#!/bin/bash
# Copyright 2016 Port Direct
#
# 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... | portdirect/harbor | docker/openstack/openstack-neutron/common-assets/opt/harbor/neutron/config-quota.sh | Shell | apache-2.0 | 2,285 |
#!/bin/bash
#
# Copyright 2018, LambdaStack
#
# 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... | cepheus-io/cepheus | bootstrap/vagrant/vagrant_create.sh | Shell | apache-2.0 | 3,138 |
#!/bin/bash
rm -rf httpd-2.4.10 apr-1.5.0 apr-util-1.5.3
if [ ! -f httpd-2.4.10.tar.gz ];then
wget http://zy-res.oss-cn-hangzhou.aliyuncs.com/httpd/httpd-2.4.10.tar.gz
fi
tar zxvf httpd-2.4.10.tar.gz
if [ ! -f apr-1.5.0.tar.gz ];then
wget http://oss.aliyuncs.com/aliyunecs/onekey/apache/apr-1.5.0.tar.gz
fi
tar -zxv... | HollenMok/pandoraf_v1.0 | docs/linuxServer/linux_setup_1.4.3/sh-1.4.3/apache/install_httpd-2.4.10.sh | Shell | apache-2.0 | 3,893 |
#!/bin/sh
#
# used for CI services like Jenkins, Shippable, Travis-CI
#
# variables must be set by CI service
# setup local environment first https://github.com/yafraorg/yafra/wiki/Development-Environment
export BASENODE=/home/shippable/workspace/src/github.com/yafraorg/yapki
export WORKNODE=/work/yafra-runtime
export ... | yafraorg/yapki | build-shippable.sh | Shell | apache-2.0 | 795 |
#!/bin/bash
# Copyright 2019 - 2020 Crunchy Data Solutions, 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 applicabl... | the1forte/crunchy-containers | bin/common/uid_crunchyadm.sh | Shell | apache-2.0 | 1,211 |
#!/bin/bash
# ===============================================================================
# Copyright 2015 Geoscience Australia
#
# 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
#
# ht... | ama-jharrison/agdc | agdc/api-examples/source/main/python/workflow/wetness.pbs.submit.sh | Shell | apache-2.0 | 1,890 |
#!/bin/bash
echo "*** run mvn assembly:assembly -DdescriptorId=jar-with-dependencies"
echo "*** in raml-to-jaxrs/core first to make jar"
java -cp ..\..\core\target\raml-jaxrs-codegen-core-1.3.5-SNAPSHOT-jar-with-dependencies.jar org.raml.jaxrs.codegen.core.Launcher -basePackageName com.somecompany.sample -outputDirec... | OnPositive/aml | raml-to-jaxrs/examples/cli-example/run.sh | Shell | apache-2.0 | 356 |
#!/bin/bash
###
# #%L
# %%
# Copyright (C) 2017 BMW Car IT 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
#
# Unless required by... | bmwcarit/joynr | docker/joynr-cpp-base/scripts/build/cpp-run-joynr-system-integration-test.sh | Shell | apache-2.0 | 1,839 |
DIRNAME=$(basename $PWD)
FILE="FROM alpine:3.6
# MAINTAINER Skyboat.io <engineering@skyboat.io>
RUN apk add --no-cache su-exec && \
adduser -S skyboat
CMD [\"su-exec\", \"skyboat\", \"$DIRNAME\"]
EXPOSE 2390
COPY ./$DIRNAME /usr/bin/$DIRNAME
"
echo "$FILE" > Dockerfile | kayteh/saving-light | tools/templates/dockerfile.tmpl.bash | Shell | bsd-2-clause | 276 |
#
# Kubler phase 1 config, pick installed packages and/or customize the build
#
_packages="dev-db/redis"
#
# This hook is called just before starting the build of the root fs
#
configure_rootfs_build()
{
update_use 'dev-lang/lua' '-readline'
}
#
# This hook is called just before packaging the root fs tar ball, id... | berney/gentoo-bb | dock/kubler/images/redis/build.sh | Shell | bsd-2-clause | 511 |
#!/bin/bash
# Inspect SSL/TLS versions, cipher support and supported standards
ulimit -c unlimited
cd /root/sslprobe/ssl
TMPFILE=/tmp/sslprobe.$$
# Update list of open ports so we can filter out
# large hosting providers whose customers aren't
# running SSL/TLS anyway
echo "SSLPROBE: Starting prescan at $(date)"
/ro... | noahwilliamsson/protokollen | scanner2013/scripts/do-ssl-probes.sh | Shell | bsd-2-clause | 1,502 |
#!/bin/bash
ROOT=$(dirname $0)
# Get CTQG path
export CTQG_PATH=${ROOT}/ctqg/CTQG
if [ $(echo $PATH | grep ${CTQG_PATH} | wc -l) -eq 0 ]; then
export PATH=$PATH:$CTQG_PATH
fi
function show_help {
echo "Usage: $0 [-h] [-rqfRFcpd] [-L #] <filename>.scaffold"
echo " -r Generate resource estimate (default... | hoangt/ScaffCC | scaffold.sh | Shell | bsd-2-clause | 2,865 |
#!/bin/sh
script=calculate-support-from-counts.py
subdir=support-from-counts
total=0
passed=0
echo "testing ${script}"
# run the test for all files in the input dir of the subdirectory of interest...
for path in $(ls tests/${subdir}/input/*)
do
# set some variables to make the invocation easier to read
#
... | mtholder/swc-tree-support-ex | test_support_from_counts.sh | Shell | bsd-2-clause | 1,244 |
#!/bin/sh
#drush dis field_project_sidebar -y
#drush pm-uninstall field_project_sidebar -y
#drush en field_project_sidebar -y | ncareol/field_project_sidebar | reinstall_field_project_sidebar.sh | Shell | bsd-3-clause | 126 |
#!/bin/bash
echo `date` start
echo `date` `ps uxww | grep usbmodem246802461 | grep -v grep`
cd /Users/ben/depot/phonescreen
STR=`ps uxww | grep usbmodem246802461 | grep -v grep`
[ -z "$STR" ] && echo `date` Launching phonescreen
[ -z "$STR" ] && /usr/local/bin/python main.py . /dev/tty.usbmodem246802461 >main.out 2>&1... | benjaveri/phonescreen | v1/croncheck.sh | Shell | bsd-3-clause | 411 |
#!/bin/sh
rtmlaunch hrpsys_ros_bridge_jvrc midjaxon_jvrc.launch
| devrt/midjaxon-controller | launchrviz.sh | Shell | bsd-3-clause | 65 |
#!/bin/bash
export PATH=/usr/local/sratoolkit.2.3.5-2-centos_linux64/bin:$PATH
if [[ $# != 1 ]]; then
echo "usage $0 sra_accession"
else
if [[ ! -a ${1}.sra ]]; then
echo "$1 does not exist."
exit 1
fi
inputfile="$1"
outputfile="${1}.sam.bz2"
outputdir="/usr/local/galaxy-dist/Moa... | danshea/MoazedLab | Paper/Scripts/sra2sam.sh | Shell | bsd-3-clause | 430 |
#!/bin/bash
BASE_DIR=$(pwd)
SRC_DIR=$BASE_DIR/src
#MAKE_CLEAN=
MAKE_CLEAN="make clean"
#DIST_CLEAN=
DIST_CLEAN="make distclean"
. ./__common-func.sh
__init-env()
{
echo
}
__eudev()
{
__cd eudev.git
git pull
$DIST_CLEAN
./autogen.sh
__cfg --prefix=/usr \
--exec-prefix= \
--sysconfdir=/etc \... | takeutch-kemeco/private-build-script | eudev/all-build.sh | Shell | bsd-3-clause | 530 |
# SPDX-License-Identifier: BSD-3-Clause
source helpers.sh
goodfile=$(mktemp)
bigfile=$(mktemp)
{
dd if=/dev/urandom of="${bigfile}" bs=1 count=256
dd if=/dev/urandom of="${goodfile}" bs=1 count=42
} &>/dev/null
cleanup() {
if [ "$1" != "no-shut-down" ]; then
shut_down
rm -f "${bigfile}"
... | 01org/tpm2.0-tools | test/integration/tests/stirrandom.sh | Shell | bsd-3-clause | 997 |
#!/usr/bin/env bash
# Use this script to test if a given TCP host/port are available
cmdname=$(basename $0)
echoerr()
{
if [[ ${QUIET} -ne 1 ]]; then echo "$@" 1>&2; fi
}
usage()
{
cat << USAGE >&2
Usage:
${cmdname} host:port [-s] [-t timeout] [-- command args]
-h HOST | --host=HOST Host or I... | SKA-ScienceDataProcessor/integration-prototype | sip/tango_control/tango_database/resources/wait-for-it.sh | Shell | bsd-3-clause | 3,712 |
streammsechoserverperproc 3 2 epoll localhost:10000:tcp localhost:10001:tcp localhost:10002:tcp localhost:10003:tcp localhost:/tmp/10000:stream localhost:/tmp/10001:stream localhost:/tmp/10002:stream localhost:/tmp/10003:stream
| ombt/ombt | testsrc/servers/streammsechoserverperproc.sh | Shell | mit | 228 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.