Re: How about
"One has even modded the copyright notice on his code to add 'Not to be used on any Operating System owned or controlled by Microsoft Corp or any of its subsidiaries'."
What was the project? I have a sudden urge to run it on Windows, under Bash for Windows if I must.
I suppose I've always assumed that if you post the source code, then any license is effectively meaningless.
What are they going to do, set the lawyers on you? That's not exactly deterred piracy now has it?