Nov05
Twitter Archiving with PHP and Ruby
Really rough, but easy to drop in and get working with something else, either as an external script or by integrating directly into a larger code base.
The code:
PHP: Gist 214887
Continue reading »Nov05
Really rough, but easy to drop in and get working with something else, either as an external script or by integrating directly into a larger code base.
The code:
PHP: Gist 214887
Continue reading »Sep21
I hope to save some other poor saps from suffering the same ill experience I just went through trying to use SQLite3 with CodeIgniter 1.7.2. I’m going to contribute to the wiki page on this topic as well, but it’s a mess and my contribution may become lost in the noise.
Continue reading »Aug15
My interest in smartphone development finally breached a level where I felt compelled to download the Android SDK and buy the Hello, Android book.
Continue reading »Jan30
I wanted to create an interface that would be implemented by a group of classes all extending the same abstract class. Curiosity led me to try implementing the interface in the abstract class alone, forcing the interface’s requirements down to descendants by way of abstract functions fulfilling the interface’s requirements and in turn obligating descendant classes to implement them.
Continue reading »Sep30
When declaring members of a class in PHP, only the most basic of value assignments may be immediately made.
HTML parse error: <pre class="brush: php;">private $var = 'test'; // will work private $var2 = $var; // will not workContinue reading »
Sep26
A PHP string will be considered false only under two conditions: either when it is empty or when it contains the single character 0 (zero).
A string of multiple zeros will result in a return value oftrue.