Change the server timezone under Debian

Jul 31

Change the server timezone under Debian

Debian has a little known tool that does the job exceptionally well. dpkg-reconfigure tzdata Run that command and it will permanently change the timezone for the system.

Read More

fetch_feed not pulling updates in WordPress

Apr 05

fetch_feed not pulling updates in WordPress

One of the features we launched last week uses the popular fetch_feed() function to pull a RSS feed from FeedBurner. During the development this feature worked as expected but soon after going live we found it failed to get the updates from upstream in the timely manner. It turned out the default cache duration in WordPress is just too long, we needed a shorter time...

Read More

Moving WordPress to a new domain

Apr 02

Moving WordPress to a new domain

If you moved your WordPress installation to a new domain but forgot to change the WordPress/Blog address settings first, don’t panic. Here’s what you need to do to get your site back up and running provided that you have access to the database. The WordPress Address and Blog Address are stored in the wp_options table. So go to your database and run the...

Read More

How to set up email alias with Hotmail

Mar 29

How to set up email alias with Hotmail

In early 2011 Hotmail gave users the option to add new accounts to existing one without going through the pain of registration. By simply going to the Options menu and choosing a new, available alias you can create a few more accounts instantly. Follow these steps: Click on the Options menu on the top right corner of your screen and choose More options... Under...

Read More

simplexml_load_file not working in WordPress

Mar 25

simplexml_load_file not working in WordPress

The problem: Couldn’t get simplexml_load_file to load an xml file that is in the same directory with the script that calls the parser. The error reads: PHP Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity Briefly go over our setup so you could understand the issue easier. We have a page in WordPress...

Read More

jQuery tipsy with tooltip graphic

Mar 19

jQuery tipsy with tooltip graphic

For one of the projects, I wanted the tooltip to be displayed when particular event happened instead of the standard mouseover. I tried to use the jQuery Tooltip because of its features and great looking graphic. However, I just couldn’t figure out how to call its API to use the show() and hide() functions because of the lack of documentations. tipsy offers...

Read More