To answer to the original question, one of the easiest and potentially best solutions is to pick up an sport if you don't practice one and to spend more time with other things besides programming. Forget about programming for a few weeks. Do your college duties and don't spend more time than that. Go do other stuff. I've gone (and still do sometimes) through the exact same thing.
12. Never do drugs. This just amplifies your problems.
Your points #1 and #12 are a nice big contradiction.
Anti-depression drugs in particualr tend to have rather significant side-effects, which can last for a decade after you've stopped taking the drug.
Going to drugs to help against depression should be a plan C kind of a thing. Changing your environment and activities should be well tested before that.
There is a lot of overlap in these two sets.
For example, in Polish you'd classify aspirin as a medicine ("lek", "lekarstwo") and caffeine as a stimulating substance ("używka"). There is another word that is used to refer to harmful addictive substances like cocaine ("narkotyk"). There is no generally used word in Polish that encompasses all three terms.
2. Set one small baby-step goal each day. (set an appointment today, etc.) Change the goal every time.
3. Change your environment. Move cities or schools if need be.
4. Exercise. Start with one rep on day 1, two reps on day 2, etc. Baby steps.
5. Ask for feedback on stuff. Any positive feedback helps motivate you to learn and do more projects.
6. Seek a healthy relationship.
7. Be vulnerable. Let somebody else that cares about you know of your state.
8. Be spiritually-curious. I'm christian and that inspires a lot.
9. Realize when your "objective observations" are not objective. Don't be blindsided by emotion.
10. Vent your emotion in a healthy and controlled way.
11. Write one sentence about your week every week. Again, baby steps.
12. Never do drugs. This just amplifies your problems.
13. This includes no smoking.
14. If you make lists and spreedsheets, track the frequency you leave the house.
15. Make alarms on your phone.
16. Volunteer once a week.
These are mostly based on experience and personal observations.