Small script to configure your hosts file so you don't get distracted during the day
Project description
horseshit
horseshit is an easy-to-use command line program that blocks websites known to distract us from our work, which is forked from leftnode/get-shit-done.
Available in Python 2.x/3.x, horseshit is also a PyPI package that can be easily installed and updated via pip.
Project homepage: http://www.soimort.org/horseshit
Installation
1. Using the PyPI package:
Install the PyPI package:
$ [sudo] pip install horseshit
or:
$ [sudo] easy_install horseshit
2. Using Git:
Clone the Git repository:
$ git clone git://github.com/soimort/horseshit.git $ [sudo] python setup.py install
Usage
1. Configuration
horseshits is a no-brainer plain text file contains a load of horseshits that may distract you from work, line by line.
twitter.com plus.google.com reddit.com
On *nix systems, put your horseshits into:
/etc/horseshits
Or: (recommended!)
~/.config/horseshits
On Windows, put it into your user directory:
.config/horseshits
2. To get-shit-done
Execute it as root because it modifies your hosts file and restarts your network daemon.
$ sudo get-shit-done work
3. To no longer get-shit-done
$ sudo get-shit-done play
Additional Tips
You can, of course, use get-shit-done with your crontab, to control your work time and play time during the day. Whatever, I should say self-control is always the best.
Acknowledgement
Thanks to Vic Cherubini, the original author of get-shit-done.
Changelog
0.0.2
Date: 2013-01-14
Initial release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file horseshit-0.0.5.tar.gz
.
File metadata
- Download URL: horseshit-0.0.5.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68a065e5044a46d419c4397d1c291767c92e47bc335a6bd23ec51a34d8b6036d |
|
MD5 | 4459ef2784cdaaa0f1d7158b2f747dca |
|
BLAKE2b-256 | 37ea19fb8331c638d5f6b9e5b3637e02dfca83b4065b24ce697576962a0bf382 |
File details
Details for the file horseshit-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: horseshit-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a4da74557147f5507246a505b77eb1c66872164753d52a0354173539986d15a |
|
MD5 | 874eb9385cc9725a8790a8189dfa1d82 |
|
BLAKE2b-256 | 3976baf2075c898a954300215798495cee2adeaa2ab55c531d6bf964603c1aa0 |
File details
Details for the file horseshit-0.0.5-py2-none-any.whl
.
File metadata
- Download URL: horseshit-0.0.5-py2-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e931fd0d4c4a1e5d01c95af184f506a3a4ef614748d55d3670cee7a42c47a97c |
|
MD5 | 551423bf50c40c8be7d274caf3a90808 |
|
BLAKE2b-256 | 69068be488b1f27604ed67a393356b3918092cde06aea8bc579f192956701a88 |