Skip to content

Monthly Archives: June 2005

functions and error handling

14-Jun-05

.!. Last time I tweaked the parser, tonight I’m going to move some of the code into functions. Many people think of functions as a way to reuse the same code, but they can also be used to seperate logic into bite sized chucks. This can often lead to code that’s easier to read, and [...]

updated parser

10-Jun-05

.!. In my last post I was using if and else to look for each tag, and act on it. Tonight I’m going to convert that ugly mess to a case statement. It’s easier to read, and doesn’t have the hackish feel of if then, else. I also learned a new trick that will help [...]

podCastTorrent.com – My latest project.

09-Jun-05

.!. podCast Torrent I’m starting a new site for podcasters in need of some bandwidth relief. podCastTorrent.com will offer free BitTorrent Tracker services to podcasters. Right now we’ve only got the 17 episodes of The Roadhouse online, but hope to add more as podcasters sign up. We are testing the tracker. (Yeah!) If you want [...]

process substitution in bash

05-Jun-05

.!. The internets are slow tonight, and I’m tired, so I’ll just leave you with something quick. Tommorrow I’ll pick back up on the podcast script. Let’s look at this short script: #!/bin/bash LIST=”" ls | while read FILE ; do    LIST=”${FILE} ${LIST}” done echo $LIST You may be suprised to find that LIST is [...]

Weblog Tools Collection – WordPress Plugin Competition Update #4

01-Jun-05

Weblog Tools Collection – WordPress Plugin Competition Update #4 An update on the plugin contest. I’ll be cleaning up the code on 2 or 3 plugins this week. The end of the plugin competition is on 15 days away. We have over 52 registered authors on the pluginblog, many many plugins have come out of [...]