Palm Pre Mojo SDK experiments

As a new Pre owner, I was curious to learn to code for the Palm WebOS SDK (Mojo). Whenever I try to learn a new technology, I try to build a functional test project. So… what to build for WebOS? Since the Pre’s web browser doesn’t currently support the W3C Geolocation spec used by Flickr [...]

Source Highlighting for WordPress

I wanted to have a source code highlighting plugin for WordPress, and the best existing one seems to be Amit Gupta’s iG:Syntax Hiliter. However, a number of things about that plugin annoyed me… so I changed them. Three cheers for open source! Added SCROLL_BOX and SHOW_LANG style variables to definitions, to make it easier for [...]

Random Grouphug

Need a grouphug? #!/usr/bin/perl use LWP::Simple; $_ = get(‘http://grouphug.us/random/’); m| (.*?) |ism; $_ = $1; s/< ([^>]+)>//ig; s/^s*//; s/s*$//; print “$_n”; Warning: reading people’s confessions is addictive, and occasionally NWS.

NmapFE Updated

I managed to dig out the Powerbook this weekend to update NmapFE for OSX. Pretty much just an update to nmap 3.70 engine, which provides much faster scanning in some cases. It’s a bit strange being the sole developer for a project I don’t even use myself, that runs on an operating system I no [...]

Google Calculator from Command Line

I used to frequently use bc or units from the command line to handle any quick calculation needs, but the handiness of google calculator (as documented in many other places) has largely displaced them. Who wants to bother to open a web browser for results though? So I made a quick perl hack to grab [...]

Renaming Files with RegEx

I finally found a good command-line solution for batch renaming files, and would always end up writing some damn overly complex tcsh foreach loop. This short perl script basically just wraps Perl pattern matching into a file renamer shell script, but its quick and handy for those familiar with that type of syntax. [kaffe:~/screenshots] matthew% [...]

New Software: CommentFinder

Readers of my blog get to be the first to play with a new software hack I wrote, CommentFinder. CommentFinder will take a website and reveal with a visible graphic the inline comments the author left in the code, much as if it would look if you were editing the page in Dreamweaver. If you [...]