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
# hello-world latest ef872312fe1b 3 months ago 910 B
# hello-world latest ef872312fe1bbc5e05aae626791a47ee9b032efa8f3bda39cc0be7b56bfe59b9 3 months ago 910 B
# debian latest ... | shakamunyi/docker | contrib/download-frozen-image.sh | Shell | apache-2.0 | 4,138 |
#!/bin/bash
su -s /bin/bash saxs -c "cd /usr/local/saxs/; ./saxsd.sh &"
| alpegon/ansible-role-saxs | files/run.sh | Shell | apache-2.0 | 73 |
#!/usr/bin/env bash
PROJECT_ID="${PROJECT_ID:-code-tv-service}"
gcloud docker -- push gcr.io/$PROJECT_ID/agent:latest
| code-tv/code-tv | agent/push-docker.sh | Shell | apache-2.0 | 120 |
#! /usr/bin/sudo /bin/bash
# ---
# RightScript Name: Storage Toolbox Stripe - chef
# Description: Creates volumes, attaches them to the server, and sets up a striped LVM
# Inputs:
# DEVICE_IOPS:
# Category: Storage
# Description: 'IO Operations Per Second to use for the device. Currently this value
# is... | rs-services/server-templates | chef-templates/storage-toolbox/Storage_Toolbox_Stripe-chef.sh | Shell | apache-2.0 | 4,844 |
#!/bin/bash
cd utils
go test -coverprofile=coverage.out
go tool cover -html=coverage.out
| menuka94/product-apim-tooling | import-export-cli/test_coverage.sh | Shell | apache-2.0 | 89 |
#!/bin/bash
# Copyright 2019 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 to... | googleapis/java-spanner-jdbc | .kokoro/continuous/propose_release.sh | Shell | apache-2.0 | 1,185 |
#!/usr/bin/env bash
## Update git submodules
echo ">> Updating all git submodules"
git submodule update --init --recursive
## Link all dotfiles from the current directory
echo ">> Creating all symlinks"
toDir=$(pwd)
fromDir=$HOME
for dir in $(ls -a1); do
# Skip "." and ".."
if [ "${dir}" == "." ] || [ "${di... | cylonbrain/dotfiles | install.sh | Shell | apache-2.0 | 2,363 |
#!/usr/bin/env bash
# If the release war path, console api path aren't exported env variables, set to args if they have been passed in.
[[ -z $RELEASE_WAR_PATH ]] && RELEASE_WAR_PATH=$1
[[ -z $GERRIT_TEST_LOCATION ]] && GERRIT_TEST_LOCATION=$2
[[ -z $CONSOLE_API_JAR_PATH ]] && CONSOLE_API_JAR_PATH=$3
[[ -z $GITMS_VERS... | WANdisco/gerrit | build-tools/run-integration-tests.sh | Shell | apache-2.0 | 3,592 |
#!/usr/bin/env bash
curl -s http://tgftp.nws.noaa.gov/data/{observations/metar,forecasts/taf}/stations/"${1:-ESSA}".TXT
| ramn/gists-public | src/weather.sh | Shell | apache-2.0 | 120 |
# Copyright 2021 Open Source Robotics Foundation, 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... | ros2/rosidl | rosidl_cli/completion/rosidl-argcomplete.bash | Shell | apache-2.0 | 821 |
#!/usr/bin/env bash
#
# Copyright (c) 2020 Project CHIP 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 appl... | project-chip/connectedhomeip | scripts/build/gn_gen.sh | Shell | apache-2.0 | 928 |
#!/bin/bash
#*******************************************************************************
# Copyright 2015 Hewlett Packard Enterprise Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a cop... | Verigreen/demo | gitlab/re_run_everything.sh | Shell | apache-2.0 | 860 |
#!/bin/bash
############################################################
# Run jcloud unit tests and live tests for HP public cloud
#
# Args 1 - jclouds project (e.g. apis/openstack-keystone)
# 2 - live test vendors (e.g. "hpcloud openstack")
#
# Prerequisites:
# - bash, JDK, and maven
# - Environment vars... | dockerian/devtest | aft/jclouds/jclouds-test.sh | Shell | apache-2.0 | 17,272 |
#!/bin/bash
# Copyright 2017 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | bazelbuild/rules_apple | test/ios_application_swift_resources_test.sh | Shell | apache-2.0 | 12,765 |
#!/bin/bash -eux
echo '==> Installing wkhtmltopdf'
cd /tmp
wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.2.1/wkhtmltox-0.12.2.1_linux-centos6-amd64.rpm
yum --enablerepo=remi -y install urw-fonts libXext openssl-devel
yum --nogpgcheck -y localinstall wkhtmltox*.rpm
| ammonkc/centos-vm | script/entropy/wkhtmltox-centos6.sh | Shell | apache-2.0 | 283 |
#!/bin/sh
./do-one-per-host.sh \
mhod-0.8-0.20-0.8-1.tar.gz '2013-02-13 19:58:33' '2013-02-14 19:58:33'
./do-one-per-host.sh \
mhod-0.8-0.20-0.8-2.tar.gz '2013-02-18 12:19:33' '2013-02-19 12:19:33'
./do-one-per-host.sh \
mhod-0.8-0.20-0.8-3.tar.gz '2013-02-20 10:37:44' '2013-02-21 10:37:44'
./do-one-pe... | beloglazov/ccpe-2014-experiments | results/do-all-per-host.sh | Shell | apache-2.0 | 1,419 |
echo I tried i
sudo apt-get install -y libgl1-mesa-dri:i386
sudo apt-get install -y ia32-libs-multiarch:i386
sudo apt-get install -y ia32-libs-multiarch:i386
sudo apt-get install -y libgl1-mesa-dri:i386
sudo apt-get install -y ia32-libs-multiarch:i386
sudo apt-get install -y --force-yes git-core gnupg flex bison gperf ... | bayvictor/distributed-polling-system | bin/aptget_all_i386.sh | Shell | apache-2.0 | 15,678 |
#!/bin/bash
# pr-ascii.sh: Prints a table of ASCII characters.
START=33 # Range of printable ASCII characters (decimal).
END=127 # Will not work for unprintable characters (> 127).
echo " Decimal Hex Character" # Header.
echo " ------- --- ---------"
for ((i=START; i<=END; i++))
do
echo $i | awk... | InfiniteRandomVariable/hello-world | selenium/tests/shellWrapperAroundAnAwkScript.sh | Shell | apache-2.0 | 861 |
#!/bin/bash
#
# Just a "Hello World" program.
#
# Author: Max Kellermann <mk@cm4all.com>
echo "Content-Type: text/plain; charset=UTF-8"
echo "Expires: Wed, 01 Jan 2020 00:00:00 GMT"
echo
echo "Hello, world!"
| CM4all/beng-proxy | demo/cgi-bin/hello.sh | Shell | bsd-2-clause | 209 |
#!/bin/bash
# Set up /usr/lib/ignition, copying contents from /usr/share/oem.
set -e
case "$1" in
normal)
src=/mnt/oem
mkdir -p "${src}"
mount /dev/disk/by-label/OEM "${src}"
# retry-umount may not be necessary, but be cautious
trap 'retry-umount "${src}"' EXIT
;;
pxe)
# OEM directory in t... | coreos/bootengine | dracut/30ignition/ignition-setup.sh | Shell | bsd-2-clause | 689 |
#!/bin/sh
sudo apt-get update -y
sudo apt-get install -y vim stow keychain zsh curl git htop
chsh -s /bin/zsh
| rafamoreira/dotfiles | bootstrap/ubuntu/1.defaults.sh | Shell | bsd-2-clause | 113 |
#!/bin/sh
# just a shortcut to avoid copying and pasting this stupid command over and over and over again
# this one should (ideally) generate cubes for any MOs scrape gives us
#TODO distiniguish between alpha/beta orbitals
## ATM, uses only orbital number, which (I think) cubegen assumes is alpha orbital if not speci... | sctincman/gauss-scripts | cubeMO.sh | Shell | bsd-2-clause | 1,736 |
#!/bin/sh
for i in `seq 400 420`; do
dig +short @114.114.114.114 a r$i-1.googlevideo.com
done | sort -u
| ensonmj/ghost | cmd/ghost/tools/fakeip.sh | Shell | bsd-3-clause | 109 |
#!/usr/bin/env bash
erl +P 2123123 -s -pa ./_build/default/lib/fl/ebin -s dining main 100000
| maruks/futurelearn-erlang | philosophers.sh | Shell | bsd-3-clause | 94 |
#!/bin/sh
#
# Run this before configure
#
# This file blatantly ripped off from subversion.
#
# Note: this dependency on Perl is fine: only developers use autogen.sh
# and we can state that dev people need Perl on their machine
#
rm -f autogen.err
automake --version | perl -ne 'if (/\(GNU automake\) (([0-9]+).... | gilesbowkett/linkparser | link-grammar-4.3.5/autogen.sh | Shell | bsd-3-clause | 2,036 |
#!/bin/bash
# Launch a Gunicorn server to serve vector tiles
# Remove old cached files; not necessary, may be harmful in production
rm -rf /tmp/stache
# Launch gunicorn
gunicorn --error-logfile=- -c gunicorn.cfg.py 'TileStache:WSGITileServer("tilestache.cfg")'
| NelsonMinar/vector-river-map | server/serve.sh | Shell | bsd-3-clause | 264 |
bin/gload dbpedia.db /home/data/DBpedia/database/dbpedia2014.nt > load.txt 2>&1
echo "load finished"
bin/gsub dbpedia.db ../dbpedia_small > sub.txt 2>&1
echo "subed"
bin/gquery dbpedia.db /home/data/DBpedia/query/q0.sql > q0.txt 2>&1
echo "q0.sql finished"
bin/gquery dbpedia.db /home/data/DBpedia/query/q1.sql > q1.tx... | Caesar11/gStore | scripts/run2.sh | Shell | bsd-3-clause | 800 |
#! /bin/sh
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
libtoolize --copy --force
autoreconf -v --install --force || exit 1
cd $ORIGDIR || exit $?
test -n "$NOCONFIGURE" && {
echo "skipping configure stage as requested."
echo "autogen.sh done."
exit 0
}
$srcdir/configure --enab... | omapzoom/platform-external-bltsville | autogen.sh | Shell | bsd-3-clause | 371 |
#!/bin/bash
set -e
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source $SCRIPT_DIR/../common.sh
if [[ $# != 1 && $# != 2 ]]; then
echo "usage run.sh run|check use-swat"
exit 1
fi
SWAT_OPTIONS="spark.executor.extraJavaOptions=-Dswat.print_kernel=true"
spark-submit --class SparkSimple \
... | agrippa/spark-swat | functional-tests/map-async-prim-input-prim-output/run.sh | Shell | bsd-3-clause | 551 |
#!/bin/bash
set -o pipefail
if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]
then
git config --global user.email "samccone@gmail.com" && \
git config --global user.name "auto deployer" && \
echo "Deploying!" && \
sed -i.tmp "s/\/\/ app.baseUrl = '\/poly-vote/app.baseUrl = '\/poly-vote... | MeTaNoV/poly-vote | travis-runner.sh | Shell | bsd-3-clause | 592 |
#!/bin/bash -e
cd "$(dirname $0)"
PATH=$HOME/go/bin:$PATH
unset GOPATH
export GO111MODULE=on
export GOARCH=${1}
function v
{
echo
echo $@
$@
}
if ! type -p goveralls; then
v go install github.com/mattn/goveralls
fi
if ! type -p shadow; then
v go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shad... | rickb777/date | build+test.sh | Shell | bsd-3-clause | 955 |
#!/bin/bash
# ex33.sh: Exercising getopts and OPTIND
# Script modified 10/09/03 at the suggestion of Bill Gradwohl.
# Here we observe how 'getopts' processes command-line arguments to script.
# The arguments are parsed as "options" (flags) and associated arguments.
# Try invoking this script with:
# 'scri... | yimng/LEARN | abs/15/getopts-read.sh | Shell | mit | 2,214 |
##
rm -rf queuing
rm -f queuing.js
rm -f queuing-offline.js
cat ../../src/sim.js | grep -v ARG_CHECK >> queuing.js
cat ../../src/request.js| grep -v ARG_CHECK >> queuing.js
cat ../../src/queues.js | grep -v ARG_CHECK >> queuing.js
cat ../../src/stats.js | grep -v ARG_CHECK >> queuing.js
cat ../../src/random.js | gr... | btelles/simjs-updated | queuing/release/makerelease.sh | Shell | mit | 3,049 |
#!/bin/bash
set -e
set -o pipefail
# This script is used for our continuous integration tests and installs from scratch on Ubuntu 14.04.
# You should not normally run this script.
# add repository for Mono:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831... | tnarik/malmo | .travis/ci_ubuntu14.04.sh | Shell | mit | 1,637 |
#! /bin/sh
libtoolize -f -c && aclocal -I ./acinclude.d && autoheader && automake -ac && autoconf && ./configure "$@"
| timfel/mod_auth_openid | autogen.sh | Shell | mit | 118 |
#!/bin/bash
# this is from Chanilly Robotics, github here: https://github.com/Chantilly612Code/
# This script downloads the latest (known) file of the WPI C++ plugin.
# The .jar file (really a .zip) contains a cpp.zip that has the
# include/ and lib/ folders necessary to build/link an executable FRC robot.
# The res... | team5149/2016 | .wpilib-download.sh | Shell | mit | 1,507 |
#!/usr/bin/env bash
# Copyright (c) 2014 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
# Test marking of spent outputs
# Create a transaction graph with four transactions,
# A/B/C/D
# C spends A
# D ... | jupitercoin/jupitercoin | qa/rpc-tests/conflictedbalance.sh | Shell | mit | 3,487 |
#!/bin/bash
# AUTO GENERATED: DO NOT EDIT!
set -uex
ACTIONS="$(dirname $0)/actions"
. "$ACTIONS/_environment.sh"
export NVCC="ccache nvcc"
"$ACTIONS/build.sh"
"$ACTIONS/unittest.sh" "not slow and not multi_gpu"
"$ACTIONS/cleanup.sh"
| cupy/cupy | .pfnci/linux/tests/cuda112.sh | Shell | mit | 238 |
#!/bin/bash
# This script activates our python3 virtual environment in a vagrant vm.
#
# Check to see if the PYTHOPATH is set (and if so, assume it's for 2.7),
# so get rid of that.
if [ $PYTHONPATH ]
then
unset PYTHONPATH;
fi
# Then just source the pyenv
source /webapps/tndata_backend/bin/activate && cd /web... | izzyalonso/tndata_backend | scripts/activate.sh | Shell | mit | 371 |
#!/bin/bash
# shellcheck disable=2164
function fixture_module_files() {
local git_username="Homeshick user"
local git_useremail="homeshick@example.com"
local module_files="$REPO_FIXTURES/module-files"
git init "$module_files"
cd "$module_files"
git config user.name "$git_username"
git config user.email "$git_us... | nngo/homeshick | test/fixtures/module-files.sh | Shell | mit | 915 |
if [ -n "$JAVA_HOME" ]
then
echo "JAVA_HOME set"
else
echo "JAVA_HOME not set"
exit
fi
if [ -n "$ANT_HOME" ]
then echo "ANT_HOME set"
else
echo "ANT_HOME not set"
exit
fi
if [ -n "$PHONEGAP_HOME" ]
then echo "PHONEGAP_HOME set"
else
echo "PHONEGAP_HOME not set"
exit
fi
if [ -n "$ANDROID_SDK_HOME" ... | donlee888/JsObjects | Utilities/CordovaTemplates/test.sh | Shell | mit | 1,232 |
#!/usr/bin/env bash
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
HELPERS_DIR="$CURRENT_DIR"
TMUX_COPY_MODE=""
REMOTE_SHELL_WAIT_TIME="0.4"
# shellcheck source=scripts/helpers.sh
source "${HELPERS_DIR}/helpers.sh"
# sets a TMUX_COPY_MODE that is used as a global variable
get_tmux_copy_mode() {
TMU... | agural/AG-setup | src/.tmux/plugins/tmux-yank/scripts/copy_line.sh | Shell | mit | 3,139 |
#!/bin/bash
provider=$1
cat << EOF > answers.conf
[general]
provider = $provider
[mariadb-atomicapp]
db_user = username
db_pass = password
db_name = dbname
EOF
ret=0
echo "Running projectatomic/mariadb-centos7-atomicapp"
atomic run projectatomic/mariadb-centos7-atomicapp
res=$?
if [ $res -gt $ret ]; then
ret=$... | projectatomic/adb-tests | deprecated/container-tools-gate-job/mariadb.sh | Shell | gpl-2.0 | 1,626 |
#! /bin/sh
#
#/*******************************************************************************
#* Script Name: copyfiles.sh
#* Date Created: 2008.11.24
#* Author: Stephen Cargile
#* Purpose: copy the test files to \\calweb\perf for archiving and furthter processing
#*
#* Input Parameters:
#* ... | YelaSeamless/infinidb | utils/scenarios/perf/source/pf/common/extractandcopylogdata.sh | Shell | gpl-2.0 | 1,668 |
cd /Users/binh/Documents/workspace/lena
sleep 10m
./waf --run "e2e-fading-ul-mobile --simTime=100 --dataRate=100000kb/s --isPedestrian=1 --isTcp=0 --s1uLinkDelay=0.001 --p2pLinkDelay=0.001 --traceFile=/Users/binh/Documents/shared/fading_trace_EPA_3kmph-100-1.fad --tag=100-1-ul-udp-600m --traceTime=100 --moving_speed=1... | binhqnguyen/lena-local | batch_run/2ue_rr/batch_run_600m.sh | Shell | gpl-2.0 | 2,643 |
# Update package files in LAMMPS
# cp package file to src if doesn't exist or is different
# do not copy gayberne files if non-GPU version does not exist
for file in *.cpp *.h; do
if (test $file = pair_gayberne_gpu.cpp -a ! -e ../pair_gayberne.cpp) then
continue
fi
if (test $file = pair_gayberne_gpu.h -a ! -... | tm1249wk/WASHLIGGGHTS-2.3.7 | src/GPU/Package.sh | Shell | gpl-2.0 | 1,366 |
java -classpath lib/*:src/java/ SpanishTagger $1
| alonsopg/AuthorProfiling | script/tag_train_spanish.sh | Shell | gpl-2.0 | 49 |
PACKAGE_NAME="libXau"
PACKAGE_VERNAME="libXau-1.0.6"
PACKAGE_ARCHIVE="${PACKAGE_VERNAME}.tar.gz"
PACKAGE_DIR="${PACKAGE_VERNAME}"
sgn_carefully sgn_untar_gz
sgn_carefully sgn_builddir sgn_byuser ./configure --prefix="$SGN_PREFIX"
sgn_carefully sgn_builddir sgn_byuser make $SGN_MAKEFLAGS
sgn_carefully sgn_make_instal... | erdizz/sovereign | depot/libXau/libXau-1.0.6.sh | Shell | gpl-2.0 | 362 |
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (c) 2021 Yang Xu <xuyang2018.jy@fujitsu.com>
# Copyright (c) 2021 Petr Vorel <pvorel@suse.cz>
tconf()
{
echo "TCONF: $1"
exit 32
}
echo "Testing .request_hugepages = TST_NO_HUGEPAGES"
orig_value=`cat /proc/sys/vm/nr_hugepages`
if grep -q -E '^proc ... | pevik/ltp | lib/newlib_tests/test_zero_hugepage.sh | Shell | gpl-2.0 | 735 |
#!/bin/bash
for f in /sys/bus/fcoe/devices/ctlr_* ; do
[ -e $f ] || continue
echo 0 > $f/enabled
done
| yuwata/dracut | modules.d/95fcoe/stop-fcoe.sh | Shell | gpl-2.0 | 111 |
#! /bin/bash
#
# TALPA test script
#
# Copyright (C) 2004-2011 Sophos Limited, Oxford, England.
#
# This program is free software; you can redistribute it and/or modify it under the terms of the
# GNU General Public License Version 2 as published by the Free Software Foundation.
#
# This program is distributed in the h... | paperclip/talpa | tests/chkinterceptorfilter14.sh | Shell | gpl-2.0 | 835 |
#!/bin/bash
# Download and install Zend Debugger (test)
wget http://downloads.zend.com/studio_debugger/2011_04_10/ZendDebugger-20110410-linux-glibc23-x86_64.tar.gz
tar -xzf ZendDebugger-20110410-linux-glibc23-x86_64.tar.gz
cp ZendDebugger-20110410-linux-glibc23-x86_64/5_3_x_comp/ZendDebugger.so /usr/lib/php5/20090626/... | AlexanderAllen/Liara-ZendDebugger | files/zend.sh | Shell | gpl-2.0 | 451 |
#!/bin/sh
# Testing all signatures and invocation
test_description='Asp signature database tests'
. ./test-lib.sh
# Test setup
# Nothing to setup
# Tests
test_expect_code 1 'ASP signature syntax test' '../graudit -d ../signatures/asp anotherfile'
test_expect_code 1 'ASP context argument' '../graudit -c 5 -d ../signa... | drptbl/graudit | t/t-asp.sh | Shell | gpl-3.0 | 529 |
#!/bin/bash
#PBS -l walltime=4:00:00
#PBS -l nodes=1:ppn=2
#PBS -l vmem=32G
#PBS -N Baltic_2_2_4_250_5_0_1_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/Baltic_2_2_4_250_5_0_1_no_no.json
| OR-Bologna/maritime-vrp | opt/launchers/Baltic_2_2_4_250_5_0_1_no_no.sh | Shell | gpl-3.0 | 304 |
#!/bin/bash
bindir=/home/sloot/usr/local/bin
if [ ! -d $bindir ]
then
bindir=/exp/sloot/usr/local/bin
if [ ! -d $bindir ]
then
echo "cannot find executables "
exit
fi
fi
outdir=TESTRESULTS
refdir=OUTreference
testdir=TESTDATA
datadir=TRI
echo start TICLL-ldcalc
$bindir/TICCL-LDcalc --inde... | proycon/ticcltools | tests/testngram.sh | Shell | gpl-3.0 | 1,366 |
#!/bin/bash
IPATH=/home/jtanner/.ansibullbot/cache/ansible/ansible/issues
for metaf in $(find $IPATH -type f -name "meta.json"); do
#echo $metaf
MC=$(jq '.merge_commits' $metaf)
if [[ $MC == "true" ]]; then
echo $metaf $MC
fi
done
| pilou-/ansibullbot | scripts/find_merge_commits.sh | Shell | gpl-3.0 | 257 |
#!/bin/sh
#
# srecord - Manipulate EPROM load files
# Copyright (C) 2008, 2011 Peter Miller
#
# 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 3 of th... | freyc/SRecord | test/01/t0158a.sh | Shell | gpl-3.0 | 1,473 |
#!/usr/bin/bash
list_file_tasks run_mesa.template -re '\Ac[0-9]+\Z' -o run_mesa.tasks
# Now do 'qsub seawulf.qsub'
| dwillcox/mesa2flash | run-scripts/run_mesa.sh | Shell | gpl-3.0 | 115 |
#!/bin/bash
set -e
pegasus_lite_version_major="4"
pegasus_lite_version_minor="7"
pegasus_lite_version_patch="0"
pegasus_lite_enforce_strict_wp_check="true"
pegasus_lite_version_allow_wp_auto_download="true"
. pegasus-lite-common.sh
pegasus_lite_init
# cleanup in case of failures
trap pegasus_lite_signal_int INT
trap... | elainenaomi/sciwonc-dataflow-examples | dissertation2017/Experiment 1A/logs/w-10_2/20161109T005044+0000/00/00/taskevent_8_ID0000014.sh | Shell | gpl-3.0 | 1,237 |
#!/bin/sh -e
#
# Copyright (C) 2010, 2012, 2014, 2016, 2017 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
SYSTEMTESTTOP=.... | each/bind9-collab | bin/tests/system/dns64/setup.sh | Shell | mpl-2.0 | 437 |
#!/bin/bash
# Shell script to run the command given as parameter
# If this script is called from a batch script, it is expected to have
# two unneeded parameters
if [ "$1" == "--from-batch" ]
then
shift # drop --from-batch
shift # drop mingw param
fi
# execute
$@
| CRDNicolasBourbaki/sfeMovie | RunShellCommand.sh | Shell | lgpl-2.1 | 272 |
#!/bin/bash
set -eu
export PETSC_DIR=$SRC_DIR
export PETSC_ARCH=arch-conda-c-opt
if [[ $mpi == "openmpi" ]]; then
export OMPI_MCA_plm=isolated
export OMPI_MCA_rmaps_base_oversubscribe=yes
export OMPI_MCA_btl_vader_single_copy_mechanism=none
elif [[ $mpi == "moose-mpich" ]]; then
export HYDRA_LAUNCHER=fork
fi
... | nuclear-wizard/moose | conda/petsc/build.sh | Shell | lgpl-2.1 | 3,796 |
#!/bin/sh
set -e
# (c) Copyright Fabrice Le Fessant INRIA/OCamlPro 2013
VERSION='1.0.0'
default_ocaml=4.00.1
usage() {
cat <<EOF
Usage:
./opam_install BINDIR [COMP]
Script to download and install binary versions of opam
BINDIR is the directory where you want to install OPAM
(BINDIR must be in y... | avsm/opam-ppa-OLD | shell/opam_installer.sh | Shell | lgpl-3.0 | 2,707 |
#!/bin/sh
#QSUB -queue i18cpu
#QSUB -node 8
#QSUB -mpi 24
#QSUB -omp 8
#QSUB -place pack
#QSUB -over false
#PBS -l walltime=00:30:00
#PBS -N mVMC
cd ${PBS_O_WORKDIR}
#. /etc/profile.d/modules.sh
#module list > a
#module list
source /home/issp/materiapps/mVMC/mVMCvars.sh
#[s]aft
#vmcdry.out ./StdFace_aft.def
perl ... | issp-center-dev/mVMC-tutorial | HandsOn/2017_0830/Samples/1D_Kondo/i.sh | Shell | apache-2.0 | 562 |
#
# 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 may not... | apache/continuum | init-git-svn.sh | Shell | apache-2.0 | 1,040 |
# Usage:
# 1) bash ./truncate_log.sh <accuracy_log_file>
#!/bin/bash
log=$1
samples=$2
head -n $((samples + 1)) ${log} > ${log}.new
sed -i '$ s/,$/]/g' ${log}.new
rm ${log}
mv ${log}.new ${log}
| mlperf/inference_results_v0.5 | open/Inspur/code/resnet/schedule/src/python/truncate_log.sh | Shell | apache-2.0 | 196 |
#!/bin/sh
# This script demonstrates how to use `docker buildx` to build container
# images for the linux/amd64 and linux/arm64 platforms. It creates a
# `docker buildx` builder instance when required.
#
# If you change the platforms, be sure to
#
# (1) delete the buildx builder named `skaffold-builder`, and
# (2) u... | GoogleContainerTools/skaffold | integration/examples/custom-buildx/buildx.sh | Shell | apache-2.0 | 1,017 |
#!/usr/bin/env bash
set -euo pipefail
REPO_PATH=$(git rev-parse --show-toplevel)
CHANNEL=${1:-}
VERSION=${2:-}
PROFILE=${3:-koding-klient}
BUCKET=${4:-koding-kd}
die() {
echo $* 1>&2
exit 1
}
if [[ -z "$CHANNEL" ]] || [[ -z "$VERSION" ]]; then
die "usage: deploy.sh CHANNEL VERSION [AWS PROFILE] [S3 BUCKET]"
fi
... | jack89129/koding | go/src/koding/klientctl/deploy.sh | Shell | apache-2.0 | 1,232 |
#!/bin/sh
# Change this to your JDK installation root
#
#JAVA_HOME=/usr/java/jdk1.6.0_18
JRE=$JAVA_HOME/jre
JAVA=$JRE/bin/java
workdir=`dirname $0`
workdir=`cd ${workdir} && pwd`
QUARTZ=${workdir}/../..
. ${QUARTZ}/examples/bin/buildcp.sh
LOGGING_PROPS="-Dlog4j.configuration=file:${workdir}/log4j.xml"
$JAVA -clas... | suthat/signal | vendor/quartz-2.2.0/examples/example2/example2.sh | Shell | apache-2.0 | 403 |
#!/bin/sh
#
# run a single pouchdb test, using pouchdb-server
# in the server running on port 6984
#
./node_modules/.bin/pouchdb-server -p 6984 $SERVER_ARGS &
POUCHDB_SERVER_PID=$!
cd node_modules/pouchdb/
npm install
COUCH_HOST=http://localhost:6984 npm test
EXIT_STATUS=$?
if [[ ! -z $POUCHDB_SERVER_PID ]]; th... | fritzy/pgdown | test-pouchdb.sh | Shell | mit | 371 |
#!/bin/bash
#
#$ cd /Users/$USER/Library/Mobile\ Documents/M6HJR9W95L\~com\~textasticapp\~textastic/Documents/icloud-personal/primary1q
#$ chmod +x abcdefghppp-script.sh
#$ ./abcdefghppp-script.sh
#
export PATH=/opt/local/bin:/opt/local/sbin:/Applications/MiniZincIDE-2.0.13.app/Contents/Resources:$PATH
cd /Users/... | phiSgr/ABCDEFGHPPP | Advance/minizinc-upto-w4-21/alternate script use /abcdefghppp-script.sh | Shell | mit | 1,462 |
#!/bin/bash -e
# Copyright 2016 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 appli... | Staffjoy/v2 | tools/go/format_build_vars.sh | Shell | mit | 1,099 |
#!/bin/bash
function init {
RELEASE_DIR=$HOME/ionic-release
../clone/clone.sh --repository="ionic" \
--directory="$RELEASE_DIR" \
--branch="master"
}
echo "##### "
echo "##### release/publish.sh"
echo "#####"
function run {
cd ../..
node_modules/.bin/gulp build --release --dist="$RELEASE_DIR/release... | janglednerves/ionic | scripts/release/publish.sh | Shell | mit | 1,248 |
# --------------------------------------------------------------------- #
# Aliases and Completions for .NET Core (https://dotnet.microsoft.com/) #
# Author: Shaun Tabone (https://github.com/xontab) #
# --------------------------------------------------------------------- #
# Helper function to ca... | mroth23/oh-my-zsh | plugins/dotnet/dotnet.plugin.zsh | Shell | mit | 4,906 |
#!/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 "Licens... | ervinyang/tutorial_zookeeper | zookeeper-trunk/bin/zkServer.sh | Shell | mit | 9,278 |
#!/bin/sh
BC2=/Users/mihais/corpora/bc2geneMention # change this to the location of the BioCreative 2 dataset!
TRAIN=$BC2/train/train.in
GENE=$BC2/train/GENE.eval
ALTGENE=$BC2/train/ALTGENE.eval
MODEL=banner_data/banner_model.dat
PROPORTION=0.01
CLASSPATH=target/scala-2.10/classes/:lib/dragontool.jar:lib/heptag.jar
... | clulab/banner | run.sh | Shell | epl-1.0 | 636 |
#! /bin/sh
# Copyright (C) 2002-2014 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program ... | kuym/openocd | tools/automake-1.15/t/comment7.sh | Shell | gpl-2.0 | 1,521 |
# Copyright (C) 2014 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
# This file is licensed under the GPLv2+. Please see COPYING for more information.
clip() {
local sleep_argv0="password store sleep on display $DISPLAY"
pkill -f "^$sleep_argv0" 2>/dev/null && sleep 0.5
local before="$(base64 < /dev/cli... | ehouse/password-store | src/platform/cygwin.sh | Shell | gpl-2.0 | 1,336 |
#!/bin/sh
cd ~
git clone --depth=1 -b maint/v0.24 https://github.com/libgit2/libgit2.git
cd libgit2/
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DBUILD_CLAR=OFF
cmake --build . --target install
ls -la ..
| Sheeo/pygit2 | .travis.sh | Shell | gpl-2.0 | 233 |
#!/bin/bash
LAST_TAG="v1.3.0"
#rm build -rf
cd src
# generate sphinx doc
MVN_OPTS="-Xmx1024m" mvn clean pre-site -DskipTests=true $1 $2
# generate war and demo zip
MVN_OPTS="-Xmx1024m" mvn clean install -Pjetty -Dall $1 $2
cd ..
#Then use this to generate a report
#./report.sh v1.3.0 HEAD "Nightly report" > build/... | geosolutions-it/geobatch | deploy.sh | Shell | gpl-3.0 | 754 |
#!/bin/bash -
#
# File: git-archive-all.sh
#
# Description: A utility script that builds an archive file(s) of all
# git repositories and submodules in the current path.
# Useful for creating a single tarfile of a git super-
# project that contains other submodules.
#
# Exa... | danlorts/hootenanny | scripts/git-archive-all.sh | Shell | gpl-3.0 | 7,188 |
#!/bin/sh
# Copyright 2010-2014 RethinkDB, all rights reserved.
DIR=`dirname $0`
SRC_DIR=`dirname "$DIR"`/src
IGNORE='/(cJSON\.(cc|hpp)|thread_stack_pcs\.cc|http_parser\.(cc|hpp)|rdb_protocol/geo/s2/.*|rdb_protocol/geo/karney/.*)$'
find "$SRC_DIR" -name \*.h -o -name \*.hpp -o -name \*.cc -o -name \*.tcc | grep -Ev $I... | gdi2290/rethinkdb | scripts/check_style.sh | Shell | agpl-3.0 | 706 |
#!/bin/bash
echo "gen_misc.sh version 20150511"
echo ""
echo "Please follow below steps(1-5) to generate specific bin(s):"
echo "STEP 1: choose boot version(0=boot_v1.1, 1=boot_v1.2+, 2=none)"
echo "enter(0/1/2, default 2):"
read input
if [ -z "$input" ]; then
boot=none
elif [ $input == 0 ]; then
boot=old
elif ... | johndoe8967/Sming | Sming/third-party/ESP8266_NONOS_SDK/examples/esp_mqtt_proj/gen_misc.sh | Shell | lgpl-3.0 | 3,798 |
#!/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");... | nkurihar/pulsar | pulsar-client-cpp/pulsar-test-service-start.sh | Shell | apache-2.0 | 4,252 |
#!/bin/sh
# Get the path of crawl anywhere root directory
export HOME="$( cd "$( dirname "$0" )/.." && pwd )"
export CLASSPATH=$CLASSPATH:$HOME/config
for i in $HOME/bin/*.jar;
do
export CLASSPATH=$CLASSPATH:$i
done
for i in $HOME/lib/*.jar;
do
export CLASSPATH=$CLASSPATH:$i
done
java fr.eolya.utils.ListSc... | smsahu/crawl-anywhere | scripts/linux/tools_list_script_engines.sh | Shell | apache-2.0 | 331 |
#!/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... | dims/minikube | hack/jenkins/linux_integration_tests_none.sh | Shell | apache-2.0 | 1,403 |
#!/bin/bash
# Copyright JS Foundation and other contributors, http://js.foundation
#
# 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
#
# Unle... | loki04/jerryscript | tools/gen-test-libm.sh | Shell | apache-2.0 | 751 |
#!/bin/bash
# Copyright 2015 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... | pwittrock/contrib | ansible/scripts/deploy-etcd.sh | Shell | apache-2.0 | 756 |
#!/bin/bash
# Copyright The containerd 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 ... | containerd/containerd | test/e2e_node/gci-init.sh | Shell | apache-2.0 | 2,767 |
#!/bin/bash
extract()
{
if [ -r $1 ]; then
# this can miss psuedo-valid files that have crap after the pattern
cat $1 | grep -v ^$ | grep -v ^# | tail -1
else
echo $1
fi
}
if [ ! $1 ]; then
echo Please specify a pattern or pattern file.
exit 1
fi
if [ $2 ]; then
times=$2
else
times=500
fi
if [ -x ./rand... | atmark-techno/atmark-dist | user/l7-protocols/testing/test_match.sh | Shell | gpl-2.0 | 965 |
#!/bin/bash
#
# Test for correct name resolution behavior
#
# $Id$
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 2005 Ulf Lamping
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published... | slowfranklin/wireshark | test/suite-nameres.sh | Shell | gpl-2.0 | 6,158 |
#!/bin/sh
if [ "$CLUSTER" == "yes" ] ; then
4s-cluster-start "$@" >/dev/null
else
$BACKPRECMD ../../src/backend/4s-backend "$@"
fi;
| msalvadores/4sr | tests/import/test-start.sh | Shell | gpl-3.0 | 137 |
#!/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
# "Lice... | laurentgo/arrow | python/examples/minimal_build/build_venv.sh | Shell | apache-2.0 | 2,607 |
#
#/**
# * 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
# * "Licen... | cloudera/recordservice | thirdparty/hbase-1.2.0-cdh5.9.0-SNAPSHOT/conf/hbase-env.sh | Shell | apache-2.0 | 7,468 |
#!/bin/bash
DIR=`dirname ${BASH_SOURCE[0]}`
FUEL='/usr/bin/fuel'
REL=`$FUEL rel | grep -i ubuntu | awk '{print $1}'`
FUEL_REL=`$FUEL rel | grep -i ubuntu | awk '{print $NF}'`
rm -rf /etc/puppet/$FUEL_REL/modules/osnailyfacter/modular/backup
$FUEL rel --sync-deployment-tasks --dir /etc/puppet/$FUEL_REL
| Mirantis/fuel-plugin-backup | uninstall.sh | Shell | apache-2.0 | 307 |
#!/bin/bash
scriptPath=$(cd $(dirname "$0") && pwd)
cd "$scriptPath"
docker-compose down
| minixxie/devops | tidb/down.sh | Shell | mit | 91 |
if [[ $# -lt 2 ]] ; then
printf "\e[31mUsage: package.sh <project folder> <package path> <examples package path>\e[39m\n"
exit 0
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
exportFolders="Assets/TouchScript/Devices Assets/TouchScript/Editor Assets/TouchScript/Plugins Assets/TouchScript/Prefabs A... | zhutaorun/TouchScript | Build/package.sh | Shell | mit | 652 |
#!/bin/bash
if [ ! -f "functions.sh" ]; then
echo "Error: Required file functions.sh not present" >&2
exit 1
else
. $(readlink -f functions.sh)
fi
askbackup
| D-e-e-m-o/rtl8188ce-linux-driver | backup_existing.sh | Shell | gpl-2.0 | 172 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_PLATFORM=GNU-Linux-x86
CND_CONF=Release
CND_DISTDIR=dist
CND_BUILDDIR=build
CND_DLIB_EXT=so
NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/fuzzlabsag... | droidsec-cn/FuzzLabs | agents/FuzzlabsAgentLinux/nbproject/Package-Release.bash | Shell | gpl-2.0 | 1,511 |
#!/bin/bash
. ../MasterTest.sh
CleanFiles min.in min.dat
TESTNAME='Minimum non-self imaged distance test'
Requires netcdf maxthreads 10
INPUT="-i min.in"
cat > min.in <<EOF
parm ../tz2.truncoct.parm7
trajin ../tz2.truncoct.nc
minimage m1 :1-13 :1-13 out min.dat
minimage m2 :1-13 :1-13 maskcenter out min.dat
EOF
Ru... | mojyt/cpptraj | test/Test_MinImage/RunTest.sh | Shell | gpl-3.0 | 394 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.