3) Build tolerance to discomfort by taking a cold shower every morning and by reading Stoic philosophy
4) Make better plans for yourself so that the answer to "what should I do next" is less ambiguous. Before starting any coding project, start by asking and answering "why is this worth doing?"
1) https://getcoldturkey.com/ https://freedom.to/ and http://selfcontrolapp.com/. You wouldn't tell a dieter to keep cookies on their desk. Don't keep braincandy on yours.
2) Better sleep, diet, exercise
3) Build tolerance to discomfort by taking a cold shower every morning and by reading Stoic philosophy
4) Make better plans for yourself so that the answer to "what should I do next" is less ambiguous. Before starting any coding project, start by asking and answering "why is this worth doing?"