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 function addOrRemoveAppFromDNS { cd ansible || exit 1 ansible-playbook -i hosts site.yml --extra-vars "username=${username} application=${appSearched} state=$1" cd .. } function setDesiredStatusOfApp { appSearched=$1 appSearchedOfUser=$1_${username} desiredStatus=$2 appInsta...
Merrick28/seedbox-docker
includes/set_app.sh
Shell
gpl-3.0
3,135
#!/bin/bash -x # # Generated - do not edit! # # Macros TOP=`pwd` CND_PLATFORM=Cygwin-Windows CND_CONF=Debug CND_DISTDIR=dist CND_BUILDDIR=build CND_DLIB_EXT=dll NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/ejercicios...
michaeldanielm/Estructura-De-Datos-Uniminuto
Lista( Arraylist)/Ejercicios en C/Ejercicios de Lista N-2/nbproject/Package-Debug.bash
Shell
gpl-3.0
1,537
#!/bin/sh echo "Clears all webcodes first, then generates webcodes for all articles with autorestart on errors." echo "Starting in 5 seconds. Press ^C to cancel." sleep 5 php application/console webcode:generate --only-clear until php application/console webcode:generate; do echo "Webcode generation stopped on ...
sourcefabric/Newscoop
newscoop/bin/webcode_generate_all.sh
Shell
gpl-3.0
431
#!/bin/bash #TODO #xiangyu: permission issue on tap creating #root: cannot find uid 107(qemu) IMG_DIR="/home/xiangyu/OS_Images" my_image_name="test.qcow2" MY_IMG="${IMG_DIR}/${my_image_name}" OS_SOURCE="${IMG_DIR}/Fedora-20-x86_64-netinst.iso" virt-install --network bridge:br0 --name vnode0 --ram=1024 --vcpus=4 --...
lxylinki/virt_scripts
img_ops/virt_create_img.sh
Shell
gpl-3.0
413
#!/bin/bash # Date: Dec 1, 2016 # GitHub: https://github.com/WikiSteve # Steve (AT) WikiSteve (DOT) com # Converts L2 & L3 destination information from a pcap file # for the purpose of network generation towards a specific target CAPFILES=./*.cap PCAPFILES=./*.pcap echo "WARNING: All *.cap *.pcap files will...
WikiSteve/Network-Generator
converting.sh
Shell
gpl-3.0
1,059
#!/bin/sh unzip -o selenium-top-sites-2.zip # Drivers unzip -o geckodriver-v0.24.0-win64.zip unzip -o chromedriver_win32_v77.zip # Script echo "#!/bin/sh cmd /c \"\$DEBUG_REAL_HOME\AppData\Local\Programs\Python\Python37\Scripts\pip3.exe\" install --user selenium rm -f run-benchmark.py cp -f selenium-top-sites.py run...
phoronix-test-suite/phoronix-test-suite
ob-cache/test-profiles/system/selenium-top-sites-1.0.3/install_windows.sh
Shell
gpl-3.0
1,110
#!/bin/bash #Returns space-delimited list of processes that are spawned by pid in argument+ #+ that PID pidtree() ( local out="" [ -n "$ZSH_VERSION" ] && setopt shwordsplit declare -A CHILDS while read P PP;do CHILDS[$PP]+=" $P" done < <(ps -e -o pid= -o ppid=) walk() { out="$o...
adamryczkowski/clustertools
inst/scripts/current_time.sh
Shell
gpl-3.0
575
#!/bin/bash export ROS_IP=$(ip addr | awk '/inet/ && /wlan0/{sub(/\/.*$/,"",$2); print $2}') echo $IBEX_HOME roslaunch $IBEX_HOME/launch/autonomous_demo_cones.launch
lw4992/Ibex
scripts/demo_cones.sh
Shell
gpl-3.0
166
#!/bin/sh printtitle() { cat <<"TITLE" The system must ignore ICMPv6 redirects by default. TITLE } printfix() { cat <<"FIX" To set the runtime status of the "net.ipv6.conf.default.accept_redirects" kernel parameter, run the following command: # sysctl -w net.ipv6.conf.default.accept_redirects=0If this is not t...
Taywee/dod-stig-scripts
linux/V-38548/vars.sh
Shell
gpl-3.0
679
# (c) Copyright 2009 - 2010 Xilinx, Inc. All rights reserved. # # This file contains confidential and proprietary information # of Xilinx, Inc. and is protected under U.S. and # international copyright and other intellectual property # laws. # # DISCLAIMER # This disclaimer is not a license and does not grant any # r...
arthurbenemann/fpga-bits
undocumented/audioDac/ipcore_dir/rom_memory/simulation/timing/simulate_vcs.sh
Shell
gpl-3.0
2,774
#!/bin/sh ## ## Nautilus ## SCRIPT: 00_oneExtractAudio_movieTOwav_ffmpeg.sh ## ## PURPOSE: Extract the audio from a movie file ('.flv' Flash video file or ## 'wmv' or 'avi' or 'mov' ...) into a '.wav' audio file. ## Uses 'ffmpeg'. ## Startup the new audio file in an audio editor, like aud...
kernt/linuxtools
gnome3-shell/nautilus-scripts/applications/multimedia/Convert-To/Movie2Wav.sh
Shell
gpl-3.0
3,407
#!/bin/bash echo hallo
da-nrw/DNSCore
DNSCommon/src/test/resources/utils/CommandLineConnectorTests/printhallo.sh
Shell
gpl-3.0
24
#!/bin/sh # 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 -x rm -rf upstudy-env virtualenv --python=python2.7 --no-site-packages upstudy-env . upstudy-env/bin/ac...
oyiptong/up-research-mining
setup-project.sh
Shell
mpl-2.0
408
#!/bin/bash echo "sample stdout" echo "sample stderr" >&2 false
joyent/catest
examples/tst.badstatus.sh
Shell
mpl-2.0
65
#!/usr/bin/env bash set -eu BASE_DIR="$(dirname "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)")" TMP_DIR=$(mktemp -d) DEST="${TMP_DIR}/shield-recipe-client" mkdir -p $DEST # deletes the temp directory function cleanup { rm -rf "$TMP_DIR" } trap cleanup EXIT # Build vendor files pushd $BASE_DIR npm run build pop...
Osmose/normandy
recipe-client-addon/bin/make-xpi.sh
Shell
mpl-2.0
1,065
g++ -O3 block_pointer_scanner.cpp -std=c++14 -I../sparsehash/src -isystem ../zfs/include -isystem ../zfs/lib/libspl/include -fpermissive -o bin/zfs_block_pointer_scanner ../zfs/lib/libzpool/.libs/libzpool.so -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -lboost_program_options
digiways/zfs-recovery-attempts
build_block_pointer_scanner.sh
Shell
mpl-2.0
286
#!/bin/bash # carry out structure refinement for a single chain on one GPU # Michael Feig, Michigan State University, 2017 if [ $# -eq 0 ]; then echo "usage: prefmd.sh [options] INPUT_PDB" exit -1 fi CHARMMEXECSINGLE=$CHARMMEXEC # serial executable CHARMMEXECMPI=$CHARMMEXEC # MPI executable top...
feiglab/prefmd
scripts/prefmd_OpenMM.sh
Shell
agpl-3.0
5,451
HIERYY=$(date --date="-1 day" +'%Y') HIERMM=$(date --date="-1 day" +'%m') HIER=$(date --date="-1 day" +'%Y-%m-%d') mkdir -p `date +%Y-%m` f=`date +%Y-%m`/parks-`date +%Y-%m-%dT%H:%M:00%z`.json l="last-parks.json" curl "http://data.citedia.com/r1/parks?crs=EPSG:4326" -s > $f # ~/.virtualenvs/oedb/bin/python parks.py if...
openeventdatabase/datasources
fr.rennes/minute.sh
Shell
agpl-3.0
2,696
#!/bin/bash rm -f Berksfile.lock set -eo pipefail skip_converge=0 regex="test_src/services_spec.rb.(.+)" boxes="test_src/box_(.+)" rm nohup.out for box in `ls test_src/box_* | grep -v *[#~]` do cp .kitchen.yml.old .kitchen.yml if [[ $box =~ $boxes ]] ; then b="${BASH_REMATCH[1]}" echo "Test...
hopshadoop/spark-chef
kitchen.sh
Shell
agpl-3.0
2,049
#!/bin/sh distro=centos dir=`dirname "$0"` install_package() { yum -y "$@" } error() { echo ERROR${1+: }"$@" >&2 trap - EXIT exit 1 } trap 'error' EXIT ./uninstall-svn.$distro.sh ./uninstall-git.$distro.sh /opt/webenabled/compat/shellinabox/shellinabox.init stop sed -i 's!/opt/webenabled/compat/she...
devpanel/serverlink
install/uninstall.centos.sh
Shell
agpl-3.0
1,683
#!/bin/bash # xtc - The eXTensible Compiler # Copyright (C) 2009-2012 New York University # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 as published by the Free Software Foundation. # # This program is distributed in the hope...
wandoulabs/xtc-rats
xtc-core/src/main/java/xtc/lang/cpp/scripts/sum.sh
Shell
lgpl-2.1
1,488
source common.sh clearStore clearCache nix shell -f shell-hello.nix hello -c hello | grep 'Hello World' nix shell -f shell-hello.nix hello -c hello NixOS | grep 'Hello NixOS' if ! canUseSandbox; then exit; fi chmod -R u+w $TEST_ROOT/store0 || true rm -rf $TEST_ROOT/store0 clearStore path=$(nix eval --raw -f shell...
pikajude/nix
tests/shell.sh
Shell
lgpl-2.1
859
#!/bin/bash set -o errexit set -o nounset set -o pipefail here="$(dirname ${BASH_SOURCE[0]})" source $here/util.sh source "$here/zsh-animate.sh" source "$here/zshnip-animation-utils.sh" workdir="$1" finished_file=$workdir/finished animation-attach "$workdir" play-interactive-banner () { run-type 1 "wt" tab ...
facetframer/zshnip
animation/animation-actions.sh
Shell
lgpl-3.0
7,574
#! /bin/bash # T orified M essage S ervice. # Sends your SMS through TOR using the SMS-Expert gateway. # https://www.sms-expert.de/pdf/SMS-Gateway_HTTP(S)_API.pdf # # Author: Michael Fitzmayer <mail@michael-fitzmayer.de> # # This script is free and unencumbered software released into the public # domain. See the file ...
mupfelofen-de/tms
tms.sh
Shell
unlicense
1,429
__ScriptVersion="0.0.1" usage () { echo "Usage : $(basename $0) [-h|-help] [-v|-version] command Options: -h|help Display this message -v|version Display script version -s|seconds Set the repetition interval (in seconds) command Script or commands to be performed watch(...
alejandrogallo/dotfiles
bin/botch.sh
Shell
unlicense
1,555
#!/bin/bash # # Copyright 2011-2021 Asakusa Framework Team. # # 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 applicabl...
asakusafw/asakusafw
directio-project/asakusa-directio-tools/src/main/dist/directio/bin/list-transaction.sh
Shell
apache-2.0
2,357
BASEDIR=$(dirname $0) ulimit -n 1024 jake clean install $BASEDIR
estebanroblesluna/cupDraw
build.sh
Shell
apache-2.0
66
#!/bin/bash # Copyright (C) 2021 Nicolas Lamirault <nicolas.lamirault@gmail.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...
nlamirault/dotfiles
bin/test_download.sh
Shell
apache-2.0
677
#!/bin/bash env_file=/tmp/$$.env printenv > $env_file wget --timeout=30 -t 3 -S -q "http://a4c_registry/log_relation_operation.php?node=$TARGET_NODE&instance=$TARGET_INSTANCE&operation=post_configure_target&tierNode=$SOURCE_NODE&tierInstance=$SOURCE_INSTANCE" --post-file=$env_file exit 0
alien4cloud/samples
demo-lifecycle/scripts/GenericConnectToGeneric/post_configure_target.sh
Shell
apache-2.0
289
#!/bin/bash jspm update for lib in $(xpath -e "//group[@name='libs']/*/text()" src/main/resources/wro.xml 2> /dev/null); do src=$(find target/jspm_packages/ -name $(basename $lib) -a -type f | head -1) if [ -n "$src" ]; then cp $src src/main/resources/webapp$lib fi done cp -a ./target/jspm_packages/github/c...
NitorCreations/willow
willow-servers/update-javascript-dependencies.sh
Shell
apache-2.0
529
#!/usr/bin/env bash # # Copyright 2015-2021 by Vegard IT GmbH (https://vegardit.com) # SPDX-License-Identifier: Apache-2.0 # # @author Sebastian Thomschke, Vegard IT GmbH # @author Patrick Spielmann, Vegard IT GmbH # # THIS FILE IS GENERATED BY BASH-FUNK GENERATOR # # documentation: https://github.com/vegardit/bash-fun...
vegardit/bash-funk
modules/aws.sh
Shell
apache-2.0
43,486
#!/bin/bash #set -eux #================================================================================================== # # タグ一覧取得処理 # # 引数 # 1: コミットユーザ ※任意 # #================================================================================================== #--------------------------------------------------------...
suwa-sh/swagger-spec-mgr
src/main/scripts/bin/git/tag_list.sh
Shell
apache-2.0
4,131
#!/bin/bash # Copyright 2015 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
calebamiles/kubernetes
test/kubemark/start-kubemark.sh
Shell
apache-2.0
20,629
#!/usr/bin/env bash # $1=string to modify # $2=string to trim strTrimRight() ( local body="$1" local trim="$2" shopt -s extglob echo -n "${body%%+($trim)}" ) # $1=string to modify # $2=string to trim strTrimLeft() ( local body="$1" local trim="$2" shopt -s extglob echo -n "${body##+($trim)}" ) # $...
jzacsh/yabashlib
src/string.sh
Shell
apache-2.0
480
#!/usr/bin/env bash # Setup env vars and folders for the ctl script # This helps keep the ctl script as readable # as possible # Usage options: # source /var/vcap/jobs/foobar/helpers/ctl_setup.sh JOB_NAME OUTPUT_LABEL # source /var/vcap/jobs/foobar/helpers/ctl_setup.sh foobar # source /var/vcap/jobs/foobar/helpers/ct...
shinji62/influxdb-boshrelease
jobs/influxdb/templates/helpers/ctl_setup.sh
Shell
apache-2.0
2,462
#!/bin/bash cat $0 exit 50 exiftool 51 man exiftool 60 exiftool The_Cowboy_Load_-_How_To_Load_A_Single-Action_Revolver-S043pY7MAxQ.mp4 61 exiftool -TAG "Bit Depth" The_Cowboy_Load_-_How_To_Load_A_Single-Action_Revolver-S043pY7MAxQ.mp4 62 exiftool -TAG="Bit Depth" The_Cowboy_Load_-_How_To_Load_A_S...
abrichards5/ABRUnixScripts
help/helpexiftool.sh
Shell
apache-2.0
4,330
# -*- sh -*- (Bash only) # # Copyright 2015 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 # # Unles...
ButterflyNetwork/bazel
scripts/bazel-complete-template.bash
Shell
apache-2.0
16,838
#!/bin/sh BASE_DIR=/opt/mediola PLUGIN_DIR=/usr/local/addons/mediola USER_DIR=/etc/config/addons/mediola WWW_DIR=/etc/config/addons/www/mediola if ! grep -q "ID mediola CONFIG_NAME NEOServer" /etc/config/hm_addons.cfg 2>/dev/null; then $BASE_DIR/install.tcl fi if [ ! "$(readlink $WWW_DIR)" = "$BASE_DIR/www" ]; the...
jens-maus/RaspberryMatic
buildroot-external/package/neoserver/overlay/opt/mediola/startup.sh
Shell
apache-2.0
931
#! /bin/sh # /etc/init.d/mailIP ### BEGIN INIT INFO # Provides: mailIP # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/stops the mailIP # Description: Start/stops the mailIP # sudo update-rc.d /etc/init.d/mailIP 2 3 4 5 ### END...
johnymoo/RaspberryPi
script/mailIP.sh
Shell
apache-2.0
650
#!/bin/bash # # Copyright 2007 The Apache Software Foundation # # 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 ...
myrtleTree33/zeppelin
bin/zeppelin-daemon.sh
Shell
apache-2.0
5,138
#!/bin/bash # # Copyright 2020 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 t...
GoogleCloudPlatform/click-to-deploy
k8s/orientdb/scripts/create_restore_manifest.sh
Shell
apache-2.0
2,584
#!/bin/bash -e . /etc/profile.d/modules.sh # MPICH deploy script module add deploy module add gcc/${GCC_VERSION} cd ${WORKSPACE}/${NAME}-${VERSION}/build-${BUILD_NUMBER} rm -rf * export FC=`which gfortran` export FCFLAGS= export F90= export F90FLAGS= ../configure \ --prefix=$SOFT_DIR-gcc-${GCC_VERSION} \ --enable-sha...
SouthAfricaDigitalScience/mpich-deploy
deploy.sh
Shell
apache-2.0
1,229
#!/bin/bash # Tests the OUTCONTAINER crawler mode # Returns 1 if success, 0 otherwise if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" exit 1 fi docker rm -f test_crawl_os_container_1 2> /dev/null > /dev/null docker run -d --name test_crawl_os_container_1 ubuntu sleep 60 2> /dev/null > /dev/n...
ricarkol/agentless-system-crawler
tests/old/test_crawl_load_container.sh
Shell
apache-2.0
575
#!/bin/bash # Configure environment variables for Bazel build and test. set -e export HEAPCHECK=normal export PPROF_PATH=/thirdparty_build/bin/pprof NUM_CPUS=`grep -c ^processor /proc/cpuinfo` export ENVOY_SRCDIR=/source function setup_gcc_toolchain() { export CC=gcc export CXX=g++ echo "$CC/$CXX toolchain ...
tschroed/envoy
ci/build_setup.sh
Shell
apache-2.0
4,236
#!/bin/bash set -xe aws iam create-user --path /operations/ --user-name test1 --profile cloudops
bdastur/notes
aws/tf_runbooks/iam/tests/usertest.sh
Shell
apache-2.0
100
#!/bin/bash readonly ROOT=$(pwd) ${ROOT}/stop_kubernetes_work.sh ${ROOT}/uninstall.sh ${ROOT}/kubelet.sh ${ROOT}/proxy.sh #${ROOT}/docker.sh ${ROOT}/start_kubernetes_work.sh ${ROOT}/flannel.sh
guoxf/GoDemo
kubernetes/script/node/install.sh
Shell
apache-2.0
200
#!/usr/bin/env bash # Copyright 2020 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
kubernetes-sigs/multi-tenancy
incubator/virtualcluster/hack/update-codegen.sh
Shell
apache-2.0
1,506
#!/bin/bash echo "************************************** Launch tests ******************************************" file='./ci/version' VERSION_NUMBER=$(<"$file") echo "Launch tests for $VERSION_NUMBER" docker build --rm -f scriptsCI/docker/Dockerfile-test.build --build-arg VERSION_NUMBER=$VERSION_NUMBER -t cytomine...
cytomine/Cytomine-core
scriptsCI/ciTest.sh
Shell
apache-2.0
805
#!/bin/sh ## Fixed User Pass FTP_USR=ftp FTP_PWD=111 ########################################################## ## Usage: $0 REMOTE_SERVER_IP put DirOrFile" usage() { echo -e "\nUsage:" echo -e "\t$0 REMOTE_SERVER_IP put DirOrFile" } ## calc cdpath of ftp # Format: $0 &result curModuleDir localBaseDir remoteBase...
martinchina1985/stock
scripts/ftp_put_src.sh
Shell
apache-2.0
2,830
#!/bin/bash # #/** # * Copyright 2007 The Apache Software Foundation # * # * 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 fil...
trendmicro/HGraph
src/main/scripts/truncate-htable.sh
Shell
apache-2.0
1,023
#! /bin/bash # # Copyright (C) 2019 Kubos Corporation # # 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 ...
kubostech/kubos-linux-build
tools/release-test/run_test.sh
Shell
apache-2.0
3,808
#!/bin/sh download_imagemagick() { export download_json='{ "file_name":"ImageMagick-6.8.9-8.tar.bz2", "downloader":"aria2 curl wget", "save_dest":"$DOCUMENT_ROOT/../sources/ImageMagick-6.8.9-8.tar.bz2", "useragent":"Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)", "timeout":20, "md5sum":"7e96f55156d72ce59c76ec93362ec7...
ShellGui/shellgui-appstore
apps/imagemagick/imagemagick_lib.sh
Shell
apache-2.0
4,471
gunicorn app:server
timkpaine/lantern
experimental/dash/dash-vanguard-report-master/run.sh
Shell
apache-2.0
20
#!/bin/bash IP=$(ip addr list eth0 |grep "inet " |cut -d' ' -f6|cut -d/ -f1) truncate -s 0 /usr/local/hadoop/etc/hadoop/slaves sed -i s/namenode/$IP/g /usr/local/hadoop/etc/hadoop/core-site.xml sed -i s/localhost/$IP/g /usr/local/hadoop/etc/hadoop/yarn-site.xml START=1 for (( c=$START; c<=$SLAVES; c++)) do ssh slav...
gustavonalle/yarn-docker
start-wrapper.sh
Shell
apache-2.0
613
#!/bin/bash # ---------------------------------------------------------------------------- # # Package : socket.io-parser # Version : 3.3.0 # Source : https://github.com/socketio/socket.io-parser.git # Tested on : RHEL 7.6 # Node Version : v12.19.1 # Maintainer : Amit Sadaphule <amits2@us.ibm...
ppc64le/build-scripts
s/socket.io-parser/socket.io-parser_rhel_7.6.sh
Shell
apache-2.0
1,828
#!/usr/bin/env bash # This file is copied from https://github.com/cgrindel/rules_updatesrc/blob/main/examples/simple/header/header.sh src="$1" out="$2" header="$3" first_line=$(head -n 1 "${src}") if [[ "${first_line}" != "${header}" ]]; then echo "${header}" > "${out}" fi cat "${src}" >> "${out}"
netsec-ethz/scion
rules_openapi/internal/header.sh
Shell
apache-2.0
304
#!/bin/bash # Clean out any old sandbox, make a new one OUTDIR=sandbox rm -fr $OUTDIR; mkdir -p $OUTDIR # Check for os SEP=: case "`uname`" in CYGWIN* ) SEP=";" ;; esac function cleanup () { kill -9 ${PID_1} ${PID_2} ${PID_3} ${PID_4} >> /dev/null wait 1> /dev/null 2>&1 RC=`cat $OUTDIR/status.0...
YzPaul3/h2o-3
h2o-scala/testMultiNode.sh
Shell
apache-2.0
2,953
#!/bin/bash if [ -z "$SIMPL4DIR" ] ; then thisdir=$(readlink $0) if [ "${thisdir}" != "" ] then export SIMPL4DIR=$(dirname $(cd `dirname $thisdir`; pwd)) else export SIMPL4DIR=$(dirname $(cd `dirname $0`; pwd)) fi echo "using $SIMPL4DIR" fi if [ ! -e "${SIMPL4DIR}/server/felix/config.ini" ] ; then ...
ms123s/simpl4-src
bin/createclasses.sh
Shell
apache-2.0
622
#!/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 applic...
nvoron23/kubernetes
cluster/gce/config-test.sh
Shell
apache-2.0
2,729
#!/bin/bash set -o errexit set -o nounset set -o pipefail OS_ROOT=$(dirname "${BASH_SOURCE}")/.. source "${OS_ROOT}/hack/common.sh" source "${OS_ROOT}/hack/util.sh" # Go to the top of the tree. cd "${OS_ROOT}" os::build::setup_env function cleanup() { [ ! -z "${ETCD_STARTED-}" ] && return set +e kill ${ETCD_...
stefwalter/origin
hack/test-integration.sh
Shell
apache-2.0
1,998
# Copyright 2017-2018 loustler # 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, sof...
loustler/my-setting
shell/config/git/src/fz.sh
Shell
apache-2.0
1,055
#!/bin/sh echo user1 with correct password curl -X POST --data "username=testdomain\\testuser01&password=password1" http://127.0.0.1:8000/rauth/ echo echo echo user1 with wrong password curl -X POST --data "username=testdomain\\testuser01&password=wrong" http://127.0.0.1:8000/rauth/ echo echo echo user2 with correct...
nicc777/django-rauth
rauth/rauth_test.sh
Shell
bsd-2-clause
874
#!/bin/bash set -ex COMMAND_STR="clang-format --style="file" -i" if [[ $# -eq 0 ]] ; then echo "Usage: $0 --all" >&2 echo " $0 file1 [...]" >&2 echo -e "\nRuns \"clang-format --style=file -i file\" against each" >&2 echo -e "file specified. If \"--all\" is used, searches recursively" >&2 ec...
ajbennieston/storm
format.sh
Shell
bsd-2-clause
608
#!/bin/bash # Stop Grafana sudo service grafana-server stop # Stop InfluxDB sudo /etc/init.d/influxdb stop
brunorijsman/juniper-grafana
stop.sh
Shell
bsd-2-clause
110
#!/bin/bash if [ "$1" == "" ]; then echo "build.sh <clean/clean_all> <download/download_all> <build>" exit 0 fi download=0 download_only=0 download_all=0 build_deps=0 clean_all=0 compile=0 build_only=0 build_debug=0 make_clean=0 DIR="$(pwd)" VERSION="1.17.6" PCRE_VERSION="8.40" ZLIB_VERSION="1.2.11" SUFFIX="" ...
ZigzagAK/ngx_dynamic_upstream_lua
build.sh
Shell
bsd-2-clause
12,725
#!/bin/sh # This script takes an initial .gau input file (charge, mult, and coords) and generates and runs the necessary gaussian com files for a full workup of a spin system # This script relies on "skeleton" gaussian com files. The defaults are spinwork-[charge]-[state].com.skel in the current directory, or if not fo...
sctincman/gauss-scripts
spinwork.sh
Shell
bsd-2-clause
7,809
# Translate .abc to .asm # # You must first build a tamarin executable and store it under the # name "shell" (or "shell.exe") in the directory $DIR. # # usage: # abcencode.sh <filename> # # abcencode.sh must be run from $DIR, or you must change the value of # $DIR to be the absolute path of the bin directory (that ha...
greyhavens/thane
tamarin-central/esc/build/abcencode.sh
Shell
bsd-2-clause
663
#!/bin/bash """ Created on Mon Feb 14, 2011 @author:Isabel Restrepo A script that encapsulates all steps needed to computer pca reconstruction error as a function of number of components used """ if [ $1 = "-r" ] ; then export PYTHONPATH=/Projects/vxl/bin/release/lib else if [ $1 = "-d" ] ; then export PYT...
mirestrepo/voxels-at-lems
bvpl/bvpl_octree/PCA/release/reconstruction_error/add_errors.sh
Shell
bsd-2-clause
2,170
#!/bin/bash TOTALTERMINAL_RESOURCES='/Library/ScriptingAdditions/TotalTerminal.osax/Contents/Resources/TotalTerminal.bundle/Contents/Resources' TOTALTERMINAL_RESOURCES_BACKUP='/Library/ScriptingAdditions/TotalTerminal.osax/Contents/Resources/TotalTerminal.bundle/Contents/ResourcesOrig' if [ -d "$TOTALTERMINAL_RESOURCE...
binaryage/totalterminal-i18n
undev.sh
Shell
bsd-3-clause
620
#!/bin/sh #DO NOT REMOVE echo The test script assumes you are in rshell and will run rshell with echo the command "~/rshell/bin/rshell" while feeding it input with heredoc. #DO NOT REMOVE echo Start testing test_test echo =========================== ~/rshell/bin/rshell << GUARD test -ef bin #fdsavnl,mf test -d bin t...
thsie004/rshell
tests/test_test.sh
Shell
bsd-3-clause
594
#!/bin/sh ########################################################### # build_app.sh # @author sbkro # @date 2014/07/30 ########################################################### BUILD_DIR=./_build SRC_DIR=./src APP_FILE=alc.alfredworkflow mkdir $BUILD_DIR cp -r $SRC_DIR/alc $BUILD_DIR cp $SRC_DIR/etc/* $BU...
sbkro/alc
build_app.sh
Shell
bsd-3-clause
414
# Set up some environment variables as /etc/environment # isn't sourced in chroot set -x set -e export HOME=/root export PYNQ_PYTHON=python3.6 export PYNQ_JUPYTER_NOTEBOOKS=/home/xilinx/jupyter_notebooks if [ ${ARCH} == 'arm' ]; then export NODE_OPTIONS=--max-old-space-size=2048 else export NODE_OPTIONS=--max-old-s...
yunqu/PYNQ
sdbuild/packages/jupyter/qemu.sh
Shell
bsd-3-clause
1,536
#!/bin/tcsh setenv opts "" setenv type "--type s,d,c,z" setenv real "--type s,d" setenv complex "--type c,z" setenv n "--dim 25:100:25" setenv mn "${n} --dim 25x50,50x25 --dim 25x100,100x25" setenv mnk "${mn} --dim 25x50x25,25x25x50 --dim 25x100x25,25x25x100" setenv incx_pos "--incx 1...
ccecka/BLAM
test/run_all.sh
Shell
bsd-3-clause
3,795
#!/bin/bash # # Template for Bash script file to provide standalone "command"; # 1. File should be executed in a new shell or a subshell to prevent contamination # of the calling shell; # 2. Script should declare all dependencies in upfront global array which is then # sourced as part of the execution of the main scri...
longboatharry/QuickStarts
bash-script-template.sh
Shell
mit
1,207
rm a.vm rm b.vm rm c.vm rm d/d.vm rm a.php rm b.php rm c.php rm d/d.php rm a.tpl.js rm b.tpl.js rm c.tpl.js rm d/d.tpl.js
thx/crox
test/app/cleanup.sh
Shell
mit
123
#! /bin/sh srcdir=`dirname "$0"` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd "$srcdir" autoreconf --force --verbose --install || exit 1 cd "$ORIGDIR" || exit $? #if test -z "$NOCONFIGURE"; then # "$srcdir"/configure "$@" #fi
laanwj/etnaviv_gpu_tests
autogen.sh
Shell
mit
235
#!/bin/bash echo "Deploy dist to dist branch."; REV=`git rev-parse HEAD`; BRANCH=`git rev-parse --abbrev-ref HEAD`; DIST_BRANCH=${1:-dist}; test "$(git config user.name)" = '' && ( git config user.name "leancloud-bot"; git config user.email "ci@leancloud.cn"; ) git add dist -f; git commit -m "chore(build): build ${...
leancloud/javascript-sdk
script/release.sh
Shell
mit
477
#!/bin/sh # Copyright (c) 2012-2016 The Gulden developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. if [ $# -gt 1 ]; then cd "$2" fi if [ $# -gt 0 ]; then FILE="$1" shift if [ -f "$FILE" ]; then INFO=...
nlgcoin/guldencoin-official
share/genbuild.sh
Shell
mit
1,602
#!/bin/bash -e VERSION=1.5.1 echo "================= Installing ElasticSearch ===================" sudo wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${VERSION}.tar.gz sudo tar xzf elasticsearch-${VERSION}.tar.gz -C /usr/local && sudo rm -f elasticsearch-${VERSION}.tar.gz sudo ln -s /usr/...
dry-dock/u12pls
version/elasticsearch_1_5.sh
Shell
mit
398
#!/bin/bash sudo ../raspi-config.sh # Before changing directories: # # Copy the udev ttyusb aliases sudo cp ../99-usb-serial.rules /etc/udev/rules.d # Copy the gpsd default configuration sudo cp ../gpsd /etc/default # Install required programs sudo apt-get -q -qq update #sudo apt-get -q -y dist-upgrade #sudo rpi-upd...
CURocketry/Raspberry-Pi-Setup
development/setup.sh
Shell
mit
1,355
# for sbt: http://code.google.com/p/simple-build-tool/ _gem_complete() { local cur goals COMPREPLY=() cur=${COMP_WORDS[COMP_CWORD]} goals="build cert check cleanup contents dependency environment fetch generate_index help install list lock mirror outdated owner pristine push query rdoc search server sources s...
relaynetwork/profile
scripts/gem-completion.sh
Shell
mit
519
hstore_hosts="localhost:0:0-5;localhost:1:6-11;localhost:2:12-17;localhost:3:18-23" hstore_client_memory="2048" hstore_site_memory="30720" hstore_global_memory="2048" hstore_client_threads_per_host="50" machine_name="Mid-Low-Server" machine_shortname="mid" . run_hstore_withlog.sh
hkimura/foedus_code
experiments-core/src/foedus/tpcc/hstore_related/run_hstore_withlog_mid.sh
Shell
gpl-2.0
281
#!/bin/bash sudo apt-get update sudo apt-get install gnome-common libglib2.0-dev gtk+-3.0-dev libunique-3.0-dev libwnck-3-dev libgee-dev libgnome-menu-3-dev valac libnotify-dev
BlankOn/manokwari
scripts/dev_require.sh
Shell
gpl-2.0
177
#!/bin/sh # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) International Business Machines Corp., 2005 # Copyright (c) 2021 Joerg Vehlow <joerg.vehlow@aox-tech.de> # Author: Avantika Mathur (mathurav@us.ibm.com) FS_BIND_TESTFUNC=test . fs_bind_lib.sh test() { tst_res TINFO "rbind: shared subtree with un...
pevik/ltp
testcases/kernel/fs/fs_bind/rbind/fs_bind_rbind32.sh
Shell
gpl-2.0
971
version=\ ( "5.7.2" ) url=\ ( "http://downloads.sourceforge.net/project/net-snmp/net-snmp/$version/net-snmp-$version.tar.gz" ) md5=\ ( "5bddd02e2f82b62daa79f82717737a14" ) configure() { # --with-install-prefix="${cfg_dir_toolchain_sysroot}/usr" \ ./configure ...
LSTS/glued
rules/net-snmp/default.bash
Shell
gpl-2.0
1,679
#!/bin/bash set -ex if [ -z "$DOCKER_IMAGE" ]; then ./travis_build.sh else docker run \ --privileged \ --ulimit nofile=65536 \ -v "$(pwd):/root" \ -v /tmp:/tmp \ -w /root \ -e TRAVIS_TAG \ -e TRAVIS_COMMIT \ -e DOCKER_IMAGE \ "$DOCKER_IMA...
nhazekam/cctools
travis.sh
Shell
gpl-2.0
355
#!/bin/bash # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions # of the GNU General Public License v.2. # # You should have received a copy of the GNU General Public Lice...
jh80chung/lvm2
test/shell/activation-skip.sh
Shell
gpl-2.0
948
#!/bin/sh echo "wifi reset" /sbin/wifi_module_reset
card2000/buildroot-sam
package/busybox/files/foxp/etc/Scripts/wifi_restart.sh
Shell
gpl-2.0
53
#! /bin/sh rm -rf autom4te.cache aclocal -I m4 autoheader autoconf automake --add-missing rm -rf autom4te.cache echo echo "Now you need to run the configure script. The configure script may take the" echo "\"--target=TARGET\" option and various \"--enable-FEATURE\" and \"--with-PACKAGE\"" echo "options." echo echo...
robmcmullen/atari800
autogen.sh
Shell
gpl-2.0
554
#!/bin/bash ../runOmega3.sh -d . -inP ./Ecoli_250_500_test.fna -n 4 -m 5 -o ecoli -p ../omega3.cfg
abiswas-odu/Disco
test/runEcoli.sh
Shell
gpl-3.0
101
#!/usr/bin/env bash # This file is part of The RetroPie Project # # The RetroPie Project is the legal property of its developers, whose names are # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source. # # See the LICENSE.md file at the top-level directory of this distribution ...
j-r0dd/RetroPie-Setup
scriptmodules/emulators/pcsx-rearmed.sh
Shell
gpl-3.0
2,168
#!/bin/sh facter --puppet selinux_current_mode
pmanwatkar/actionScripts
facterLinux/selinux_current_mode_Linux.sh
Shell
gpl-3.0
47
#!/bin/bash set -ev if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then rsync -arzO --delete --stats --rsh="sshpass -p $DEPLOY_PASSWORD ssh -l $DEPLOY_USER" dist/ cwking.com:$DEPLOY_PATH; fi
BrandonCKrueger/movie-club
deploy.sh
Shell
gpl-3.0
225
# Optparse - a BASH wrapper for getopts # @author : nk412 / nagarjuna.412@gmail.com # Copyright (c) 2015 Nagarjuna Kumar # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, in...
sampablokuper/dwgen
optparse.bash
Shell
agpl-3.0
6,360
#!/usr/bin/env bash set -e # This script is used by the edx-platform-quality-check jenkins job. source scripts/jenkins-common.sh source scripts/thresholds.sh # Run quality task. Pass in the 'fail-under' percentage to diff-quality echo "Running diff quality." mkdir -p test_root/log/ LOG_PREFIX=test_root/log/run_qualit...
ahmedaljazzar/edx-platform
scripts/jenkins-quality-diff.sh
Shell
agpl-3.0
462
#!/bin/bash ssh -i .tf_remote_files/ec2_ssh_key ubuntu@`terraform output host_ip`
rabblerouser/rabblerouser-infra
terraform/ssh.sh
Shell
agpl-3.0
83
#!/bin/bash rel=../../.. if [ x"$TOP" == x ]; then TOP=`pwd`/$rel; fi . $rel/linux-ow.sh dos=1 # MS-DOS if [ "$1" == "clean" ]; then do_clean rm -fv test.dsk exit 0 fi if [ "$1" == "disk" ]; then make_msdos_data_disk test.dsk || exit 1 mcopy -i test.dsk dos86s/test.exe ::test86.exe mcopy -i t...
joncampbell123/doslib
dosbox/bins/preboot/make.sh
Shell
lgpl-2.1
1,849
#!/usr/bin/env bash # DESCRIPTION: Verilator: CI ccache maintenance # # Copyright 2020 by Geza Lore. This program is free software; you # can redistribute it and/or modify it under the terms of either the GNU # Lesser General Public License Version 3 or the Perl Artistic License # Version 2.0. # # SPDX-License-Identifi...
verilator/verilator
ci/ci-ccache-maint.bash
Shell
lgpl-3.0
917
#!/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" XCASSET_FILES=() realpath() { DIRECTORY="$(cd "${1%/*}" && pwd)" FILENAME="${1##*/}" echo "$DIRECTORY/$FILENAME" } install_reso...
brynh/bluemix-ios-services-webinar
Pods/Target Support Files/Pods/Pods-resources.sh
Shell
apache-2.0
4,851
#!/bin/bash if [ ! -f /var/www/api/.env ]; then echo "[info] copy .env" cp /var/www/api/.env.sample /var/www/api/.env fi if [ -f /var/www/api/composer.json ] && [ ! -d /var/www/api/vendor ]; then echo "[info] Composer in background" composer install --optimize-autoloader --working-dir=/var/www/api fi chm...
vaulthq/vault
docker/init.sh
Shell
apache-2.0
627