To get hammered / to drink yourself silly
Ele chapou o coco na festa e só foi pra casa de manhã.
He got hammered at the party and only went home in the morning.
Coco is colloquial Brazilian Portuguese for the head — the same playful "coconut for noggin" image found in many languages — and chapar means to flatten, squash, or knock flat. Chapar o coco thus pictures drink hitting you until your head is flattened, i.e. getting thoroughly hammered. The related slang chapado ("smashed, high") comes from the same verb.
Falando's Idiom Trainer teaches you to recognize idiom meanings and create sentences using them, so you can speak like a Brazilian.