OS X clipboard access from the shell

Chris Siebenmann motivated me to finally do something about the situation of my web site passwords. So I needed some nice password generation process. I looked at 1password but didn’t find it terribly attractive. Instead I’m using the OSX keychain. For generating passwords I use the excellent apg. And since today this shell function: clippass() { apg -M SNCL -m 15 -n 1 | pbcopy pbpaste } This creates a long and safe password, pastes it to the clipboard using pbcopy and then shows it on the command line by pasting it again from the clipboard using pbpaste. ...

February 20, 2009 · Patrice Neff

Continuous testing with Python

Back when I did some Ruby on Rails development I was a big fan of autotest. With it I could stay in my editor while the project test suite got executed with every change. Setup Now that I’m working in Python I was looking for something similar and I was successful. You’ll need the following: Mac OS X Growl nose nosegrowl tdaemon Then you can execute tdaemon like this in your project directory: ...

February 7, 2009 · Patrice Neff