One attitude that has halped me is to consider people's vibes as "information" that i can use as a guide to where i will be most happy.
If the information is cold and mean then chances are that i will not be happy there even if i can dig my heels in and stay. Also i can be grateful for icky information because it is like a sign that somewhere better is waiting for me, and i at least know that he icky place is NOT it.
If the information is warm and kind, then that is the place life wants me.
Also sometimes i tend to focus on the one blade of grass that is bad, instead of he rest of the beautifull lawn. It serves me well to gently pull my attention away from invitations to fight and be angry, people who drain my energy, and instead guide it towards things that nourish and rejuvinate my energy and spirit.
Especially difficult lessons for me considering i have a tendency to not be kind to myself and stay where i am not happy.