Here are some things I tell myself:
--After this, I get a treat!

--I can vent about this later with a friend/therapist/this forum/support group.
--He is hurting inside.
--I can walk away and take a break if it gets to be too much.
--As the healthier, more mature person in the relationship, it is up to me to take the high road.
--Yes, this is unfair (and it will do no good to tell him!).
--This is not about me.
--Afterwards, I will assess this interaction by how I acted (not him): was I respectful? curious? calm? open to new ideas? etc.
--Do I want to be right or effective?
It is oddly calming to use the mindfulness technique of describing, without judgement, what is happening. For example, "My husband is wearing a blue shirt. He is standing next to a table. The table has three plates and a spoon on it."
Another mindfulness technique to is ask myself how I am feeling--to really pay attention to my own emotions. If I feel fear or anger rising, I start describing like crazy or take a break.