>If you're not being mistreated, then don't be a jerk.
I don't even think you have to be a jerk. I worked at company that's software product was devved and QA'd by Indian and Pakistani relatives. There was token non-Indians like me (We were also the most customer facing), and the nepotism was so rampant that the rest of us had to carry most of the work. The relatives were completely useless, completely clueless.
My boss called me a "Stupid baby" in front of the HR lady. We had gotten into it months earlier, I took a picture of a funny note I had left in the kitchen over some stolen pizza on facebook. He said, "People know you work for us, they're gonna think we have theives here" I had kept detailed documentation of all my work and just sat there calmly as he read me the riot act. It made him even more pissed off that I sat there with a smug look on my face presenting my side to HR. Even things like really nice letters from the customers, and my complete Jira history.
Thing was, I already had a job offer... The next morning I calmly walked in before he came in and sat down with the HR lady. I handed in my laptop, a printed sheet of passwords and told her I was done after the previous days meeting. What else could I say?
It made me pretty legendary status how cool I just left the situation. Just skated on out of there with a smile on my face. My job was going to get better, and this H1-B relative of another H1-B was still going to be working for his cousin.
Those who can, do; those who can't, write. Those who can't write work for the Bell Labs Record.