Skip to content

Instantly share code, notes, and snippets.

View nicknisi's full-sized avatar

Nick Nisi nicknisi

View GitHub Profile
@nicknisi
nicknisi / gist:2771527
Created May 22, 2012 20:46
dojo dgrid pass row data in to an editor cell
var col = {
row : null,
editor : StatusSelector,
get : function (obj) { col.row = obj; return obj.status; },
editorArgs : function (column) { return column.row.otherValue; },
...
};
new Grid({
columns : [
@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
#