Skip to content

Instantly share code, notes, and snippets.

View joefitzgerald's full-sized avatar

Joe Fitzgerald joefitzgerald

View GitHub Profile
@joefitzgerald
joefitzgerald / crash.log
Created February 2, 2014 00:11
Packer Crash Log
2014/01/31 13:57:39 Packer Version: 0.5.1 eeefde8fc71444fdfc77711dc0e2789fa9b3b7d2
2014/01/31 13:57:39 Packer Target OS/Arch: darwin amd64
2014/01/31 13:57:39 Built with Go Version: go1.2
2014/01/31 13:57:39 Detected home directory from env var: /Users/jenkins
2014/01/31 13:57:39 Attempting to open config file: /Users/jenkins/.packerconfig
2014/01/31 13:57:39 File doesn't exist, but doesn't need to. Ignoring.
2014/01/31 13:57:39 Packer config: &{PluginMinPort:0 PluginMaxPort:0 Builders:map[amazon-ebs:packer-builder-amazon-ebs amazon-chroot:packer-builder-amazon-chroot digitalocean:packer-builder-digitalocean qemu:packer-builder-qemu virtualbox-iso:packer-builder-virtualbox-iso virtualbox-ovf:packer-builder-virtualbox-ovf vmware-vmx:packer-builder-vmware-vmx amazon-instance:packer-builder-amazon-instance docker:packer-builder-docker googlecompute:packer-builder-googlecompute openstack:packer-builder-openstack vmware-iso:packer-builder-vmware-iso] Commands:map[build:packer-command-build fix:packer-command-fix
@joefitzgerald
joefitzgerald / gist:67eeac2aeef293981a9c
Created July 12, 2014 14:48
Atom Install Error - Alpha 2
c:\projects\go-plus>cinst -debug atom -f
DEBUG: Running 'Append-InstallLog' with chocoInstallLog:''
DEBUG: Arguments: $command =
'install'|$packageNames='atom'|$source=''|$version=''|$allVersions=False|$InstallArguments=''|$overrideArguments=False|
$force=True|$prerelease=False|$localonly=False|$verbosity=False|$debug=True|$quiet=False|$name=''|$ignoreDependencies=F
alse|$forceX86=False|$packageParameters=''|PowerShellVersion=4.0
DEBUG: Running 'Chocolatey-Install' for 'atom' with source: '', version: '', installerArguments:''
DEBUG: Running 'Chocolatey-NuGet' for atom with source:''. Force? True
Chocolatey (v0.9.8.26-alpha2) is installing 'atom' and dependencies. By installing you accept the license for 'atom' and
each dependency you are installing.
c:\projects\go-plus>cinst -debug atom -f
20140712-08:17:07 [DEBUG] Running 'Append-InstallLog' with chocoInstallLog:''
20140712-08:17:07 [CHOCO] ################################################################################
20140712-08:17:07 [CHOCO] # Going Chocolatey on 2014-07-12 08:17:07Z #
20140712-08:17:07 [CHOCO] ################################################################################
20140712-08:17:07 [DEBUG] Arguments: $command = 'install'|$packageNames='atom'|$source=''|$version=''|$allVersions=False|$InstallArguments=''|$overrideArguments=False|$force=True|$prerelease=False|$localonly=False|$verbosity=False|$debug=True|$quiet=False|$name=''|$ignoreDependencies=False|$forceX86=False|$packageParameters=''|PowerShellVersion=4.0
20140712-08:17:07 [DEBUG] Running 'Chocolatey-Install' for 'atom' with source: '', version: '', installerArguments:''
20140712-08:17:07 [DEBUG] Running 'Chocolatey-NuGet' for atom with source:''. Force? True
20140712-08:17:07 [CHOCO]
@joefitzgerald
joefitzgerald / update-gopivotal-com-email-addresses.scpt
Created August 3, 2014 16:23
Update gopivotal.com Email Addresses
tell application "Contacts"
repeat with i from 1 to (count every person)
set theEmailAddresses to properties of emails of person i
repeat with j from 1 to (count of theEmailAddresses)
if value of item j of theEmailAddresses contains "@gopivotal.com" then
set oldAddress to value of item j of theEmailAddresses
set AppleScript's text item delimiters to {"@"}
set firstBit to first text item of oldAddress
set newAddress to firstBit & "@pivotal.io"
set value of item j of emails of person i to newAddress
go: missing Mercurial command. See http://golang.org/s/gogetcmd
package code.google.com/p/go.tools/cmd/goimports: exec: "hg": executable file not found in $PATH
@joefitzgerald
joefitzgerald / keybase.md
Created September 23, 2014 20:29
keybase.md

Keybase proof

I hereby claim:

  • I am joefitzgerald on github.
  • I am joefitzgerald (https://keybase.io/joefitzgerald) on keybase.
  • I have a public key whose fingerprint is 93DE 6FA9 397F 6F38 DE5F C14E 3FAE 73BF 9E8A 848C

To claim this, I am signing this object:

Welcome to Drift!

Drift is an always-already versioned, cloud-backed text editor. You can use it to take notes, and save them in the GitHub cloud.

Your gists are always saved locally, and any changes you make will get pushed to GitHub's servers.

To name a gist, touch its name in the toolbar.

You can use the share button at the top-right to copy a link to one of your gists, or view it on the web in Safari.

@joefitzgerald
joefitzgerald / gist:1419624
Created December 1, 2011 20:31
Empty Twilio Response
We couldn’t find that file to show.
@joefitzgerald
joefitzgerald / gist:1990762
Created March 7, 2012 03:36
fetchTemplate For Handlebars Templates
fetchTemplate: function(path, done) {
Handlebars.templates = Handlebars.templates || {};
// Should be an instant synchronous way of getting the template, if it
// exists in the JST object.
if (Handlebars.templates[path]) {
return done(Handlebars.templates[path]);
}
// Fetch it asynchronously if not available from JST
@joefitzgerald
joefitzgerald / gist:1990736
Created March 7, 2012 03:32
Handlebars JST Grunt Task
/*
* Grunt Task File
* ---------------
*
* Task: JST-HB
* Description: Compile handlebars templates to JST file.
* Dependencies: underscore@1.2.4
*
*/