Doing something recklessly or frantically without regard for consequences; throwing oneself into an effort heedlessly. Often carries a somewhat negative nuance.
彼は試験に合格するためにがむしゃらに勉強した。
He studied frantically to pass the exam.
若いころはがむしゃらだったが、今は少し冷静になった。
I was reckless when I was young, but now I've calmed down a bit.
がむしゃらに走った結果、足を痛めてしまった。
As a result of running recklessly, I injured my leg.