por um triz

Etymology
lit. 'by very little, by an instant'.

Phrase

 * 1)  by a whisker; by a hair's breadth; by the skin of one's teeth (by a narrow margin)