Skip to content

Instantly share code, notes, and snippets.


Drew Miller xer0x

View GitHub Profile
xer0x /
Created Apr 23, 2012 — forked from erikh/
OSX For Hackers
#!/usr/bin/env sh
# This is script with usefull tips taken from:
# install it:
# curl -sL | sh
xer0x / build.js
Created Feb 9, 2012 — forked from jrburke/build.js
Doing multiple almond builds with a nodejs script, example
View build.js
//Download jquery.js and place it in the build, do not use require-jquery.js
//in the build, since each of the build layers just needs almond and not the
//full require.js file.
//This file is run in nodejs to do the build: node build.js
//Load the requirejs optimizer
var requirejs = require('./r.js');
//Set up basic config, include config that is
//common to all the requirejs.optimize() calls.
View fake.txt
Okay, nobody ever actually said that Tweet.
But, Tux is a great penguin.
xer0x / olark.js
Created Oct 26, 2011
olark javascript
View olark.js
// Original snippet
function inspectObject(object) {
for (key in object) {
console.log("the attribute " + key + " is equal to " + object[key]);
var widget = new Widget();
You can’t perform that action at this time.