For the past couple years, I've switched back and forth between TextMate and VIM as my primary editor. Lately, I've been on a huge TextMate kick and decided to see what all I could do to customize it. Python, being my primary language, is what I wanted to write my scripts in. However, most of the TextMate bundles are written in Ruby (a language I don't at all understand -- it looks crazy to me). After much digging around in the source of some of these bundles and pecking through Ruby to see how it's interacting with TextMate, I was able come up with a little script.

Posted by brutimus on March 20, 2008

textmate, django, python, dpaste, bundle, paste

One day after my first tagging post, I complete my tagging section. Like I mentioned in the previous post, if you up in the little orange box to the top left, you can see a list of tags that I've used on my weblog entries.

Posted by brutimus on July 26, 2007

django, html, development, templates, tags, cloud

On several occasions, I (and the templaters on my team) have needed a way to do datetime comparisons from within a template. The first example is testing if the pub_date on an object is today. Usually, I just end up writing a helper method on the model to do this; something like is_today. However, we've run into several instances where this wasn't possible or it would have just been too much of a mess to write these helper methods on every model. I then decided to create a little templatetag to take care of this for me.

Posted by brutimus on March 8, 2008

django, python, template, templatetag, regex, datetime

I've decided to finally get around to detailing what I've created in this site so far and what is yet to come. Right now it's very simple -- just some simple django on the back and simple CSS + HTML + JavaScript on the front.

Posted by brutimus on July 23, 2007

django, html, css, javascript, development, pygments, mootools, showmedo

Links:

Archives

RSS feeds

Made with vim