Skip to content

Instantly share code, notes, and snippets.

mlb5000 / tffittingrooms.user.js
Last active Aug 29, 2015
TF Fitting Room User Script
View tffittingrooms.user.js
// ==UserScript==
// @name Tailored Fit Fitting Rooms
// @namespace
// @version 0.8
// @description Schedule a fitting room to be prepared at your favorite stores!
// @match https://*
// @match http://*
// @match
// @match
// @match*
mlb5000 / gist:8327824
Created Jan 9, 2014
Mixpanel EmberJS Integration
View gist:8327824
//detect changes to the Hash URL
$(window).on('hashchange', function(){
mixpanel.track("pageview", {"url": window.location.href });
initialize: function(container, application) {
//track the initial page load's location (the user's entry route)
mixpanel.track("pageview", {"url": window.location.href });
mlb5000 / gist:7799126
Created Dec 5, 2013
Heroku deploy failure
View gist:7799126
-----> Fetching custom git buildpack... done
-----> Go app detected
-----> Installing go1.2... done
-----> Running: godep go install -tags heroku ./...
Db.go:10:5: cannot find package "" in any of:
/app/tmp/cache/go1.2/go/src/pkg/ (from $GOROOT)
/tmp/build_f743effe-0b2b-447f-9872-441080b32a59/.heroku/g/src/ (from $GOPATH)
main.go:5:2: cannot find package "" in any of:
/app/tmp/cache/go1.2/go/src/pkg/ (from $GOROOT)
mlb5000 / gist:6173892
Created Aug 7, 2013
CSS to allocate space for jQuery Validate error messages
View gist:6173892
.field-validation-valid {
display: inline-block;
mlb5000 / user-extensions.js
Created Dec 15, 2012
Selenium user extension to deal with Internet Explorer compatibility issues
View user-extensions.js
//Add this to your Selenium user-extensions.js file
Selenium.prototype.doHyperFocus = function(locator) {
Selenium.prototype.doCompatibleClick = function(locator) {
You can’t perform that action at this time.