January 2010
17 posts
if I had an iPad rather than a real computer as a kid, I’d never be a programmer...
– Alex Payne — On the iPad
2 tags
tip: python
use matplotlib.use(“agg”) to force a non-gui backend, useful for (cgi) scripts on headless machines http://bit.ly/cQ4qiQ
2 tags
tip: macosx
command-click and drag to remove a menu bar item, e.g. eject button on upper right
The world lacks people who can turn academic concepts into working code....
– Twitter / Toby Segaran: The world lacks people who …
Most software has a tiny essence that justifies its existence, everything after...
– You can always do less - (37signals)
2 tags
tip: macosx
use pbpaste/pbcopy to paste to or copy from the clipboard from the command line http://bit.ly/6HrXA8
2 tags
tip: rstats
use paste(v, collapse=” “) to join a vector to a string http://bit.ly/81mI7i
2 tags
tip: rstats
use eval(parse(text=”…”)) to evaluated a string expression http://bit.ly/5yJ2Hz
2 tags
tip: macosx
email aliases are easy to use in mail.app — just comma separated list http://bit.ly/V6QkS
2 tags
tip: macosx
use cupsfilter to print documents to pdfs from the command line, cupsfilter foo.txt > foo.pdf http://bit.ly/6i4wTC
2 tags
tip: shell
many cheat sheets for bash, sed, awk, screen, etc. at http://bit.ly/zIZ18