I saw the post title and instantly thought of the Pomodoro Technique. A free ebook is available describing the technique in more detail (linked as a source from Wikipedia):
http://baomee.info/pdf/technique/1.pdf - a bit more detail for others who are interested:
The goal of this technique is to drive interruptions to zero - during solo (IC) work. It's one of the best techniques I've learned for improving focus and squeezing the maximum value out of each minute.
How it works: set a timer for 25 minutes (a "pomodoro"), and then work without any interruption on your project. If you get interrupted for any reason, cancel the timer and start over. When the 25 minutes is up, optionally take a 5 minute break (recommended) and start again. Take a note of finished and canceled pomodoros.
Focus solely on your work, whatever it is. If you find yourself doing anything else, cancel. Interruptions include internal interruptions, such as "I'll just head to news.ycombinator.com or open email for a moment". Nope. If you find yourself doing it: cancel, start over. External interruptions: "I'm in the middle of something - can I follow up with you in <25> minutes?" (if the conversation goes any longer than that, restart)
Some of the benefits of the system (in my opinion):
(1) Helps you become aware of distractions, so as to better combat them.
(2) Helps you have a grounded view of your own capabilities. How much focused, productive time do you consistently have in a day? Try the Pomodoro technique and find out.
(3) On a larger time scale, by measuring your complete and failed pomodoros daily, helps you become aware of factors that impact your focus (sleep, etc.)
(4) Gamification can provide a minor incentive and sense of progress.
(5) The approach is especially good at taking advantage of small units of time. When not using the system, one is tempted simply to 'waste' a block of 30 minutes leading up to a meeting, for example. When in the flow of using Pomodoro regularly, you know that you can simply complete "one promodoro", which is a useful unit of work. You set the timer, get to work, and forget about the meeting until the timer "wakes you" out of flow.
I would highly recommend it - not necessarily as a system that a person would pick up and continue to use for the rest of their life, but as a technique that one learns and experiments with, gaining some insight in a self-discovery process. Perhaps a person will use it on an ongoing basis, but even they you don't, the experience will likely have been worthwhile.
The mental discipline required is similar to that needed for meditation. A lot of folks who try out the technique are surprised at how much internal distraction they cause themselves, just by spontaneously opening a browser, email, phone, etc., after having worked for only a few minutes. (Anecdotes from sharing and discussing the technique with colleagues.) Suppressing this behavior can take practice and force-of-will like quieting your mind does during meditation.