Recently Added

Dynamic browser-like tabs with JQuery

Posted by oshua in JQuery on 02. Sep, 2009 | No Comments

Using jquery it is pretty easy to create some tabbed content. You can take advantage of some straightforward functions like
It is also pretty easy to load some remote URL using ajax:
However, it is not so simple to create tabs dynamically that load content in which you can actually do some more actions than simply viewing [...]

Configure web server on CentOS 5 in 5 minutes

Posted by oshua in General on 25. Aug, 2009 | No Comments

This is the minimum required to install and configure a web server on a CentOS 5 new installation:
1. Install php, apache and some other common libraries
yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel
To start apache automatically when the server starts
chkconfig –levels 235 httpd on
Restart apache
/etc/init.d/httpd [...]

3 ways to cleanup an e-mail’s database

Posted by oshua in Mail, PHP on 20. Aug, 2009 | 2 Comments

Nowadays to keep a database of email addresses clean is a primary task. Free mail services like Yahoo give low priority to mails coming from servers that have a history of sending mails to non-existent or disabled email accounts. Here I show 3 ways to cleanup e-mail’s databases automatically.

4 reasons to switch to Imagick if you still use GD

Posted by oshua in PHP on 18. Aug, 2009 | No Comments

Here are some reasons why Imagick is much better than GD:
- Image quality: even after common operations like resizing results are obvious. Make a simple test, try resizing an image with more than 1000×1000 pixels with GD and then do it with Imagick. You’ll see what I am talking about.
- Class based: operations are as [...]

Jquery getJSON function

Posted by oshua in JQuery on 17. Aug, 2009 | No Comments

Let’s suppose you want to fill multiple select boxes dynamically, but the number is larger than 2 selectboxes and there is a chain of “onchange” events on each one. You will probably be using json to fill the data with an ajaxcall to an API or a script with database calls. Using ajax, you might [...]

Ubuntu 8.10 video resolution

Posted by oshua in Linux on 17. Aug, 2009 | No Comments

If you are using Ubuntu 8.10 and a VIA UniChrome Family Display you might find not being able to go over a video resolution of 800×600. Also if you search the latest driver on VIA Arena for Ubuntu you will find it is only for version 7.10. The solution is to go to
There you [...]