GenerateWP - very nice! I like it.

I've used a generator fo CPTs - http://themergency.com/generators/wordpress-custom-post-types/

Otherwise I borrow code or write my own.