Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/rreusser/beans
- Owner: rreusser
- Created: 2013-10-30T21:23:04.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-11T16:52:59.000Z (about 11 years ago)
- Last Synced: 2024-12-01T18:08:38.096Z (25 days ago)
- Language: Ruby
- Homepage:
- Size: 199 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 stopand 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 -tKill or restart the daemon, respectively, with
$ beansd stop
$ beansd restartAnd you can run the server in the foreground with
$ beans-server
But why would anyone do that?