Been there, got my revenge
A long time ago, in a company that I will not name, but that continues to exist in a tiny fraction of what it used to be due to mismanagement and blinkered predictions of how technology would go (they failed to understand smart phones would render their business model obsolete)... I had one of those line managers.
A reverse misandrist... a man who disliked other men, a bigoted little fool who expected everyone to kiss his arse and would try and punish anyone who didn't. A man who tried to pit every one under him against each other (with some success for the weaker minded drones) to avoid the gaze of incompetence falling on him.
A man who was so petty, he tried to sabotage my application for another position on another team by lying to the dept head... who informed me what he'd said. A man who had complaints upheld against him by an incompetent HR who covered it up.
The previous autumn, I had a fling with another woman from another dept. It lasted a couple of months and I was told by her that she'd been involved with a married guy who wouldn't leave his wife and she'd broken it off. I never knew who... but I'm sure you can guess.
The following spring, after yet more attempts by this man to get me in trouble... I'd had enough and during a meeting with his line manager, I threw my resignation across the table at him... This petty little man, continued to try and stir shit up against me and they agreed to put me on garden leave... I'd given 2 months notice, so they had to pay me for that... I went around saying goodbye to people and letting them know what a POS he was.
As I was in the lobby saying goodbye to a few others... he approached me, held out his hand with a smug grin on his face and said 'good luck, and no hard feelings'.
I pulled him a little closer, looked him in the eye and replied 'Sure, and I'm sorry I fucked your mistress'
He went purple and tried to take a swing at me... in front of witnesses, catching me on the shoulder. I turned to the receptionist and asked if she'd be kind enough to call the police, and went up to HR to report the assault.
He was eventually fired, they tried to coerce me into dropping the complaint and not reporting it to the police... To which my reply was short... 'But I don't work here anymore' The police did nothing, but my job was done. I walked back into an old temp job I had before this one, and within 6 weeks of leaving (and before my paid leave ran out) I had a new job with a 50% pay increase.