Skip to content

Instantly share code, notes, and snippets.

View shairozan's full-sized avatar

Darrell Breeden shairozan

View GitHub Profile
@shairozan
shairozan / small_sge.xml
Created December 18, 2019 18:18
Small rendered SGE qstat xml
<?xml version='1.0'?>
<job_info xmlns:xsd="http://arc.liv.ac.uk/repos/darcs/sge/source/dist/util/resources/schemas/qstat/qstat.xsd">
<queue_info>
<Queue-List>
<name>all.q@ip-10-0-1-113.ec2.internal</name>
<qtype>BIP</qtype>
<slots_used>5</slots_used>
<slots_resv>0</slots_resv>
<slots_total>8</slots_total>
<load_avg>0.34000</load_avg>
#!/bin/bash
ROOT_PATH=/dotnet/src
if [ -z $1 ] ;
then
#No application was passed. Default
APPLICATION_PATH=CimplxReportingPlus
else
APPLICATION_PATH=$1
#!/bin/bash
cd /dotnet/src/CimplxReportingPlus/ && dotnet run
#!/bin/bash
cd /dotnet/src/QueueRunner && dotnet restore && dotnet build && dotnet run
@shairozan
shairozan / deploy.sh
Created January 8, 2016 02:38
Modified Shipyard Deploy Code
#!/bin/bash
if [ "$1" != "" ] && [ "$1" = "-h" ]; then
echo "Shipyard Deploy uses the following environment variables:"
echo " ACTION: this is the action to use (deploy, upgrade, node, remove)"
echo " DISCOVERY: discovery system used by Swarm (only if using 'node' action)"
echo " IMAGE: this overrides the default Shipyard image"
echo " PREFIX: prefix for container names"
echo " SHIPYARD_ARGS: these are passed to the Shipyard controller container as controller args"
echo " TLS_CERT_PATH: path to certs to enable TLS for Shipyard"