I would like to share a couple of psychological shifts that I have made, which seem to be working for the long-term. I don't like to call it tricks, or hacks, because it is a completely normal way that the mind works. If anything our minds have been tricked and hacked by abnormal things in our environment :-) and we're retraining them to normality.
Choose DISCIPLINE, and NOT motivation
Make the journey itself its own reward
Remember your ego WILL backlash on you
Finally I want to say that a daily practice of meditation will probably give you everything you need to be able to do the rest. Everything you need to know is already inside of yourself. Train yourself and your mind to take pauses, away from default reacting, toward thoughtful response.
AND, sorry :-) I choose to get up early enough and do everything first thing in the morning. That is how it works for me, or else I know I won't do it later. Get up, get it done, feel awesome for having done it, don't spend the rest of the day feeling guilty.
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.