Some produce does surprisingly well at room temperature. Potatoes, onions, and gourds can last for months if stored properly. We keep our tomatoes on the counter and they've lasted for weeks at a time. As a general rule, if it's found on a shelf rather than a cooler in a grocery store, it'll be good for at least several days outside the fridge.
Everything I need to make rice or noodles is shelf stable. Pasta's probably your friend here too.
Beans can be kept dried or canned. Dried is far cheaper, but can be more labour intensive for cooking. So if I'm just making something for myself, canned is a good choice too.
Lots of seafood is pretty good canned. Fish and crackers is something of a lazy/comfort food for me.
I had some fridge trouble in the recent past, and it was super lame. Good luck, and I hope you get a replacement soon