Archives for September 2009

Blog Is Open

I’ve just added the DNS info for this blog, so it’s officially open to the world. I have had it up for about a month and a half in order to play around with the theme, plugins, etc. There is always more to do, but I feel like the current setup is fairly [...]

Dynamically Escape Regular Expressions In JavaScript

I’m not sure why, but JavaScript doesn’t appear to have a good way of escaping regular expressions that are provided dynamically. In my case, I was using a string provided as part of a JSON AJAX response, and I realized that it contained a question mark, which has special meaning in a regular expression. [...]

Lock The Screen In OS X

One of the features I am used to having is a quick way to lock the computer. In Gnome (Linux), it’s typically Ctrl+Alt+L. In Windows, it’s Windows+L. In OS X, it’s… uh… a secret? I thought for sure I could just hit Command+L, but that wasn’t it, so I asked Google. [...]

Open Images With Preview Not Photoshop

One very frustrating feature of OS X is that saving an image in Photoshop will cause the “open with” action to use Photoshop. In other words, you can double-click an image to open it in Preview, but if it’s been edited in Photoshop, it instead opens in Photoshop. This is really irritating since [...]