How do you store credentials to external services?
cperciva: Store them as a file on disk which you read in when necessary.  The separation this provides gives you two benefits: First, you don't need to worry about "sanitizing" your source code if you ever want anyone else to look at it; and second, it makes it easy to use separate accounts for development vs. production.