somehow or other; by hook or by crook
Emphasizes managing to accomplish something despite difficulty, often with a sense of relief or after effort.
I somehow managed to meet the deadline.
どうにかこうにか生活費を稼いでいる。
I'm scraping by, earning a living somehow or other.