Code to make any website look crazy.

1. Open a website.
2. Clear the "Address Bar"
3. Paste following in the address bar

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5;*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);

Press enter and enjoy.

P.S: Work best on web page with many pictures.

Recently a new service called BlogRush is launched to help bloggers find readers with common interests. You just need to register and register yout blog in appropriate category . After that you will get a blog rush widget(similar to one in left column) code . You will earn credits for each page impression. These credits will be used to display posts from your blog on some else's blog . Looks pretty good, but its still early times.

Are you tired of logging into your Adsense Account multiple times a day to check your earning. Firefox have introduced a new plugin called Adsense Notifier which Displays your Adsense earnings on the statusbar.

Download it from Firefox Site

Do you have a blog and want to change your blog name? Also want to retain your old post? Don’t worry you don't have to create a new blog and copy all post to your new blog. have provided a very simple way to do this. It allows you to modify the name of your existing blog quite easily(of course only if the name is available). Just follow the following steps.

  1. Login in to Blogger Dashboard.
  2. Select "Settings" link for blog that you want to shift to your own domain.
  3. Click on "Publishing" link.
  4. On the following page replace you new blog name in the text box for "Blog*Spot Address" (marked with red circle) . Click on save setting and if the name is available your blogs name will be changed.

Note :By doing this activity you are making all your existing back links to your old blog inactive. Also all indexing in search engine will also become invalid. So give a deep thought before making these changes.

Netscape is one of the most widely used Social Bookmarking site on the web (reports suggest it is ranked 2nd in terms of unique visitors, 1st place goes to Digg). So any story on the front page is sure to get huge traffic. So the question is how to get to the front page of Netscape?

Following are the steps that I followed to reach the front page of Netscape within week of opening a account.

Step 1
Create a Netscape Account.

Step 2
Add as many friends as possible. If you look at friend list of writers of stories at front page, you will find that all of them have at least 200 friends in their friend list. You can as many friends as you want at any time there no restriction what so ever for adding friends on Netscape.

Step 3
Create a good story and submit it to Netscape.(Story should not violate Netscape Terms Of Use)

Step 4
Go to your story link and click on "share this story" link(marked in circle below)

This feature is unique to Netscape, no other social bookmarking site provide this feature(not even the mighty Digg) . This almost forces your friend to have a look at your story and most of them do vote. And you should do the same for the stories sent to you by your friends (its a social network remember).
The only trick here is that you can send to only 5 friends in one go .. so will have to repeat this multiple times to share your story with all friends.

Step 5
Keeps doing this for 2-3 days (not forgetting to vote on the stories shared by your friends). You will see that It is quite easy to reach front page on Netscape than it on any other social bookmarking site like digg.

Best of luck . Do leave a comment if you are able to get to the frontpage.

Google Cheat Sheet

Posted by Gaurav | 12:42 AM

Some helpful Google tips and tricks. This sheet contains how to use

  1. Operators like OR,define,* to improve your search result
  2. Calculator Operators to perform calculations.
  3. Advanced operator like "site:","date:" etc
  4. URL for various Google service.
Click to enlarge the image.

PHP Cheat Sheet

Posted by Gaurav | 11:54 PM

Some tips and tricks for PHP . Click to enlarge
This A4 cheat sheet is designed to sit by your desk and make your life easier.

PHP Cheat Sheet, originally uploaded by ILoveJackDaniels.

Do you have a blog and want to shift to your own domain? Also want to retain your old and regular readers? Don’t worry, have provided a very simple way to do this. Just follow the following steps.

  1. Login in to Blogger Dashboard.
  2. Select "Settings" link for blog that you want to shift to your own domain.
  3. Click on "Publishing" link. On that page click on "Custom Domain" link.
  4. On the following page click on "Switch to advanced settings" if you already have a domain or buy a domain that you want to use. Blogger charge $10 per domain per year.

Blogger will automaticalle redirect all traffic from you blog to your custom domain.

Adding Google adsense ad in post body is a great way to increase CTR . But adding adsense code inside blogger post is not straight forward. Following is the procedure for doing this.

  1. Login to your Adsense account , select and copy(Ctrl + c) the adsense code that you want to use.
  2. Follow this link to go to Adsense parser - which will readily convert your adsense code to new Blogger compatible code. Copy this new code(Ctrl +c)
  3. Login in to Blogger Dashboard.
  4. Select "Layout" link for the blog in which you want to add adsense code.
  5. Click on "Edit HTML" link.

  6. check "Expand Widget Templates" check box.

  7. Search for following in template.

  8. <p><data:post.body/></p>

  9. Paste the code selected in step 2 under or above following tag(depending on where you want the add)

This will create same adsense display as below. If you find any issue , leave a comment and I will resolve it ASAP

Related Post ->
Code To Add Social Bookmarks Widgets Inside Blogger Post

Have a blog? Are you ready to move to your own domain? Don’t worry, makes it super easy. Log in to your account, then head over to Options, and select Domains. Now, you can create your own domain, and if it’s available, register it directly through your account. Domain registration is not free though; it will cost you U$15 a year.

Social Bookmarks is a great way to get your blog or website noticed and help increase the traffic.
So it makes very good sense to provide your visitor an easy way to bookmark your posts or web pages.

Following code can be used to add most well known social bookmark links in your post. Follow following steps to do this :

  1. Login in to Blogger Dashboard.

  2. Select "Layout" link for the blog in which you want to add bookmark links.

  3. Click on "Edit HTML" link.

  4. check "Expand Widget Templates" check box.

  5. Search for following in template.

  6. <p><data:post.body/></p>

  7. Copy the code from this file bookmarkcode.txt and paste in under following tag <p><data:post.body/></p>

This code will add bookmarks for digg,,furl,reddit, technorati, yahoo, newsvine, google bookmarks, bloglines, ask, windows live, slash dot and stumble upon
This will create same links as below. If you find any issue , leave a comment and I will resolve it ASAP

Note : Have tested this only on new blogger template
Related Post -> Procedure For Adding Adsense Code Inside Blogger Post

These are shortcuts you can use in the wordpress post editor.

    Bold: Alt+SHIFT+b
    Italics: Alt+SHIFT+i
    Link: Alt+SHIFT+a
    Blockquote: Alt+SHIFT+q
    Code: Alt+SHIFT+c
    Read More: Alt+SHIFT+t
    Unordered List (ul): Alt+SHIFT+u
    Ordered List (ol): Alt+SHIFT+o
    List Item (li): Alt+SHIFT+l

Click on following image to view full image. Image contains the listing of short cut keys which can be used with mozilla firefox.

Did you know?

You can listen to any PDF instead of reading with Adobe Reader 7 .0 or 6.0,
And the short cut is:

Ctrl+shift+b - to hear the entire Document
Ctrl+shift+v - to hear the page
Ctrl+shift+c - to resume
Ctrl+shift+e - to stop

My First Post

Posted by Gaurav | 10:34 AM

This blog will have free code from all over the web . Some copied from sources and some created by me .

Social Bookmark Images

Posted by Gaurav | 2:38 AM