January 9, 2010, 9:15 am
The problem Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2516315 bytes) in /home/mydomain/public_html/blog/wp-includes/http.php on line 1370 This can happen at any line and with any file, not only http.php at line 1370! Explanation Don’t worry if you get this error, there is nothing wrong with your server or hosting plan [...]
January 1, 2010, 5:49 pm
After the release of Opera 10.5 Alpha, it’s now be possible to rotate elements, this new release includes support for CSS3 rotation and other transitions and transforms, we may not longer need JavaScript for some basic transformations, have a taste: Download Opera 10.5 Alpha See the demonstration The demonstration doesn’t show rotation, so the CSS [...]
December 23, 2009, 12:37 am

Firefox creators made things really user friendly IMO You can clear Firefox cache by following these three steps: Press Ctrl+Shift+Del Choose the time range and tick the part of your history you wanna get rid of (Browsing and Download History, Forms & Search Data, etc…), you may need to click the arrow to show those [...]
December 17, 2009, 11:59 pm
This is a small library I wrote for creating simple and complicated easing effects without using JQuery, MooTools or other JS libraries. The library is small 13.4 KB or 5.6 KB compressed, The function can be called as follows: tween(element, property, from, to, duration, [optional] function) Parameters element: The id of the HTML element you [...]
October 27, 2009, 8:33 pm

This can be done with a few clicks from your WordPress blog control panel. So first login to your control panel, then under the Settings menu choose Reading, after the page finishes loading, choose A static page (select below) for the option Front page displays, then on the first drop-down list that follows choose the [...]
August 24, 2009, 7:09 am
The best you can do with built in JavaScript functions is to round a number to the nearest integer using the method Math.round(x), so to round a float to n decimal points we need to come up with our own function. The function round_float() rounds a floating point number x to n decimals, if you [...]
August 13, 2009, 9:39 am
Description You just upgraded WordPress and “My Category Order” (widget and functions) do not display any categories. I hate to be you! But wait… Solution This is normal and you can fix it very easily by visiting the “My Category Order” page. When you visit the plugin page the first time after a WordPress upgrade, [...]
August 10, 2009, 2:21 am
The JavaScript methods setAttribute and getAttribute are very handy when you are designing dynamic effects for your website, but those methods have a lot of bugs in IE (6 an 7 at least), I use these two crossbrowser functions as alternatives instead of using directly setAttribute() and getAttribute(), I’ve been using them for quite a [...]
August 8, 2009, 1:19 am
You can upgrade your linux system using the package manager APT which is available on debian based distributions: First we have to update all the packages installed: $ sudo apt-get update $ sudo apt-get upgrade Now we make sure that we have the update-manager-core package installed with: sudo apt-get install update-manager-core Then we start the [...]
August 7, 2009, 11:00 am
The Problem Do you know a method in PHP to check the type of an uploaded file without relying on extension or Mime-type because these two can be faked? Verifying the file type in PHP Relying on the Mime-type of a file submitted by a user is a bad practice, using the extension is even [...]