<commit_before># screw-you-guys-im-going-home

An exercise in [yak-shaving](http://www.hanselman.com/blog/YakShavingDefinedIllGetThatDoneAsSoonAsIShaveThisYak.aspx), and bash.

In an effort to ensure I don't spend too much time in the office (max 8 hours per day), this script will schedule a notification based on your first machine login of the day. It'll notify you at 6pm, or in 8 hours time, whichever comes sooner.

### Install

`mkdir -p screw-you-guys-im-going-home && git clone https://github.com/jazlalli/screw-you-guys-im-going-home.git ./screw-you-guys-im-going-home`
`cd screw-you-guys-im-going-home && npm install`
`npm run setup`

**Important note** - The setup process removes any existing install of [sleepwatcher](http://www.bernhard-baehr.de/), and associated LaunchDaemons & LaunchAgents. If you don't want this to happen, don't run the setup. Manual instructions will be provided below (eventually).

In summary, the setup downloads and installs sleepwatcher, copies relevant files to relevant locations, changes permissions on them, sets up launchd logging, and then starts a launchd job. The job will appear in the list with the label `de.bernhard-baehr.sleepwatcher`.<commit_msg>Line breaks<commit_after># screw-you-guys-im-going-home

An exercise in [yak-shaving](http://www.hanselman.com/blog/YakShavingDefinedIllGetThatDoneAsSoonAsIShaveThisYak.aspx), and bash.

In an effort to ensure I don't spend too much time in the office (max 8 hours per day), this script will schedule a notification based on your first machine login of the day. It'll notify you at 6pm, or in 8 hours time, whichever comes sooner.

### Install

`mkdir -p screw-you-guys-im-going-home && git clone https://github.com/jazlalli/screw-you-guys-im-going-home.git ./screw-you-guys-im-going-home`

`cd screw-you-guys-im-going-home && npm install`

`npm run setup`

**Important note** - The setup process removes any existing install of [sleepwatcher](http://www.bernhard-baehr.de/), and associated LaunchDaemons & LaunchAgents. If you don't want this to happen, don't run the setup. Manual instructions will be provided below (eventually).

In summary, the setup downloads and installs sleepwatcher, copies relevant files to relevant locations, changes permissions on them, sets up launchd logging, and then starts a launchd job. The job will appear in the list with the label `de.bernhard-baehr.sleepwatcher`.
{'fraction_non_alphanumeric': 0.09476309226932668, 'fraction_numerical': 0.0024937655860349127, 'mean_word_length': 4.623831775700935, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6971370', 'n_tokens_mistral': 760, 'n_tokens_neox': 715, 'n_words': 284}