Author Archives: jdboyd

Posted in Other | Comments Off on

Proxmox on DigitalOcean

I thought I’d try to install Proxmox 4 on DigitalOcean. How I struck on that idea was very convoluted, and I don’t have a specific purpose for doing so, but if you want LXC containers instead of Docker or rkt, … Continue reading

Posted in System Administration | Comments Off on Proxmox on DigitalOcean

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

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

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

How to convert audio format in a video file: ffmpeg -i input.mkv -vcodec copy -acodec ac3 -ab 448k output.mkv

Posted on by jdboyd | Comments Off on