Category: Tips n Tricks
-
Quickest way to get timestamp of a time in a particular timezone in PHP
Playing with timezone conversions can be crazy, it still confuses me every time and I have to wait a minute to run some test code to figure out what’s it that I am trying to do here. Anyway, the quickest way I have to get timestamp of a time in particular time zone is This…
-
Get WordPress images from a different site
Developers usually work on their local installs before pushing any changes to the live or production server and that’s how a developer’s workflow should be. In order to setup a local or dev install on which a developer can work or test, they need to pull down the codebase and database dump to exactly mirror…
-
WordPress plugin Facebook Like Thumbnail Updates
I have updated my WordPress plugin to fix Facebook Like Thumbnails to version 0.2 which I am sure will make the existing users happy! 🙂 Some of the users who quickly upgraded might be facing issues because of a silly mistake on my part. If the plugin has disappeared from the plugins listing, then you…
-
Which one to use WP_Query vs query_posts() vs get_posts()?
There are several instances where we want to display content other than what WordPress displays at a particular page. There are three methods which you can use, but each of them is meant for a specific purpose, otherwise why would they have existed? Makes sense? Good! Some tutorials use one, some other and many of…
-
Using Ubuntu Notification System – NotifyOSD
Ubuntu features a notification system, where you can see a message notifying you about some particular event. Rhythmbox uses it to show the next track when a track ends, Filezilla shows a notification that file transfers are completed when its window is not in focus (Very handy!) and so on several applications can use it…
-
Deal with Blog Scrappers getting indexed quicker than the original site
Although its not something that one should be worried about as such things often happen, and its actually a sign that you are growing. I would suggest you to just keep going on with the quality content on your site and not to worry about them scrapping your articles. Google does a pretty good job…
-
Last.fm free Internet Radio hack
Last.fm is a great service which scrobbles (track) what music you listen to and then recommend you new music based on what you like to listen. You can totally keep your music database online and discover new music that you will actually like. It works great. It offers an Internet radio service which is paid…