Skip to content

Instantly share code, notes, and snippets.

View warnergodfrey's full-sized avatar

Warner Godfrey warnergodfrey

  • Melbourne, Australia
  • 07:07 (UTC +10:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am warnergodfrey on github.
  • I am warnerg (https://keybase.io/warnerg) on keybase.
  • I have a public key ASAj95eTjKr2usMm3ihnWFrKEWdSj-kzym2du5jeTFYd4go

To claim this, I am signing this object:

@warnergodfrey
warnergodfrey / gist:7512051
Last active September 21, 2018 03:20
Access the ATO Business Portal using AusKey Mac OS X Mountain Lion
  • Install the latest JRE from Oracle
  • In the Java Control Panel, go to the Security tab and make sure 'Enable Java Content' is checked
  • Open Safari
  • Go to the ATO Business portal site https://bp.ato.gov.au/BpStatics/homepage.htm
  • Click Login
  • A dialog will apear asking you 'Do you want to trust the website “authentication.business.gov.au” to use the “Java” plug-in?'
  • Click 'Trust'
  • Now you will be asked 'Do you want to run this application?'
  • Click 'Run'
  • Another dialog will appear asking you to 'Allow access to the following application from this website?'
@warnergodfrey
warnergodfrey / Gemfile
Last active December 14, 2017 01:10
Instructions for running remote JMeter
source 'https://rubygems.org'
gem 'ruby-jmeter', github: 'lukeck/ruby-jmeter'
@warnergodfrey
warnergodfrey / gist:5529796
Last active December 17, 2015 01:39
Hack the old parser to get it working on an ec2 environment
rea-ec2-ssh reaxml.matt-nz
groupadd -g 68 hack-www
usermod -g hack-www -G www www
@warnergodfrey
warnergodfrey / gist:5094790
Last active December 14, 2015 13:38
Installing Ruby on Raspberry Pi
@warnergodfrey
warnergodfrey / gist:4759220
Last active December 12, 2015 10:29
Open file from iTerm 2 in existing mvim session (and start at the given line number)
  • Open iTerm2
  • Goto Preferences->Profiles->Advanced->Semantic history
  • Select Run Command...
  • Enter the command /usr/local/bin/mvim --remote +\2 \1
@warnergodfrey
warnergodfrey / gist:4728855
Last active December 12, 2015 06:28
Get ATO AusKey to work on Mac OS X without f**king up your Java development environment
  • Install AusKey software
  • Show file contents of /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
  • Move .JAR files from /Library/Java/Extensions to /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/ext

UPDATE 16/11/2013: AusKey no longer requires software to be installed on Mac OS X so these steps are no longer necessary

@warnergodfrey
warnergodfrey / 50-delcom.rules
Last active October 8, 2015 00:10
Give Delcom USB light write permissions on Linux and prevent usbhid from claiming the device by adding the quirk to the boot commandline.
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fc5", ATTRS{idProduct}=="b080", ACTION=="add", SYMLINK+="delcom", MODE="0666", GROUP="plugdev"
@warnergodfrey
warnergodfrey / gist:1552478
Created January 2, 2012 22:46
Newco vimrc
" Tab completion
set wildignore+=*.o,*.obj,.git,*.rbc,*.class,.svn,vendor/gems/*,tmp/*,coverage/*,public/*,spec/javascripts/generated/*,db/bootstrap/*,vendor/gems/:
" Command-T configuration
let g:CommandTMaxFiles=20000