Home Link

Hello, my name is Brett Terpstra, and it’s nice to meet you. Elegant solutions to complex problems. Curious?

Posts Tagged ‘textmate’

Jul 08
2010

A good friend of mine, Christina Warren, just published a piece on Mashable / Dev & Design about TextMate themes, and it warms my heart to know there are other people as dedicated to this aging text editor as I am. She also made her collection available on GitHub, so check that out if you’re in the market for a new look.

Despite the lack of any major TextMate update for years now, it’s still my absolute favorite editor. I’ve tried to let go of it. I played with Coda when it came out, and even tried to port some of my favorite TextMate bundles (without much success), but in the end it turned out that I really li

Jun 19
2010

Just a quick hit on this one… when hacking away at the styles of things one probably shouldn’t be hacking away at, embedding images right in the CSS is a handy trick. It’s done by Base64 encoding the image, removing line breaks from the resulting string, and using it to set the background property for the CSS rule.

It looks something like this (truncated):

[…]

The image/png changes depending on the filetype that’s encoded, becoming image/jpg or image/gif, etc…

Nov 12
2009

This is a quick and dirty Snow Leopard Service that scrapes Songza​.fm to find a song related to your selected text in most applications. It replaces the selected text with an is​.gd shortened link and the name of the first song it found (just to be sure you’re on the same page… literally). The code is also available as a TextMate command for those interested. Update: TextMate command with link selection popup.

The service (and TextMate command) require the Hpricot gem for ruby. In most cases, this should be installable from the command line with […]…

Nov 03
2009

It may take me a while to convert my setup back to the old days of TextMate blogging. I’ve primarily been blogging for TUAW, which uses a blogging system with very poor XMLRPC support. The end result of this, for me, was the development of an elaborate TextMate bundle which emulated the ease-of-use that TextMate provides to bloggers on WordPress (and other platforms). I have, I guess, forgotten how to do this. So this post is going to begin as a test, to be continued with some ideas, some tools, and some discoveries I’ve made in my time away from the glory of TextMate blogging…

Entries (RSS) and Comments (RSS).