A good strategy, if you work in software development, is to carve out a software fiefdom by writing a system so arcane that only you understand it and now you can’t be fired.
You can use management priorities against them.
Justify the arcane coding practices as prioritizing feature development over tech debt. Let that tech debt GROW.
Spaghetti other systems with integrations with your framework, like a worm. This makes it too expensive to replace your shitty code.
Use a mix of technologies in the name of being agile. A bit of python here. Some Go. You can easily fit 3 JavaScript web frameworks into this.
You can even increase your salary by implementing an “on-call” roster.
The best places to look are internal document management, assets management, invoicing, something process-heavy, compliance-heavy, some place they simply can’t cut costs on and which is far enough away from customers that your stakeholders are all internals who don’t really give a shit.
Ideally you’re attached to a non-tech department so they think you’re a wizard who is solving all their problems, and you always have a smile and helpful attitude. You’re always clocking in late nights to fix their problems (because you didn’t do anything during the day), and they don’t know what SCRUM is so you just have to answer their support tickets. Attitude is everything. You’re their best friend.
