I have uploaded my slides from my lightning talk on Surlex at Djangocon 2009. Here is the link.
Surlex (Simple URL Expression) is a language for matching and extracting text, similar to regex (regular expression). It works by generating a regular expression from a more concise syntax that is designed to produce easy-to-read url patterns. Installation Surlex is indexed in PyPI, so it can be installed via pip or easy_install: pip install surlex Alternatively, the source code repository is available via git: git clone git://github.com/codysoyland/surlex.git Basic Capturing A capture is performed by enclosing a variable name inside angle brackets:
The Firefly Media Server is a killer app for serving your music collection to DAAP-compatible music clients (including iTunes for Mac/Windows and Rhythmbox for Linux). One of it’s features that might go unnoticed is its ability to transcode OGG and FLAC compressed files to raw uncompressed sound, bypassing iTunes’s incompatibility with those formats. Getting Started The current stable Firefly release, version 0.2.4.2, does not scan FLAC metadata, so the resulting database contains “Unknown” for all the artist and song columns.
When working from a terminal, I often find myself typing the same commands over and over. There are a handful of long “cd” commands that I find myself typing regularly. I’ve found a few ways of speeding up my workflow by using some bash tools and tricks, and now I can usually get where I need to be with just a few keystrokes. Aliases Here are a few commands I find myself typing regularly: