Archive for January, 2009

CodeIgniter’s Form Helper doesn’t respect POST arrays

I’ve been working on my first ‘proper’ CodeIgniter project this week. It’s been quite gruelling, as there are some moments where I have definitely sped up my production. But it’s constantly getting hampered by the learning curve. It may be slight, but is frustrating when I hit a wall.
One issue that just cam up is [...]

Read the rest of this entry »

PHP Toggle Variable

A neat trick I use in PHP is a toggle variable, usually when I’m creating tables and want to alternate the styles.
To use a toggle variable:
#Create the variable
$toggle=true;
#Switch it
$toggle=(!$toggle);
Simple!

Read the rest of this entry »

TrueCrypt Autorun Script for USB

You can easily create an Autorun file on a USB pen drive to mount and dismount the encrypted file systems. This is very useful for carry portable TrueCrypt USB drives.
The only downside is that using TrueCrypt on the move means that you need administrator rights to access the disk.
Once you plug in the USB stick, [...]

Read the rest of this entry »

Disney Celebrate my Birthday!

Finally, I have the recognition I so dearly deserve…

Read the rest of this entry »

Access VirtualBox SSH and Web Server

One of the thing that differs VirtualBox from Microsoft’s Virtual PC is that VB puts guest on a subnet of the computer that you are working on. This means that it cannot be directly accessed from other computers on your network.
To enable access, you need to configure your computer to allow ports to be forwarded [...]

Read the rest of this entry »

Installing Ubuntu 8.04 server on VirtualBox

I had a little trouble running Ubuntu server on VirtualBox today.
Thankfully the answer was easily found at Installing Ubuntu 8.04 server on VirtualBox « {S.A.Z.W.Q.A}.
All you need to do to get Ubuntu server firing up is to open the settings screen for your virtual machine, and then tick the Enable PAE/NX box.
Click OK and fire [...]

Read the rest of this entry »