Drupal 7 minor version upgrade

Steps for upgrading 7.x version of Drupal to any later 7.x version

Preupgrade steps

  1. Make a full backup of all files, directories, and your database(s) before starting, and save it outside your Drupal installation directory. Instructions may be found at http://drupal.org/upgrade/backing-up-the-db
  2. It is wise to try an update or upgrade on a test copy of your site before applying it to your live site. Even minor updates can cause your site's behavior to change.

Personal outsourcing!

A security check on a US company has reportedly revealed one of its staff was outsourcing his work to China.
The software developer, in his 40s, is thought to have spent his workdays surfing the web, watching cat videos on YouTube and browsing Reddit and eBay.

Useful linux localization related commands

Below you can find some linux localization related commands

Set local timezone

dpkg-reconfigure tzdata


Restart all deamons (or reboot)
Check: /etc/timezone


Display all localization settings, eg: locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=


Step-by-step installation of Lubuntu 12.04 on a new SSD/hard disk

How-to and troubleshooting installation of Lubuntu from USB

For some reason I cannot understand, when installing Lubuntu from a USB on a brand new unformatted disk, either SSD or normal hard disk, the boot loader (grub2) will be installed on USB instead of the hard disk/SSD. Of course this is a problem, since you will always have to plug-in the same USB in order to boot your system!

Hack: Automatically lock topics in Kunena

Sometimes you may want specific categories to have their topics automatically locked on first post.

Use cases include forum categories for classified ads. So the required behavior here would be to automatically lock a new "for sale" type topic, since for some reasons, e.g. forum rules and terms, you as the forum administrator, do not want replies to be public, but you require that the communication should only be done using personal messages.