I had some fun today. I wasn't able to fix this when I needed to and ended up just running a HD extension cord from the guys downstairs the few times I needed to. Last few days, one of the three branches was shorting out intermittently, and of course my office & internet are on that circuit. Power would go off and then come back on sometimes instantly, sometimes in a few minutes. So today was the day to tackle the job of replacing the main breaker outside, ol' sparky.
I couldn't the meter off to break the circuit so I just pulled the breaker off the panel. So far so good. Labeled the lines and then did a 1:1 conversion to the new breaker. The blades that insert into breaker were very corroded so I cleaned then as best I could with a little wire brush. Pressed the new breaker in and all is fine.
Thank you everyone for all the help, made a big difference.
Here's what the old breaker looks like. Tons of corrosion.