I had a cute octopus that I crocheted myself as a desk buddy, but I moved and he has been lost somewhere
So I just talk things out to myself. I was doing it in my head, but if I speak out loud it seems to be more effective. Not in public, though. People stare.
I also write and rewrite pseudo code on paper. I was typing it, but writing things out letter by letter has actually helped me make a breakthrough recently, so I keep a notebook near my desk.