Category Archives: shell

install enchant dictionaries

I had a bit of a hard time getting enchant installed with dictionaries on Mac OS X. Here’s how to do it: sudo port install enchant # you'll need MacPorts 1.8.* for this Then download the dictionaries from the OpenOffice wiki. Next, place the files in ~/.enchant like so: $ tree .enchant/ .enchant/ `-- myspell |-- en_US.aff [...]
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, sysadmin, tips | Leave a comment

tweet twitter util – cli feedback on tweet length

One of the nice things about the Twitter web-interface is that it gives you feedback on the number of characters you’ve typed so far. Since I use the command-line twitter gem (by John Nunemaker) I miss out on this feature and find myself using echo and wc to make sure I’m not over the limit. To [...]
Also posted in ruby, tips | Leave a comment