As a Magento Developer some of the things I always forget and have to look up.

Get the base URL of your magento install within a .phtml template file.

Nice and easy :