Categories
Other

Whoops, I superglued the superglue container to my finger.

Categories
Other

What is a ghost’s favorite numeric base? BOOlean!

Categories
Other

Just a Tree

Trying some inline processing.js.

Categories
Other

Make PostgreSQL default to UTF-8

From here :

UPDATE pg_database SET datistemplate=FALSE WHERE datname='template1';

DROP DATABASE template1;

CREATE DATABASE template1 WITH owner=postgres template=template0 encoding='UTF8';

UPDATE pg_database SET datistemplate=TRUE WHERE datname='template1';

Categories
Other

Gardians of the Galaxy was great.

Categories
Other

I placed an iPhone screen down on my Nexus 4. The Nexus got confused, took a picture, then rebooted to contemplate what had just happened.

Categories
Other
Categories
Other

Fastest route to Postgres and Python with psycopg2 on OSX.

Download Postgres.app from postgresapp.com. Unzip into /Applications, then run it.

To get psycopg2 to then install do:

PATH=$PATH:/Applications/Postgres.app/Contents//Versions/9.3/bin/ pip install psycopg2

Tada! Your done and without having had to use fink or brew.

Categories
Other

David loved the ferris wheel.

David loved the ferris wheel.
Categories
Other

JSON Pretty Printer in Go