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/sh #******************************************************************************* # # Copyright (C) 2015-2018 the BBoxDB project # # 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 Li...
jnidzwetzki/scalephant
bin/bootstrap.sh
Shell
apache-2.0
1,337
#!/usr/bin/env bash hadoop fs -rm -r -skipTrash /user/root/avro cat << EOF > /tmp/avro.properties spark.ui.enabled=true system.in.read=true gdb.path=hdfs:///user/root/TXDOT_Roadway_Inventory.gdb point.path=hdfs:///user/root/points.csv output.path=hdfs:///user/root/avro output.format=avro EOF time spark-submit\ --maste...
mraad/spark-snap-points
yarn-avro.sh
Shell
apache-2.0
544
#!/usr/bin/env bash # This file contains logic for integration tests which are executed by CI upon pull requests to # dcos-commons. The script builds each framework, packages and uploads it, then runs its # integration tests against a newly-launched cluster. # Exit immediately on errors -- the helper scripts all emit...
adragomir/dcos-commons
test.sh
Shell
apache-2.0
3,551
#!/bin/bash #author : Jam < ops@doat.cc > #version : 1.0 #description : 本脚本主要用来处理Pycharm的模板安装 PY_VERSION=${PY_VERSION:=2016.3} TMP_URL=${TMP_URL:=https://raw.githubusercontent.com/favorinfo/templates/master} TMP_PATH=${TMP_PATH:=Library/Preferences/PyCharm${PY_VERSION}/templates} ITEMS="Jam Model DjangoHTML" ...
favorinfo/templates
install.sh
Shell
apache-2.0
548
#!/usr/bin/env bash set -euxo pipefail readonly LOCAL_JAR_NAME='beam-runners-flink_2.11-job-server.jar' readonly SERVICE_INSTALL_DIR='/usr/lib/beam-job-service' readonly SERVICE_WORKING_DIR='/var/lib/beam-job-service' readonly SERVICE_WORKING_USER='yarn' readonly ARTIFACTS_GCS_PATH_METADATA_KEY='beam-artifacts-gcs-p...
dennishuo/dataproc-initialization-actions
beam/beam.sh
Shell
apache-2.0
4,711
#!/bin/bash set -x source ./environment.sh mkdir ./zoo mkdir ./pyzoo export ZOO_PATH=zoo export PYZOO_PATH=pyzoo echo ">>> $MASTER, start spark-driver" ssh root@$MASTER "docker run -itd \ --privileged \ --net=host \ --cpuset-cpus="2-5" \ --oom-kill-disable \ --device=/dev/gsgx \ --...
intel-analytics/BigDL
ppml/trusted-big-data-ml/python/docker-graphene/start-distributed-spark-driver.sh
Shell
apache-2.0
1,089
# Gets node 1 source `dirname $0`/../../functions.sh GET $* curl $copts -X GET -H 'Accept: application/json' $EXCHANGE_URL_ROOT/v1/nodes/1'?id='$EXCHANGE_USER'&token='$EXCHANGE_PW | $parse
cgiroua/exchange-api
src/test/bash/get/nodes/1-urlparms-user.sh
Shell
apache-2.0
189
#!/bin/bash # # This script installs development and QA tools for Fuel. # set -e TOP_DIR=$(cd $(dirname "$0") && pwd) source ${TOP_DIR}/helpers/functions.sh print_usage() { echo "Usage: ${0##*/} [-h]" echo "Options:" echo " -h: print this usage message and exit" } check_root() { local user=$(/usr/...
shakhat/mos-dev-tools
install.sh
Shell
apache-2.0
8,481
#!/bin/bash mongo --port 27003 --eval "var cfg = rs.config(); cfg.members[2].priority = 0; rs.reconfig(cfg);" sleep 15 mongo --port 27003 --eval "load('a.js'); part4();"
stasel/M102
final/final 4.sh
Shell
apache-2.0
172
#!/bin/bash ROOT_DIR=$(cd $(dirname $0)/../ && pwd) docker run --rm -ti -v $ROOT_DIR:/src --workdir=/src -e HOST_USER_ID=$(id -u) -e HOST_USER_GROUP_ID=$(id -g) -e HOST_USER_NAME=$USER approximator/clangformat:4.0 bash -c "find /src/firmware -maxdepth 1 \( -name '*.c' -o -name '*.h' \) -print -exec clang-format-4.0 -...
approximator/SimpleSINS
scripts/format.sh
Shell
apache-2.0
465
#!/bin/bash -eux # "sysprep" actions adapted from source at # https://github.com/libguestfs/libguestfs/tree/master/sysprep # echo "Removing log files and stale data" logfiles=" /root/anaconda-ks.cfg /root/anaconda-post.log /root/initial-setup-ks.cfg /root/install.log /root/install.log.syslog /var/cache/fontconfig/* /va...
norcams/himlar-base
centos-base/bin/post.sh
Shell
apache-2.0
2,145
#!/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...
gtank/kubernetes
hack/lib/golang.sh
Shell
apache-2.0
21,850
#!/bin/bash -e # Copyright 2020 Google LLC buildpath=$1 sourcepath=$2 stl=$3 if [[ -z "${buildpath}" || -z "${sourcepath}" ]]; then echo "Usage: $0 <build path> <source path> [c++|gnustl]" exit 1 fi if [[ ! -d "${sourcepath}" ]]; then echo "Source path '${sourcepath}' not found." exit 2 fi if [[ "$...
firebase/firebase-cpp-sdk
build_scripts/android/build.sh
Shell
apache-2.0
3,087
#!/bin/bash HOST=$1 USER=$2 usage() { echo "Usage: $0 [host string] [username]" exit 1 } if [ -z $HOST ] then echo "Error: missing host string" usage fi fab -H $HOST -u $USER fullstrap_minions
zheli/dev-environment
bootstrap.sh
Shell
apache-2.0
205
#!/bin/bash -xe # test-setup.sh - Install required stuffs # Used in both CI jobs and locally # # Install the following tools: # * dep # Get OS case $(uname -s) in Darwin) OS=darwin ;; Linux) if LSB_RELEASE=$(which lsb_release); then OS=$($LSB_RELEASE -s -c) else ...
kubernetes/cloud-provider-openstack
tools/test-setup.sh
Shell
apache-2.0
1,637
#!/usr/bin/env bash # Copyright 2019 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...
alsrgv/tensorflow
tensorflow/tools/ci_build/windows/libtensorflow_gpu.sh
Shell
apache-2.0
2,853
#!/bin/bash -e # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
legrosbuffle/kythe
kythe/cxx/extractor/testdata/test_index_pack.sh
Shell
apache-2.0
1,519
#!/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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
googleapis/java-monitoring-dashboards
.kokoro/release/publish_javadoc.sh
Shell
apache-2.0
1,430
#!/usr/bin/env bash curl -i -X POST \ -H "Accept:application/json" \ -H "Content-Type:application/json" \ localhost:8083/connectors/mysql-source-connector/restart
medvekoma/debezium-poc
confluent/05-restart-source-connector.sh
Shell
apache-2.0
169
#!/bin/bash -e # Copyright 2017-2018 VMware, 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 b...
dougm/govmomi
scripts/vcsa/create-esxi-vm.sh
Shell
apache-2.0
8,288
#!/usr/bin/env bash # # Copyright 2012-2014, Continuuity, 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 applic...
awholegunch/loom
bin/loom-dummy-provisioner.sh
Shell
apache-2.0
3,237
#!/bin/bash #yum install -y http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm || true #yum install -y https://github.com/SharedHealth/FreeSHR-SCM/raw/master/dist/shr_scm_utils-0.1-1.noarch.rpm || true #yum install -y https://github.com/SharedHealth/FreeSHR-SCM/raw/master/dist/shr_scm-0.1-1.noarc...
SharedHealth/DHIS-Server
scripts/provision-local.sh
Shell
apache-2.0
480
#!/bin/bash # # Sets up the environment for launching a FITS instance via # either the fits.sh launcher, or the fits-ngserver.sh Nailgun server FITS_ENV_SCRIPT="$0" # Resolve symlinks to this script while [ -h "$FITS_ENV_SCRIPT" ] ; do ls=`ls -ld "$FITS_ENV_SCRIPT"` # Drop everything prior to -> link=`expr "$ls...
uvalib/Libra2
tools/fits-1.2.0/fits-env.sh
Shell
apache-2.0
1,081
#!/bin/sh -eux arch="`uname -r | sed 's/^.*[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\(-[0-9]\{1,2\}\)-//'`" debian_version="`lsb_release -r | awk '{print $2}'`"; major_version="`echo $debian_version | awk -F. '{print $1}'`"; apt-get update; # Disable systemd apt timers/services if [ "$major_version" -ge "9" ]; then sy...
juliandunn/bento
debian/scripts/update.sh
Shell
apache-2.0
948
#! /bin/bash # Fail on a non-zero exit code (leaving user to cleanup) set -e # # Checks to see whether any temporary instances are still hanging around # INSTANCES=`aws ec2 describe-instances --region ${AWS_REGION} --filters Name=owner-id,Values=${AWS_OWNER_ID} Name=instance-state-name,Values=running Name=key-name,Va...
fcrepo4-labs/fcrepo4-packer-graphite
scripts/cleanup-failure.sh
Shell
apache-2.0
519
#!/bin/bash docker build -t graceful-shutdown-test-provider:latest .
bmwcarit/joynr
tests/graceful-shutdown-test/graceful-shutdown-test-provider/build_docker_image.sh
Shell
apache-2.0
70
#!/bin/bash # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distribute...
teamclairvoyant/hadoop-deployment-bash
services/update_iptables_kdc.sh
Shell
apache-2.0
3,929
#!/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
bootstrap-host.sh
Shell
apache-2.0
3,700
#!/bin/bash -x export wavelength_file=/wizards/oli-vis.wmd export outfile=$2/$(basename -s .tif $1)_clusters cp /wizards/tad.wiz /tmp/ cat << EOF | python import xml.etree.ElementTree as ET ET.register_namespace('', "https://comet.balldayton.com/standards/namespaces/2005/v1/comet.xsd") tree = ET.parse('/wizards/tad.ba...
ngageoint/scale
dockerfiles/examples/tad/runOpticks.sh
Shell
apache-2.0
742
#!/bin/sh cd spark sbt assembly && spark-submit --master 'local[2]' --class RawEventProcessing target/scala-2.10/killranalytics-assembly-1.0.jar
rustyrazorblade/killranalytics
bin/build_and_run_streaming.sh
Shell
apache-2.0
147
#!/bin/sh curl -X POST -ssl3 -d "server_url=https://formhub.org/gigix&form_id=Patient" https://enketo.formhub.org/transform/get_html_form
gigix/shivaganda
village-enketo/form/formhub.sh
Shell
apache-2.0
138
#!/bin/sh # when adding new module to maflib, please # run this command to add the document of # that new module. sphinx-apidoc -f -o ./source ../maflib
pfi/maf
document/update_apidoc.sh
Shell
bsd-2-clause
154
#ssh ros@baycat 'rm -rf ~/osu-uwrt/riptide_software/src' ~/osu-uwrt/riptide_software/src/riptide_utilities/dates_scripts/date_set-baycat.sh rsync -vrzc --delete --exclude=".*" --exclude=".*/" ~/osu-uwrt/riptide_software/src ros@baycat:~/osu-uwrt/riptide_software ssh ros@baycat 'chmod 700 ~/osu-uwrt/riptide_software/s...
tsender/riptide_software
riptide_utilities/xfer-baycat.sh
Shell
bsd-2-clause
445
# # only init if installed. fasd_cache="$HOME/.fasd-init-bash" if [ "$(command -v fasd)" -nt "$fasd_cache" -o ! -s "$fasd_cache" ]; then eval "$(fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install)" >| "$fasd_cache" fi source "$fasd_cache" unset fasd_cache # jump to recently use...
ay65535/yadr
zsh/fasd.zsh
Shell
bsd-2-clause
569
#!/bin/sh DIRNAME=`dirname $0` # Setup the JVM if [ "x$JAVA_HOME" != "x" ]; then JAVA="$JAVA_HOME/bin/java" else JAVA="java" fi if [ ! -f "$DIRNAME/ksar.jar" ] ; then echo "Unable to find ksar.jar" exit 1; fi exec $JAVA $JAVA_OPT -jar $DIRNAME/ksar.jar $@
benbenw/ksar
src/main/bin/run.sh
Shell
bsd-3-clause
276
while read line || [ -n "$line" ]; do f=1 for ((i=0; i<${#line}; i++)); do a="${line:$i:1}" if [ -z "${a//[a-zA-Z]}" ] && [ $f -eq 1 ]; then printf ${a^^} f=0 elif [ -z "${a//[ ]}" ]; then printf "$a" f=1 else printf "$a...
nikai3d/ce-challenges
easy/capitalize_words.bash
Shell
bsd-3-clause
377
#!/bin/sh COVERAGE="`which python-coverage`" if [ -z "$COVERAGE" ] then COVERAGE="`which coverage`" fi cd $CI_HOME/conpaas-client python setup.py install cd $CI_HOME/conpaas-director # Create fake files/directories not really needed for unit testing touch ConPaaS.tar.gz mkdir conpaas cp -a ../conpaas-services/...
mihaisoloi/conpaas
travis.sh
Shell
bsd-3-clause
835
# Usage: # source scripts/make-env-vex.sh [env name=repo folder name by default] repo=$(git rev-parse --show-toplevel) envname=$1 if [ -z "$envname" ]; then envname=$(basename $repo) fi echo ~~~ Building temporary vex environment called \"$envname\" for repo \"$repo\". rmvirtualenv $envname vex -m --python python2...
level12/keg-bouncer
scripts/make-env-vex.sh
Shell
bsd-3-clause
585
#!/bin/bash set -ev if [ $TRAVIS_BRANCH != 'master' ] && [ $TRAVIS_PULL_REQUEST = 'false' ] then if [ $JOB_TYPE == 'rest' ] then yarn lint yarn test npx lerna run test --stream --since -- -- --ci --bail --coverage else npx lerna run test:$JOB_TYPE --stream --since -- -- --ci --bail --coverage f...
newsuk/times-components
lib/run_jobs.sh
Shell
bsd-3-clause
972
brew install node npm install -g gulp sudo gem install sass npm install mkdir keys touch keys/mc.json echo -e "{\n\t\"apiKey\":\"\"\n}" >> ./keys/mc.json
Jewelbots/www
bootstrap.sh
Shell
bsd-3-clause
154
#!/bin/bash # # Copyright (C) 2012 Brian Aker # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of c...
tony2001/libmemcached
bootstrap.sh
Shell
bsd-3-clause
9,830
rm database/cvfh/*.pcd rm database/pointCloud/*.pcd rm database/poseArm/*.txt rm database/poseObject/*.txt rm database/transform/*.txt
jpmerc/perception3d
cleanDatabase.sh
Shell
bsd-3-clause
135
#!/bin/sh export DESTDIR="${HOME}/prefix" export PATH="$DESTDIR/usr/bin:$PATH" export LD_LIBRARY_PATH="$DESTDIR/usr/lib" #FIXME should be lib64 for a 64bit build export DYLD_LIBRARY_PATH="$LD_LIBRARY_PATH" # OSX export PYTHONPATH="../python:$DESTDIR/var/libcrange/python" #rm python/*.pyc cd t for i in *.t; do echo "T...
eam/libcrange
source/testit.sh
Shell
bsd-3-clause
354
cmake .. \ -DCMAKE_C_COMPILER="/opt/cray/craype/2.2.1/bin/cc" \ -DCMAKE_CXX_COMPILER="/opt/cray/craype/2.2.1/bin/CC" \ -DCMAKE_C_FLAGS="-g -O2" \ -DCMAKE_CXX_FLAGS="-g -O2" \ -DENABLE_THREADS=ON \ -DENABLE_ZOLTAN=ON \ -DIS_TESTING=OFF \ -DZOLTAN_INCLUDE_DIR="/global/project/projectdirs/mp288/edison/pets...
SCOREC/m3dc1_scorec
config-files/core-edison-config.sh
Shell
bsd-3-clause
934
#!/bin/sh -e # # Copyright (c) 2015 Wi-Fi Alliance # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE A...
liyinsg/Wi-FiTestSuite-Linux-DUT
WTGService/WTGService.sh
Shell
isc
1,809
#!/bin/bash # # Author: Florian Pelgrim # Email: florian.pelgrim@craneworks.de # URL: https://github.com/craneworks/pki-manager # License: MIT (see LICENSE for more informations) # Copyright 2013 # # Helper script to generate a crl from given config file # # Script vars SCRIPT=`basename $0` source ./etc/vars main(...
craneworks/pki-manager
bin/helpers/create-crl.sh
Shell
mit
1,629
#!/usr/bin/env sh # generated from catkin/cmake/templates/env.sh.in if [ $# -eq 0 ] ; then /bin/echo "Entering environment at '/home/meka/mekabot/m3meka/ros/shm_led_mouth/catkin_generated', type 'exit' to leave" . "/home/meka/mekabot/m3meka/ros/shm_led_mouth/catkin_generated/setup_cached.sh" "$SHELL" -i /bin/e...
CentralLabFacilities/m3meka
ros/shm_led_mouth/catkin_generated/env_cached.sh
Shell
mit
515
#!/bin/bash if [[ $TRAVIS_BRANCH == 'master' ]] then echo "Building Site Configs" grunt build-config # echo "Building Chrome Extension" # grunt chrome-extension fi
waltzio/waltz
travis-before.sh
Shell
mit
169
#!/bin/bash FN="AffymetrixDataTestFiles_0.26.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.11/data/experiment/src/contrib/AffymetrixDataTestFiles_0.26.0.tar.gz" "https://bioarchive.galaxyproject.org/AffymetrixDataTestFiles_0.26.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-affymetrixdat...
roryk/recipes
recipes/bioconductor-affymetrixdatatestfiles/post-link.sh
Shell
mit
1,367
#!/usr/bin/env bash set -Eeuxo pipefail git push https://${GH_TOKEN}@github.com/argcv/argcv.git master --force cd /tmp git clone https://github.com/argcv/go-argcvapis.git cd go-argcvapis git commit --allow-empty -m "Upstream is updated" git push https://${GH_TOKEN}@github.com/argcv/go-argcvapis.git master
yuikns/argcv
.github/travis/deploy.sh
Shell
mit
310
#!/usr/bin/env sh # -*- Mode: sh -*- # tar-world.sh --- tar up important configuration files # Copyright (C) 2015-2020 Dan Harms (dharms) # Author: Dan Harms <danielrharms@gmail.com> # Created: Friday, May 29, 2015 # Version: 1.0 # Modified Time-stamp: <2020-09-24 10:10:47 dharms> # Modified by: Dan Harms # Keywords: ...
articuluxe/harmsway
host/cathode/bin/tar-world.sh
Shell
mit
2,063
#!/usr/bin/env bash export GOROOT="/usr/local/src/go" export PATH="${GOROOT}/bin:${PATH}" export GOPATH="/go" export PATH="${PATH}:${GOPATH}/bin"
viljaste/docker-registry
src/registry/build/modules/registry/files/etc/profile.d/go.sh
Shell
mit
150
#!/bin/sh # Check Command-Line Arguments. USAGE="usage: ${0##*/} <Topic Name>" if [ $# -eq 0 ] ; then echo "No arguments supplied - ${USAGE}" exit 1 fi if [ $# -ne 1 ] ; then echo "Incorrect # of arguments - ${USAGE}" exit 1 fi kafka-topics --zookeeper localhost:2181 --delete --topic $1
tmarrs/json-at-work
chapter-10/scripts/delete-topic.sh
Shell
mit
300
# https://github.com/dotless-de/vagrant-vbguest vagrant plugin install vagrant-vbguest # https://github.com/dergachev/vagrant-vbox-snapshot vagrant plugin install vagrant-vbox-snapshot # https://github.com/fgrehm/vagrant-pristine vagrant plugin install vagrant-pristine # https://github.com/nickryand/vagrant-multi-p...
DieterReuter/meanstack-ide
vagrant-plugins.sh
Shell
mit
453
#!/bin/bash start=`date +%s.%N` mkdir multigpu-trained CUDA_VISIBLE_DEVICES=$deviceId python fcn5_mnist.py --batch_size=$batch_size --epochs=$epochs --device_id=$deviceId end=`date +%s.%N` runtime=$( echo "$end - $start" | bc -l ) echo "finished with execute time: ${runtime}" rm -rf multigpu-trained
hclhkbu/dlbench
tools/tensorflow/fc/t.sh
Shell
mit
303
#!/bin/sh set -eu # No args. # Example usage: sh winetricks-update.sh # Remove existing winetricks. sudo aptdcon -r winetricks # Fetch and install winetricks. wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks chmod +x winetricks sudo mv winetricks /usr/local/bin # Update winetricks....
iterami/AutomationScripts
wine/winetricks-update.sh
Shell
cc0-1.0
351
#!/bin/bash wget https://zenodo.org/record/13945/files/popcRUN4.tpr wget https://zenodo.org/record/13945/files/popcRUN4.trr tprname=popcRUN4.tpr trajname=popcRUN4.trr trajgroname=analTMP.gro sn1outname=OrderParamSN1lowHYD.dat sn2outname=OrderParamSN2lowHYD.dat mappingFILE=../MAPPING/mappingPOPCcharmm.txt analFILE=../.....
jmelcr/NmrLipidsCholXray
scratch/POPCcharmm/calcORDPchainsLOWhydration.sh
Shell
gpl-2.0
1,397
#!/usr/bin/env bash # Author: Jon Schipp ######## # Examples: # 1.) Return critical if stat does not exit successfully # $ ./check_filesystem_errors.sh -p /mnt -d 2 # # Nagios Exit Codes OK=0 WARNING=1 CRITICAL=2 UNKNOWN=3 usage() { cat <<EOF Nagios plug-in that recursively checks for filesystem input/output erro...
zBMNForks/nagios-plugins
check_filesystem_stat.sh
Shell
gpl-2.0
1,342
run_bench() { $SHELLPACK_INCLUDE/shellpack-bench-saladfork \ --iterations $SALADFORK_ITERATIONS return $? }
kdave/mmtests
drivers/driver-saladfork.sh
Shell
gpl-2.0
112
# Copyright: 2016 Masatake YAMATO # License: GPL-2 CTAGS=$1 ${CTAGS} --quiet --options=NONE --language-force=C --languages=-C input.c
lizh06/ctags
Tmain/languages-and-language-force-options.d/run.sh
Shell
gpl-2.0
135
# 400_restore_with_dp.sh # Purpose: Restore script to restore file systems with Data Protector # /opt/omni/bin/omnidb -filesystem test.internal.it3.be:/ '/' -latest -detail # #SessionID : 2008/12/24-1 # Started : wo 24 dec 2008 11:42:21 CET # Finished : wo 24 dec 2008 11:54:52 CET # Object sta...
terreActive/rear
usr/share/rear/restore/DP/default/400_restore_with_dp.sh
Shell
gpl-3.0
1,936
#!/bin/sh # # srecord - Manipulate EPROM load files # Copyright (C) 2013 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 the License, or (at # your option) any...
freyc/SRecord
test/02/t0231a.sh
Shell
gpl-3.0
1,479
#!/bin/sh # usage: # mkcontrol.sh target-control-file package-name version arch PACKAGE=$2 VERSION=$3 ARCH=$4 cat > $1 << EOF Package: $PACKAGE Version: $VERSION Section: database Priority: optional Depends: libstdc++6 Architecture: $ARCH Installed-Size: 1024 Maintainer: Scalien Software (info@scalien.com) Source:...
timoc/scaliendb
script/debian/mkcontrol.sh
Shell
agpl-3.0
429
#!/usr/bin/env bash SCM_THEME_PROMPT_DIRTY=" ${red}✗" SCM_THEME_PROMPT_CLEAN=" ${green}✓" SCM_THEME_PROMPT_PREFIX=" ${blue}scm:( " SCM_THEME_PROMPT_SUFFIX="${blue} )" GIT_THEME_PROMPT_DIRTY=" ${red}✗" GIT_THEME_PROMPT_CLEAN=" ${green}✓" GIT_THEME_PROMPT_PREFIX="${green}git:( " GIT_THEME_PROMPT_SUFFIX="${green} )" fu...
huang-qiao/Tools
dot_files/bash/themes/pro/pro.theme.bash
Shell
apache-2.0
526
#!/bin/sh PWD_MINE= echo $PW<caret> export PWD_MINE_NO_OK=
jansorg/BashSupport
testData/codeInsight/completion/variableNameCompletion/globalCompletionInvocationTwo.bash
Shell
apache-2.0
61
#!/bin/bash echo "#ITS \t 5 \t 10 \t 15 \t 20" > data.txt folder=$(pwd) for i in 10 20 30 40 50 60 70 80 90 100 120 150 200 500 do s5=0; s10=0; s15=0; s20=0; for j in {1..100} do echo $i $j a=$($folder/build/eval_ocr $i TrainingDataF5) s5=$(echo "scale=4; $s5+$a" | bc -q 2>/dev/null) a=$($folder/build/...
johmathe/computer_vision
PlateRecognition/utils/eval.sh
Shell
apache-2.0
719
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # Th...
opf-attic/ref
tools/file/file-5.00/ltmain.sh
Shell
apache-2.0
188,708
# Source this in your test scripts to parse command line arguments correctly. CORE_CT_DEFAULT=1 START_DEFAULT=2012-01-25 END_DEFAULT=2013-01-24 sedopt='-r' if [ `uname` == "Darwin" ]; then sedopt='-E' fi # default job dir is named after script and timestamp JOBDIR=$TWEPI_JOBBASE/`basename $0 | sed $sedopt s/\.[a-...
casmlab/quac
experiments/2014_CSCW_Tweetlocating/tests/parseargs.sh
Shell
apache-2.0
2,003
#!/bin/bash set -e set -u get_asm() { grep tsan_$1.: -A 10000 libtsan.objdump | \ awk "/[^:]$/ {print;} />:/ {c++; if (c == 2) {exit}}" } list="write1 \ write2 \ write4 \ write8 \ read1 \ read2 \ read4 \ read8 \ func_entry \ func_exit" BIN=`dirname $0`/tsa...
jeltz/rust-debian-package
src/llvm/projects/compiler-rt/lib/tsan/analyze_libtsan.sh
Shell
apache-2.0
1,167
#!/bin/bash set -o errexit set -o nounset set -o pipefail STI_ROOT=$(dirname "${BASH_SOURCE}")/.. source "${STI_ROOT}/hack/common.sh" # Go to the top of the tree. cd "${STI_ROOT}" sti::build::setup_env find_test_dirs() { cd "${STI_ROOT}" find . -not \( \ \( \ -wholename './Godeps' \ -o -w...
jhadvig/source-to-image
hack/test-go.sh
Shell
apache-2.0
1,981
#!/bin/bash set -e set -u set -o pipefail # For comparing dirs we need to make sure files are sorted in consistent order export LC_COLLATE=C script_full_path=$(readlink -f $0) script_dir=$(dirname ${script_full_path}) pushd ${script_dir}/.. 1>/dev/null outdir=${1:-$(mktemp -d)} cluster_wide_common_files=$(find ./de...
tnozicka/openshift-acme
hack/diff-deploy-files.sh
Shell
apache-2.0
1,537
#!/bin/bash if [ -d /data/scripts/extra-certs ] then echo "Importing extra certs from /data/scripts/extra-certs" cd /data/scripts/extra-certs for file in * do echo "Importing $file" /usr/bin/keytool -importcert -file $file -alias $file -keystore /etc/pki/ca-trust/extracted/java/cacerts -...
bmwcarit/joynr
docker/joynr-runtime-environment-base/scripts/docker/setup-extra-certs.sh
Shell
apache-2.0
408
#!/bin/bash set -ex trap 'echo -e "\033[1;31mSome unit tests have failed!\033[0m"' ERR for file in $(cd neuralmonkey/tests && echo *.py); do python3 -m neuralmonkey.tests.${file%.py} done
bastings/neuralmonkey
tests/unit-tests_run.sh
Shell
bsd-3-clause
194
#!/bin/bash set -e if [[ $TRAVIS_OS_NAME == 'osx' ]]; then which python export DYLD_LIBRARY_PATH=/Users/travis/googletest-install/lib:$DYLD_LIBRARY_PATH export TOMVIZ_TEST_PYTHON_EXECUTABLE=/usr/local/bin/python3 ctest -VV -S $TRAVIS_BUILD_DIR/cmake/TravisContinuous.cmake else cd $TRAVIS_BUILD_DIR ...
OpenChemistry/tomviz
scripts/travis/build.sh
Shell
bsd-3-clause
938
api_key=9775a026f1ca7d1c6c5af9d94d9595a4 app_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff curl -X POST -H "Content-type: application/json" \ -d '{ "graphs" : [{ "title": "Average Memory Free", "definition": { "events": [], "requests": [ {"q": "av...
macobo/documentation
code_snippets/api-dashboard-create.sh
Shell
bsd-3-clause
738
#!/bin/sh cp modules/fs_fat/fs_fat.kmod ramdisk/ dot_clean -m ramdisk/ ./tool/mkramdisk ramdisk
tristanseifert/TSOS
build_ramdisk.sh
Shell
bsd-3-clause
97
#!/bin/bash # Copyright 2019 gRPC authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
endlessm/chromium-browser
third_party/grpc/src/src/objective-c/tests/run_one_test.sh
Shell
bsd-3-clause
2,114
#!/bin/bash nosetests --with-noy $@
realestate-com-au/dashmat
test.sh
Shell
mit
36
#!/bin/bash # set -x set -e # Script used to build Ubuntu base vagrant-lxc containers # # USAGE: # $ cd boxes && sudo ./build-ubuntu-box.sh UBUNTU_RELEASE BOX_ARCH # # To enable Chef or any other configuration management tool pass '1' to the # corresponding env var: # $ CHEF=1 sudo -E ./build-ubuntu-box.sh UBUNTU...
fpletz/vagrant-lxc
boxes/build-ubuntu-box.sh
Shell
mit
4,592
#! /bin/sh # Copyright (C) 2011-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/yacc-deleted-headers.sh
Shell
gpl-2.0
3,527
#!/bin/sh # # Copyright (c) Authors: http://www.armbian.com/authors # # This file is licensed under the terms of the GNU General Public # License version 2. This program is licensed "as is" without any # warranty of any kind, whether express or implied. # only do this for interactive shells if [ "$-" != "${-#*i}" ]; t...
lipro-armbian/lib
packages/bsp/common/etc/profile.d/armbian-check-first-login-reboot.sh
Shell
gpl-2.0
456
#! /bin/sh # This file has been automatically generated. DO NOT EDIT BY HAND! . test-lib.sh am_tap_implementation=perl # In the spirit of VPATH, we prefer a test in the build tree # over one in the source tree. for dir in . "$am_top_srcdir"; do if test -f "$dir/t/tap-planskip-whitespace.sh"; then echo "$0: will...
DDTChen/CookieVLC
vlc/extras/tools/automake/t/tap-planskip-whitespace-w.sh
Shell
gpl-2.0
503
#!/usr/bin/env bash # Usage: # In a CMS or LMS container, # from the directory /edx/app/edxapp/edx-platform, run: # ./scripts/update-assets-dev.sh # # This file is an experimental re-implementation of the asset complation process # defined by the pavelib.assets:update_assets task in # https://github.com/edx/ed...
eduNEXT/edx-platform
scripts/update-assets-dev.sh
Shell
agpl-3.0
3,547
#!/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...
apache/arrow
cpp/examples/minimal_build/run.sh
Shell
apache-2.0
1,195
#!/bin/bash set -e # Publish npm packages for selected locations # NPM_AUTH_TOKEN must be set by the build environment readonly GIT_VERSION=$(git describe --tags) readonly PUBLISHED_NPM_PACKAGES=( # Published Fontello is used by all builds, and is critical to publish girder/web_client/fontello # These lint confi...
Kitware/girder
.circleci/publish_npm.sh
Shell
apache-2.0
1,118
filter_first () { head -n 1 || return 0 } filter_not_first () { sed '1d' || return 0 } filter_last () { tail -n 1 || return 0 } filter_not_last () { sed '$d' || return 0 } filter_matching () { local pattern expect_args pattern -- "$@" awk '/'"${pattern//\//\\/}"'/ { print }' || return 0 } filter_not_m...
haskell-infra/athena
bin/bashmenot/src/line.sh
Shell
apache-2.0
786
#!/bin/bash SCRIPT_DIR=`dirname $0` SCRIPT_NAME=`basename $0` CURRENT_DIR=`pwd` BUILD_COMMON=${BUILD_COMMON:=NOPE} unset NETTOSPHERE_OPTS export NETTOSPHERE_OPTS="-Dlogback.configurationFile=conf/logback.xml " JAVA_DEBUG_OPTIONS="-Xdebug -Xrunjdwp:transport=dt_socket,address=9009,server=y,suspend=n " JAVA_CONFIG_OPTI...
pjvds/atmosphere-samples
nettosphere-samples/jersey-chat/src/main/scripts/nettosphere.sh
Shell
apache-2.0
765
# Examples to generate some SQL to start defining tables . tables-common.sh default_table account default_table agent_group default_table zone start agent string uri bool managed_config 1 ref agent_group ref zone end agent start credential string public_value 4096 string secret_value 4096 end credential start host...
cjellick/cattle
scripts/mysql/tables.sh
Shell
apache-2.0
1,141
#!/bin/sh bosh delete-env \ ${BBL_STATE_DIR}/bosh-deployment/bosh.yml \ --state ${BBL_STATE_DIR}/vars/bosh-state.json \ --vars-store ${BBL_STATE_DIR}/vars/director-vars-store.yml \ --vars-file ${BBL_STATE_DIR}/vars/director-vars-file.yml \ -o ${BBL_STATE_DIR}/bosh-deployment/gcp/cpi.yml \ -o ${BBL_STAT...
pivotal-cf-experimental/bosh-bootloader
storage/fixtures/upped/delete-director.sh
Shell
apache-2.0
690
#!/usr/bin/env sh # test_net_seg.bin test_proto pre_train_model label.txt outputfolder [CPU/GPU] ROOTFILE=/nfs/hn46/xiaolonw/cnncode/caffe-3dnormal_r_n GLOG_logtostderr=1 $ROOTFILE/build/tools/showParameters.bin /nfs/hn46...
xiaolonw/caffe-3dnormal_joint_past
scripts/3dnormal_r_denoise/showPara.sh
Shell
bsd-2-clause
553
#!/bin/sh GPERF=gperf TMP0=gperf0.tmp TMP1=gperf1.tmp TMP2=gperf2.tmp TMP3=gperf3.tmp GPERF_OPT='-n -C -T -c -t -j1 -L ANSI-C ' ./make_unicode_fold_data.py > unicode_fold_data.c ${GPERF} ${GPERF_OPT} -F,-1,0 -N onigenc_unicode_unfold_key unicode_unfold_key.gperf > ${TMP0} ./gperf_unfold_key_conv.py < ${TMP0} > uni...
ProsoftEngineering/core
prosoft/core/modules/regex/vendor/onig/onig/src/make_unicode_fold.sh
Shell
bsd-3-clause
1,298
#!/bin/bash FN="rRDPData_1.6.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.10/data/experiment/src/contrib/rRDPData_1.6.0.tar.gz" "https://bioarchive.galaxyproject.org/rRDPData_1.6.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-rrdpdata/bioconductor-rrdpdata_1.6.0_src_all.tar.gz" ) MD5="3...
Luobiny/bioconda-recipes
recipes/bioconductor-rrdpdata/post-link.sh
Shell
mit
1,288
#!/bin/bash FN="lumiRatAll.db_1.22.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.10/data/annotation/src/contrib/lumiRatAll.db_1.22.0.tar.gz" "https://bioarchive.galaxyproject.org/lumiRatAll.db_1.22.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-lumiratall.db/bioconductor-lumiratall.db_1....
Luobiny/bioconda-recipes
recipes/bioconductor-lumiratall.db/post-link.sh
Shell
mit
1,438
#!/bin/sh export VERSION=`cat deployment/VERSION_MAJ_MIN`.$CIRCLE_BUILD_NUM echo $VERSION > VERSION python setup.py sdist
dhenderson1/MyFlaskApp
deployment/circleci_build.sh
Shell
mit
124
#!/usr/bin/env bash export ROFI_PNG_OUTPUT=out.png rofi -show run & RPID=$! # send enter. sleep 5; xdotool key 't' sleep 0.4 xdotool key 'r' sleep 0.4 xdotool key 'u' sleep 0.4 xdotool key Alt+Shift+s sleep 0.4 xdotool key Return # Get result, kill xvfb wait ${RPID} RETV=$? if [ ! -f out.png ] then echo "Fa...
jasperla/rofi
test/run_screenshot_test.sh
Shell
mit
374
#! /bin/sh # $Id: genconfig.sh,v 1.39 2010/09/21 15:36:12 nanard Exp $ # miniupnp daemon # http://miniupnp.free.fr or http://miniupnp.tuxfamily.org/ # (c) 2006-2010 Thomas Bernard # This software is subject to the conditions detailed in the # LICENCE file provided within the distribution RM="rm -f" CONFIGFILE="config....
smx-smx/dsl-n55u-bender
release/src/router/miniupnpd/genconfig.sh
Shell
gpl-2.0
8,797
#!/bin/sh # dns based ad/abuse domain blocking # Copyright (c) 2015-2020 Dirk Brenken (dev@brenken.org) # This is free software, licensed under the GNU General Public License v3. # set (s)hellcheck exceptions # shellcheck disable=1091,2016,2039,2059,2086,2143,2181,2188 # set initial defaults # export LC_ALL=C export ...
marcin1j/openwrt-packages
net/adblock/files/adblock.sh
Shell
gpl-2.0
52,482
#!/bin/sh TZ=GMT export TZ ipsec spi --clear ipsec eroute --clear enckey=0x4043434545464649494a4a4c4c4f4f515152525454575758 authkey=0x87658765876587658765876587658765 ipsec klipsdebug --set pfkey #ipsec klipsdebug --set verbose ipsec spi --af inet --edst 192.1.2.45 --spi 0x12345678 --proto esp --src 192.1.2.23 --e...
kidmaple/CoolWall
openswan/testing/klips/east-espiv-02/spi1.sh
Shell
gpl-2.0
950
#!/bin/bash # Clean up the Mess. rm a rm b rm a.dump rm b.dump
legacy-vault/tests
go/go-asm/4/clean.sh
Shell
gpl-3.0
64
#!/bin/bash set -u cat input.bn | $JOSHUA/bin/joshua-decoder -m 1g -threads 2 -c joshua.config > output 2> log # Extract the translations and model scores cat output | awk -F\| '{print $4 " ||| " $10}' > output.scores # Compare diff -u output.scores output.scores.gold > diff if [ $? -eq 0 ]; then rm -f diff outp...
lukeorland/joshua
test/bn-en/samt/test.sh
Shell
lgpl-2.1
369