<commit_before>﻿Welcome to send me feedback in github or "@huandu":http://twitter.com/huandu on twitter.

h2. List of tools

h3. The remote script runner: <code>remote</code>

If you usually run remote script with ssh or tools using ssh (e.g. pssh and onall), you will it's hard to stop remote script. It means, even if the ssh connection is down, the remote script will keep running until it exits normally.

This script is designed to resolve this issue. It's quite handy.

Basically, use it like 'nice'. Here is a sample.

<code>
ssh your-host 'remote tail -f your-log'
</code>

With the 'remote', you can safely stop this ssh connection any time.

h3. Simple command line output highlighter: <code>colorize</code>

Colorize is similar to grep with --color option, except that it's more user friendly.
For people like me who don't want to remember XTerm color code, colorize can save you.

Here is how to use it.

<code>
tail -f your.log.file | colorize yellow '^FATAL:'
</code><commit_msg>doc work<commit_after>﻿Welcome to send me feedback in github or "@huandu":http://twitter.com/huandu on twitter.

h2. List of tools

* <code>remote</code>
* <code>colorize</code>

h3. The remote script runner: <code>remote</code>

If you usually run remote script with ssh or tools using ssh (e.g. pssh and onall), you will it's hard to stop remote script. It means, even if the ssh connection is down, the remote script will keep running until it exits normally.

This script is designed to resolve this issue. It's quite handy.

Basically, use it like 'nice'. Here is a sample.

<code>
ssh your-host 'remote tail -f your-log'
</code>

With the 'remote', you can safely stop this ssh connection any time.

h3. Simple command line output highlighter: <code>colorize</code>

Colorize is similar to grep with <code>--color</code> option, except that it's a bit more user-friendly. For people like me who don't want to remember XTerm color code, colorize can save you.

Here is how to use it.

<code>
tail -f your.log.file | colorize yellow '^FATAL:'
</code>
{'fraction_non_alphanumeric': 0.0898876404494382, 'fraction_numerical': 0.0029311187103077674, 'mean_word_length': 4.019607843137255, 'pattern_counts': {'":': 2, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, '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': '4460858', 'n_tokens_mistral': 635, 'n_tokens_neox': 604, 'n_words': 313}