<commit_before># boxwich

Sandwiches delivered with the push of a button.

![The box](http://jonjonsonjr.github.io/boxwich/img/gh_box.jpg)

## Background

This program was part of our project at [HackNC 2014](http://hacknc.us/),
the boxwich. It won 3rd place overall as well as the sponsor's choice awards from
[Mailjet](https://www.mailjet.com/) and
[Digital Ocean](https://www.digitalocean.com/).

We wanted to make something that solved a serious problem: deciding what to eat.
With the boxwich, you don't have to worry about where to go or what to order,
you just have to press the button! The boxwich will randomly select a sandwich
from <NAME> and have it delivered to you!

The switch acts as a safety mechanism, so you have to flip it to arm the box
before it will work. We had several people just come up and immediately push
the button during HackNC, so it was very useful -- it saved me a lot of money.

The boxwich currently only selects from the Plain Slims because they're much
cheaper, but that is trivial to change.

## Usage

Edit the config file to add your <NAME>'s account credentials, your
address, and your phone number. You have to put your phone number in the
delivery instructions due to a bug.

To order a sandwich, just run the program.

	$ node app.js

If you're feeling cheeky, run the binary.

	$ makemeasandwich

The payment method is set to cash, so don't accidentally run this without cash!

## Hardware

We used a [Raspberry Pi](https://github.com/gabrieltriggs/boxwich) to connect
the box to the internet.
<commit_msg>Add people to README<commit_after># boxwich

Sandwiches delivered with the push of a button.

![The box](http://jonjonsonjr.github.io/boxwich/img/gh_box.jpg)

## Background

This program was part of our project at [HackNC 2014](http://hacknc.us/),
the boxwich. It won 3rd place overall as well as the sponsor's choice awards from
[Mailjet](https://www.mailjet.com/) and
[Digital Ocean](https://www.digitalocean.com/).

We wanted to make something that solved a serious problem: deciding what to eat.
With the boxwich, you don't have to worry about where to go or what to order,
you just have to press the button! The boxwich will randomly select a sandwich
from <NAME> and have it delivered to you!

The switch acts as a safety mechanism, so you have to flip it to arm the box
before it will work. We had several people just come up and immediately push
the button during HackNC, so it was very useful -- it saved me a lot of money.

The boxwich currently only selects from the Plain Slims because they're much
cheaper, but that is trivial to change.

## Usage

Edit the config file to add your <NAME>'s account credentials, your
address, and your phone number. You have to put your phone number in the
delivery instructions due to a bug.

To order a sandwich, just run the program.

	$ node app.js

If you're feeling cheeky, run the binary.

	$ makemeasandwich

The payment method is set to cash, so don't accidentally run this without cash!

## Hardware

We used a [Raspberry Pi](https://github.com/gabrieltriggs/boxwich) to connect
the box to the internet.

## Acknowledgements

This project was inspired by [makemeasandwich](https://github.com/travist/makemeasandwich.js).
I wanted to just use this originally, but I couldn't get it to work, so I rewrote it from scratch.

- [<NAME>](https://github.com/gabrieltriggs) built the box and wrote the button daemon.
- [<NAME>](https://github.com/tking0036) was our pocket linux expert and constant entertainment.

{'fraction_non_alphanumeric': 0.07226173541963016, 'fraction_numerical': 0.003982930298719772, 'mean_word_length': 4.1629955947136565, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 9, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4056850', 'n_tokens_mistral': 1050, 'n_tokens_neox': 988, 'n_words': 522}