hosts file hackery.
$ gem install work
$ work setup # => sets up default domain list in ~/.work $ work [start] # => disables access to domain list $ work stop # => enables access to domain list
There is also a
play alias place which inverses the
$ play [start] # => enables access to domain list $ play stop # => disables access to domain list
You can modify your list of work-only domains in
use the root domain (
www. will be added automatically.)
Ideas and motivation prompted by:
Licensing and Attribution
Copyright (c)2011 Tim Blair.
Work has been released under the MIT license as detailed in the LICENSE file that should be distributed with this library; the source code is freely available.