Keybase proof
I hereby claim:
- I am thomasrooney on github.
- I am thomasrooney (https://keybase.io/thomasrooney) on keybase.
- I have a public key ASBoX6Ce4RakCSUXiabeT0cTZCZmOvo8-NGuhm68-Y8lbQo
To claim this, I am signing this object:
#! /bin/sh | |
if ! which dns-sd > /dev/null | |
then | |
echo "Requires dns-sd" | |
exit | |
fi | |
if (( $# < 1 )) ; then | |
echo "Requires devicename as an argument" |
I hereby claim:
To claim this, I am signing this object:
impssh() { | |
shellServerIndex=$((RANDOM%4+1)) | |
username="tr111" | |
shellServer=shell$shellServerIndex.doc.ic.ac.uk | |
if (( $# >= 1 )) ; then | |
ssh -t $username@$shellServer "ssh $1" |
from the root of the repository (installs packages/databases as per requirement, recommend doing on a VM)
sudo ./deployment/provisioning/common.sh ./deployment/puppet/gamenode/
ruby -rsocket -e "require 'webrick';include WEBrick;s = HTTPServer.new(:Port => 80, :DocumentRoot => Dir::pwd);trap(\"INT\"){ s.shutdown };s.start;" | |
ruby -rsocket -e "require 'webrick';include WEBrick;s = HTTPServer.new(:Port => 8080, :DocumentRoot => \"/opt/blocks/client/bin\");trap(\"INT\"){ s.shutdown };s.start;" | |
146.169.44.231 |