A person who annoyingly tries too hard to impress with their cleverness; a clever dick.
One who makes wisecracks, particularly in a sassy or cocky fashion.