Archive for the ‘Technology’ Category

7 seconds of leg-blowing action

Well, I finally beat my 8-second record before. I’m sure that I haven’t bested 7 seconds in Minesweeper before – so here we are:
Evidence of a good score! Wahay!

Read the rest of this entry »

Google Down! World Stops!

Google Mail is down. Press CTRL+ALT+DEL to reboot Earth.

Read the rest of this entry »

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 »

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 »