Posted in 4 January 2009 ¬ 21:53h.John
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 »
Posted in 4 January 2009 ¬ 10:51h.John
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 »
Posted in 3 January 2009 ¬ 23:17h.John
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 »
Posted in 3 January 2009 ¬ 21:24h.John
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 »
Posted in 3 January 2009 ¬ 21:07h.John
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 »
Posted in 3 January 2009 ¬ 20:19h.John
I’ve grown quite fond of vim over the past couple of weeks. After learning and re-learning the shortcut keys, I think that I’m finally on my way to knowing what the hell I am doing!
Anyway, after working on it – I’ve found gVim to be great.
To install, just run:
sudo apt-get install vim-full
This includes syntax highlighting [...]
Read the rest of this entry »