The usual solution to typing non-US characters on a US keyboard in Windows is to hold left-alt, then type on the numeric keypad: £ Left-alt + 0163 € Left-alt + 0128 This is a pain on my (otherwise fabulous) Thinkpad Continue reading £ key in Windows on a US laptop keyboard, done right.
Update: All of the below is made totally redundant by simply using ‘gitk --all’. Thanks Russel! When I launch Gitk, it just displays the current branch. To display other branches, you must name them on the command line. To display Continue reading Launch Gitk displaying all branches
How to set up and configure Vim to use tags for Python development so that it doesn’t suck. Install Ctags Get the latest version of ctags, put it on your PATH. Recent releases are much improved for Python. Creating or Continue reading ‘Go to Definition’ in Vim for Python using Ctags, Done Right
In which I once again indulge my obscure command-line fetish. I often spend hours of my day cycling through: Edit code and its unit tests Save my changes Push a button or change window focus to explicitly re-run the code’s Continue reading Rerun unit tests whenever files update
A reminder for myself: ANSI escape characters don’t work properly in Windows terminals: To make them work properly, use AnsiCon. Unzip it somewhere permanent (eg. %ProgramFiles%\ansicon) and install it with: ansicon.exe -i start a new terminal, and lo: Fine tune Continue reading More Colored Terminal text on Windows: AnsiCon
Announcing new Python package, colorama: http://pypi.python.org/pypi/colorama ANSI escape character sequences have long been used to produce colored terminal text on Unix and Macs. Colorama makes this work on Windows, too. It also provides some shortcuts to help generate these ANSI Continue reading colorama: Simple cross-platform Python API for colored terminal text
The following was originally published in the excellent Python Magazine. Thier contractual exclusivity period has now long expired, so here it comes again. Many thanks to my technical reviewer Michael Foord, and to the editors Brandon Craig Rhodes and Doug Continue reading Acceptance Testing .NET Applications using IronPython