Wednesday, June 26, 2013

People do many different things to stay healthy. What do you do for good health? Use specific reasons and examples to support your answer.

As the popular adage says, "Health is wealth". Health is important than money and reputation. A healthy person can think and act better. Other things in life can go and come any time. But health is one thing that can not be gained back once lost. Eating right, exercising, sleeping, keeping healthy relationships are the methods I follow to keep myself healthy. I discuss these methods further.

First of all, Nutritious diet plays vital role to maintain good health. I eat right food in right quantity at right time to keep myself healthy. My food always include fat free and oil free items. I depend a lot on fruits which improve digestion system. In addition to it, I drink lots of water and fruit juices. Furthermore eating food at correct time keeps you far from obeysity and controls piling of fat at unwanted places.

Second, exercises like swimming, skipping, walking help a lot in keep one healthy. I walk for half an hour a day. Right exercises keep anybody active the whole day. In addition to it, exercises give lots of energy and keep stress away. Furthormore outdoor activities like playing games with friends or family would give much more energy and refreshes ones mind and body. Apart from this, as the famous maxim says, "early to bed, early to rise, keeps you healthy", is so much true that waking up early gives you fresh feeling and keeps you relaxed for the rest of the day.

Finally, maintaining good relationships with friends and family is one important thing which provides inner happiness. Playing and laughing with the people who are close to the heart are the priceless moments in anybody's life. For example, when you come back home after a stressful day at work, if your family welcomes with pleasent smiles you keep all you stress away and enjoy with family. It is important to have a happy family and friends which adds more health. 

To sum up, not just one but many factors play vital role in maintaining good health. Avoing any of the methods I mentioned might keep one in health hazards.

Wednesday, June 19, 2013

How can I change the language of Google Maps on the run?

A language can be selected when you load the API by appending language=XX to the API URL whereXX is the two-character language code (en for English, ar for Arabic, etc.) to the URL in the API call. See http://code.google.com/apis/maps/documentation/javascript/basics.html#Localization for documentation.
This won't let you change it on the fly, and I don't think you can do that. You can try loading the API a second time after getting the initial info you need in one language. But that seems likely to cause problems.
A cleaner way to do it might be to create a separate page that acts as a sort of web service for you. It accepts two parameters: A language code and an address. It loads the API using the language code requested, and reverse geocodes the address, providing the result. Your page would call this web service-like thing twice, once for each language, and then use the results as desired.

Tuesday, June 18, 2013

Mac OS X – Show / Hide Hidden Files in Finder

As noted in the comments its nice to have the text available for easy copy and paste into your terminal.

Show:
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

Hide:
defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder