Skip to content

Instantly share code, notes, and snippets.

View fab's full-sized avatar

Fab Mackojc fab

  • Melbourne, Australia
View GitHub Profile
@fab
fab / .gitconfig
Created October 15, 2013 18:53
git ll "Long" Logs - renders the log with high signal and low noise. To use this command add the following to ~/.gitconfig
[alias]
ll = log \
--graph \
--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an - %cr)' \
--date=relative
@fab
fab / zoo.js
Last active December 16, 2015 22:19 — forked from dbc-challenges/zoo.js
//------------------------------------------------------------------------------------------------------------------
// YOUR CODE: Create your Zoo "object literal" and Animal "constructor" and "prototypes" here.
//------------------------------------------------------------------------------------------------------------------
function Animal(name, legs) {
this.name = name;
this.legs = legs;
}
Animal.prototype.identify = function() {