Usually I disable all social stuff.. slack, twitter, fb and so on. When I really wanna get work done I even leave my phone in a different room so I'm not tempted to look at it.
I give myself little incentives as well... like if I finish one hour of work, I can browse Twitter for a few mins or when I'm done adding in that new feature I can see whats happening in slack.
Music helps alot as well. I use this website called brain.fm that plays "focus" type of music and surprisingly it keeps me locked in. Here's the site if you wanna check it out brain.fm/app#!/
And lastly, coffeee :D
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think this is a common thing for most people.
Usually I disable all social stuff.. slack, twitter, fb and so on. When I really wanna get work done I even leave my phone in a different room so I'm not tempted to look at it.
I give myself little incentives as well... like if I finish one hour of work, I can browse Twitter for a few mins or when I'm done adding in that new feature I can see whats happening in slack.
Music helps alot as well. I use this website called brain.fm that plays "focus" type of music and surprisingly it keeps me locked in. Here's the site if you wanna check it out brain.fm/app#!/
And lastly, coffeee :D