Someone who can't help themselves but use sarcasm to challenge others to do things. These situations usually backfire.
He got what he deserves, he is such a Josh.