Localities have been investing in generators, setting up swift-water rescue teams and figuring out how to best deal with tons and tons of debris.