Marking a file read-only in emacs and vim
I had some automatically code generated files that I wanted to mark as read-only. I knew it was possible to flag a file as read-only in both emacs and vim. However, I found it really hard to Google for the exact syntax. In Vim, the flags go in the file’s “modelines“, which by default can [...]
Computer-powered lottery tickets : The Engineyard programming contest
I first read about the Engineyard Programming Contest yesterday and I thought it was a silly contest, winnable only through the application of raw brute force. For some reason, I woke up this morning obsessed with it. This is despite the fact that this “competition” is basically a lottery, in which you buy tickets with [...]
Servo pulse width range with Arduino
Tips for using MG996R high-torque servos with the Arduino. Includes a sketch to find the pulse widths for minimum & maximum angles.

