Wednesday, November 9, 2011

Fun Facebook : Tag Someone with different word/text

A little trick with on Facebook to tag anyone with a different name/word. just follow these steps :


Step 1 :
find the profile id of the person by visiting their profile 
if url looks like 
www.facebook.com/profile.php?id=1097061819 ,


then id = 1097061819 

else if
url is www.facebook.com/zuck , then find profile id by adding graph in place of www.
like   graph.facebook.com/zuck.

step 2 :
 Copy and Paste the below code in your status or comment box
@@[0:[person id:0: Any text you like Here]]
like 
@@[0:[1097061819:0: This person is awesome]]


Tuesday, August 30, 2011

Access mediafire , megaupload in India


Rapidshare , Mediafire and other file sharing sites are blocked in india . Video lovers who watches their favorite videos or likes to share interesting clippings on file sharing sites such as Rapidshare, Mediafire, Megaupload, Hotfile, Fileserve and more will not be able to do so henceforth in India. When they tried to access such file sharing websites, there will be an error message “this site has been blocked as per instructions from Department of Telecom (DOT).

If you want to bypass the DOT blocked file sharing websites in India, you can use these methods:

Thursday, August 4, 2011

Dutch National Flag Problem

Given `N' objects coloured red, white or blue, sort them so that objects of the same colour are adjacent, with the colours in the order red, white and blue.
The technique to solve this problem is three way partitioning ie representing Red with 0 , White with 1 and Blue with 2 . The variables are lo , mid , hi .
lo = 1st position where value is not 0 .
hi = 1st position from end where value is not 2 .
mid = position past lo where value is not 1 .
sourcecode :

Wednesday, August 3, 2011

Worth Sharing ...

i just couldn't resist sharing this...


Curriculum Vitae

Any Finally ...
Stay Motivated
 
Ten Commandments for Peace of Mind

10 reasons why Computer is better than GirlFriend :)

Got it from a blog.. worth sharing :P . Anyway this one gives me hope :D

1.) It doesn’t talk back to you. At best it beeps or gives you the silent treatment.

2.) It provides you with more information than any girl will ever know.

3.) When you upgrade you know the costs up front.

4.) You can stare at tons of other girls and your computer will never get mad at you.

5.) You can shut her down whenever you get tired of her.

6.) Troubleshooting your computer is much easier than your GF.

7.) Your computer holds many valuable bits of information about your past and still likes you.

8.) You can press your computers buttons without any worry of repercussions.

9.) Your computer won’t sleep with your best friend or cheat on you.

10.) Your computer will cost a lot less than any girlfriend!


And this one is too funny :
There are basically 7 TYPES OF GIRLS :
  1.   HARD DISK Girls: Remember everything forever....
  2.   RAM Girls: Forgets about you the moment you go away from her.
  3.   SCREENSAVER Girls: Just for looking.
  4.   INTERNET Girls: Difficult to access.
  5.   SERVER Girls: Always busy when needed.
  6.   MULTIMEDIA Girls: Makes horrible things looks beautiful.
  7.   VIRUS:These type of girls are normally called ‘WIFE’ once enters in your system don’t let you free even after format..

Tuesday, August 2, 2011

Write a program to check the binary representation of an integer ispalindrome or not ?

Eg :
4 --To Binary--> 100 : Not palindrome
5 --To Binary--> 101 : palindrome
simple approach:
1. reverse the bits of given number. O(log(n))
2. compare both the numbers.  
3. if same then palindrome else not. source code:
#include <iostream>
using namespace std;

int reverse(int n)
{
int i = 0, j = n;
while(j)
i = (i << 1) | (j & 1);
j >>= 1;
}
return(i);
}
int main()
{
int rev , n=5;
rev = reverse(n);
rev==n?cout<<"palindrome":cout<<"not palindrome";
return 0;
}

Thursday, July 14, 2011


MOM - my strength , my weakness!

If you ever need to , i will move mountains for u ;
i will change the directions of rivers , if you want me to .
Becoz , u were der for me when i was down and dusted;
you were there when i felt gutted.
you laughed wid me ,  you cried wid  me ,
you shared every bit of my life wid me.
You are the one who cared for me each day,
You are the one who showed me God and how to pray.
you have been like a friend i never had;
you have been like a mentor i've always had.
You gave me the strength to fight, you inspire me to always be right;
Wherever I may be, you will always be in my sight.
Hence the truth be told;
MOM, you are my favorite person in this world! Behold!

Wednesday, April 6, 2011

GNOME 3.0 - Made oF EasY

After five years of planning and design, GNOME 3.0 has been officially released. The totally rewritten desktop has had its share of both praise and condemnation in recent months due to what the project describes as "its most significant redesign of the computer experience in nine years." They further say, the "revolutionary new user interface and new features for developers make this a historic moment for the free and open source desktop."

[caption id="attachment_70" align="aligncenter" width="600" caption="gnome3"]gnome1[/caption]

Total Pageviews

Print