Wednesday, May 28, 2008
Shell Scripting One Liners
Day = date cut -d' ' -f1
Month = date cut -d' ' -f2
Date = date cut -d' ' -f3
Hour = date cut -d' ' -f4 cut -d':' -f1
Minutes = cut -d' ' -f4 cut -d':' -f2
Seconds = date cut -d' ' -f4 cut -d':' -f3
Monday, May 26, 2008
The Hot New Supernova

Tuesday, May 20, 2008
A Camel In A Cage
"Oh! So why do we have long eyelashes?"
"It's to protect our eyes from the sand."
"Why the big humps?"
"That is to store fat and have enough energy to go long distances in the hot desert!"
"I see!" The baby camel stretched his neck and looked up at his mother, "The big hooves are to keep from sinking into the sand, the long eyelashes are to keep the sand out of our eyes, and the humps are to store energy to travel long distances--then what are we doing in this cage in the middle of a zoo?"
Like the camel, I had asked the same kind of questions. When my blindness set in, I initially locked myself in a cage of self-pity and bitterness. Weary from pacing within that gloomy cage, something nudged me to see beyond my circumstance and unfortunate plight.
Heavens! What was I thinking? Those bars were self-imposed. But worst of all, I'd supported them with the cold metal of my negative attitude.
Eventually, eagerness to leave my stuffy cell of discontent prompted me to open my ears to hear a reassuring whisper--God had created me for much more.
Itching to break free, I broke down those bars and stepped out into the desert of life. I trudged through the heat with determination and drive. I endured the blistering sun with perseverance and tenacity. I quenched my thirst with fresh inspiration and encouragement. And the hooves of confidence kept me from sinking into the sand of insecurity.
Thinking ahead, I made sure I'd stored a healthy supply of wisdom and positive attitude to take me through the long haul.
Goodness gracious. Each time I reached another point in my journey, my eyes saw a whole new world with opportunities to make a difference. Best of all, I was delighted with the affirmation that I was indeed created for much more! Bars come in all sizes and shapes. Some are physical, others are emotional or even mental. But none can withstand the force of determination that breaks them down. The effort is worth it and the results, simply amazing! So, batting my long eyelashes to keep out the sand of discouragement, I challenge you...
Step back and peek at what bars limit you. Take a deep breath, break them down, and emerge into the freshness of a new life!
What do you feel ??
Monday, May 19, 2008
Deadlock
so make arrangement.
Secretary make call to Husband: For a week my boss and
I will be going abroad, you look after yourself.
Husband make call to secret lover: My wife is going
abroad for a week, so lets spend the week together.
Secret lover make call to small boy whom she is giving
private tution: I have work for a week, so you need
not come for class.
Small boy make call to his grandfather: Grandpa, for a
week I don't have class 'coz my teacher is busy. Lets
spend the week together.
Grandpa(the 1st boss ;) ) make call to his secretary: This week I am
spending my time with my grandson. We cannot attend
that meeting.
Secretary make call to her husband: This week my boss
has some work, we cancelled our trip.
Husband make call to secret lover: We cannot spend
this week together, my wife has cancelled her trip.
Secret lover make call to small boy whom she is giving
private tution: This week we will have class as usual.
Small boy make call to his grandfather: Grandpa, my
teacher said this week I have to attend class. Sorry I
can't give you company.
Grandpa make call to his secretary: Don't worry this
week we will attend that meeting, so make arrangement
See how life catchs you from behind :)
Sunday, May 18, 2008
Secrets of Success
The Fan says BE COOL.
The Roof says AIM HIGH.
The Window says take PAINS.
The Clock says every minute is PRECIOUS.
The Mirror says reflect before you ACT.
The Calendar says be up-to-date.
The Door says push.
The Lamp says illuminate your mind by Education.
Listen to what things around are trying to tell you to achieve greater heights of success.
Friday, May 16, 2008
SideCar Investment
An investment strategy in which one investor allows a second investor to control where and how to invest the capital. The sidecar investment will usually be used when one of the parties lacks the ability or confidence to invest for themselves. The strategy will place trust in someone else's ability to gain profits.
Investopedia Says...
The word "sidecar" refers to a motorcycle sidecar; the person riding in the sidecar must place his or her trust in the driver's skills. This differs from coattail investing, where one investor mimics the moves of another. For example, suppose there are two individuals - Fred, who is experienced in trading stock, and Barney, who has a background in real estate. They decide to work together in a sidecar investing strategy. In this case, Fred would give Barney money to invest in real estate on his behalf and Barney would give Fred money to invest in stocks. This setup allows both Fred and Barney to diversify their portfolios and benefit from one another's expertise.
Thursday, May 15, 2008
Happy For No Reason
If you and I were sitting over some tea at a sidewalk café and I asked you, "Are you happy?," what would your answer be?
A few of you might say, "Absolutely—if I were any happier, I'd be twins!" (Okay, that would be a very few of you.)
A lot of you would probably reply, "Sometimes."
But I'd bet dollars to doughnuts that at least half of you would say, "No, not really."
Some people enjoy their lives no matter what happens, while others can't find happiness no matter how hard they try. Most of us fall somewhere in between.
The reason for this puzzling disparity is the happiness set-point. Researchers have found that no matter what happens to you in life, you tend to return to a fixed range of happiness. Like your weight set-point, which keeps the scale hovering around the same number, your happiness set-point will remain the same unless you make a concerted effort to change it.
In fact, there was a famous study conducted that tracked people who'd won the lottery—what many people think of as the ticket to the magic kingdom of joy. Within a year, these lucky winners returned to approximately the same level of happiness they'd experienced before their windfall. Surprisingly, the same was true for people who became paraplegic. Within a year or so of being disabled, they also returned to their original happiness level.
Whatever the experience—positive or negative—people return to their happiness set-point. Further research has shown only three exceptions to this phenomenon: losing a spouse, which can take more time to recover from; chronic unemployment; and extreme poverty.
Okay, you may be thinking, if my happiness level is set—how did it get there? Dr. David Lykken, a scientist at the
In a recent review of the literature and studies on happiness, positive psychology researchers Sonja Lyubomirsky, Kennon Sheldon, and David Schaade confirmed Lykken's earlier findings that 50 percent of our happiness comes from our genetics. But more exciting was the new information they uncovered about the remaining 50 percent. It appears that only 10 percent of our happiness set-point is determined by circumstances such as our level of wealth, marital status, and job. The other 40 percent is determined by our habitual thoughts, feelings, words, and actions. This is why it's possible to raise your happiness set-point. In the same way you'd crank up the thermostat to get comfortable on a chilly day, you actually have the power to reprogram your happiness set-point to a higher level of peace and well-being.
The discovery of the happiness set-point and our ability to change it turns everything we've all believed about being happy upside down. We spend our entire lives searching for happiness, yearning for it, trying to get the things we are sure will make us happy: wealth, beauty, relationships, career, and so on. But the truth is, to be truly happy, all you have to do is raise your happiness set-point.
I sure wish I'd known I was just one of those people who had a low happiness set-point before spending so much time and energy chasing after reasons to be happy. From my interviews,
I've come to see that genuinely happy people are Happy for No Reason.
