If you have a car (I don’t anymore— mine got stolen a few weeks ago), save a parking ticket and put it on your windshield when you want to park illegally. in my experience, it worked about 80% of the time :)
side note: there was no decoy parking ticket on the windshield when my car got stolen...