Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rreusser/beans

A small utility for counting beans!
https://github.com/rreusser/beans

Last synced: 7 days ago
JSON representation

A small utility for counting beans!

Awesome Lists containing this 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?