Managing boss
Make your boss look and feel smart. Do not correct him in the presence of others. Help him save face if others see his mistakes. Avoid arguing with him, for you could win in small matters but never in the important ones. Quarrelling with him will surely harm your future. Put questions to him publicly only if you are sure he knows the answer. Bring any problem to him along with some solutions. Befriend those in the company who (pretend to) like him. "The friend of my friend is my friend." Laugh loudly when he is joking, except if it is openly racist, disgusting or hurting someone. Do not bypass him, not even when his power is declining. He will always be strong enough to retaliate. Adjust to his current mood: leave him alone or be readily available. Say "thank you" as many times as you can. It costs you nothing and will please. Ask regularly for his feedback on your performance for it is the best way to advertise your achievements.