Home  |  Contact   
You are viewing: Posts

Get a pagerank 4 without any external link !!!

March 9th, 2008 by admin | 4 Comments »

At the beginning of this blog, I had planned to keep writing about my SEO efforts. There were only 2 posts (here and here). There were no more posts after that because I got busy with content creation and with another venture of mine. I had forgotten all about SEO till I happened to install google toolbar on my browser and surprisingly I have a pagerank 4 for binaryday. I was surprised because I have not tried to get any external link till now.

The reason I am posting it here is because the pagerank goes against all conventional SEO theory I have read till now.

    The domain is not old. It is less than 6 months old.
    I write about diverse topics. I have never thought about SEO while writing an article. So you will not find any keyword concentration on my page
    Most importantly the blog does not have absolutely any external links to it. There are a couple of linkbacks from comments I had left on other blogs like techcrunch, but I am sure google must be heavily discounting those links.

Then what explains this sudden jump in my google pagerank? I am not sure. If any SEO expert happens to read this post, then will request to let me know what is it that I am doing right.

Topics: Internet, SEO, SEO Experiment Email This Email This
AddThis Social Bookmark Button

 

Google cheat sheet !

March 9th, 2008 by Vineet | 1 Comment »

Came across this(http://www.googleguide.com/cheatsheet.html) nice link. It is basically a cheat sheet for google search. Using these nice tricks in your search queries you can get better and more relevant results.
Not only you can search for some text you can also use google as an advanced calculator, a dictionary, and units converter (eg. Km to miles, $ to Rs., etc.) for any type of quantity.
Also don’t forget to check the links in the above linked page.
Use these tricks and show-off to your friends ;)

Topics: Uncategorized Email This Email This
AddThis Social Bookmark Button

 

A C Programme without main function !!

March 9th, 2008 by admin | No Comments »

How to write a C program without a main function.Is it possible to do that.. OK.. heres the code

#include

#define decode(s,t,u,m,p,e,d) m##s##u##t
#define begin decode(a,n,i,m,a,t,e)

int begin()
{
printf(” hello “);
}

Yes the above program runs perfectly fine.But how,whats the logic behind it?

Here we are using preprocessor directive #define with arguments.The ‘##’ operator is called the token pasting or token merging operator.That is we can merge two or more characters with it.

NOTE: A Preprocessor is program which processess the source code before compilation.

Look at the 2nd line of program-

#define decode(s,t,u,m,p,e,d) m##s##u##t

What is the preprocessor doing here.The macro decode(s,t,u,m,p,e,d) is being expanded as “msut” (The ## operator merges m,s,u & t into msut).The logic is when you pass (s,t,u,m,p,e,d) as argument it merges the 4th,1st,3rd & the 2nd characters(tokens).

Now look at the third line of the program-

#define begin decode(a,n,i,m,a,t,e)

Here the preprocessor replaces the macro “begin” with the expansion decode(a,n,i,m,a,t,e).According to the macro definition in the previous line the argument must de expanded so that the 4th,1st,3rd & the 2nd characters must be merged.In the argument (a,n,i,m,a,t,e) 4th,1st,3rd & the 2nd characters are ‘m’,'a’,'i’ & ‘n’.

So the third line “int begin()” is replaced by “int main()” by the preprocessor before the program is passed on for the compiler.That’s it…

The bottom line is there can never exist a C program without a main() function.Here we are just playing a gimmick that makes us beleive the program runs without main function.But here we are using the proprocessor directive to intelligently replace the word begin” by “main” .

Topics: Coding Email This Email This
AddThis Social Bookmark Button