<commit_before>
# internet-connection

 [![PayPal](https://img.shields.io/badge/%24-paypal-f39c12.svg)][paypal-donations] [![AMA](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Version](https://img.shields.io/npm/v/internet-connection.svg)](https://www.npmjs.com/package/internet-connection) [![Downloads](https://img.shields.io/npm/dt/internet-connection.svg)](https://www.npmjs.com/package/internet-connection) [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)

> A small script that plays a beep when there is no Internet connection

## Installation

 1. Download this repository using `git clone` or  clicking on [this link](https://github.com/IonicaBizau/internet-connection/archive/master.zip).
    ```sh
    git clone <EMAIL>:IonicaBizau/internet-connection.git
    ```
 2. Install `mplayer`:
    ```sh
    sudo apt-get install mplayer
    ```

## How to use

Enter in the downloaded repository folder and run `start.sh`:

```sh
./start.sh &
```

Or add `./start.sh` to start at boot:

```sh
crontab -e
```

Then add `@reboot` followed by path to `start.sh` script.

## Utility

The script will play a sound when the Internet connectivity is stopped.


## :yum: How to contribute
Have an idea? Found a bug? See [how to contribute][contributing].


## :scroll: License

[MIT][license] © [<NAME>][website]

[paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW
[donate-now]: http://i.imgur.com/6cMbHOC.png<commit_msg>Updated docs<commit_after>
# internet-connection

 [![Patreon](https://img.shields.io/badge/Support%20me%20on-Patreon-%23e6461a.svg)][paypal-donations] [![PayPal](https://img.shields.io/badge/%24-paypal-f39c12.svg)][paypal-donations] [![AMA](https://img.shields.io/badge/ask%20me-anything-1abc9c.svg)](https://github.com/IonicaBizau/ama) [![Version](https://img.shields.io/npm/v/internet-connection.svg)](https://www.npmjs.com/package/internet-connection) [![Downloads](https://img.shields.io/npm/dt/internet-connection.svg)](https://www.npmjs.com/package/internet-connection) [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)

> A small script that plays a beep when there is no Internet connection

## Installation

 1. Download this repository using `git clone` or  clicking on [this link](https://github.com/IonicaBizau/internet-connection/archive/master.zip).
    ```sh
    git clone git@github.com:IonicaBizau/internet-connection.git
    ```
 2. Install `mplayer`:
    ```sh
    sudo apt-get install mplayer
    ```

## How to use

Enter in the downloaded repository folder and run `start.sh`:

```sh
./start.sh &
```

Or add `./start.sh` to start at boot:

```sh
crontab -e
```

Then add `@reboot` followed by path to `start.sh` script.

## Utility

The script will play a sound when the Internet connectivity is stopped.


## :yum: How to contribute
Have an idea? Found a bug? See [how to contribute][contributing].

## :moneybag: Donations

Another way to support the development of my open-source modules is
to [set up a recurring donation, via Patreon][patreon]. :rocket:

[PayPal donations][paypal-donations] are appreciated too! Each dollar helps.

Thanks! :heart:


## :scroll: License

[MIT][license] © [<NAME>][website]

[patreon]: https://www.patreon.com/ionicabizau
[paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW
[donate-now]: http://i.imgur.com/6cMbHOC.png
{'fraction_non_alphanumeric': 0.16148901981788966, 'fraction_numerical': 0.0096411355115158, 'mean_word_length': 4.872641509433962, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 8, 'https://': 24, 'lorem ipsum': 0, 'www.': 9, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3415401', 'n_tokens_mistral': 1416, 'n_tokens_neox': 1302, 'n_words': 269}