<commit_before># Tech Books Deals of the Day

This is the source code that runs http://techbooksdotd.herokuapp.com.
It's written in Ruby and runs on Sinatra, using Haml for the views.
It's pretty simple--look at techbooksdotd.rb for all controller logic.

I wrote this to save me from having to check the Apress, Manning, and O'Reilly
sites daily for their book deals.

## To Run

You must have Ruby 2.x (last tested using Ruby 2.1.1) and Bundler installed on your machine.

Clone the repo to your local machine. Change to that directory and run:

`bundle install`

After Bundler does its work, run:

`rackup -p 4567`

Now, open a browser to [http://localhost:4567](http://localhost:4567) to see the app.

## License

Tech Books Deals of the Day is released under the Eclipse Public License 1.0.
See LICENSE for details.<commit_msg>Update README to include Vance's Peachpit contribution<commit_after># Tech Books Deals of the Day

This is the source code that runs http://techbooksdotd.herokuapp.com. It's written in Ruby and runs on Sinatra, using Haml for the views. It's pretty simple--look at `techbooksdotd.rb` for all controller logic.

## To Run

You must have Ruby 2.x (last tested using Ruby 2.1.1) and Bundler installed on your machine.

Clone the repo to your local machine. Change to that directory and run:

`bundle install`

After Bundler does its work, run:

`rackup -p 4567`

Now, open a browser to [http://localhost:4567](http://localhost:4567) to see the app.

## Thanks

Thanks to Vance ([https://github.com/aroc725](https://github.com/aroc725)) for adding Peachpit. This code also was repurposed for InformIT to display the InformIT book's cover instead of the InformIT logo.

## License

Tech Books Deals of the Day is released under the Eclipse Public License 1.0.
See LICENSE for details.
{'fraction_non_alphanumeric': 0.07509663169519602, 'fraction_numerical': 0.02319160684704583, 'mean_word_length': 4.104225352112676, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '1235633', 'n_tokens_mistral': 572, 'n_tokens_neox': 530, 'n_words': 268}