Fast forward to after college, I found myself at a career-y job I disliked. Each lunch break I loaded up my (shiny new 2011) Macbook Air with a few tabs-worth of chapters of How to Think Like a Computer Scientist [0] and headed to a Wendy's that didn't have an internet connection. So, for 45 minutes I could eat my spicy chicken nuggets and apply what I was learning from the book in console at a Python command line. It was so simple and fun, I was hooked. Within a month I was taking on programming-related responsibilities at work, soon thereafter auditing a class at Uni (I specifically chose cause it interested me), and within 4-5 months was being paid by my professor (from audited class) for web dev grant work, and a few more months and I was being paid as a developer by the University directly. The rest is history.
I think one key part of why it stuck the fourth time was because my routine allowed for 45+ minutes of time away from the internet each day with learning materials. The satisfaction of learning is incredible but more of a "slow drip" compared to the kind of instant satisfaction one can get by opening Netflix, Facebook, or whatever. Going without the latter during a key period I think changed my life.