на коленке

Etymology
In reference to using the top of one's knee as an improvised work surface.

Adverb

 * 1)  hurriedly, in a quick-and-dirty way
 * 2)  by hand, without proper equipment or automation
 * 1)  by hand, without proper equipment or automation