Django Forms and Bootstrap

November 15, 2015

I wanted to render a Django form in such a way that it would render nicely in bootstrap.

The following code will render a django form (in this case EntryForm) as nice bootstrap styled html

<form action="." method="post" enctype="multipart/form-data" class="form-horizontal">
        {% for field in EntryForm ...

Clearing up LVM disk

October 31, 2015

I wanted to reuse a disk that had previously been used as an LVM volume. fdisk didn't seem to like it.

To clear it up, I needed to do the following:

# apt-get install lvm2
# pvremove /dev/sdb5
# pvremove /dev/sdb5 --force --force

Tags: lvm

Lightroom and Super Colour IR

September 8, 2015

I've had a Nikon V1 converted with a 590nm Super Colour IR filter. The rest of this post deals with how to best configure Lightroom to deal with RAW files from this.

By default, RAW files from this camera in Lightroom are set at a white balance of 2000 ...

Debian IRC Server

September 2, 2015

I wanted to set up an IRC server on my Debian box so that I can have the build process report its progress in a chatroom in real time.

Install Server

I chose to use inspircd. This can be installed using

# apt-get install inspircd


Edit /etc/inspircd/inspircd.conf ...

TOGAF 9.1 Foundation & Certified

August 19, 2015

Today I did my exam for the combined TOGAF 9.1 Foundation and Certified course. This is the first time in about 20 years that I've done an exam, so I wasn't sure what to expect, either of the experience or of myself.

There were lots of details ...

Tags: togaf exam