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 supervisord -n -c /etc/supervisor/supervisord.conf
ungerts/docker-puppet
puppetmaster/scripts/run.sh
Shell
apache-2.0
64
#!/bin/bash set -e TF_VER="0.11.13" tf() { docker run -ti -v "$(pwd):$(pwd)" -w "$(pwd)" \ "hashicorp/terraform:${TF_VER}" "$@" } tf fmt --check=true --diff=true tf validate --check-variables=false # vim: tabstop=2 shiftwidth=2 expandtab
lsst-sqre/sandbox-jenkins-demo
tests/terraform.sh
Shell
apache-2.0
249
#!/bin/bash # Copy the [de]activate scripts to $PREFIX/etc/conda/[de]activate.d. # This will allow them to be run on environment activation. for CHANGE in "activate" "deactivate" do mkdir -p "${PREFIX}/etc/conda/${CHANGE}.d" cp "${RECIPE_DIR}/${CHANGE}.sh" "${PREFIX}/etc/conda/${CHANGE}.d/${PKG_NAME}_${CHANGE}...
NSLS-II/lightsource2-recipes
recipes-tag/toolchain/install-toolchain.sh
Shell
bsd-3-clause
330
api_key=9775a026f1ca7d1c6c5af9d94d9595a4 app_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff monitor_id=91879 # Create a monitor to show monitor_id=$(curl -X POST -H "Content-type: application/json" \ -d '{ "type": "metric alert", "query": "avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100", "nam...
macobo/documentation
code_snippets/api-monitor-show.sh
Shell
bsd-3-clause
679
#!/usr/bin/env bash #!/usr/bin/env bash [ -d ebin ] || mkdir -pv ebin erl -pa $(find ../../deps/lager -name ebin) -make cp -avf app/*.app ebin
2nth0nyj/CardsGame
games/robot/build.sh
Shell
mit
145
#!/bin/bash # # Copyright (C) 1997-2003 Sistina Software, Inc. All rights reserved. # Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. # # 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 Foundatio...
pemer/resource-agents
rgmanager/src/resources/utils/ra-skelet.sh
Shell
gpl-2.0
3,295
#!/bin/sh # #----------------------------------------------------------------------------# # HP-UX client for Xymon # # # # Copyright (C) 2005-2011 Henrik Storner <henrik@hswn.dk> ...
Kotty666/xymon
client/xymonclient-hp-ux.sh
Shell
gpl-2.0
2,911
#!/bin/sh exec < /dev/console > /dev/console 2>&1 set -x export PATH=/usr/sbin:/usr/bin:/sbin:/bin export TERM=linux export PS1='nfstest-server:\w\$ ' : > /dev/watchdog stty sane echo "made it to the rootfs!" echo server > /proc/sys/kernel/hostname wait_for_if_link() { local cnt=0 local li while [ $cnt -lt...
dracutdevs/dracut
test/TEST-20-NFS/server-init.sh
Shell
gpl-2.0
2,446
arr_program=(git phpcs) for program in ${arr_program[@]} do condition=$(which $program 2>/dev/null | grep -v "not found" | wc -l) if [ $condition -eq 0 ] ; then echo "You are required to install '$program'" exit fi done git clone https://github.com/luizperes/pre-commit.git mv pre-commit/pre-commit...
quack/quack
tools/phpcs-pre-commit/install.sh
Shell
gpl-3.0
404
#!/bin/sh . ./test-lib.sh skip_models StreamResponseEpoll t_plan 11 "rack.input pipelining test" t_begin "setup and startup" && { rainbows_setup $model rtmpfiles req rainbows -D sha1.ru -c $unicorn_config body=hello body_size=$(printf $body | count_bytes) body_sha1=$(printf $body | rsha1) random_blob_size=$(cou...
tankerwng/rainbows
t/t0106-rack-input-keepalive.sh
Shell
gpl-3.0
2,949
#!/usr/bin/env bash while [ 1 ] do if [ -z `pgrep loader.out` ] then cd /home/liweizhao/starsvc/bin ./verify_code_sms.sh 17706401941 crash 0 ./loader.out else echo "continue loop" fi sleep 10 done
flaght/starsvc
test/check.sh
Shell
gpl-3.0
204
#!/bin/sh D=`dirname $0` python3 /usr/lib/python3/dist-packages/flake8/run.py --exclude=.git,__pycache__,$D/modes/altitude_lookup.py,tools,test mlat-server $D
mutability/mlat-server
run-flake8.sh
Shell
agpl-3.0
159
#!/usr/bin/env bash set -e set -o pipefail BUILD_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" source "${BUILD_DIR}/ci/common/common.sh" source "${BUILD_DIR}/ci/common/dependencies.sh" WORK_DIR=${WORK_DIR:-${BUILD_DIR}/build} MIRROR_USER=${MIRROR_USER:-neovim} MIRROR_BRANCH=${MIRROR_BRANCH:-master} sync_bzr...
fwalch/bot-ci
ci/sync-mirrors.sh
Shell
apache-2.0
845
#!/usr/bin/env bash set -Eeuo pipefail echo >&2 'WARNING: this script modifies /etc/docker/daemon.json; use at your own peril' # uses https://github.com/tianon/rawdns to install pgp-happy-eyeballs in a way that can be used for "curl|bash" in Travis builds for transparently happy eyeballs set -x bip="$(ip address sh...
strapdata/elassandra
.travis/hack-my-builds.sh
Shell
apache-2.0
2,502
#!/bin/bash echo "args $*" if ! find $HOME/rundeck/packaging/rpmdist/RPMS/noarch/ -name '*.rpm' ; then echo "rpm not found at $HOME/rundeck/packaging/rpmdist/RPMS/noarch/rundeck*.rpm" exit 2 fi rpm -ivh $HOME/rundeck/packaging/rpmdist/RPMS/noarch/rundeck*.rpm service rundeckd start exec "$@"
damageboy/rundeck
docker/rpminstall/entry.sh
Shell
apache-2.0
300
#!/bin/sh set +x TRAVIS_SCALA_VERSION_ARG=$1 if [ $TRAVIS_PULL_REQUEST = "false" ]; then echo "Testing before publishing the snapshot" sbt $TRAVIS_SCALA_VERSION_ARG test if [ $? -eq 0 ]; then echo "Publishing snapshot..." sbt $TRAVIS_SCALA_VERSION_ARG publish else echo "Tests failed -- no snapshot will be ...
kjanosz/scalameter
tools/validate-pr.sh
Shell
bsd-3-clause
456
python setup.py sdist
samwho/jarvis
client_libs/python/package.sh
Shell
mit
22
#!/bin/bash # This is the installer for those working on Community Auth development. # Place and execute this script where IT WILL CREATE the web root directory. # It will also create the database, as long as you set a valid user and password. # The directory that git will clone into SITEDIR="community_auth_ci_3" # T...
wtubog/mapp-front
application/third_party/community_auth/sh/.development_install.sh
Shell
mit
6,182
rm brainfuck_* rm *.class rm *.o rm *.exe rm -rf .crystal rm -rf nimcache
chalucha/benchmarks
brainfuck/clean.sh
Shell
mit
74
#!/bin/sh echo extend rootfs to max size resize2fs /dev/mmcblk0p13 echo "libreader start!!!" mount /dev/mmcblk0p3 /boot/ /usr/bin/libreader 720P_50 sleep 2
schleichdi2/OPENNFR-6.3-CORE
meta-oe-alliance/meta-brands/meta-uclan/recipes-drivers/uclan-libreader-ustym4kpro/uclan-libreader-ustym4kpro.sh
Shell
gpl-2.0
158
#!/bin/bash function printusage { echo "Usage: stork.sh <name>" echo "" echo " Creates a new blank MOOSE app in the current working directory." echo " <name> should be given in CamelCase format." echo " When --module is supplied after the <name> a MOOSE module will be created." } if [[...
Chuban/moose
scripts/stork.sh
Shell
lgpl-2.1
3,751
#!/bin/bash ########################################################################## #Aqueduct - Compliance Remediation Content #Copyright (C) 2011,2012 # Vincent C. Passaro (vincent.passaro@gmail.com) # Shannon Mitchell (shannon.mitchell@fusiontechnology-llc.com) # #This program is free software; you ca...
quark-pat/CLIP
packages/aqueduct/aqueduct/compliance/Bash/STIG/rhel-5/prod/GEN002718.sh
Shell
apache-2.0
3,318
#!/bin/bash FN="pd.clariom.s.rat_3.14.1.tar.gz" URLS=( "https://bioconductor.org/packages/3.13/data/annotation/src/contrib/pd.clariom.s.rat_3.14.1.tar.gz" "https://bioarchive.galaxyproject.org/pd.clariom.s.rat_3.14.1.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-pd.clariom.s.rat/bioconductor-pd.c...
phac-nml/bioconda-recipes
recipes/bioconductor-pd.clariom.s.rat/post-link.sh
Shell
mit
1,459
#!/bin/bash FN="RnBeads.hg19_1.24.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.13/data/experiment/src/contrib/RnBeads.hg19_1.24.0.tar.gz" "https://bioarchive.galaxyproject.org/RnBeads.hg19_1.24.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-rnbeads.hg19/bioconductor-rnbeads.hg19_1.24.0_...
phac-nml/bioconda-recipes
recipes/bioconductor-rnbeads.hg19/post-link.sh
Shell
mit
1,312
############################################################ # <bsn.cl fy=2013 v=none> # # Copyright 2013 Accton Technology Corporation. # # # # </bsn.cl> ############################################################ # # The IDPROM device is initialized last as part of this script. # # Assume that if the IDPROM...
jeankuo/ONL
components/all/platform-config/x86-64-accton-as5812-54x-r0/src/boot/x86-64-accton-as5812-54x-r0-devices.sh
Shell
epl-1.0
5,126
#!/bin/bash -v # 11/12/2011 # # Note: libssl and libcrypto is using the system default at runtime (usually /usr/lib). PREFIX=$HOME/build test -e "$PREFIX" || mkdir "$PREFIX" cd "$PREFIX" || exit 1 ## environment COLOR=green VERSION=0.1.9.0 DMG_SIZE=250m TARGET="Annot Stream" TARGET_DMG=$TARGET.dmg TARGET_ZIP=annot...
rayNymous/annot-player
src/deploy-mac.sh
Shell
gpl-3.0
10,071
#!/bin/sh cd `dirname $0` cd .. PROFILE_NAME="client" PARAMS="-P max-line-length=200 --exclusions buildscripts/vera++/ruleExclusions" find src/ -name "*.h" -or -name "*.c" -or -name "*.cpp" | vera++ --root buildscripts/vera++ --profile $PROFILE_NAME $PARAMS $@
MKV21/glimpse_client
buildscripts/vera++.sh
Shell
bsd-3-clause
264
#!/bin/bash trap 'kill $(jobs -p)' EXIT DIR=$1 MAX=$2 TRUNCATE=${TRUNCATE:-$LUSTRE/tests/truncate} while true; do file=$DIR/$((RANDOM % MAX)) $TRUNCATE $file $RANDOM 2> /dev/null done
tweag/lustre
lustre/tests/racer/file_truncate.sh
Shell
gpl-2.0
189
#!/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...
bolkedebruin/airflow
scripts/ci/constraints/ci_commit_constraints.sh
Shell
apache-2.0
1,608
#!/bin/bash usage() { # deploys pacakges cat <<EOF Usage: $0 <dist-dir> unstable|testing|stable [nocommit] Available "targets": unstable = beta versions which contain latest changes testing = only used for testing a release stable = stable releases only If 'nocommit' is specified, the generated files ...
kleingeist/xtreemfs
packaging/deploy_release-packages.sh
Shell
bsd-3-clause
3,762
#! /bin/bash outdir=$PREFIX/share/$PKG_NAME mkdir -p $outdir mkdir -p $outdir/bin mkdir -p $PREFIX/bin chmod +x configureHomer.pl cp configureHomer.pl $outdir/ ln -s ${CC} $BUILD_PREFIX/bin/gcc ln -s ${CXX} $BUILD_PREFIX/bin/g++ ( cd $outdir && perl configureHomer.pl -install ) ls -1 $outdir/bin/ | grep -v old | se...
bebatut/bioconda-recipes
recipes/homer/build.sh
Shell
mit
437
#!/bin/bash FN="BSgenome.Ptroglodytes.UCSC.panTro6_1.4.2.tar.gz" URLS=( "https://bioconductor.org/packages/3.14/data/annotation/src/contrib/BSgenome.Ptroglodytes.UCSC.panTro6_1.4.2.tar.gz" "https://bioarchive.galaxyproject.org/BSgenome.Ptroglodytes.UCSC.panTro6_1.4.2.tar.gz" "https://depot.galaxyproject.org/softw...
cokelaer/bioconda-recipes
recipes/bioconductor-bsgenome.ptroglodytes.ucsc.pantro6/post-link.sh
Shell
mit
1,418
#!/bin/sh # Capstone Disassembly Engine # By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 # Note: to cross-compile "nix32" on Linux, package gcc-multilib is required. MAKE_JOBS=$((${MAKE_JOBS}+0)) [ ${MAKE_JOBS} -lt 1 ] && \ MAKE_JOBS=4 # build Android lib for only one supported architecture build_android() { ...
killvxk/rp
src/third_party/capstone/make.sh
Shell
gpl-3.0
4,313
#!/bin/bash # test getfattr -d COMMAND="getfattr -d -m x ." echo "Running ${COMMAND}..." $COMMAND | grep "xtreemfs.url" RESULT=$? if [ "$RESULT" -ne "0" ]; then echo "$COMMAND failed"; exit $RESULT; fi # test setfattr COMMAND="setfattr -n key -v value ." echo "Running ${COMMAND}..." $COMMAND RESULT=$? if [ "$RESULT" ...
harnesscloud/xtreemfs
tests/test_scripts/test_xattrs.sh
Shell
bsd-3-clause
709
#!/bin/sh # # Copyright (c) 2006 Junio C Hamano # test_description='various format-patch tests' GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME . ./test-lib.sh . "$TEST_DIRECTORY"/lib-terminal.sh test_expect_success setup ' for i in 1 2 3 4 5 6 7 8 9 10; do echo "$i"; done >fi...
abg1979/git
t/t4014-format-patch.sh
Shell
gpl-2.0
68,467
#!/bin/sh : turn on debugging ipsec whack --debug-control --debug-oppo --debug-dns : check out config ipsec eroute : use oppohere/oppothere to see negotiation ipsec whack --oppohere 192.1.3.209 --oppothere 192.0.2.2 : try again with ping ping -c 2 192.0.2.2 if ! ipsec eroute | grep -q drop ; then echo 'MISSING DRO...
mcr/bluerose
testing/pluto/myid-road-06/roadrun.sh
Shell
gpl-2.0
402
#!/bin/sh set -e cd $(dirname $0) # install udev rules if [ ! -f /etc/udev/rules.d/49-axoloti.rules ]; then echo "##### copying 49-axoloti.rules rules to /etc/udev/rules.d/ #####" sudo cp 49-axoloti.rules /etc/udev/rules.d/ # reload udev rules echo "##### reloading udev rules #####" sudo udevadm contro...
lis0r/axoloti
platform_linux/add_udev_rules.sh
Shell
gpl-3.0
418
#!/bin/bash # # This script adds a pre-push hook to .git/hooks/, which runs some basic tests # before running "git push". # To enable it, run this script: "./build-system/common/enable-git-pre-push.sh" SCRIPT=${BASH_SOURCE[0]} BUILD_SYSTEM_COMMON_DIR=$(dirname "$SCRIPT") BUILD_SYSTEM_DIR=$(dirname "$BUILD_SYSTEM_COMM...
honeybadgerdontcare/amphtml
build-system/common/enable-git-pre-push.sh
Shell
apache-2.0
2,353
#!/bin/bash set -o errexit set -o nounset set -o pipefail source /usr/local/bin/openshift-dind-lib.sh # Should set OPENSHIFT_NETWORK_PLUGIN source /data/dind-env function ensure-node-config() { local deployed_config_path="/var/lib/origin/openshift.local.config/node" local deployed_config_file="${deployed_config_...
kedgeproject/kedge
vendor/github.com/openshift/origin/images/dind/node/openshift-generate-node-config.sh
Shell
apache-2.0
3,129
#!/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 A...
hequn8128/flink
flink-end-to-end-tests/test-scripts/queryable_state_base.sh
Shell
apache-2.0
1,809
#!/bin/bash -e # This is useful so we can debug containers running inside of OpenShift that are # failing to start properly. if [ "$OO_PAUSE_ON_START" = "true" ] ; then echo echo "This container's startup has been paused indefinitely because OO_PAUSE_ON_START has been set." echo while true; do sleep 10 ...
twiest/openshift-tools
docker/oso-clam-server/src/scripts/start.sh
Shell
apache-2.0
894
# Copyright 2016 The TensorFlow Authors All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
unnikrishnankgs/va
venv/lib/python3.5/site-packages/tensorflow/models/cognitive_mapping_and_planning/scripts/script_preprocess_annoations_S3DIS.sh
Shell
bsd-2-clause
1,166
#!/bin/bash fw_depends mysql postgresql python3 pip3 install --install-option="--prefix=${PY3_ROOT}" -r $TROOT/requirements.txt cd $TROOT/yocto_http api_hour -ac hello:Container &
sanjoydesk/FrameworkBenchmarks
frameworks/Python/asyncio/yocto_http/setup.sh
Shell
bsd-3-clause
183
bin/nano-X -p & bin/move; #sleep 10000
kidmaple/CoolWall
user/microwin/src/test/move.sh
Shell
gpl-2.0
39
#!/usr/bin/env bash source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh" print_header "Customizing the environment" "Sylius" run_command "git fetch origin master:refs/remotes/origin/master" || exit $? # Make origin/master available for is_suitable steps run_command "phpenv config-rm xdeb...
rainlike/justshop
vendor/sylius/sylius/etc/travis/suites/common/before_install.sh
Shell
mit
586
#!/bin/bash # # This is the script that runs inside Docker, once the image has been built, # to execute all tests for the "pull request" project. WORKSPACE_BASE=`pwd` MY_DIR="$(dirname "$0")" TEST_SCRIPT=$MY_DIR/../tests.sh BUILD_DIR=/tmp/protobuf set -e # exit immediately on error set -x # display all commands # ...
npuichigo/ttsflow
third_party/protobuf/jenkins/pull_request_in_docker.sh
Shell
apache-2.0
2,250
#!/bin/bash # # add bin/docker/packages to use custom build packages # if [ -f bin/docker/packages ]; then echo "info: using custom build package file." cp bin/docker/packages .meteor/packages exit 0 fi
ramusus/reaction
bin/docker/build-packages.sh
Shell
gpl-3.0
217
#!/bin/bash set -eu -o pipefail outdir=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM mkdir -p $outdir mkdir -p $PREFIX/bin gzip -d mhap-$PKG_VERSION.jar.gz cp mhap-$PKG_VERSION.jar $outdir/mhap.jar cp $RECIPE_DIR/mhap.py $outdir/mhap chmod +x $outdir/mhap ln -s $outdir/mhap $PREFIX/bin/mhap
ostrokach/bioconda-recipes
recipes/mhap/build.sh
Shell
mit
299
# Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e echo 'Test output' > "${BUILT_PRODUCTS_DIR}/result" echo 'Other output' > "$1"
ibc/MediaSoup
worker/deps/gyp/test/mac/action-envvars/action/action.sh
Shell
isc
244
#!/bin/bash set -e date ps axjf ################################################################# # Update Ubuntu and install prerequisites for running Bitswift # ################################################################# sudo apt-get update ################################################################# #...
lizzha/azure-quickstart-templates
blockchain/scripts/bitswift.sh
Shell
mit
2,178
#!/bin/bash SSLCERTPATH="/etc/ssl/certs/openhcp.pem" SSLKEYPATH="/etc/ssl/private/openhcp.key" # generate random password for MariaDB SQLPASSWORD=`tr -dc 'a-zA-Z0-9' < /dev/random | fold -w 16 | head -n 1` export SQLPASSWORD touch ~/.my.cnf chmod 600 ~/.my.cnf echo '[client] user = root password = "'${SQLPASSWORD}'"'...
OpenHCP/OpenHCP
install/install-config.sh
Shell
isc
1,004
#!/bin/bash OLD_DIR=`pwd` # absolute path BIN_DIR=`dirname $0` # path relative to pwd if [[ $1 == "build" ]]; then cd $BIN_DIR/../cpp-ws/util/Debug make clean make cd $OLD_DIR cd $BIN_DIR/../cpp-ws/itchReader/Debug make clean make cd $OLD_DIR cd $BIN_DIR/../cpp-ws/oimes/Debug make clean ...
amissine/minetats-webapp
bin/http_server.sh
Shell
mit
435
easygen ../../go-easygen/wireframe/cli-ext cascadia_cli | gofmt > cascadia_cliDef.go
suntong/cascadia
cascadia_cliGen.sh
Shell
mit
86
#!/bin/bash KEYWORDS_ESTONIA="Estonia" KEYWORDS_ESTONIA_ALL="$KEYWORDS_ESTONIA" if [ "$1" == "" ]; then debug_start "Estonia" ESTONIA=$(egrep -i "$KEYWORDS_ESTONIA" "$NEWPAGES") categorize "ESTONIA" "Estonia" debug_end "Estonia" fi
MW-autocat-script/MW-autocat-script
catscripts/Government/Countries/Estonia/Estonia.sh
Shell
mit
248
#!/bin/bash echo "test"
dvida/UWO-PA-Python-Course
Lecture 8/test.sh
Shell
mit
23
#!/bin/bash FN="BSgenome.Mmusculus.UCSC.mm9_1.4.0.tar.gz" URLS=( "http://bioconductor.org/packages/3.5/data/annotation/src/contrib/BSgenome.Mmusculus.UCSC.mm9_1.4.0.tar.gz" "https://depot.galaxyproject.org/software/BSgenome.Mmusculus.UCSC.mm9/BSgenome.Mmusculus.UCSC.mm9_1.4.0_src_all.tar.gz" ) MD5="5a30ba2b4481...
martin-mann/bioconda-recipes
recipes/bioconductor-bsgenome.mmusculus.ucsc.mm9/post-link.sh
Shell
mit
1,253
sudo apt-get -y install goofile
sslavov93/kali-linux-tools
scripts/goofile.sh
Shell
mit
32
#!/bin/bash function usage() { echo -e "Usage: ${0} [file]" echo -e "" echo -e "Example:" echo -e "" echo -e " ${0} ./LargestNumber.cs" echo -e "" } if [ $# -lt 1 ] || [[ ! -f ${1} ]]; then usage exit 255 fi DIR=`cd $(dirname ${1}) && pwd -P` FILE=${DIR}/$(basename ${1}) URL=`g...
codeyu/LeetCode
Scripts/haoel/readme.sh
Shell
mit
769
#!/bin/bash base_dir=`pwd` cd cmd/mg go install cd $base_dir go generate
yukihir0/mecab-go
generate.sh
Shell
mit
75
#!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRO...
mattjgalloway/emoncms-ios
Pods/Target Support Files/Pods-EmonCMSiOSTests/Pods-EmonCMSiOSTests-frameworks.sh
Shell
mit
4,409
#!/bin/bash sudo yum install -y epel-release sudo yum update -y #sudo yum groupinstall -y "Server with GUI" sudo yum group install -y "X Window system" "MATE Desktop"
predoiua/infrastructure
vagrant/lab/scripts/mate.sh
Shell
mit
166
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" s3cmd get --recursive --skip-existing s3://appearin-kissmetrics $DIR/kissmetrics s3cmd get --force s3://appearin-kissmetrics/* $DIR/kissmetrics
myrlund/masters
data/update.sh
Shell
mit
215
#!/usr/bin/env sh cat <<"EOF" To enable autocompletion, run 'install-clever-completion' (needs sudo) If you don't have sudo or want to install completion manually, clever --bash-autocomplete-script '$(which clever)' > /usr/share/bash-completion/completions/clever clever --zsh-autocomplete-script '$(which clev...
urcadox/clever-tools
scripts/postinstall.sh
Shell
mit
458
# Run this file to create an executable of hand_coded_defense_agent.cpp g++ -c hand_coded_defense_agent.cpp -I ../src/ -std=c++0x -pthread g++ -L ../lib/ hand_coded_defense_agent.o -lhfo -pthread -o hand_coded_defense_agent -Wl,-rpath,../lib
UNiQ10/HFO
example/make_hand_coded_defense_agent_executable.sh
Shell
mit
243
# # Overall Minecraft server settings # # Should be sources at the begining of all Minecraft scripts # . /proj/minecraft/bin/settings.sh # . /proj/minecraft/bin/settings.sh WORLD='world' OFFLINE_WORLD='world-offline' SCREEN_NAME='minecraft40' MCSERVERROOT=$MCROOTSERVERS/$SCREEN_NAME MCSERVERWORLD=$MCROOTSERVERS/$SCRE...
greggubben/minecraft-util
bin/settings40.sh
Shell
mit
603
#!/bin/sh set -e set -x PROJECT_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)" cd "$PROJECT_DIR" pwd rm -rf build/ mkdir build/Alchemist/ -p # root files cp -ar *.lua *.xml *.md MIT-LICENSE build/Alchemist/ # directories cp -ar Alchemist/ localization/ build/Alchemist/ # Alchemist.txt cp -ar Alchemist.txt.re...
helgefmi/Alchemist
build.sh
Shell
mit
472
#!/bin/bash # Requires awscli # sudo apt install awscli # awscli configure # This will need a new access key through the AWS IAM portal aws s3 sync ./_site/ s3://www.bencode.net --acl public-read # To get the distrbution id: # aws cloudfront list-distributions | grep \"Id\" --color aws cloudfront create-invalidat...
vimjock/bencode.net
push.sh
Shell
mit
368
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-2851-1 # # Security announcement date: 2014-02-02 00:00:00 UTC # Script generation date: 2017-01-01 21:06:49 UTC # # Operating System: Debian 6 (Squeeze) # Architecture: x86_64 # # Vulnerable packages fix on version: # - drupal6:6.30-1 # # Last versions r...
Cyberwatch/cbw-security-fixes
Debian_6_(Squeeze)/x86_64/2014/DSA-2851-1.sh
Shell
mit
591
#!/usr/bin/env bash PROJECT=maigre function error () { echo "Error: $1" 1>&2 exit 1 } function check_autotool_version () { which $1 &>/dev/null || { error "$1 is not installed, and is required to configure $PACKAGE" } version=$($1 --version | head -n 1 | cut -f4 -d' ') major=$(echo $version | cut -f1 -d.) ...
mono/maigre
autogen.sh
Shell
mit
1,866
# Build and Push new setlist_visualizer image to gitlab registry. Run from ~/setlist_visualizer. # Get current Dockerfile version string=$(grep 'setlist_visualizer:' web/Dockerfile) regex='[0-9]+\.[0-9]$' if [[ $string =~ $regex ]] then currentVersion=${BASH_REMATCH[0]} echo "Current Dockerfile Version: $currentVe...
DJO3/setlist_visualizer
registry.sh
Shell
mit
1,068
#!/bin/sh #JAVA_HOME=/usr/java/jdk1.6.0_43 JAVA_HOME=/Library/Java/Home CLASSPATH=$JAVA_HOME/lib/tools.jar for filename in /usr/share/scala/lib/*.jar; do CLASSPATH=$CLASSPATH:$filename done _RUNJAVA="$JAVA_HOME/bin/java" JAVA_ENDORSED_DIRS=
beef-liu/data-origin
src/data-origin-generator/setclasspath.sh
Shell
mit
243
#!/bin/sh set -e mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() case "${TARGETED_DEVICE_FAMILY}" in 1,2) TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" ;; 1) ...
SanjidEashan/Register-Login-Firebase-IOS-Swift3
Pods/Target Support Files/Pods-File 2/Pods-File 2-resources.sh
Shell
mit
5,389
#!/usr/bin/env bash _install_packages() { # System sudo pacman -S xorg xorg-xinit i3 sudo wget curl # Dev tools sudo pacman -S base-devel git vim rxvt-unicode emacs zsh httpie hub progress shellcheck ansible vagrant net-tools postgresql postgis tmux redis firefox stack # Application sudo pacman ...
pirackr/dotfiles
bootstrap.sh
Shell
mit
2,283
#!/bin/bash # REQUIREMENTS # # MACOS: # - gtruncate: # # brew install coreutils NEO4J_HOSTNAME='http://dist.neo4j.org' DEFAULT_VERSION='all' DEFAULT_EDITION='all' DEFAULT_AUTO_DELAY=3 LAST_VERSION='3.5.16' SED_CMD="sed -i " TEST_RETRY=15 # define color variable to be used in echo, cat, ... if [[ -n "${TERM:-}" &&...
cohesivestack/ineo
test.sh
Shell
mit
88,151
#!/bin/bash # online resources: # http://steve-parker.org/sh/sh.shtml # http://www.freeos.com/guides/lsst/ # http://www.ss64.com/bash/ ########################################################################################## # # This script verifies bugfix for ticket #75 (smafewrap segfaults if there are # two bad...
spectralmind/smafe
test/testTicket75_twobadfiles.sh
Shell
mit
2,765
#!bin/env/bash #Import the public key used by the package management system sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 #Create a list file for MongoDB echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list #Reload ...
teddy-hoo/test
mongodbInstall.sh
Shell
mit
427
### projects completion - begin. generated by omelette.js ### if type compdef &>/dev/null; then _projects_complette() { compadd -- `projects --compzsh --compgen "${CURRENT}" "${words[CURRENT-1]}" "${BUFFER}"` } compdef _projects_complette projects elif type complete &>/dev/null; then _projects_complette() {...
beaugunderson/projects
projects-modified.sh
Shell
mit
1,266
#!/bin/bash USER_ID=${LOCAL_USER_ID:-9001} if ! getent passwd $USER_ID; then adduser -s /bin/bash -u $USER_ID -S -D -h /dehydrated user fi chown -R $USER_ID /dehydrated export HOME=/dehydrated exec /usr/local/bin/gosu "$USER_ID" dockerize -template config.tmpl:config /bin/bash dehydrated -t dns-01 -k hooks/cloudf...
TimDumol/docker-dehydrated-cloudflare
entrypoint.sh
Shell
mit
336
#!/bin/bash # Check for the --yes command line argument to skip yes/no prompts if [ "$1" = "--yes" ] then YES=1 else YES=0 fi set -o nounset if ! which lsb_release > /dev/null then function lsb_release { if [ -f /etc/lsb-release ] then cat /etc/lsb-release | grep DISTRIB_ID | ...
pombredanne/binwalk
deps.sh
Shell
mit
6,450
#!/bin/bash pug -w -P jade/index.pug -o . & python -m SimpleHTTPServer 8001
miketery/mcalc
run.sh
Shell
mit
77
#!/usr/bin/env bash CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source "$CURRENT_DIR/variables.sh" source "$CURRENT_DIR/shared.sh" get_filename() { local logging_path="$(get_tmux_option "$logging_path_option" "$default_logging_path")" local logging_filename="$(get_tmux_option "$logging_filename...
modax/tmux-logging
scripts/toggle_logging.sh
Shell
mit
1,537
#!/usr/bin/env bash # Script for setting up the web server for any of the following applications: # # - Apigility # - Expressive # - zend-mvc # # Type declaration in Homestead.yaml should be one of: # # - apigility # - expressive # - zf # # The first two are aliases for the last. declare -A params=$6 # Create an...
svpernova09/homestead
scripts/site-types/zf.sh
Shell
mit
2,336
#!/usr/bin/env bash koopa::linux_java_update_alternatives() { # {{{1 # """ # Update Java alternatives. # @note Updated 2021-06-04. # # This step is intentionally skipped for non-admin installs, when calling # from 'install-openjdk' script. # """ local prefix priority koopa::assert_h...
steinbaugh/seqcloud
lang/shell/bash/functions/os/linux/common/app/java.sh
Shell
mit
1,426
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for DSA-3205-1 # # Security announcement date: 2015-03-27 00:00:00 UTC # Script generation date: 2017-01-01 21:07:18 UTC # # Operating System: Debian 7 (Wheezy) # Architecture: armv7l # # Vulnerable packages fix on version: # - batik:1.7+dfsg-3+deb7u1 # - libba...
Cyberwatch/cbw-security-fixes
Debian_7_(Wheezy)/armv7l/2015/DSA-3205-1.sh
Shell
mit
764
#!/bin/bash set -e JSON_DIR=$1 CWL_PATH=`pwd`/cwl/bin # Must be absolute OUTDIR=$2 for f in $JSON_DIR/*.json; do mkdir -p $OUTDIR/tmp TMPDIR=$OUTDIR/tmp PATH=$PATH:$CWL_PATH cwltool --preserve-environment PATH TMPDIR --outdir $OUTDIR cwl/bigbed-workflow-no-resize.cwl $f rm -r $OUTDIR/tmp done
Duke-GCB/TrackHubGenerator
run-json-jobs-no-resize.sh
Shell
mit
300
export GST_DEBUG=4 ./video_phone.o 1 $(host -4 -t A stun.stunprotocol.org | awk '{ print $4 }') 2>&1 ~/cool000.log
mgalushka/cpp-start
video/video_receive.bash
Shell
mit
115
wrk -c 8 -t 2 -d 30s http://localhost:9090
butla/microservice-playground
simple_perf_test.sh
Shell
mit
43
#!/bin/bash # echo "$@" for input in "$@" do # echo $input echo $input | \ # Replace 'x' with ' ' sed s/x/' '/g | \ # One result per line xargs -n1 | \ # Sort results sort -n | \ # Three results per line (now sorted) xargs -n3 | \ # "Ribbon" up each solution awk -f...
loisaidasam/adventofcode
2015/day02/solution2_helper.sh
Shell
mit
349
#!/bin/sh GROUP=cassabon # Application configuration #install --owner=root --group=root --mode=0644 cassabon.yaml /etc/cassabon.yaml # Service details install --owner=root --group=root --mode=0644 sysconfig /etc/sysconfig/cassabon install --owner=root --group=root --mode=0755 initscript /etc/init.d/cassabon install ...
jeffpierce/cassabon
init/CentOS/install.sh
Shell
mit
797
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2645-1 # # Security announcement date: 2015-06-15 00:00:00 UTC # Script generation date: 2017-01-01 21:04:37 UTC # # Operating System: Ubuntu 14.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - linux-image-3.19.0-21-powerpc-e500mc...
Cyberwatch/cbw-security-fixes
Ubuntu_14.04_LTS/x86_64/2015/USN-2645-1.sh
Shell
mit
2,014
#!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRO...
Thomaszhouwu/LVUITestUtils
Example/Pods/Target Support Files/Pods-LVUITestUtils_ExampleUITests/Pods-LVUITestUtils_ExampleUITests-frameworks.sh
Shell
mit
3,629
#!/usr/bin/env bash make exec_prefix=/usr DESTDIR="$DESTDIR" install make -C man DESTDIR="$DESTDIR" install-man mkdir -vp "$DESTDIR"/etc/default
pretorh/lfs-notes
scripts/6/3/shadow-install.sh
Shell
mit
146
#!/bin/bash #author:Yejianjun # Yongjie Ren <yongjie.ren@intel.com> #discrption: print info about the relationship between PCI BDF and NIC interface #set -x #print usage info function print_help() { echo "------you can use this tool as the following command line ---------" echo "$script 03:00.0 #print the given bd...
coolhacks/scripts-hacks
scripts/Shell-smilejay/sh2012/bdf-eth.sh
Shell
mit
2,162
#!/bin/bash function print_usage() { cat <<EOF https://github.com/Azure/azure-quickstart-templates/tree/master/201-spinnaker-acr-k8s Command $0 Arguments --app_id|-ai [Required] : Service principal app id used to dynamically manage resource in your subscription --app_key|-ak ...
clguimanMSFT/azure-devops-utils
quickstart_template/201-spinnaker-acr-k8s.sh
Shell
mit
9,052
#!/bin/bash gifsicle -O3 --colors 4 --use-colormap gray < ani.gif > out.gif printf "\n----------------------\n" echo "Size of original gif: "$(du -sh ani.gif) echo "Side of optimized gif: "$(du -sh out.gif)
filipkilibarda/Ants-on-a-Polygon
imgs/optimze_gif.bash
Shell
mit
209
#!/bin/sh set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { local source="${BUILT_PRODUCTS_DIR}/Pods-BAShimmerButton_Tests/$1" loc...
antiguab/BAShimmerButton
Example/Pods/Target Support Files/Pods-BAShimmerButton_Tests/Pods-BAShimmerButton_Tests-frameworks.sh
Shell
mit
2,373
#!/bin/bash USERNAME=$1 PROJECT_NAME=$2 for RATE in 1 1e-1 1e-2; do for HIDDEN in "4,8" "32,64"; do JOB_NAME=lr-$RATE-hiddenunits-$HIDDEN JOB_NAME=${JOB_NAME//,/_} just create job single \ --project $USERNAME/$PROJECT_NAME \ --name $JOB_NAME \ --command "python -m mnist --learning...
tensorport/mnist
gridsearch.sh
Shell
mit
619
#!/bin/bash . test_functions.sh ### Missing file for CMD in pca-shared gst fst calpha query "convert ped" "convert bcf" do run $GQT $CMD -i no_such_file.gqt assert_fail_to_stderr $EX_NOINPUT $LINENO done ### Bad BCF file echo XYZ > bad.bcf run $GQT convert bcf -i bad.bcf assert_fail_to_stderr $EX_DATAERR $LI...
ryanlayer/gqt
test/func/io_error_test.sh
Shell
mit
5,714
#!/usr/bin/env bash # ~/.osx — http://mths.be/osx # Watch for changes in files with either of # sudo fs_usage | grep plist # sudo opensnoop | grep plist if [[ $# -ne 1 ]];then echo "Usage: ./$(basename "$0") COMPNAME" exit fi killall System\ Preferences # Ask for the administrator password upfront sudo -v # ...
SouthernBlackNerd/dotfiles
install/mac/defaults.sh
Shell
mit
27,569
#!/bin/bash set -e thisdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" compiler=g++ if [ "x$1" != "x" ];then compiler=$1 fi export CXX=$compiler modes='debug release' echo "+++ Running CppCheck ..." $thisdir/cppcheck.sh echo "CppCheck OK" for mode in $modes;do echo "+++ Checking $mode with $compiler...
bloomen/cxxpool
make_check.sh
Shell
mit
1,068