It refers to when someone masturbates, specifically a nerdy computer geek type.
"Just taking a break from World of Warcraft to polish the hairy goblin".