Author Archives: jdboyd

Just a Tree

Trying some inline processing.js.

Posted in Other | Comments Off on Just a Tree

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′;

Posted in Other | Comments Off on Make PostgreSQL default to UTF-8

Gardians of the Galaxy was great.

Posted on by jdboyd | Comments Off on

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.

Posted on by jdboyd | Comments Off on

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.

Posted in Other | Comments Off on Fastest route to Postgres and Python with psycopg2 on OSX.

JSON Pretty Printer in Go

Posted in Other | Comments Off on JSON Pretty Printer in Go

A quick trial at creating color fields (and then sticking textured stuff on top).

Posted on by jdboyd | Comments Off on

python-lzo

I realized that when searching for python and lzo, my github page is the first link. I’ve also noticed that people keep forking my github version and that there is no PyPI entry for python-lzo. So, I decided it is … Continue reading

Posted in Programming | Comments Off on python-lzo

New experience:  a hard pretzel so fresh that the insides are still soft.  Yum.

Posted on by jdboyd | Comments Off on

How to fix BIND’s journal out of sync error

This is a note for my future reference. Example error: zone example.com/IN: journal rollforward failed: journal out of sync with zone zone example.com/IN: not loaded due to errors. While named isn’t running, remove the .jnl file for the example.com zone. … Continue reading

Posted in Other | Comments Off on How to fix BIND’s journal out of sync error