https://github.com/niku/pebbles-productivity10x-switch_hosts
For up productivity 10x, deny needless host at work.
https://github.com/niku/pebbles-productivity10x-switch_hosts
Last synced: 1 day ago
JSON representation
For up productivity 10x, deny needless host at work.
- Host: GitHub
- URL: https://github.com/niku/pebbles-productivity10x-switch_hosts
- Owner: niku
- License: mit
- Created: 2012-10-03T03:43:27.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-02-04T03:12:51.000Z (over 13 years ago)
- Last Synced: 2025-11-29T13:59:28.115Z (6 months ago)
- Language: Ruby
- Size: 102 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Pebbles::Productivity10x::SwitchHosts
For up productivity 10x, deny needless host at work.
## Installation
$ gem install pebbles-productivity10x-switch_hosts
## Usage
execute as Administrator
$ pebbles-productivity10x-switch_hosts deny
or use sudo (because this script copies `hosts` file)
$ sudo pebbles-productivity10x-switch_hosts deny
and re-open your browser, access twitter.com
If you back to free access,
$ pebbles-productivity10x-switch_hosts allow
and re-open your browser.
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request