Category Archives: programming

A few useful git links

I recently saw one approach to the “what git branch am I on?” issue, which (if you’re using the bash shell) puts your current branch into your prompt. There’s also tortoisegit for Windows. TortoiseSVN has always been one of the best things about SVN, so it’s good to see a clone pop up for git.

Intrepidly lacking

I updated my desktop to the new Ubuntu release (Intrepid Ibix) This is mostly good, but I discovered a problem as a side-effect of them improving their mouse support. Now that my mouse is auto-detected with all its buttons, the side-button no longer defaults to being a middle-click. I like having the side-button do middle [...]

Deliciously rebranded

Del.icio.us rebranded to Delicious, along with a new URL. This happened a week or two ago. Incidentally, this new URL broke my delicious widget. I just noticed that a half-hour ago. So it’s fixed.

Distracted

I’ve been very distracted by a new job since the end of April. Thus, quiet.

del.icio.us plus 1.1

New version of my del.icio.us widget. The only real change is that it now allows for multiple instances of the widget. So you can have one showing the ‘food’ tag, and the other showing the ‘yodeling’ tag, say.

Strange incompleteness

WordPress‘s API documentation is weirdly incomplete. The official function reference, for instance, was last updated for WordPress 2.1, and we’re now on 2.5. This is making updating that widget I wrote be more of a hassle than I expected.

Topsy turvy

A bug report for maphilight lead to me becoming aware of a fascinating quirk in IE. A quirk in which IE holds to published standards with fanatical zeal, contrary to everything one might have come to expect, and far in excess of Firefox/Opera/Safari. When you use the .innerHTML property to add an element to the [...]

del.icio.us widget

I couldn’t find a WordPress widget that produced output similar to del.icio.us’s linkrolls script. (You can just put their script into a Text widget, but its output doesn’t always mesh well with WordPress themes — it hardcodes h2s, and so forth.) The Automattic example widget came close, but was a bit lacking on the customization [...]

Code Markup plugin

As one naturally does, I noticed that my blog wasn’t validating. It turned out that I’d forgotten to escape the << in the Ruby on Rails PDFs example. So I installed Code Markup, a plugin that does all that escaping for me when it notices a <code> block. It seems to Just Work, and lets [...]

Creating an image map from SVG

I was asked how I made the map in my examples earlier. I wrote a small script to do it. (The script is quite limited — I only made it complete enough to handle the SVG files I was using. Others might break it. Also, it requires pyparsing… and hoo-boy is that slow.) Example! Wikipedia [...]