<commit_before>check-if-learn-is-not-down
==========================

On Tuesday, January 29th 2012, https://learn.uwaterloo.ca went down. Without our beloved Learn, panic struck the hearts of all students. This Ruby script checks if Learn is still down every 5 minutes. If it finds Learn not down, it ensures near instantaneous rejoice by sending you an email.<commit_msg>Update documentation<commit_after>check-if-learn-is-not-down
==========================

On Tuesday, January 29th 2012, https://learn.uwaterloo.ca went down. Without our beloved Learn, panic struck the hearts of all students. This Ruby script checks if Learn is still down every 5 minutes. If it finds Learn not down, it ensures near instantaneous rejoice by sending you an email.

## Setup
(Make sure you have Ruby)

`git clone <EMAIL>:elijahandrews/check-if-learn-is-not-down.git`

`cd check-if-learn-is-not-down`

`gem install bundler`

`bundle install`

## Usage

`ruby check-if-learn-is-not-down.rb`

Enter in your gmail username

Enter in your gmail password (it's not stored anywhere!)

When Learn comes back you will receive an email at the address
you entered.
{'fraction_non_alphanumeric': 0.1190893169877408, 'fraction_numerical': 0.012259194395796848, 'mean_word_length': 4.602941176470588, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '999645', 'n_tokens_mistral': 336, 'n_tokens_neox': 310, 'n_words': 143}