I've worked at a lot of diverse jobs over the years and most of my bosses or supervisors just left me alone to do my job because I did the best that I could each day. That does not mean that I have not had to deal with some real jerks though.

I think the software folks here at LF should get a kick out of this link:
How to Deal With Crappy Bosses Altucher Confidential