Archive for February, 2010

How to avoid duplicate content using .htaccess

Tuesday, February 23rd, 2010

If domain.com and www.domain.com has same content, Google will think it as duplicate content. However, you can use .htaccess to avoid duplicate content. Solution is to redirect your visitor to one of the domain, either with www or without www. The trick below is a simple yet effective way to avoid duplicate content on the [...]

How to show line number in vi / vim editor

Monday, February 22nd, 2010

A note for myself on how to show line number in vi. Always need to edit my code in vi mode, but my vi doenst show line number by default. and i always look for the command to show line number in vi. This is very inefficient. So i decided to made this post to [...]

How to copy a DVD in Mac OS X

Tuesday, February 9th, 2010

Being asked on how to copy a DVD in Mac OS X. FYI, Mac has a disk utility that able to copy DVD without using other DVD burning software. May be there are more steps to copy a DVD in Mac, but you dont need to pay a single cent to buy any DVD burning [...]