« Older Page 1 of 13

Archive of all Entries

Syntax Highlighting on the Web

The state of Syntax highlighting on the web, why I think JavaScript highlighting libraries make more sense than server side solutions and how that relates to Markdown.

Python-Markdown Tutorial Part 2: Changing Bold and Italics

Part 2 is a series of tutorials which step through creating a simple Python-Markdown Extension that slightly alters the Markdown syntax. Specifically, in this part, we redefine the "bold" and "italics" syntax, overriding the parsers current behavior.

Python-Markdown Tutorial Part 1: Adding InlinePatterns Insert and Delete

A tutorial which steps through creating a simple Python-Markdown Extension which slightly alters the Markdown syntax. Specifically, we add an inline syntax for <ins> and <del>.

Nosetests, Generators and Descriptions

I've recently been playing around with the nose testing framework for Python. It's pretty slick! With the various hooks for plugins, one can make it work pretty much however one wants. And what I especially like is support for generators. However, even with all this power, giving a meaningful name to each generated test is less than straightforward. Here are a few approaches that work.

Git, Interactive Rebase and Ubuntu

Ubuntu provides an older version of Git that lacks the interactive rebase option. Here's how I upgraded and got things working properly for total control of of my git repositories.