CodeIgniter 1.7

Aside

I`ve decided to go with CodeIgniter as PHP Model-View-Controller framework.
To learn the basics of this open source framework I`ve chosen for the CodeIgniter 1.7 book by Packt Publishing.

The book describes how to start with CodeIgniter beginning with the installation. The first steps followed by connecting databases, creating HTML pages and forms, using sessions and add security etcetera. The final chapters include more advanced features like dynamic information and uploads.

My review of this book will be online somewhere in january.

A sample chapter, which describes the basics of MVC and CodeIngiter can be found here.

More information about the book and and a link to buy it can be found here.

Outlook 2007 backup emails

Aside

This guide shows you how to make a proper Outlook 2007 email archive backup.

  1. Close Outlook and wait 10 seconds
  2. Run: C:\Program Files\Microsoft Office\Office12\scanpst.exe
  3. Open the file in  “C:\Users\<username>\AppData\Local\Microsoft\Outlook”
  4. In case you have multiple files in the directory do step 2 and 3 several times
  5. Copy the files from “C:\Users\<username>\AppData\Local\Microsoft\Outlook” to the backup location

To open the backups, just open the .pst files you copied earlier.

Outlook 2007 backup email accounts

Aside

This guide describes how to back up your Microsoft Outlook 2007 email accounts (excluding your emails).

  1. Start > Run > regedit
  2. Locate the following path in your Registry Editor
    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook
  3. Right click the Outlook directory in the left menu en choose Export
  4. Choose the directory where you want to save the data and choose an appropriate filename
  5. Press save and your done

Importing is as sample as 2 clicks!

  1. Open the registry file you saved earlier
  2. Press to accept the registry patch

Gallery2 performance boost

Aside

I had to convert a Gallery v1.5 photoalbum containing over 250 sub-albums and over 10.000 photo`s to Gallery 2.

While converting I noticed several thing`s weren`t going according to plan.

I added the following lines to the .htaccess file to make things run smooth;

php_value max_execution_time 0
php_value post_max_size 32M
php_value upload_max_filesize 32M
php_value memory_limit 64M

Within Gallery 2 changes the following settings:

  • Graphics Toolkits: GD
  • Performance: Max Acceleration

I also disabled thumbnail generating at import; I will do it at the end when everything is converted.

Linux Kernel 2.6.32 installation guide for Ubuntu Linux

Aside

The Ubuntu kernel guys have released an official build of the 2.6.32 Linux Kernel.
The .deb files should work with both Ubuntu and distributions based on Ubuntu.

The included kernel files have been compiled using the generic ubuntu configuration.
Note: nVIDIA ForceWare drivers are automatically installed using DKMS (which is included in Ubuntu 8.10 and higher including 9.04 and 9.10)

The required files can be found at http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32/

Installation Guide

  1. Download linux-headers-2.6.32-020632_2.6.32-020632_all.deb
  2. Download your kernel headers package;
    I386:  linux-headers-2.6.32-020632-generic_2.6.32-020632_i386.deb
    AMD64: linux-headers-2.6.32-020632-generic_2.6.32-020632_amd64.deb
  3. Download your kernel compile;
    I386:  linux-image-2.6.32-020632-generic_2.6.32-020632_i386.deb
    AMD64: linux-image-2.6.32-020632-generic_2.6.32-020632_amd64.deb
  4. Install the files in the following order:
    1. linux-headers-2.6.32-020632_2.6.32-020632_all.deb
    2. I386:  linux-headers-2.6.32-020632-generic_2.6.32-020632_i386.deb or AMD64: linux-headers-2.6.32-020632-generic_2.6.32-020632_amd64.deb
    3. I386: linux-image-2.6.32-020632-generic_2.6.32-020632_i386.deb or AMD64: linux-image-2.6.32-020632-generic_2.6.32-020632_amd64.deb
  5. In the terminal run:
    sudo update-grub
  6. Reboot and select the kernel from the bootloader menu

For those who want to do their “own” compiles, the source is available here.