Since nobody suggested this:
Write for yourself, locally. This removed my writer's block.
After writing for myself for about a year, I blogged consistently for two years.
I've since lost the kadence and want to get back to it, but now priorities have come in the way.
Now I usually write for my local tech community.
I know there's a dozen people who like to learn things if there's an easy way. That motivates me a lot
There's another hurdle of having a clear idea of the target audience; when you're the target audience, it gets a little fuzzy. So it has helped me to think of either "what I'd like to read 6 months from now if I had to learn this after partially forgetting it". Or someone else concrete I'm not actually obligated to share my writing with. Just so I can aim my writing better.