Category Archives: tips

rough cut: erlang code coverage with rake

Here’s a quick, ugly version of how to get erlang code coverage using rake. This is a rough first draft and the gist below doesn’t include all the needed dependencies. To see the rest of the Rakefile, checkout skelerl.
Also posted in erlang | Leave a comment

fixing the disabled snapshot button in vmware fusion

I recently created a new CentOS 5 vmware image. Unfortunately the “Take Snapshot” button was disabled while the system was running. After searching around I found this post. What you need to do is open up your vmx file and comment out (disable) the following line: scsi0:0.mode = "independent-persistent" Others have also reported finding the following line in [...]
Also posted in sysadmin | Leave a comment

automate installing tripwire using expect

tripwire is a handy part of an intrusion detection system. It’s a nice piece of software but the installer is interactive which makes it a pain to install automatically (e.g. when using PoolParty/EC2). Below is a simple expect script I whipped up to solve the make install problem. Hopefully this will save someone two or [...]
Also posted in deployment, programming, shell, sysadmin | Leave a comment