You can boil them to extend shelf life. Once a food is cooked, you have another week (approximately) to use it before it goes off - maybe a little longer for eggs still in unbroken shells. Boil them, store them in the fridge, and add them to meals over the next week.
Prequel to Wall-E.