On the other hand, the dickhead always thinks he's a non-dickhead.
If everyone you meet is a dickhead, you're the dickhead.
So be kind to everybody, dickhead or non-dickhead.
If FaceBook had an average employee instead of the OP, they might not have been as successful.
This is why the 10x mythologizing is so annoying. There are a few people who are 10x in specific areas or who might have periods of intense productivity but it's never true across the board for significant periods of time, and it's used to excuse a lot of bad behaviour by 1.2x programmers — not to mention the larger mistake of assuming that the limiting factor on projects is rarely absolute programming ability. In most cases, you see far better results from someone who might be maligned as a .8x programmer who communicates well with the team & users and relies on solid tools and practice rather than assuming sheer skill will save the day.
From the viewpoint of a dickhead, an honest and intelligent person is a dickhead. The honest and intelligent person has the potential to expose the dickhead as a dickhead, so the dickhead will do everything he can to convince everyone else that the honest and intelligent person is a dickhead.
A dickhead would see an honest and intelligent person as a dickhead, and be able to lie convincingly enough to establish it as fact in the eyes of others.
In fact, a highly skilled dickhead can convince an honest person that "standing up for yourself" is a dickhead behavior.
I have no way of telling if the OP is a dickhead or not, because I haven't met him. My guess is "not a dickhead, he was just convinced by dickheads the he actually was the dickhead".
So, he learned to act in a manner least likely to offend dickheads. I don't want to work with dickheads, so I don't bother with that skill.