Getting the IP address of a running VirtualBox VM

To get the IP address of a running virtual machine we just need to do the following: VBoxManage guestproperty get <UUID|Machine Name> "/VirtualBox/GuestInfo/Net/0/V4/IP" This will give you the IP4 address of the Virtual Machine if it’s set.

Upgrade libssl on Ubuntu Lucid 10.04

If you ever needed to upgrade the libssl library on your system this is how you can do it.

First add the Precise source repository to your apt sources.

Creating your own local compiled packages repository

I’ve had the problem, I needed to create a local repository that will contain all my packages pre compiled so I can just use the apt utility that comes with Debian based systems.

Compile qt 4.8.4 on Ubuntu 10.04 Lucid

Download the full installation from qt 4.8.4, and un-compress the file onto a separate directory.

Before running the installation run the following command to get all the dependencies

apt-get build-dep libqt4-core libqt4-dev

Intel Wireless N Cards

I’ve had a lot of problems with the Intel wireless cards, when connecting to Wireless N Routers.

The speed cuts off, or drops to 1MB/s, you can set the rate manually by issuing the following command, replace wlan0 with the equivalent for your system, but usually it’s wlan0 unless you have multiple wireless cards.

iwconfig wlan0 rate 54M

Tracing jQuery trigger events

We will see how to modify the trigger event of jQuery so we can see everytime there is an event triggered, this is really usefull if you need debuging