With regards to blocking sites to concentrate, adding a comment as to why it was blocked in the first place might help. It is something I try now to see how effective it is.
My etc/hosts:
# This should never be commented out unless my life depends on it. If
# We get an article or there is CRITICAL information there it is OK, but
# in 99% of cases you will just waste your time on these websites. GO OUTSIDE INSTEAD!
0.0.0.0 dn.no dinside.no nettavisen.no itavisen.no e24.no vg.no www.dn.no nrk.no dagbladet.no https://dn.nohttps://www.nettavisen.no/ www.nettavisen.no shifter.no www.shifter.no nettavisen.no nrk.no www.nrk.no
# FB might be relevant for work, but ONLY uncomment if you have something CONCRETE to do on the platform.
# Delegate to someone else if possible, which can be done in most cases.
# TRAIN or GO OUTSIDE instead of wasting time here
127.0.0.1 facebook.com login.facebook.com secure.facebook.com latest.facebook.com inyour.facebook.com beta.facebook.com static.facebook.com touch.facebook.com developers.facebook.com newsroom.fb.com pixel.facebook.com apps.facebook.com graph.facebook.com m.facebook.com upload.facebook.com www.facebook.com https://facebook.com
# LinkedIn should only be used for marketing, DO NOT COMMENT UNLESS YOU HAVE A CONCRETE THING TO DO.
# TRAIN or GO OUTSIDE instead of wasting time here.
127.0.0.1 linkedin.com www.linkedin.com https://linkedin.com
My etc/hosts:
# This should never be commented out unless my life depends on it. If # We get an article or there is CRITICAL information there it is OK, but # in 99% of cases you will just waste your time on these websites. GO OUTSIDE INSTEAD! 0.0.0.0 dn.no dinside.no nettavisen.no itavisen.no e24.no vg.no www.dn.no nrk.no dagbladet.no https://dn.no https://www.nettavisen.no/ www.nettavisen.no shifter.no www.shifter.no nettavisen.no nrk.no www.nrk.no
# FB might be relevant for work, but ONLY uncomment if you have something CONCRETE to do on the platform. # Delegate to someone else if possible, which can be done in most cases. # TRAIN or GO OUTSIDE instead of wasting time here 127.0.0.1 facebook.com login.facebook.com secure.facebook.com latest.facebook.com inyour.facebook.com beta.facebook.com static.facebook.com touch.facebook.com developers.facebook.com newsroom.fb.com pixel.facebook.com apps.facebook.com graph.facebook.com m.facebook.com upload.facebook.com www.facebook.com https://facebook.com # LinkedIn should only be used for marketing, DO NOT COMMENT UNLESS YOU HAVE A CONCRETE THING TO DO. # TRAIN or GO OUTSIDE instead of wasting time here. 127.0.0.1 linkedin.com www.linkedin.com https://linkedin.com