https://gist.github.com/746077
To backup your passwords, go to Export>LastPass CSV File. Also run "sudo apt-get install libhtmlentities-ruby1.8" before you run the Ruby script, then change the "input_file" variable in the script to where your CSV file is.
