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 -x
if [[ $TRAVIS_OS_NAME == "windows" ]]; then
choco install make --version 3.81.4
fi
| pweil-/origin | vendor/github.com/fsouza/go-dockerclient/travis-scripts/win-setup.bash | Shell | apache-2.0 | 100 |
curl -X POST -i -H "Content-Type:application/json;charset=UTF-8" -H "application/json;charset=UTF-8" http://localhost:8080//dashboardController/ -d '{"id":91,"uri":"http://looneytunes.net/hunting","name":null,"owner":"efudd","layout":"GRID","active":true,"tiles":[{"id":167,"activeUri":"http://www.redhat.com","inactiveU... | ozone-development/ozp-controller-jvm | src/test/script/postTestData.sh | Shell | apache-2.0 | 657 |
pkg_name=attr
pkg_origin=core
pkg_version=2.4.47
pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
pkg_description="Commands for Manipulating Filesystem Extended Attributes"
pkg_upstream_url="https://savannah.nongnu.org/projects/attr/"
pkg_license=('GPL-2.0')
pkg_source="http://download.savannah.gnu.org/rele... | be-plans/be | attr/plan.sh | Shell | apache-2.0 | 1,399 |
# This script assumes Docker is already installed
# see tools/travis/setup.sh
#!/bin/bash
version_exists=`(docker-compose --version | grep ${DOCKER_COMPOSE_VERSION}) || echo "false"`
if [ "${version_exists}" == "false" ]
then
echo "Installing Docker Compose ${DOCKER_COMPOSE_VERSION}"
sudo rm /usr/local/bin/doc... | jordanyaker/openwhisk-devtools | docker-compose/.travis/setup.sh | Shell | apache-2.0 | 607 |
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
FLO_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
mvn -B install -DskipTests
cd flo-tests
pushd shading
mvn -B clean install -DskipTests -Dflo.version=$FLO_VERSION
popd
pushd shading-user
mvn -B clean test
popd
| rouzwawi/flo | flo-tests/run_shading_tests.sh | Shell | apache-2.0 | 318 |
#!/bin/bash
java_binary_link="/usr/bin/java"
java_library="libjvm.so"
library_paths=(
/jre/lib/amd64/server
/jre/lib/amd64/client
/usr/lib
/lib
)
if [ -z "$java_home" ] || [ ! -d "$java_home" ]; then
JAVA_HOME=$(dirname $(dirname $(dirname $(readlink -f $java_binary_link))))
if [ ! -d $java_home ]; then
... | kwilczynski/miscellaneous | detect-java.sh | Shell | apache-2.0 | 801 |
# ----------------------------------------------------------------------------
#
# Package : Morphia-Core
# Version : 1.6.1
# Source repo : https://github.com/MorphiaOrg/morphia.git
# Tested on : UBI 8
# Script License : Apache License 2.0
# Maintainer : Manik Fulpagar <Manik.Fulp... | ppc64le/build-scripts | m/Morphia-Core/Morphia-Core_UBI_8.0.sh | Shell | apache-2.0 | 2,119 |
#!/bin/bash
. build.properties
clear
CURRENT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
BACKEND_DIR="$CURRENT_DIR/asciidoctor-backends/slim/dzslides"
echo "Copying DZSlides backend files..."
cp -r dzslides $1
echo "Asciidoctor compilation..."
cd $1
asciidoctor -b dzslides -T $BACKEND_DIR -a linkcss -a d... | Smoczysko/presentations | export.sh | Shell | apache-2.0 | 549 |
#! /usr/bin/env bash
# install python dependencies
if [ -f "requirements.txt" ]; then
pip install -r requirements.txt
fi
if [ $? != 0 ]; then
echo "Install python dependencies failed !!!"
exit 1
fi
# install package libsndfile
python -c "import soundfile"
if [ $? != 0 ]; then
echo "Install package li... | xinghai-sun/models | deep_speech_2/setup.sh | Shell | apache-2.0 | 950 |
#!/bin/bash -e
#
# rabbitmq-server RabbitMQ broker
# Note: if in rabbitmq-env.conf you change the location of the PID file,
# (probably by setting PID_FILE) things will continue to work, even from
# this file, as the rabbitmq-env script (sourced by all the rabbitmq
# commands) will equally source the rabbitmq-env.conf... | pivotal-cf/cf-rabbitmq-release | jobs/rabbitmq-server/templates/rabbitmq-server.init.bash | Shell | apache-2.0 | 4,267 |
#!/bin/bash
#
# This file is open source software, licensed to you under the terms
# of the Apache License, Version 2.0 (the "License"). See the NOTICE file
# distributed with this work for additional information regarding copyright
# ownership. You may not use this file except in compliance with the License.
#
# You... | dreamsxin/seastar | install-dependencies.sh | Shell | apache-2.0 | 5,224 |
#!/bin/bash
# Example setting to use at command line for testing:
# export TRAVIS_SCALA_VERSION=2.10.5;export TRAVIS_PULL_REQUEST="false";export TRAVIS_BRANCH="master"
SBT="sbt ++${TRAVIS_SCALA_VERSION}!"
COVERAGE="$SBT clean coverage test coverageReport"
if [[ "${TRAVIS_PULL_REQUEST}" == "false" &&
"${TRAVIS_... | fthomas/shapeless | scripts/travis-publish.sh | Shell | apache-2.0 | 743 |
GPU_ID=1
EVERY=1000
MODEL=LstmGateModel
MODEL_DIR="../model/frame_level_lstm_gate_distillchain_v2_model"
EVAL_DIR="../model/frame_level_lstm_gate_distillchain_v2_model"
start=0
DIR="$(pwd)"
for checkpoint in $(cd $MODEL_DIR && python ${DIR}/training_utils/select.py $EVERY); do
echo $checkpoint;
if [[ $checkpoint -g... | wangheda/youtube-8m | youtube-8m-zhangteng/eval_scripts/eval-distillchain_lstm_gate_moe8_v2.sh | Shell | apache-2.0 | 1,121 |
#!/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... | tomncooper/heron | docker/scripts/ci-docker.sh | Shell | apache-2.0 | 4,586 |
DIR=`dirname $0`
IPLIST_PATH="$DIR/iplists"
LOGPATH="$DIR/logs/uploadiplist"
mkdir -p $LOGPATH
uploading_iplist=()
iplist=( `ls $IPLIST_PATH` )
for ip in ${iplist[@]};
do
uploading_iplist+=($ip)
done
remote_path=remote_cron
remove=no
while [ ${#uploading_iplist[@]} -gt 0 ]; do
for ip in ${uploading_iplist[... | ctripcorp/x-pipe | redis/package/redis-keeper-package/src/main/scripts/network/upload_iplists.sh | Shell | apache-2.0 | 1,226 |
#!/bin/bash
USERLIST=$1
COUNT=$2
HOST=$3
COMMUNITY=$4
OLDIFS=$IFS
FILENAME="record"
FILETYPE=".csv"
IFS=,
START=$(date +%s)
[ ! -f $USERLIST ] && { echo "$USERLIST file not found"; exit 99; }
while read username password
do
nodejs ./dayInLife.js ${HOST} ${COMMUNITY} $username $password
done < $USERLIST
IFS=$OLDIF... | LiquidAnalytics/ld-api-examples | nodejs/src/runDayInLife.sh | Shell | apache-2.0 | 392 |
# step_07_create_sensor.sh
. ./config.sh
export REQUEST_URL=https://${INSTANCE}/iot/core/api/v1/sensors
export DESIRED_PHYSICAL_ADDRESS_4_SENSOR=${PHYSICAL_ADDRESS_4_SENSOR}
export PAYLOAD='{ "name": "Starterkit sensor 01", "deviceId" : "'${MY_DEVICE}'", "sensorTypeId" : "'${MY_SENSORTYPE}'", "physicalAddress" : "'... | iwonahahn/iot-starterkit | cf/samples/curl-samples/send-gateway-cloud-rest-custom-measure/step_07_create_sensor.sh | Shell | apache-2.0 | 539 |
#!/bin/bash
set -e
set -x
MAVEN_URL=http://apache.miloslavbrada.cz/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
MAVEN_ARCHIVE_FILE=maven.tar.gz
MAVEN_LOCATION=/opt
curl -sL https://rpm.nodesource.com/setup_9.x | bash -
yum update -y
yum install -y \
nodejs \
git \
wget
yum clean all
wget -q -... | moravianlibrary/mapseries | scripts/setup.sh | Shell | apache-2.0 | 692 |
#!/usr/bin/env bash
function record_screen {
notify-send "started recording screen"
ffmpeg -f x11grab \
-s $(xdpyinfo | grep dimension | awk '{print $2}') \
-i $DISPLAY ~/videos/out.mkv
}
function record_screen_with_mic {
notify-send "started recording screen with mic"
ffmpeg -f x11grab \
-s $(xdpyinfo ... | pwittchen/dotfiles | .scripts/screencast.sh | Shell | apache-2.0 | 3,050 |
#!/usr/bin/env bash
# Copyright 2018 Google LLC. 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... | tensorflow/tfjs-data | tfjs-data/scripts/publish-npm.sh | Shell | apache-2.0 | 1,754 |
#!/bin/bash
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | google/tink | examples/python/signature/signature_test.sh | Shell | apache-2.0 | 3,798 |
#!/bin/bash
stop snapsync
rm -r "$HOME/.snapsync/"
rm "$HOME/.config/upstart/snapsync.conf"
echo "SnapSync has been removed successfully"
| trehansiddharth/Rocket.io | snapsync/remove.sh | Shell | apache-2.0 | 140 |
#! /bin/bash
# shellcheck disable=SC1091
. ./config.sh
start_suite "Test long connections (procspy) between processes"
weave_on "$HOST1" launch
scope_on "$HOST1" launch --probe.conntrack=false
weave_on "$HOST1" run -d --name nginx nginx
weave_on "$HOST1" run -dti --name client alpine /bin/sh -c "while true; do \
nc... | paulbellamy/scope | integration/330_process_edge_test.sh | Shell | apache-2.0 | 582 |
#!/bin/bash -ex
go get -u github.com/mitchellh/gox
mkdir -p /root/go/src/github.com/mitchellh/
git clone https://github.com/mitchellh/packer.git /root/go/src/github.com/mitchellh/packer
cd /root/go/src/github.com/mitchellh/packer; make updatedeps; make; make dev
mkdir -p /dist
WORKSPACE=/dist
cd /root/go/bin; zip -9 $... | henrysher/docker-packer | build_packer.sh | Shell | apache-2.0 | 379 |
#!/bin/bash
rm -rf target_cronus
DIR=$(cd "$(dirname "$0")"; pwd)
appname="sysmetricsmodule"
version="0.0.1"
pkgsrc=`ls $DIR`
curl -sSL 'http://www.stackscaling.com/downloads/package_cronus' | DIR=$DIR appname=$appname version=$version pkgsrc=$pkgsrc platform=all bash
mkdir target_cronus
mv *.cronus *.cronus.prop t... | yubin154/cronusagentmodules | sysmetricsmodule/package.sh | Shell | apache-2.0 | 335 |
#!/usr/bin/env bash
set -euo pipefail
manifests=$(cd "$(dirname "$0")/../manifests" && pwd)
"$(dirname "$0")"/deploy-lite.sh \
-o "$manifests/bpm.ops.yml" \
-o "$manifests/noop-networking.ops.yml" \
-o "$manifests/rootless.ops.yml" \
--vars-store creds.yml "$@"
| cloudfoundry-incubator/guardian-release | scripts/deploy-lite-rootless.sh | Shell | apache-2.0 | 271 |
#!/bin/bash
# Copyright (c) 2017, WSO2 Inc. (http://wso2.com) 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 re... | wso2-incubator/identity-test-integration | scenario01/base-setup.sh | Shell | apache-2.0 | 4,751 |
PORT_BASE=12000
HTTP_PORT=$(($PORT_BASE + 80))
HTTPS_PORT=$(($PORT_BASE + 443))
SHUTDOWN_PORT=$(($PORT_BASE + 443))
JAVA_OPTS="-Dsoapmocks.proxyrecord.dir=$CATALINA_HOME/proxyrecord -Dsoapmocks.files.basedir=$CATALINA_HOME/conf-soapmocks -Dlogback.configurationFile=$CATALINA_HOME/conf-soapmocks/logback.xml -Dsoapmocks.... | pbilstein/infrastructure-mocks | soap-mocks/src/tomcat/bin/setenv.sh | Shell | apache-2.0 | 417 |
#!/usr/bin/env bash
# created based on instructions found here:
# https://www.postgresql.org/download/linux/debian/
# run as root to install Postgresql on a Debian-based host with
# apt-get
VERSION=9.6
APTFIL=/etc/apt/sources.list.d/pgdg.list
if [[ -f $APTFIL ]] ; then
echo "NOTE: Apt sources file '$APTFIL' exis... | tbrowder/config-scripts | install-0-postgres-debian-apt.sh | Shell | artistic-2.0 | 1,533 |
#!/bin/sh
# Package LTU Mobile SDK script
# Everything is relative to the current sript folder
pushd $(dirname $BASH_SOURCE[0]) >/dev/null
LTU_PACKAGE_DIR="ltumobile_sdk"
LTU_PACKAGE_TAR="ltumobile_sdk.tar"
# Clean previous packaged SDK:
rm -rf $LTU_PACKAGE_DIR
rm -f $LTU_PACKAGE_TAR
# Build the Framework SDK
./bui... | ltutech/ltucloud-ios-sdk | LTUSDK/scripts/package_sdk.sh | Shell | bsd-2-clause | 969 |
#!/bin/bash
export PYTHONPATH=`pwd`
python -tt euca-console-server -c ./server/console.ini
| nagyistoce/eucalyptus-ui | launcher.sh | Shell | bsd-2-clause | 93 |
#!/bin/bash
mspdebug rf2500 gdb | Bktero/Planteur | launchpad/run_mspdebug.bash | Shell | bsd-2-clause | 32 |
#!/bin/sh
### Set the job name
#PBS -N kerl_1_3
### Request email when job begins and ends
#PBS -m bea
### Specify email address to use for notification.
#PBS -M kerl@math.arizona.edu
### Specify the PI group found with va command
#PBS -W group_list=tgk
### Set the queue to submit this job.
#PBS -q default
#.BS -q... | johnkerl/bridge-walk-count | ice/ice_1_3.sh | Shell | bsd-2-clause | 580 |
#!/bin/sh
#-
# Copyright (c) 2012 Eitan Adler
# All rights reserved.
#
# 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 condit... | jhbsz/OSI-OS | usr.bin/ssh-copy-id/ssh-copy-id.sh | Shell | bsd-3-clause | 2,629 |
#!/usr/bin/env bash
pushd $(git rev-parse --show-toplevel)
bash scripts/gen-tests.sh
node tests.js
rm raw-tests.js elm-io.sh tests.js
popd
| gunpinyo/phometa | scripts/tests.sh | Shell | bsd-3-clause | 144 |
#/bin/bash
# Create the service account that has access to the skia-corp-backup bucket.
set -e -x
source ../kube/corp-config.sh
source ../bash/ramdisk.sh
# New service account we will create.
SA_NAME=skia-backup-to-gcs-internal
SA_EMAIL="${SA_NAME}@${PROJECT_SUBDOMAIN}.iam.gserviceaccount.com"
cd /tmp/ramdisk
gclo... | google/skia-buildbot | promk/create-backup-to-gcs-internal-sa.sh | Shell | bsd-3-clause | 662 |
dotfiles_status
| westurner/dotfiles | etc/bash/99-bashrc.after.sh | Shell | bsd-3-clause | 17 |
#!/bin/bash
# import some shared functions
. docker/shared_functions.sh
# Set the search to be enabled by default
enable_search
# DB config
check_mysql
# Soffice service
start_soffice
# Search
start_or_setup_search
# SETUP for OpenSEEK only, to link to openBIS if necessary
if [ ! -z $OPENBIS_USERNAME ]
then
b... | HITS-SDBV/seek | docker/entrypoint.sh | Shell | bsd-3-clause | 734 |
# Start web server
$ apeman-app --port 3000 | apeman-cmd-labo/apeman-app | example/example-call.sh | Shell | mit | 43 |
#!/usr/bin/env bash
shopt -s extglob
ruby_install_version="0.6.1"
ruby_install_dir="${BASH_SOURCE[0]%/*}"
ruby_install_cache_dir="${XDG_CACHE_HOME:-$HOME/.cache}/ruby-install"
rubies=(ruby jruby rbx maglev mruby)
patches=()
configure_opts=()
make_opts=()
if (( UID == 0 )); then
src_dir="/usr/local/src"
rubies_dir... | FreedomBen/ruby-install | share/ruby-install/ruby-install.sh | Shell | mit | 5,654 |
# -------------------------------------------------------------------------------------------------
# Copyright (c) 2015 zsh-syntax-highlighting contributors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the following conditions... | admean/dotfiles | .oh-my-zsh/custom/plugins/zsh-syntax-highlighting/highlighters/main/test-data/path_prefix.zsh | Shell | mit | 2,248 |
#! /bin/bash
echo "Hello: World"
echo "Content-Type: text/plain"
echo ""
echo "listing open FDs of self ($$)"
ls -hl /proc/$$/fd/
for i in `seq 8 -1 1`; do
echo "poke $i"
sleep 1;
done
echo "Hello, World"
| christianparpart/x0 | www/htdocs/test.sh | Shell | mit | 208 |
#!/bin/sh
# Copyright (c) 2014-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
INPUT=$(cat /dev/stdin)
VALID=false
REVSIG=false
IFS=$'\n'
for LINE in $(echo "$INPUT" | gpg --trust-model always "$@"... | BitcoinUnlimited/BitcoinUnlimited | contrib/verify-commits/gpg.sh | Shell | mit | 1,114 |
#!/usr/bin/env bash
# Script to browserify without Grunt - usually the Grunt build is used to
# browserify and build everything.
bin_path=`dirname $0`
pushd $bin_path/.. > /dev/null
browserify_cmd=node_modules/grunt-browserify/node_modules/browserify/bin/cmd.js
# This browserify build can be used by users of the mo... | dvrico/artsy-history | node_modules/traverson-hal/bin/browserify.sh | Shell | mit | 1,156 |
#!/bin/bash
echo -e "---\n:rubygems_api_key: $GEM_API_KEY" > ~/.gem/credentials
chmod 0600 ~/.gem/credentials
cd lf-git
build_version=$(ruby -r ./lib/license_finder/version.rb -e "puts LicenseFinder::VERSION")
built_gem="pkg/license_finder-$build_version.gem"
if [ -z "$(gem fetch license_finder -v $build_version 2>&... | sschuberth/LicenseFinder | ci/scripts/pushscript.sh | Shell | mit | 391 |
#!/bin/sh
#更改变量名称
CONFILE=$1
#输出错误信息
_throw(){
echo $1
exit
}
#输出调试信息
_log(){
current_time=`_get_current_time`
echo ${current_time}:$1
}
#获取配置
_get_config(){
SECTION=$1
CONFILE=$2
ITEM=$3
for loop in `echo $ITEM | tr ',' ' '`
do
item=`awk -F '=' '/\['$SECTION'\]/{a=1}a==1&&$1~/'$loop'/{gsub(/[[:blank:]]*... | lgh8820/ansible-test | yjy_ffmpeg_video/m_ts_encryt_miexed.sh | Shell | mit | 3,582 |
export GOPATH=$HOME
export PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
| lstoll/dotfiles | .env.d/go.sh | Shell | mit | 68 |
#!/bin/bash
# Copyright (c) 2016 Codenvy, S.A.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors:
# Tyler Jew... | R-Brain/codenvy | dockerfiles/cli/scripts/post_init.sh | Shell | epl-1.0 | 549 |
#!/bin/bash -eux
################################################################
#
# Copyright 2015, Big Switch Networks, Inc.
#
# Licensed under the Eclipse Public License, Version 1.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
... | vezril/ivs | build/build-debian-packages.sh | Shell | epl-1.0 | 1,646 |
#!/usr/bin/env bash
set -euo pipefail
xcrun xcodebuild build test \
NSUnbufferedIO=YES \
-scheme iTerm2 \
-sdk macosx \
CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY=
| ojotoxy/iTerm2 | ci/script.sh | Shell | gpl-2.0 | 176 |
#! /bin/bash
. ../test-utils.sh
if [ -f testdb ]; then rm -f testdb; fi
${AUDIODB} -d testdb -N
intstring 2 > testfeature
floatstring 0 1 >> testfeature
floatstring 1 0 >> testfeature
floatstring 1 0 >> testfeature
floatstring 0 1 >> testfeature
intstring 1 > testpower
floatstring -0.5 >> testpower
floatstring -1 ... | TransformingMusicology/audioDB | tests/0045/run-test.sh | Shell | gpl-2.0 | 2,615 |
#!/bin/bash
# This file is part of the ttylinux software.
# The license which this software falls under is GPLv2 as follows:
#
# Copyright (C) 2010-2013 Douglas Jerome <douglas@ttylinux.org>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License... | hellin/WodeOS | wodeos-build/pkg-cfg/gcc-4.6.3/bld.sh | Shell | gpl-2.0 | 5,677 |
#!/bin/bash
TORRENT_PATH=$1
TORRENT_NAME=$2
TORRENT_LABEL=$3
filebot --lang fr -script fn:amc --output "/rtorrent/Media" --log-file "/var/log/amc.log" --action symlink --conflict override -non-strict --def music=y artwork=y "ut_dir=$TORRENT_PATH" "ut_kind=multi" "ut_title=$TORRENT_NAME" "ut_label=$TORRENT_LABEL" &
| Uvekilledkenny/drunken-ninja | ruTorrent/rootfs/root/filebot.sh | Shell | gpl-2.0 | 317 |
#! /bin/sh
aclocal -I acinclude
autoconf
automake -a -c
./configure | erikkallen/openredalert | autogen.sh | Shell | gpl-2.0 | 68 |
#!/bin/bash
#PATH=/opt/R/R-3.1.0/bin:$PATH
#LD_LIBRARY_PATH=/opt/R/R-3.1.0/lib64/R/lib
#INCLUDE=/opt/R/R-3.1.0/lib64/R/include
#C_INCLUDE_PATH=/opt/R/R-3.1.0/lib64/R/include
####
#--go, --uniprot, --decompose, --exp_file exp-path, --design_file design-path --output_folder output-folder
ARGS=$@
SCRIPTDIR="$( cd "$( ... | babelomics/pathiko | backend/pathact-init.sh | Shell | gpl-2.0 | 894 |
#!/bin/sh
# Copyright (C) 2008-2014 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 L... | akiradeveloper/lvm2 | test/shell/listings.sh | Shell | gpl-2.0 | 5,401 |
#!/bin/bash
#
# Derived from request_tower_configuration.sh script, shipped with Ansible Tower
#
# This version can take server, host key and job ID as parameters, but can also look them up from DNS.
# See this blog post for more information: http://probably.co.uk/simple-service-discovery-using-ansible-tower-and-dns.ht... | phips/ansible-demos | roles/phone_home/files/req_conf.sh | Shell | gpl-3.0 | 2,045 |
#!/bin/bash
# to get rid of MSDOS format do this to this file: sudo sed -i s/\\r//g ./filename
# or, open in nano, control-o and then then alt-M a few times to toggle msdos format off and then save
# updated the list of installed gear so this works if we also use it : https://github.com/DeadSix27/python_cross_compile_... | hydra3333/ffmpeg-windows-build-helpers-withOpenCL | r32-v18.sh | Shell | gpl-3.0 | 3,862 |
#!/bin/bash
function prendre_peripherique()
{
local nom="$1"
while ! mkdir "$nom" 2>/dev/null;do
sleep 0.01s
done
rm -r $1
}
prendre_peripherique toto
for((I=0; I< $1; I++))
do J=I
done
date +%s
prendre_peripherique toto
exit 0
| SpoKenSpoK/L3info_workspace | OS/tp1/job.sh | Shell | gpl-3.0 | 237 |
#!/bin/bash
# SOF-ELK® Supporting script
# (C)2018 Lewes Technology Consulting, LLC
#
# This script will wait for elasticsearch to be available, preventing silly kibana errors in the browser
eshost=127.0.0.1
esport=9200
while ! curl --output /dev/null --silent --head --fail http://${eshost}:${esport}; do
sleep 1 && ... | philhagen/sof-elk | supporting-scripts/wait_for_es.sh | Shell | gpl-3.0 | 338 |
#!/usr/bin/env bash
#Script to run pplacer on multiple sample files.
#Usage: rdp_multi_script.sh
# Copyright (C) <2012> <Benjamin C. Smith>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Fo... | benjsmith/mubiomics | scripts/rdp_multi_script.sh | Shell | gpl-3.0 | 2,685 |
metadata_print() {
( # This function calls cd, so run it in a subshell
cd "${1:-.}"
if [[ ! ${DISABLE_PRINTING_XATTRS:-} ]]; then
assert_program_installed getfattr
fi
local file
local format=$'inode %i; type %F; name %n\n'
format+=$'mask %A; uid %u; gid %g\n'
format+=$'mtime %Y; ctime %Z\n'
format+=$'blocks %b; ... | cloudweavers/lizardfs | tests/tools/metadata.sh | Shell | gpl-3.0 | 9,731 |
#!/usr/bin/env bash
# Run one test case. This script is generated by $srcdir/make_cosi_tests2.py.
set -e -o pipefail -o nounset
$srcdir/tests/runtest.py --test-num 25 --test-dir $srcdir/tests/model011/t_u_0001 --cosi-sim-params '-u .0001' $@
| notestaff/cosi | tests/testScripts/tests/model011/t_u_0001/run.sh | Shell | gpl-3.0 | 243 |
#!/bin/sh
# Ensure that using 'cp --preserve=link' to copy hard-linked arguments
# onto existing destinations works, even when one of the link operations fails.
# Copyright (C) 2003-2017 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the G... | adtools/coreutils | tests/mv/hard-3.sh | Shell | gpl-3.0 | 2,361 |
#!/bin/bash
#SBATCH -J 13/RECON
#SBATCH -D /scratch/cnt0023/git6091/beller/EGU_2015/Real_Data/AxiSEM_simulations/axisem-master/SOLVER/Source_13
#SBATCH --get-user-env
#SBATCH --nodes=20
#SBATCH --ntasks=480
#SBATCH --ntasks-per-node=24
#SBATCH --cpus-per-task=1
#SBATCH --time=01:59:00
#SBATCH --output EVAL
module purge... | vmont/specfem3d | EXTERNAL_PACKAGES_coupled_with_SPECFEM3D/AxiSEM_for_SPECFEM3D/AxiSEM_modif_for_coupling_with_specfem/SOLVER/submit_eval2.sh | Shell | gpl-3.0 | 498 |
#! /bin/bash
###########################################################################
# @licence app begin@
# SPDX-License-Identifier: MPL-2.0
#
# Component Name: GNSSService
# Author: Marco Residori
#
# Copyright (C) 2013, XS Embedded GmbH
#
# License:
# This Source Code Form is subject to the terms of the
# Mozi... | jonathanmaw/lbs-positioning | gnss-service/doc/tools/generate-doc.sh | Shell | mpl-2.0 | 1,103 |
#!/usr/bin/env bash
#
# Copyright (C) 2015-2018: Alignak team, see AUTHORS.txt file for contributors
#
# This file is part of Alignak.
#
# Alignak is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | Alignak-monitoring-contrib/alignakbackend-api-client | code_test.sh | Shell | agpl-3.0 | 1,476 |
#!/bin/bash
CC="msp430-gcc -mmcu=msp430f1611" CXX="c++" cmake -DARITH=msp-asm -DCMAKE_SYSTEM_NAME=Generic -DALIGN=2 -DARCH=MSP -DBENCH=1 "-DBN_METHD=BASIC;MULTP;MONTY;BASIC;BASIC;BASIC" -DCHECK=OFF -DCOLOR=OFF "-DCOMP:STRING=-O2 -g -mmcu=msp430f1611 -ffunction-sections -fdata-sections -fno-inline -mdisable-watchdog" -... | sruesch/relic | preset/msp-ecc-80k.sh | Shell | lgpl-2.1 | 776 |
#!/bin/bash
set -e
set +h
. /etc/alps/alps.conf
. /var/lib/alps/functions
NAME="pillow_.orig"
VERSION="3.2.0"
URL=https://launchpad.net/ubuntu/+archive/primary/+files/pillow_3.2.0.orig.tar.xz
cd $SOURCE_DIR
wget -nc $URL
TARBALL=`echo $URL | rev | cut -d/ -f1 | rev`
DIRECTORY=`tar tf $TARBALL | cut -d/ -f1 | uniq... | FluidIdeas/parsers | blfs-resources/extrascripts/pillow.sh | Shell | lgpl-2.1 | 511 |
#!/bin/tcsh -f
#----------------------------------------------------------
# Route script using qrouter
#----------------------------------------------------------
# Tim Edwards, 5/16/11, for Open Circuit Design
# Modified April 2013 for use with qflow
#----------------------------------------------------------
if ($#... | leviathanch/qtflow | scripts/router.sh | Shell | lgpl-3.0 | 6,213 |
#!/usr/bin/env bash
#"INTEL CONFIDENTIAL"
#Copyright 2015 Intel Corporation All Rights Reserved.
#
#The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporatio... | XiaominZhang/Big-Data-Benchmark-for-Big-Bench | bin/killAllHadoopJobs.sh | Shell | apache-2.0 | 1,282 |
#!/bin/sh
# Run open-iscsi test cases
# Assuming open-iscsi package and binaries are installed properly, and
# the gotgt daemon is running
LOCALHOST=127.0.0.1
# track test environment
date
uname -a
df -hT
sudo lsblk -l
echo "==== iscsi initiator test"
# some simple iscsi initiator tests
sudo iscsiadm -m discovery... | carmark/gotgt | test/openiscsi-gotgt-test.sh | Shell | apache-2.0 | 2,788 |
# Enable corrections
setopt correct
# ..except for these:
alias man='nocorrect man'
alias mv='nocorrect mv'
alias mkdir='nocorrect mkdir'
alias ebuild='nocorrect ebuild'
alias sudo='nocorrect sudo'
| rdnetto/oh-my-zsh | lib/50-correction.zsh | Shell | apache-2.0 | 200 |
#!/bin/bash
. test-ips.sh
COUNTER=0
for IP in ${IPS}; do
let COUNTER++
echo "SSH ${COUNTER} FOR ${IP}"
ssh -i ~/.ssh/aws/smatvienko.pem -o StrictHostKeyChecking=accept-new ubuntu@${IP} <<'ENDSSH'
hostname
ENDSSH
done
| volodymyr-babak/thingsboard.github.io | _includes/docs/reference/performance-scripts/ssh-tests.sh | Shell | apache-2.0 | 230 |
#! /bin/bash
INTERFACE=$1
tcpdump -n -e -i $INTERFACE -c 100 &
PID_TCPDUMP=$!
curl http://www.xosproject.org/ &> /dev/null &
PID_CURL=$!
sleep 30s
kill $PID_TCPDUMP
kill $PIUD_CURL
| xmaruto/mcord | xos/synchronizers/vtr/files/run_tcpdump.sh | Shell | apache-2.0 | 181 |
#!/bin/bash
echo "Installing Kubernetes Controller"
echo "Moving Kubernetes Controller Certificates"
mkdir -p /var/lib/kubernetes/
cp /home/vagrant/k8s-certs/authorization-policy.jsonl /var/lib/kubernetes/
cp /home/vagrant/k8s-certs/ca.pem /var/lib/kubernetes/
cp /home/vagrant/k8s-certs/ca-key.pem /var/lib/kubernetes/
... | emccode/vagrant | scaleio/scripts/k8s/k8s-controller.sh | Shell | apache-2.0 | 6,463 |
#!/bin/bash
set -x
cat 005-strcut.out | grep def|| exit 1
exit 0
| swift-lang/swift-k | tests/language-behaviour/strings/005-strcut.check.sh | Shell | apache-2.0 | 65 |
#!/usr/bin/env bash
# Copyright 2018 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 a... | GoogleCloudPlatform/k8s-sqldb-operator | vendor/sigs.k8s.io/controller-runtime/hack/check-everything.sh | Shell | apache-2.0 | 2,171 |
#!/bin/sh
# $1 == ToolPath
# $2 == ElfFile
# $3 == MapFile
"$1/objdump" --wide --syms "$2" > "$3"
| CosmosOS/Cosmos | source/Cosmos.Build.Tasks/tools/unix/objdump.sh | Shell | bsd-3-clause | 100 |
#!/bin/sh
BASE_FOLDER=$1
REFACTOR_TARGET=$2
grep -n -r -o '^[ ]*this\.[^ ]*[ ]*=' $1 | sed 's/this.\([^ ^=]*\)[ ]*=/\1/'
STATE_LINES=$(cat ../refactor_notes/all_public_interfaces.csv| grep state.js)
FUNCTION_NAME=$(echo $STATE_LINES | sed '4q;d' | sed 's/.*,//')
grep -r -n $FUNCTION_NAME .
| latin-language-toolkit/arethusa | refactor_notes/script.sh | Shell | mit | 292 |
#!/bin/bash
# Handle command-line arguments
source $KDBTESTS/flagparse.sh
# Path to test directory
testpath=${KDBTESTS}/stp/exit
${TORQHOME}/torq.sh start discovery1 stpex -csv ${testpath}/process.csv
/usr/bin/rlwrap q ${TORQHOME}/torq.q \
-proctype test -procname test1 \
-test ${testpath} \
-load ${KDBTESTS}... | FlyingOE/TorQ | tests/stp/exit/run.sh | Shell | mit | 562 |
#!/usr/bin/env bash
[ -n "$DEBUG" ] && set -x
set -e
set -o pipefail
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
cd "$PROJECT_DIR"
set +e
openssl version
openssl aes-256-cbc \
-d \
-md sha1 \
-in ./.circleci/gpg.private.enc \
-k ... | infrablocks/terraform-aws-ecs-service | scripts/ci/steps/test.sh | Shell | mit | 457 |
#!/bin/bash
set -ex
# Make Sure we are in the image directory (this script's location) =========
IMAGE_DIR=`readlink "$0"` || IMAGE_DIR="$0";
IMAGE_DIR=`dirname "$IMAGE_DIR"`;
cd "$IMAGE_DIR" 2> /dev/null
IMAGE_DIR=`pwd -P`
# PREPARE VM MAKER IMAGE ===================================================
wget -O- get.pha... | philippeback/pharo-vm | image/newImage.sh | Shell | mit | 453 |
#!/bin/bash
if [[ "X$1" = "X" ]]
then
TEST_GROUP=match
echo TEST_GROUP default: $TEST_GROUP
else
TEST_GROUP=$1
fi
echo run-tests - TEST_GROUP $TEST_GROUP
cd /usr/src/app/backend/nodeAppPostPg/testing/nightwatch --verbose
# echo run-tests - sleep 60
# sleep 60
echo run-tests - sleep 30
sleep 30
echo run-t... | dmilet/backend | docker/nightwatch/run-tests.sh | Shell | mit | 567 |
#!/bin/bash
#
# vim: noexpandtab sw=8 ts=8 sts=0:
#
# inode_alloc_perf.sh
#
# Description: The script helps to run a performance comparison tests between
# a original and a enhanced(with inode alloc patches) kernel on
# inode allocation, deletion and traversing etc.
#
# Author: Tristan Ye, tristan.ye@or... | pibroch/ocfs2-test | programs/inode_alloc_perf_tests/inode_alloc_perf.sh | Shell | gpl-2.0 | 23,321 |
#!/bin/sh
# make sure --update works as advertised
# Copyright (C) 2001-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 3 of the License, or
... | oldcap/coreutils | tests/mv/update.sh | Shell | gpl-3.0 | 1,788 |
# _________________________________________________________________________
# /\ \
# \_| ___ __ _ _ |
# | |_ _|_ __ / _| ___ _ __ _ __ ___ __ _| |_(_) ___ _ __ |
# | ... | juanmabc/codemiscs | cmds/tw/engines/tw_local.sh | Shell | gpl-3.0 | 4,184 |
#!/bin/bash
set -e
echo "Installing Apache..."
sudo apt-get update -y &>/dev/null
sudo apt-get install -y apache2 &>/dev/null
echo "Registering service with Consul..."
sudo tee /etc/consul.d/web.json > /dev/null <<"EOF"
{
"service": {
"name": "web",
"port": 80,
"check": {
"http": "http://localhost... | hgontijo/terraform-training | 05-atlas/scripts/web/install.sh | Shell | apache-2.0 | 749 |
#!/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 "Licen... | pritidesai/incubator-openwhisk-wskdeploy | tools/travis/scancode.sh | Shell | apache-2.0 | 1,079 |
#!/bin/bash -e
#
# bootstrap.sh
#
# Install marelle for all users.
#
DEST_DIR=/usr/local/share/marelle
DEST_BIN=/usr/local/bin/marelle
function has_exec() {
[ ! -z "$(which $1)" ]
}
function missing_exec() {
[ -z "$(which $1)" ]
}
is_apt_updated=0
function apt_update() {
if [ $is_apt_updated -eq 0 ]; then
... | pmoura/marelle | bootstrap.sh | Shell | bsd-2-clause | 2,943 |
#!/bin/bash
#
# Start the simulation
#
# Be sure to create a Makefile first and compile all Verilog and VHDL files.
#
vsim -t ps -voptargs=+acc adt7310p32s16l_tb -do "do wave-adt7310.do ; run -all"
| hansiglaser/chll | examples/wsn-soc/apps/adt7310p32s16l/sim-yosys/sim.sh | Shell | gpl-2.0 | 199 |
#!/usr/bin/env bash
#
# Copyright IBM Corp. 2020
#
# Check lcov --summary output for concatenation of two partial coverage
# files part1+part2=target
#
STDOUT=summary_concatenated2_stdout.log
STDERR=summary_concatenated2_stderr.log
INFO=concatenated2.info
cat $PART1INFO $PART2INFO >$INFO
$LCOV --summary "${INFO}" >${... | linux-test-project/lcov | tests/lcov/summary/concatenated2.sh | Shell | gpl-2.0 | 837 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2013-2015 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | rmoorman/tup | test/t4152-maxfiles3.sh | Shell | gpl-2.0 | 2,175 |
#!/bin/sh
# Copyright (C) 1999-2006 ImageMagick Studio LLC
#
# This program is covered by multiple licenses, which are described in
# LICENSE. You should have received a copy of LICENSE with this
# package; otherwise see http://www.imagemagick.org/script/license.php.
. ${srcdir}/tests/common.shi
${RUNENV} ${MEMCHECK} ... | ipwndev/DSLinux-Mirror | user/imagemagick/src/tests/rwblob_JBIG_pallette.sh | Shell | gpl-2.0 | 364 |
#! /bin/sh -e
# tup - A file-based build system
#
# Copyright (C) 2009-2015 Mike Shal <marfey@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distribu... | p2rkw/tup | test/t6030-broken-update12.sh | Shell | gpl-2.0 | 1,459 |
#!/bin/bash
#UtilityWorkMessage ---------------------------------------------------------------------
trap onexit 1 2 3 15
function onexit() {
local exit_status=${1:-$?}
pkill -f hstore.tag
exit $exit_status
}
# ---------------------------------------------------------------------
ENABLE_ANTICACHE=t... | huanchenz/STX-h-store | scripts/multitier/test.sh | Shell | gpl-3.0 | 8,786 |
#!/usr/bin/env sh
for f in *.thrift ; do
thrift -r --gen go:thrift_import=github.com/apache/thrift/lib/go/thrift $f
done
| martinbaillie/rancher-management-service | vendor/src/github.com/openzipkin/zipkin-go-opentracing/_thrift/compile.sh | Shell | bsd-3-clause | 123 |
#!/bin/bash
TGT="$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM"
[ -d "$TGT" ] || mkdir -p "$TGT"
[ -d "${PREFIX}/bin" ] || mkdir -p "${PREFIX}/bin"
echo "PREFIX=${PREFIX}"
echo "TGT=${TGT}"
cd "${SRC_DIR}"
cp gridss-*.jar $TGT/gridss.jar
cp *.R *.sh "${TGT}"
cp $RECIPE_DIR/gridss $TGT/gridss
cp $RECIPE_DIR/gri... | roryk/recipes | recipes/gridss/build.sh | Shell | mit | 2,520 |
#!/bin/sh
#
# Copyright (c) 2010 Thomas Rast
#
test_description='Test the post-rewrite hook.'
. ./test-lib.sh
test_expect_success 'setup' '
test_commit A foo A &&
test_commit B foo B &&
test_commit C foo C &&
test_commit D foo D &&
git checkout A^0 &&
test_commit E bar E &&
test_commit F foo F &&
git checkout... | brunosantiagovazquez/git | t/t5407-post-rewrite-hook.sh | Shell | gpl-2.0 | 6,553 |
#!/usr/bin/env bash
# This script can be used to run PHP unittests
# To run:
# - to run all unit tests, run script with no arguments:
# example: bash unittests.sh
# - to run a specific unittest specify the test name and the path to test script
# example: bash unittests.sh 'NDB_BVL_FeedbackTest' ./unitte... | Jkat/Loris | test/unittests.sh | Shell | gpl-3.0 | 1,776 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.