/1/ black-hole certain websites in /etc/hosts, see here for details https://news.ycombinator.com/item?id=29217297
/2/ making the computer read books to me using the text-to-speech feature. See here for instructions to setup keyboard shortcut for Mac OS users https://docs.google.com/document/d/1mApa60zJA8rgEm6T6GF0yIem... and this is the command line version https://gist.github.com/ivanistheone/de3ccb244224d101bb93320...
Hack /1/ was useful to get rid of the "new tab > enter distracting site url" urges that I get several times per hour. The error loading the page reminds me of my commitment to seek less superficial distractions and practicing better information hygiene. Disclaimer: it's not easy to stick to this (for god's sake I'm no HN right now!!), but I sometimes get good chunks of disconnected time (several weeks in a row).
Hack /2/ has allowed me to read A LOT more books then ever before in my life (like one book per week): I simply open the PDF, select a good chunk of text (like one chapter or something), then listen to the book while doing other things (e.g. exercise, cleanup, or computer tasks with low cognitive requirements).