1.
by the skin of one's teeth
Inglese parola "o mały włos"(by the skin of one's teeth) si verifica in set:
BBC upper-intermediate course unit 112.
by a hair's breadth
She was saved from the fire by a hair's breadth. Right after she was brought out of the house unconscious the roof collapsed.