Kahl's right. You need to plan how much money you're going to have to spend in a certain timeframe and spend little on stuff you don't really need. Ultimately having four walls and a roof with a bed is a lot more important than the latest gadget of the week. Also, you're going to need a build some sort of a safety net money-wise in case something (inevitably) will go wrong.
