I've heard people say that we have to deflect the negative comments and attitudes that come our way. I disagree. Instead, we need to be strong enough to absorb that negative energy. Absorb it like a black hole absorbs light so that it never gets back out.
Be a mirror for the positive things in life. Reflect the positive things everywhere that you go.
Likewise, be a black hole for the negative things. Absorb any negativity that gets near you and don't spew it back out into the world.