I hereby claim:
- I am tserong on github.
- I am tserong (https://keybase.io/tserong) on keybase.
- I have a public key whose fingerprint is 9409 2010 12EC F0E3 F918 B284 DB7E 03BB B43C 2BA9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# | |
# Go to http://vtr.aec.gov.au/SenateDownloadsMenu-17496-csv.htm and get | |
# | |
# * First Preferences by Division by Vote Type | |
# http://vtr.aec.gov.au/Downloads/SenateFirstPrefsByDivisionByVoteTypeDownload-17496.csv | |
# | |
# * Votes by Division | |
# http://vtr.aec.gov.au/Downloads/SenateVotesCountedByDivisionDownload-17496.csv | |
# |
#!/bin/sh | |
[ -n "$(crm_mon -1 -n 2>/dev/null | sed -ne '/^Failed actions:/ q; /^Node '$(crm_node -n)':/,/^Node/ { /^Node/ d; p }')" ] \ | |
&& echo 'this node is hosting resources' \ | |
|| echo 'this node is slacking off, doing nothing' |