Why did you give two weeks as opposed to just boxing up your stuff and letting them know you were done? Would they have shown you the same courtesy?
I made good friends with my boss though, so I probably could have used him as a reference and quit without the two weeks.