Skip to content

Instantly share code, notes, and snippets.

@danieljohnmorris
Last active December 18, 2015 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danieljohnmorris/5704982 to your computer and use it in GitHub Desktop.
Save danieljohnmorris/5704982 to your computer and use it in GitHub Desktop.
work mode
mate /etc/hosts
*add lines to hosts file / comment out to use sites*
dscacheutil -flushcache
# WORK MODE
0.0.0.0 facebook.com
0.0.0.0 www.facebook.com
0.0.0.0 youtube.com
0.0.0.0 www.youtube.com
# 0.0.0.0 twitter.com
# 0.0.0.0 www.twitter.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment