Skip to content

Instantly share code, notes, and snippets.

View Ecarrion's full-sized avatar

Ernesto Carrión Ecarrion

View GitHub Profile
@Ecarrion
Ecarrion / gist:a59e894d59a80bb55f53
Created November 6, 2014 18:49
This is why we can't have nice things...
_selectedIndexPath = [(UITableView *)senderButton.superview.superview.superview.superview.superview indexPathForCell:(UITableViewCell *)senderButton.superview.superview.superview];
@Ecarrion
Ecarrion / bashrc
Created May 10, 2011 01:55
Colour your terminal on OSX
// Add this to your /etc/bashrc
export TERM=xterm-color
export CLICOLOR=1
export LSCOLORS=cxfxexexDxexexDxDxcxcx