Supersoaker filled with a water/ammonium mix. If you hit them enough they'll get the message, plus if you miss it'll leave behind an aroma they can't stand.
This also works for keeping cats out of your garden as well, and is far more humane than poisoning or shooting them
