Plan Zero

Code Bits

Perl
random ip generator
a random valid IP address generator.
random mac generator
a random MAC address generator which also attempts to set the MAC address of the specified network card.
whois lookup .uk
whois lookup program for UK domains.
upper case words
function to make the first letter of each new word upper case (similar to PHP's ucwords function).
execution time example
a simple demonstration of how to work out Perl script execution time (for scripts that take longer than a second to run).
PHP
valid luhn algorithm checker
a PHP function which will check a number, such as a credit card number, for validity using the LUHN algorithm.
ampify function
a PHP function to ensure the correct usage of the & entity within a string.
Javascript
valid luhn algorithm checker
a JavaScript function which will check a number, such as a credit card number, for validity using the LUHN algorithm.
C
whois lookup .uk
whois lookup program for UK domains; trivial but a handy demo of socket programming in C.
ASM (PIC 16F84A)
blink one
small program which cycles through 3 LEDs to create a small chaser effect.

That's it!

If you have any comments or questions regarding the code, feel free to contact me to let me know.