E-Scribe : a programmer’s blog

About Me

PBX I'm Paul Bissex. I build web applications using open source software, especially Django. Started my career doing graphic design for newspapers and magazines in the '90s. Then wrote tech commentary and reviews for Wired, Salon, Chicago Tribune, and others you never heard of. Then I built operations software at a photography school. Then I helped big media serve 40 million pages a day. Then I worked on a translation services API doing millions of dollars of business. Now I'm building the core platform of a global startup accelerator. Feel free to email me.

Book

I co-wrote "Python Web Development with Django". It was the first book to cover the long-awaited Django 1.0. Published by Addison-Wesley and still in print!

Colophon

Built using Django, served with gunicorn and nginx. The database is SQLite. Hosted on a FreeBSD VPS at Johncompanies.com. Comment-spam protection by Akismet.

Pile o'Tags

Stuff I Use

bitbucket, Django, Emacs, FreeBSD, Git, jQuery, LaunchBar, Markdown, Mercurial, OS X, Python, Review Board, S3, SQLite, Sublime Text, Ubuntu Linux

Spam Report

At least 236428 pieces of comment spam killed since 2008, mostly via Akismet.

PHP/HTML enhancements for TextMate

My first little bit of TextMate language grammar hacking: PHP.tmbundle 2.0.1, which has two small enhancements over the stock 2.0:

Enjoy! Feedback is welcome. Thanks to Textmate author Allan Odgaard for helpful answers to my newbie questions on the TextMate mailing list.

Thursday, November 10th, 2005
+
3 comments

Comment from ritesh , later that day

this is good.

Comment from Bonatoc , 2 years later

Thanks a lot !

I found TextMate a little limited when it comes to colorize code, I mean it does not seem as customizable as... Dreamweaver (doh !). Is there a way to push further your hack and customize the coloring of, let's say <table> tags ?

Comment from Paul , 2 years later

TextMate's bundle features can be pushed very far (and do a lot more than syntax coloring). For learning more on this I recommend the manual or the book.

Keep in mind that the colorizing has a semantic component, i.e. if you wanted "table" tags to look different you'd have to alter TextMate's HTML language grammar (via the Bundle Editor) to treat them as something other than a regular tag. And then you'd have your own custom grammar that wouldn't integrate any future updates. Probably not worth the effort.

Comments are closed for this post. But I welcome questions/comments via email or Twitter.