Being more conscientious.
It's discipline by another word.
Valuing the long term over the short term. Surprisingly, not procrastinating and doing the hard thing sooner than later pays off huge dividends. I don't know why I spent decades chasing ephemeral pleasures that went nowhere and left me with not much at all over a daily "chop wood carry water" of concerted effort (even if it seemed like a mind numbing chore).
Scraping.
A friend with some serious restaurant money wanted to get into a restaurant that was sold out after 1 second. Every 3 months nee reservations came up and he clicked as fast as possible.
I got the job done with Selenium. He invited me to come along on the spot.
It was an amazing culinary experience!
Learn more neuroscience. Start with the class “learning how to learn”. Then move on to the podcasts by Andrew Huberman.
The best trick I've learnt: spend more time doing something else than computer stuff. It pays off.