- Proper sleep. Probably the biggest single factor. I don't always excel at this. When I don't get enough sleep nearly everything else is moot.
- Proper environment. The exact definition of "proper" will be quite different for everybody, of course. Pay attention to what works, and don't be afraid to suggest alternate arrangements to your manager. You don't have to mention ADHD ever - just mention the facts ("I'm having a tough time focusing in the noisy part of the office") and provide a constructive suggestion ("Is it okay if I work alone in the unused meeting room when the noise at my desk is too distracting?")
- Proper diet. Another thing I'm not great at. But foods that cause sugar spikes and crashes make it hard to focus for anybody, especially me.
- Exercise. Really, really helps. (True for anybody, of course!)
- Lists. The key, as I learned from Getting Things Done, is that no task should be more than 10-15 minutes. If so it should be broken down into smaller tasks. Additionally, you must review/prune your list regularly so it doesn't turn into a big failure/guilt pile.
- Medication. It helps. For me it's only maybe 25% of the puzzle or so and can be rendered moot if I'm in a distracting environment or am running on no sleep.
Social support, using todo lists, lots and lots of effort to establish habits, so you can stop spending so much daily effort (CPU) on things that most people can handle with GPU.