<commit_before>scripts
=======
https://github.com/rsp/scripts

Random shell scripts for different tasks
written by [<NAME>](https://pocztarski.com/).

Examples
--------
Some common command shortcuts for Git et al.:

* [`auu`](#auu) - apt-get update and upgrade for Debian or Ubuntu
* [`ga`](#ga) - git add
* [`gcm`](#gcm) - git commit with message quoted automatically
* [`gpod`](#gpod) - git push origin develop (with/without tags)
* [`gpom`](#gpom) - git push origin master (with/without tags)

Some other tools and commands:

* [`internalip`](#internalip) - get your internal IP address
* [`externalip`](#externalip) - get your external IP address
* [`sound`](#sound) - play a sound a wait to finish
* [`soundbg`](#soundbg) - play a sound in background
* [`sn1`](#sn1)/[`sn2`](#sn2)/[`sn3`](#sn3) - good sounds for notifications
* [`ok`](#ok) - prints OK/ERROR if the last command succeeded/failed
* [`oks`](#oks) - like `ok` but with different sounds played on success/failure

Details
-------
Those commands are
mostly for Linux but I would like them to work on as many
systems as possible - certainly on all POSIX systems.
If anything doesn't work, please post an [issue](#issues).

Work in progress - more to come. See:

* [Installation](#installation)
* [Issues](#issues)
* [Author](#author)
* [License](#license)

Some of those scripts were written for
[my answers on Stack Exchange](https://stackexchange.com/users/303952/rsp):

* [Make a sound once process is complete](https://askubuntu.com/questions/277215/make-a-sound-once-process-is-complete/604116#604116) (on [Ask Ubuntu](https://askubuntu.com/users/11582/rsp))
* [How can I get my external IP address in bash?](https://unix.stackexchange.com/questions/22615/how-can-i-get-my-external-ip-address-in-bash/194136#194136) (on [Unix & Linux](https://unix.stackexchange.com/users/23774/rsp))
* [How do I find my internal ip address?](https://askubuntu.com/questions/430853/how-do-i-find-my-internal-ip-address/604691#604691) (on [Ask Ubuntu](https://askubuntu.com/users/11582/rsp))
Some are just for my own conveniece. Maybe they would be useful to someone else.<commit_msg>update docs<commit_after>scripts
=======
https://github.com/rsp/scripts

Random shell scripts for different tasks
written by [<NAME>](https://pocztarski.com/).

Examples
--------
Some common command shortcuts for Git et al.:

* [`auu`](#auu) - apt-get update and upgrade for Debian or Ubuntu
* [`ga`](#ga) - git add
* [`gcm`](#gcm) - git commit with message quoted automatically
* [`gpod`](#gpod) - git push origin develop (with/without tags)
* [`gpom`](#gpom) - git push origin master (with/without tags)

Some other tools and commands:

* [`internalip`](#internalip) - get your internal IP address
* [`externalip`](#externalip) - get your external IP address
* [`sound`](#ok-functions) - play a sound a wait to finish
* [`soundbg`](#ok-functions) - play a sound in background
* [`sn1`](#ok-functions)/[`sn2`](#ok-functions)/[`sn3`](#ok-functions) - good sounds for notifications
* [`ok`](#ok-functions) - prints OK/ERROR if the last command succeeded/failed
* [`oks`](#ok-functions) - like `ok` but with different sounds played on success/failure

Details
-------
Those commands are
mostly for Linux but I would like them to work on as many
systems as possible - certainly on all POSIX systems.
If anything doesn't work, please post an [issue](#issues).

Work in progress - more to come. See:

* [Installation](#installation)
* [Issues](#issues)
* [Author](#author)
* [License](#license)

Some of those scripts were written for
[my answers on Stack Exchange](https://stackexchange.com/users/303952/rsp):

* [Make a sound once process is complete](https://askubuntu.com/questions/277215/make-a-sound-once-process-is-complete/604116#604116) (on [Ask Ubuntu](https://askubuntu.com/users/11582/rsp))
* [How can I get my external IP address in bash?](https://unix.stackexchange.com/questions/22615/how-can-i-get-my-external-ip-address-in-bash/194136#194136) (on [Unix & Linux](https://unix.stackexchange.com/users/23774/rsp))
* [How do I find my internal ip address?](https://askubuntu.com/questions/430853/how-do-i-find-my-internal-ip-address/604691#604691) (on [Ask Ubuntu](https://askubuntu.com/users/11582/rsp))
Some are just for my own conveniece. Maybe they would be useful to someone else.
{'fraction_non_alphanumeric': 0.15912240184757506, 'fraction_numerical': 0.03625866050808314, 'mean_word_length': 4.631989596879063, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 18, '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': '277348', 'n_tokens_mistral': 1552, 'n_tokens_neox': 1360, 'n_words': 424}