To compose and perform or deliver without previous preparation. To make, provide, or arrange from whatever materials are readily available.
To make suitable to requirements or conditions; adjust or modify fittingly. To adjust oneself to different conditions, environment, etc.
to get the better of in a struggle. to prevail over opposition or obstacles.