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 |
|---|---|---|---|---|---|
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one *
# or more contributor license agreements. See the NOTICE file *
# distributed with this work for additional information *
# regarding copyright ownership. The ASF licenses this file *
# to you under the Apache License... | akosel/incubator-airflow | scripts/ci/kubernetes/docker/airflow-test-env-init.sh | Shell | apache-2.0 | 1,357 |
#!/bin/sh
# Copyright 2020 Ville Koskela
#
# 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... | ArpNetworking/build-resources | src/main/resources/docker-entrypoint.sh | Shell | apache-2.0 | 5,603 |
# ----------------------------------------------------------------------------
#
# Package : snowdrop
# Version : v0.15.0
# Source repo : https://github.com/snowdrop/snowdrop-cloud-devex/releases
# Tested on : Red Hat Enterprise Linux release 8.0 via registry.access.redhat.com/ubi8/ubi:latest containe... | ppc64le/build-scripts | s/snowdrop/snowdrop_rhel_7.3.sh | Shell | apache-2.0 | 1,346 |
#!/bin/bash -e
# 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 applic... | benjyw/kythe | kythe/cxx/common/testdata/start_http_service.sh | Shell | apache-2.0 | 3,468 |
#!/bin/bash
# Copyright 2017 Amazon.com, Inc. or its affiliates. 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.
# A copy of the License is located at
#
# http://aws.amazon.com/apache2.0
#
# or in the "license" ... | jldodds/s2n | .travis/install_osx_dependencies.sh | Shell | apache-2.0 | 995 |
#!/bin/bash
#
# Copyright (c) 2015 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | trustedanalytics/platform-ansible | roles/h2o/files/h2o_launcher.sh | Shell | apache-2.0 | 936 |
for i in {0..4}
do
CUDA_VISIBLE_DEVICES=2 python3 main.py --exp_name summary_m2s_srconly_$i --data.src MNIST --data.tar SVHN --data.aug svhnspec --training_type srconly
done
| googleinterns/intern2020_cocal | uncertainty/run_m2s_srconly.sh | Shell | apache-2.0 | 178 |
#!/bin/sh
INSTALL_PREFIX=~/local
rm -fR $INSTALL_PREFIX/include/util
rm -fR $INSTALL_PREFIX/include/mpi2
cd build
cmake -DCMAKE_BUILD_TYPE=NativeRelease -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX ../
make install
cd ..
| uma-pi1/mpi2 | localinstall.sh | Shell | apache-2.0 | 217 |
#!/bin/bash
function ci_case_config_file() {
local -r TEST_CASE=config_file
echo " ---> Testing non-default values for configuration options"
POSTGRESQL_EFFECTIVE_CACHE_SIZE=200MB
POSTGRESQL_MAINTENANCE_WORK_MEM=60MB
POSTGRESQL_MAX_CONNECTIONS=20
POSTGRESQL_MAX_PREPARED_TRANSACTIONS=10
POS... | ravensys/container-postgresql | test/test_config_file.sh | Shell | apache-2.0 | 1,799 |
# references:
# https://www.wireshark.org/docs/dfref/t/tcp.html
# http://serverfault.com/questions/336588/how-to-calculate-packet-loss-from-a-binary-tcpdump-file
# http://www.tcpdump.org/manpages/pcap-filter.7.html
if [ "$#" -ne 2 ] || [ -z $1 ]; then
echo "Usage: cap_pktloss.sh <outfile.pcap> interval"
exit 0... | zarcen/incast_emulation | tools/cap_pktloss.sh | Shell | apache-2.0 | 800 |
#!/bin/bash
N=0
while [ $N -eq 0 ]; do
N=$(screen -ls | grep "No Sockets found in " | wc -l)
printf "."
sleep 5
done
printf "\n"
exit 0
| wingon-niu/OpenStackDeploy | DeployScripts/check-screen-ended.sh | Shell | apache-2.0 | 151 |
# Copyright © 2018 Feature.su. All rights reserved.
# Licensed under the Apache License, Version 2.0
# Warning: 44-install-firebird.sh install first
cd /tmp/php-7.1.*/ext/interbase
/usr/local/php71/bin/phpize
./configure --with-php-config=/usr/local/php71/bin/php-config
make
make install
echo 'extension=interbase.s... | faew/linux.feature | script/centos7/30.1-interbase-php-7.1.sh | Shell | apache-2.0 | 661 |
#!/bin/bash
#Author: Renan Silva (renanvice@gmail.com)
#License: Apache Version 2.0
### Colors
GREEN="\033[1;32m"
YELLOW="\033[1;33m"
BLUE="\033[1;34m"
RED="\033[1;31m"
END="\033[m"
###
WITHOUTPROBLEM="$GREN[+]$END"
INFORMATION="$BLUE[+]$END"
WARNING="$YELLOW[-]$END"
PROBLEM="$RED[-]$END"
# Check if java is alread... | renanvicente/Install_java_Linux | install.sh | Shell | apache-2.0 | 2,679 |
#!/bin/sh
# Run this script to set the versions in each platform to the values declared below
# Before packaging a new version for distribution:
# 1. Increment VERSION and VERSION_CODE
# 2. run this script: ./setVersion.sh
# Universal version - in Android, this is versionName
VERSION=1.0
# Only used in Android. App... | psydrake/kittehcoinBalance | setVersion.sh | Shell | apache-2.0 | 1,538 |
#!/bin/sh -Eux
cd /tmp
wget -nv -O kafka.tgz http://mirror.nohup.it/apache/kafka/0.8.2.1/kafka_2.10-0.8.2.1.tgz
tar -xvf kafka.tgz
mkdir -p /opt/apache
mv kafka_2.10-0.8.2.1 /opt/apache
cd /opt/apache
ln -s /opt/apache/kafka_2.10-0.8.2.1 kafka
mkdir /var/log/kafka
useradd kafka
chown kafka:kafka /var/log/kafka
chown... | crowdrec/idomaar | datastreammanager/vagrant/05.kafka.sh | Shell | apache-2.0 | 1,248 |
#!/bin/bash
#
# Copyright 2017-2019 Crown Copyright
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | gchq/gaffer-tools | deployment/aws/tests/integration-tests/deploy-gaffer-integration-tests-via-cloudformation.sh | Shell | apache-2.0 | 2,364 |
#!/bin/bash
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2022] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You ... | Ensembl/ensembl-hive | scripts/dev/travis_run_tests.sh | Shell | apache-2.0 | 1,742 |
#!/bin/bash
function install_server() {
wget -O aerospike-server.tgz http://aerospike.com/download/server/latest/artifact/tgz
if [ $? != 0 ]; then
return 1
fi
tar xvzf aerospike-server.tgz
cp -f .travis/aerospike.conf ./aerospike-server/share/etc
cd aerospike-server
return 0
}
func... | pushpesh4u/aerospike-client-php | .travis/start-aerospike.sh | Shell | apache-2.0 | 725 |
#!/bin/bash
###############################################
# Author: SG Langer Jan 2016
# Purpose: put all the Docker commands to build/run
# ddw-gway in one easy place
#
# Notes: If you are building from scratch, run this whole thing
# If pulling from Docker hub, just run the RUN and EXEC lines
####################... | sglanger/ddw-docker-gway | old/run_ddw_gw.sh | Shell | bsd-2-clause | 1,153 |
# Checks whether a simple, local GNAT processing pipeline is up and running
# properly.
# A "local" pipeline requires
# - a local database with gene information; the DB server can run on
# any machine that is visible from the machine where you run the client;
# specify DB URL and user/password in isgnproperties.xm... | miroculus/GNAT | scripts/testLocalPipeline.sh | Shell | bsd-2-clause | 596 |
#!/bin/bash
DBCONFIG=($(jq -r '.[]' config/import-db.json))
mysql --local-infile=1 -h ${DBCONFIG[2]} -P ${DBCONFIG[3]} -u ${DBCONFIG[0]} --password=${DBCONFIG[1]} -e "SET foreign_key_checks = 0;
DELETE FROM temp_rankings;
LOAD DATA LOCAL INFILE '$1'
REPLACE
INTO TABLE temp_rankings
FIELDS TERMINATED BY ',';
INSERT INTO... | emkael/pzbs-ranking | bin/rankings-csv-import.sh | Shell | bsd-2-clause | 629 |
#!/bin/bash -
#===============================================================================
#
# FILE: configure.sh
#
# USAGE: ./configure.sh
#
# DESCRIPTION:
#
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: YOUR NAME (),
# ORGANIZATION:... | aijunbai/quadrotor_openrave | conf/config.sh | Shell | bsd-2-clause | 674 |
#!/bin/sh
set -x
set -e
#prefix=rungdb
#prefix="valgrind --leak-check=yes"
#--max-stackframe=1169834492"
test_prog=$1
#test_prog=$BIN_ROOT_DIR/test/examplecoro
$prefix $test_prog tconfig.props &
srv_pid=$!
trap "kill $srv_pid" EXIT
sleep 10
curl -vv http://127.0.0.1:12321/headerservlet/
curl -vv http://127.0.0.1... | MoserMichael/cstuff | webby/webbyimpl/test/test-embed.sh | Shell | bsd-3-clause | 531 |
#!/bin/bash
myname=$0
cd ${myname%/*}
. ./revisionup_ebuild.sh
if [ -z ${BOARD} ]; then
echo "[ERROR] Please set BOARD".
exit 1
fi
# BOARDの設定内容を表示して確認を取る
echo Start to create libffmpeg package for BOARD : ${BOARD}
echo
read -p 'continue?' status
tarfile=libffmpeg-free_${BOARD}.tar.gz
if [ -d ../addpackages/tarb... | crosbuilder/CustomBuilds | script/create_ffmpeg_package.sh | Shell | bsd-3-clause | 3,054 |
#!/bin/sh
SCRIPT=$(readlink -f $0)
ROOT=`dirname $SCRIPT`
# read config vars
. $ROOT/config.system
. $ROOT/config.user
# Add mhonarc to path:
PERL5LIB=$MHONARC/lib:$PERL5LIB
export PERL5LIB
# Impl function: Run fetchmail w/ stdin config
go()
{
LABEL=$1
# Make sure HTML folder exists.
mkdir -p $HTMLPATH/... | danshoutis/mail-to-rss | fetch.sh | Shell | bsd-3-clause | 698 |
#!/bin/bash
# LabTrove REST API test client
# J.S.Robinson@soton.ac.uk
LABTROVE_URI="###################"
MASTER_UID="#####################"
USERNAME="#######################"
CURL_COMMAND="/usr/bin/curl"
CURL_OPTS="-v"
DATESTAMP=$(date -R)
XDEBUG_STRING=""
function usage()
{
echo -e "\nUsage:\tlabtrove-rest-... | cameronmclean/patterntrove | clients/rest/shell/labtrove-rest-client.sh | Shell | bsd-3-clause | 2,264 |
#!/bin/bash
#
# Copyright 2007 Google Inc. All Rights Reserved.
# Author: shess@google.com (Scott Hess)
mkdir bld
cd bld
../configure
FILES="keywordhash.h opcodes.c opcodes.h parse.c parse.h sqlite3.h"
OPTS=""
# These options should match those in ../../tools/config.mk.
OPTS="$OPTS -DSQLITE_OMIT_LOAD_EXTENSION=1"
make... | rwatson/chromium-capsicum | third_party/sqlite/google_generate_preprocessed.sh | Shell | bsd-3-clause | 567 |
#!/bin/sh
wget -q -O - "http://portal.eon.cz/hdo/www/homepage/result?platnost_id=32&code=A1B6DP6&locality=8" | awk -f parse.awk
| marmolak/eon-low-tariffs | get-low.sh | Shell | bsd-3-clause | 129 |
export PATH=$PATH:/usr/local/bin/
PYTHON=${PYTHON:-`which python`}
EASY_INSTALL=${EASY_INSTALL:-`which easy_install`}
PYLINT=${PYLINT:-`which pylint`}
export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/utils
export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/sasview-install
cd $WORKSPACE
# SET SASVIEW GITHASH
cd $WOR... | lewisodriscoll/sasview | build_tools/jenkins_linux_build.sh | Shell | bsd-3-clause | 1,371 |
#!/bin/sh
#
# Shell script to manage .po files.
#
# Run this file in the folder main __init__.py of product
#
# E.g. if your product is yourproduct.name
# you run this file in yourproduct.name/yourproduct/name
#
#
# Copyright 2009 Twinapex Research http://www.twinapex.com
#
# Assume the product name is the current fol... | espenmn/bda.plone.dibspayment | src/bda/plone/dibspayment/i18n.sh | Shell | bsd-3-clause | 2,216 |
#!/bin/bash
set +e # ignore error
set -f # no glob expansion
set +H # no history !
make clean
make jinleic
mkdir -p profile
fname="profile/convstatemap"
i=0
while [[ -e $fname-$i.txt ]] ; do
let i++
done
fname=$fname-$i.txt
# while read -r rule # -r very important for literal
# do
# echo "$rule"
./jinleic "$ru... | Jinglei-Cheng-THU/VASim | src/run.sh | Shell | bsd-3-clause | 418 |
#!/bin/sh
cd ..
export DYLD_LIBRARY_PATH=`pwd`/Libraries.bundle
export DYLD_FRAMEWORK_PATH="Frameworks"
# Get the user input:
read -p "Username: " ttiUsername
# Export the environment variables:
export ttiUsername=$ttiUsername
export ttiPassword="password"
export TTI_PLAYCOOKIE=$ttiUsername
export TTI_GAMESERVER="12... | ToontownUprising/src | darwin/start-game-localhost.sh | Shell | mit | 552 |
#!/usr/bin/env bash
docker run -d -v /data/couchbase:/opt/couchbase/var/lib/couchbase/data -p 8091:8091 -p 8092:8092 -p 11207:11207 -p 11209:11209 -p 11210:11210 -p 11211:11211 -p 11214:11214 -p 11215:11215 -p 18091:18091 -p 18092:18092 -p 4369:4369 --name couchbase korczis/couchbase
| oToUC/the-scratch | docks/couchbase/run.sh | Shell | mit | 286 |
source $setup
tar -xf $src
mv libX11-* libx11
mkdir build
cd build
PKG_CONFIG=pkg-config-cross \
../libx11/configure --prefix $out $configure_flags
make
make install
# Make static linking work.
sed -i 's/Requires.private/Requires/' $out/lib/pkgconfig/*.pc
ln -s x11-xcb.pc $out/lib/pkgconfig/X11-xcb.pc
ln -s x11.... | jfranklin9000/urbit | nix/nixcrpkgs/pkgs/libx11/builder.sh | Shell | mit | 513 |
#
# Color grep results
# Examples: http://rubyurl.com/ZXv
#
#export GREP_OPTIONS='--color=auto'
export GREP_COLOR='1;32'
| tsprlng/oh-my-zsh | lib/grep.zsh | Shell | mit | 121 |
#!/bin/bash
FN="SNPlocs.Hsapiens.dbSNP149.GRCh38_0.99.20.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/SNPlocs.Hsapiens.dbSNP149.GRCh38_0.99.20.tar.gz"
"https://bioarchive.galaxyproject.org/SNPlocs.Hsapiens.dbSNP149.GRCh38_0.99.20.tar.gz"
"https://depot.galaxyproject.org/softw... | roryk/recipes | recipes/bioconductor-snplocs.hsapiens.dbsnp149.grch38/post-link.sh | Shell | mit | 1,576 |
#!/bin/bash
# read parameters
username="$1"
domainControllerIp="$2"
oldPassword="$3"
newPassword="$4"
# execute smbpasswd to change domain password
(echo $oldPassword; echo $newPassword; echo $newPassword) | smbpasswd -s -U "$username" -r "$domainControllerIp"
| chrisipa/ad-password-handler-web | src/main/resources/change_password.sh | Shell | mit | 263 |
#!/bin/bash
# Copyright (C) 2008 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
#
# You should have received a copy of the GNU General Public Lice... | michael42/dmcrypt-static-android | test/shell/lvconvert-repair-transient.sh | Shell | gpl-2.0 | 799 |
#!/bin/bash
#
# Copyright (C) 2008-2009 SecurixLive <dev@securixlive.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. You may not use, modify or
# distribute this program unde... | cnbird1999/nsmnow | lib/lib-component-snort.sh | Shell | gpl-2.0 | 10,399 |
WEATHER CONDITIONS (must be personalised)
curl --silent "http://weather.yahooapis.com/forecastrss?p=CAXX0236&u=c" | grep -E '(Current Conditions:|C<BR)' | tail -n1 | sed -e 's///' -e 's/ C$/˚C/'
Refresh Rate: 600
Simply replace
CAXX0236&u=c
with your own city's address
***The final letter c in "CA... | JT5D/Alfred-Popclip-Sublime | Geeklets 2/geeklet shell commands.sh | Shell | gpl-2.0 | 1,814 |
#!/bin/bash
TEST_DESCRIPTION="root filesystem on NFS"
KVERSION=${KVERSION-$(uname -r)}
# Uncomment this to debug failures
#DEBUGFAIL="rd.shell"
#SERIAL="tcp:127.0.0.1:9999"
run_server() {
# Start server first
echo "NFS TEST SETUP: Starting DHCP/NFS server"
fsck -a $TESTDIR/server.ext3 || return 1
$t... | xlpang/dracut | test/TEST-20-NFS/test.sh | Shell | gpl-2.0 | 12,812 |
#! /bin/sh
. ../../testenv.sh
analyze adder.vhdl
elab_simulate csac
clean
echo "Test successful"
| tgingold/ghdl | testsuite/gna/issue123/testsuite.sh | Shell | gpl-2.0 | 101 |
#!/bin/bash
set -ex
archiv=$2
if [ "make" == "$1" ]; then
while (( "$(expr $# - 2)" ))
do
dateien="$3 ${dateien}"
shift
done
tar -cf ${archiv}.tar ${dateien}
pixz ${archiv}.tar ${archiv}.tar.pxz
# säuberung
rm ${archiv}.tar
elif [ "restore" == "$1" ]; then
pfad=$... | simono41/Simon-OS | compress.sh | Shell | gpl-3.0 | 773 |
#!/bin/bash
for i in {1..100}
do
split_train_test_data.py ./Resources/output.txt ./Resources/class_info.txt
./Learner SC_train.config
./folderClassify SC_train.config
mv results.csv ./Resources/Train/results_train$i.csv
./folderClassify SC_test.config
mv results.csv ./Resources/Test/results_te... | adore-hrzz/nao-sound-classification | scripts/generate_matrices.sh | Shell | gpl-3.0 | 334 |
#!/bin/bash
#PBS -l walltime=4:00:00
#PBS -l nodes=1:ppn=2
#PBS -l vmem=32G
#PBS -N WAF_4_1_1_250_0_no_no_no_no
cd /zhome/fc/e/102910/maritime-vrp/build
LD_LIBRARY_PATH=/zhome/fc/e/102910/gcc/lib64 ./maritime_vrp ../data/old_thesis_data/program_params.json ../data/new/WAF_4_1_1_250_0_no_no_no_no.json
| OR-Bologna/maritime-vrp | opt/launchers/WAF_4_1_1_250_0_no_no_no_no.sh | Shell | gpl-3.0 | 302 |
#!/bin/bash
# Script to prepare target for web deployment
# Web installation that must be run only once
# when deploying for the first time should be
# placed on this script.
set -e
prepare() {
if ! dpkg-query -Wf'${db:Status-abbrev}' nginx 2>/dev/null | grep -q '^i'; then
echo "Installing nginx."
sudo apt-get... | item4/cliche | deploy/scripts/prepare-web.sh | Shell | agpl-3.0 | 983 |
overlay aac_tactics https://github.com/ppedrot/aac-tactics split-tclfail-level 15327
overlay coqhammer https://github.com/ppedrot/coqhammer split-tclfail-level 15327
overlay elpi https://github.com/ppedrot/coq-elpi split-tclfail-level 15327
overlay equations https://github.com/ppedrot/Coq-Equations split-tclfail-lev... | coq/coq | dev/ci/user-overlays/15327-ppedrot-split-tclfail-level.sh | Shell | lgpl-2.1 | 661 |
#
## 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/testRunLocally5a/step0_1.sh | Shell | lgpl-3.0 | 3,570 |
#! /usr/bin/env sh
mkdir right
mkdir left
ffmpeg -loop 1 -i /path/to/watermark_720-right.png -t 30 -vcodec png -pix_fmt rgba -vf "pad=1280:720:ow-iw:0:color=#000000@0.0" ./right/right-wm1.mp4
ffmpeg -loop 1 -i /path/t0/watermark_720-left.png -t 30 -vcodec png -pix_fmt rgba -vf "pad=1280:720:0:0:color=#000000@0.0" ./l... | username4gh/my-i3 | bin/backup/dynamic_watermark.bash | Shell | unlicense | 939 |
#!/bin/bash
set -e
#set -x
#trap 'on_exit' EXIT
#
#on_exit()
#{
# if [ "$BAMBOO" == "1" ]
# then
# svn revert -R .
# fi
#}
grep "STS PARENT POM" pom.xml > /dev/null || (echo "Script must be run from top-level directory"; exit 1)
echo "Booting..."
ulimit -a
ARGS=""
if [ "$BAMBOO" == "1" ]
then
ARGS="-Dmaven.rep... | pecko/cft | common/build.sh | Shell | apache-2.0 | 1,564 |
#!/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 ... | knative-sandbox/eventing-kafka-broker | vendor/knative.dev/eventing-kafka/test/e2e-common.sh | Shell | apache-2.0 | 26,734 |
#!/usr/bin/env bash
set -e
cd "$(dirname "$BASH_SOURCE")/.."
rm -rf vendor/
source 'hack/.vendor-helpers.sh'
# the following lines are in sorted order, FYI
clone git github.com/Azure/go-ansiterm 70b2c90b260171e829f1ebd7c17f600c11858dbe
clone git github.com/Sirupsen/logrus v0.8.2 # logrus is a common dependency among ... | pugnascotia/docker | hack/vendor.sh | Shell | apache-2.0 | 3,138 |
#!/usr/bin/env bash
# Copyright 2017 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... | andrewsykim/kubernetes | cluster/gce/util.sh | Shell | apache-2.0 | 146,285 |
# Copyright 2017 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 or agreed to ... | gambol99/kops | hooks/nvidia-device-plugin/image/files/nvidia-device-plugin.sh | Shell | apache-2.0 | 1,686 |
#!/bin/bash
########################################
# VARS
# Directory this script resides in
pushd $(dirname "${0}") > /dev/null
DIR=$(pwd -L)
popd > /dev/null
# GProM binary
CONF_FILE=.gprom
GPROM=${DIR}/../../src/command_line/gprom
GPROM_CONF=${DIR}/../../${CONF_FILE}
########################################
# READ... | mikebrachmann/gprom | scripts/dev/callgrind_gprom.sh | Shell | apache-2.0 | 753 |
#!/bin/sh -e
#
# Copyright (C) 2010-2012, 2014 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFT... | execunix/vinos | external/bsd/bind/dist/bin/tests/system/nsupdate/ns3/sign.sh | Shell | apache-2.0 | 1,561 |
#!/bin/bash
DOCKER_BIN=$(dirname "$0")/docker
"$DOCKER_BIN" stats --no-stream=true $("$DOCKER_BIN" ps -q) \
| tail -n +2 \
| grep -Ev "\w+\s+0\.00%\s+0\sB/0\sB\s+0\.00%\s+0\sB/0\sB\s+0\sB/0\sB" \
| sed 's/\// /g' \
| sed -E 's/\s\s+/,/g'
| IntStop/Splunk_Docker | ta-dockerstats/bin/docker_stats.sh | Shell | apache-2.0 | 248 |
#!/bin/bash
#test /api/job/{id}/run
DIR=$(cd `dirname $0` && pwd)
source $DIR/include.sh
###
# setup: create a new job and acquire the ID
###
# job exec
args="echo hello there"
project=$2
if [ "" == "$2" ] ; then
project="test"
fi
#escape the string for xml
xmlargs=$($XMLSTARLET esc "$args")
xmlproj=$($XMLST... | tjordanchat/rundeck | test/api/test-job-run.sh | Shell | apache-2.0 | 3,855 |
#!/bin/bash
set -xe
# Install doc dependencies
cd $TRAVIS_BUILD_DIR
python3.6 -m pip install --user --upgrade -r doc/requirements.txt
DOXYGEN_VER=1.8.20
DOXYGEN_URL="https://linuxbrew.bintray.com/bottles/doxygen-${DOXYGEN_VER}.x86_64_linux.bottle.tar.gz"
wget -O - "${DOXYGEN_URL}" | tar xz -C /tmp doxygen/${DOXYGEN_... | chemfiles/chemfiles | scripts/ci/build-docs.sh | Shell | bsd-3-clause | 1,596 |
#!/bin/bash
#
# check_version.sh
#
# -- Verify whether an OpenCoarrays prerequisite meets the required minimum version number.
#
# OpenCoarrays is distributed under the OSI-approved BSD 3-clause License:
# Copyright (c) 2015-2016, Sourcery, Inc.
# Copyright (c) 2015-2016, Sourcery Institute
# All rights reserved.
#
# R... | zbeekman/opencoarrays | prerequisites/check_version.sh | Shell | bsd-3-clause | 5,401 |
#!/bin/sh
#
# Given a list of headers, combine them into one, excluding certain lines
#
OUTFILE="/dev/stdout"
COMBINEDHEADERS=""
EXCLUDES=""
while [ $# -gt 0 ]
do
case $1 in
-o) OUTFILE=$2; shift;;
-e) EXCLUDES="$EXCLUDES $2"; shift;;
*) COMBINEDHEADERS="$COMBINEDHEADERS $1";
esac
shift
do... | imx6uldev/depedency_tools | libical/libical-1.0/scripts/mkinclude.sh | Shell | mit | 957 |
#!/bin/bash
# This is the entry point for configuring the system.
#####################################################
source setup/functions.sh # load our functions
# Check system setup: Are we running as root on Ubuntu 14.04 on a
# machine with enough memory? If not, this shows an error and exits.
source setup/pre... | pierreozoux/mailinabox | setup/start.sh | Shell | cc0-1.0 | 4,792 |
#! /bin/bash
SETUP_DATA="setup.data"
. setup-functions.sh
echo "# this file was generated by calling $0 $@"
echo "# DO NOT EDIT"
echo
setup_seq_init
gen_hw_type_menu
| wwwutz/lirc-irtoy2-raspi | data2setup.sh | Shell | gpl-2.0 | 169 |
#!/bin/sh
# a u t o g e n . s h
#
# Copyright (c) 2005-2007 United States Government as represented by
# the U.S. Army Research Laboratory.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1.... | khonkhortisan/bzflag | autogen.sh | Shell | lgpl-2.1 | 45,153 |
#!/bin/bash
# Tests for empty parameter
if [ -z $1 ] ; then
echo "You must specify a top module testbench!";
exit 1;
fi
make && make fuse TOP_MODULE=$1 && ./isim_proj -view wave.wcfg -tclbatch isim_cmd -gui
| lerwys/bpm-sw-old-backup | hdl/testbench/wishbone/wb_fmc516_test/verilog/run.sh | Shell | lgpl-3.0 | 211 |
#!/bin/bash
CURDIR=$(pwd)
cd $CURDIR/../trezor-common/protob
for i in messages types ; do
protoc --python_out=$CURDIR/trezorlib/ -I/usr/include -I. $i.proto
done
| mazaclub/python-trezor | build_pb.sh | Shell | lgpl-3.0 | 168 |
#!/bin/bash
#
# UpdateMetaIOFromUpstream.sh
#
# See ITK/Modules/ThirdParty/VNL/src/README-ITK.txt
# for more commentary on how this update process works.
#
echo "-------------------------------------------------------"
echo This script will update source code for the MetaIO
echo library from github.com/Kitware/MetaIO
e... | hendradarwin/ITK | Modules/ThirdParty/MetaIO/src/UpdateMetaIOFromUpstream.sh | Shell | apache-2.0 | 3,328 |
# update tags
git fetch --tags
getLatestTags() {
release_5_branch_regex="^release-5\.[0-9].*$"
release_4_branch_regex="^release-4\.[0-9].*$"
TOTAL_TAGS=$(git for-each-ref --sort=creatordate refs/tags | awk -F '/' '{print $3}')
# we should filter such tags
# v5.0.2-20210628
# v5.0.2-alpha
# because these... | c4pt0r/tidb | br/compatibility/get_last_tags.sh | Shell | apache-2.0 | 1,050 |
#!/bin/bash
sed -i 's|CWD|'"${TROOT}"'|g' nginx.conf
sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' app.lua
fw_depends mysql lua luarocks openresty
luarocks install lua-resty-template
nginx -c $TROOT/nginx.conf -g "worker_processes '"${MAX_THREADS}"';" &
| sanjoydesk/FrameworkBenchmarks | frameworks/Lua/openresty/setup.sh | Shell | bsd-3-clause | 250 |
#!/bin/bash
FN="BSgenome.Cfamiliaris.UCSC.canFam3_1.4.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/BSgenome.Cfamiliaris.UCSC.canFam3_1.4.0.tar.gz"
"https://bioarchive.galaxyproject.org/BSgenome.Cfamiliaris.UCSC.canFam3_1.4.0.tar.gz"
"https://depot.galaxyproject.org/software... | blankenberg/bioconda-recipes | recipes/bioconductor-bsgenome.cfamiliaris.ucsc.canfam3/post-link.sh | Shell | mit | 1,573 |
#Aqueduct - Compliance Remediation Content
#Copyright (C) 2011,2012 Vincent C. Passaro (vincent.passaro@gmail.com)
#
#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 Licens... | quark-pat/CLIP | packages/aqueduct/aqueduct/compliance/Bash/PCI/rhel6/test/pci-dss-2-Disable_Bluetooth.sh | Shell | apache-2.0 | 1,951 |
#!/bin/bash
# Requires
# virtualbox.sh
# sudo.sh
# puppet.sh
date > /etc/vagrant_box_build_time
# Add the vagrant user
useradd -m -G wheel,vboxsf -r vagrant
passwd -d vagrant
passwd vagrant<<EOF
vagrant
vagrant
EOF
# Install the "insecure" public key
mkdir -m 700 /home/vagrant/.ssh
curl 'https://raw.github.c... | Gamevy/veewee | templates/archlinux-x86_64/vagrant.sh | Shell | mit | 498 |
#!/bin/bash
FN="pd.felgene.1.0.st_3.12.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.8/data/annotation/src/contrib/pd.felgene.1.0.st_3.12.0.tar.gz"
"https://bioarchive.galaxyproject.org/pd.felgene.1.0.st_3.12.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pd.felgene.1.0.st/bioconductor-p... | joachimwolff/bioconda-recipes | recipes/bioconductor-pd.felgene.1.0.st/post-link.sh | Shell | mit | 1,343 |
#!/bin/sh
test_description='CRLF merge conflict across text=auto change
* [master] remove .gitattributes
! [side] add line from b
--
+ [side] add line from b
* [master] remove .gitattributes
* [master^] add line from a
* [master~2] normalize file
*+ [side^] Initial
'
. ./test-lib.sh
test_have_prereq SED_STRIPS... | ReachingOut/git | t/t6038-merge-text-auto.sh | Shell | gpl-2.0 | 4,683 |
#! /bin/sh
# Copyright (C) 2012-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | DDTChen/CookieVLC | vlc/extras/tools/automake/t/vala-parallel.sh | Shell | gpl-2.0 | 1,900 |
#!/bin/sh
# Convert text files to compilable C arrays.
#
# Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
#
# This file is part of GDB.
#
# 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 Softwar... | legumbre/gdb-z80 | gdb/features/feature_to_c.sh | Shell | gpl-2.0 | 2,111 |
# vim:set et ts=4 sts=4:
# bash completion for ibus
#
# ibus - The Input Bus
#
# Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
# Copyright (c) 2007-2010 Red Hat, Inc.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License a... | j717273419/ibus | tools/ibus.bash | Shell | lgpl-2.1 | 3,409 |
#!/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 ... | euank/kubernetes | hack/verify-generated-docs.sh | Shell | apache-2.0 | 1,880 |
#!/bin/bash
ip xfrm state flush
ip xfrm policy flush
# From MoonGen (192.168.1.1) to Linux (192.168.1.2)
# Security Association
ip xfrm state add src 192.168.1.1 dst 192.168.1.2 proto esp spi 0xdeadbeef mode transport aead "rfc4106(gcm(aes))" 0x77777777deadbeef77777777DEADBEEFff0000ff 128
#echo "Security Associations:... | bmichalo/MoonGen | examples/ipsec/ipsec-linux.sh | Shell | mit | 529 |
#!/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... | andytaylor/activemq-artemis | scripts/merge-PR.sh | Shell | apache-2.0 | 2,083 |
cp $ONOS_ROOT/apps/demo/cord-gui/target/cord-gui-1.4.0-SNAPSHOT.war .
| zsh2938/onos | apps/demo/cord-gui/src/scripts/pullwar.sh | Shell | apache-2.0 | 70 |
# mirror library dir structure
Log "Mirroring lib/ structure."
for libdir in /lib* /usr/lib*; do
if [[ -L $libdir ]] ; then
libdir_basedir=$(dirname $libdir)
target=$(readlink -f $libdir)
if [[ ! -e $ROOTFS_DIR$target ]] ; then
mkdir $v -p $ROOTFS_DIR$target >&2
fi
... | phracek/rear | usr/share/rear/build/GNU/Linux/090_create_lib_directories_and_symlinks.sh | Shell | gpl-3.0 | 486 |
#!/bin/bash
gsutil -m cp -r dist/artifacts/* gs://releases.rancher.com/os/latest
| juliengk/os | scripts/copy-latest.sh | Shell | apache-2.0 | 81 |
#!/bin/bash
########################################################################
#
# Linux on Hyper-V and Azure Test Code, ver. 1.0.0
# Copyright (c) Microsoft Corporation
#
# All rights reserved.
# Licensed under the Apache License, Version 2.0 (the ""License"");
# you may not use this file except in compliance w... | ilenghel/lis-test | WS2012R2/lisa/tools/middleware_bench/tests/run_tensorflow_cpu.sh | Shell | apache-2.0 | 2,493 |
#!/usr/bin/env bash
#
# Copyright (c) 2017 Jeromy Johnson
# MIT Licensed; see the LICENSE file in this repository.
#
test_description="Test shutdown command"
. lib/test-lib.sh
test_init_ipfs
test_launch_ipfs_daemon
test_expect_success "shutdown succeeds" '
ipfs shutdown
'
test_expect_success "daemon no longer r... | disorganizer/brig | vendor/github.com/ipfs/go-ipfs/test/sharness/t0023-shutdown.sh | Shell | agpl-3.0 | 702 |
#!/bin/bash
# Installs fbthrift's dependencies to /usr/local on a clean Ubuntu 12.04 x64
# system. Primarily intended for Travis CI, since most engineers don't run
# distributions this stale.
#
# WARNING: Uses 'sudo' to upgrade your system with impunity:
# - Adds several PPAs for missing/outdated dependencies
# - I... | soumith/fbthrift | thrift/build/deps_ubuntu_12.04.sh | Shell | apache-2.0 | 1,653 |
#!/bin/sh
VERSION=`cat package.json | grep \"version\": | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+'`
perl -pi -e "s/apos.version = \"[0-9\.]+\"/apos.version = \"$VERSION\"/" public/js/content.js
| kwangkim/apostrophe | scripts/prepublish.sh | Shell | mit | 191 |
#!/bin/sh
#
# Copyright (c) 2019 Denton Liu
#
test_description='git rebase --fork-point test'
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
. ./test-lib.sh
# A---B---D---E (main)
# \
# C*---F---G (side)
#
# C was formerly part of main but main was rewound to rem... | Osse/git | t/t3431-rebase-fork-point.sh | Shell | gpl-2.0 | 2,934 |
#!/bin/bash
if [ $# -eq 0 ]; then
LANG=en_US
else
LANG=$1
fi
python ./closure-library/closure/bin/build/closurebuilder.py \
--root=./bitex \
--root=./closure-library/ \
--root=./closure-bootstrap/javascript/ \
--root=./scottlogic/ \
--root=./uniform/ \
--root=./libphonenumber/i18n/phonenumbers/ \
-... | chilebit/exchange | jsdev/generate_xtb.sh | Shell | gpl-3.0 | 636 |
#string wf
#string date
#list strings
echo "Workflow name: ${wf}"
echo "Created: ${date}"
echo "Result of step1.sh:"
for s in "${strings[@]}"
do
echo ${s}
done
echo "(FOR TESTING PURPOSES: your runid is ${runid})" | RoanKanninga/molgenis-compute | molgenis-compute-core/src/main/resources/workflows/myworkflow/protocols/step2.sh | Shell | lgpl-3.0 | 221 |
#!/bin/sh
#
# Copyright (c) 2007 Yann Dirson
#
test_description='Get a test environment for interactive experimentation.'
. ./test-lib.sh
bash
test_done
| vincele/stgit | t/interactive.sh | Shell | gpl-2.0 | 157 |
#!/bin/bash
# Copyright 2010 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 i... | Nemeziz/liquid-galaxy | earth/scripts/run-earth-bin.sh | Shell | apache-2.0 | 3,517 |
#!/usr/bin/env bash
# i=0;
# IFS=$'\n'
# for line in `env`; do
# VAR=`echo $line | sed 's/\([A-Za-z_1-9]*\)=.*$/\1/'`
# if [ "x$VAR" == "x_" ] || [ "x$VAR" == "xSHLVL" ]; then
# continue;
# fi
# ENV_VAR[$i]="$VAR";
# VAR_VAL[$i]=`echo $line | sed 's/\([A-Za-z_1-9... | isimluk/openscap | tests/probes/environmentvariable/test_probes_environmentvariable.xml.sh | Shell | lgpl-2.1 | 5,423 |
#!/bin/bash
fw_depends mysql
export UNDERTOW_ARGS="MYSQL"
source ./setup.sh
| saturday06/FrameworkBenchmarks | frameworks/Java/undertow/setup_mysql.sh | Shell | bsd-3-clause | 79 |
#!/bin/sh
cd `dirname $0`
/bin/sh sleep.sh
exit 0
| unirita/cuto | _release/linux/jobscript/testscript/108.sh | Shell | gpl-2.0 | 52 |
#!/bin/sh
IT=$2
DUP=$3
echo -n "param it $2:" > $1/native_result_${IT}_${DUP}
echo -n "param dup $3:" >> $1/native_result_${IT}_${DUP}
echo -n "env it ${variables_PA_TASK_ITERATION}:" >> $1/native_result_${IT}_${DUP}
echo -n "env dup ${variables_PA_TASK_REPLICATION}" >> $1/native_result_${IT}_${DUP}
exit 0
| marcocast/scheduling | scheduler/scheduler-server/src/test/resources/functionaltests/workflow/it.sh | Shell | agpl-3.0 | 311 |
#!/bin/bash
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
THIS_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
source "$THIS_DIR/setup.sh"
buck test //xplat/js/react-native-github/React... | exponent/exponent | android/versioned-react-native/ReactCommon/hermes/inspector/tools/sandcastle/build_and_test.sh | Shell | bsd-3-clause | 624 |
#! /bin/sh
# -*- encoding: utf-8 -*-
#
# Written by Alexis de Lattre <alexis.delattre@akretion.com>
# Example of wrapper for set_name_agi.py which makes sure that the
# script doesn't take too much time to execute
# Limiting the execution time of set_name_agi.py is important because
# the script is designed to be exe... | cgstudiomap/cgstudiomap | main/parts/connector-telephony/asterisk_click2dial/scripts/set_name_incoming_timeout.sh | Shell | agpl-3.0 | 1,570 |
#!/bin/sh
# Package
PACKAGE="nzbget"
DNAME="NZBGet"
# Others
INSTALL_DIR="/usr/local/${PACKAGE}"
PYTHON_DIR="/usr/local/python"
PATH="${INSTALL_DIR}/bin:${PYTHON_DIR}/bin:${PATH}"
USER="nzbget"
NZBGET="${INSTALL_DIR}/bin/nzbget"
CFG_FILE="${INSTALL_DIR}/var/nzbget.conf"
PID_FILE="${INSTALL_DIR}/var/nzbget.pid"
LOG_FI... | hadess/spksrc | spk/nzbget/src/dsm-control.sh | Shell | bsd-3-clause | 1,665 |
#!/bin/bash
for i in $(seq 1 $(nproc --all)); do
./server.out &
done
wait
| actframework/FrameworkBenchmarks | frameworks/Crystal/crystal/run.sh | Shell | bsd-3-clause | 78 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.