As a web developer, we often need to display dates in our website. As a web user myself, I don’t like to read full dates like “26 November 2011 11:30PM” because it takes me a little while to interpret the date. I prefer reading smart dates like “1 hour ago” or “6 months ago”. Therefore, here I wrote a quick and simple function in PHP that display the time difference/elapsed based on a given timestamp value.
This is a set of free social bookmark icons in cat-ears design. I made them when I am bored. They are ready to be downloaded and used right away. Change the colour of the icons using the “Hue/Saturation” layer to match your design. Hide the “cat ears” layer if you don’t like them :)
I was developing a new website that uses Facebook Login as the membership system. I came across this situation where I needed to create a “fake” domain by editing the etc/hosts file. Somehow, after editing the etc/hosts file (following an online guide), I cannot seems to browse http://localhost in my browser anymore. However, I can still browse my local apache server using http://127.0.0.1
Few months ago, Facebook removed the page that allow us to generate codes for their official “Share” button. They replaced it with “Like” button instead. While “Like” button is fast and easy but we cannot add our comment along with the “Like” action. Therefore, in some cases, we still need the old Share button. Fortunately, the sharer.php still exists, so we can add the Share button using Facebook’s official script.
Zevion is a free brushed-metal design wordpress magazine theme with premium features such as animated gallery, post thumbnail, featured video, latest tweets, social bookmark, popular posts and more. Come in to view the demo and list of features.
Downloaded 2178 times
Without doubt, Google is the best search engine in the world because it satisfies all your need – you always get what you want by searching, now it can even do a barrel roll for you if you want one. Open google.com, do a search using either of these sentences
Recently everyone was talking about iPhone 4S, mainly the new voice assistant feature called Siri. Here I have collected some videos about Siri, including questions that you can ask Siri as well as some parody videos which are quite funny, at least for me. Enjoy :)
Clear Cloud is a free sky/cloud design wordpress magazine theme with premium features such as animated gallery, post thumbnail, featured video, latest tweets, social bookmark, popular posts and more. Come in to view the demo and list of features.
Downloaded 1442 times
These days, government-run social programs aim to accomplish a range of diverse objectives. There are programs that provide anything from healthcare and housing to sack lunches. Photographers can get government support, too, largely through the National Endowment for the Arts. But in 1930..
Ever since I started to use Macbook Pro, I have been complaining about the lack of bass in the sound output. Although iTunes has equalizer feature built-in and there is a preset setting called “Bass Booster”, the effect and improvement is still so weak that it cannot satisfy me at all.