source code

C* Music Player Audioscrobbler/Last.fm patch

Frank Terbeck wrote a patch for cmus that adds support for Audioscrobbler/Last.fm. He doesn’t use/maintain it any more, and was kind enough to allow me to take it over for him. I’ve updated it to reflect the current changes to the cmus codebase. I plan to take some time this summer to get it ready for mainline cmus inclusion. Until then, it’s just a patchset.

Download link and useage after the jump.

Continue Reading »

source code

Comments (1)

Permalink

Everybody Loves Regular Expressions!

I’ve had several requests for my “Regular Expressions Quick-Reference/Comparison Chart,” so I’m posting it here. At the moment, it covers the vim-, BRE- (used by ed, sed, and grep), ERE- (used by egrep, and sed -r), and perl- (used by perl (naturally!) and most copies of rename) flavors at the moment. This is still quite a work in progress—I’m considering adding another column (perhaps ruby?), and I’m sure there are at least one or two typos that I’ve let slip through. Please tell me if you find any errors at all, either through comment here or by email.

Regular Expressions Quick-Reference/Comparison Chart (150dpi PNG)
(The requisite preview thumbnail—click to see the 150dpi PNG version.)

After the jump, I’ve attached PDF, postscript, and closely-cropped PNG (150- and 300dpi) versions. I’ve also included my LaTeX source file. Enjoy!

The first release is current, last revised on 2008-04-23. (I will update this line as versions are released.)

Continue Reading »

regex
regular expressions
source code

Comments (1)

Permalink

Handy scripts!

So, as proof that I still exist, I’m posting some scripts that I’ve used as of late. I’m sure they’re simplistic, flawed, and trivial to replicate. However, they’re what I needed, so I assume there are other people out there who could use them, too.

Continue Reading »

scripts
source code

Comments (0)

Permalink