A person who annoyingly tries too hard to impress with their cleverness; a clever dick.
One who is particularly flippant or insolent or tends to make snide remarks or jokes.