I have a little trick.
I have lot of things to do (and learn, always). When i am not OK doing x some day I just pick another thing to do, something fresh.
Example: Meh, i won't code more game today :-/
Solution1: Coding some CLI tool that makes my usual work faster/better.
Solution2: Read that git pro manual you saved to docs and never saw again.
Solution3: Go internet to look for websites like dev.to.
In short, sometimes rains, so you do something different that day...
In case you're just paid and forced to work x hours daily, just try to compile something at work then... : xkcd.com/303/.
In case you go serious about 303... i do recommend those: goo.gl/zCtnUD.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.