converting tabs to spaces in vi
This is mostly for my own personal reference - just one of those little things I use frequently and always forget how to set up:
If you're writing Python, then you know that indentation is, uhm, somewhat important. Mkay. I use four space indentation as a standard, but ...
Read More
If you're writing Python, then you know that indentation is, uhm, somewhat important. Mkay. I use four space indentation as a standard, but ...
Read More
Super simple pagination, WITHOUT using Django's Paginator object
Once again, I've been struggling with pagination. It's not that I don't like Django's Paginator object ... it's that ... well, okay, I don't like it. Anyway, I just needed something painfully simple for this site, and Paginator seemed a little like overkill.
So here's my super-simple ...
Read More
So here's my super-simple ...
Read More
Using Python str, datetime, lists and sets to group dates
I'm in the process of writing my own blog app (project 'belleville'), one that will eventually replace the Wordpress blog that this site is using, and one of the things I need is a templatetag for the sidebar that lists archive dates, grouped by month - it should look ...
Read More
Read More





