Desenrascanço
In English Resourcefulness; the ability to improvise and make do; figuring things out on the fly.
The ability to improvise, find a solution, or get by in a difficult situation using resourcefulness and quick thinking.
Example
"Com um pouco de desenrascanço, consegui consertar a torneira."