Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viccherubini/get-shit-done
Small script to configure your hosts file so you don't get distracted during the day.
https://github.com/viccherubini/get-shit-done
Last synced: 11 days ago
JSON representation
Small script to configure your hosts file so you don't get distracted during the day.
- Host: GitHub
- URL: https://github.com/viccherubini/get-shit-done
- Owner: viccherubini
- Created: 2010-06-22T16:51:04.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T18:49:00.000Z (almost 2 years ago)
- Last Synced: 2024-08-09T21:10:53.082Z (3 months ago)
- Language: Shell
- Homepage: http://viccherubini.com
- Size: 197 KB
- Stars: 740
- Watchers: 11
- Forks: 139
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# get-shit-done
get-shit-done is an easy to use command line program that blocks websites known to distract us from our work.
After cloning this repository, put it in your $PATH and ensure it is executable.
Execute it as root because it modifies your hosts file and restarts your network daemon.
## To get-shit-done
$ sudo get-shit-done work
## To no longer get-shit-done
$ sudo get-shit-done play
### $siteList
Add or remove elements of this array for sites to block or unblock.
### ~/.config/get-shit-done.ini
Appends additional sites to block. Duplicates will be removed, and www is prepended.
sites = foo.com, bar.com, baz.com
### $restartNetworkingCommand
Update this variable with the path to your network daemon along with any parameters needed to restart it.
### $hostsFile
Update this variable to point to the location of your hosts file. Make sure it is an absolute path.
# Updates
It's amazing how fast this repository has grown, I had never expected a single link on Hacker News would have caused that! I love it.
I'd really love if anyone wanted to follow some of my other repositories, including [jolt](https://github.com/leftnode/jolt) or [dbmigrator](https://github.com/leftnode/dbmigrator). I think both are promising projects and I know I could use some help on them.
Thanks!
-Vic Cherubini