pulled a wild hare out of my ass
Miraculously getting the motivation to accomplish something difficult and actually pulling it off in the last minute.
--
A combination of the phrases "pull it out of my ass" (i.e. doing something difficult in the last minute) and "got a wild hare up my ass" (i.e. unexpectedly having motivation to do something).
--
A combination of the phrases "pull it out of my ass" (i.e. doing something difficult in the last minute) and "got a wild hare up my ass" (i.e. unexpectedly having motivation to do something).
I pulled a wild hare out of my ass and wrote my 10 page report starting at 3am the night before it was due.