Tag Archives: Postaday2011

SEO – Remove your site from search engine index like Google

If you don’t want your site to be indexed by search engine like Google, create a file called robots.txt with the following 2 lines and put it in your webroot directory.

User-agent: *
Disallow: /

 

Open http://<your_domain>/robots.txt in browser to check if the above file is shown.

Done =)

Reference: Webmaster Tools Help – Removing your entire website using a robots.txt file

Javascript – Check string contains

We can use the indexOf() function to check if a string exists in another string.

var s = "foo";
alert(s.indexOf("oo") != -1);

 

it returns true if s contains “oo” and vice versa.

Done =)

Reference: StackOverflow – javascript : string contains …

Perl – Missing SSL Libraries when installing Crypt::SSLeay

I want to subscribe the Amazon SES service in a Amazon EC2 server but the process is so complicated and i need to install numerous things oI want to subscribe the Amazon SES service in a Amazon EC2 server but the process is so complicated and i need to install numerous things only for verifying and email address.

One of the requirement is to install the Crypt::SSLeay Perl library. Continue reading Perl – Missing SSL Libraries when installing Crypt::SSLeay