April 26, 2005

Share Your EyeTV Archive - v1.2

When I posted my original shell script to make a folder of links to your EyeTV recordings with human-readable names, it caught on faster then I expected. I made no real effort to promote it, but soon my referrer logs showed it had been posted on the CenterStage message board and the AV Science Forum. The only explanation is someone found my comment here. Since at least a few people found the script useful too, I was motivated to rewrite it in perl. I had been meaning to do this for a while, and I knew I should have done it with perl in the first place. Plus, I fixed a bug where two recordings of the same show on the same day would only link the latter. (Thanks Jan!)

Continue reading "Share Your EyeTV Archive - v1.2"
Posted by joshua at 9:38 PM | Comments (3)

April 11, 2005

Download a Web Gallery with wget

Ok, let's skip the obvious jokes about downloading pr0n. People look at galleries of photos that their friends upload on the web too. If you want to download the entire gallery it can be tedious and time consuming. Enter wget—a great and free application that will allow you to download files off the web in an automated process. Give it a list of things to download and it will return a directory full of the files you wanted. The following tutorial covers two parts: Using a perl filter to extract the image paths from a web gallery and downloading the images with wget.

Continue reading "Download a Web Gallery with wget"
Posted by joshua at 8:25 PM | Comments (1) | TrackBack (0)

March 16, 2005

BBEdit HTML Entity Maker

I am constantly pasting text into BBEdit in the middle of markup. This copy often needs the entities to be encoded before the page can be published or it won't validate. I created this simple perl filter to automatically substitute the correct entitly code for each un-encoded character in a selection of text.

Continue reading "BBEdit HTML Entity Maker"
Posted by joshua at 10:00 PM | Comments (0)

March 9, 2005

Quick Scripts and CLI Enhancements


I've been spending more and more time in terminal since I often want a more powerful way to do things. As such I've been modifying my environment and creating tools for the CLI that help me work faster and more efficiently.

I'm going to post a few of these scripts and environment tweaks here over the next few days. Here's a new one that I just whipped together to search all the directories in my $MANPATH for a keyword or just list everything if run with no arguments.

Continue reading "Quick Scripts and CLI Enhancements"
Posted by joshua at 11:20 AM | Comments (0)

March 4, 2005

cpan talks


Just now my computer screamed and started talking. My first reaction was that I must have left a browser window open and a flash ad decided it was done loading and wanted my attention. It turned out to be a terminal window. I was running:
cpan> install Mac::Files
It apparently tests speech during the install process. Scared the crap out of me.
Posted by joshua at 10:36 PM