July 2008
36 posts
Setting up Postgis on Ubuntu →
Setting up PostGIS on Ubuntu Another reason I love Ubuntu - getting postgis + postgresql is really easy…
sudo apt-get install postgis postgresql-8.3-postgis sudo su - postgres createuser -s -d -r -l -P -E -e timlinux exit
Enter prompts following above commands as needed. Now you have postgres installed and a user created. Next create an empty spatial database:
createdb qgis createlang...
Setting up Vim omnicomplete with Qt4, QGIS
Qt4 and QGIS Vim Omnicomplete (adapted from this page and this page) I’m assuming ubuntu is in use here… Create a ~/.ctags
--c++-kinds=+p
--fields=+iaS
--extra=+q
Next create a ctags file for Qt4 (rerun if you upgrade Qt)
ctags -f ~/.vim/qt4tags -R /usr/include/qt4/
Alternatively you can inline the ctags options (instead of using a .ctags file) like this:
ctags -f...
Openmoko application development in 5 minutes →
How Kde implemented their QItemDelegate for plugin lists etc
– View of /trunk/KDE/kdelibs/kutils/kpluginselector.cpp
1 tag
Online with MC950D 3G modem on ubuntu hardy
I bought a MC950D 3G modem. It doesnt work out the box with ubuntu hardy - you need to create a wvdial configuration for it. After a lot of googling and assimilating various scripts, here is how I got it to work under Vodafone South Africa.
Edit you wvdial.conf to look like this:
[Dialer Defaults]
Phone = *99***1# Modem = /dev/ttyUSB0 Username = '' Password = '' Dial Command = ATDT Stupid...
Eject a CD / DVD from a macbook that wont boot
Ok this one had me flummoxed. My MacBook has been giving me trouble the last few weeks and today it really, really died :-( I tried putting in an ubuntu CD and running from that (you can only hope) but it didnt work and worse the CD was unejectable!
Eventually I discovered that pressing and holding the mouse button while booting and simultaneously hitting the eject key several times did the...
Joomla 1.5.3 to 1.5.4 security and bugfix announcement today. Download from
http://joomlacode.org/gf/project/joomla/frs/?action=FrsReleaseBrowse&frs_package_id=3786
The Biggest Wave Ever Surfed (& caught on video) →
Youtube comments seem to dispute whether this is at Peahi off of Maui (aka “Jaws”) or Cortez Bank, west of San Diego CA. Anybody know for sure? Either way…Holy Freaking Shit!
CakePHP Filtering your tables →
Amidst various hardware issues, restoring and cleaning up backups etc, I finally got round to trying to get rid of the thousands of duplicate images I seem to have accumulated on my hard drive.
Before I started:
du -sh Pictures/
9.4G Pictures/
Then I ran de deduplicator python script from...
Nokia Blog » Connect to gprs internet using... →
vdiskmanager GUI →
Handy little GUI to resize vmware partitions
10 Security Software Tools for Linux →
Nothing really new here but a nice summary…
SystemImager is a Linux aplication (client /server) to snapshot system images and restore them again using etherboot.
http://wiki.systemimager.org