do one's nut in vs have lost one's temper

do one's nut in

have lost one's temper

How often have the words do one's nut in and have lost one's temper occurred in a corpus of books? (source: Google Ngram Viewer )