Comment by pryelluw
I went through this already. Lived through a category 5 hurricane that took out the power grid, and antennas (among many other key infrastructure).
I downloaded as much documentation about the technology I relied on as possible. Ma pages, cloning repos, saving websites as HTML, etc. My goal was to have everything I needed in case I had to build my own internet again. Even if it was like cubas version that uses thumb drive based networking.
It worked for the most part. The one downside was having to ration my electricity usage as it was generated by a generator and fuel was not easy to come by.
This taught me that any kind of network requires a robust electrical grid. So, I’d install solar panels with batteries, a backup generator, some wind turbines, and then work on downloading all the documentation needed to make the network work.
I used to travel across the US a lot. On my laptop I started keeping websites, documentation, base container images, source code for Linux, tools I used, and languages I was programming in for references the languages I was using. This wasn't for emergencies, it was so I could work productively while in transit. (I also tuned the hell out of the Linux power settings on my Lenovo)
I hardly travel anymore but still wind up using all of those local resources. It's zero web searches, next to no latency, and I have the structure memorized. Finding information I need is so fast.
I wish it was more popular to have a local-first mindset when writing software.