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
while test 01 if test 02 while test 03 if test 04 cmd a fi done fi done
mitnk/cicada
tests/locusts/while-if-more-001.sh
Shell
mit
136
#!/bin/sh if [ -z "$build" ] ; then echo '$build is undefined' exit 1 fi if [ -z "$package_dir" ] ; then echo '$build is undefined' exit 1 fi package=ninja source=nosourcefile build_dir=$build/$package-$version url=git://github.com/martine/ninja.git download() { mkdir -p $build_dir && cd $build_dir && ...
hoangmle/crave-bundle-2015-07-22
dependencies/ninja-release/shared.sh
Shell
mit
632
#!/bin/bash ./dc.sh build && ./dc.sh up
jannis-baratheon/Docker-container-synchronization-example
run-example.sh
Shell
mit
41
#!/bin/bash die() { echo "$@" 1>&2 ; exit 1; } NOW=`date +%s` TDA=$(($NOW - 28 * 24 * 60 * 60)) FDA=$(($NOW - 56 * 24 * 60 * 60)) THIS_MONTH=`date +%b%Y` THIS_MONTH_NICE=`date "+%B %Y"` LAST_MONTH=`date --date="@$TDA" +%b%Y` LAST_MONTH_NICE=`date --date="@$TDA" "+%B %Y"` PRELAST_MONTH=`date --date="@$FDA" +%b%Y` PREL...
jmccrae/llod-cloud.py
monthly.sh
Shell
mit
3,875
#!/usr/bin/env bash clear; echo $(pwd;) echo "$0" | sed 's/\.\///g' | awk '{print toupper($0)}' echo "Bash version ${BASH_VERSION}..." function isNpmInstalled() { if [[ $(which npm;) ]] then echo 0 else echo -1 fi } function isNativeScriptInstalled() { if [[ $(which tns;) ]] th...
bradyhouse/house
fiddles/bash/fiddle-0047-InstallNativeScript/script.sh
Shell
mit
1,414
#!/bin/bash # See https://stackoverflow.com/questions/14005110/how-to-split-a-video-using-ffmpeg-so-that-each-chunk-starts-with-a-key-frame # -> ffmpeg -i input.h265.aac.medium.crf28.mp4 -ss 47:00 -t 52:00 -acodec copy -f segment -vcodec copy -reset_timestamps 1 -map 0 segment%d.mp4 # The latest builds of FFMPEG inc...
tom-weatherhead/bash-scripts
ffmpeg_segment.sh
Shell
mit
1,774
mkdir -p /data/shard0/rs0 /data/shard0/rs1 /data/shard0/rs2 mongod --replSet s0 --logpath "s0-r0.log" --dbpath /data/shard0/rs0 --port 37017 --fork --shardsvr mongod --replSet s0 --logpath "s0-r1.log" --dbpath /data/shard0/rs1 --port 37018 --fork --shardsvr mongod --replSet s0 --logpath "s0-r2.log" --dbpath /data/shard...
wcc526/allsnippets
docs/mongodb/init_sharded_env.sh
Shell
mit
1,905
#!/bin/bash set -x -e # Define Functions . setup_connection.sh # Set Default Variables if [[ -z "${BROKER_NAME}" ]]; then export BROKER_NAME='amq' fi if [[ -z "${CLIENT_USERNAME}" ]]; then export CLIENT_USERNAME='amq' fi if [[ -z "${CLIENT_PASSWORD}" ]]; then export CLIENT_PASSWORD='amq123!' fi if [[ -...
jlgrock/docker.jboss-amq
resources/entrypoint.sh
Shell
mit
1,171
#!/bin/bash -u # ----------------------------------------------------------------------- # File Name: create_scamp_astrom_photom_multiinst.sh # Author: Thomas Erben (terben@astro.uni-bonn.de) # Last modified on: 31.07.2016 # Description: Performs astrometric and relative photometric #...
deapplegate/wtgpipeline
create_scamp_astrom_photom_multiinst.sh
Shell
mit
28,172
# Customize $PATH to your needs... export PATH="./bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin" export PATH="$RICOCHET/bin:$PATH" export PATH="$HOME/scripts/bin:$PATH" export PATH="$HOME/node_modules/.bin:$PATH" export PATH="$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH" export PATH="$PATH:...
cobyism/ricochet
zsh/path.zsh
Shell
mit
562
#!/bin/bash set -e sudo chmod 777 /tmp [[ ! -d /var/lib/mysql ]] && mysql_install_db mysqld_safe 2>&1 & set +e MYSQL_STATUS=1 while [[ MYSQL_STATUS -ne 0 ]]; do echo "Waiting MySQL" sleep 4 mysql -e "status" MYSQL_STATUS=$? done set -e echo "MySQL is running" mysql -e "CREATE DATABASE ${CRAFT_DB_NA...
gabrielmoreira/docker-craft
includes/build/prepare-mysql.sh
Shell
mit
453
#!/usr/bin/env bash source /vagrant/vagrant/bashurator/init.sh # Setup the environment. configure_apt_get() { # Update apt-get. apt-get update # Required for add-apt-repository. apt-get install -y software-properties-common build-essential zip unzip curl # Node.js v7 curl -sL https://deb.no...
smebberson/vagrant-nodejs
vagrant/apt-get.sh
Shell
mit
583
#!/bin/bash # Wait until Docker is running correctly while [ -z "$(${docker_cmd} info | grep CPUs)" ]; do echo Waiting for Docker to start... sleep 2 done # If UWF is running, open the docker swarm mode ports sudo ufw status | grep -qw active UFW_INSTALLED=$? if [ $UFW_INSTALLED -eq 0 ]; then sudo ufw allow 237...
thojkooi/terraform-digitalocean-docker-swarm-mode
modules/workers/scripts/join.sh
Shell
mit
513
#!/bin/bash # This scripts automates the release process of Meteor Tool. # Normally, after publishing a new Meteor release from checkout, you need to ssh # to a machine running every supported platform and publish a build from it. # This script automates ssh'ing into machines and running the publish command. set -e ...
meteor-velocity/meteor
scripts/admin/publish-meteor-tool-on-all-platforms.sh
Shell
mit
1,815
#!/bin/bash # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. set -o pipefail # This script takes either two dexes, two APKs, or two text files which have # the output of dexdump, and retur...
facebook/redex
test/compare_transform.sh
Shell
mit
4,171
#! /usr/bin/env zsh source './sha1.binary.sh' function test::converter::decimal::from_char() { local input_char='A' local expected_result='65' local result=$(converter::decimal::from_char ${input_char}) if [[ "${result}" != "${expected_result}" ]]; then return 1 fi return 0 } func...
kmhjs/zsh-sha-1
sha1.binary.test.sh
Shell
mit
15,869
#!/usr/bin/env bash puppet apply --modulepath=/src/memcachephp/run/modules /src/memcachephp/run/run.pp supervisord -c /etc/supervisor/supervisord.conf
dockerizedrupal/docker-memcachephp
src/memcachephp/run.sh
Shell
mit
153
#!/bin/bash read -s -p "mysql root 패스워드 : " rootpass username='dogpig' password='dogpig' # drop database mysql -u root -p$rootpass -e "DROP DATABASE IF EXISTS dogpigdb;" mysql -u root -p$rootpass -e "DROP DATABASE IF EXISTS dogpigdb_test;" # create database mysql -u root -p$rootpass -e "CREATE DATABASE dogpigdb;" ...
re-noir/dog-board
scripts/restore_db.sh
Shell
mit
964
#!/bin/bash while true do git remote update UPSTREAM='@{u}' LOCAL=$(git rev-parse @{0}) REMOTE=$(git rev-parse "$UPSTREAM") BASE=$(git merge-base @{0} "$UPSTREAM") if [ $LOCAL = $REMOTE ]; then echo "Up-to-date" elif [ $LOCAL == $BASE ]; then echo "Need to pull" git pull docker build --t...
scottdmoore/dclead
gitpoll.sh
Shell
mit
391
#!/bin/bash # Jacob Salmela # 10 March 2014 # Geeklet to be used with GeekTool and the /var/root/.profile IDS # Pings the IP address that any computer gets when booted to Single-User Mode # Works best to set it to ping every 2 seconds (set refresh rate in Geektool) ping -c 1 10.x.x.x &> /dev/null # If that address i...
jacobsalmela/single-user-mode-ids
single-user-mode-ids-geeklet.sh
Shell
mit
1,861
#!/bin/sh ssh -X pi@$1.local x2x -east -to :0.0 #ssh -XC pi@$1.local x2x -east -to :0.0
mobluse/x2x
startx2x.sh
Shell
mit
89
#!/usr/bin/env bash if [ "$(uname)" == 'Darwin' ]; then OS='Mac' elif [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then OS='Linux' elif [ "$(expr substr $(uname -s) 1 10)" == 'MINGW32_NT' ]; then OS='Cygwin' else echo "Your platform ($(uname -a)) is not supported." exit 1 fi while getopts ":wtfvh-:" opt...
omarhuanca/atom
atom.sh
Shell
mit
2,733
#!/bin/sh ### BEGIN INIT INFO # Provides: cftemps # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Reads and uploads 2 temps # Description: Created by Crystalfontz America, Inc. to showcase # our 10036+10037 with ...
crystalfontz/cftemps
cftemps/cftemps.sh
Shell
mit
1,271
#!/bin/sh # CYBERWATCH SAS - 2017 # # Security fix for CESA-2015:0100 # # Security announcement date: 2015-01-30 00:21:21 UTC # Script generation date: 2017-01-01 21:11:21 UTC # # Operating System: CentOS 6 # Architecture: i386 # # Vulnerable packages fix on version: # - libyaml.i686:0.1.3-4.el6_6 # - libyaml-d...
Cyberwatch/cbw-security-fixes
CentOS_6/i386/2015/CESA-2015:0100.sh
Shell
mit
717
#!/bin/sh # put this to /etc/init.d/pugixml-autotest.sh, then launch # ln -s /etc/init.d/pugixml-autotest.sh /etc/rc3.d/S80pugixml-autotest # don't forget to chmod +x pugixml-autotest.sh and to replace /export/home/USERNAME with actual path if [ "$1" = "start" ] then cd /export/home/USERNAME/pugixml perl tes...
lvous/hadesmem
src/pugixml/pugixml/tests/autotest-solaris.sh
Shell
mit
378
export ASDF_DATA_DIR='{{ asdf_install_dir }}' . '{{ asdf_install_dir }}/asdf.sh' . '{{ asdf_install_dir }}/completions/asdf.bash'
kulla/my-ansible-scripts
roles/asdf/templates/configure_asdf.sh
Shell
cc0-1.0
131
#!/bin/bash echo "------------------------------------------" echo "COM.FLOW.BOOLEANEXPRESSION" echo "Fichier KO de TU" echo "------------------------------------------" test_func() { echo "Do you play guitar?" read reponse if [ ${reponse} == "N" ] || [ ${reponse} == "Non" ] || [ ${reponse} == "n" ] || [ ${r...
dupuisa/i-CodeCNES
shell-rules/src/test/resources/COM/FLOW/BooleanExpression/error.sh
Shell
epl-1.0
1,990
#!/sbin/sh # #remove the binaries as they are no longer needed. (kernel handled) if [ -e /system/bin/thermald ] ; then busybox mv /system/bin/thermald /system/bin/thermald_bck fi return $?
talnoah/Leaping_Lemur
packages/boot/compatibility.sh
Shell
gpl-2.0
192
#!/bin/bash set -e -u iso_name=archlinux iso_label="ARCH_$(date +%Y%m)" iso_version=$(date +%Y.%m.%d) install_dir=arch work_dir=work out_dir=out arch=$(uname -m) verbose="" pacman_conf=${work_dir}/pacman.conf script_path=$(readlink -f ${0%/*}) _usage () { echo "usage ${0} [options]" echo echo " General ...
aliasbind/arch-live-xfce
build.sh
Shell
gpl-2.0
11,195
#!/bin/bash GIT_CMD=git if [[ -n "$1" ]]; then GIT_CMD="$1"; fi BIN_DIR="$HOME/bin" LFDIR="$HOME/g/lflab" CURR_DATE="$(date +%s)" PROD_BASE="$HOME/lf-patch" PROD_DIR="$PROD_BASE/$CURR_DATE" BIN_BASE="$BIN_DIR/lflab" if [[ -e "$PROD_DIR" ]]; then echo "$PROD_DIR already exists -- you are either very quick, or you fo...
marton-l-toth/lflab
t/lf-patch.sh
Shell
gpl-2.0
1,504
#!/bin/sh snmpwalk -v1 -Osq -c public $1 '.1.3.6.1.2.1.4.21.1.11'|cut -d '.' -f2-|awk '{printf("%s\tNET-%s\t%s\n", $1, $1, $2)}'
dbarkman/dbarkman.com
ipplan/contrib/dumproute.sh
Shell
gpl-2.0
130
#!/bin/sh # # Auto-Lumping Script # Created by Keripo # For Project ZeroSlackr # Last updated: Oct 31, 2008 # echo "" echo "===========================================" echo "===========================================" echo "" echo " Full ZeroSlackr Lumping Script" echo " [ because I'm lazy ; ) ]" echo ""...
ProjectZeroSlackr/ProjectZeroSlackr-SVN
lump.sh
Shell
gpl-2.0
3,663
#!/usr/bin/env /bin/bash set -e VERSION=$(date +"%M%d%y") PROJECT=jac18281828/gzkfast TAG=${PROJECT}:${VERSION} docker build . -t ${TAG} && \ docker run --rm -i ${TAG}
jac18281828/gzkfast
run.sh
Shell
gpl-2.0
176
#!/bin/sh -ex # shellcheck disable=SC1091 . ../../lib/sh-test-lib OUTPUT="$(pwd)/output" RESULT_FILE="${OUTPUT}/result.txt" LOGFILE="${OUTPUT}/iperf.txt" # If SERVER is blank, we are the server, otherwise # If we are the client, we set SERVER to the ipaddr of the server SERVER="" # Time in seconds to transmit for TIME...
Linaro/test-definitions
automated/linux/iperf/iperf.sh
Shell
gpl-2.0
3,760
#!/bin/bash # force bash [ -z $BASH ] && { exec bash "$0" "$@" || exit; } source /etc/allproxy/config source $allproxy_path/config/config.sh echo "Sproxy" > $allproxy_path/log/sproxy echo "$sproxy_local_port" >> $allproxy_path/log/sproxy echo "$sproxy_server" >> $allproxy_path/log/sproxy echo "$sproxy_port" >> $allp...
kunal15595/Allproxy
sproxy/start.sh
Shell
gpl-2.0
1,118
#!/bin/bash # # optaw.sh: parallel version # Author: Tong Zhang # Date: Oct.30th, 2014 # infile="rad.in" #sper="0.03" #sval0="32200" #nscan=400 fac=10000 #startpoint=$(awk -v b=${sval0} -v a=${sper} 'BEGIN{print int(b*(1-a))}') #endpoint=$(awk -v b=${sval0} -v a=${sper} 'BEGIN{print int(b*(1+a))}') #steppoint=$(awk ...
Archman/felscripts
optimizationSuite/optAW/optaw_p.sh
Shell
gpl-2.0
1,491
#!/bin/sh PORT=5600 HOST=ferrari.iemnet INLOG=in.log OUTLOG=out.log PIPE=$(tempfile -p pipe) rm ${PIPE} mknod ${PIPE} p netcat -l -p ${PORT} 0<${PIPE} | tee -a ${INLOG} | netcat ${HOST} ${PORT} | tee -a ${OUTLOG} 1>${PIPE} rm ${PIPE}
umlaeute/peerdata
ncPROXY.sh
Shell
gpl-2.0
239
#!/bin/sh files=`find $1 -name "*.h" \ | sort \ | grep -v common/spec \ | grep -v "Freeciv\.h" \ | grep -v \./common/packets_gen\.h \ | grep -v tolua_.*_gen\.h \ | grep -v config\.h \ | grep -v dependencies \ | grep -v utility/md5\.h \ | grep -v client/gui...
valisc/freeciv
tests/header_guard.sh
Shell
gpl-2.0
821
#!/bin/bash #set -x # if ctrl-c is typed exit immediatly trap exit SIGHUP SIGINT SIGTERM programName=`basename $0` GETOPT=$( which getopt ) ROOT=${MDD_ROOT:-/data/sanDiego/rsfcGraphAnalysis} DATA=$ROOT/data MDD_STANDARD=$ROOT/standard MDD_TISSUEPRIORS=$ROOT/tissuepriors scriptsDir=${ROOT}/scripts logDir=${DATA}/l...
colmconn/rsfcGraphAnalysis
04-extractRsfcTimeseriesFromAalMasks.sh
Shell
gpl-2.0
1,960
#!/usr/bin/env bash set -eux set -o pipefail if grep -q cgroup2 /proc/filesystems ; then systemd-run --wait --unit=test0.service -p "DynamicUser=1" -p "Delegate=" \ test -w /sys/fs/cgroup/system.slice/test0.service/ -a \ -w /sys/fs/cgroup/system.slice/test0.service/cgroup.procs -a \...
mxre/systemd
test/units/testsuite-19.sh
Shell
gpl-2.0
1,851
#!/usr/bin/env bash cd generated/ openssl req -newkey rsa:1024 -sha1 -keyout rootAkey.pem -out rootAreq.pem -nodes -config ../rootA.cnf -days 7300 -batch openssl x509 -req -in rootAreq.pem -sha1 -extfile ../rootA.cnf -extensions v3_ca -signkey rootAkey.pem -out rootA.pem -days 7300 openssl x509 -subject -issuer -no...
tacolin/C_libtaco
files/certifications/rootA.sh
Shell
gpl-2.0
338
#!/bin/sh ##define echo colors red='\033[1;31m' green='\033[0;32m' NC='\033[0m' # No Color echo -e "${red}>>> Retriving latest FW files${NC}" sh 6_update_pack.sh
gadd1/firstgit
rebuild.sh
Shell
gpl-2.0
164
#!/bin/bash set -x WORKING_DIR=$(dirname $0) if [ -n "$WORKING_DIR" ] then cd $WORKING_DIR fi if [ -f ./env/bin/activate ] then echo activating virtualenv . ./env/bin/activate else if which virtualenv then virtualenv env . ./env/bin/activate elif [ -f ~/bin/virtualenv ]...
muncjack/sideKick
startup.sh
Shell
gpl-2.0
752
#!/bin/bash # # Copyright (C) 2017 Gleb Balykov # # This file is part of fdtd3d. # # fdtd3d is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any lat...
zer011b/fdtd3d
Tests/suite/t3/run.sh
Shell
gpl-2.0
2,488
# grid.sh: demonstration of the new grid layout # Copyright 2010 by Vincent Fourmond # # This file is provided as an example of how to use ctioga2. As such, # you can do whatever you wish with this file. # Include the definition of ct . ./test-include.sh $ct --margin 0.03 --math /samples=20 -t 'Two histograms' \ ...
fourmond/ctioga2
tests/histograms.sh
Shell
gpl-2.0
2,608
#!/bin/sh ZEPHYR_DIR= if [ $# -ne 1 ]; then echo "Need location of zephyr project as a command line argument" exit 1 else ZEPHYR_DIR=$1 fi if [ ! -d $ZEPHR_DIR ]; then echo "Zephyr project directory does not exist: $ZEPHYR_DIR" exit 1 fi ZEPHYR_CRYPTO_DIR=$ZEPHYR_DIR/zephyr/samples/crypto if [ ! -d...
lechner/wolfssl
IDE/zephyr/wolfssl_tls_sock/install_sample.sh
Shell
gpl-2.0
698
#! @BASH@ # Copyright (C) 1999-2014 Free Software Foundation, Inc. # This file is part of the GNU C Library. # Contributed by Ulrich Drepper <drepper@gnu.org>, 1999. # The GNU C Library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published ...
n1koo/eglibc-trusty
malloc/memusage.sh
Shell
gpl-2.0
7,486
#!/bin/sh # name of directory after extracting the archive in working directory PKG_DIR="i2c-tools-3.1.2" # name of the archive in dl directory PKG_ARCHIVE_FILE="${PKG_DIR}.tar.bz2" # download link for the sources to be stored in dl directory PKG_DOWNLOAD="https://m3-container.net/M3_Container/oss_packages/${PKG_ARC...
insys-icom/M3_Container
oss_packages/scripts/i2c-tools-3.1.2.sh
Shell
gpl-2.0
1,875
#!/bin/bash DATASET=mushroom PROPERTY=0 BASEDIR=$(dirname $0)/.. CMD=$BASEDIR/target/universal/stage/bin/jsm-cli sbt stage 2>&1 echo "--- Encoding of CSV" $CMD encode -p $PROPERTY data/$DATASET.csv $DATASET.dat echo "--- Randomized split of dataset" $CMD split 8:2 $DATASET.dat $DATASET-training.dat $DATASET-verify.dat ...
DmitryOlshansky/jsm4s
scripts/mushroom.sh
Shell
gpl-2.0
768
#!/bin/bash # Copyright (C) 2011 Linaro # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed ...
KangDroid/linaro_build
6.0-build.sh
Shell
gpl-2.0
13,290
#!/bin/sh set -ev VERSION=5.23 DST=stunnel-$VERSION-android # to build Zlib: # CHOST=arm-linux-androideabi ./configure --static --prefix=/opt/androideabi/sysroot # make install # to build OpenSSL: # ./Configure threads no-shared zlib no-dso --cross-compile-prefix=arm-linux-androideabi- --openssldir=/opt/androideabi/s...
mkschreder/stunnel
build-android.sh
Shell
gpl-2.0
824
#!/bin/bash optimize() { jpegoptim --max=75 *.jpg for i in * do if test -d $i then cd $i echo $i optimize cd .. fi done echo } optimize
kennyjackelen/blog
wp-content/uploads/optimize.sh
Shell
gpl-2.0
183
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="6" pegasus_lite_version_patch="0" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_exit INT TERM EXIT echo -e "\n################################ Setting up workdir ###############################...
elainenaomi/sciwonc-dataflow-examples
sbbd2016/data/google-cloud/w-08/dags/elaine.n.watanabe/pegasus/example_workflow/20160517T203959+0000/averageratio_1_ID0000009.sh
Shell
gpl-3.0
1,092
#!/bin/bash WHEREAMI="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd && echo)" cd $WHEREAMI export DIALOG=' <window title="Thomas Virtual Piano" image-name="Thomas-Virtual-Piano.png"> <vbox> <hbox> <pixmap> <input file>speaker.png</input> </pixmap> <button ok></button> <button> ...
ThomasTheSpaceFox/Thomas-Virtual-Piano
Thomas-Virtual-Piano.sh
Shell
gpl-3.0
5,562
#!/bin/bash ######################################################################### # Folder Mirror Script <https://github.com/pirafrank/CLI_utils> # Mirror source to destination # # Copyright (C) 2015 Francesco Pira <dev@fpira.com> # # This file is part of CLI_utils. # # CLI_utils is free software: you can redistr...
pirafrank/CLI_utils
script_linux_only/folder_mirror/folder_mirror.sh
Shell
gpl-3.0
1,447
#!/bin/sh test_sshd_config IgnoreRhosts yes
Taywee/dod-stig-scripts
linux/V-38611/test.sh
Shell
gpl-3.0
45
#!/bin/bash set -euo pipefail tar -cvzf "/target/kodokojo-ui-${KODOKOJO_UI_VERSION}.tar.gz" -C /src/static/ .
kodokojo/kodokojo-ui
docker/builder/makeTar.sh
Shell
gpl-3.0
111
#!/bin/sh # Inicializa base de datos MYSQL_LOOPS="60" #wait for mysql i=0 while ! mysqladmin -h ${MUSSA_DB_HOST} -u root -p$MYSQL_ROOT_PASSWORD ping >/dev/null 2>&1 < /dev/null; do i=`expr $i + 1` if [ $i -ge $MYSQL_LOOPS ]; then echo "$(date) - ${MUSSA_DB_HOST} still not reachable, giving up" exit 1 ...
jennywoites/MUSSA
init-scripts/initdb.sh
Shell
gpl-3.0
1,073
#!/bin/bash ############################################################# # Ensure the PID is always present, that way we are sure # # The process didn't die. # ############################################################# # Command to ensure we're running (This call should create t...
ddemuro/raspi-scm
raspberry-scm/forever.sh
Shell
gpl-3.0
892
#!/bin/bash # Remove the pyc file # Make code clean # Test find . -name "*.pyc" -exec rm -f {} \;
SuperSuperSuperSuper5/myngrok
run_before_push.sh
Shell
gpl-3.0
100
#!/bin/sh set -e echo "Sync started." for i in \ https://github.com/R-Tur/libmp3lame-CMAKE.git \ https://r-tur@bitbucket.org/r-tur/vst_sdk_2.4.git do filename="$(basename "$i")" dir="${filename%.*}" echo $dir if [ ! -d "$dir" ]; then git clone "$i" else cd "$dir" git pull cd .. fi done echo "Done."
Iunusov/LameVST
deps/sync.sh
Shell
gpl-3.0
308
#!/bin/bash [ -n "$DEBUG" ] && set -o xtrace set -o nounset set -o errexit shopt -s nullglob cd $(dirname $0) source ./etc/config if [ -f ./run/wshd.pid ] then echo "wshd is already running..." exit 1 fi ./net.sh setup ./bin/wshd --run ./run --lib ./lib --root ./mnt --title "wshd: $id" \ 1> ./run/wshd.out.l...
andybondar/cf-installer
warden/warden/root/linux/skeleton/start.sh
Shell
gpl-3.0
349
# Name: View help # Command: view_help view_help() { while shell=$(zenity --list --radiolist --width=300 --height=300 --title="$program Help" --text="$program $version (C) Satyajit Sahoo\nsatya164.github.io/fedorautils" --hide-header --hide-column=2 --column "Select" --column "Command" --column "Options" TRUE "update"...
danielt69/fedorautils
modules/viewhelp.sh
Shell
gpl-3.0
2,041
#!/bin/bash node node_modules/coffee-script/bin/coffee app.coffee & SERVER_PID="$!" sleep 1s node node_modules/coffee-script/bin/coffee TEST/API/init.coffee node node_modules/jasmine-node/bin/jasmine-node --junitreport TEST/API kill "$SERVER_PID"
wssgcg1213/RootPanel
run-test.bash
Shell
gpl-3.0
248
#!/bin/bash # # Instalador desatendido para Openstack Juno sobre UBUNTU # Reynaldo R. Martinez P. # E-Mail: TigerLinux@Gmail.com # Octubre del 2014 # # Script de instalacion y preparacion de indentidades Keystone para Cinder # PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin if [ -f ./configs/m...
tigerlinux/openstack-juno-installer-ubuntu14
modules/keystone-cinder.sh
Shell
gpl-3.0
3,275
#!/bin/bash export PATH=/usr/local/bin:/usr/bin:/bin CYAN='\033[33;36m'; RED='\033[0;31m' YELLOW='\033[0;93m' GREEN='\033[0;32m' NC='\033[0m' scriptLocation=$(dirname -- "$(readlink -fn -- "$0"; echo x)") cd "${scriptLocation%x}" || exit handleServices() { validServices=(backend frontend mongo redis) servic...
Musare/MusareNode
musare.sh
Shell
gpl-3.0
17,290
#!/bin/bash NAME= echo -e "\e[32mCompilando $NAME" echo -e "Compilando script\e[0m" cd ../script wine msc $NAME.spt msc.h 24 cp *.h ../dev echo -e "\e[32mRegenerando mapa\e[0m" cd ../map mapcnv mapa.map 8 3 15 10 15 packed cp -f mapa.h ../dev echo -e "\e[32mCompilando juego\e[0m" cd ../dev zcc +zx -vn $NAME.c -o $NAME....
son-link/herramientas-churreras
make.sh
Shell
gpl-3.0
1,131
python3 firstcut.py \ --source fr \ --target en \ --infn ../testdata/fr-en.test.tokenised.xml \ --outfn ./theoutput-oof-fr-en.xml \ --lm /space/english-wikipedia_old/english.blm \ --pt /space/phrasetables-db/fr-en.db \ --weights mert-fr-en/weights.ZMERT.final \ --oof True \
iucl/l2-writing-assistant
firstcut/oof-run-fr-en.sh
Shell
gpl-3.0
291
#!/bin/bash # Simple script that upload PassioneKaraoke on server after Travis-CI checks only # if this isn't a pull request. # @author: Polonio Davide poloniodavide@gmail.com # @license: GPLv3 VERSION=0.0.2 function load_lib() { #lib_config from tools source ../doc/tools/lib_config.sh || exit 1 #...
Hexamini/PassioneKaraoke
tools/upload_website.sh
Shell
gpl-3.0
1,526
check_pkg_libldns() { local br_version=$(grep -E "^$(echo ${1^^} | sed 's/-/_/g')_VERSION = " package/${1}/${1}.mk | awk '{print $3}') local version=$(wget -q -O - http://www.nlnetlabs.nl/downloads/ldns/ | grep -o -E "ldns-[0-9]+(\.[0-9]+)*\.tar" | sort -V | tail -1 | grep -o -E "[0-9]+(\.[0-9]+)*") if [[ "$br_ve...
vriera/check-br-package-versions
packages/libldns.sh
Shell
gpl-3.0
609
#!/bin/bash # Simple make script for living under # GitHub environment GPG_TIC="0B6E1EE4" GPG_ABERLANAS="CF82B86F" GPG_KEY="" if [ "$1" = "--tic" ]; then echo " * Using TIC key" GPG_KEY="$GPG_TIC" else echo " * Using aberlanas" GPG_KEY="$GPG_ABERLANAS" fi # Cleaning System echo " * Cleaning env " fakeroot deb...
aberlanas/senia-cdd
sMake.sh
Shell
gpl-3.0
447
#!/bin/sh ####### Change to point yours ####### OBS=LHO SUBSYS=PEM BASEDIR=test/ligocam_test/LigoCAM SCRATCH_DIR=/usr1/dtalukder/log/ligocam ##################################### RUN_DIR=${HOME}/${BASEDIR}/${SUBSYS} PUBHTML_DIR=${HOME}/public_html/${BASEDIR}/${SUBSYS} mkdir -p $RUN_DIR mkdir -p $PUBHTML_DIR mkdir -...
dipongkar/ligocam
etc/setup_run.sh
Shell
gpl-3.0
1,166
#!/bin/bash if [ -z "$GITHUB_TOKEN" ]; then echo "GITHUB_TOKEN is not set." echo "Please create an personal access token with repo:public_repo scopes." exit 1 fi curl \ -X POST \ -H "Authorization: token $GITHUB_TOKEN" \ -H "Accept: application/vnd.github.ant-man-preview+json" \ -H "Conten...
getgauge/gauge_screenshot
release.sh
Shell
gpl-3.0
505
#!/bin/zsh source /etc/profile export LC_ALL="en_US.UTF-8" OLD_PWD=$(pwd) cd src/ sed -ie 's/http:\/\/localhost:8000/https:\/\/firmadigital.solvosoft.com/g' client_fva/user_settings.py sed -ie 's/self.installation_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))/self.installation_path = "\/usr\/loca...
luisza/dfva_client
builder/ci/mac.sh
Shell
gpl-3.0
2,125
platform='unknown' unamestr=`uname` if [ -z "$FCCEDM" ]; then export PODIO=$PWD/install echo "PODIO is unset, setting to $PODIO" fi if [[ "$unamestr" == 'Linux' ]]; then platform='Linux' if [[ -d /cvmfs/sft.cern.ch/lcg ]]; then source /cvmfs/sft.cern.ch/lcg/views/LCG_88/x86_64-slc6-gcc49-opt/s...
gaede/podio
init.sh
Shell
gpl-3.0
801
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="7" pegasus_lite_version_patch="0" pegasus_lite_enforce_strict_wp_check="true" pegasus_lite_version_allow_wp_auto_download="true" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_signal_int INT trap...
elainenaomi/sciwonc-dataflow-examples
dissertation2017/Experiment 1B/logs/w-10-A/20161127T023805+0000/00/01/terminate_0_ID0000029.sh
Shell
gpl-3.0
1,237
#!/bin/bash ###################################################################### # SHA1 Checksum Generator # Using this will re-generate all checksums for all SQL queries. # # @package src/install # @author Brian Turchyn ###################################################################### shopt -s nullglob clear...
b-turchyn/CoC-CharGen
src/install/tabledata/genSHA1.sh
Shell
gpl-3.0
1,360
#!/bin/bash pushd . > /dev/null cd `dirname $BASH_SOURCE` > /dev/null BASEFOLDER=`pwd`; popd > /dev/null BASEFOLDER=`dirname $BASEFOLDER` TYPES=( 'accommodation' 'amenity' 'barrier' 'education' 'food' 'health' 'landuse' 'money' 'place_of_worship' 'poi' 'power' 'shopping' 'sport' 'tourist' ...
brianasimmons/brianasimmons.github.io
rio/images/SJJB-SVG-Icons/tools/generatepngall.sh
Shell
gpl-3.0
1,600
#!/bin/sh . "${TEST_SCRIPTS_DIR}/unit.sh" define_test "managed, down - once, twice" setup "down" setup_script_options <<EOF CTDB_MANAGES_VSFTPD="yes" EOF ok <<EOF vsftpd not listening on TCP port 21 WARNING: vsftpd not listening but less than 2 consecutive failures, not unhealthy yet EOF simple_test required_resu...
sathieu/samba
ctdb/tests/eventscripts/40.vsftpd.monitor.002.sh
Shell
gpl-3.0
448
#!/usr/bin/env bash if [[ $# -ne 2 || ! -d $1 ]]; then echo "Usage: $0 [coverage-build-directory] [gcov-executable]" exit 1 fi DIR="$1" GCOV="$2" if [ -z "`find "${DIR}" -iname '*.gcda' -or -iname '*.gcno' 2> /dev/null`" ]; then echo "No gcov files found (*.gcda, *.gcno) in ${DIR}!" exit 1 fi if ! w...
lubgr/tsym
bin/coverage.sh
Shell
gpl-3.0
760
#remove lines before experiment started tail -n +247 raw_testFile.txt > raw_after_start.txt #find unique sessions, count entries for each grep " [0-9]* [0-9]* [0-9]* [0-9]* [0-9]* [0-9]* " raw_after_start.txt | sed 's/.* [0-9]*\.[0-9]*\.[0-9]*\.[0-9]* \([a-z0-9]*\) .*/\1/g' | sort | uniq -c | sort -n > unique_sessions...
mrmartin/ordering_study
raw_to_data.sh
Shell
gpl-3.0
3,005
#!/bin/bash su -s /bin/bash hdfs -c "hadoop fs -chmod 777 /" su -s /bin/bash hdfs -c "hadoop fs -mkdir /tmp" su -s /bin/bash hdfs -c "hadoop fs -chmod -R 1777 /tmp" su -s /bin/bash hdfs -c "hadoop fs -mkdir /var" su -s /bin/bash hdfs -c "hadoop fs -mkdir /var/lib" su -s /bin/bash hdfs -c "hadoop fs -mkdir /var/lib/had...
hypertable/hadoop-install
cdh4/bin/initialize_system_dirs.sh
Shell
gpl-3.0
1,084
#! /bin/bash # TEST: docs.basic cd doc_scripts/ rm -f exit.out.txt mir.run --runargs "-n 2" python basic.py > /dev/null echo $? > exit.out.txt # TEST: docs.hello cd doc_scripts/ rm -f exit.out.txt mir.run --runargs "-n 1" python hello.py > /dev/null echo $? > exit.out.txt # TEST: docs.rest cd doc_scripts/ rm -f exit...
dimaleks/uDeviceX
tests/doc_scripts/check.sh
Shell
gpl-3.0
1,140
#!/bin/sh pkgname=python-xlwt pkgver=1.3.0 vcs=git vcs_pkgname=xlwt gittag=${pkgver} kiin_make() { python setup.py build } kiin_install() { python setup.py install --skip-build --root=${pkgdir} --optimize=1 }
alekseyrybalkin/kiin-repo
python-modules/python-xlwt/package.sh
Shell
gpl-3.0
220
#!/bin/sh # # This file is protected by Copyright. Please refer to the COPYRIGHT file # distributed with this source distribution. # # This file is part of GNUHAWK. # # GNUHAWK is free software: you can redistribute it and/or modify is under the # terms of the GNU General Public License as published by the Free Sof...
RedhawkSDR/integration-gnuhawk
components/moving_average_ss/build.sh
Shell
gpl-3.0
1,576
pacat -rd alsa_output.pci-0000_00_1b.0.analog-stereo.monitor --channels=1 --raw --latency=1024 | python3 freq_vu.py
bboston7/light-bar
freq_vu.sh
Shell
gpl-3.0
116
#!/bin/bash if [ ! -d ./ca_files ]; then echo "Directory with collected CA certificates missing!" >&2 exit 1 fi if [ ! -d ./ca_trusted ]; then echo "Directory with just trust anchors missing!" >&2 exit 1 fi if [ ! -d ./certs ]; then echo "Directory with certificates missing!" >&2 exit 1 fi i...
PeterMosmans/cipherscan
top1m/process-certificate-statistics.sh
Shell
mpl-2.0
1,166
#!/usr/bin/env bash CALLEDPATH=`dirname $0` # Convert to an absolute path if necessary case "$CALLEDPATH" in .*) CALLEDPATH="$PWD/$CALLEDPATH" ;; esac if [ ! -f "$CALLEDPATH/setup.conf" ]; then echo echo "Missing configuration file. Please copy $CALLEDPATH/setup.conf.txt to $CALLEDPATH/setup.conf and e...
rolencea/org.civicrm.civisocial2
bin/setup.sh
Shell
agpl-3.0
1,138
#!/bin/bash #### # All you need is LibreOffice ! /usr/bin/libreoffice --headless --convert-to docx "$@" # done. #### exit # Dependencies - Ubuntu # pdftohtml (from poppler-utils) # gnuhtml2latex # pandoc # TODO # # * Add support for CentOS # # Dependencies - CentOS # pdftohtml (from poppler-utils) # html2latex (f...
taikedz/handy-scripts
unfinished/pdf2docx.sh
Shell
agpl-3.0
1,457
#!/bin/bash # # - set_MacTeX_for_Japanese # # Written by Youhei SASAKI <uwabami@math.kyoto-u.ac.jp> # # Note: We want to declare full-permissive license(e.g. WTFPL). But some # countries and associations prohibit such kind of manner. Thus we # declare it for MIT license. # # Memo: Basic Information @see TeX...
kusm/dotfiles
bin/set_macteX_for_japanese.sh
Shell
agpl-3.0
8,418
#!/bin/sh getent passwd storjshare &>/dev/null || useradd -u 263 -d /var/lib/storjshare -m -c 'Storj Farmer' -s /bin/nologin storjshare >/dev/null
n0izn0iz/storjshare-systemd
systemd/create_user.sh
Shell
agpl-3.0
147
DIR_SERVICE='/etc/init.d/' SERVICE_PATTERN='openerp' DIRECTORY=`ls $DIR_SERVICE | grep $SERVICE_PATTERN` #echo $DIRECTORY for D in $DIRECTORY do $DIR_SERVICE$D start done exit 0
jmesteve/saas3
openerp/addons_extra/server_manager/scripts/start_process_all.sh
Shell
agpl-3.0
193
set -e set -x # Choose the python versions to install deps for case $CIRCLE_NODE_INDEX in *) dep_versions=( "3.4.3" ) ;; 1) dep_versions=( "3.5.1" ) ;; esac for dep_version in "${dep_versions[@]}" ; do pyenv install -ks $dep_version pyenv local $dep_version python3 --version pip3 install -q -r test-require...
MalkmusT/coala-quickstart
.ci/deps.sh
Shell
agpl-3.0
373
#!/bin/sh ARCH="all" CLEAN=no SDK_MIN=9.0 VERBOSE=no ROOT_DIR=default SIMULATOR=no NO_NETWORK=no BUILD_TYPE="Release" TESTED_HASH="5c74aacc" VLCKIT_PATH=~ BUILD_VLCKIT=no SDK_VERSION=`xcrun --sdk iphoneos --show-sdk-version` CXX_COMPILATOR=clang++ SKIP_MEDIALIBRARY=no SKIP_DEPENDENCIES=no OBJCXX_COMPILATOR=clang++ OSV...
TheHungryBu/MediaLibraryKit
buildVLCMediaLibraryKit.sh
Shell
lgpl-2.1
23,721
./render_list -a -m style1 -t /var/lib/mod_tile/osm_tiles/ -z 0 -Z 1 ./render_list -a -m style1 -t /var/lib/mod_tile/osm_tiles/ -z 0 -Z 2 ./render_list -a -m style1 -t /var/lib/mod_tile/osm_tiles/ -z 0 -Z 5 ./render_list -a -m style1 -t /var/lib/mod_tile/osm_tiles/ -z 4 -Z 10 ./render_list -a -m style1 -t /var/lib/mod_...
stackunderflow-stackptr/stackptr_tools
old_tileserver/tileserver/precache.sh
Shell
lgpl-3.0
984
#!/bin/bash # # Generate the MPC artifacts for gnuace. # # A variation on checking for definedness and validity. #: ${ACE_ROOT:?"ACE_ROOT is not defined please check your setup"} #: ${DAF_ROOT:?"DAF_ROOT is not defined please check your setup"} if [[ -z "$ACE_ROOT" || ! -d "$ACE_ROOT" ]]; then echo "*************...
LASAGNE-Open-Systems/LASAGNE-Core
DAF_gnuace.sh
Shell
lgpl-3.0
1,294
#!/usr/bin/env bash # # MANAGED BY CHEF IN wergstation::bashrc RECIPE. # CHANGES WILL BE OVERWRITTEN! # # This temporarily remaps the CapsLock key to a Control key. # The keyboard will return to the previous settings after a # reboot. The Linux console and the X Window system each # handles keypresses separately, so ea...
carltonstedman/wergstation
files/default/home/dotbash/nocaps.sh
Shell
unlicense
779
#!/usr/bin/env sh # kill running polybar instances killall -q polybar # wait for termination while pgrep -x polybar >/dev/null; do sleep 1; done for m in $(polybar --list-monitors | cut -d":" -f1); do MONITOR=$m polybar --reload example & done polybar example &
vbrandl/dotfiles
bin/polybar.sh
Shell
unlicense
267
#! /bin/bash # Crude script to check if files successfully published # from i2s LIMB to the staging area # (esp. check that PDF made it) cd /mnt/lsdi2/ftp for i in `find . -type d -mtime -1 -name ALTO` do kdip=${i/\/ALTO/} # # Check if the PDF made it to staging # pdf=`find ${kdip}/PDF -type f -name "*.pdf"` i...
jkylefenton/digitization_scripts
book_digitization/check_ftp_files.sh
Shell
unlicense
1,313
#!$shell $headers _galaxy_setup_environment() { local _use_framework_galaxy="$1" _GALAXY_JOB_HOME_DIR="$working_directory/../home" _GALAXY_JOB_TMP_DIR=$tmp_dir_creation_statement $env_setup_commands if [ "$GALAXY_LIB" != "None" -a "$_use_framework_galaxy" = "True" ]; then if [ -n "$PYTHONP...
natefoo/pulsar
pulsar/managers/util/job_script/DEFAULT_JOB_FILE_TEMPLATE.sh
Shell
apache-2.0
1,403