1) Mindfulness training so I could see myself in the moment NOT concentrating and stop myself. Still not at 100% with this but have been getting a lot better since I first took https://www.futurelearn.com/courses/mindfulness-wellbeing-pe... a couple of years ago.
2) Thinking of my mobile in the way marketers think of it. As a cache for mobile minutes. Each marketing dept is like a little gnome each trying to get at my treasure. So I cut them off. I deleted all apps with ads and made an effort to block all ads or suggestions for new content across the digital things I use via everything from Greasemonkey to plug-ins to switching providers of services. So now distraction from my digital browsing is significantly diminished.
3) Re-reading this Michener essay about once a year: http://www.asahi-net.or.jp/~xs3d-bull/michener.html. It reminds me that it takes long periods of time and discipline to create great things. Else they are easily achievable and don't IMHO qualify as great. This includes everything from putting tons of time in for Ironman training (quite the physical achievement) to writing a book (look at Michener's books and how crazy-well-researched and expansive they are) to having a good relationship with your mate to writing quality code for your most recent idea. The more the gnomes pick at your little time treasure, the less time you have to achieve great things.