Sometimes we need to get something done without the distraction of facebook, twitter or for that matter, linkedin (or some other sites you want to stay away). Here is a tip for how to do it on Mac.
sudo vi /etc/hosts
(note you don’t have to use vi, feel free to use nano or other editor of your choice)
referene entries below
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
Then do this in command line.
sudo dscacheutil -flushcache