Whenever I go out for a walk, and pass by a house with a dog going crazy behind the fence, barking and leaping at the railing, I always pick a small stick and try to shove it in its nose. The dog is usually so shocked, that it becomes quiet for few minutes.