Category: code library
In some cases, you just need to write a console application and want to be able to pass in different command line parameters as key/pairs. You can use the …
Convert a non-negative integer to its English words representation. Given input is guaranteed to be less than 231 – 1. For example, 123 – “One Hundred Twenty Three” 12345 …
3D vector operations are quite useful and common in the math world, especially when it involves the geometry. The following is a simple class made in PHP that encapsulates …
The Tweeter is not good at displaying all tweets. I have more than 600 tweets so far (most of them are sent by PHP script at VPS). If you …
When learning a new programming language (scripting or general), it is always better to try something easy, simple at first. My recommendation is to implement the Fibonacci computation, which …