Skip to content

Instantly share code, notes, and snippets.


Vinicius Baggio Fuentes vinibaggio

View GitHub Profile
View an_intro.textile

If one was inclined to use the acts_as_yaffle pattern, they would probably use the second one, rather than the heavily cargo-culted first one.

zaius /
Created Jan 16, 2011
How to redirect a running process output to a file and log out
touch /tmp/stdout
touch /tmp/stderr
gdb -p $!
# In GDB
p dup2(open("/tmp/stdout", 1), 1)
p dup2(open("/tmp/stderr", 1), 2)
erikh /
Created Mar 31, 2012 — forked from DAddYE/
OSX For Hackers
#!/usr/bin/env sh
# This is script with usefull tips taken from:
# install it:
# curl -sL | sh