Skip to content

Instantly share code, notes, and snippets.

Avatar

Warner Godfrey warnergodfrey

  • warner@warnergodfrey.com
View GitHub Profile
View keybase.md

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:

View boxstarter.ps1
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 Aug 29, 2015
SEEK Development Authoring Environment
View boxstarter.ps1
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
View 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
View boxstarter.ps1
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
View gist:5c1a43fe68c5aef13049
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 Aug 29, 2015
Installing Chocolatey from behind a proxy
View INSTALL.md

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 Aug 29, 2015
Powershell Cmdlet that takes params or a config file with name value pairs
View gist:6235a89470c86477daac
function foo {
param (
[parameter(Mandatory=$true,ParameterSetName = "config")]
[String]$Configuration,
[parameter(Mandatory=$true,ParameterSetName = "param")]
[String]$Name,
[parameter(Mandatory=$true,ParameterSetName = "param")]
[String]$Email
View gist:dfc97fe353f5f5d5ed27
$DefaultParameters = Invoke-Expression ($(Get-Content (Join-Path $PSScriptRoot "StackDriver.psd1")) -Join "`n")
@warnergodfrey
warnergodfrey / Gemfile
Last active Dec 14, 2017
Instructions for running remote JMeter
View Gemfile
source 'https://rubygems.org'
gem 'ruby-jmeter', github: 'lukeck/ruby-jmeter'