I found a fantastic article on some great default functions for your functions.php file. They’re not all for every occasion but a great place to start.
I pulled out the Google Analytics one in favour of my plugin Easy Analytics but that’s just my preference.