<commit_before># It looks like there are several interesting methods in this repo.
#
# DonneMartin's dev-tools repo
#
#   https://github.com/donnemartin/dev-setup/blob/master/.functions
#
# * fs - determine the total size of a file or directory
# * dataurl - Create a dataurl from a file
# * gitio - Create a git.io short URL
# * getcertnames - Show all the names (CNs and SANs) listed in the SSL
#       certification chain for a given host.
#
# Paul Irish's dotfiles repo
#
#   https://github.com/paulirish/dotfiles/blob/master/.functions
#
# * gifify - Create animated gifs from any video
# * webmify - Turn video into webm


# The `codetree` funciton is a wrapper for a specialized imvocation of `tree`.  The output
#  is color enabled, it excludes the .git and node_modules directories, pipes the output
#  into a pager where the color is preserved and line numbers are added.

    function codetree() {
        tree -aC -I '.git|node_modules|bower_components' --dirsfirst "$@" | less -FRNX;
    }


# The `dig-it` function is a wrapper around `dig` with some command line switches to
# give clean, yet verbose, output.

    function dig-it() {
        dig +nocmd "$1" any +multiline +noall +answer
    }
<commit_msg>Add function to set teminal window title<commit_after># It looks like there are several interesting methods in this repo.
#
# DonneMartin's dev-tools repo
#
#   https://github.com/donnemartin/dev-setup/blob/master/.functions
#
# * fs - determine the total size of a file or directory
# * dataurl - Create a dataurl from a file
# * gitio - Create a git.io short URL
# * getcertnames - Show all the names (CNs and SANs) listed in the SSL
#       certification chain for a given host.
#
# Paul Irish's dotfiles repo
#
#   https://github.com/paulirish/dotfiles/blob/master/.functions
#
# * gifify - Create animated gifs from any video
# * webmify - Turn video into webm


# The `codetree` funciton is a wrapper for a specialized imvocation of `tree`.  The output
#  is color enabled, it excludes the .git and node_modules directories, pipes the output
#  into a pager where the color is preserved and line numbers are added.

    function codetree() {
        tree -aC -I '.git|node_modules|bower_components' --dirsfirst "$@" | less -FRNX;
    }


# The `dig-it` function is a wrapper around `dig` with some command line switches to
# give clean, yet verbose, output.

    function dig-it() {
        dig +nocmd "$1" any +multiline +noall +answer
    }


# Set the title, displayed on the tab, of the current terminal session.  I have to
# experiment with this to see if it gets overwritten when I run processes.

    function set-terminal-title {
        echo -ne "\033]0;"$*"\007"
    }

{'fraction_non_alphanumeric': 0.09346139637975619, 'fraction_numerical': 0.0033247137052087182, 'mean_word_length': 3.2511773940345368, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2104539', 'n_tokens_mistral': 847, 'n_tokens_neox': 813, 'n_words': 341}