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 # # 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...
axbaretto/beam
sdks/python/scripts/run_postcommit.sh
Shell
apache-2.0
4,857
#!/usr/bin/env bash CURRENT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" # shellcheck disable=SC1090 . "${CURRENT_DIR}/helpers.sh" main() { local quality quality="$(iwconfig "$(get_wifi_interface)" | awk '/Link Quality/ {gsub(/[^0-9\/]/,"", $2); print $2}')" echo "${quality}" } main
mgor/dotfiles
.tmux/plugins/tmux-wifi/scripts/wifi_quality.sh
Shell
apache-2.0
310
#!/bin/bash # This script is meant to be run in the User Data of each EC2 Instance while it's booting. The script uses the # run-nomad and run-consul scripts to configure and start Consul and Nomad in server mode. Note that this script # assumes it's running in an AMI built from the Packer template in examples/nomad-co...
MatthiasScholz/terraform-aws-nomad
examples/root-example/user-data-server.sh
Shell
apache-2.0
827
#!/bin/sh cd nagios-nrpe-server-config echo "Differencing generated nrpe_local.cfg and /etc/nagios/nrpe_local.cfg" echo "Begin diff..." diff -bB nrpe_local.cfg /etc/nagios/nrpe_local.cfg echo "End diff" cd plugins echo "Differencing generated plugins and those in /usr/local/lib/nagios/" echo "Begin diffs..." for i in *...
scoophealth/query-composer
monitoring/verify_nrpe.sh
Shell
apache-2.0
584
#!/bin/bash filetouse="./forecast-compose.yml" echo "" echo "Stopping Docker Composition: $filetouse" docker-compose -f $filetouse stop echo "" echo "Starting Docker Composition: $filetouse" docker-compose -f $filetouse up echo "" exit 0
jay-johnson/redten-python
run-forecast.sh
Shell
apache-2.0
243
#!/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 AS...
wu-sheng/sky-walking
tools/coverage/report.sh
Shell
apache-2.0
1,840
# 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 u...
qinjin/mdtc-cassandra
bin/cassandra.in.sh
Shell
apache-2.0
2,135
#!/bin/bash JARS=`ls ../lib/*jar` STARTUP=`ls ../lib/scopeServer*jar` CP=".:../config:../etc" for x in $JARS do if [ ${x} != ${STARTUP} ] then CP="${CP}:${x}" fi done CP="${CP}:${STARTUP}" java -classpath $CP com.cisco.oss.foundation.orchestration.main.RunScope $*
foundation-runtime/orchestration
src/test/resources/scripts/sh/run-scope-server.sh
Shell
apache-2.0
285
#!/usr/bin/env bash repositorios=( "plataforma/core" \ "plataforma/discovery" \ "plataforma/documents" \ "plataforma/gateway" \ "plataforma/processos" \ "plataforma/test" \ "plataforma/ui" \ "plataforma/identidades" \ "plataforma/recebimento" \ "autuacao/autuacao" \ "autuacao/d...
supremotribunalfederal/stfdigital
import-all.sh
Shell
apache-2.0
523
#!/bin/bash # the folder this script is in (*/bootplate/tools) TOOLS=$(cd `dirname $0` && pwd) # application root SRC="$TOOLS/.." # enyo location ENYO="$SRC/enyo" # project folder location PRJSRC="$SRC/.." # deploy script location DEPLOY="$ENYO/tools/deploy.js" # check for node, but quietly if command -v node >/d...
BroadSoft-Xtended/GuestClient
CollaborateGuestClient/clientsource/tools/deploy.sh
Shell
apache-2.0
953
#!/usr/bin/env zsh sizes=( 1 2 4 6 8 10 12 16 32 50 64 100 125 250 333 500 1000 2000 4000 8000 ) dims=( 2000 4000 8000 10000) chunks=( 0 1 2 ) DIR=trans_benchmarks for dim in $dims do echo "seq ${dim}" #seq python differ.py ${DIR}/mandelseqwu${dim} ${DIR}/mandelseqtask${dim} #transformed for size ...
magnusmorton/trace-analysis
diff_mandel.sh
Shell
apache-2.0
572
# ----------------------------------------------------------------------------- # # Package : doctrine/inflector # Version : 1.4.3 # Source repo : https://github.com/doctrine/inflector # Tested on : RHEL 8.3 # Script License: Apache License, Version 2 or later # Maintainer : BulkPackageSearch Automation <sethp@us.ibm.c...
ppc64le/build-scripts
d/doctrine__inflector/doctrine__inflector_rhel_8.3.sh
Shell
apache-2.0
2,690
#!/bin/bash # # Turn on tracing, we want to see what's going on #set -x clear # Remember the dir where we started out since we use relative paths scriptPath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")" RUNCMAKE_SCRIPTSTARTDIR=${scriptPath%/*} echo "RUNCMAKE_SCRIPTSTARTDIR = $RUNCMAKE_SCRIPTSTARTDIR" echo "...
LiberatorUSA/GUCEF
projects/CMake/RunCMake_Shared_CodeBlocks_Unix_Debug_ProjectGenerator.sh
Shell
apache-2.0
858
echo "TESTING" node -v mkdir /app cp -r /src /app cd /app/src rm -rf node_modules npm install #/bin/bash node -v node -v node -v npm run test:node
natew/rxdb
test/env/entrypoint.bash
Shell
apache-2.0
154
#!/usr/bin/env bash set -e md5_util() { if [[ "$OSTYPE" == "darwin"* ]]; then _md5_util="md5" else _md5_util="md5sum" fi echo "$_md5_util" } non_deploy_jar_md5_sum() { find bazel-bin/test -name "*.jar" ! -name "*_deploy.jar" | xargs -n 1 -P 5 $(md5_util) | sort } test_build_is_id...
ianoc/rules_scala
test_reproducibility.sh
Shell
apache-2.0
1,079
#!/bin/bash if [ $# -eq 0 ]; then echo "No version argument provided. Usage: \"./push_images.sh 2.17.0\"" exit 1 fi for folder in */ ; do folder=${folder%/} echo echo "Pushing image openvidu/$folder:$1" echo cd "$folder" || exit docker push openvidu/$folder:$1 docker push openvidu...
OpenVidu/openvidu-tutorials
docker/push_images.sh
Shell
apache-2.0
350
#!/bin/bash SECONDS=0 ###fastqc quality control - requires fastqc installed and placed in PATH ls -1 *fastq.gz > commands.1 sed -i 's/^/.\/FastQC\/fastqc /g' commands.1 source commands.1 mkdir FastQC_OUTPUT mv *zip FastQC_OUTPUT mv *html FastQC_OUTPUT ###mapping with STAR - requires STAR installed and copied to P...
milospjanic/rnaSeqFPro
rnaSeqFPro.SR.mm10.sh
Shell
apache-2.0
9,865
#!/usr/bin/env bash # # NAME # # docs # # DESCRIPTION # # generate the docs # # Parse the command options [ -r $RERUN_MODULES/stubbs/commands/docs/options.sh ] && { source $RERUN_MODULES/stubbs/commands/docs/options.sh } # Read module function library [ -r $RERUN_MODULES/stubbs/lib/functions.sh ] && { source ...
dtolabs/rerun-old
modules/stubbs/commands/docs/default.sh
Shell
apache-2.0
3,856
#!/bin/sh ORACLE_SID=esrv ; ORAENV_ASK=NO export ORACLE_SID ORAENV_ASK . oraenv $ORACLE_HOME/bin/sqlplus << EOF system/manager @$ORACLE_HOME/sqlplus/admin/help/helpbld.sql helpus.sql EOF
lmascare/utils
tips/oracle/create_db/esrvsqlplus.sh
Shell
artistic-2.0
188
#~/code/code_bash_shell/loading_metadata_accession_pedigree_plot_data_bash.sh #psql -U postgres -h localhost -f ~/code/code_sql/sql_bash_delete_old_records2.sql zea #psql -U postgres -h localhost -f ~/code/code_sql/sql_one_project.sql zea while read line; do f1=`echo "$line" | awk -F"\t" '{print $1}'` f2=`echo "$line...
solgenomics/zeabase
code_bash_shell/loading_metadata_accession_pedigree_plot_data_4_SYN_bash.sh
Shell
artistic-2.0
1,658
# Scan srcpkgs/*/template for hashes and distfiles to determine # obsolete sources/by_sha256 files and their corresponding # sources/<pkgname>-<version> files that can be purged purge_distfiles() { # Ignore msg_error calls when sourcing templates msg_error() { : } if [ -z "$XBPS_SRCDISTDIR" ]; then msg_error ...
deathsyn/void-packages
common/xbps-src/shutils/purge_distfiles.sh
Shell
bsd-2-clause
1,993
#!/bin/bash myname=$0 cd ${myname%/*} source ./add_src_prepare_to_ebuild.sh # BOARD¤¬Ìµ¤±¤ì¤ÐÀßÄê¤òÍ׵᤹¤ë if [ -z "${BOARD}" ]; then echo Please set BOARD. Abort. exit 1 fi #¥Ñ¥Ã¥±¡¼¥¸¤ò¥³¥Ô¡¼¤¹¤ë cd ~/trunk/src/overlays/overlay-${BOARD} if [ ! -d chromeos-base ]; then mkdir chromeos-base if [ ...
crosbuilder/CustomBuilds
script/copy_platform2_pkg.sh
Shell
bsd-3-clause
5,035
#!/bin/bash ###################################################################### # (c) 2014 Cisco and/or its affiliates. All rights reserved. # # This software is released under the Eclipse Public License. The details can be found in the file LICENSE. # Any dependent libraries supplied by third parties are provided...
dvbu-test/PDTool
bin/PDToolStudio_unix/checkin.sh
Shell
bsd-3-clause
7,522
#!/bin/bash # script for executing Django PyUnit Tests within a Docker container. # This script should always run as if it were being called from # the directory it lives in. script_directory=`perl -e 'use File::Basename; use Cwd "abs_path"; print dirname(abs_path(@ARGV[0]));' -- "$0"` cd $script_directory # Howev...
data-refinery/data_refinery
common/run_tests.sh
Shell
bsd-3-clause
974
if test "x$SETX" = x1 ; then set -x ; fi if test $# = 0 ; then TEST=1 else for arg in "$@"; do case "${arg}" in test) TEST=1 ;; reset) RESET=1 ;; diff) DIFF=1 ;; cdl) CDLDIFF=1 ;; log) ;; *) echo unknown argument $arg ;; esac done fi # Define input paths WD=`pwd` cd ${srcdir}/daptestfiles; DAPTESTFILE...
Unidata/netcdf-c
dap4_test/d4test_common.sh
Shell
bsd-3-clause
1,908
#!/bin/bash set -e if [ $# -ne 1 ]; then echo "Usage: run.sh <start|stop|install>" exit 1 fi rm -rf embedded/dd-agent/checks.d || true mkdir -p embedded/dd-agent/checks.d conf_dir=embedded/dd-agent/conf.d/ checks_dir=embedded/dd-agent/checks.d rake copy_checks pushd embedded/dd-agent if [ "$1" != "install"...
StackVista/sts-agent-integrations-core
run.sh
Shell
bsd-3-clause
361
#!/bin/sh # # Script executes steps required to build the data supporting the WFS layer # of geographic names for dbname=ccrook host=/var/run/postgresql tddxml=tdd-4.2.xml # Load the geographic names layer into the database echo "Loading point codes from $tddxml" python get_codes.py $tddxml pointcodes.csv # Load ...
linz/gazetteer_basemap
labeldata/loadcodes.sh
Shell
bsd-3-clause
634
#!/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" install_resource() { case $1 in *.storyboard) echo "ibtool --reference-external-strings-file --errors --warnings --notices ...
Rounded/ROCardToss
Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-resources.sh
Shell
mit
3,705
if [ -f /etc/yum.repos.d/mongodb-org-3.0.repo ]; then installPackage mongodb-org sudo chkconfig mongod on sudo systemctl start mongod fi
dyankov91/vagrant-centos-phpwebdev-builder
bootstrap/provisions/40-mongodb.sh
Shell
mit
148
#!/bin/bash echo "Testing that bosun starts and stops cleanly" # Generate a minimal config echo 'RuleFilePath = "/tmp/rule.conf"' > /tmp/bosun.toml touch /tmp/rule.conf # Wait for at most 30 seconds before considering the launch a failure timeout 30 ./bosun -c /tmp/bosun.toml & TIMEOUT_PID=$! BOSUN_START_RESULT=$? ...
bosun-monitor/bosun
build/test-startup.sh
Shell
mit
976
#!/bin/bash --login # Build shell script for calling when pushing to git repo echo '#!/bin/sh' > $WORKSPACE/ssh.sh echo 'exec ssh -i ~jenkins/.ssh/id_rsa -l optoro-jenkins $@' >> $WORKSPACE/ssh.sh chmod +x $WORKSPACE/ssh.sh cd $WORKSPACE/repo export GIT_SSH="$WORKSPACE/ssh.sh"
smedefind/chef-ci
build_ssh.sh
Shell
mit
279
#!/usr/bin/env bash ## # This section should match your Makefile ## PY=${PY:-python} PELICAN=${PELICAN:-pelican} PELICANOPTS= BASEDIR=$(pwd) INPUTDIR=$BASEDIR/content OUTPUTDIR=$BASEDIR/blog CONFFILE=$BASEDIR/pelicanconf.py ### # Don't change stuff below here unless you are sure ### SRV_PID=$BASEDIR/srv.pid PELICAN_...
barryorourke/Flex
docs/develop_server.sh
Shell
mit
2,199
# Function which checks whether given choice is one of the given options. # Throws an error message if it's empty or does not exist. # # @author Oktay Acikalin <oktay.acikalin@gmail.com> # @copyright Oktay Acikalin # @license MIT (LICENSE.txt) import "lib/array.index" function assert.valid_choice () { local...
theblacklion/project-service
lib/assert.valid_choice.sh
Shell
mit
541
#!/bin/bash if [[ -z $1 ]] then cat << EOF $0 start will launch the qsub jobs in this directory. $0 incoming (RELEASE) will only launch qsub jobs if the QWI download is for RELEASE (adding 'force' will not check for existing output files) EOF exit 0 fi method=$1 INRELEASE=$1 RELEASE=$2 [[ "$3" = "f...
labordynamicsinstitute/code-fragments
readin-qwi/scripts/launch_qsub.bash
Shell
mit
1,467
VELOCITY_TEST_PACKAGES=1 meteor test-packages --driver-package velocity:console-reporter --port 3120 ./
ElevateDev/meteor-cart
start.sh
Shell
mit
104
#!/bin/bash FN="nanotubes_1.4.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.11/data/experiment/src/contrib/nanotubes_1.4.0.tar.gz" "https://bioarchive.galaxyproject.org/nanotubes_1.4.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-nanotubes/bioconductor-nanotubes_1.4.0_src_all.tar.gz" ) M...
roryk/recipes
recipes/bioconductor-nanotubes/post-link.sh
Shell
mit
1,293
#!/bin/bash # die on any error set -e # clone repo git clone git://gitorious.org/mediagoblin/mediagoblin.git cd mediagoblin git submodule update --init # set up the deps and main code (virtualenv --system-site-packages . || virtualenv .) && ./bin/python setup.py develop # install flup for fcgi ./bin/easy_install fl...
mediatemple/federated_services_oscon_2013
puppet/modules/fedserv/files/mediagoblin/env_setup.sh
Shell
mit
323
#!/bin/bash COMMAND="$1" case $COMMAND in start) rm -f nohup.out nohup java -server -Xms2048m -Xmx2048m -jar target/grizzly-0.1-SNAPSHOT-jar-with-dependencies.jar & ;; stop) ps aux | grep grizzly | grep -v grep | awk {'print $2'} | xargs kill -9 ;; build) mvn clean package ;; *) echo "Usage: ./server.s...
mbilski/benchmark
apps/nonblocking/grizzly/server.sh
Shell
mit
351
#!/usr/bin/env bash BUILD_DIR=/tmp/cmake # Clone git clone https://github.com/Kitware/CMake.git "$BUILD_DIR" cd "$BUILD_DIR" || exit 1 git checkout release # Build ./bootstrap make -j # Install sudo make install
JDevlieghere/dotfiles
scripts/cmake.sh
Shell
mit
216
#!/bin/bash log_error() { local msg="$1" RED='\033[0;31m' NC='\033[0m' # No Color echo -e "${RED}${msg}${NC}" } log() { local msg="$1" echo "${msg}" } on_error() { local line_lo="$1" local message="$2" local code="${3:-1}" if [[ -n "${message}" ]] ; then log_error "build.sh experienced an err...
rafidka/hadithhouse
scripts/prepare-offline.sh
Shell
mit
2,894
#!/bin/bash FN="MeSH.Laf.eg.db_1.12.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.9/data/annotation/src/contrib/MeSH.Laf.eg.db_1.12.0.tar.gz" "https://bioarchive.galaxyproject.org/MeSH.Laf.eg.db_1.12.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-mesh.laf.eg.db/bioconductor-mesh.laf.eg.d...
jerowe/bioconda-recipes
recipes/bioconductor-mesh.laf.eg.db/post-link.sh
Shell
mit
1,444
#!/bin/sh # # Copyright (c) 2019 Denton Liu # test_description='ensure rebase fast-forwards commits when possible' . ./test-lib.sh test_expect_success setup ' test_commit A && test_commit B && test_commit C && test_commit D && git checkout -t -b side ' test_rebase_same_head () { status_n="$1" && shift && wh...
brunosantiagovazquez/git
t/t3432-rebase-fast-forward.sh
Shell
gpl-2.0
5,030
#!/bin/bash #Prints the container path BASEPATH="/var/lib/docker/devicemapper/mnt" STATUS=$(docker inspect --format {{.State.Running}} $1 2>&1) case "${STATUS}" in 'false') echo "$1 container is not runinng" exit ;; 'Error:'*) echo ${STATUS} exit esac ID=$(docker inspect --fo...
openstackers/docker-utils
lxc_image_path.sh
Shell
gpl-2.0
378
#!/bin/sh # Ensure that cp merely warns when a non-directory source file is # listed on the command line more than once. fileutils-4.1.1 # made this fail: cp a a d/ # Ensure that mv fails with a similar command. # Copyright (C) 2001-2017 Free Software Foundation, Inc. # This program is free software: you can redist...
adtools/coreutils
tests/mv/dup-source.sh
Shell
gpl-3.0
2,786
#!/bin/bash # # This file is part of fastms. # # Copyright 2014 Evgeny Strekalovskiy <evgeny dot strekalovskiy at in dot tum dot de> (Technical University of Munich) # # fastms 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 Softw...
dtmoodie/fastms
examples/example3.sh
Shell
gpl-3.0
808
#!/bin/bash -e . ../lfs.comm build_src() { version=1.32 srcfil=tar-$version.tar.xz srcdir=tar-$version tar -xf $LFSSRC/$srcfil && cd $srcdir FORCE_UNSAFE_CONFIGURE=1 \ ./configure --prefix=/usr \ --bindir=/bin make $JOBS make install make -C doc install-html docdir=/usr/...
fangxinmiao/projects
Architeture/OS/Linux/Distributions/LFS/build-scripts/lfs-latest/2-build-final-system/60-tar.sh
Shell
gpl-3.0
381
#!/bin/sh # set GENBASE if target repo was changed print() { #echo "$@" true } add_and_remove() { local i=$2 [ -n "$i" ] || return cd $1 2>&1 || return local LIST="$i-[0-9]*.*.rpm" for file in $LIST ; do [ -r "$file" ] || { print "Skip $file (missed now)" ; continue ; } # FIXME: just compare dates? #tes...
vitlav/korinf
tools/publish-funcs.sh
Shell
agpl-3.0
1,011
#!/bin/bash # # A PVFS2 test script only useful for running # on a mounted GNU/Linux pvfs2 volume # # This script focuses on making sure that basic shell # programs work correctly on top of pvfs2. # # run this test like this: # # sh pvfs2-shell-test.sh /pvfs/mntpoint # ##################################### # runtime o...
acberk/trunk
test/kernel/linux-2.6/pvfs2-shell-test.sh
Shell
lgpl-2.1
31,970
#!/bin/sh -ex personality="$1" dependencies="\ appstream-util \ autoconf \ automake \ build-essential \ chromium-browser \ clang python3 \ curl \ dbus \ gcc-multilib \ gdb \ git \ glib-networking \ glib-networking-dbgsym\ gtk-doc-tools \ gettext \ libc6-...
moraleslazaro/cockpit
containers/unit-tests/setup.sh
Shell
lgpl-2.1
2,002
#!/bin/bash # shellcheck disable=SC1090,SC1091 source "$HOME"/.profile go get -u -d github.com/ory/hydra go get -d -u github.com/devopsfaith/krakend-examples/gin (cd "$HOME"/hydra-login-consent-node || exit; git pull -ff; npm i) cd "$HOME" || exit go install github.com/ory/hydra go install github.com/devopsfaith/krak...
ory-am/go-iam
internal/certification/scripts/update.sh
Shell
apache-2.0
337
#!/bin/bash ############################################################################### # # # Project: ECOOP, sponsored by The National Science Foundation # Purpose: this code is part of the Cyberinfrastructure developed for the ECOOP project # http://tw.rpi.edu/web/project/ECOOP # fr...
epifanio/ecoop-1
pyecoop/ecoop_install/03_install_pip1.sh
Shell
apache-2.0
3,083
#!/usr/bin/env bash function stop() { $APP stop || return 1 } if [ "$pkg_url" == "" ]; then echo {\"error\":\"pkg_url is empty\"} exit 1 elif [ "$root" == "" ]; then echo {\"error\":\"root is empty\"} exit 1 else APP_ROOT=$root$node_name APP_PID=$APP_ROOT/log/app.pid APP=$APP_ROOT/bi...
ChaosXu/nerv
resources/scripts/nerv/standalone/Process/stop.sh
Shell
apache-2.0
339
#!/bin/bash # 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 applic...
mbookman/dsub
test/integration/test_unit_util.sh
Shell
apache-2.0
6,733
#!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRO...
shridharmalimca/Shridhar.github.io
iOS/Components/GooglePlaceAPI/WebonoiseAssignment/Pods/Target Support Files/Pods-WebonoiseAssignment/Pods-WebonoiseAssignment-frameworks.sh
Shell
apache-2.0
4,069
#!/bin/bash docker ps -a | grep -q "redfish-simulator_1.1.0" if [ "$?" -eq 0 ]; then docker rm -f "redfish-simulator_1.1.0" fi # The -p option needs to be after the run command. No warning is given if before but doesn't work docker run -d -p 8001:8001 -p 8002:8002 -p 8003:8003 -p 8004:8004 -p 8005:8005 -p 8006:8006 -...
uggla/python-redfish
dmtf/mockup_1.1.0/run-redfish-simulator.sh
Shell
apache-2.0
949
docker run -d \ -p 8080:8080 \ magsol/lj-marathon --master zk://1.1.1.1:2181,2.2.2.2:2181/mesos --zk zk://1.1.1.1:2181,2.2.2.2:2181/marathon
quinngroup/littlejohn
dockerfiles/lj-marathon/start.sh
Shell
apache-2.0
149
workdir= cd ${workdir}/data/mircat mkdir -p ${workdir}/count/graph awk -F "," '{printf $7"\t"$6"\t"$2"\t"$3"-"$4"\n"}' Lib02_filt-18_26_5_corkoak-v0.2_mirbase_noncons_output_filtered.csv > ../../count/graph/miRCat-nodes.tsv cd ../../count/ cat all_seq_counts_cons.tsv | awk '{if(NR>1){printf $1"\t"$2"\n"}}' > graph/con...
forestbiotech-lab/sRNA-workflow
scripts/test_graph.sh
Shell
apache-2.0
1,625
#!/bin/sh - # # $FreeBSD: soc2013/dpl/head/usr.sbin/periodic/periodic.sh 231851 2012-02-12 23:18:05Z brooks $ # # Run nightly periodic scripts # # usage: periodic { daily | weekly | monthly } - run standard periodic scripts # periodic /absolute/path/to/directory - run periodic scripts in dir # usage () { e...
dplbsd/zcaplib
head/usr.sbin/periodic/periodic.sh
Shell
bsd-2-clause
3,756
#!/bin/bash # Copyright (c) 2013 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. EXECUTABLES=civetweb BUILD_DIR=${SRC_DIR} BuildStep() { export CFLAGS="${NACLPORTS_CPPFLAGS} ${NACLPORTS_CFLAGS}" export LDFLAGS="$...
kosyak/naclports_samsung-smart-tv
ports/civetweb/build.sh
Shell
bsd-3-clause
1,547
#!/bin/bash # Caution: This is common script that is shared by more SCLS. # If you need to do changes related to this particular collection, # create a copy of this file instead of symlink. THISDIR=$(dirname ${BASH_SOURCE[0]}) source ${THISDIR}/../../../common/functions.sh set -xe service $SERVICE_NAME restart # s...
khardix/sclo-ci-tests
collections/mysql-common/basic-usage/create-user.sh
Shell
bsd-3-clause
1,432
#!/bin/sh set -e set -u set -o pipefail function on_error { echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" } trap 'on_error $LINENO' ERR if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy # frameworks to, so exit 0 (signalling the...
PomTTcat/SourceCodeGuideRead_JEFF
RxSwiftGuideRead/RxDemoSelf/Pods/Target Support Files/Pods-RxDemoSelf/Pods-RxDemoSelf-frameworks.sh
Shell
mit
8,149
#!/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...
jonathangizmo/HadoopDistJ
hadoop-mapreduce-project/bin/mapred-config.sh
Shell
mit
2,824
#!/bin/bash set -e # Read the .secrets file (line by line) and generate a .secrets.js file # NOTE: Each secret is expected to be set as env var # module.exports = { # [secret name]: <secret value> # } SECRETS="module.exports = {" i=0 while read secret; do if [[ "${i}" != "0" ]]; then SECRETS="${SECR...
rolandjitsu/angular-lab
scripts/secrets.sh
Shell
mit
457
if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications fi ./usr/sbin/nvidia-switch --install
panosmdma/SlackOnly-SlackBuilds
system/nvidia-legacy340-driver/doinst.sh
Shell
mit
150
#!/usr/bin/env bash set -eo pipefail export DEBIAN_FRONTEND=noninteractive apt-get install -qq -y git make curl cd /tmp wget http://j.mp/godeb tar -zxvf ./godeb ./godeb install 1.1.2 export GOPATH=/root/go git clone https://github.com/flynn/gitreceive-next.git cd gitreceive-next && make install ssh-keygen -f $HOME...
u2mejc/dokku
tests/ci/setup.sh
Shell
mit
640
#!/usr/bin/env bash file="$1" inspath='/usr/local/maldetect' intcnf="$inspath/internals/internals.conf" if [ -f "$intcnf" ]; then source $intcnf fi ## these values can be overridden in conf.maldet.hookscan quarantine_hits=1 quarantine_clean=0 scan_tmpdir_paths='' hscan=1 isclamd=`pidof clamd 2> /dev/null` if [ "$is...
waja/linux-malware-detect
files/hookscan.sh
Shell
gpl-2.0
702
#!/bin/sh perl replace.pl x=\" x=\"- $1 *.xmesh perl replace.pl z=\" z=\"- $1 *.xmesh perl replace.pl i=\" i=\"- $1 *.xmesh perl replace.pl k=\" k=\"- $1 *.xmesh perl replace.pl \"-- \" $1 *.xmesh
vinni-au/vega-strike
vegastrike/objconv/flipunits/flipunits.sh
Shell
gpl-2.0
196
#!/bin/sh set -e VERSION_CODE=404001 VERSION_NAME=0.4.4.1 echo_usage() { echo "" echo "Usage:" echo " version.sh 102003 1.2.3" echo "" } if [ -z "$VERSION_CODE" -o -z "$VERSION_NAME" ]; then echo_usage exit 1 fi # README.md # cat README.md \ # | sed "s/\(#compile 'tv.danmaku.ijk.media:ij...
treejames/ijkplayer
version.sh
Shell
gpl-2.0
1,754
#!/bin/sh # # This file is part of Lumberjack. # Copyright 2014 CERN. # # Lumberjack is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free # Software Foundation, either version 3 of the License, or (at your option) any # later vers...
jmacmahon/lumberjack
run_tests.sh
Shell
gpl-3.0
826
#!/bin/sh # this runs the file serving tests that are expected to pass with samba3 if [ $# -lt 7 ]; then cat <<EOF Usage: test_smbclient_s3.sh SERVER SERVER_IP DOMAIN USERNAME PASSWORD USERID LOCAL_PATH PREFIX SMBCLIENT WBINFO EOF exit 1; fi SERVER="${1}" SERVER_IP="${2}" DOMAIN="${3}" USERNAME="${4}" PASSWORD="${5}...
wimberosa/samba
source3/script/tests/test_smbclient_s3.sh
Shell
gpl-3.0
11,787
branch="main" while getopts "hb:c:" opt; do case $opt in h) echo "Usage: $0 [-h] [-b <github_branch_name>] -c <P4_changelist>" exit 1 ;; b) branch=$OPTARG ;; c) changelist=$OPTARG ;; /?) echo "Invalid option: -$OPTAR...
andrewcorrigan/thrust-multi-permutation-iterator
internal/scripts/refresh_from_github2.sh
Shell
apache-2.0
2,984
#!/bin/bash sed -i 's|"benchmarkdbpass", ".*", 3306|"benchmarkdbpass", "'"${DBHOST}"'", 3306|g' src/hello_world_app.erl fw_depends mysql erlang rm -rf deps/* ebin/* rebar get-deps rebar compile erl -pa ebin deps/*/ebin +sbwt very_long +swt very_low -s hello_world -noshell -detached
sanjoydesk/FrameworkBenchmarks
frameworks/Erlang/cowboy/setup.sh
Shell
bsd-3-clause
287
#!/bin/bash FN="flowPloidyData_1.12.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.10/data/experiment/src/contrib/flowPloidyData_1.12.0.tar.gz" "https://bioarchive.galaxyproject.org/flowPloidyData_1.12.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-flowploidydata/bioconductor-flowploidyda...
Luobiny/bioconda-recipes
recipes/bioconductor-flowploidydata/post-link.sh
Shell
mit
1,322
#!/bin/sh -e # Updates a specific set of files from the webapp repo, that are needed # for khan-exercises 'local' mode. See the README for more details. # # I also take the opportunity to update khan-site.css, which isn't # a direct copy but is able to be munged automatically. # # If an argument is specified, it is t...
laurennicolaisen/laurennicolaisen.github.io
node_modules/perseus/ke/local-only/update_local.sh
Shell
mit
2,664
#!/bin/bash FN="pd.felgene.1.0.st_3.12.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.12/data/annotation/src/contrib/pd.felgene.1.0.st_3.12.0.tar.gz" "https://bioarchive.galaxyproject.org/pd.felgene.1.0.st_3.12.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-pd.felgene.1.0.st/bioconductor-...
bebatut/bioconda-recipes
recipes/bioconductor-pd.felgene.1.0.st/post-link.sh
Shell
mit
1,466
#!/bin/sh # # Copyright (c) 2011 David Caldwell # test_description='Test git stash --include-untracked' . ./test-lib.sh test_expect_success 'stash save --include-untracked some dirty working directory' ' echo 1 > file && git add file && test_tick && git commit -m initial && echo 2 > file && git add file && ec...
Ikke/git
t/t3905-stash-include-untracked.sh
Shell
gpl-2.0
6,710
#! /bin/sh # # Shell script to adjust the version numbers and dates in allegro.h, # dllver.rc, readme._tx, allegro._tx, makefile.ver, allegro-config.in, # allegro-config.qnx, modules.lst and allegro.spec . # # Note: if you pass "datestamp" as the only argument, then the version # digits will remain unchanged and t...
gwx/ZeldaClassic
allegro/misc/fixver.sh
Shell
gpl-3.0
4,966
#!/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");...
anshuiisc/storm-Allbolts-wiring
storm-dist/binary/target/apache-storm-1.0.3/conf/storm-env.sh
Shell
apache-2.0
947
#!/bin/bash # Copyright 2019 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 ...
ulfjack/bazel
scripts/packages/bazel.sh
Shell
apache-2.0
8,677
#!/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...
iobeam/kubernetes
hack/upgrade-e2e-test.sh
Shell
apache-2.0
1,311
#!/bin/bash lib=$(dirname $0)/lib $lib/uflow.py -l tcl "$@"
mcaleavya/bcc
tools/tclflow.sh
Shell
apache-2.0
60
#!/bin/bash # # Simple bash script that will execute another process, which is *expected* to fail; # this is useful mainly for running test/error and other expected-to-fail tests. # echo Running $1 "$1" if [[ "$?" -ne "0" ]] then echo "Success" exit 0 fi echo "Expected Failure from '$1', but got Success" exit -1...
Trass3r/Halide
test/common/expect_failure.sh
Shell
mit
321
#!/system/bin/sh # Copyright (c) 2012, The Linux Foundation. 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, th...
newhor1z0n/furnace_kernel_motorola_falcon
ramdisk/init.qcom.syspart_fixup.sh
Shell
gpl-2.0
3,130
#!/usr/bin/env perl ############################################################################ # Stress test for MySQL/Innobase combined database # (c) 2000 Innobase Oy & MySQL AB # ############################################################################ use Cwd; use DBI; use Benchmark; $opt_loop_count ...
MariaDB/server
sql-bench/innotest2a.sh
Shell
gpl-2.0
2,797
#! /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 ...
hika-server/automake
t/remake-renamed-m4-macro.sh
Shell
gpl-2.0
1,484
#!/bin/sh do_ralink() { . /lib/ralink.sh } boot_hook_add preinit_main do_ralink
WhireCrow/openwrt-mt7620
target/linux/ralink/base-files/lib/preinit/03_preinit_do_ralink.sh
Shell
gpl-2.0
83
#!/usr/bin/env bash # Copyright 2016 The TensorFlow 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...
cancan101/tensorflow
tensorflow/tools/ci_build/linux/libtensorflow.sh
Shell
apache-2.0
1,187
#!/bin/sh # Copyright 2010 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e gomake life echo '*' life >run.out ./life >>run.out diff run.out golden.out gomake clean
tav/go
misc/cgo/life/test.bash
Shell
bsd-3-clause
264
#!/usr/bin/env bash # ==================================================================== # Sets the cross compile environment for ARM Embedded # # Written by Jeffrey Walton, noloader gmail account # # Crypto++ Library is copyrighted as a compilation and (as of version 5.6.2) # licensed under the Boost Software Licen...
smessmer/cryfs
vendor/cryptopp/vendor_cryptopp/setenv-embedded.sh
Shell
lgpl-3.0
4,589
#!/bin/bash # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh set -e TEST_DESCRIPTION="EXTEND_TIMEOUT_USEC=usec start/runtime/stop tests" SKIP_INITRD=yes TEST_NO_QEMU=1 . $TEST_BASE_DIR/test-functions test_setup() { create_empty_image mkdir -p $TESTD...
whot/systemd
test/TEST-16-EXTEND-TIMEOUT/test.sh
Shell
gpl-2.0
1,663
# Helpers for terminal output tests. test_expect_success PERL 'set up terminal for tests' ' # Reading from the pty master seems to get stuck _sometimes_ # on Mac OS X 10.5.0, using Perl 5.10.0 or 5.8.9. # # Reproduction recipe: run # # i=0 # while ./test-terminal.perl echo hi $i # do # : $((i = $i + 1)) # d...
github/git-msysgit
t/lib-terminal.sh
Shell
gpl-2.0
788
#!/bin/bash # Copyright 2012 Hewlett-Packard Development Company, L.P. # Copyright 2013 OpenStack 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/li...
noorul/os-project-config
jenkins/scripts/jenkins-sudo-grep.sh
Shell
apache-2.0
2,047
#!/bin/sh # # Copyright (C) 2005 Rene Scharfe # test_description='git archive and git get-tar-commit-id test This test covers the topics of file contents, commit date handling and commit id embedding: The contents of the repository is compared to the extracted tar archive. The repository contains simple text fi...
twitter/git
t/t5000-tar-tree.sh
Shell
gpl-2.0
8,251
#!/bin/sh #check JAVA_HOME & java noJavaHome=false if [ -z "$JAVA_HOME" ] ; then noJavaHome=true fi if [ ! -e "$JAVA_HOME/bin/java" ] ; then noJavaHome=true fi if $noJavaHome ; then echo echo "Error: JAVA_HOME environment variable is not set." echo exit 1 fi #===================================...
inspur-iop/Mycat-Server
src/main/assembly/bin/dataMigrate.sh
Shell
gpl-2.0
3,567
#/bin/bash Releases=("3.8" "3.9" "4.0" "5.0", "develop") Dates=("2010-01-01", "2011-01-01", "2012-01-01", "2013-01-01", "2014-01-01", "2015-01-01", "2016-07-01") let "counter = 1" for i in "${Releases[@]}" do git shortlog -s -n --after=${Dates[counter-1]} --before=${Dates[counter]} echo -n "Total $i: " git log...
guerrierk/dolibarr
dev/tools/github_commits_perversion.sh
Shell
gpl-3.0
468
#!/usr/bin/env bash ### bash best practices ### # exit on error code set -o errexit # exit on unset variable set -o nounset # return error of last failed command in pipe set -o pipefail # expand aliases shopt -s expand_aliases # print trace set -o xtrace ### logfile ### timestamp="$(date +%Y-%m-%d_%H-%M-%S)" logfile=...
droboports/monit
build.sh
Shell
gpl-2.0
5,290
#!/bin/sh # analytics.sh # ---------------------------------------------------------------------------- # Copyright 2016 WSO2, Inc. http://www.wso2.org # # 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 th...
wso2-incubator/product-iot-server
modules/distribution/src/core/bin/analytics.sh
Shell
apache-2.0
1,902
#!/bin/bash -eux mkdir /tmp/vbox VER=$(cat /home/vagrant/.vbox_version) wget http://download.virtualbox.org/virtualbox/$VER/VBoxGuestAdditions_$VER.iso mount -o loop VBoxGuestAdditions_$VER.iso /tmp/vbox sh /tmp/vbox/VBoxLinuxAdditions.run umount /tmp/vbox rmdir /tmp/vbox rm *.iso mkdir /home/vagrant/.ssh wget --no-c...
eyecat/bento_vmir
templates/centos-5.9/scripts/vagrant.sh
Shell
apache-2.0
525
#!/bin/sh # Copyright 2015 Oliver Hahm <oliver.hahm@inria.fr> # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. NOVENDOR=":!*/vendor/*" # If no branch but an option is given, unset BRANCH. # Otherw...
MichelRottleuthner/RIOT
dist/tools/whitespacecheck/check.sh
Shell
lgpl-2.1
1,165
#!/bin/sh . "${TEST_SCRIPTS_DIR}/unit.sh" define_test "missing nodes file" setup_nodes <<EOF 192.168.20.41 192.168.20.42 192.168.20.43 EOF rm -f "$CTDB_NODES" required_result 255 <<EOF ${TEST_DATE_STAMP}Failed to read nodes file "${CTDB_NODES}" EOF simple_test <<EOF NODEMAP 0 192.168.20.41 0x0 CURRENT...
Gazzonyx/samba
ctdb/tests/tool/stubby.xpnn.003.sh
Shell
gpl-3.0
381