January 2012
1 post
3 tags
My UTF-8 Byte Order Mark (BOM) Adventure
Another random issue that I resolved earlier with the help of the Internet…
For quite some time now, I’ve had one particular JavaScript file in Extensible that, after every run through my build script, would come out the other side with a garbage character at the top of the file. When running it in the browser the page would choke with a strange “ILLEGAL CHARACTER” error...
December 2011
3 posts
3 tags
Markdown + Urls with Parentheses
Yet another completely random topic… I ran across this when trying to link to a resource on Microsoft’s MSDN site from a Markdown document. The link for the page is:
http://msdn.microsoft.com/en-us/library/dd633694(v=exchg.80).aspx
which as you can see, readily confuses Tumblr as well, which uses Markdown during editing and converts it automatically to the broken HTML seen above....
4 tags
Github Font Issue on Chrome for Mac
For weeks now, I’ve had the issue, only on the combination of Chrome 16 + Mac OSX 10.7 + Github + my MacBook Pro (I do not have this issue on my desktop Mac Pro, or in other browsers) where the font used for code on Github.com (e.g., for stuff like this) was displaying as the default browser font of Times New Roman. Let me tell you, Times is a painful font for web viewing in any context, but...
2 tags
Fixing a Stuck VM
My Parallels virtual machine got stuck in a “stopping” state earlier (after an aborted reboot of my physical machine) but it would never stop, and could not be restarted. Luckily this worked like a charm.
October 2011
1 post
August 2011
1 post
2 tags
Node Server Kill/Restart Script for OSX
There are times when it would be convenient to kill a running node server and/or restart it in an automated fashion, by name rather than by process id. It’s easy enough to kill a process in Linux, but first you have to find it. It’s simple to list all active process, filtering based on part of the process name like so, assuming a node server named “myserver”:
ps ax |...