code
stringlengths
2
1.05M
repo_name
stringlengths
5
110
path
stringlengths
3
922
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
2
1.05M
#!/bin/sh set -eux find "$LIQUIDSOAP_DIRECTORY" -type f -name '*.mp3' \ >/usr/share/liquidsoap/playlist.m3u cat <<__EOC__ | exec liquidsoap - output.icecast ( %mp3, host = "133.130.91.27", port = ${ICECAST2_SERVER_PORT}, password = "${ICECAST2_SOURCE_PASSWORD}", mount = "/${LIQUIDSOAP_MOUNTP...
10sr/machine-setups
_conoha/docker-compose/icecast2/entrypoint.sh
Shell
unlicense
461
#!/bin/bash set -eo pipefail gem install bundler rm -rf lib cd function rm -f Gemfile.lock bundle config set path '../lib' bundle install
awsdocs/aws-doc-sdk-examples
lambda_functions/blank-ruby/2-build-layer.sh
Shell
apache-2.0
137
#!/bin/sh python -c " import sys, django, os sys.stderr.write('Using Python version {0} from {1}\n'.format(sys.version[:5], sys.executable)) sys.stderr.write('Using Django version {0} from {1}\n'.format( django.get_version(), os.path.dirname(os.path.abspath(django.__file__)))) " exec python -Wd example/manage.py ...
edoburu/django-fluent-comments
runtests.sh
Shell
apache-2.0
330
#!/usr/bin/env bash ./docker-run.sh 6
bmoliveira/snake-yaml
docker-run-jdk6.sh
Shell
apache-2.0
39
#!/bin/bash # Copyright 2012-2013 Johns Hopkins University (Author: Daniel Povey); # Arnab Ghoshal # 2014 Guoguo Chen # 2015 Hainan Xu # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Licens...
keighrim/kaldi-yesno-tutorial
utils/prepare_lang.sh
Shell
apache-2.0
19,525
#!/bin/sh # IP::Country::DB_File ipcc.db echo '2.3|arin|1537592415823|142286|19700101|20180922|-0400 arin|US|ipv4|8.0.0.0|8388608|19921201|allocated|e5e3b9c13678dfc483fb1f819d70883c arin|US|ipv6|2001:4860::|32|20050314|allocated|9d99e3f7d38d1b8026f2ebbea4017c9f' >delegated-arin true >delegated-ripencc true >delegated-...
apache/spamassassin
t/data/geodb/create_ipcc.sh
Shell
apache-2.0
396
#!/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...
EasySwift/EasySwift
Carthage/Checkouts/MWPhotoBrowser/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-frameworks.sh
Shell
apache-2.0
4,121
#!/usr/bin/env bash _=$(which rubocop >/dev/null 2>&1) if [ $? -eq 1 ]; then echo "Missing rubocop."; exit 1; fi # Run rubocop over all .rb files w/out "=begin", used to indicate Ragel. rubocop $(grep -RL "=begin" --include="*.rb")
OpenBEL/bel_parser
check_all.sh
Shell
apache-2.0
234
#!/bin/bash # This file contains some utilities to test the elasticsearch scripts with # the .deb/.rpm packages. # WARNING: This testing file must be executed as root and can # dramatically change your system. It should only be executed # in a throw-away VM like those made by the Vagrantfile at # the root of the Elas...
coding0011/elasticsearch
qa/os/bats/utils/packages.bash
Shell
apache-2.0
6,266
#!/bin/sh set -e SIZES=" 16,16x16 32,16x16@2x 32,32x32 64,32x32@2x 128,128x128 256,128x128@2x 256,256x256åç 512,256x256@2x 512,512x512 1024,512x512@2x " for SVG in "$@"; do BASE=$(basename "$SVG" | sed 's/\.[^\.]*$//') ICONSET="$BASE.iconset" mkdir -p "$ICONSET" for PARAMS in $SIZES; do SIZE=...
sauliusg/jabref
src/main/resources/icons/svg2icns.sh
Shell
mit
533
#!/bin/bash THINGPLUS_PREFIX=/opt/thingplus GATEWAY_DIR=$THINGPLUS_PREFIX/gateway SDK_DIR=$THINGPLUS_PREFIX/. NODE_VERSION=0.10.16 NODE_INSTALL_PREFIX=/usr/local MODEL="debian" RSYNC_SERVER="rsync.thingplus.net" RSYNC_USER="openhardware_pi" RSYNC_PASSWORD="SdckrvL3hq9bKHBU" RSYNC_SIZE_ONLY_OPTION="false" thingplus_...
thingplus/thingplus.github.io
download/install_dev/thingplus_embedded_sdk_hbe_install.sh
Shell
mit
1,966
#!/bin/bash set -e # Global variables: # ${GV_LOG}: Prefix this variable in echo to log echoed string. # ${GV_SETTINGS_DIR}: Hold settings data. # ${GV_BINARY_DIR}: Hold settings binary data. SCRIPT_NAME="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")" echo "${GV_LOG}>>>>>>>>> Running ${SCRIPT_NAME} ..."...
bankonme/cust-live-deb
scripts/repository/inst-std-xtra-opw-php5-gd.sh
Shell
gpl-2.0
456
#!/bin/bash # Organic Photovoltaic Device Model - a drift diffusion base/Shockley-Read-Hall # model for organic solar cells. # Copyright (C) 2012 Roderick C. I. MacKenzie # # roderick.mackenzie@nottingham.ac.uk # www.roderickmackenzie.eu # Room B86 Coats, University Park, Nottingham, NG7 2RD, UK # # This p...
srikantvv/org-sol
opvdm-core-2.70/build.sh
Shell
gpl-2.0
1,114
#!/usr/bin/env bash set -eux platform="$(uname)" function setup() { if [[ "${platform}" == "FreeBSD" ]] || [[ "${platform}" == "Darwin" ]]; then ifconfig lo0 existing=$(ifconfig lo0 | grep '^[[:blank:]]inet 127\.0\.0\. ' || true) echo "${existing}" for i in 3 4 254; do ...
azaghal/ansible
test/integration/targets/delegate_to/runme.sh
Shell
gpl-3.0
1,870
#!/usr/bin/env bash scp *.sql oracle:/opt/oracle/fasedos/insercion
manuelalcocer/proyectobbdd
2aFase/postgres/ficherosinsercion/copiar.sh
Shell
gpl-3.0
67
#!/usr/bin/env bash THIS_DIR=$(cd $(dirname $0); pwd) RAM=`grep MemTotal /proc/meminfo | awk '{print $2}'` VBIN=virtualenv-3.4 PYBIN=python if ! hash $VBIN 2>/dev/null; then VBIN=virtualenv3 fi if ! hash $VBIN 2>/dev/null; then VBIN=virtualenv fi if ! hash $VBIN 2>/dev/null; then echo "You have to install...
MRAHS/phbot
launch.sh
Shell
agpl-3.0
2,722
#!/usr/bin/env bash ci_dir="$(dirname "$0")" . "${ci_dir}/ci-common.sh" git_download Flocq ( cd "${CI_BUILD_DIR}/Flocq" && ./autogen.sh && ./configure && ./remake "-j${NJOBS}" )
ppedrot/coq
dev/ci/ci-flocq.sh
Shell
lgpl-2.1
181
#!/bin/bash # Copyright 2017 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 require...
allenlavoie/tensorflow
tensorflow/contrib/lite/download_dependencies.sh
Shell
apache-2.0
4,507
#!/usr/bin/env bash set -e ORG_PATH="github.com/appc" REPO_PATH="${ORG_PATH}/docker2aci" VERSION=$(git describe --dirty) GLDFLAGS="-X github.com/appc/docker2aci/lib.Version=${VERSION}" if [ ! -h gopath/src/${REPO_PATH} ]; then mkdir -p gopath/src/${ORG_PATH} ln -s ../../../.. gopath/src/${REPO_PATH} || exit 255 fi...
jonboulle/docker2aci
build.sh
Shell
apache-2.0
513
#!/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...
wattsteve/kubernetes-1
cluster/aws/util.sh
Shell
apache-2.0
31,166
#!/usr/bin/env bash # # Prepare summary report per measure with confidence intervals set -e usage="Usage: $0 OUT_DIR MEASURE ..." if [ "$#" -lt 2 ]; then echo $usage exit 1 fi outdir=$1; shift # directory to which results are written for measure in ${@} do echo "INFO preparing $measure report.." #...
wikilinks/neleval
scripts/run_report_confidence.sh
Shell
apache-2.0
908
#!/bin/bash set -e cat <<-EOF apiVersion: v1 kind: ConfigMap metadata: name: grafana-dashboards-0 data: EOF virtualenv -p python3 .env source .env/bin/activate pip install -Ur requirements.txt for f in assets/grafana/*.dashboard.py do JSON_FILENAME="$(pwd)/${f%%.*}-dashboard.json" generate-dashboard $f -o $JSON...
ngtuna/kubeless
vendor/github.com/coreos/prometheus-operator/contrib/kube-prometheus/hack/scripts/generate-dashboards-configmap.sh
Shell
apache-2.0
596
#!/bin/bash # Copyright 2019 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
gunan/tensorflow
tensorflow/tools/ci_build/presubmit/macos/py37_cc/build.sh
Shell
apache-2.0
2,078
set -ex echo "pre-up sleep 2" >> /etc/network/interfaces
maier/packer-templates
debian9.1/scripts/01networking.sh
Shell
apache-2.0
58
#!/bin/bash # Copyright Johns Hopkins University (Author: Daniel Povey) 2012. Apache 2.0. # begin configuration section. cmd=run.pl stage=0 decode_mbr=true beam=4 # Use a fairly narrow beam because lattice-align-words is slow-ish. word_ins_penalty=0.5 min_lmwt=7 max_lmwt=17 cleanup=true model= #end configuration se...
irrawaddy28/babel
s5c/local/lattice_to_ctm_syllable.sh
Shell
apache-2.0
3,888
#!/bin/sh function async_run() { { $1 &> /dev/null }& } function git_prompt_dir() { # assume the gitstatus.sh is in the same directory as this script # code thanks to http://stackoverflow.com/questions/59895 if [ -z "$__GIT_PROMPT_DIR" ]; then local SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE...
danfinn/bash-git-prompt
gitprompt.sh
Shell
bsd-2-clause
14,587
#!/bin/sh unzip -o GfxBAT.zip chmod +x runbat.sh echo "#!/bin/sh export JAVA_HOME=/usr sh ./runbat.sh > \$THIS_RUN_TIME.result if [ \$? -eq 0 ]; then echo 'PASS' > \$LOG_FILE else echo 'FAIL' > \$LOG_FILE fi" > jgfxbat chmod +x jgfxbat
JanGe/intellicloudbench
src/main/resources/test-profiles/pts/jgfxbat-1.1.0/install.sh
Shell
bsd-3-clause
245
#!/bin/sh sloccount Source
MovementAndMeaning/Utilities_ChannelManager
sloc.sh
Shell
bsd-3-clause
28
#!/bin/sh TEST_PURPOSE=regress TEST_PROB_REPORT=0 TEST_TYPE=umlplutotest TESTNAME=ikev2-07-biddown EASTHOST=east WESTHOST=west WEST_ARPREPLY=1 EAST_INPUT=../../klips/inputs/01-sunrise-sunset-ping.pcap REF_WEST_OUTPUT=../../klips/west-icmp-01/spi1-cleartext.txt WEST_ARPREPLY=true #THREEEIGHT=true REF_EAST_CONSOLE_...
y-trudeau/openswan-patch-meraki
testing/pluto/ikev2-07-biddown/testparams.sh
Shell
gpl-2.0
1,273
#!/bin/bash #---------------------------------------------------------- # # Copyright 2009 Pedro Pablo Gomez-Martin, # Marco Antonio Gomez-Martin # # 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 Sof...
yunxao/JN-Sim
Documentacion/Imagenes/Bitmap/update-eps.sh
Shell
apache-2.0
3,403
#!/bin/bash -e # # Mint (C) 2017 Minio, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
aead/minio
mint/build/s3cmd/install.sh
Shell
apache-2.0
661
CTAGS=$1 chmod u+x ./foo.sh ${CTAGS} --quiet --options=NONE -o - \ --langdef=foo \ --xcmd-foo=./foo.sh \ --foo-kinds=+a \ --foo-kinds=-b \ --list-kinds=foo
SolaWing/ctags-1
Tmain/lxcmd-list-kinds.d/run.sh
Shell
gpl-2.0
173
#!/bin/sh if [ -z "$1" ] ; then echo "Using Barry default web doc config..." for f in `cat content_list` ; do echo "Generating $f.html" cat prepend.php php_conf1.php $f.php append.php | php > $f.html done elif [ "$1" = "netdirect" ] ; then echo "Using NetDirect web doc config..." mkdir -p www.netdirect.ca/sit...
RealVNC/barry
doc/www/static.sh
Shell
gpl-2.0
908
#!/bin/sh # This script performs a major compaction on all Hbase tables. cd ${HBASE_HOME} command="echo list" echo "Running $command in hbase shell" >&2 listoutput=`$command | bin/hbase shell | sed -n '/TABLE/,/seconds/p' | tail -n+2 | head -n -1` for table in ${listoutput} do command="echo major_compact '${tab...
LLNL/magpie
scripts/job-scripts/hbase-major-compaction.sh
Shell
gpl-2.0
416
#!/usr/bin/env bash # Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
ishay2b/tensorflow
tensorflow/tools/ci_build/ci_parameterized_build.sh
Shell
apache-2.0
20,785
# # Copyright (C) 2015 Red Hat, Inc. # # 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, or (at your option) any later version. # This program is distributed in the hope that it will be...
marmarek/anaconda
tests/kickstart_tests/vlan.sh
Shell
gpl-2.0
1,061
#!/bin/bash mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=7.3.5
unicesi/QD-SPL
ToolSupport/co.edu.icesi.shift.generator/files/vaadinProject.sh
Shell
lgpl-3.0
140
#!/bin/sh # check in case a user was using this mechanism if [ "x$ES_CLASSPATH" != "x" ]; then cat >&2 << EOF Error: Don't modify the classpath with ES_CLASSPATH. Best is to add additional elements via the plugin mechanism, or if code must really be added to the main classpath, add jars to lib/ (unsupported). EOF ...
atgreen/GreenLab-Maintenance
roles/elasticsearch/files/elasticsearch.in.sh
Shell
apache-2.0
2,812
#!/bin/bash usage() { cat << EOF usage: $0 options This script adds a header to all files matching the provided pattern in the given directory OPTIONS: -h Show this message -l license file -d directory to search -p file pattern to match EOF } license= pattern= directory= while getop...
fw1121/Pandoras-Toolbox-for-Bioinformatics
src/sailfish/scripts/AddHeaders.sh
Shell
gpl-3.0
901
# 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 use ...
elodina/go-kafka
vagrant/kafkacat.sh
Shell
apache-2.0
1,338
#!/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="https://github.com/systemd/systemd/issues/1981" TEST_NO_QEMU=1 . $TEST_BASE_DIR/test-functions NSPAWN_TIMEOUT=30s test_setup() { create_empty_image mkdir -p $TEST...
utezduyar/systemd
test/TEST-07-ISSUE-1981/test.sh
Shell
gpl-2.0
970
#!/bin/sh # #.Distributed under the terms of the GNU General Public License (GPL) version 2.0 # # script for sending updates to cloudflare.com #.based on Ben Kulbertis cloudflare-update-record.sh found at http://gist.github.com/benkulbertis #.and on George Johnson's cf-ddns.sh found at https://github.com/gstuartj/cf-dd...
InkblotAdmirer/packages
net/ddns-scripts/files/update_cloudflare_com_v4.sh
Shell
gpl-2.0
7,145
#!/bin/bash -euo # Add workaround for SSH-based Git connections from Rust/cargo. See https://github.com/rust-lang/cargo/issues/2078 for details. # We set CARGO_HOME because we don't pass on HOME to conda-build, thus rendering the default "${HOME}/.cargo" defunct. export CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_HOME="$...
phac-nml/bioconda-recipes
recipes/fpa/v0.4/build.sh
Shell
mit
391
#!/bin/bash TIMEOUT=$1 DREAL=$2 MAX=$3 RESULTDIR=$4 MAX_QUEUE=50000 TODO=${RESULTDIR}/TODO SMT_QUEUE=${RESULTDIR}/SMT_QUEUE CHECK_QUEUE=${RESULTDIR}/CHECK_QUEUE NOT_PROVED_YET=${RESULTDIR}/NOT_YET PROVED=${RESULTDIR}/PROVED WRONG=${RESULTDIR}/WRONG START_TIME=${RESULTDIR}/START_TIME END_TIME=${RESULTDIR}/END_TIME PRO...
dreal/dreal-next
tools/proofcheck/loop.sh
Shell
gpl-3.0
3,525
#!/bin/bash -xe . $(dirname $0)/common.sh if [ ! -f ${project_tag}_ssh_config ]; then python -m jiocloud.apply_resources ssh_config --project_tag=${project_tag} ${mappings_arg} environment/${layout:-full}.yaml > ${project_tag}_ssh_config fi ssh -F ${project_tag}_ssh_config -l ${ssh_user:-jenkins} gcp1_${project_ta...
rohit-k/puppet-rjil
build_scripts/test.sh
Shell
apache-2.0
411
#!/bin/bash # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh TEST_DESCRIPTION="Resource limits-related tests" . $TEST_BASE_DIR/test-functions check_result_qemu() { ret=1 mkdir -p $TESTDIR/root mount ${LOOPDEV}p1 $TESTDIR/root [[ -e $TESTDIR/...
boucman/systemd
test/TEST-05-RLIMITS/test.sh
Shell
gpl-2.0
1,839
#!/usr/bin/env bash # postfix-wrapper.sh, version 0.1.0 # # You cannot start postfix in some foreground mode and # it's more or less important that docker doesn't kill # postfix and its chilren if you stop the container. # # Use this script with supervisord and it will take # care about starting and stopping postfix co...
webdevops/Dockerfile
provisioning/base/general/bin/service.d/postfix.sh
Shell
mit
1,085
#!/bin/bash : ${SSH_USERNAME:=user} : ${SSH_USERPASS:=$(dd if=/dev/urandom bs=1 count=15 | base64)} __create_rundir() { mkdir -p /var/run/sshd } __create_user() { # Create a user to SSH into as. useradd $SSH_USERNAME echo -e "$SSH_USERPASS\n$SSH_USERPASS" | (passwd --stdin $SSH_USERNAME) echo ssh user password: $SS...
lkundrak/Fedora-Dockerfiles
ssh/entrypoint.sh
Shell
gpl-2.0
494
# 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...
Mega-DatA-Lab/mxnet
cpp-package/tests/ci_test.sh
Shell
apache-2.0
1,058
#!/usr/bin/env bash if [[ $EUID -ne 0 ]]; then echo "You must root" 2>&1 exit 1 fi #update capstone cd capstone if [[ `git pull` != "Already up-to-date." ]]; then git checkout b53a59af53ffbd5dbe8dbcefba41a00cf4fc7469 ./make.sh ./make.sh install uname -a | grep BSD &> /dev/null if [ $? -eq 0 ]; then ...
sigma-random/the-backdoor-factory
update.sh
Shell
bsd-3-clause
835
#!/bin/sh # # dex2jar - Tools to work with android .dex and java .class files # Copyright (c) 2009-2013 Panxiaobo # # 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...
kiya-z/Android
tools/dex2jar/d2j-smali.sh
Shell
apache-2.0
1,083
#!/bin/sh # Copyright (c) 2010, Jens Lehmann test_description='Recursive "git fetch" for submodules' . ./test-lib.sh pwd=$(pwd) add_upstream_commit() { ( cd submodule && head1=$(git rev-parse --short HEAD) && echo new >> subfile && test_tick && git add subfile && git commit -m new subfile && head2=$(...
overtherain/scriptfile
tool-kit/git-2.1.2/t/t5526-fetch-submodules.sh
Shell
mit
12,944
echo "DataNode #4" ./hhdfs datanode 127.0.0.1 44452 127.0.0.1:44444:0
Ferdinand-vW/HHDFS
test/DataNode#4/new.sh
Shell
isc
70
#!/bin/bash # # UploadToOPUS.sh # # Copyright 2011 Francisco Hernandez <francisco@francisco-laptop> # # 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 Found...
Fran89/OPUS-Upload
scripts/UploadtoOPUS_RT.sh
Shell
mit
1,903
clang -c -fpic -O2 ring_pgsql.c -I $PWD/../../language/include -I /usr/local/include -I /usr/local/opt/libpq/include clang -dynamiclib -o $PWD/../../lib/libring_pgsql.dylib ring_pgsql.o -L $PWD/../../lib -lring -L /usr/local/opt/libpq/lib -lpq
ring-lang/ring
extensions/ringpostgresql/buildclang.sh
Shell
mit
252
#!/bin/bash # Do not use `set -x` here as then it displays the PYPIPW in logs set -e # Get environment variables, readily decrypted by rultor source ../rultor_secrets.sh # Ship it! echo "Uploading pycolorname to pypi" pip3 install twine wheel python3 setup.py sdist bdist_wheel twine upload dist/* -u "$PYPIUSER" -p "...
AbdealiJK/pycolorname
.ci/deploy.pypi.sh
Shell
mit
693
#!/usr/bin/env bash set -e if [ -f ${SSL_KEY_PATH:-/..} ] ; then cp $SSL_KEY_PATH /certificate.key fi if [ -f ${SSL_CRT_PATH:-/..} ] ; then cp $SSL_CRT_PATH /certificate.crt fi if [ -z "$SERVER_NAME" ] ; then sed -i"" "s#XXXXXXX##g" /etc/nginx/nginx.conf else sed -i"" "s#XXXXXXX#server_name $SERVE...
PurpleBooth/nginx-ssl-terminator
run.sh
Shell
mit
469
#android-ndk location export NDK_ROOT=~/Projects/android-ndk-r13b/ export NDK_CCACHE=/usr/local/opt/ccache/bin/ccache #location of android utils export ANDROID_HOME=~/Projects/android-sdk #Add android home to path export PATH=$PATH:$ANDROID_HOME
TheProphetOfRa/dotfiles
android/android.zsh
Shell
mit
248
#!/bin/sh # bail on error set -e ROOTDIR=$(pwd -P) PROJECT=docker-minimal-nodejs TMPDIR=/tmp/${PROJECT} if [ ! -f Dockerfile.step1 ]; then echo "Script must be run from same directory as Dockerfile.step1" exit 1 fi echo ROOTDIR=$ROOTDIR # The latest node.js distribution is held here BASE_URL=http://nodej...
McKayDavis/docker-minimal-nodejs
build.sh
Shell
mit
1,204
#!/bin/bash ## # Deploys the app to Heroku. # # This script is designed to be run either from a development # machine, or from within a headless Continuous Integration (CI) # environment. # # When run from a development machine, it simply deploys the app # to Heroku. # # When run from a CI machine (signified by the CI...
OpenAca/AcaLFG
deploy.sh
Shell
mit
3,599
sshfs -o IdentityFile=/home/naotaka/.ssh/solutions-op-key-pair.pem \ ubuntu@ec2-52-69-244-75.ap-northeast-1.compute.amazonaws.com:/var/www/html \ ~/aws-www sshfs -o IdentityFile=/home/naotaka/.ssh/solutions-op-key-pair.pem \ ubuntu@ec2-13-231-71-177.ap-northeast-1.compute.amazonaws.com:/home/ubuntu \ ~/aws-api #s...
NaotakaSaito/myDotFiles
aws-mount.sh
Shell
mit
643
#!/bin/sh # This is a script to bypass the remote server! python sb_main.py ssh -X Gazal-HP-Compaq-Elite-8300-MT pymol -r sb_script_gl.py
S-John-S/MAT
foolPymol.sh
Shell
mit
140
#!/bin/zsh # all the browsers brew install --cask google-chrome brew install --cask google-chrome-canary brew install --cask firefox brew install --cask opera # hipchat brew install --cask slack # skype brew install --cask skype # openoffice brew install --cask openoffice # irc client # Textual, you can get it at ...
bevacqua/dotfiles
osx/programs.zsh
Shell
mit
850
#!/bin/bash echo 'Installing dependencies and other requriements for a dev environ' sudo apt-get install nodejs-legacy sudo npm install -g mocha chai mr-doc istanbul
TRex22/tp-link-connector
scripts/global-dependencies.sh
Shell
mit
166
#!/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...
douweh/RedditWallpaper
Pods/Target Support Files/Pods-RedditWallpaper/Pods-RedditWallpaper-frameworks.sh
Shell
mit
3,688
#!/bin/bash cd `dirname $0` cd ../webapp npm install --production meteor build ../monoserver --architecture os.linux.x86_64 --server https://mono.morph.ist --server-only && \ cd .. && \ mv monoserver/webapp.tar.gz monomorphist.tar.gz && \ echo "Build done!"
vhf/monomorphist
monoserver/build-webapp-bundle.sh
Shell
mit
259
#!/bin/sh -e ~/src/jenkins-tools/bin/delete-job.sh debian-tools
FunTimeCoding/debian-tools
script/job-configuration/delete.sh
Shell
mit
65
#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # 96-well source plate & destination plates INPUT=$DIR'/../../tests/data/conc_file1.txt' echo "Using input file: " $INPUT TECAN dilute --prefix /tmp/TECAN_dilute $INPUT
leylabmpi/leylab_pipelines
examples/TECAN/dilute/basic.sh
Shell
mit
240
#!/usr/bin/env bash set -x set -e docker-compose exec mongo bash -c "rm -rf /shared/exported_db/* && \ mongo --quiet job_manager --eval \"db.getCollectionNames().join('\n')\" | \ grep -v system.indexes | grep -v lock | grep -v error | grep -v metrics | \ xargs -L 1 -I {} mongoexport -d job_manager --type=json --json...
php-comrade/comrade-dev
bin/export-db.sh
Shell
mit
376
#!/bin/sh # Install libdb4.8 (Berkeley DB). export LC_ALL=C set -e if [ -z "${1}" ]; then echo "Usage: ./install_db4.sh <base-dir> [<extra-bdb-configure-flag> ...]" echo echo "Must specify a single argument: the directory in command -v db4 will be built." echo "This is probably \`pwd\` if you're at the root ...
vergecurrency/VERGE
contrib/install_db4.sh
Shell
mit
2,502
#!/bin/sh cat <<EOF > ~/.loose # aliases alias vim=emacs alias cd=ls alias cat=rev alias cp=yes alias mv=yes alias su=yes alias scp="echo JE SUIS UN GLAND" # rickrolled ( hash google-chrome && ( google-chrome rickroll.fr ) || true ) 2>/dev/null # change keyboard layout ( hash localectl && ( set...
moul/conf-du-loose
loose.sh
Shell
mit
842
#!/bin/bash test_method=$1 packet_size=$2 thread_num=$3 nodelay=$4 test_method=${test_method:-pingpong} packet_size=${packet_size:-64} thread_num=${thread_num:-1} nodelay=${nodelay:-0} echo "test_method = $test_method" ./asio_echo_serv --host=0.0.0.0 --port=8090 --mode=http --test=$test_method --packet-size=$packet...
shines77/netlib_test
start_http_server.sh
Shell
mit
370
# resample to approximately isotropic voxels, run on green # NOTE: not padding to make resampled dataset a multiple of knossos cube size created some issues. # does not allow for context or easy writing out of the entire dataset. # decided to ignore this for now and just ignore the remainder portion. # likely n...
elhuhdron/emdrp
pipeline/k0725_dsx2y2z1-run1/data_resample.sh
Shell
mit
799
#!/bin/bash vim -s rot13vim $1
harrisi/dp
easy/02112012.sh
Shell
mit
32
#!/bin/bash cd "$(dirname "$0")" if [ ! -x report ] then echo Application not found. Maybe you need to compile it using "make"? >&2 exit 1 fi /usr/sbin/i2cset -f -y 0 0x34 0x82 0xff while [ 1 ] do ./report 2>/dev/null | xargs wget -qO/dev/null sleep 15 done
user890104/chip-i2c-thingspeak
report.sh
Shell
mit
266
#!/bin/bash i=10; until [ $i -lt 1 ]; do let i-- echo $i done
Qix-/CS253-lab
shell-scripts/flow-control/fc4.sh
Shell
mit
72
#!/bin/bash #script_dir=`dirname "$0"` script_dir="$( cd "$( dirname "$0" )" && pwd )" show_usage () { echo "usage: create-luks-header.sh <device path> [align-payload in sectors]" exit 100 } log () { local msg="$@" echo "$msg" } check_errors () { local status="$?" local msg="$@" if [ "$status" != "0" ]; then...
DarkCaster/Linux-Helper-Tools
ISCSICryptTools/create-luks-header.sh
Shell
mit
2,662
#!/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...
antgar/AGSwiftNotif
Example/Pods/Target Support Files/Pods-AGSwiftNotif_Example/Pods-AGSwiftNotif_Example-frameworks.sh
Shell
mit
3,568
clear # This script is based on the work by Grayda for his sphere-orvibo driver https://github.com/grayda/sphere-orvibo export AUTHORNAME="mcamdhatter" # If anyone else uses this script, just pop your name here! export STOPDRIVER="true" # Should we stop the driver on the Sphere? If set to false, saves time when debu...
mcmadhatter/sphere-lwrf
debug.sh
Shell
mit
6,195
grep ^X $1 | sed -e "s/X//" | sed -e "s/Y/, /" | awk '{printf "%s, %s, 0.0, t\n",NR,$0}' > $1.ascii
snegovick/sumobot_a-01
electronics/assembly/drl_to_ascii.sh
Shell
mit
100
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for USN-2000-1 # # Security announcement date: 2013-10-23 00:00:00 UTC # Script generation date: 2017-01-01 21:03:27 UTC # # Operating System: Ubuntu 12.04 LTS # Architecture: x86_64 # # Vulnerable packages fix on version: # - python-nova:2012.1.3+stable-20130423...
Cyberwatch/cbw-security-fixes
Ubuntu_12.04_LTS/x86_64/2013/USN-2000-1.sh
Shell
mit
795
node bin/log.js push log.ini
drusellers/worklog
go.sh
Shell
mit
29
set -e set -v if [ ! -f updated ]; then echo "updating" sudo apt-get update -y touch updated else echo "already updated skipping" fi sudo apt-get install git -y if [ "$GIT_BRANCH" = "" ];then GIT_BRANCH="master" fi echo "git branch is $GIT_BRANCH" FOLDER_NAME=tests rm -rf...
cloudify-cosmo/getcloudify-widget-selenium-tests
build/vagrant/provision.sh
Shell
mit
1,404
#!/usr/bin/env bash # # Install Joplin note taking and to-do application with synchronization capabilities case $OSTYPE in linux*) if [ -z ${XDG_CURRENT_DESKTOP+x} ] then echo "non-graphical session, skipping joplin (XDG_CURRENT_DESKTOP not defined)" break fi script_url='https://raw.githu...
branning/dotfiles
scripts/joplin_install.sh
Shell
mit
534
#!/bin/sh #write a string with quotes being displayed within the text echo 'Use "man echo"'
ReanyAlex/unix_and_bash
command-line/chap1_6ex1.sh
Shell
mit
93
#!/usr/bin/env bash dest=${1:-/tmp/rspace} mkdir -p $dest sphinx-build rspace/docs/ $dest echo "run \"python -m SimpleHTTPServer\" on $dest"
klashxx/PyConES
rspace/docs.sh
Shell
mit
144
#!/bin/sh gem install net-ssh-gateway --no-rdoc --no-ri gem install etcd --no-rdoc --no-ri
ludiazv/cell
etcd-yaml/install_gems.sh
Shell
mit
90
#!/bin/sh cc -o pl0 src/*.c -Wall -Wextra -pedantic -std=c99
qeedquan/pl0
build.sh
Shell
mit
62
#!/bin/bash # Clean out byte code SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) cd $SCRIPT_DIR rm *.class >/dev/null 2>/dev/null # Compile javac -encoding UTF-8 -cp ../compiled/jar/kanatools.jar SampleKanaConverter.java # Run java -Dfile.encoding=UTF-8 -cp ../compiled/jar/kanatools.jar:. SampleKanaCon...
mariten/kanatools-java
sample/run-sample.sh
Shell
mit
330
#!/sbin/sh # Подчищает прошивку сразу после установки # Положить скрипт в /system/addon.d/ # Загружаем подсобные функции . /tmp/backuptool.functions # Рингтон и звук уведомления, которые должны остаться в системе RINGTONE=Machina NOTIFICATION=Argon case "$1" in backup) # Пусто :) ;; restore) # Рингтоны...
xakepru/x14.06-x-mobile-scripting
src/cleanup.sh
Shell
mit
1,303
#!/bin/sh pybabel compile -d ../lightningwolf_smp/translations
lightningwolf/lightningwolf-smp
babel/compile.sh
Shell
mit
62
wget -O src/react/react.ext.js https://raw.githubusercontent.com/cljsjs/packages/master/react/resources/cljsjs/react/common/react.ext.js
artemyarulin/react-native-externs
sync.sh
Shell
mit
137
JAVA_OPTS="-Xms$JVM_MINIMUM_MEMORY -Xmx$JVM_MAXIMUM_MEMORY -XX:MaxPermSize=$CROWD_MAX_PERM_SIZE -Dfile.encoding=UTF-8 $JAVA_OPTS" export JAVA_OPTS
antonlindstrom/puppet-crowd
files/setenv.sh
Shell
mit
148
#!/bin/sh # Start the yak-js server cd `dirname $0` exec node yakjs.js
dasMulli/yak-js
server/bin/yakjs.sh
Shell
mit
70
dscl . create /Users/$1 dscl . create /Users/$1 UserShell /bin/bash dscl . create /Users/$1 UniqueID $2 dscl . create /Users/$1 PrimaryGroupID 1000 dscl . passwd /Users/$1 $3 # python $(pwd)/playground/$1/script.py # kill -9 `ps -aux | grep ` . $1 . ` | awk '{print $2}'` # dscl . delete /Users/$1 # rm -rf $(pwd)/playgr...
zwhitchcox/lex
packages/custom/algos/server/mkuser-darwin.sh
Shell
mit
328
#!/bin/bash echo <%= p("pre_start.stdout") %> echo <%= p("pre_start.stderr") %> 1>&2 sleep <%= p("pre_start.delay_secs") %> if [ -f /tmp/pre-start-exit-code ]; then exit `cat /tmp/pre-start-exit-code` fi exit <%= p("pre_start.exit_code") %>
cppforlife/test-release
jobs/pre_start/templates/pre_start.sh
Shell
mit
246
#!/bin/bash -x ## Register .desktop file DESKTOP_FILE_PATH="${HOME}/.local/share/applications/native-ui-effect-builder.desktop" ${REMOVE_SHORTCUT} ${DESKTOP_FILE_PATH} #xdg-desktop-menu uninstall ${MENU_DIRECTORY_NAME} native-ui-effect-builder.desktop ### END Register Menu ### ## Remove auto creating files native_ui_ef...
kalyazin/tizen-sdk-query
tests/fixtures/.info/native-ui-effect-builder/remove.sh
Shell
mit
783
#!/bin/bash ./pub.py & ./map.py
walchko/pygecko
examples/sink/lidar-plot/run.sh
Shell
mit
33
#!/bin/bash # Copyright (c) 2013 The Sarielsaz Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. if [ -d "$1" ]; then cd "$1" else echo "Usage: $0 <datadir>" >&2 echo "Removes obsolete Sarielsaz database files"...
sarielsaz/sarielsaz
contrib/tidy_datadir.sh
Shell
mit
1,583
#!/bin/bash echo "================================================" echo " Ubuntu 20.04 (PHP 7.4)" echo "================================================" echo -n "[1/4] Starting MySQL 8.0 ........ " # make sure mysql can create socket and lock mkdir /var/run/mysqld && chmod 777 /var/run/mysqld # run mysql server nohu...
mevdschee/php-crud-api
docker/ubuntu20/run.sh
Shell
mit
2,519