The energy suppliers in my area all have contracts I do not agree with. My gas & electric service may be cut in a couple weeks.
What’s my best move? I need enough electricity to power a mid-sized refrigerator (but could downgrade to a minifridge if needed), a few lights, router, laptop.
My boiler is gas but I have an old previously used mazut tank and furnice which I could possibly get working again with some effort.
Not sure what to do for cooking. Maybe use a portable electric cooktop.
But how would that work without infrastructure? OP said his gas and electricity would be out. To supply a gas generator, he would have to buy a new gas cylinder every few days? Is there even a supply for that? I would only know camping sized propane suppliers in my region but that is not enough for a house. Also I do not know if my gas burner would work properly with propane or require specific gas properties.
The handling and storage of diesel, as well as the supply should be way easier - even in large quantities. There are also no high pressure containers involved.
For the generator you get a big enough tank so it lasts a few weeks or months. Then you call a gas supplier to fill it up as needed. It’s no different from Diesel except doing it yourself isn’t an option. But the amount OP would need also makes diesel not convenient for diy and you end up paying someone to deliver you hundreds or even thousands of gallons.
For the stove you just use a propane tank for grilling. It will last several weeks or even months. It’s a very common setup here in the Philippines because there is no infrastructure for gas.