cannot open shared object file – Ubuntu 14.04

Using the latest version of Ubuntu Server 14.04 I ran into this error when using a standard APT install of Apache with ITK: apache2: Syntax error on line 36 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/itk.load: Cannot load /usr/lib/apache2/modules/ into server: /usr/lib/apache2/modules/ cannot open shared object file: No such file or directory The

Free UK Postcode Database – Towns & Counties

Free UK Postcode Database that includes town, county, longitude, latitude, x and y. Based on the ezpy UK postcode data file it includes 2822 postcodes. It’s completely free and available in .csv, .sql and .ods file formats.

MODx Manager Preview Logouts and Varnish

Logging out issues with the MODx Manager due to Varnish caching and cookie conflict.

Symlink MySQL Database in Linux (Ubuntu w/ AppArmor)

MySQL Database on external drive in Linux. SymLinking and updating AppArmor.

Using the SEOmoz API in Python – Newer Example

I noticed that the Python example on is outdated and uses deprecated and removed modules. Here is an updated example using Python 2.6.5.

Magento – Resizing Category Images PHP

How to resize category images in Magento E-Commerce.

Finding Missing Fonts in GIMP (XCF)

How to find a missing font in a GIMP XCF file.

FTP Sync with Linux

An introduction to syncing remote FTP servers using LFTP – Sophisticated file transfer program in Linux.

Gnome 3 YouTube Search Provider

Add a YouTube search button to the Gnome 3 search providers list.

Repair / Restore GRUB 2 with Ubuntu (10.04+) Live CD

Repairing / Re-installing GRUB 2 to a partition using the Ubuntu Live CD (10.04+).

Failed to Import Current Network Settings Into Target System – Arch

“Failed to Import Current Network Settings Into Target System” with a net install of Arch Linux means some packages have failed to download.

PyGTK Tutorial – Advanced functionality of EggTrayIcon

Advanced functionality of EggTrayIcon in Python.

Update ProFTPD MySQL Quota Tally – Python

A Python script that updates users disk usage tally for the ProFTPD quota module (when using MySQL for FTP virtual users).

Refresh / Clear MODx (Revolution) Cache from PHP Script

Refresh / Clear the MODx Revolution cache outside of MODx with PHP.

How to Disable and Change Cron Job Email Alerts

How to disable and change crontab email alerts sent after a cron job is completed on Linux.

PHP: Using constants in Heredoc

Using constants inside heredoc blocks does not work…

Escaping SQLite queries in Python

How to escape SQLite queries in Python correctly using the SQLite API (and not formatted strings).

FreeDNS Python IP Updater for Linux

A Python script for automatically updating to the latest IP address for the free Dynamic DNS service.

How to Boot live CD ISO with GRUB2 (Ubuntu)

How to edit the GRUB configuration to boot Live CD Linux Distribution ISO files on your hard drive. It’s easy (no need for CDs or USB sticks) and very fast on decent hard drives.

How to Remove User Names from Ubuntu (9.10+) GDM Login Screen

How to disable the list of users shown at the Ubuntu GDM Login screen for 9.10 and over. This ensures that user names can’t be seen at startup and has to be manually entered before logging in.

Python Wait Function – Alternative to Sleep for GTK

A quick “wait” function that replaces the “sleep” function. It runs through a loop for the specified amount of time doing nothing. This stops hanging and unresponsive interfaces for things such as GTK.

PyGTK Destroys window On Close – Solution

When a window is closed in GTK the window gets destroyed. Here is a quick reason why followed by a snippet to stop reusable windows getting greyed out and destroyed in PyGTK.

Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/pg_ctlcluster

A quick post on fixing PostgreSQL 8.4 throwing “Insecure directory in $ENV{PATH} while running with -T switch” when running aptitude on Ubuntu Server 10.04.

Cross Browser Testing on Linux

As a Linux user browsing the web you probably have respect and understanding for the importance of both cross-browser and cross-platform compatibility. This is a look at native and Wine Linux support for the major browsers out there and how to test with them.

Installing Internet Explorer 6 (IE6) on Linux (Ubuntu)

If you’re in the unfortunate scenario where you have to support IE6 then here’s a quick guide to installing Internet Explorer 6 on wine for Linux using winetricks (and not IEs4Linux).