You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Buddy Sandidge 8b016d9fc5 Remove debugger statment 5 years ago
.gitignore Initial commit 5 years ago
Dockerfile Add Dockerfile 5 years ago
LICENSE Initial commit 5 years ago
README.md update readme 5 years ago
action.js rewrite in JavaScript 5 years ago
bucket.js rewrite in JavaScript 5 years ago
buckets.js Remove debugger statment 5 years ago
main.js rewrite in JavaScript 5 years ago

README.md

buckets-of-fun

Usage

buckets-of-fun takes a first argument of the target size. The following arguments are the size of the buckets required.

main.js target bucket [bucket...]

target: volume of bucket to search for
bucket: volume of bucket

Install

If node is installed, you can run directly by running:

$ node ./main.js 4 3 5

The node script can also be run from inside a docker container. To build and run, you can following the commands below.

$ docker build . -t buckets-of-fun
$ docker run buckets-of-fun 4 3 5