
Fool someone
Outsmart someone / Outfox someone

Farla in barba a qualcuno 

Farla in barba a qualcuno
Outsmart someone / Outfox someone

Farla in barba a qualcuno 

Farla in barba a qualcuno
Examples
Everybody took her for an old maid and thought that she would stay at home to take care of her aging parents, but she fooled everyone when she got married and went off to the Bahamas
Ormai tutti la davano per zitella, quella che sarebbe stata in casa ad
occuparsi degli anziani genitori, invece l'ha fatta in barba a tutti: si
è sposata e si è trasferita alle Bahamas
When you were a student, how many times did you cheat during your exams trying to outfox the professor?
Quante volte da studente hai copiato dal compagno facendola in barba al professore?