Highlighting source code in WordPress with Pygments
So I was playing around with the rather nice SyntaxHighlighter WordPress plugin. It worked pretty nicely. But it had some issues, IMO: It repurposes the class attribute to act like a pseudo-CSS ruleset...
View ArticleString parsing
String parsing in C is painful and annoying. I want to parse the components of an absolute POSIX path. Here’s the code to do it in several languages. PHP: Objective-C: C using CoreFoundation: Python:...
View ArticleThe utility of a scripting language.
I feel like quite a geek. I had some text copied from my IRC client that I wanted to transform to XML for my XSLT sheet to display all nicely on the Web interface. Format of a line copied from the...
View ArticlePHP Advent 2011
A couple weeks ago, I was approached by Sean Coates and Chris Shiflett to write an article for their annual PHP Advent blog. So I did. Thanks for having me, Sean and Chris!
View Article
More Pages to Explore .....