Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.
Release History

Release History

This version
History Node

0.0.5

History Node

0.0.4

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
horseshit-0.0.5-py2-none-any.whl (6.0 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Mar 12, 2015
horseshit-0.0.5-py3-none-any.whl (6.0 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Mar 12, 2015
horseshit-0.0.5.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Mar 12, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting