A person who annoyingly tries too hard to impress with their cleverness; a clever dick.
Someone who claims to be knowledgeable or an expert in something, obnoxiously dismissing the opinions, advice, suggestions, etc. of others.