Tag Archives: Windows

Run Win XP in Virtual Box

Update @ 2013-08-10: It is found that there is no way to register the installed Windows XP. I tried to use the KEY file in the archive inside sources\xpm but that is not valid. It seems that we have to use the Windows Virtual PC. For more info, please refer to the following post.
XP Mode Unauthorized Key


It’s really funny to see how a BIG corporation like MTR recruits employees. The candidate needs to complete a few online tests. And these tests have to been done in a Windows XP machine and only support Internet Explorer. This is how things work in Hong Kong~~

Anyway, i solved the problem by setting up a Windows XP virtual machine by following the article written by Melanie Pinola.
How to Run Windows XP for Free in Windows 8

1. Download the WindowsXPMode_en-us.exe from Microsoft.
Continue reading Run Win XP in Virtual Box

CSS Browser Selector – Align the CSS styles for different browsers and OS

We have Modernizr to handle the HTML5 and CSS3 problem in old browsers.
Modernizr – Tackle the HTML5 and CSS3 problems in old browsers for frontend programming

Today, i would like to introduce another tool which could help you aligning the CSS styles for different browsers as well as OS. This tool is called CSS Browser Selector. Although it is not updated for more than a year, it is still very useful if you need to deal with Internet Explorer 7 & 8.

Similar to Modernizr, what u need to do is just included the library in the <head> tag.
Continue reading CSS Browser Selector – Align the CSS styles for different browsers and OS

Secure the SSH protocol by Key Authentication

My server was hacked. ToT

One day i found that i couldn’t login the server thru SSH and the CPU usage jumped to 100% for more than 12 hours. Finally i could login as root and found that a new user R00T was created and the SSH service was restarted with all settings in the sshd config file commented out. =.=

So from now on i will use Key Authentication instead of simple Password Authentication. Here is a very useful guide on Linode.com which shows you how to secure your server.
Linode Library – Securing Your Server

In order to use the Key Authentication, you need to generate the private key and public key on your desktop/labtop computers. This is straight forward if you are a Mac or Linux user who could use the ssh-keygen command. But for Windows user, you have to use 3rd party program like PuTTYgen. I suggest using WinSCP + PuTTY.
Continue reading Secure the SSH protocol by Key Authentication

Mac – Generate SSH Keypair

Prior to the topic about the SSH keypair, i would like to let u know that the BeansTag module is already submitted to drupal.org and now undergoing the approval process. BeansTag is a light-weight and user friendly SEO tool which help you setting the meta attributes as well as page title. It is also multilingual supported. Visit the BeansTag project page to get more ideas or even try it with your Drupal 7.

Before i could start working with the Git repository hosted in drupal.org, i have to create a SSH keypair and add it in my Drupal account profile. Actually i have done the similar task before but that is for Windows. For your reference, you can refer to the following post.

Continue reading Mac – Generate SSH Keypair