"So, my unsolicited advice to women in the workplace is this: when faced with sexism, or ageism, or lookism, or even really aggressive buddhism, ask yourself the following question... 'Is this person in between me and what I want to do?'
If the answer is no, ignore it and move on. Your energy is better used doing your work and outpacing people that way. Then, when you're in charge, don't hire the people that were jerky to you.
If the answer is yes, you have a more difficult road ahead of you...
If your boss is a jerk, try to find someone above or around your boss who is not a jerk. Is there such a thing as an all-jerk workplace? Yes... But if you're lucky your workplace will have a neutral proving ground... if so, focus on that. Again, don't waste your energy trying to educate or change opinions. Go Over, Under, Through - and opinions will change organically when you are the boss.
Or they won't. Who cares? Do your thing. And don't care if they like it."
–Tina Fey, audio book of Bossypants, (disc 3 track 10)