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 10, 2005

Laptop Maintenence Script


If you own a laptop that runs OS X and you put it to sleep, chances are the built in maintenance scripts don't run often or ever. Cron executes these tasks in the middle of the night by default. This script will run the regular periodic maintenance tasks plus it will repair your disc permissions, updated your prebinding (to make applications start faster), and if you have fink installed it will update that and all your packages too. Just run it with root permission: sudo optimize.sh

Continue reading "Laptop Maintenence Script"
Posted by joshua at 1:28 AM | 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

March 2, 2005

Share Your EyeTV Archive

If you have an Elgato EyeTV PRV for your Mac and you want to share the recorded programs on a local network you've got a problem. I love the interface but you're pretty much forced to use it if you want to access your content. EyeTV stores your programs in a directory on your hard drive but its far from as user friendly as the system iTunes uses.

Continue reading "Share Your EyeTV Archive"
Posted by joshua at 1:07 AM | Comments (3) | TrackBack (0)