<commit_before># proper:bytes FreeBSD installation

1. Create a PostgreSQL database
2. Execute as root:

    mkdir -p /usr/local/lib
    cd /usr/local/lib
    git clone https://github.com/improper/probytes.git
    chown -R www:www probytes
    cd probytes
    cp daemon/probytesd /usr/local/sbin
    cp daemon/probytesd.conf.rb /usr/local/etc
    $EDITOR /usr/local/etc/probytesd.conf.rb
    cp daemon/rc-scripts/freebsd/probytesd /usr/local/etc/rc.d
    echo 'probytesd_enable="YES"' >> /etc/rc.conf

3. Insert into your `/usr/local/etc/nginx/nginx.conf`:

    log_format traffic '$host $request_length $bytes_sent';
    access_log /var/log/nginx-traffic.log traffic;

4. Append to your `/etc/newsyslog.conf`:

    /var/log/nginx-traffic.log              644  3     1024 *     JC    /var/run/nginx.pid

5. Execute:

    /usr/local/etc/rc.d/nginx reload
    /usr/local/etc/rc.d/probytesd start

6. Open the client in the browser, depending on the target directory you set in `probytesd.conf.rb`.<commit_msg>docs: fix code blocks<commit_after># proper:bytes FreeBSD installation

1. Create a PostgreSQL database
2. Execute as root:

        mkdir -p /usr/local/lib
        cd /usr/local/lib
        git clone https://github.com/improper/probytes.git
        chown -R www:www probytes
        cd probytes
        cp daemon/probytesd /usr/local/sbin
        cp daemon/probytesd.conf.rb /usr/local/etc
        $EDITOR /usr/local/etc/probytesd.conf.rb
        cp daemon/rc-scripts/freebsd/probytesd /usr/local/etc/rc.d
        echo 'probytesd_enable="YES"' >> /etc/rc.conf

3. Insert into your `/usr/local/etc/nginx/nginx.conf`:

        log_format traffic '$host $request_length $bytes_sent';
        access_log /var/log/nginx-traffic.log traffic;

4. Append to your `/etc/newsyslog.conf`:

        /var/log/nginx-traffic.log              644  3     1024 *     JC    /var/run/nginx.pid

5. Execute:

        /usr/local/etc/rc.d/nginx reload
        /usr/local/etc/rc.d/probytesd start

6. Open the client in the browser, depending on the target directory you set in `probytesd.conf.rb`.
{'fraction_non_alphanumeric': 0.11575408261287223, 'fraction_numerical': 0.013448607108549471, 'mean_word_length': 2.4716666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '1656037', 'n_tokens_mistral': 767, 'n_tokens_neox': 730, 'n_words': 176}