Skip to content

Instantly share code, notes, and snippets.

View warnergodfrey's full-sized avatar

Warner Godfrey warnergodfrey

  • Melbourne, Australia
  • 02:41 (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 / boxstarter.ps1
Last active August 31, 2015 00:44
Windows Laptop
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Disable-UAC
cinst -y powershell -version 4.0.20141001
cinst -y 7zip
cinst -y 7zip.commandline
cinst -y sharpkeys
cinst -y ConEmu
cinst -y git -params '"/GitAndUnixToolsOnPath"'
cinst -y GoogleChrome
@warnergodfrey
warnergodfrey / boxstarter.ps1
Last active August 29, 2015 14:23
SEEK Development Authoring Environment
Disable-UAC
choco install -y vagrant
choco install -y git -params "/GitAndUnixToolsOnPath /NoAutoCrlf"
choco install -y python3 -version 3.3.5
# install Windows port of git-repo
$gitRepoPath = "C:\tools\git-repo"
if (-not (Test-Path $gitRepoPath)) {
New-Item -Type d -Path $gitRepoPath
@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
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 / 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
@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: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 / 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 / Gemfile
Last active December 14, 2017 01:10
Instructions for running remote JMeter
source 'https://rubygems.org'
gem 'ruby-jmeter', github: 'lukeck/ruby-jmeter'