<commit_before>#!/bin/bash

set -e
set -v

sudo apt update
sudo apt -y upgrade
sudo apt -y --fix-missing install apt-file aptitude aria2 atop cmake curl git glances gnupg2 keepass2 mercurial pv python-dev python-pip python3-pip ruby-dev tmux vim whois zsh dirmngr syncthing net-tools coreutils xclip wget scdaemon flatpak gnome-software-plugin-flatpak

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

# gsconnect
sudo ufw allow 1714:1764/udp
sudo ufw allow 1714:1764/tcp
sudo ufw reload

if [[ -z $USER ]]; then
    USER=`whoami`
fi

sudo usermod -aG docker $USER

if [[ -z $NO_SYSTEMCTL ]]; then
    sudo systemctl enable docker
    sudo systemctl restart docker
    sudo systemctl enable --now <EMAIL><commit_msg>add ufw explicitly to ubuntu config<commit_after>#!/bin/bash

set -e
set -v

sudo apt update
sudo apt -y upgrade
sudo apt -y --fix-missing install apt-file aptitude aria2 atop cmake curl git glances gnupg2 keepass2 mercurial pv python-dev python-pip python3-pip ruby-dev tmux vim whois zsh dirmngr syncthing net-tools coreutils xclip wget scdaemon flatpak gnome-software-plugin-flatpak ufw

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

# gsconnect
sudo ufw allow 1714:1764/udp
sudo ufw allow 1714:1764/tcp
sudo ufw reload

if [[ -z $USER ]]; then
    USER=`whoami`
fi

sudo usermod -aG docker $USER

if [[ -z $NO_SYSTEMCTL ]]; then
    sudo systemctl enable docker
    sudo systemctl restart docker
    sudo systemctl enable --now <EMAIL>cthing@$USER.service
{'fraction_non_alphanumeric': 0.08279845956354301, 'fraction_numerical': 0.025673940949935817, 'mean_word_length': 3.9335443037974684, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '3544570', 'n_tokens_mistral': 615, 'n_tokens_neox': 540, 'n_words': 187}