How to Block Distractions While Coding

I'm just a guy who loves to learn learn learn! I'm a big fan of minimalist sensibilities, including my coding environment. No need to make things complicated - less is often more.
Search for a command to run...

I'm just a guy who loves to learn learn learn! I'm a big fan of minimalist sensibilities, including my coding environment. No need to make things complicated - less is often more.
Thanks for putting together this lists of extensions! I think Minimalist Twitter will save me a TON of time. 🙂
Thanks! I really love using that extension. It makes you see just how cluttered vanilla Twitter is.
If you want to pay for customization, pomodoro sessions with blocking etc. I recommend Cold Turkey Blocker, but there is also free basic version. He block websites and apps, it's great!
PS: I'm not creator or a team member. I just love this app
Cold Turkey is great, and I believe it also makes it harder to unblock the domains once you have the blocks enabled. (If you're handy with tech and Google-fu you should still be able to get around it, though.)
I had no idea it comes with a Pomodoro timer. It's been a while since I've used it.
Thanks for the input! Much appreciated.
Thanks! Glad you found it useful!
Thank you! I'm glad you liked it!
Thank you! Much appreciated!
Thank you! Glad you loved it!
Thank you!
During my journey of learning Go, I've come across a confusing yet interesting quirk regarding type assertions. I've learned that when running a switch statement on a value's type, you can match a type that is different than the value's declared type...

git diff can be a confusing command to understand. In this tutorial, I aim to demystify the command by clarifying its ambiguities and clearly outlining its syntax so you never have to go "huh?" when it comes to git diff ever again. What is a Diff? In...

Get rid of those ugly, auto-generated file and folder names with this simple script.

We live in an amazing time; the amount of resources available to developers is at an all-time high, and there's simply no excuse to find yourself in the dark when it comes to obtaining the knowledge you need to foster the skills you desire. Udemy is ...

I'll be the first to admit: I sometimes have trouble staying focused while coding. Even though my intentions are good, I often still falter at the slightest chance of distracting myself. And to perform well doing intense and precise work such as software development, distraction isn't good - we need to remain in the context of our work environment for as long as possible without drifting off.
Here are some resources I use to keep myself focused while coding:
You may have heard of or even used this browser extension before. It's one of the quickest and easiest ways to block unwanted websites, and it's free to boot (in fact, every resource mentioned in this article is free.)
Here are a few quick tips to get you started with it:
First, you'll need to know how to efficiently define blocked sites. In the settings page, you'll find this area where you can enter definitions of domains you want to block:

See the "Tip" at the bottom? It lists symbols you can use to list more specific entries. For example, if I wanted to block all subreddits on reddit.com except for r/Programming, I would define these two entries:
*.reddit.com
+reddit.com/r/Programming
This way, the distracting part of Reddit is blocked while the more useful and productive part is accessible.
I highly suggest you review the FAQ for more tips.
I know, I know... how are you supposed to get any work done if you're using YouTube at all? Well, It's not that simple. Oftentimes, we need to use websites that can be both productive and distracting. YouTube is filled with some amazing resources that can boost your knowledge and skills. At the same time, the app preys on your compulsiveness with video feeds filled with clickbait titles and thumbnails.
The Distraction-Free YouTube extension allows you to access YouTube without all those unnecessary bells and whistles. After installation, click on the extension tray icon and choose which components of YouTube you want to hide/disable. Personally, I choose to enable all options as my default experience:

This is what my YouTube homepage looks like at all times:

Pretty boring, huh? As it should be!
I know how we all feel about Twitter... it's the devil, it's a snake pit, nothing good ever happens on Twitter... but some people use Twitter to network, and I want to talk about a tool that can enable such people to use Twitter for what they need and avoid what they don't.
Minimalist Twitter gets rid of a lot (albeit not all) of the distracting features Twitter provides by default. Here's what the options menu looks like:

As you can see, the extension affords you a lot of flexibility in how you want to experience Twitter. Want to get rid of gratuitous stats such as like and follower counts? Sick of the app constantly shoving unsolicited recommendations in your face? Maybe you don't even want to see your feed at all (Zen Mode) and just want to focus on writing that witty tweet for the day. Whatever it is you're trying to avoid (or not), Minimalist Twitter's got you covered. I really do love this extension, and since I've started using it, I've noticed that I click around randomly a lot less. My experience is more purposeful and focused rather than scattered and distracted.
So there you have it. These extensions can help you stay focused in a distracted world. Hope it helps!