A man whose colleague kept taking credit for other people's work as admitted to getting revenge on his irritating co-worker in the best way possible.