Friday, April 24, 2015

Technical Tips on UBUNTU

1)locate the process id running on particular port :
    Eg: 8080
    cmd : 
    sudo lsof -t -i:8080  or  sudo netstat -lpn |grep :8080
2) Kill the process :
     sudo kill -9 xxxx   


Monday, April 18, 2011

Why Walk When You can Fly......

It is a very inspiring story which makes you to realize where you have to be and where you are,what is your potential ? What needs to be done. What is missing in you ? many such things. it all depends on the way we understand and react . This story begins like this.

Once there was a king who received a gift of two magnificent falcons from Arabia . They were peregrine falcons, the most beautiful birds he had ever seen. He gave the precious birds to his head falconer to be trained. Months passed and one day the head falconer informed the king that though one of the falcons was flying majestically, soaring high in the sky, the other bird had not moved from its branch since the day it had arrived.

The king summoned healers and sorcerers from all over the land to tend to the falcon, but no one could make the bird fly. He presented the task to the members of his court, but the next day, the king saw through the palace window that the bird had still not moved from its perch. Having tried everything else, the king thought to himself, "May be I need someone more familiar with the countryside to understand the nature of this problem." So he cried out to his court, "Go and get a farmer who lives in a village where there is no modern development !!!!." The farmer arrived and was explained the problem. He assured the King he would do his best....

The next morning, the king was thrilled to see the falcon soaring high above the palace gardens. He said to his court, "Bring me the doer of this miracle." said the king...The court quickly located the farmer, who came and stood before the king. The king asked him, "How did you make the falcon fly?" With his head bowed, the farmer said to the king, " It was very easy, your highness. I simply cut the branch where the bird was sitting."

We are and were all made to fly -- to realize our incredible potential as human beings. But instead of doing that, we sit on our branches, in our own comfort zones, clinging to the things that are familiar to us and even to those that drown us in misery. The possibilities are endless, but for most of us, they remain undiscovered. We conform to the familiar, the comfortable, the mundane. So for the most part, our lives are mediocre instead of exciting, thrilling and fulfilling. So let us learn to destroy the branch of fear we cling to and free ourselves to the glory of flight.......Adapted from the Book "Why walk when you can fly"....

Thursday, March 17, 2011

An Open Letter to Sachin Tendulkar from one of his Die Hard Fan.

“Dear Sachin,

I feel sad. Even after 22 years of playing for the country, you are still expected to win matches on your own. We forget that apart from you there are 10 more players in the team. You have been the run machine in World Cups with an average …of 60. Even today while you yet again proved your class with a 111 the others around took it easy. You chased the ball in the outfield and ensured that your throws landed on top of the bails. Others preferred to drop catches or go back to the dressing room for a ‘rest’ while a substitute fielder came in. Sachin, the current Indian cricket team doesn’t deserve you. They don’t know what it is like to give one’s blood and sweat for this nation of a billion people. For them fame and money has come to easy and undeserving – not commensurate to the ’supposed talent’ that they posses. Do you remember what you had said to Tom Alter in that interview in 1989? “I just want to play cricket”. Sachin, let me also not hide the truth – you are not my favorite cricketer – but one plays favorites only with humans – not with Gods for they are revered, emulated and looked at in awe… [We expect Sachin to win this cup for us. But what about the other players? Are they supposed to be playing ludo in the dressing room? I hope that the rest of the team wake up and realize that they are not there to 'play' in the tournament, they are supposed to 'win' it - not for themselves, not for India but for the greatest Indian to have lived - Sachin Tendulkar. P.S: In the 1992, Hero Cup semi-final in Eden Gardens Kolkata (India Vs. SA), SA needed 6 runs to win off the last over. Tendulkar snatched the ball from Azhar and bowled a magnificent over to win that match for us. (He gave away only 3 runs). Maybe our team needs to watch that over to know what guts and glory are all about.] Sachin, I hope we win the final in Wankhede. If we don’t a billion people can only hang their heads in shame and ask for your forgiveness.

Regards,

One of your undying fans who:
1. Still goes crazy when you hit that straight drive and show us the manufacturer’s name on the bat.
2. Stayed awake late into the night before my end terms to watch that 100 in Sharjah in the midst of that sandstorm.
3. Relished every shot that you played to decimate Warne in 1998 and then Shoaib Akhtar in that 2003 World Cup against Pakistan.
4. Will stop watching cricket after you retire.”

source : http://tendulkar.co.in/index.php/2011/03/17/an-open-letter-to-sachin-tendulkar/comment-page-4/#comment-44474

If possible read the comments updated by the readers on the source. Really touching.

Tuesday, March 8, 2011

Believe in yourself.

There may be days when you get up in the morning and things aren’t the way you had hoped they would be.

That’s when you have to tell yourself that things will get better. There are times when people disappoint you and let you down.

But those are the times when you must remind yourself to trust your own judgments and opinions, to keep your life focused on believing in yourself.

There will be challenges to face and changes to make in your life, and it is up to you to accept them.

Constantly keep yourself headed in the right direction for you. It may not be easy at times, but in those times of struggle you will find a stronger sense of who you are.

So when the days come that are filled with frustration and unexpected responsibilities, remember to believe in yourself and all you want your life to be.

Because the challenges and changes will only help you to find the goals that you know are meant to come true for you.

Keep Believing in Yourself

Tuesday, June 29, 2010

Donkey's Attitude

One day a farmer's donkey fell down into a well. The animal cried piteously for hours as the farmer tried to figure out what to do. Finally, he decided the animal was old, and the well needed to be covered up anyway; it just wasn't worth it to retrieve the donkey.

He invited all his neighbors to come over and help him. They all grabbed a shovel and began to shovel dirt into the well. At first, the donkey realized what was happening and cried horribly. Then, to everyone's amazement he quieted down.

A few shovel loads later, the farmer finally looked down the well. He was astonished at what he saw. With each shovel of dirt that hit his back, the donkey was doing something amazing. He would shake it off and take a step up.

As the farmer's neighbors continued to shovel dirt on top of the animal, he would shake it off and take a step up. Pretty soon, everyone was amazed as the donkey stepped up over the edge of the well and happily trotted off!

MORAL :
Life is going to shovel dirt on you, all kinds of dirt. The trick to getting out of the well is to shake it off and take a step up. Each of our troubles is a steppingstone. We can get out of the deepest wells just by not stopping, never giving up! Shake it off and take a step up.

Remember the five simple rules to be happy:

1. Free your heart from hatred - Forgive.

2. Free your mind from worries - Most never happens.

3. Live simply and appreciate what you have.

4. Give more.

5. Expect less from people but more from God.


Cheers.