Django TinyMCE

Sunday, 17th August, 2008

A long time ago, when Adrian was still finalizing the forms API for Django i wrote a quick introduction on how to integrate TinyMCE into the forms API as a custom widget. That was a long time ago (2 years) but the wiki page still the exist but the code there has become a little stale as the forms API has evolved significantly since then (and so has my programming).

Yesterday I received an email from Joost Cassee saying that he had 'extended' my introductory widget and also added some other cool features. It is available from Google Project Hosting. What is really cool is that he has integrated the pyenchant spell checking library (for those stuck with a browser that doesn't have integrated spell checking support).

I much appreciate Joost contacting me and crediting me in the project documentation.

MacOS X Time Machine NAS setup

Saturday, 16th August, 2008

Care of my one of my co workers James Murty;

Tell Time Machine to see network shares as backup destinations by running the following command in the terminal:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Lookup and save your machine's settings (in the terminal)

HOST= `hostname -s `

MAC= `ifconfig en0 | sed -n -e "s/.*ether \(.*\)/\1/p" | tr -d : `

Decide how much backup space you will need in total (eg 100G, 200G) and run the following command in the terminal, replacing the 100G argument with the size you want

hdiutil create -size 100G -fs HFS+J -type SPARSEBUNDLE -volname "Backup" ~/Desktop/$HOST_$MAC.sparsebundle

Browse to the server in the Finder

In the Finder, copy the new file on your Desktop (it will be a sparse image named after your computer) to the backup volume you just opened.

Open Time Machine in system preferences, select "Change disk..." and choose the backup location you just copied the sparsebundle too. Click "Backup Now" from the menu in the menu bar.

Django 1.0 beta

Friday, 15th August, 2008

The Django Project has released, the first beta of the upcoming version 1.0 release of Django Project.

This signals the beginning of feature freeze for version 1.0, with the core developers focussing on stablizing Django for an excellent version 1.0.

First Post

Sunday, 10th August, 2008

A real post to come soon.