Project

beans

0.0
No commit activity in last 3 years
No release in over 3 years
A daemonized stopwatch with growl notifications so you don't forget.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

beans

What is your time actually worth?

Cool. You refactored someone's code into a totally killer feature that's gonna bump sales just a smidge. And then you went to lunch and found a quarter at the cash register. That's really great, but how many quarters did it cost to tell your co-worker about all this? I mean let's not obsess over it or anything, but it might be good to know.

beans is a simple command line tool to help you understand the value of your time. It's a daemonized stopwatch that measures time (yours) in units of dollars (theirs) and uses Growl notifications to periodically remind you what your time is actually worth.

Installation

Unnecessary use of global namespace? Probably.

$ gem install beans

Configuration

Configuration must be specified in ~/.beans.yml. Port and notification interval are optional. For example:

# beans.yml:
salary: 50000
per: year
hours_per_week: 40
notify_every: 600
port: 7878

Usage

To start counting beans, simply type

$ beans

But that's kinda silly. Who wants to dedicate a terminal window to a single number? To daemonize a bean counter, just type

$ beansd start

Then you can start and stop the counter with

$ beans start
$ beans stop

and query the current value with

$ beans

or watch the beans tick by with

$ beans -t

Remember: you waste twice as much money when you talk to someone. Are you talking to someone? Stop that. Or at least use the -n flag:

$ beans -n 2
$ beans -n 2 -t

Kill or restart the daemon, respectively, with

$ beansd stop
$ beansd restart

And you can run the server in the foreground with

$ beans-server

But why would anyone do that?