Posts archive for February, 2010

How to avoid duplicate content using .htaccess

advertisement

htaccessIf 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 same domain.

To avoid duplicate content using.htaccess, follow the steps below:-

Continue reading How to avoid duplicate content using .htaccess »

How to show line number in vi / vim editor

advertisement

linuxA 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 remind myself on how the command to show line number in vi editor.
show line number vi, vi show line no, vi line number

To show line number in vi editor, follow the steps below:-

Continue reading How to show line number in vi / vim editor »

How to copy a DVD in Mac OS X

advertisement

mac, mac os xBeing 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 software!

To copy a DVD in Mac OS X, follow the steps below:-

Continue reading How to copy a DVD in Mac OS X »