Category: Python
I tend to use several music/media players, such as shell-fm, moc and Clementine. In order to be able to use the media buttons on my keyboard for pausing/skipping, I wrote this Python script to automatically route the commands to the right one.
Using IPython deep inside a program...
I discovered hgview, a really great replacement for hgk.
How can I get the Mercurial Eclipse plugin to just recognise an existing folder as a Mercurial repository?
How I set up Eclipse to work with an existing project using virtualenv
Based on my recent Haskell experience, I highlight some cases where I think static type checks provide a better testing mechanism than unit tests or other automated tests.
A lot of discussion recently has missed the point: the big question is whether the terms of any software licence are really relevant to dynamic languages...
I've blogged before about using trac as a personal wiki, now I've found I can use Emacs as my editor and trac browser it's even better...
A review of "Django 1.0 Template Development" by Scott Newman, from Packt Publishing.
An article from Django 1.0 Template Development by Scott Newman, about how to output a document in multiple formats/styles using Django templates.
A simple way to use Mercurial Queues in a Subversion working directory to manage patches before committing to Subversion.
After reading that in Python 2.5 some big memory leaks are fixed, I just switched a Django site from Python 2.4 to Python 2.5. I wasn't disappointed -- the combined memory usage of my Apache processes (which are using mod_python) went from 100Mb to 60Mb. So, for anyone else wanted to conserve memory, this is the first thing I'd suggest!
I created a system and web app to help me organise my Bible memorisation. And I rant a bit Django and web.py.
How to use Twill within Django unit tests
Some tools to help organise your computer and files.
I present below some example code for using Django, newforms and MochiKit to do AJAX validation, in case anyone else is doing the same, complete with a live demo...
How to write blog postings in reStructuredText, integrating HsColour and Pygments automatically.
My results on the O'Reilly's code quiz...
Why Haskell's 'Maybe' totally pwns Python's 'None' and null pointers.
« Back | Next »