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
set -e
tag=$1
cicd=${tag:0:8}
release=${tag:8}
if [ "${cicd}" == "igluctl/" ]; then
if [ "${release}" == "" ]; then
echo "Warning! No release specified! Ignoring."
exit 2
fi
exit 0
else
exit 1
fi
| snowplow/iglu | .travis/is_igluctl_release_tag.sh | Shell | apache-2.0 | 228 |
#!/bin/sh
#
# Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
# dedicated to making software imaging solutions freely available.
#
# You may not use this file except in compliance with the License. You may
# obtain a copy of the License at
#
# http://www.imagemagick.org/script/license.php
... | mikesplain/imagemagick | tests/validate-pipe.sh | Shell | apache-2.0 | 1,154 |
#!/bin/sh
echo "Running machine is `hostname`"
ls -l
echo "Dumping now input files"
echo "**********************"
cat *.txt
| csuarez/jlite-cli-plus | test/collection/script_node2.sh | Shell | apache-2.0 | 125 |
#!/bin/bash
## \cond
#HEADSTART##############################################################
#
#PROJECT: UnifiedTraceAndLogManager
#AUTHOR: Arno-Can Uestuensoez - acue.opensource@gmail.com
#MAINTAINER: Arno-Can Uestuensoez - acue.opensource@gmail.com
#SHORT: utalm-bash
#LICENSE: Apache-2.0 + C... | ArnoCan/utalm | src/utalm-bash/tests/utalm-make/ALPHA/cli-unittests/utalm-cli-unitest-demo/BETA/provokeError/SubSums/CallCase.sh | Shell | apache-2.0 | 2,357 |
#!/bin/bash
#
# You can debug the app from Command Line rather than Xcode
# Download http://github.com/phonegap/ios-deploy, run make , copy ios-deploy to /usr/local/bin/
# After running make at the Qt, then run the ios-deploy with "-b" and "-d"
PROJECT_NAME=quickiosexample
make
RESULT=$?
if [ $RESULT -eq 0 ]; then
... | hilarycheng/quickios | tests/quickiosexample/build_ios.sh | Shell | apache-2.0 | 391 |
#!/bin/bash
##
## Work in progress! The dependency installations need to be done to the
## container so that we don't need to install them here.
##
TEST=${TEST:="BitbarSampleAppTest.py"} #Name of the test file
##### Cloud testrun dependencies start
echo "Extracting tests.zip..."
unzip tests.zip
pip --version
echo "... | piotr-kostecki-bitbar/testdroid-samples | self-play-tests/appium/python/run-tests_android.sh | Shell | apache-2.0 | 1,400 |
#!/bin/bash
#sudo apt-get install -y npm
#npm install elasticdump
#sudo ln -s /usr/bin/nodejs /usr/bin/node
elasticdump \
--input=kibana-export.json \
--output=$1 \
--type=data | ohsu-computational-biology/dms-es | elasticdump/restore.sh | Shell | apache-2.0 | 178 |
#!/usr/bin/env bash
set -eu
apt-get update
apt-get install python-dev python-pip
easy_install pip
pip install --upgrade --force pip
pip install python-barbicanclient
pip install python-keystoneclient
export PYTHONPATH=$PYTHONPATH:..
# don't forget to copy openrc to /opt
echo "source /etc/kolla/admin-openrc.sh" >> /roo... | ediardo/folsom | backend/prepare_environment.sh | Shell | apache-2.0 | 985 |
#!/bin/bash
ROUTE=${ROUTE:-localhost:8082}
curl ${ROUTE}/products -X POST -d '{"productId":"1","name":"Black Shirt"}' -H "Content-Type: application/json" -H "Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NDYwMjA3NjgsInVzZXJfbmFtZSI6ImlkdWdhbGljIiwiYXV0aG9yaXRpZXMiOlsiUk9MRV9BRE1JTiJdLCJqdGkiOiI3NDVjYjAyZi1mNTJ... | idugalic/micro-ecommerce | microservices-recommendations/scripts/loadProducts.sh | Shell | apache-2.0 | 4,599 |
docker service create --name rabbitmq -p 5672:5672 -p 15672:15672 -p 9090:9090 --network=custom_overlay cproinger/rabbitmq-management-monitoring | SINCConcept/sanalytics | sampleapps/service-rabbitmq-with-monitoring.sh | Shell | apache-2.0 | 144 |
#!/bin/sh
#
# Copyright (c) 2017 Cloudera, 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... | cloudera/director-scripts | azure-dns-scripts/bootstrap_dns_nm.sh | Shell | apache-2.0 | 2,458 |
#!/usr/bin/env sh
# test_net_seg.bin test_proto pre_train_model label.txt outputfolder [CPU/GPU]
ROOTFILE=/nfs/hn46/xiaolonw/pose_cnncode/caffe-3dnormal_joint_pose
GLOG_logtostderr=1 /nfs/hn46/xiaolonw/pose_cnncode/caffe... | xiaolonw/caffe-3dnormal_joint_pose | posescript/pose_flic_lecun_8x_col/test_pose.sh | Shell | bsd-2-clause | 676 |
#!/bin/sh
#
OURDIR="/path/to/exabgp-logger"
cd $OURDIR/bin
env exabgp.daemon.daemonize=true \
exabgp.daemon.pid=$OURDIR/exabgp/exabgp6.pid \
exabgp.daemon.user=theo \
exabgp.tcp.bind="" \
exabgp.tcp.port="179" \
exabgp.log.enable=true \
exabgp.log.all=false \
exabgp.log.destination=$OURDIR/exabgp/exabgp6.log \
... | tbaschak/exabgp-logger | exabgp/exabgp6.sh | Shell | bsd-2-clause | 422 |
#!/usr/bin/env bash
export DEBIAN_FRONTEND=noninteractive
MYSQL_ROOT_PASSWORD='whyattend'
apt-get update
debconf-set-selections <<< "mysql-server-5.7 mysql-server/root_password password $MYSQL_ROOT_PASSWORD"
debconf-set-selections <<< "mysql-server-5.7 mysql-server/root_password_again password $MYSQL_ROOT_PASSWORD"... | ceari/whyattend | vagrant/bootstrap.sh | Shell | bsd-2-clause | 586 |
attack_slope = 10000 # 10 slow, 1000 fast
decay_slope = 10000 # 10 slow, 1000 fast
sustain_vol = 100 # 0 silent, 100 full
sustain_time = 0 # in samples
release_slope = 40 # 10 slow, 1000 fast
# Main signal generator unit
osc1_type = square # triangle | saw | square | noise
osc1_freq = 500 ... | abainbridge/trex-warrior | assets/synth_sounds/bloop.sh | Shell | bsd-2-clause | 739 |
#!/bin/bash
source debian/vars.sh
# We only support the DPkg:: version of these hook points, if that ever changes
# this will need updated here and in apt-universal-hooks.pl
mkdir -p $DEB_INSTALL_ROOT/etc/apt/apt.conf.d
echo 'DPkg::Tools::Options::/etc/apt/universal-hooks/apt-universal-hooks.pl::Version "2";
DPkg::P... | CpanelInc/yum-plugin-universal-hooks | debify/debian/override_dh_auto_install.sh | Shell | bsd-2-clause | 709 |
#!/bin/bash
#
# Generates a basic system profile
#
# Stephen Lang
# Tue Mar 5 23:53:01 EST 2013
# Server Information
hostname=`hostname`
public_ip=`ifconfig eth0 |grep "inet addr:" | awk '{print $2}' | cut -d\: -f2`
private_ip=`ifconfig eth1 |grep "inet addr:" | awk '{print $2}' | cut -d\: -f2`
if [ -f /etc/redhat... | stephenlang/shelladmin | modules/system/system-profile.sh | Shell | bsd-2-clause | 4,605 |
if [ $1 = 0 ]; then
if [ -f /lib/systemd/system/circonus-agent.service ]; then
/bin/systemctl disable circonus-agent
/bin/systemctl stop circonus-agent >/dev/null 2>&1
elif [ -f /etc/init.d/circonus-agent ]; then
/sbin/chkconfig --del circonus-agent
/sbin/service circonus-agent s... | maier/circonus-agent | package/rpm/preremove.sh | Shell | bsd-3-clause | 357 |
#!/bin/bash
echo
echo
echo
echo HUSK: Det hjelper ikke å oppgradere noe uten TypeScript compile...
echo
echo
echo
pushd ../../..
svn update
popd
echo Deleting old files
rm -rf KNappen/assets/world/KNappen/*
echo Copying new files.
cp -a ../../KNappen_src/KNappen/KNappen.MobileSPA/* KNappen/assets/world/KNappen/
e... | knreise/KNappen | PhoneGap/ios/updateARWeb.sh | Shell | bsd-3-clause | 350 |
#!/usr/bin/env bash
TESTFILE1=$(mktemp -p .)
if [ -x "$(command -v python3)" ]; then
PYTHON=$(command -v python3)
else
PYTHON=$(command -v python)
fi
${PYTHON} << END
import random as rnd
import time as time
rnd.seed(time.time())
randnum = rnd.sample(range(1,101), 18)
f1 = open("${TESTFILE1}", "w+")
for m in ran... | hfp/libxsmm | samples/eltwise/kernel_test/unary_gelu_inv_mixed_gtld.sh | Shell | bsd-3-clause | 1,020 |
#!/bin/bash
### Use this script to do any pre-vendor-removal work, such as running specific tear-down procedures ###
### This script runs after DEPNotify is opened, but before prior management is removed ###
DEPNOTIFYLOG="/private/var/tmp/depnotify.log"
echo "Status: Running Pre-Migration script" >> $DEPNOTIFYLOG
ex... | vmwaresamples/AirWatch-samples | macOS-Samples/Tools/Migration-Tool/payload/Library/Application Support/VMware/MigratorResources/premigration.sh | Shell | bsd-3-clause | 325 |
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $DIR/util.sh
usage ()
{
cat << EOF
Usage:
$0 [OPTIONS]
WebRTC build script.
OPTIONS:
-h Show this message
-d Debug mode. Print all executed commands.
-o OUTD... | vsimon/webrtcbuilds | build.sh | Shell | bsd-3-clause | 5,182 |
#!/bin/sh
self=$0
usage() {
cat <<EOF >&2
Usage: $self [options] FILE
Reads the Run Time CPU Detections definitions from FILE and generates a
C header file on stdout.
Options:
--arch=ARCH Architecture to generate defs for (required)
--disable-EXT Disable support for EXT extensions
--require-EXT Require sup... | awatry/libvpx.opencl | build/make/rtcd.sh | Shell | bsd-3-clause | 6,660 |
#!/bin/bash
RETCODE=$(fw_exists /usr/local/openresty/nginx/sbin/nginx)
[ ! "$RETCODE" == 0 ] || { return 0; }
fw_depends nginx
fw_get http://openresty.org/download/ngx_openresty-1.5.8.1.tar.gz
fw_untar ngx_openresty-1.5.8.1.tar.gz
cd ngx_openresty-1.5.8.1
./configure --with-luajit --with-http_postgres_module
make
sud... | seem-sky/FrameworkBenchmarks | toolset/setup/linux/webservers/openresty.sh | Shell | bsd-3-clause | 334 |
#!/bin/sh
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved.
#
# This file contains confidential and proprietary information
# of Xilinx, Inc. and is protected under U.S. and
# international copyright and other intellectual property
# laws.
#
# DISCLAIMER
# This disclaimer is not a license and does not gra... | olgirard/openmsp430 | fpga/xilinx_avnet_lx9microbard/rtl/verilog/coregen/ram_16x8k_dp/simulation/timing/simulate_ncsim.sh | Shell | bsd-3-clause | 3,218 |
#!/bin/sh
# Package
PACKAGE="headphones-custom"
DNAME="Headphones Custom"
# Others
INSTALL_DIR="/usr/local/${PACKAGE}"
SSS="/var/packages/${PACKAGE}/scripts/start-stop-status"
PYTHON_DIR="/usr/local/python"
GIT_DIR="/usr/local/git"
PATH="${INSTALL_DIR}/bin:${INSTALL_DIR}/env/bin:${PYTHON_DIR}/bin:${GIT_DIR}/bin:${PAT... | hadess/spksrc | spk/headphones-custom/src/installer.sh | Shell | bsd-3-clause | 2,027 |
#!/bin/bash
die_if_error()
{
local err=$?
if [ "$err" != "0" ]; then
echo "$*"
exit $err
fi
}
createconfigdbfile()
{
echo ""; echo $(date "+%Y-%m-%d %T") "- Creating the database config file"
(cat <<EOF_DBAAS
# mongodb.conf 4.2
########################################
## Storage conf... | globocom/database-as-a-service | dbaas/physical/scripts/mongodb_42_configuration.sh | Shell | bsd-3-clause | 4,130 |
#!/bin/bash
set -e
set -v
##############################################################################################
# Add any additional firewall ports below this line in this format:
# sudo firewall-cmd --zone=public --add-port=####/tcp --permanent
# sudo firewall-cmd --zone=public --add-port=####/udp --permane... | jhajek/packer-vagrant-build-scripts | packer/scripts/proxmox/focal-database/post_install_prxmx_ubuntu_firewall-additions.sh | Shell | bsd-3-clause | 619 |
#!/bin/bash
# Copyright 2020 Google LLC.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following dis... | google/deepvariant | third_party/nucleus/pip_package/build_pip_package.sh | Shell | bsd-3-clause | 4,634 |
#!/bin/sh
# $Id$
if [ "$1" = "--force" ];
then
FORCE=--force
NOFORCE=
FORCE_MISSING=--force-missing
else
FORCE=
NOFORCE=--no-force
FORCE_MISSING=
fi
if which glibtoolize 2> /dev/null; then
glibtoolize --automake --copy $FORCE 2>&1 | sed '/^You should/d' || {
echo "libtoolize failed!"
exit... | lucastheis/cisa | code/liblbfgs/autogen.sh | Shell | mit | 706 |
#!/bin/bash
for i in $( ls ); do
find $i -name "*.java" -or -name "*.aj" | xargs more | grep -E includePhoto > $i.txt
done
| leotizzei/MobileMedia-Cosmos-v7 | src/br/unicamp/ic/sed/mobilemedia/script-video.sh | Shell | mit | 146 |
jest $(
[[ $JEST_NO_DEFAULT_OPTIONS == 'true' ]] && exit 0
[[ $JEST_NO_COVERAGE == 'true' ]] || echo --coverage
) $JEST_ARGV $@
| cuong8321/react-hello-world | sh/jest.sh | Shell | mit | 132 |
socat TCP4-LISTEN:3306,fork,reuseaddr TCP4:mysql:3306 &
sudo mkdir /var/run/mysqld
sudo chown travis /var/run/mysqld
socat UNIX-LISTEN:/var/run/mysqld/mysqld.sock,fork,reuseaddr TCP4:mysql:3306 &
mysql -uroot -e "GRANT ALL PRIVILEGES ON *.* TO travis@$(hostname --ip-address) IDENTIFIED BY ''" | Codegyre/RoboCI | recipes/mysql/link.sh | Shell | mit | 293 |
/*
* Copyright 2011-2014 Branimir Karadzic. All rights reserved.
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#include <bgfx_shader.sh>
#include "shaderlib.sh"
| tangrams/bgfxVectorTile | include/common/common.sh | Shell | mit | 181 |
#!/bin/bash
rm -rf node_modules/restful-redux/lib/*
cd ../..
npm run build
cp -rf lib examples/02-github-project-search/node_modules/restful-redux
| jhudson8/react-redux-model | examples/02-github-project-search/local-copy.sh | Shell | mit | 148 |
#!/bin/bash
# Start GPIO inputs
sudo /home/pi/installed/Adafruit-Retrogame/retrogame &
# Go to project
cd /home/pi/installed/determined-dill/;
# Check if internet is connected
wget -q --tries=10 --timeout=20 --spider http://google.com > /dev/null
if [[ $? -eq 0 ]]; then
git pull origin master;
npm install;
else
... | zzolo/determined-dill | raspberry-pi/startup.sh | Shell | mit | 935 |
set -e
if [ $TRAVIS_PULL_REQUEST == 'false' ]
then
echo "Build $TRAVIS_JOB_NUMBER"
echo "Git: $TRAVIS_COMMIT [$TRAVIS_BRANCH]"
echo "Root dir: $TRAVIS_BUILD_DIR"
cd $TRAVIS_BUILD_DIR
echo "Build promoted."
| ObeoNetwork/Capella-Extensions | travis-promote.sh | Shell | epl-1.0 | 206 |
#!/bin/bash
echo "[`date '+%Y/%m/%d %H:%M:%S'`] Wait for the completion of the job."
# echo "check reboot flag file: '$1' ..."
while [ -e "$1" ]; do
sleep 1
done
echo "[`date '+%Y/%m/%d %H:%M:%S'`] Start the reboot."
sync
sync
sync
/sbin/shutdown -r now
| mastering-jaz/jobarranger | jaconf/extendedjob/jareboot.sh | Shell | gpl-2.0 | 260 |
#!/bin/sh
# Copyright (C) 2013,2014,2015 Curt Brune <curt@cumulusnetworks.com>
# Copyright (C) 2014,2015,2016 david_yang <david_yang@accton.com>
# Copyright (C) 2014 Mandeep Sandhu <mandeep.sandhu@cyaninc.com>
#
# SPDX-License-Identifier: GPL-2.0
#
# Script to create an ONIE binary installer, suitable for dow... | shengzhou/onie | build-config/scripts/onie-mk-installer.sh | Shell | gpl-2.0 | 5,730 |
PACKAGE_NAME="gtkglext"
PACKAGE_VERNAME="gtkglext-1.2.0"
PACKAGE_ARCHIVE="${PACKAGE_VERNAME}.tar.bz2"
PACKAGE_DIR="${PACKAGE_VERNAME}"
sgn_carefully sgn_untar_bz2
sgn_carefully sgn_builddir sgn_byuser ./configure --prefix="$SGN_PREFIX"
sgn_carefully sgn_builddir sgn_byuser make $SGN_MAKEFLAGS
sgn_carefully sgn_build... | erdizz/sovereign | depot/gtkglext/gtkglext-1.2.0.sh | Shell | gpl-2.0 | 381 |
#!/bin/bash
set -e
set -o errexit
for i in *.minion; do
valgrind --error-exitcode=1 --leak-check=full $* -notimers $i -nodelimit 10
done | LeslieW/minion | test_instances/do_valgrind_tests.sh | Shell | gpl-2.0 | 139 |
#! /usr/bin/env bash
$EXTRACTRC *.ui >> rc.cpp
$XGETTEXT *.cpp -o $podir/plasma_applet_gasCalculator.pot
| Anumittal/Kalzium | plasmoid/applet/gasPlasmoid/Messages.sh | Shell | gpl-2.0 | 105 |
#!/bin/sh
VERSION_FILE=$1
if [ $# -ne 2 ]; then
echo "Usage: $0 <filename> <version>"
exit 1
fi
CURR_VERSION=$2
FILE_VERSION=
GIT_VERSION=
if test -f ${VERSION_FILE}; then
FILE_VERSION=$(cat ${VERSION_FILE} 2>/dev/null | cut -d'"' -f2)
fi
if test -d .git -a -n "`git --version 2>/dev/null`"; then
# ... | JIMyungSik/uftrace | misc/version.sh | Shell | gpl-2.0 | 879 |
#!/bin/sh
source /etc/profile
trap "" hup
clear
exec /usr/bin/gmenu2x.bin
| anarsoul/gmenu2x-zipit | data/platform/zipitz2/gmenu2x.sh | Shell | gpl-2.0 | 75 |
#!/bin/bash
#
# Run libardour test suite.
#
if [ ! -f './tempo.cc' ]; then
echo "This script must be run from within the libs/ardour directory";
exit 1;
fi
cd ../..
top=`pwd`
cd build
libs='libs'
export LD_LIBRARY_PATH=$libs/audiographer:$libs/vamp-sdk:$libs/surfaces:$libs/surfaces/control_protocol:$libs/ar... | cth103/ardour-cth103 | libs/ardour/run-tests.sh | Shell | gpl-2.0 | 1,162 |
#! /bin/sh -x
aclocal -I m4
autoheader
autoconf
libtoolize --automake
automake -a
| premutos/gteditor | autogen.sh | Shell | gpl-3.0 | 83 |
#!/bin/bash
cd `dirname $0`
z=$(basename $(pwd))
while true
do
z2="$z.glade"
if [ -f "$z2" ]
then
break
fi
z2="$z.ui"
if [ -f "$z2" ]
then
break
fi
z2="ui.glade"
if [ -f "$z2" ]
then
break
fi
exit
done
../../new_o/gtkmmsh $z2
| zzzzzzzzzzz0/zhscript | app/huitu/z.sh | Shell | gpl-3.0 | 245 |
#!/bin/sh
# Verify that an erroneous use of sed -i no longer leaves behind
# a temporary file.
# Copyright (C) 2015-2022 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 Foun... | agordon/sed | testsuite/temp-file-cleanup.sh | Shell | gpl-3.0 | 1,346 |
#!/bin/sh
################
# example that runs psisearch2_msa.pl iteratively through 5 iterations using psiblast instead of ssearch
# Equivalent to:
# psisearch2_msa.pl --pgm psiblast --query query.aa --num_iter 5 --db /slib2/bl_dbs/qfo78
#
PS_BIN=~/Devel/fa36_v3.8/psisearch2
q_file=$1
db=/slib2/bl_dbs/pir1
pssm_eva... | uwbmrb/BMRB-API | server/wsgi/bmrbapi/submodules/fasta36/psisearch2/psisearch2_msa_iter_bl.sh | Shell | gpl-3.0 | 1,220 |
#!/bin/sh
# Check that the two places with family enums are in good condition.
# The next-best thing to the compiler enforcing it.
fam=`cut -d, -f3 include/r600_pci_ids.h | cut -d\) -f1 | sed -e 's@^ *@@' -e '/^$/d' | uniq`
for i in $fam; do
grep -q $i family_str.c || echo $i missing from family_str.c
grep -q $i in... | clbr/radeontop | familycheck.sh | Shell | gpl-3.0 | 387 |
#! /bin/sh
# Copyright (C) 2011 Red Hat, Inc.
# This file is part of elfutils.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later ver... | groleo/elfutils | tests/run-prelink-addr-test.sh | Shell | gpl-3.0 | 8,895 |
#!/bin/bash
rev1=$1;
rev2=$2;
get_revision(){
if [ ! -d "bem-xjst-$1" ]; then
curl https://codeload.github.com/bem/bem-xjst/zip/$1 > $1.zip && unzip $1.zip && rm $1.zip
cd bem-xjst-$1 && npm i && npm run make && cd ../
fi
}
get_revision "$rev1"
get_revision "$rev2"
| awinogradov/bem-xjst | bench/prepare.sh | Shell | mpl-2.0 | 293 |
#!/bin/bash
cp -v ${GROUP}/060-duplicate.in . || exit 1
exit 0
| swift-lang/swift-k | tests/language-behaviour/IO/060-duplicate.setup.sh | Shell | apache-2.0 | 65 |
#!/bin/sh
set -e
mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=""
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --w... | GoldyMark/iOS-app-demo | appDemo/Pods/Target Support Files/Pods/Pods-resources.sh | Shell | apache-2.0 | 4,308 |
#!/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... | Acidburn0zzz/kythe | kythe/go/serving/tools/testdata/kwazthis_test.sh | Shell | apache-2.0 | 1,705 |
#!/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... | shakamunyi/kubernetes | examples/openshift-origin/resource-generator.sh | Shell | apache-2.0 | 6,045 |
#!/bin/bash
if [ ! -f "$1" ] || [ "" == "$2" ]; then
echo "Usage: $0 <cer file> <alias>"
exit 1
fi
mkdir -p target
keytool -importcert -noprompt -storepass jetty6 -file "${1}" -keystore target/jetty-ssl.keystore -alias "${2}"
| FITeagle/ft1 | delivery/interfaces/src/main/bin/ssl_add_user_cert.sh | Shell | apache-2.0 | 234 |
step="calico-service"
printf "Starting to run ${step}\n"
set -e
set +x
. /etc/sysconfig/heat-params
set -x
if [ "$NETWORK_DRIVER" = "calico" ]; then
_prefix=${CONTAINER_INFRA_PREFIX:-quay.io/calico/}
CALICO_DEPLOY=/srv/magnum/kubernetes/manifests/calico-deploy.yaml
[ -f ${CALICO_DEPLOY} ] || {
echo "... | ArchiFleKs/magnum | magnum/drivers/common/templates/kubernetes/fragments/calico-service.sh | Shell | apache-2.0 | 218,743 |
#!/bin/bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); y... | fredji97/samza | samza-tools/scripts/samza-sql-console.sh | Shell | apache-2.0 | 1,201 |
#!/bin/bash
# halt.command
# send halt to VM
~/bin/corectl halt k8solo-01
| TheNewNormal/kube-solo-osx | src/halt.command | Shell | apache-2.0 | 77 |
#!/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, Version 2.0 (the
# "Li... | merlimat/pulsar | pulsar-client-go/pulsar/pb/build.sh | Shell | apache-2.0 | 867 |
#
# Crochet defines a handful of standard shell functions
# to support end-user customization. These are never
# defined or overridden by board or option definitions.
#
#customize_boot_partition ( ) { }
#customize_freebsd_partition ( ) { }
#customize_post_unmount ( ) { }
# If any of the above are actually defined, a... | rm4rty/crochet-freebsd | lib/customize.sh | Shell | bsd-2-clause | 1,448 |
#!/bin/bash
echo backend : Agg > matplotlibrc
| leouieda/tesseroids-original | .travis.sh | Shell | bsd-3-clause | 46 |
BASEDIR=`dirname $0`
echo $BASEDIR
java -cp $BASEDIR/cobertura-2.1.1.jar:$BASEDIR/lib/asm-5.0.1.jar:$BASEDIR/lib/asm-analysis-5.0.1.jar:$BASEDIR/lib/asm-tree-5.0.1.jar:$BASEDIR/lib/asm-commons-5.0.1.jar:$BASEDIR/lib/asm-util-5.0.1.jar:$BASEDIR/lib/slf4j-api-1.7.5.jar:$BASEDIR/lib/logback-core-1.0.13.jar:$BASEDIR/lib/... | jminusminus/jmm | vendor/cobertura/cobertura-instrument.sh | Shell | bsd-3-clause | 430 |
#!/bin/sh
export TMPDIR='/tmp';
cd "$1";
shift;
eval "$@"
| jason-hwang/secc | tool/chdir.sh | Shell | mit | 58 |
#!/bin/sh
# 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 IP under test
... | anirbanroydas/ci-testing-python | scripts/wait-for-it.sh | Shell | mit | 2,793 |
#!/bin/bash
# Copyright 2017 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... | GoogleCloudPlatform/training-data-analyst | courses/developingapps/v1.3/python/kubernetesengine/bonus/prepare_environment.sh | Shell | apache-2.0 | 3,596 |
#!/bin/sh
#
# Copyright 2019 PingCAP, 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 t... | c4pt0r/tidb | br/tests/lightning_partitioned-table/run.sh | Shell | apache-2.0 | 1,140 |
if [ "x$PYTHON" = "x" ]; then
echo "Please define PYTHON as an environment variable pointing to the python-2.7 binary"
exit 1
fi
| JuliBakagianni/META-SHARE | misc/tools/multitest/_python.sh | Shell | bsd-3-clause | 136 |
#!/bin/bash
FN="mgu74b.db_3.2.3.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/annotation/src/contrib/mgu74b.db_3.2.3.tar.gz"
"https://bioarchive.galaxyproject.org/mgu74b.db_3.2.3.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-mgu74b.db/bioconductor-mgu74b.db_3.2.3_src_all.tar.gz"
"... | bebatut/bioconda-recipes | recipes/bioconductor-mgu74b.db/post-link.sh | Shell | mit | 1,405 |
#!/bin/bash
FN="rat2302cdf_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/rat2302cdf_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/rat2302cdf_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-rat2302cdf/bioconductor-rat2302cdf_2.18.0_src_all.ta... | Luobiny/bioconda-recipes | recipes/bioconductor-rat2302cdf/post-link.sh | Shell | mit | 1,417 |
#!/usr/bin/env bash
###########################################################################
# Packaging script which creates debian and RPM packages. It optionally
# tags the repo with the given version.
#
# Requirements: GOPATH must be set. 'fpm' must be on the path, and the AWS
# CLI tools must also be installed... | wodin/telegraf | package.sh | Shell | mit | 9,421 |
#! /bin/sh
# Copyright (C) 2010-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/libobj20b.sh | Shell | gpl-2.0 | 1,553 |
#!/bin/bash -eu
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
# ----------------------------------------------------------------
# Generate pkcs11 token for fabric tests
# ----------------------------------------------------------------
softhsm2-util --init-token --slot 0 --label... | stemlending/fabric | vagrant/user.sh | Shell | apache-2.0 | 643 |
#!/bin/sh
# This script is loosly based on a script with same purpose provided
# by RIOT-OS (https://github.com/RIOT-OS/RIOT)
OPENOCD_CMD="${OPENOCD:-openocd} -s ${OPENOCD_DEFAULT_PATH}"
OPENOCD_CONFIG=${ZEPHYR_BASE}/boards/${BOARD_NAME}/support/openocd.cfg
BIN_NAME=${O}/${KERNEL_BIN_NAME}
ELF_NAME=${O}/${KERNEL_ELF_... | coldnew/zephyr-project-fork | scripts/support/openocd.sh | Shell | apache-2.0 | 2,673 |
#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/STIG/rhel-5-beta/prod/GEN001800.sh | Shell | apache-2.0 | 2,694 |
#!/bin/bash
fw_depends mysql java maven
./mvnw clean package
nohup java -jar target/tech-empower-framework-benchmark-1.0-SNAPSHOT-netty-bundle.jar &
| saturday06/FrameworkBenchmarks | frameworks/Kotlin/ktor/setup-netty.sh | Shell | bsd-3-clause | 152 |
#!/usr/bin/env bash
if [[ ! -e $TMPDIR ]]; then
TMPDIR=/tmp
fi
PIDFILE=$TMPDIR/buttercoin.api-server.pid
if [[ "$1" == "stop" ]] || [[ -e $PIDFILE ]]; then
kill -s KILL `cat $PIDFILE`
rm $PIDFILE
fi
if [[ "$1" == "start" ]] || [[ -z "$1" ]]; then
if [[ -z "$BUTTERCOIN_CONFIG_FILE" ]]; then
i... | Sphere2013/Globe-Exchange-Buttercoin | api.sh | Shell | mit | 549 |
#! /bin/sh
# Copyright (C) 2011-2015 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 ... | darrengarvey/automake | t/testsuite-summary-reference-log.sh | Shell | gpl-2.0 | 1,784 |
#!/bin/sh
test_description='combined diff'
. ./test-lib.sh
. "$TEST_DIRECTORY"/diff-lib.sh
setup_helper () {
one=$1 branch=$2 side=$3 &&
git branch $side $branch &&
for l in $one two three fyra
do
echo $l
done >file &&
git add file &&
test_tick &&
git commit -m $branch &&
git checkout $side &&
for l in ... | brunosantiagovazquez/git | t/t4038-diff-combined.sh | Shell | gpl-2.0 | 11,957 |
#!/bin/bash
# check performance test mode
mode="$1"
echo "testing Random Forest Classification workflow"
# server IP source
. ../../server.conf
# Die on any error:
set -e
DIR="${BASH_SOURCE%/*}"; if [ ! -d "$DIR" ]; then DIR="$PWD"; fi; . "$DIR/../../base.sh"
echo "#create a dataset"
path=$(pwd)
curl -X POST -b c... | Amutheezan/product-das | modules/samples/ml/tuned/random-forest-classification/model-generation.sh | Shell | apache-2.0 | 5,058 |
#!/bin/bash
FN="ye6100subbcdf_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/annotation/src/contrib/ye6100subbcdf_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/ye6100subbcdf_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-ye6100subbcdf/bioconductor-ye6100subbcdf_2.... | cokelaer/bioconda-recipes | recipes/bioconductor-ye6100subbcdf/post-link.sh | Shell | mit | 1,317 |
_azk()
{
local cur
cur="${COMP_WORDS[COMP_CWORD]}"
if [ $COMP_CWORD -eq 1 ]; then
COMPREPLY=( $( compgen -W '-h --help -q --quiet -h --help --no-color -l= --log= -v --verbose --version -q --quiet -h --help --no-color -l= --log= -v --verbose info status scale logs deploy open doctor stop vm agent s... | gullitmiranda/azk | shared/completions/azk.sh | Shell | apache-2.0 | 12,308 |
#!/bin/bash
#
# Update Eclipse formatters/templates from central source. Makes certain assumptions
# about where things are, so this is not guaranteed to work for everyone. Only
# here for convenience of some maintainers.
#
GITROOT=git@github.com:adatao
SRC=projects/docs/code-convention
DST=BigR/eclipse
ROOT=../..
FI... | ddf-project/DDF | style/update.sh | Shell | apache-2.0 | 743 |
#!/bin/sh
entry_num=0
if [ "$1" != "" ]; then
entry_num=$1
fi
key_base64=$(uci get fwknopd.@access[$entry_num].KEY_BASE64)
key=$(uci get fwknopd.@access[$entry_num].KEY)
hmac_key_base64=$(uci get fwknopd.@access[$entry_num].HMAC_KEY_BASE64)
hmac_key=$(uci get fwknopd.@access[$entry_num].HMAC_KEY)
if [ $key_base64 != ... | aa65535/luci | applications/luci-app-fwknopd/root/usr/sbin/gen-qr.sh | Shell | apache-2.0 | 570 |
#!/bin/sh
TEST_PURPOSE=goal
TEST_TYPE=umlXhost
TESTNAME=co-terminal-01
XHOST_LIST="NIC RW GWD MRCHARLIE"
REF_CONSOLE_FIXUPS="kern-list-fixups.sed nocr.sed"
REF_CONSOLE_FIXUPS="$REF_CONSOLE_FIXUPS ipsec-look-sanitize.sed"
REF_CONSOLE_FIXUPS="$REF_CONSOLE_FIXUPS east-prompt-splitline.pl"
REF_CONSOLE_FIXUPS="$REF_CONSO... | mcr/bluerose | testing/pluto/co-terminal-01/testparams.sh | Shell | gpl-2.0 | 1,183 |
source $srcdir/sndrcv_drvr_noexit.sh $1 $2
| rangochan/rsyslog | tests/sndrcv_drvr.sh | Shell | gpl-3.0 | 43 |
#!/bin/sh
set -eu -o pipefail
VERSION="0.1.13"
PSLIVAR_SHA256SUM="00ae0b0ca141af57aea7900183ef9ff0d2b8e1147a9d5ec6e0f8a4147ab40ce8"
mkdir -p $PREFIX/bin
chmod a+x slivar
cp slivar $PREFIX/bin/slivar
curl -L -s -o pslivar https://github.com/brentp/slivar/releases/download/v${VERSION}/pslivar
sha256sum pslivar | grep ... | cokelaer/bioconda-recipes | recipes/slivar/build.sh | Shell | mit | 390 |
#!/bin/bash
mkdir -p "$PREFIX/bin"
export MACHTYPE=x86_64
export BINDIR=$(pwd)/bin
mkdir -p "$BINDIR"
(cd kent/src/lib && make)
(cd kent/src/htslib && make)
(cd kent/src/jkOwnLib && make)
(cd kent/src/hg/lib && make)
(cd kent/src/utils/bigWigCorrelate && make)
cp bin/bigWigCorrelate "$PREFIX/bin"
chmod +x "$PREFIX/bin/... | joachimwolff/bioconda-recipes | recipes/ucsc-bigwigcorrelate/build.sh | Shell | mit | 337 |
#!/bin/bash
# Copyright 2015, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditio... | arkmaxim/grpc | tools/run_tests/post_tests_csharp.sh | Shell | bsd-3-clause | 2,030 |
#!/bin/bash
####################################################
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE ... | rjtsdl/acs-engine | test/bootstrap/checkout-pr.sh | Shell | mit | 1,097 |
#!/usr/bin/env bash
set -e
# This script builds various binary artifacts from a checkout of the docker
# source code.
#
# Requirements:
# - The current directory should be a checkout of the docker source code
# (https://github.com/docker/docker). Whatever version is checked out
# will be built.
# - The VERSION fil... | rhuss/gofabric8 | vendor/github.com/docker/docker/hack/make.sh | Shell | apache-2.0 | 9,472 |
#!/usr/bin/env bash
source $(dirname $0)/reader.sh
source $(dirname $0)/printer.sh
source $(dirname $0)/env.sh
source $(dirname $0)/core.sh
# read
READ () {
[ "${1}" ] && r="${1}" || READLINE
READ_STR "${r}"
}
# eval
IS_PAIR () {
if _sequential? "${1}"; then
_count "${1}"
[[ "${r}" > 0 ]]... | czchen/mal | bash/step7_quote.sh | Shell | mpl-2.0 | 6,032 |
#!/bin/sh
test_description='basic work tree status reporting'
. ./test-lib.sh
test_expect_success setup '
git config --global advice.statusuoption false &&
test_commit A &&
test_commit B oneside added &&
git checkout A^0 &&
test_commit C oneside created
'
test_expect_success 'A/A conflict' '
git checkout B^0 ... | xantage/git | t/t7060-wtstatus.sh | Shell | gpl-2.0 | 5,178 |
#!/bin/sh
#
# Copyright (C) 2016 OpenWrt.org
#
mediatek_board_detect() {
local machine
local name
machine=$(cat /proc/device-tree/model)
case "$machine" in
"MediaTek MT7623 evaluation board")
name="mt7623_evb"
;;
"MediaTek MT7623 eMMC evaluation board")
name="eMMC"
;;
"MediaTek MT7623 NAND evaluation ... | ZSL2000/openwrt | target/linux/mediatek/base-files/lib/mediatek.sh | Shell | gpl-2.0 | 682 |
#!/usr/bin/env 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 required by applicable law or agreed to in writing, software
# dist... | simongdavies/azure-quickstart-templates | cloudera-director-on-centos/scripts/update-vm-dns.sh | Shell | mit | 1,672 |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This pro... | xbmc/atv2 | xbmc/cores/paplayer/SIDCodec/libsidplay/unix/ltmain.sh | Shell | gpl-2.0 | 183,740 |
#!/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... | liangxia/origin | vendor/k8s.io/kubernetes/staging/src/k8s.io/sample-apiserver/hack/build-image.sh | Shell | apache-2.0 | 1,147 |
#!/bin/bash
# Configuration script for data population
# The server to login to when provisioning users
export OPENSHIFT_SERVER="${OPENSHIFT_SERVER:-https://10.0.2.15:8443}"
# The admin user to populate
export OPENSHIFT_ADMIN_CONFIG="${OPENSHIFT_ADMIN_CONFIG:-./openshift.local.config/master/admin.kubeconfig}"
# The... | cdrage/kedge | vendor/github.com/openshift/origin/examples/data-population/common.sh | Shell | apache-2.0 | 898 |
#!/bin/sh
/usr/lib/rpm/perl.req $* | grep -E -v '(Net::LDAP|Crypt::SmbHash|CGI|Unicode::MapUTF8)'
| scs/uclinux | user/samba/samba-3.0.25a/packaging/RHEL/setup/filter-requires-samba.sh | Shell | gpl-2.0 | 100 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.