LAMP How To – Open Source At Work

Only Passion Matters

Entries for the ‘Think Software’ Category

Changing screen resolution of Ubuntu in virtualbox

ubuntu allows screen resolutions bigger than 800 x 600. To get this to work under virtualbox, some tricks are needed.

# if not already done, install the desktop.
sudo apt-get install ubuntu-desktop

# once done, need to configure screen resolution. By default ubuntu only allows 800 x 600 or 640 x 480.
# get linux source first.
sudo apt-get install [...]

virtualbox: changing system time in vm

sometimes, changing system time is neccessary to help development in the vm. To do that in the virtualbox guest, we have to run some script in the host,
VBoxManage setextradata [vmname] “VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled” “1″
then reboot host
once booted, change system time in vm and it will work.

Google Ads Error

sometimes you get script errors in your browser when you run google ads. It is most likely that you have flash in the ads.
Based on normal broadband speed, there is a very high chance that the full page is rendered even before the flash ad started downloading (as it gets redirected to a 3rd [...]

Basic GIT tutorial: centralised and decentralised model

Git is fast becoming the most popular versioning control system in the market today. It is open sourced and offers a number of significant advantages over svn. SVN will probably still be around for a while because a lot of people and software are still dependent on it or don’t see a need for change. [...]

Preserving HTML in XML

Characters like “<” and “&” are illegal in XML elements. “<” will generate an error because the parser interprets it as the start of a new element. “&” will generate an error because the parser interprets it as the start of an character entity. Some text, like JavaScript code, contains a lot of “<” or [...]