Skip to content

Instantly share code, notes, and snippets.

View warnergodfrey's full-sized avatar

Warner Godfrey warnergodfrey

  • Melbourne, Australia
  • 03:53 (UTC +10:00)
View GitHub Profile
@warnergodfrey
warnergodfrey / gist:5094790
Last active December 14, 2015 13:38
Installing Ruby on Raspberry Pi
@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: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:dfc97fe353f5f5d5ed27
Created September 24, 2014 01:45
Read in PSD1 file
$DefaultParameters = Invoke-Expression ($(Get-Content (Join-Path $PSScriptRoot "StackDriver.psd1")) -Join "`n")
@warnergodfrey
warnergodfrey / gist:6235a89470c86477daac
Last active August 29, 2015 14:07
Powershell Cmdlet that takes params or a config file with name value pairs
function foo {
param (
[parameter(Mandatory=$true,ParameterSetName = "config")]
[String]$Configuration,
[parameter(Mandatory=$true,ParameterSetName = "param")]
[String]$Name,
[parameter(Mandatory=$true,ParameterSetName = "param")]
[String]$Email
@warnergodfrey
warnergodfrey / INSTALL.md
Last active August 29, 2015 14:13
Installing Chocolatey from behind a proxy

Installing Chocolatey

Direct Internet connection

If you are fortunate enough have a direct Internet connection, or sit behind a transparent proxy, simply follow the default installation instructions.

Via a HTTP proxy server

If your target machine is behind a proxy, and your Windows networking is configured with the proxy settings, the installation method is slightly different...

@warnergodfrey
warnergodfrey / gist:5c1a43fe68c5aef13049
Last active August 29, 2015 14:15
My Boxstarter Script
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
cinst 7zip
cinst 7zip.commandline
cinst ConEmu
cinst cyg-get
cinst Cygwin
cinst git
cinst git.commandline
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
Disable-UAC
Disable-InternetExplorerESC
cinst git.install -y -params '"/GitAndUnixToolsOnPath"'
cinst virtualbox -y
cinst vagrant -y
cinst packer -y
cinst packer-windows-plugins -pre -y
@warnergodfrey
warnergodfrey / boxstarter.ps1
Last active August 29, 2015 14:20
boxstarter.ps1
Set-WindowsExplorerOptions -DisableShowHiddenFilesFoldersDrives -DisableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
Disable-UAC
Install-WindowsUpdate
Enable-MicrosoftUpdate
choco update
choco install microsoftsecurityessentials -y
choco install javaruntime -y