devp / productivity_ftw forked from eladmeidar/productivity_ftw

tired of wasting your time on Facebook/Twitter/whatever? use this Ruby server to stop screwing around and get things done! productivity is at your fingertips

This URL has Read+Write access

devp (author)
Wed Nov 04 09:01:19 -0800 2009
commit  09304bfd946f8beee42581ca4e242dd9684c0e19
tree    34bfd126a3903327083109eb8c9e18711051432f
parent  3cc26eb919cd08b4f88b262a221384c6f5a87c29
name age message
file README.textile Wed Nov 04 09:01:19 -0800 2009 customize page with another dotfile [devp]
file b-productive.rb Loading commit data...
directory pages/ Wed Nov 04 09:01:19 -0800 2009 customize page with another dotfile [devp]
file productity_ftwrc.sample Wed Nov 04 09:01:02 -0800 2009 customize block list with a .rc file [devp]
file productivity_ftw.rb Thu Oct 15 16:33:50 -0700 2009 Commit everything (yeah i know, awesome commit ... [eladmeidar]
README.textile

Producivity FTW!

Tired of wasting your time on useless crap like facebook/twitter/other-time-consuming-no-profit-website? well productivity_ftw is just for you.

Installing

just checkout the source:

git clone git://github.com/eladmeidar/productivity_ftw.git

and fire off the productivity enhancing server:


sudo ruby productivity_ftw.rb

(you’ll probably need to install the bjeanes-ghost gem first)

note that you have to use sudo cause you are taking over port 80, not sure if it’s required on windows also.

Adding more hosts to block

To create your own blocklist, create a ~/.productivity_ftwrc file in your home directory. See productivity_ftwrc.sample for an example of the right format.

Overriding the productive page

Not everyone likes Rick Astley! That’s okay.

Step 1: Click here for a quick overview on the internal architecture.

Step 2: Create a ~/.productivity_ftw_page file in your home directory. See the default pages/productive_page.

“Thank you”s

productivity_ftw was created by Elad Meidar, with the awesome ghost gem by bjeans and the Ruby server in one gist by h0rs3r4dish