Code highlighting in Mephisto
October 16th, 2007
I assumed this would be really obvious but I had to scour the internet to find instructions.
I wanted to use the included server side highlighting, as described on the Mephisto wiki. It turns out, though, that the correct tag is "filter:code", eg:
Read the rest of this entryGenerating basic initialize methods in Ruby
October 13th, 2007
In reply to a post today on ruby-talk, I came up with this monkey-patch that lets you write long initialize methods in one line:
Read the rest of this entryMac OS X services in Ruby with Bellhop
October 7th, 2007
So, I was finishing off the list of programs I use on my Mac, which started off just as bullet-pointed plain text (I typed each program in as I installed it). This being the interweb, I figured it'd be a bit flash if you could click on the program names and be shown their web sites.
Half way down the page, doing this by hand, I got very bored.
Goal: I want to select a URL, select Shiira > Services > Markdown URL and have the title of the page at that URL used as the name of a Markdown link. (For some reason, I started using Markdown, not Textile.)
Easy? Well it is if you know how.
Read the rest of this entry