Random in JS

A new JavaScript random with minimum and maximum values.

Posted yesterday / read

PHP 5.3 Cool autoload

This is a quick and simple autoload for PHP 5.3

Posted on 03-12-2010 / read

JavaScript extend prototype as class

In JS you have prototype instead of classes, so you can extend directly. This is a workaround.

Posted 1 days ago / read

PHP: Array union operator

An alternative to merge two arrays into one.

Posted on 10-01-2009 / read

PHPUnit: Generic set and get tests

A simple test method to set*() and get*()

Posted 6 days ago / read

PHP Import a large mysql database

Script to import a really large database if you don't have SSH to do it.

Posted on 09-04-2009 / read

Ten Commandments

Today I found an Athiests 10 Commandments. Curiosly, there is no difference with programmer's commandments.

Posted -8 days ago / read

PHP: Don't be specific

Your PHP environment and server's are different. Try to be generic.

Posted today / read

CLI Code Prototyping

The fastest way to figure out if your code will work or not is CLI.

Posted 3 days ago / read

Tiny browser tools

No addons. No ToolBars. 100% Crossbrowser.

Posted 5 days ago / read

Older posts »