Sunday, June 21, 2009

Getting a screenshot using python

Alright, boredom has some advantage, i was reading something in python and came across this module ImageGrab in PIL

This works only on windows though.

import ImageGrab
img = ImageGrab.grab()
img.save(u"C:\screenshot.jpg")


On the second thought, this is so simple i mean a utility like scrot or may be a subset of it can be written for windows in i guess less than 50 lines ?

Saturday, April 4, 2009

Things to do before i die

1) Bungee Jump
2) Climb up to Mt Everest Base Camp
3) Visit Leh and ladakh
4) Scuba Diving
5) Sky Diving (ok, there is nothing cool or fun to me in jumping from a perfectly fine aeroplane, i know :) )
6) Get into a real fight
7) Run 10kms without stopping
8) Steal shastry's bike (Considering 10 and shastry's comment i should skip this.. )
9) Swim with the dolphins
10) Get a harley davidson
11) Drive a car at 150 miles per hour
12) Try sushi and korean food
*I'll keep this list updated as soon as i figure out more fun things

Saturday, March 21, 2009

Get up

Wednesday, October 29, 2008

Big Dog Robot



I want one!

Friday, May 16, 2008

Drop outs and Rich

I completed college (against my wish) this summer, it has been a long ride full of stupidity, sarcastic circumstances and numerous emotions.

In India, drop outs are treated as socially unacceptable or failures for the rest life. I personally have had a share of it for some time. Drop outs are like a stigma to society. People value college education over a kid's own will.And once you drop out, Suddenly you are the looser,the dumber among them.


So how important is college to success ?


Bill Gates
Ted turner
Walt Disney
Albert Einstein
Mark Twain
Steve Jobs
Benjamin Franklin
Thomas Edison
Paul Allen
Michael Dell
Richard Branson
Dhiru Bhai Ambani
Gautam Adani
and others.

I personally admire each of these individuals who are drop outs and yet very successful.

All i am saying is a education is much over rated.Students committing suicide just for a failure in some board exams is just a by-product of this conditioning by society.Education alone is not the only way to be successful, and certainly not a specific profession.
Taking into consideration the amount of money and time people spend on education WITHOUT their will, i would say its not worth it. I'm not against people who want to pursue professional courses , as they definitely require knowledge and skill level that you need to comprehend during those courses.
There is a lot of money flowing around the world every day, so decide if you not ending up with a degree or with a specific job does means the end of the road.There is abundant money for everyone, we are living in the richest times humans have ever lived.

Thursday, May 15, 2008

Anticipation

He hangs around the same tree,
still waits for the dream,
the dream to come true,

He has always been a loner,
He has always been a dreamer,
People have a habit of moving ahead,
He has been left alone.

He is unable to move ahead,
for the dreams are rare,
and even rare are the people who follow them.

He dares to dream,
He dares to follow them,
Some say he is a fool,
Others say he is unreal.

He stares at the trees,
He observes the sea,
As hordes of people go by,
he observes it all,
unaware of his existence.

Every evening he goes back there,
back under the same tree,
dissolved in his dream,
with an anticipation of its manifestation.



© Amitabh Sharma

Old Goa



















School kids participating in some ritual to set a lantern in every house.

The Cathedral