To foil, stymie, or embarrass one. I don't trust that guy after he did me in the eye and stole that opportunity from me.See also: eye
do someone in the eye
defraud, thwart, or humiliate someone.1930J.B.PriestleyAngel Pavement He'd invented the job five minutes before, just to do mother in the eye. See also: eye, someone