GitXplorerGitXplorer
a

stuffed

public
14 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
92440907bb82744596db6e259e88490d2ee7e7ab

readme

aalexmarchant committed 12 years ago
Unverified
af5a8618f94329ff758cc2c4829b1156e17c9aa2

readme

aalexmarchant committed 12 years ago
Unverified
9d529783763c0f000358ffb42af1704d4cf416ba

readme

aalexmarchant committed 12 years ago
Unverified
721adf37ddfb1b37e8fb9f8b8380b14699dae15b

readme changes

aalexmarchant committed 12 years ago
Unverified
86d50bec05141b54860e9b00b872e4ce70168029

now backs up hosts file on first run

aalexmarchant committed 12 years ago
Unverified
78aa0b4ba9dd47105d06b57876685c4351acf101

Added readme

aalexmarchant committed 12 years ago

README

The README file for this repository.

Stuffed

Stuffed blocks websites on OSX. Think a command line version of Self-Control.

Install

gem install stuffed

Usage

stuffed add reddit.com - adds reddit.com & www.reddit.com to the blocked list.

stuffed remove reddit.com - removes reddit.com & www.reddit.com from the blocked list.

stuffed list - lists all sites being blocked.

stuffed off - toggles blocking off.

stuffed on - toggles blocking on.

Details

Stuffed edits your /etc/hosts file so most of the time you'll need to run sudo stuffed <task>.

There is some OSX specific code to flush the DNS cache, I haven't tried or tested any other OS's.

If you run into issues, there was a backup of the hosts file created at /etc/hosts.backup.