Skip to content

Instantly share code, notes, and snippets.

View erikdaniel's full-sized avatar

Erik Daniel erikdaniel

View GitHub Profile
@erikdaniel
erikdaniel / README.md
Created March 6, 2014 18:51 — forked from gmarik/README.md
Minimal example using PhantomJS with QUnit.

About

minimal example of using [phantomjs] with [qunit]

$ phantomjs run-qunit.js file://`pwd`/test.html
'waitFor()' finished in 200ms.
Tests completed in 21 milliseconds.
5 tests of 5 passed, 0 failed.

Installation

@erikdaniel
erikdaniel / hack.sh
Created March 31, 2012 11:20 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
/*!
* jQuery Tiny Pub/Sub - v0.6 - 1/10/2011
* http://benalman.com/
*
* Copyright (c) 2010 "Cowboy" Ben Alman
* Dual licensed under the MIT and GPL licenses.
* http://benalman.com/about/license/
*/
(function($){