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 details
Click “Clear Now”
After [...]
December 17, 2009, 11:59 pm
This is a function I wrote to use for creating advanced easing effects without using JQuery, MooTools or other JS libraries.
The function can be called as follows:
tween(element, property, from, to, duration, [optional] function)
Parameters
element: The id of the HTML element you want to animate
property: The CSS property that you want to animate
from: The initial value (like [...]
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 page you want [...]
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 ommit [...]
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, it will show this [...]
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 upgrade
sudo do-release-upgrade
August 7, 2009, 11:00 am
My brother asked:
Please, 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?
thanks
Relying on the Mime-type of a file submitted by a user is a bad practice, using the extension is even worse!
Some people use functions of the php [...]
August 5, 2009, 5:23 pm

Description and Features:
Enhance your website accessibility and add posts navigation arrows within posts to let you and your visitors navigate very easily between posts and pages:
Place top and down arrow within posts
Topmost arrow or downmost arrow take you to the previous or next page
No additional images loaded
No JavaScript
Unlike all other similar mods, this one is [...]
August 5, 2009, 6:35 am
This also was about to drive me crazy so I will not let it go without writing about it..
Let’s say you have some long HTML code contained on a PHP variable, something like this
<?php
# define the $html variable using the
# Nowdoc syntax to avoid parsing
$html = <<<’HTML’
<div id=”box”>
<h1>Title</h1>
<p>Article contents + comments</p>
</div>
HTML;
# [...]