Skip to content

Instantly share code, notes, and snippets.

View nicknisi's full-sized avatar

Nick Nisi nicknisi

View GitHub Profile
@nicknisi
nicknisi / backbone_super.js
Created August 8, 2012 12:39 — forked from maxbrunsfeld/backbone_super.js
A 'super' method for backbone.js (plain javascript)
// This method gives you an easier way of calling super
// when you're using Backbone in plain javascript.
// It lets you avoid writing the constructor's name multiple
// times. You still have to specify the name of the method.
//
// So instead of having to write:
//
// User = Backbone.Model.extend({
// save: function(attrs) {
// this.beforeSave(attrs);
@nicknisi
nicknisi / hack.sh
Created April 2, 2012 19:00 — 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
#