Monthly Archives: September 2011

Request Tracker Watchdog

I recently upgraded from Request Tracker 3.8.0 to 4.0.2 and started running it with FastCGI. Works great except for the odd Bad Gateway message from nginx (still haven’t figured that one out). While v4 makes a lot of improvements over … Continue reading

Posted in scripts | Tagged , , , , , | Leave a comment

Beyond setTimeout: Delay Your JavaScript with Closures

Have you ever wanted to delay something with JavaScript? So, of course, you look to window.setTimeout. But maybe this is interactive, or you want to be able to interrupt it? Then you save a reference to it, and you pass … Continue reading

Posted in javascript | Tagged , , , , , , , , , | Leave a comment

Delete a Line from a File by Its Line Number

I keep having this problem. You know how ssh will tell you when the host’s keys have changed? For example, you try to ssh to $ ssh and you get @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! … Continue reading

Posted in fixes | Tagged , , , , , | 2 Comments