This feels like a good time to share some info about the years-long movement to get PG&E out of San Francisco and establish citywide public power: https://www.publicpowersf.org/
If you're wondering why San Francisco doesn't already have public power: we actually do! SFPUC provides power to the airport, MUNI, and numerous other public services and buildings in the city. SFPUC also runs Green Power SF, which individuals can opt into in order to get renewable-powered energy delivered to their home instead of getting energy from PG&E.
Unfortunately, PG&E owns the majority of San Francisco's power grid, and has blocked and slowed efforts for the City to buy PG&E out. But the louder San Franciscans are about getting PG&E OUT of San Francisco and getting public power instead, the more likely it is that it will actually happen.
Other cities in California have already done it, including larger cities like Sacramento. (SMUD is pretty great and has quite low rates!) There's no reason that San Francisco can't, too!
Also, this is a good reminder that weird shit happens all the time and it's good to be prepared. If you're able, I highly recommend taking the free Neighborhood Emergency Response Team (NERT) training through the fire department the next time it's available. You get great training on how to respond to different emergencies. Once you've completed the entire course (which takes place over several weeks, with one class per week), you also get linked with the NERT group in the neighborhood you live in. There will be additional trainings that come up for both your smaller neighborhood group and all the NERTs citywide that you can join to keep your knowledge and skills fresh.
I just checked the website and there are spots open for training in January!