May 2013
3 posts
3 tags
University of Life →
Definitely going to major in Starcraft II Strategy 
May 24th
2 tags
open file with file with default app, linux.
ln -s /usr/bin/xdg-open /usr/local/bin/open source ~/.zshrc open index.html will open index.html in your default browser source: http://stackoverflow.com/questions/264395/linux-equivalent-of-the-mac-os-x-open-command
May 24th
4 tags
terminal in my emacs
I’ve recently switched from using terminator as my go-to terminal app, to running a terminal inside an Emacs buffer.  This is what I did to get and in the exceed my previous workflow. First off Emacs has a couple choices when it comes to terminal emulators. Others have gone into greater detail about the pros and cons of the various options. In the end I chose ansi-term because it can run...
May 20th
April 2013
1 post
starwars + github →
a long time ago in a galaxy far, far away…
Apr 13th
March 2013
1 post
3 tags
Badass kindleberry →
Really need to put my kindle and raspberry pi to better use.
Mar 25th
January 2013
2 posts
2 tags
Take a screenshot with Poltergeist
page.driver.render("#{File.dirname(__FILE__)}/poltergeist_screenshot_#{rand(100)}.png", :full => true)
Jan 25th
2 tags
R.I.P. Aaron Swartz →
Jan 12th
December 2012
8 posts
Dec 15th
288 notes
Dec 15th
1,112 notes
2 tags
Everyone is running a business, including you. →
If you need to make money for any reason whatsoever - food, housing, fun, whatever - you’re in business. Being employed is simply a lower-risk lower-return business that utilizes just one individual - you.
Dec 15th
3 tags
WatchWatch
Dec 14th
1 note
5 tags
Configure CouchDB with nginx, basic_auth and SSL...
Here my notes from configuring CouchDB to face the big wide web. First the version off, version of CouchDB in the Ubuntu repos was quite out of date so I decided it was best to compile from source, which is pretty straight forward. I followed the instructions from CouchDB, The Definitive Guide. but the guide in the wiki is just as good and contains some vital troubleshooting tips. First off...
Dec 9th
Dec 9th
“If people never did silly things nothing intelligent would ever get done.”
– Ludwig Wittgenstein (via philosophy-quotes)
Dec 9th
98 notes
1 tag
“Hmm, that’s a hard question. I guess that the best answer is that by the time...”
– Andre Lamothe, Quote (in answer to how he motivates himself
Dec 9th
November 2012
1 post
2 tags
“Most artists and designers I know would rather work all night than turn in a...”
– Linds Redding, A Short Lesson in Perspective
Nov 6th
October 2012
10 posts
4 tags
pbcopy alias for ubuntu →
The perfect setup for coping from the command line to the clipboard
Oct 30th
Oct 28th
479 notes
4 tags
Make your own duck duck go plugins →
Oct 28th
1 note
“Even if you were about to live three thousand years or thrice ten thousand,...”
– Marcus Aurelius - Meditations - Book 2
Oct 22nd
3 tags
Swap Caps-lock and ctrl
To swap the keys go: Ubuntu → Startup Applications Click Add in the top right Now on the Add Application screen Name: Control and CapsLk swap Description: Swap the two keys Command: /usr/bin/setxkbmap -option “ctrl:swapcaps”
Oct 19th
3 tags
Undervalued books →
“I’m not necessarily talking about obscure books/authors here. I’m talking about the ratio of how good the book is to how good you expect it to be. These are the outliers, the ones that most people don’t talk about very much or haven’t heard of, and yet turn out to be profoundly brilliant.”
Oct 14th
Oct 11th
109 notes
browserver.js, a http server in your browser. →
This is a bit crazy.
Oct 11th
2 tags
Oct 10th
1 tag
programmer competency matrix →
Oct 9th
September 2012
2 posts
5 tags
Sep 14th
3 notes
1 tag
Sep 7th
August 2012
8 posts
3 tags
The Ghost in 80's Mac →
I love it when there hidden puzzles
Aug 22nd
4 tags
How to deploy wkhtmltopdf into production →
Aug 18th
3 tags
How to return multiple values from a method in...
The following is easy stuff but we tend to forget about it… probably because most of us are not used to this kind of behavior from a programming language. Ruby gives the illusion that you can return more than one element from a method. This is how you do it : def a_method_to_insult_innocent_people error = compute_error if error == :stupid return false, "You made a stupid error" ...
Aug 12th
2 tags
How Big Data Became So Big →
Aug 12th
Aug 10th
76 notes
Aug 2nd
5,896 notes
Aug 2nd
17,264 notes
6 tags
Connecting to SQL-Azure using FreeTDS
I’ve spent the last couple of days trying to connect SQL-Azure on Ubuntu 12.04 using FreeTDS, 90% of my pain has come from the goddam office firewall and it is actually quite a simple task. I’ve compiled FreeTDS with libiconv and openssl so we can use it with the  awesome tiny_tds gem. Install sudo wget ftp://ftp.astron.com/pub/freetds/stable/freetds-stable.tgz sudo tar -xvf...
Aug 1st
July 2012
4 posts
3 tags
Jul 14th
60,102 notes
3 tags
Github - The most important social network →
“TL;DR: GitHub is the largest public repository of the everyday experience of work. Ever. If you’re a scholar or journalist interested in collaboration, this is perhaps the most important archive you will find regarding what actually happens as people work together.”
Jul 14th
4 tags
How to configure your raspberry pi for headless...
This is part one of a two part series. I recently got my Raspberry Pi and it is awesome. I haven’t felt this way since I was about seven and got the lego airport set for Christmas. My first project has been to turn it into a torrent server that I can just leave on and forget about. This project to me living in South Africa I can only run my downloads on overnight and it feels like a giant...
Jul 6th
2 notes
Jul 1st
15 notes
June 2012
18 posts
1 tag
Jun 23rd
3 notes
3 tags
CSS3 rounded corners snippet →
Code snippet for rounded corners with CSS3
Jun 14th
4 tags
How to deploy a static website on heroku for free!
Heroku is awesome! So awesome that they give away one free dyno per application you host on Heroku. This is great, one dyno is more than enough to easily host a simple static site. I’ve put a complete example on github with instructions on how to deploy. The rest of this post goes into more details on what and how I did it. Feel free to skip my musings and go straight to the business. ...
Jun 14th
Jun 13th
2 notes
Jun 13th
14 notes
Jun 13th
11 notes
Jun 13th
14 notes
“Live simply so that others may simply live.”
–  Mahatma Gandhi
Jun 13th
4 notes
6 tags
Problem with bundle and sqlite3 on #!
A common ill when running rails for the first time is that the sqlite3 gem won’t install, this is generally has to do with the sqlite gem being a “C gem” not a “ruby gem” and hence needing all sorts of build enviroment tools. The solution is fairly simple, you just need to install the ruby-dev and libsqlite3-dev packages. The problem is that #! has dependency issues...
Jun 12th
1 note
2 tags
Jun 11th
1 note