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 pushd .. rm -f pcf-tile/resources/meta-azure-service-broker.zip zip -r pcf-tile/resources/meta-azure-service-broker.zip brokerserver.js index.js lib LICENSE NOTICE package.json popd if [ "$1" = "-major" ]; then tile build major elif [ "$1" = "-minor" ]; then tile build minor else tile build fi
bingosummer/meta-azure-service-broker
pcf-tile/generate-tile.sh
Shell
apache-2.0
317
#!/usr/bin/env bash set -ex FASTA=../data/human_g1k_v37.fa.gz FASTQ_PREFIX=HG0019-mq0 BAM=../alignment-accuracy/HG00119-bwa.bam mitty -v4 debug bam-to-truth ${BAM} 0 HG00019 ${FASTQ_PREFIX} bwa mem ${FASTA} ${FASTQ_PREFIX}-1.fq ${FASTQ_PREFIX}-2.fq | samtools view -bSho temp0.bam samtools sort temp0.bam > ${FASTQ_P...
kghosesbg/mitty-demo-data
bam-to-truth/bam_to_truth.sh
Shell
apache-2.0
947
#!/usr/bin/env bash if [ "$1" = "0" ] ; then EMU=circleci-android22 ; else EMU=testing18 ; fi echo "launching $EMU" emulator -avd ${EMU} -no-audio -no-window -no-boot-anim -sdcard mysdcard.img
byoutline/kickmaterial
ci/launchEmu.sh
Shell
apache-2.0
192
dir=/mnt10/verbs/data/culwg/release/ for t in 10 20 ; do for n in 20 50 200 ; do f="${dir}/senses-culwg-coarse-t${t}-cw-e0-N200-n${n}-minsize5.csv.gz" echo "t=$t, n=$n, pcz=$f" python -u run_verbsim_par.py $f #> $f.unit-words.results done done
tudarmstadt-lt/sensegram
vector_representations/verb_similarity.sh
Shell
apache-2.0
253
#!/bin/bash COMPOSE_PROJECT_NAME=$1 echo "export COMPOSE_PROJECT_NAME=$COMPOSE_PROJECT_NAME" echo "export CONSUL="$(docker inspect -f '{{ .NetworkSettings.IPAddress }}' "$COMPOSE_PROJECT_NAME"_consul_1):8500"" echo "export MESOS_MASTER="$(docker inspect -f '{{ .NetworkSettings.IPAddress }}' "$COMPOSE_PROJECT_NAME"_ma...
joyent/mesos-dockerfiles
env.sh
Shell
apache-2.0
536
#!/bin/bash export DISPLAY=:99.0 sh -e /etc/init.d/xvfb start set -e npm run clean npm run build npm test npm run test:coverage # npm run docs
afshin/phosphide
scripts/travis_script.sh
Shell
bsd-3-clause
143
#!/usr/bin/env bash # # This script will clean up old release directories. # Usage: ./clean_old_deploys.sh -d <@drush_alias> -s <save_releases> # Will keep <save_releases> number of code deploys # based on modification date of the release directories in e.g. # /var/www/<sitename>/releases/ # # It also performs a check ...
tag1consulting/drupal-deploy-scripts
clean_old_deploys.sh
Shell
bsd-3-clause
2,635
#!/bin/bash -e # Copyright 2012 tsuru authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. status=0 out=`gofmt -s -l .` if [ "${out}" != "" ] then echo "ERROR: there are files that need to be formatted with gofmt" echo echo "Fi...
astaxie/tsuru
check-fmt.sh
Shell
bsd-3-clause
594
#!/bin/bash set -ex sudo docker pull gtfierro/hod sudo docker kill hod sudo docker rm hod sudo docker run -d --name hod -e "HOD_TLSHOST=mysite.org" -e "HOD_SERVERPORT=443" -p443:443 gtfierro/hod sudo docker logs -f hod
gtfierro/hod
deploy.sh
Shell
bsd-3-clause
219
#!/usr/bin/env bash echo "users.active_sessions:1|c|@0.1" | nc -w 1 -u localhost 8125 sleep 1 echo "users.active_sessions:7|c|@0.1" | nc -w 1 -u localhost 8125 sleep 1 echo "users.active_sessions:23|c|@0.1" | nc -w 1 -u localhost 8125 sleep 1 echo "users.active_sessions:1112|c|@0.1" | nc -w 1 -u localhost 8125 sleep 1...
jan-molak/metricsd
src/test/resources/send_counter.sh
Shell
bsd-3-clause
781
#!/bin/bash #creado base de datos #echo "create database $2" | mysql -u $1 -p #corriendo las migraciones para crear la tabla usuarios #./cli/cli.sh db:migration migrate #correr los seed para crear datos falsos #./cli/cli.sh db:seed run #generamos el modulo auth #./cli/cli.sh generar:auth NOMBREPROYECTO=${PWD##*...
dexternidia/redcomand
cli/install/run.sh
Shell
mit
2,037
#!/bin/bash # wait for 15 seconds until discovery is up ./wait-for-it.sh -t 15 discovery:8761 if [ $? -eq 0 ] then # To reduce Tomcat startup time we added a system property pointing to "/dev/urandom" as a source of entropy. java -Djava.security.egd=file:/dev/./urandom -jar app.jar fi
anbu-vincent/Microservice-devopstest
config-service/target/docker/start.sh
Shell
mit
291
#!/bin/bash tmp_dir=$(mktemp -d) && cd $tmp_dir && echo $tmp_dir wget http://rsync.prefix.bitzolder.nl/scripts/bootstrap-prefix.sh chmod +x bootstrap-prefix.sh ./bootstrap-prefix.sh
djhshih/deploy
pkg/gentoo/install.sh
Shell
mit
184
#!/bin/bash -ex # Work in progress: create a list of commands necessary to get Stackage # up-and-running on a freshly installed Debian-based system (includin Ubuntu). # Quick start: # wget -O - https://raw.github.com/fpco/stackage/master/debian-bootstrap.sh | bash -ex # NOTE: Requires that GHC and Cabal are installe...
k0001/stackage
debian-bootstrap.sh
Shell
mit
1,150
#!/bin/bash # To use: # # ./build_release.sh # # record the scripts' location SCRIPTS_DIR=`pwd` # the current build OS OS=`./helpers/ostype.sh` # the current semantic version number, strip the "v" OF_SKETCH_VERSION=`git describe --abbrev=0 --tags | sed 's/v//g'` cd ../ofSketchApp/bin/data if [ -e "openFrameworks/...
olab-io/ofSketch
scripts/build_release.sh
Shell
mit
2,335
#!/bin/bash #################################################### SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE ...
khenidak/acs-engine
test/cluster-tests/kubernetes/test.sh
Shell
mit
6,558
#!/bin/bash make sudo insmod modtimer.ko
blorente/linux-labs
prac4/part_a/mount.sh
Shell
mit
40
#!/bin/bash . ./config.sh ./check_folders.sh ./check_prereqs.sh URL='http://cairographics.org/releases/pixman-0.32.6.tar.gz' ARCHIVE_NAME='pixman-0.32.6.tar.gz' TARBALL_NAME='pixman-0.32.6.tar' SOURCE_DIR_NAME='pixman-0.32.6' pushd ${ARCHIVE_DIR} > /dev/null curl --retry 5 --remote-name -L ${URL} || exit 1 popd > ...
camgunz/mingw-w64-builds
build-pixman-0.32.6.sh
Shell
mit
799
#!/bin/bash function showMenu() { clear echo "[H] Borrar historial del BASH" echo "===================================================" echo "[S] Terminar este programa" } function deleteBashHistory() { cat /dev/null > ~/.bash_history && history -c && exit } if [ "$1" == "" ]; then showMenu else e...
rrialq/MyPC-install-scripts
home/userhome/bin/menu.bash
Shell
mit
424
#!/bin/sh # Copyright (C) 2012 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 Licens...
jh80chung/lvm2
test/shell/lvmetad-no-cluster.sh
Shell
gpl-2.0
641
#!/bin/sh # # Copyright (C) 2010-2013 OpenWrt.org # RAMIPS_BOARD_NAME= RAMIPS_MODEL= ramips_board_detect() { local machine local name machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo) case "$machine" in *"11AC NAS Router") name="11acnas" ;; *"3G150B") name="3g150b" ;; *"3G3...
BWhitten/lede
target/linux/ramips/base-files/lib/ramips.sh
Shell
gpl-2.0
9,590
#!/bin/ksh # $XConsortium: catalog.sh /main/3 1996/06/19 17:12:50 drk $ # This file may be "sourced" into your current shell (i.e., invoked # as ". env.sh") or executed in its own shell (i.e., invoked # as "env.sh". It's purpose is to set up symbolic links from munged # PUBLIC identifiers in the SGML declaration to t...
sTeeLM/MINIME
toolkit/srpm/SOURCES/cde-2.2.4/programs/dtdocbook/doc2sdl/catalog.sh
Shell
gpl-2.0
1,988
#!/usr/bin/env bash . lib rm -rf temp1 mkdir temp1 cd temp1 darcs init echo foo > foo darcs add foo darcs record -a -m 'addfoo' darcs obliterate -a not darcs whatsnew cd .. rm -rf temp1
DavidAlphaFox/darcs
tests/obliterate-add.sh
Shell
gpl-2.0
192
#!/bin/sh ( printf "%b\n" 'Playing with margins/padding,^tag(root)' printf "%b\n" 'submenu,^checkout(foo)' printf "%b\n" 'terminal,xterm' printf "%b\n" 'browser,firefox' printf "%b\n" 'file manager,pcmanfm' printf "%b\n" 'Try Scrolling/PgUp/PgDn/Home/End,^tag(foo)' printf "%b\n" '^sep()' printf "%b\n" '^sep()' printf ...
o9000/jgmenu
examples/ex02.sh
Shell
gpl-2.0
1,794
#!/bin/bash +x # # $Id: get-maptools.sh,v 1.14 2012/11/01 18:57:19 we7u Exp $ # # # Script originally to retrieve and install Shapelib. # Written 20050227 Dan Brown N8YSZ # Modified 20060321 to generalize for all maptools - N8YSZ. # # # Copyright (C) 2000-2012 The Xastir Group # # This program is free software; you ...
mgrennan/xastir
scripts/get-maptools.sh
Shell
gpl-2.0
10,487
#!/bin/sh FORMAT_TOOL= COMPARE_TOOL= COMPOSE_TOOL= REGEXP_TOOL= CONCATENATE_TOOL= MINIMIZE_TOOL= CONJUNCT_TOOL= SUBTRACT_TOOL= DISJUNCT_TOOL= STRINGS2FST_TOOL= FST2TXT_TOOL= if [ "$1" = "--python" ]; then FORMAT_TOOL="python3 ./hfst-format.py" COMPARE_TOOL="python3 ./hfst-compare.py" COMPOSE_TOOL="python3...
wikimedia/operations-debs-contenttranslation-hfst
test/tools/symbol-harmonization-functionality.sh
Shell
gpl-3.0
10,792
#!/bin/bash #Installation script for Caja Terminal _install() { #Install Caja Terminal #$1 : the output path, if different of / echo "$_BOLD * Copy file...$_NORMAL" #Share mkdir -pv "$1"/usr/share/caja-terminal/ cp -v ./pixmaps/* "$1"/usr/share/caja-terminal/ cp -v ./code/*.glade "$1"/usr/share/caja-terminal/ ...
yselkowitz/caja-terminal
install.sh
Shell
gpl-3.0
5,219
#!/bin/bash #PBS -l walltime=4:00:00 #PBS -l nodes=1:ppn=2 #PBS -l vmem=32G #PBS -N WAF_4_1_2_500_100_no_no_69_82 cd /zhome/fc/e/102910/maritime-vrp/build LD_LIBRARY_PATH=/zhome/fc/e/102910/gcc/lib64 ./maritime_vrp ../data/old_thesis_data/program_params.json ../data/new/WAF_4_1_2_500_100_no_no_69_82.json
OR-Bologna/maritime-vrp
opt/launchers/WAF_4_1_2_500_100_no_no_69_82.sh
Shell
gpl-3.0
306
#!/bin/bash #PBS -l walltime=4:00:00 #PBS -l nodes=1:ppn=2 #PBS -l vmem=32G #PBS -N Baltic_2_2_4_250_5_0_0_no_no cd /zhome/fc/e/102910/maritime-vrp/build LD_LIBRARY_PATH=/zhome/fc/e/102910/gcc/lib64 ./maritime_vrp ../data/old_thesis_data/program_params.json ../data/new/Baltic_2_2_4_250_5_0_0_no_no.json
OR-Bologna/maritime-vrp
opt/launchers/Baltic_2_2_4_250_5_0_0_no_no.sh
Shell
gpl-3.0
304
#!/bin/sh set -e OS=$(uname -s) PROJECT=strusPrototypeModuleV1 # set up environment case $OS in Linux) ;; Darwin) if test "X$CC" = "Xgcc"; then # gcc on OSX is a mere frontend to clang, force using gcc 4.8 export CXX=g++-4.8 export CC=gcc-4.8 fi # forcing brew versions (of gettext) over Mac ver...
Eurospider/strusPrototypeModuleV1
dist/travis/script.sh
Shell
mpl-2.0
2,701
#!/bin/sh echo "HELLO" echo $@ echo "OLLEH"
IQSS/gentb-site
apps/pipeline/fixtures/test.sh
Shell
agpl-3.0
45
#!/bin/bash -f # Author : Jesús Giménez # Date : April 26, 2004 # Description : SVMTT evaluation # # Usage: doSVMTreport.sh <MODEL> <INDIR/CORPUS> <OUTDIR/CORPUS> # # use this to prepare for gnuplot: # grep -v '\*' REPORTS/100kargmaxlf.WSJTP.TEST | grep 'last' | gawk '{print $3 " " $5 " " $6 " " $7 " " $8...
FaizaGara/lima
lima_pelf/evalPosTagging/SVM/SVMTool-1.3.1/scripts/doSVMTreport.sh
Shell
agpl-3.0
2,175
#!/usr/bin/env bash set -x cd $(dirname $0) # This script requires that two variables be defined: # - HADOOP_CONF_DIR # - HADOOP_LOCAL_DIR . setenv # CLEANUP for slave in $(cat $HADOOP_CONF_DIR/slaves); do ssh $slave "rm -rf /tmp/hadoop-$USER $HADOOP_LOCAL_DIR" done
angelos-se/orangefs-release
src/client/hadoop/orangefs-hadoop2/scripts/examples/hadoop/cleanup_hadoop.sh
Shell
lgpl-3.0
271
#!/bin/bash # # Enables periodic logging of memory usage in an Appveyor VM. set -ex # Write header row of log file. echo "$(date) $(free -hmw | grep available)" >> /var/log/grr_e2e_mem_usage.log # Install the crontab file. cp "${APPVEYOR_BUILD_FOLDER}/appveyor/e2e_tests/grr_e2e_mem_usage" /etc/cron.d/ systemctl resta...
dunkhong/grr
appveyor/e2e_tests/install_mem_usage_cron.sh
Shell
apache-2.0
328
#!/bin/bash set -euo pipefail echo "Haddock updating" readonly PROJECT_NAME=$(cat ./*.cabal | grep "name:" | awk '{ print $2 }') readonly PROJECT_VERSION=$(cat ./*.cabal | grep "version:" | grep -v "cabal" | awk '{ print $2 }') readonly PROJECT_FULL_NAME="${PROJECT_NAME}"-"${PROJECT_VERSION}" readonly DOC_ROOT=$(sta...
input-output-hk/cardano-sl
scripts/ci/update-haddock.sh
Shell
apache-2.0
3,170
#!/bin/bash source ../common.sh $KUBECTL_NAME create -f existing_job.yaml $KUBECTL_NAME create -f ../../manifests/appcontroller.yaml wait-appcontroller $KUBECTL_NAME create -f deps.yaml cat job.yaml | $KUBECTL_NAME exec -i k8s-appcontroller kubeac wrap | $KUBECTL_NAME create -f - cat job2.yaml | $KUBECTL_NAME exec...
Mirantis/k8s-AppController
examples/extended/create.sh
Shell
apache-2.0
2,341
#!/bin/bash # Copyright 2013 Johns Hopkins University (author: Daniel Povey) # 2014 Tom Ko # Apache 2.0 # This example script demonstrates how speed perturbation of the data helps the nnet training. . ./cmd.sh . ./path.sh stage=-1 train_stage=-10 use_gpu=true nnet_dir=exp/nnet2_online_perturb if $use_gp...
phsmit/kaldi-recipes
spraakbanken/local/online/run_nnet2_perturb_speed.sh
Shell
apache-2.0
5,781
#!/bin/bash set -o errexit # Config the git user git config --global user.name "missioncommandbot" git config --global user.email "missioncommandbot@missioncommandbot.org" # Clone existing gh-pages to dist echo "Cloning Existing Repo" cd dist rm -rf ghpages git clone "https://github.com/${GH_PAGES_REPO}.git" ghpages...
missioncommand/emp3-web
scripts/deployGHPages.sh
Shell
apache-2.0
776
#!/bin/bash # # Copyright (C) 2015 eNovance SAS <licensing@enovance.com> # # 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...
enovance/cauth
run_tests.sh
Shell
apache-2.0
660
#! /bin/bash mv ~/Library/Developer/Xcode/UserData/CodeSnippets ~/Library/Developer/Xcode/UserData/CodeSnippets.backup # rm ~/Library/Developer/Xcode/UserData/CodeSnippets SRC_HOME=`pwd` ln -s ${SRC_HOME}/CodeSnippets ~/Library/Developer/Xcode/UserData/CodeSnippets echo "done"
lowcap/CodeSnippets
setup_snippets.sh
Shell
apache-2.0
279
#!/bin/bash # Script that is run by Expeditor to unconditionally clean up the # release-pipeline scoped Builder channel that contains our release # candidates. # # A successful pipeline run will have promoted these artifacts into # the `dev` pipeline. # # We want to delete the channel whether or not the pipeline compl...
habitat-sh/habitat
.expeditor/scripts/release_habitat/expeditor_destroy_build_channel.sh
Shell
apache-2.0
903
#!/bin/sh set -e : ${RABBITMQ_USER:=guest} : ${RABBITMQ_PASS:=guest} : ${RABBITMQ_NODE_PORT:=5672} : ${RABBITMQ_LOG_BASE:=/var/log/rabbitmq} sed -i ' s|@RABBITMQ_USER@|'"$RABBITMQ_USER"'|g s|@RABBITMQ_PASS@|'"$RABBITMQ_PASS"'|g ' /etc/rabbitmq/rabbitmq.config sed -i ' s|@RABBITMQ_PORT@|'"$RABBITMQ_NODE_PORT"'|g ...
jasonbrooks/kolla
docker/rabbitmq/start.sh
Shell
apache-2.0
447
#!/bin/bash # configs/sama5d3x-ek/nsh/setenv.sh # # Copyright (C) 2013-2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redist...
IUTInfoAix/terrarium_2015
nuttx/configs/sama5d3x-ek/nsh/setenv.sh
Shell
bsd-2-clause
3,628
#! /bin/bash # Copyright 2014-2015 Peter Williams and collaborators. # This file is licensed under a 3-clause BSD license; see LICENSE.txt. set -e # don't get locally installed pkg-config entries: export PKG_CONFIG_LIBDIR="$PREFIX/lib/pkgconfig" export PYTHON="$PREFIX/bin/python3.4" # conda libffi doesn't come with p...
ericdill/conda-prescriptions
recipes/gobject-introspection-1.47.1/build.sh
Shell
bsd-3-clause
1,126
#!bin/bash for i in {"$1".."$2"} do echo ./matchAll.sh coil-100pgmtest/obj$i"__"\* coil-100pgmrefkey #./matchAll.sh coil-100pgmtest/obj$i__\* coil-100pgmrefkey done
vanthonguyen/m2
Vision par ordinateur/tp/tp2/rapport/nvtho-tp2/run.sh
Shell
bsd-3-clause
173
#!/bin/bash Usage(){ echo "This script is to setup password-less ssh login from current host to a given remote host." } echo $(date) " - Starting Script" #-------------------------------------------------------------- PASSWORD=$1 MASTERFQDN=$2 COUNT=$3 DTRDNS=$4 Port=220 DESTDIR="/tmp" #---------------------------...
simongdavies/azure-quickstart-templates
cloudbeesjenkins-dockerdatacenter/scripts/dockerctrl.sh
Shell
mit
1,841
set -o pipefail #--------------------------------------------------------- errormsg() { echo "$@" >&2 } #--------------------------------------------------------- die() { errormsg "ERROR: $@" exit 1 }
gms1/node-sqlite3-orm
build/sh/lib.sh
Shell
mit
211
#!/bin/bash #The infrastructure is now just a PIP package. pip3 install --upgrade .
alpire/picoCTF-web
install.sh
Shell
mit
85
. /etc/mpsd.conf packager="milisarge" account="$1" name="$2" version="$3" file="$name.html" url=https://github.com/"$account/$name" curl -k $url > "$file" desc=`sed -n 's|[^<]*<span itemprop="about">\([^<]*\)</span>[^<]*|\1\n|gp' $file` mkdir -p $name tee "$name/talimat" > /dev/null <<EOF # description:$desc # url:...
HasanUnsal/malfs-milis
bin/git2talimat.sh
Shell
mit
663
#!/usr/bin/env bash set -e if [ -z "${PRIVATE_REPOSITORY}" ] then echo '${PRIVATE_REPOSITORY}==' "${PRIVATE_REPOSITORY}" exit 0 fi if [ -z "${PUBLIC_REPOSITORY}" ] then echo '${PUBLIC_REPOSITORY}==' "${PUBLIC_REPOSITORY}" exit 0 fi git remote get-url --all origin | grep -c "${PRIVATE_REPOSITORY}" ||...
JulienBalestra/enjoliver
.ci/travis.sh
Shell
mit
680
#!/bin/bash CMAKE_INSTALL_PREFIX=$1 shift; PROJECT_SOURCE_DIR=$1 shift; mv ${CMAKE_INSTALL_PREFIX}/bin ${CMAKE_INSTALL_PREFIX}/MacOS if [ -e "${CMAKE_INSTALL_PREFIX}/MacOS/stellarium.app/Contents/MacOS/stellarium" ] ; then mv ${CMAKE_INSTALL_PREFIX}/MacOS/stellarium.app/Contents/MacOS/stellarium ${CMAKE_INSTALL_...
EvilTosha/Stellarium-GSoC12
util/macosx_bundle.sh
Shell
gpl-2.0
1,451
# 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, 2006 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 ...
nanshusu/nanshusu.github.cn
uware/src/thirdparty/lib/regex/ltmain.sh
Shell
gpl-2.0
198,647
#!/bin/sh # # git-submodule.sh: add, init, update or list git submodules # # Copyright (c) 2007 Lars Hjemli dashless=$(basename "$0" | sed -e 's/-/ /') USAGE="[--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>] or: $dashless [--quiet] status [--cached] [--r...
gialachoanglong/tortoisegit.tgit
git-submodule.sh
Shell
gpl-2.0
27,449
#!/bin/sh . "${TEST_SCRIPTS_DIR}/unit.sh" define_test "getdbmap from default (0)" setup_ctdbd <<EOF NODEMAP 0 192.168.20.41 0x0 CURRENT RECMASTER 1 192.168.20.42 0x0 2 192.168.20.43 0x0 DBMAP 0x7a19d84d locking.tdb READONLY 0x4e66c2b2 brlock.tdb STICKY 0x4d2a432b g_lock.tdb 0x7132c184 se...
sathieu/samba
ctdb/tests/tool/ctdb.getdbmap.001.sh
Shell
gpl-3.0
1,022
java -cp `dirname $0`/cobertura.jar:`dirname $0`/lib/asm-3.3.1.jar:`dirname $0`/lib/asm-tree-3.3.1.jar:`dirname $0`/lib/asm-commons-3.3.1.jar:`dirname $0`/lib/log4j-1.2.9.jar:`dirname $0`/lib/jakarta-oro-2.0.8.jar net.sourceforge.cobertura.instrument.Main $*
bjornamkreutz/fpai-shared-config
tools/cobertura/cobertura-instrument.sh
Shell
apache-2.0
259
#!/bin/sh ################################################################################ # This file is part of the package effrb. It is subject to the license # terms in the LICENSE.md file found in the top-level directory of # this distribution and at https://github.com/pjones/effrb. No part of # the effrb package...
pjones/effrb
irb/meta/modinclude.sh
Shell
bsd-3-clause
774
#!/usr/bin/env bash sudo /usr/local/share/nginx/sbin/nginx -s reload
samwhelp/demo-nginx-rtmp
example/prototype-001/server-reload.sh
Shell
mit
70
#!/bin/bash # # Copyright (c) 2015-2021 MinIO, Inc. # # This file is part of MinIO Object Storage stack # # This program 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 version 3 of the License, ...
balamurugana/mc
buildscripts/cross-compile.sh
Shell
agpl-3.0
1,762
#!/bin/bash set -x sudo apt-get update if sudo apt-get install -y nfs-kernel-server ; then echo "install nfs-kernel-server successfully, continue " else echo "fixing the error" sudo rm /var/lib/apt/lists/lock /var/cache/apt/archives/lock /var/lib/dpkg/lock* sudo dpkg --configure -a sudo apt-get install -y nf...
cjellick/rancher
tests/validation/tests/v3_api/scripts/nfs-setup.sh
Shell
apache-2.0
533
#!/usr/bin/gawk -f BEGIN{ M = 0 N = 0 deltax = 60 deltay = 60 sw_lon = "180E" sw_lat = "0N" x0 = 0 y0 = 0 # print M,N,deltax,deltay,sw_lon,sw_lat,x0,y0 } { # print "NR,NF ",NR,NF,$0 if (NR == 3) { # print $0 M = $1 N = $2 deltax = $3 deltay = $4 dx = deltax/60 dy = deltay/...
johnrsibert/tagest
25/scripts/prn2gmt.sh
Shell
bsd-2-clause
1,032
# 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, 2006, # 2007, 2008 Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mi...
GaloisInc/hacrypto
src/C/NetBSD-7.0/crypto/external/bsd/netpgp/dist/buildaux/ltmain.sh
Shell
bsd-3-clause
202,493
#! /bin/sh # $Id: gas_bin_test.sh,v 1.1.1.1 2012/03/29 17:20:59 uid42307 Exp $ ${srcdir}/out_test.sh gas_bin_test modules/parsers/gas/tests/bin "gas-compat parser bin output" "-f bin -p gas" "" exit $?
Multi2Sim/m2s-bench-parsec-3.0-src
tools/yasm/src/modules/parsers/gas/tests/bin/gas_bin_test.sh
Shell
bsd-3-clause
202
###################################################################### # # Copyright (c) 2015-2016, Richard Hansen <rhansen@rhansen.org> # 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. ...
rhansen/rpstir
tests/tap4sh.sh
Shell
bsd-3-clause
22,134
#!/bin/bash ## DeGOps: 0.0.4 set -o errexit set -o nounset go test -cover -coverprofile=coverage.out go tool cover -html=coverage.out -o coverage.html
jimmy-go/zipfs
scripts/cover.sh
Shell
mit
152
#!/usr/bin/env bash # vim: set sw=4 sts=4 et : # Copyright (c) 2006 Stephen Bennett # # Based in part upon functions.sh from Baselayout, which is Copyright 1995-2005 # Gentoo Foundation and distributed under the terms of the GNU General # Public License v2. # # This file is part of the Paludis package manager. Paludis...
alip/paludis-alip
paludis/repositories/e/ebuild/kernel_functions.bash
Shell
gpl-2.0
1,468
#!/bin/bash # This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com # you can set this up in the crontab to update it daily: # 0 0 * * * [combine_folder]/data/update_maxmind.sh # caveat: if you do set this to update in an automated fashion, please uncomment the following line: #...
mlsecproject/combine
data/update_maxmind.sh
Shell
gpl-3.0
596
#!/bin/sh # Copyright (C) 2000-2016 Free Software Foundation, Inc. # This file is part of the GNU C Library. # Contributed by Bruno Haible <haible@clisp.cons.org>, 2000. # # The GNU C Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as publ...
geminy/aidear
oss/glibc/glibc-2.24/iconvdata/tst-table.sh
Shell
gpl-3.0
3,405
#!/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...
diditaxi/kubernetes
hack/lib/golang.sh
Shell
apache-2.0
16,680
#!/bin/sh # $Id$ ## @file # VirtualBox preremove script for Solaris Guest Additions. # # # Copyright (C) 2008-2013 Oracle Corporation # # This file is part of VirtualBox Open Source Edition (OSE), as # available from http://www.virtualbox.org. This file is free software; # you can redistribute it and/or modify it unde...
mirror/vbox
src/VBox/Additions/solaris/Installer/preremove.sh
Shell
gpl-2.0
2,570
source ./templates/support.sh populate login_banner_text # There was a regular-expression matching various banners, needs to be expanded expanded=$(echo "$login_banner_text" | sed 's/\[\\s\\n\][+*]/ /g;s/\\//g;s/[^-]- /\n\n-/g') formatted=`echo "$expanded" | fold -sw 80` cat <<EOF >/etc/issue $formatted EOF printf "...
mpreisler/scap-security-guide-debian
scap-security-guide-0.1.21/RHEL/7/input/fixes/bash/set_system_login_banner.sh
Shell
gpl-2.0
338
#!/bin/bash . ./wine-env.sh wine pbd-run-tests.exe
nphilipp/ardour
tools/windows_packaging/wine-pbd-tests.sh
Shell
gpl-2.0
53
#!/bin/sh JNA=/usr/share/java/jna.jar if [ ! -f ${JNA} ]; then if [ ! -f /usr/share/java/jna/jna.jar ]; then echo "*** Unable to find jna.jar *** "; exit; else JNA=/usr/share/java/jna/jna.jar; fi fi case "$1" in "") java -classpath ${JNA}:. Test ;; "arm") java -classpath ${JNA}:. TestArm ;; "a...
jbremer/monitor
src/capstone/bindings/java/run.sh
Shell
gpl-3.0
687
#!/usr/bin/env bash echo "This is an internal Dig Dug maintenance script. It updates the" echo "API documentation in the gh-pages branch." echo "" echo "If you want to update the API docs, press 'y'." read -s -n 1 if [ "$REPLY" != "y" ]; then echo "Aborted." exit 0 fi SUPPORT_DIR=$(cd $(dirname $0) && pwd) ROOT_DI...
ohaz/amos-ss15-proj1
tests/intern/node_modules/digdug/support/apidoc.sh
Shell
agpl-3.0
718
#!/bin/bash CC="msp430-gcc -mmcu=msp430f1611" CXX="c++" cmake -DCMAKE_SYSTEM_NAME=Generic -DARITH=msp-asm -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" -...
ace0/relic
preset/msp-pbc-128.sh
Shell
lgpl-2.1
694
#!/bin/bash FN="mu6500subccdf_2.18.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.14/data/annotation/src/contrib/mu6500subccdf_2.18.0.tar.gz" "https://bioarchive.galaxyproject.org/mu6500subccdf_2.18.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-mu6500subccdf/bioconductor-mu6500subccdf_2....
cokelaer/bioconda-recipes
recipes/bioconductor-mu6500subccdf/post-link.sh
Shell
mit
1,317
#!/bin/bash cd src while true; do git pull /opt/Qt5.2.1/5.2.1/gcc_64/bin/qmake kn2cssl.pro make -j 8 sleep 15 done
arkayhani/kn2cPrograms
src/autocompile.sh
Shell
gpl-3.0
121
#!/bin/bash function usage { echo "Usage: $0 [OPTION]..." echo "Run Taskflow's test suite(s)" echo "" echo " -f, --force Force a clean re-build of the virtual environment. Useful when dependencies have been added." echo " -p, --pep8 Just run pep8" echo " -P, --no-pep8 ...
pombredanne/taskflow-1
run_tests.sh
Shell
apache-2.0
1,988
#!/bin/bash pbench-kill-tools pbench-clear-tools pbench-clear-results echo "jump_node: ${jump_node}" if [[ ! -z "$1" ]] && [[ $(echo "$1" | awk '{print tolower($0)}') = "true" ]]; then pbench-register-tool-set --label="jump_node" fi function get_pbench_label { local role role=$(oc get node $1 --no-headers | ...
mffiedler/svt
storage/jenkins/files/scripts/pbench-register.sh
Shell
apache-2.0
1,639
#!/usr/bin/env bash gcloud builds submit -q --tag gcr.io/{%PROJECT_ID%}/frontend .
skim1420/spinnaker
codelabs/gke-source-to-prod/services/frontend/build.sh
Shell
apache-2.0
84
#!/bin/sh cd .. git clone --depth 1 https://github.com/CISOfy/lynis-sdk #EOF
SecurityFTW/cs-suite
tools/lynis/extras/travis-ci/before_script.sh
Shell
gpl-3.0
79
#!/usr/bin/env bash # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. set -o errexit set -o nounset set -o pipefail # Update this from the linux-dev builder in etc/ci/b...
thiagopnts/servo
etc/ci/taskcluster-test.sh
Shell
mpl-2.0
726
#!/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="/etc/machine-id testing" TEST_NO_NSPAWN=1 SKIP_INITRD=yes . $TEST_BASE_DIR/test-functions test_setup() { create_empty_image mkdir -p $TESTDIR/root mount ${LOOPD...
martinpitt/systemd
test/TEST-14-MACHINE-ID/test.sh
Shell
gpl-2.0
2,582
#!/bin/sh test_description='git merge Testing octopus merge with more than 25 refs.' . ./test-lib.sh test_expect_success 'setup' ' echo c0 > c0.c && git add c0.c && git commit -m c0 && git tag c0 && i=1 && while test $i -le 30 do git reset --hard c0 && echo c$i > c$i.c && git add c$i.c && git commit ...
robertpfeiffer/git
t/t7602-merge-octopus-many.sh
Shell
gpl-2.0
2,038
#!/bin/bash -e # # build_android.sh # Copyright (c) 2012 Jacek Marchwicki # # 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...
mondoktamas/AndroidFFmpeg
library-jni/jni/build_android.sh
Shell
apache-2.0
11,287
# 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...
dmlc/mxnet
scala-package/mxnet-demo/scala-demo/bin/run_im.sh
Shell
apache-2.0
979
#!/bin/sh #X="-x" #grind="checkleaks" # if this is part of a distcheck action, then this script # will be executed in a different directory # than the one containing it; so capture the path to this script # as the location of the source directory. srcdir=`dirname $0` cd $srcdir srcdir=`pwd` # compute the build direc...
paulthulstrup/moose
libmesh/contrib/netcdf/4.3.1/ncdap_test/tst_ncdap4.sh
Shell
lgpl-2.1
617
#!/bin/bash # # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
catapult-project/catapult
third_party/gsutil/gslib/vendored/oauth2client/scripts/build_docs.sh
Shell
bsd-3-clause
1,028
#!/bin/sh # # based on a script by Shivang Desai <shivang.ice.2010@gmail.com> # echo echo "Welcome to the Hydra Wizard" echo read -p "Enter the service to attack (eg: ftp, ssh, http-post-form): " service test -z "$service" && { echo Error: service may not be empty ; exit 1 ; } read -p "Enter the target to attack (or fi...
macbook47/thc-hydra-custom
hydra-wizard.sh
Shell
agpl-3.0
1,731
#!/bin/bash mkdir -pv ${PREFIX}/bin ${PREFIX}/share case $(uname) in Darwin) make -C src -f ../make/Makefile.os_x86_64 all LIB_M='-lm' ;; *) make -C src -f ../make/Makefile.linux_sse2 all LIB_M='-lm' ;; esac cp {bin/*36,bin/map_db,scripts/*.pl,misc/*.pl} ${PREFIX}/bin cp -R {doc,data,seq} ${PREFIX}/share
joachimwolff/bioconda-recipes
recipes/fasta3/build.sh
Shell
mit
317
#!/bin/sh # # Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the F...
antoinebourget/INF5000-StaticProxy
test/tools/javah/ReadOldClass.sh
Shell
gpl-2.0
2,064
#!/bin/sh # # Copyright (C) 2018 TDT AG <development@tdt.de> # # This is free software, licensed under the GNU General Public License v2. # See https://www.gnu.org/licenses/gpl-2.0.txt for more information. # . /lib/functions.sh . ../netifd-proto.sh init_proto "$@" INCLUDE_ONLY=1 BONDING_MASTERS="/sys/class/net/bon...
openwrt/packages
net/bonding/files/lib/netifd/proto/bonding.sh
Shell
gpl-2.0
6,290
#!/bin/sh # Written by Simon Josefsson. # Start sshd, invoke parameters, saving exit code, kill sshd, and # return exit code. srcdir=${srcdir:-$PWD} SSHD=${SSHD:-/usr/sbin/sshd} cmd="./ssh2${EXEEXT}" srcdir=`cd "$srcdir"; pwd` PRIVKEY=$srcdir/etc/user export PRIVKEY PUBKEY=$srcdir/etc/user.pub export PUBKEY if te...
xxxxnnxxxx/HttpProxy
附加工程/libssh2-1.7.0/tests/ssh2.sh
Shell
mit
911
#!/usr/bin/env bash set -eux ANSIBLE_ROLES_PATH=../ ansible-playbook test.yml -i inventory "$@"
HyperBaton/ansible
test/integration/targets/ansible-runner/runme.sh
Shell
gpl-3.0
98
#!/bin/sh test_description='filter-branch removal of trees with null sha1' . ./test-lib.sh test_expect_success 'setup: base commits' ' test_commit one && test_commit two && test_commit three ' test_expect_success 'setup: a commit with a bogus null sha1 in the tree' ' { git ls-tree HEAD && printf "160000 comm...
overtherain/scriptfile
tool-kit/git-2.1.2/t/t7009-filter-branch-null-sha1.sh
Shell
mit
1,334
#!/bin/bash # SPDX-License-Identifier: GPL-2.0 # Test for "tc action mirred egress mirror" when the underlay route points at a # bridge device with vlan filtering (802.1q). # # This test uses standard topology for testing mirror-to-gretap. See # mirror_gre_topo_lib.sh for more details. The full topology is as follows:...
rperier/linux-rockchip
tools/testing/selftests/net/forwarding/mirror_gre_bridge_1q.sh
Shell
gpl-2.0
4,099
#!/bin/bash # # Benchmark script: # - developed for benchmarking ingress qdisc path # # Script for injecting packets into RX path of the stack with pktgen # "xmit_mode netif_receive". With an invalid dst_mac this will only # measure the ingress code path as packets gets dropped in ip_rcv(). # # This script don't real...
Asus-T100/kernel
samples/pktgen/pktgen_bench_xmit_mode_netif_receive.sh
Shell
gpl-2.0
2,713
#!/bin/bash # # Any copyright is dedicated to the Public Domain. # http://creativecommons.org/publicdomain/zero/1.0/ # # This is a script that I used to generate a suite of tests for the CSS # properties "object-fit" and "object-position" (focusing on edge-case # object-position values that require pixel rounding), usi...
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/css/css-images/support/generate-object-position-png-tests.sh
Shell
bsd-3-clause
3,738
#!/usr/bin/env bash # --------------------------------- Truffle -------------------------------------------------------- # Basic, no reporter options specified test_truffle_v5_basic() { echo "-----------------------------------------------------------" echo "> Visual inspection integration test (Truffle - no opti...
cgewecke/eth-gas-reporter
mock/scripts/integration_tests.sh
Shell
mit
2,079
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for RHSA-2014:1359 # # Security announcement date: 2014-10-06 17:03:49 UTC # Script generation date: 2017-01-01 21:15:34 UTC # # Operating System: Red Hat 7 # Architecture: x86_64 # # Vulnerable packages fix on version: # - polkit-qt.i686:0.103.0-10.el7_0 # - p...
Cyberwatch/cbw-security-fixes
Red_Hat_7/x86_64/2014/RHSA-2014:1359.sh
Shell
mit
1,462
#!/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...
banjun/ikemen
Example/Pods/Target Support Files/Pods-ikemen-ikemen-Example-osx/Pods-ikemen-ikemen-Example-osx-frameworks.sh
Shell
mit
8,460