Thursday, December 23, 2010

Good Quotes

It is impossible to win the race unless you venture to run,
impossible to win the victory unless you dare to battle.
~~Richard M. DeVos~~

You can stand tall without standing on someone. You can be a
victor without having victims.
~~ Harriet Woods ~~

Part of the happiness of life consists not in fighting battles,
but in avoiding them. A masterly retreat is in itself a victory.
~~ Norman Vincent Peale ~~

Man's power of choice enables him to think like an angel or a devil,
a king or a slave. Whatever he chooses, mind will create and manifest.
~~Frederick Bailes ~~

"Regret for the things we did can be tempered by time; it is
regret for the things we did not do that is inconsolable."

"Accept the pain, cherish the joys, resolve the regrets; then
can come the best of benedictions - "If I had my life to live over
again, I'd do it all the same"

And, when he shall die, Take him and cut him out in little stars,
And he will make the face of Heaven so fine That all the world will be
in love with night And pay no worship to the garish sun.

~~ William Shakespeare ~~

It is easy to love the people far away. It is not always easy to
love those close to us. It is easier to give a cup of rice to
relieve hunger than to relieve the loneliness and pain of someone
unloved in our own home. Bring love into your home for this is
where our love for each other must start.
~~ Mother Teresa ~~

Please choose the way of peace.. In the short term there
may be winners and losers in this war that we all dread. But
that never can, nor never will justify the suffering, pain and
loss of life your weapons will cause.
~~ Mother Teresa ~~

There are two levels to your pain: the pain that you
create now, and the pain from the past that still lives
on in your mind and body. Ceasing to create pain in the
present and dissolving past pain - this is what I want
to talk about now.
~~ Eckhart Tolle ~~

"A loser doesn't know what he'll do if he loses, but
talks about what he'll do if he wins, and a winner doesn't
talk about what he'll do if he wins, but knows what
he'll do if he loses."

"You were not born a winner, and you were not born
a loser. You are what you make yourself to be."

Whenever men take the law into their own hands, the
loser is the law. And when the law loses, freedom languishes."

"He was a degenerate gambler. That is, a man who gambled
simply to gamble and must lose. As a hero who goes to
war must die. Show me a gambler and I'll show you a
loser, show me a hero and I'll show you a corpse."
-- Mario Puzo quotes --

"Champions aren't made in the gyms.
Champions are made from something they have
deep inside them - a desire, a dream, a vision."
~Muhammad Ali~

"Every day offers you 10,000 reasons to cry, but
if you can find just one reason to laugh then you
will be all right."
~Maya Angelou~

Some people are making such thorough preparation
For rainy days that they aren't enjoying today's sunshine.
~William Feather~

"It's so simple to be wise. Just think of something stupid to
Say and then don't say it."
~Sam Levenson~

Never bear more than one trouble at a time. Some people bear
Three kinds---
all they have had, all they have now, and all they expect to have.
~Edward Everett Hale~

"If you wait to do everything until you're sure it's right,
you'll probably never do much of anything."
~Win Borden~

"What I am looking for is not out there, it is in me."
~Helen Keller~

"Think wrongly, if you please, but in all cases think for yourself."
~Doris Lessing~

Life is a glass given to us to fill;
A busy life is filling it with as much as it can hold;
A hurried life has had more poured into it than it can contain.
~William Adams Brown~

"The road of life twists and turns and no two directions are
ever the same. Yet our lessons come from the journey, not the destination."

Never give way to anger - otherwise in one moment you could
burn up the joy that you collected over a long period.

The most difficult thing I have ever had to do is follow the guidance I prayed for.
~Albert Schweitzer~

"There are some people who live in a dream world, and there are some who
face reality; and then there are those who turn one into the other."
~Douglas H. Everett

Happiness is the meaning and the purpose of life,
the whole aim and end of human existence.
~Aristotl~

Wednesday, September 15, 2010

10 Rules For A Good Day

1. TODAY I WILL NOT STRIKE BACK:
If someone is rude, if someone is impatient, if someone is unkind...I will not respond in a like manner.

2. TODAY I WILL ASK GOD TO BLESS MY "ENEMY":
If I come across someone who treats me harshly or unfairly, I will quietly ask God to bless that individual. I understand the "enemy" could be a family member, neighbor, co-worker, or a stranger.


3. TODAY I WILL BE CAREFUL ABOUT WHAT I SAY:
I will carefully choose and guard my words being certain that I do not spread gossip.


4. TODAY I WILL GO THE EXTRA MILE:
I will find ways to help share the burden of another person.


5. TODAY I WILL FORGIVE:
I will forgive any hurts or injuries that come my way.


6. TODAY I WILL DO SOMETHING NICE FOR SOMEONE, BUT I WILL NOT DO IT SECRETLY:
I will reach out anonymously and bless the life of another.

7. TODAY I WILL TREAT OTHERS THE WAY I WISH TO BE TREATED:
I will practice the golden rule - "Do unto others as I would have them do unto me" - with everyone I encounter.


8. TODAY I WILL RAISE THE SPIRITS OF SOMEONE I DISCOURAGED:
My smile, my words, my expression of support, can make the difference to someone who is wrestling life.


9. TODAY I WILL NUTURE MY BODY:
I will eat less; I will eat only healthy foods. I will thank God for my body.

10. TODAY I WILL GROW SPIRITUALLY:
I will spend a little more time in prayer today: I will begin reading something spiritual or inspirational today; I will find a quiet place (at some point during the day)!

Tuesday, September 14, 2010

Good Link for C++ Coding Standard

A good link for C++ coding standards........

I liked formatting section, very much. The way of the explanation is quite good. Headings such as explanation and justification is really fine.

http://www.possibility.com/Cpp/CppCodingStandard.html

Tuesday, September 7, 2010

Easy vs Difficult...

Easy is to get a place in someone's address book.
Difficult is to get a place in someone's heart.

Easy is to judge the mistakes of others
Difficult is to recognize our own mistakes.

Easy is to talk without thinking
Difficult is to refrain the tongue.

Easy is to hurt someone who loves us.
Difficult is to heal the wound.

Easy is to forgive others
Difficult is to ask for forgiveness.

Easy is to set rules
Difficult is to follow them.

Easy is to dream every night
Difficult is to fight for a dream.

Easy is to show victory
Difficult is to assume defeat with dignity.

Easy is to admire a full moon
Difficult to see the other side.

Easy is to stumble with a stone
Difficult is to get up.

Easy is to enjoy life every day
Difficult to give its real value.

Easy is to promise something to someone
Difficult is to fulfill that promise.

Easy is to say we love
Difficult is to show it every day.

Easy is to criticize others
Difficult is to improve oneself.

Easy is to make mistakes
Difficult is to learn from them.

Easy is to weep for a lost love
Difficult is to take care of it so not to lose it.

Easy is to think about improving
Difficult is to stop thinking it
And put it into action.

Easy is to think bad of others
Difficult is to give them
The benefit of the doubt.

Easy is to receive
Difficult is to give.

Easy to read this
Difficult to follow.

Easy is keep the friendship with words
Difficult is to keep it with meanings.

Saturday, August 28, 2010

Contrary Proverbs

Every Action has an equal and an opposite reaction?
Similarly, every proverb has an equal and an opposite proverb!
There always exist two sides of the same coin!
You be the better judge…

All good things come to those who wait.
BUT
Time and tide wait for no man.

The pen is mightier than the sword.
BUT
Actions speak louder than words.

Wise men think alike.
BUT
Fools seldom differ.

The best things in life are free.
BUT
There's no such thing as a free (best) lunch.

Slow and steady wins the race.
BUT
Time waits for no man.

Look before you leap.
BUT
Strike while the iron is hot.

Do it well, or not at all.
BUT
Half a loaf is better than none.

Birds of a feather flock together.
BUT
Opposites attract.

Don't cross your bridges before you come to them.
BUT
Forewarned is forearmed.

Doubt is the beginning of wisdom.
BUT
Faith will move mountains.

Great starts make great finishes.
BUT
It ain't over 'till it's over.

Practice makes perfect.
BUT
All work and no play makes Jack a dull boy.

Silence is golden.
BUT
The squeaky wheel gets the grease.

You're never too old to learn.
BUT
You can't teach an old dog new tricks

What's good for the goose is good for the gander.
BUT
One man's meat is another man's poison.

Absence makes the heart grow fonder.
BUT
Out of sight, out of mind.

Too many cooks spoil the broth.
BUT
Many hands make light work.

Hold fast to the words of your ancestors.
BUT
Wise men make proverbs and fools repeat them.

POINTS ON HOW TO IMPROVE YOUR LIFE

Personality:

1. Don't compare your life to others'. You have no idea what their journey is all about.
2. Don't have negative thoughts of things you cannot control. Instead invest your energy in the positive present moment
3. Don't over do; keep your limits
4. Don't take yourself so seriously; no one else does
5. Don't waste your precious energy on gossip
6. Dream more while you are awake
7. Envy is a waste of time. You already have all you need..
8. Forget issues of the past. Don't remind your partner of his/her mistakes of the past. That will ruin your present happiness.
9. Life is too short to waste time hating anyone. Don't hate others.
10. Make peace with your past so it won't spoil the present
11. No one is in charge of your happiness except you
12. Realize that life is a school and you are here to learn.
Problems are simply part of the curriculum that appear and fade away like algebra class but the lessons you learn will last a lifetime.
13. Smile and laugh more
14. You don't have to win every argument. Agree to disagree.

Community:

15. Call your family often
16. Each day give something good to others
17. Forgive everyone for everything
18. Spend time with people over the age of 70 & under the age of 6
19. Try to make at least three people smile each day
20. What other people think of you is none of your business
21. Your job will not take care of you when you are sick. Your family and friends will. Stay in touch.

Life:

22. Put GOD first in anything and everything that you think, say and do.
23. GOD heals everything
24. Do the right things
25. However good or bad a situation is, it will change
26. No matter how you feel, get up, dress up and show up
27. The best is yet to come
28. Get rid of anything that isn't useful, beautiful or joyful
29. When you awake alive in the morning, thank GOD for it
30. If you know GOD you will always be happy. So, be happy.

Thursday, August 26, 2010

WINNER VERSUS LOSERS

The Winner is always part of the answer;
The Loser is always part of the problem.

The Winner always has a program;
The Loser always has an excuse.

The Winner says, "Let me do it for you";
The Loser says, "That is not my job."

The Winner sees an answer for every problem;
The Loser sees a problem for every answer.

The Winner says, "It may be difficult but it is possible";
The Loser says, "It may be possible but it is too difficult."

When a Winner makes a mistake, he says, "I was wrong";
When a Loser makes a mistake, he says, "It wasn't my fault."

A Winner makes commitments;
A Loser makes promises.

Winners have dreams;
Losers have schemes.

Winners say, "I must do something";
Losers say, "Something must be done."

Winners are a part of the team;
Losers are apart from the team.

Winners see the gain;
Losers see the pain.

Winners see possibilities;
Losers see problems.

Winners believe in win-win;
Losers believe for them to win someone has to lose.

Winners see the potential;
Losers see the past.

Winners are like a thermostat;
Losers are like thermometers.

Winners choose what they say;
Losers say what they choose.

Winners use hard arguments but soft words;
Losers use soft arguments but hard words.

Winners stand firm on values but compromise on petty things;
Losers stand firm on petty things but compromise on values.

Winners follow the philosophy of empathy: "Don't do to others what you would not want them to do to you";
Losers follow the philosophy, "Do it to others before they do it to you."

Winners make it happen;
Losers let it happen.

Winners plan and prepare to win.
The key word is preparation.

Tuesday, August 17, 2010

Clauses of Cloud Computing

Cloud computing can be break into three clauses:

1. Software-as-a-Service (SaaS):
This comprises end-user applications delivered as a service rather than traditional on-premise software.
2. Platform-as-a-Service (PaaS):
This provides an independent platform as a service on which developers can build and deploy custom applications.
3. Infrastructure-as-a-Service (IaaS):
This comprises the hardware and technology for computing power, storage, operating systems or other infrastructure delivered as an on-demand service rather than a dedicated onsite resource.

Wednesday, August 11, 2010

A few note on KDevelop Project files

The KDevelop-Project was founded in 1998 to build up an easy to use IDE (Integrated Development Environment) for KDE. Since then, the KDevelop IDE is publicly available under the GPL and supports many programming languages. Most project dependent configuration is kept in the .kdevelop and .kdevses files. KDevelop project configuration files rather than in separate files as the other, more global, configuration settings. In short, those files are meant for:


  • .kdevelop — global project configuration information.
  • .kdevses — configuration information needed to restore the specific behaviours of the running session.
Both are XML-coded files. They can be viewed and (cautiously) altered using any text editor. There is a third project dependent configuration file, the .kdevelop.pcs Persistent Code Store. This is a binary coded file holding an internal parser cache for the most part in order to speed up the loading sequence of the project. Additionally, this Persistent Code Store keeps information use by the Code Completion facility of KDevelop.

Monday, August 9, 2010

Retrieve CPU based information in Windows.

A good tool to identify the Processor based information from Windows......

http://www.cpuid.com/softwares/cpu-z.html

Free and good tool to check with what your machine have........

Command to Identify Hardware releated information in Linux

A quick command in Linux to find various hardware related information.

"dmidecode"

This prints almost all the hardware information from BIOS to various slots including memory, cpu and everything.

Wednesday, August 4, 2010

Get Grateful Now

Even when you feel as though things aren't going well
in your life, you have reasons to be grateful.
Today, take time to appreciate the gift of life
and all its wonders.
Count your blessings and cherish what you have.

Desire

"Focus more on your desire than on your doubt, and
the dream will take care of itself.
You may be surprised at how easily this happens.
Your doubts are not as powerful as your desires, unless you make them so."

Saturday, July 10, 2010

Format Specifiers for C

%c The character format specifier.
%d The integer format specifier.
%i The integer format specifier (same as %d).
%f The floating-point format specifier.
%e The scientific notation format specifier.
%E The scientific notation format specifier.
%g Uses %f or %e, whichever result is shorter.
%G Uses %f or %E, whichever result is shorter.
%o The unsigned octal format specifier.
%s The string format specifier.
%u The unsigned integer format specifier.
%x The unsigned hexadecimal format specifier.
%X The unsigned hexadecimal format specifier.
%p Displays the corresponding argument that is a pointer.
%n Records the number of characters written so far.
%% Outputs a percent sign.

Wednesday, June 23, 2010

Truth Behind the Words

There's always a little truth behind every "just kidding",
                         A little knowledge behind every "I don't know",
A little emotion behind every "I don't care",
And...
A little pain behind every "it's OK."

Wednesday, June 16, 2010

Quotes on Wisdom

Many of life's failures are people who did not realize
how close they were to success when they gave up.
~Thomas Edison~


"Respect your efforts, respect yourself. Self-respect
Leads to self-discipline. When you have both firmly
Under your belt, that's real power."
~Clint Eastwood~

The only difference between stumbling blocks and
steppingstones is the way in which we use them.
~unknown~

Write the bad things that are done to you in sand,
but write the good things that happen to you
on a piece of marble.
~Arabic Proverb~       


Ever tried? Ever failed? No matter.
Try Again. Fail Again. Fail better.
~Samuel Beckett~        


A wise soul opens the window to the future
by closing the doors to the past.
~unknown~


Happiness is inward and not outward; and so it does
not depend on what we have, but on what we are.
~Henry Van Dyke~


When I stand before God at the end of my life, I would hope
that I would not have a single bit of talent left and I could say,
"I used everything that you gave me."
~Erma Bombeck~

Thursday, June 3, 2010

Linux Log files and their purpose

Common Linux log filenames and purpose

/var/log/message: General message and system related stuff
/var/log/auth.log: Authenication logs
/var/log/kern.log: Kernel logs
/var/log/cron.log: Crond logs (cron job)
/var/log/maillog: Mail server logs
/var/log/qmail/ : Qmail log directory (more files inside this directory)
/var/log/httpd/: Apache access and error logs directory
/var/log/lighttpd: Lighttpd access and error logs directory
/var/log/boot.log : System boot log
/var/log/mysqld.log: MySQL database server log file
/var/log/secure: Authentication log
/var/log/utmp or /var/log/wtmp : Login records file
/var/log/yum.log: Yum log files

Daemon(Linux Term) or Services(Windows Term) to do the logging are syslogd and klogd. They intercepts the kernel level messages and logs them to the appropriate files.

Configuration of syslogd is available at /etc/syslogd.conf

Testing with Valgrind

A small note to quick start with valgrind

Testing of an application with Valgrind takes enormous time to get that completed. But there are valuable information that are being printed when we have the possibilities for memory leaks.

To quick start the application under the valgrind, use the following syntax:

valgrind --leak-check=yes application arg1, arg2, ..

Saturday, March 13, 2010

பன்னிரண்டு ஜோதிர்லிங்கங்கள்

பன்னிரண்டு ஜோதிர்லிங்கங்களாவன
1. "சோமநாதம்" - குஜராத்திலும்,
2. வைத்தியநாதம்,
3. பீமசங்கரம்,
4. நாகேசம்,
5. த்ரயம்பகம்,
6. குஸ்மேசம் முறையே - மகாராஷ்டிரத்திலும்,
7. ஸ்ரீசைலம் - ஆந்திராவிலும்,
8. ஓங்காரம்,
9. உஜ்ஜையினி முறையே - மத்தியப் பிரதேசத்திலும்,
10. விச்வேசம் (வாரணாசி),
11. கேதாரம் முறையே - உத்திரப் பிரதேசத்திலும்,
12. இராமேசுவரம் - தமிழ்நாட்டிலும் உள்ளன.

Friday, March 5, 2010

Never Worry how many people Dislike you

A man hated his wife's cat and he decided to get rid of it. He drove 20 blocks away from home and dropped the cat there. The cat was already walking up the driveway when he approached his home.

The next day, he decided to drop the cat 40 blocks away but the same thing happened.. He kept increasing the number of blocks but the cat kept coming home before him.

At last he decided to drive a few miles away, turn right, then left, past the bridge, then right again and another right and so on until he reached what he thought was a perfect spot and dropped the cat there.

An hour later.... The man calls his wife at home and asked her, "Jen is the cat there?" "Yes, why do you ask?" answered the wife.

Frustrated the man said," Put that damn cat on the phone, I am lost and I need directions to reach home!!!

Moral:

"How much ever we dislike somebody, someday we will need their assistance. So never worry how many people dislike you... "

The Treasure of Today

The way this day goes, begins with you. The way this day
Goes, begins right now.

Your attitude can make today a great one. Your actions can
Make this day an effective and fulfilling time.

It all begins right now, with how you choose to see it. It
All begins right where you are, with what you choose to do.

There is enormous power in your hands right now. You have
The power to put meaning, fulfillment and value in this day.

Feel the power of your most beautiful purpose, and get
Yourself going. Make some steady progress, and keep it up.

The treasure of today is here to be unlocked by who you are
And what you do. Now, make that treasure yours.

Tuesday, February 16, 2010

How to copy SVN repository from one machine to another?

How to copy SVN repository from one machine to another?

SVN repository can be moved from one machine to another without considering the change in version numbers. The following are the steps to do that.

1. Dump the whole repository.

a. Check the latest revision in the SVN

Command: svnlook youngest REPOS_PATH

Example: svnlook youngest /opt/UNICODESVNREPOS

b. Dump the repository until the latest revision.

Command: svnadmin dump REPOS_PATH > DUMP_TEXT_FILE

Example: svnadmin dump /opt/UNICODESVNREPOS > UNICODESVNREPOS_dump.txt

2. Load the dumped repository to the new repository.

a. Create a new repository.

Command: svnadmin create [Options] REPOS_PATH

Example: svnadmin create --fs-type fsfs UNICODESVNREPOS

b. Load the repository with the dump.

Command: svnadmin load REPOS_PATH <>

Example: svnadmin load UNICODESVNREPOS <>

This is a simple way to do the processing at the whole repository level. Processing with each projects in the repository is also possible. An additional command is required to do this process and that specific command is “svndumpfilter”.

References:

http://svnbook.red-bean.com/en/1.4/index.html

http://svnbook.red-bean.com/en/1.4/svn.reposadmin.maint.html

Monday, February 1, 2010

A note on Navapashana

Navapashana idol, made by Siddhar Bogar, is the speciality of the temple that belonged to the ninth century.
According to legend, Siddhar Bogar, in consultation with Sage Agasthiya, blended nine kinds of herbs - Veeram, Pooram, Rasam, Jathilingam, Kandagam, Gauri Pasanam, Vellai Pasanam, Mridharsingh, Silasat – to create the main deity. He started doing abishekam with milk, rose water, curd and tender coconut. This tradition has been followed since then.