Skip to content

Instantly share code, notes, and snippets.

View jeremygpeterson's full-sized avatar

Jeremy Peterson jeremygpeterson

View GitHub Profile
@jeremygpeterson
jeremygpeterson / # postgresql - 2015-03-31_14-05-53.txt
Created March 21, 2017 19:07
postgresql on macOS 10.12.3 - Homebrew build logs
Homebrew build logs for postgresql on macOS 10.12.3
Build date: 2015-03-31 14:05:53
@jeremygpeterson
jeremygpeterson / spec-helper.js
Created November 5, 2011 19:15
Simplify testing Backbone.js with Jasmine
// Global storing the Window's HREF and Title
var LocationHREF = window.location.href,
DocumentTitle = document.title;
afterEach(function () {
// Restore State back, only when needed
if (window.location.href != LocationHREF) {
window.history.pushState({}, DocumentTitle, LocationHREF);
}
});