Thursday, October 29, 2009

some quotes from "The Godfather I&II"

The greatest movie I ever watched. My most favorite one, very touching.

1. A man who doesn't spend time with his family can never be a real man.
2. Women and children can afford to be careless, but not men.
3. It's not personal. It's strictly business.
4. Because it insults my intelligence. It makes me very angry.
5. Get out of my sight.
6. I'll handle it. I told you I'll handle it, I'll handle it.

Wednesday, October 28, 2009

All Of A Sudden

All of a sudden, I'm totally lost, again :(

This is not what I wanted. You should remember all those bad things you have gone through. Learn your lessons, man.

Come on. It's a nice day anyway.

Wednesday, October 21, 2009

The Present - Author Unkown

Imagine there is a bank that credits your account each morning with $86,400.
It carries over no balance from day to day.
Every evening it deletes whatever part of the balance you failed to use during the day.
What would you do?
Draw out every cent, of course!
Each of us has such a bank.
Its name is TIME.

Every morning, it credits you with 86,400 seconds.
Every night it writes off, as loss whatever of this you have failed to invest to good purpose.
It carries over no balance.
It allows no overdraft.
Each day it opens a new account for you.
Each night it burns the day's deposits; the loss is yours.

There is no going back.
There is no drawing against the "tomorrow."
You must live in the present on today's deposits.
Invest it so as to get from it the utmost in health, happiness, and success!
The clock is running.
Make the most of today.

To realize the value of ONE YEAR, ask a student who failed a grade.
To realize the value of ONE MONTH, ask a mother who gave birth to a pre-mature baby.
To realize the value of ONE WEEK, ask the editor of a weekly newspaper.
To realize the the value of ONE DAY, ask a daily wage laborer with kids to feed.
To realize the value of ONE HOUR, ask the lovers who are waiting to meet.
To realize the value of ONE MINUTE, ask the man who missed his train.
To realize the value of ONE SECOND, ask the person who just avoid an accident.
To realize the value of ONE MILLISECOND, ask the person who won a silver medal in the Olympics.

Treasure every moment that you have!
And treasure it more because you've shared it with someone special---special enough to share your time.
And remember that time waits for no one.

Yesterday is history.
Tomorrow is a mystery.
Today is a gift.
That's why it's called, "the present."

Friday, October 16, 2009

how to remove ^M from a Unix file

^M is DOS line break charater which shows up in unix files when uploaded from a windows file system in ascii format.

Under vi, and enter :s/(ctrl-v)(ctrl-m)//g

Note, we need to press (Ctrl+v) and (Ctrl+m) to get ^M, instead of directly input these two characters. Seems we can also try dos2unix command.