Random in JS

A new JavaScript random with minimum and maximum values.

Posted -18 days ago / read

PHP 5.3 Cool autoload

This is a quick and simple autoload for PHP 5.3

Posted -9 days ago / read

JavaScript extend prototype as class

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

Posted -16 days ago / read

PHP: Array union operator

An alternative to merge two arrays into one.

Posted 2 days ago / read

PHPUnit: Generic set and get tests

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

Posted -11 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 yesterday / read

Ten Commandments

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

Posted -25 days ago / read

PHP: Don't be specific

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

Posted -17 days ago / read

CLI Code Prototyping

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

Posted -14 days ago / read

Tiny browser tools

No addons. No ToolBars. 100% Crossbrowser.

Posted -12 days ago / read

Older posts »