A trick I discovered to deal with static electricity during the winter is to quickly rap your knuckles on the object you're going to touch. I know it sounds like quackery, but it's really cut down on the number of shocks I've gotten.
If you come into contact with a non-metal surface that's NEAR a metal surface, that works too. Also keeping your skin moisturized apparently helps. And maybe don't spend an hour brushing your cats every day. That helps too. (personal tip)