Simple encrypted directories with ecryptfs
The default ecryptfs-private settings aren’t quite what I want; they mount automatically on login and invoke some kind of system-magic I don’t understand to hide the encrypted files. Turns out that setting up encrypted directories is pretty darn easy, once you dig through enough of the man pages.
Pick a directory
Debugging the Droid on Ubuntu Karmic
$ adb devices
List of devices attached
???????????? no permissions
A few things have changed since the Android docs were written. If you want to talk to your Motorola Droid via ADB in Ubuntu 9.10 Karmic, I recommend the following udev rule.
Ubuntu 9.04 on the Macbook Pro (3,1)
Here’s what I did to get the Macbook Pro (rev 3,1) running smoothly under Ubuntu 9.04.
Turn on the nvidia drivers with jockey-gtk (the hardware drivers manager).
Process Monitoring with Ruby
It looks like there’s a catastrophic memory leak in the Rails app I wrote last summer, and in trying to track it down, I needed a way to look at process memory use over time. So, I put together this little library, LinuxProcess, which uses the proc filesystem to make it easier to monitor processes with Ruby. Enjoy!
New Features, SSH Completion, and the Dangers of Overloading the Core Library
Added ATOM feeds for journals, photographs, and a combined feed. Also added EXIF support to photographs, such that files with EXIF headers (those from about the last year or so) display some shot information as well.
Also, I caught bash programmable completion completing paths on remote servers over SSH. I was copying a file from the laptop to the server, hit tab to complete the directory on the server side... and it worked. That was quite surprising, when I realized that my ordinarily useless request had actually been carried out. Hurrah for bash making my life easier.