Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An anti-procrastination tool.
Ruby
branch: master

This branch is 4 commits ahead of timblair:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
.gitignore
.rspec
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
work.gemspec

README.md

Work

Anti-procrastination through hosts file hackery.

Installation

$ gem install work

Usage

$ 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 work commands:

$ play [start]    # => enables access to domain list
$ play stop       # => disables access to domain list

You can modify your list of work-only domains in ~/.work. Just use the root domain (www. will be added automatically.)

Credits

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.

Something went wrong with that request. Please try again.