This basic snippet will get all the images from folder and it will display randomly.
The following function will convert the time stamp to time ago like 1hour ago, 1day ago, 2days ago etc. This can be used for comments and other from of communication to tell the time ago instead of the exact time which might not be correct to some one in another time zone.
In the below method, we get live currency rates from Google. Google has an inbuilt calculator which can also be used for converting a currency into another.Doing so is really simple, the inbuilt calculator will give you the result. Try this http://www.google.com/finance/converter?a=1&from=USD&to=INR Google also has a secret calculator API (http://www.google.com/ig/calculator) that is usually used for iGoogle gadgets, but its free and open, anyone can use it. So if you want to convert a currency into another using the API, you can grab the below code.