"Don’t stay in bed, unless you can make money in bed."

— George Burns (1896-1996)

Tags: qoutes

Get Header Files for your GNU Compiler Collection (GCC)

Get the latest header files for your GNU Compiler Collection (GCC). Just change the link according to the header file required. Change in the link can be like : 

Tags: technology

Things Android Does and iPhone Doesn’t

  • Android provides simplicity of backing up files with a simple drag and drop interface, similar to an external hard drive. Drag and drop, son!
  • Versatile Bluetooth connectivity. Duh.
  • Bigger screen size. Duh. Duh.
  • You can upgrade your memory! Simply go to the store (very important), purchase a micro sd card and stick it in your phone (technical term). Try doing that with an, iPhone! Yeah, that’s what we thought.
  • Better battery backup and cheaper apps/games.
  • Androids are affordable. You are most welcome to sell your kidney to buy an iPhone.

Tags: technology

What are some of the funniest tweets?

image

Tags: comedy

"The fool didn’t know it was impossible, so he did it."

— Anonymous

Tags: qoute

Addicted to movies? Well, why not fascinate into an alternate ending. How it Should Have Ended (HISHE)! A place for animated parody alternate endings to major motion pictures.

Tags: movies comedy

The Jokes

 

Two hunters are out in the woods when one of them collapses. He doesn’t seem to be breathing and his eyes are glazed. The other guy whips out his phone and calls the emergency services. He gasps, “My friend is dead! What can I do?” The operator says “Calm down. I can help. First, let’s make sure he’s dead.” There is a silence, then a gun shot is heard. Back on the phone, the guy says “OK, now what?”

Sherlock Holmes and Dr Watson were going camping. They pitched their tent under the stars and went to sleep. Sometime in the middle of the night Holmes woke Watson up and said: “Watson, look up at the sky, and tell me what you see.” Watson replied: “I see millions and millions of stars.” Holmes said: “And what do you deduce from that?” Watson replied: “Well, if there are millions of stars, and if even a few of those have planets, it’s quite likely there are some planets like Earth out there. And if there are a few planets like Earth out there, there might also be life.” And Holmes said: “Watson, you idiot, it means that somebody stole our tent.”

A woman gets on a bus with her baby. The bus driver says: “That’s the ugliest baby that I’ve ever seen. Ugh!” The woman goes to the rear of the bus and sits down, fuming. She says to a man next to her: “The driver just insulted me!” The man says: “You go right up there and tell him off – go ahead, I’ll hold your monkey for you.”

Tags: jokes

Now make your own Jarvis !

Tags: technology

Graph Theory

Q. In graph theory, the girth of a graph is the length of a shortest cycle contained in the graph. Find the maximum girth a graph with N-vertices and (N+1) edges could possible have.

Code :

#include<cstdio>
using namespace std;
long long mod = 1000000007;

int main()
{
    long long test=0,n,ans=0;double res;
    scanf("%lld",&test);
 
    while(test--)
    {
           scanf("%lld",&n);
           n=n-n/3;
           printf("%lld\n",n%mod);
    }
}

Tags: programming

"It does not matter how slow you go so long as you do not stop."

— Wisdom of Confucius

Tags: qoutes

Damn you MySQL !

Dan Ray says :

I sat at the MySQL console for the production web application database and typed:

DELETE FROM tablename WHERE id - 1234;

…and hit return.

Note that I typed “id - 1234”, not “id = 1234”.

In MySQL the statement (value - value) is false if it evaluates to 0, and true if it evaluates to anything else. I just asked the database to delete all rows where the ID minus 1234 was not zero.

It replied “80,000 rows deleted”.

Tags: technology