<commit_before>#!/usr/bin/env bash

# Setup a new Ubuntu machine. Needs to be run from the checkout directory.

# Update the system.
sudo apt-get update
sudo apt-get upgrade

# Add environment script to HOME/.local.
sudo cp scripts/env.sh ${HOME}/.local/env.sh
source ${HOME}/.local/env.sh

# Create a local opt directory.
mkdir -p ${HOME}/.local/opt

# Copy some scripts to local bin.
sudo cp scripts/backup.sh ~/.local/bin/
sudo cp scripts/keepassx_sync.sh ~/.local/bin/

# Copy backup script to cron.daily.
sudo ln -s ~/.local/bin/backup.sh /etc/cron.daily/backup

# Install terminator.
sudo apt-get install -y terminator

# Copy config files.
cp -r .config/* ${HOME}/.config/<commit_msg>Make sure .local/bin is created.<commit_after>#!/usr/bin/env bash

# Setup a new Ubuntu machine. Needs to be run from the checkout directory.

# Update the system.
sudo apt-get update
sudo apt-get upgrade

# Add environment script to HOME/.local.
sudo cp scripts/env.sh ${HOME}/.local/env.sh
source ${HOME}/.local/env.sh

# Create a local opt directory.
mkdir -p ${HOME}/.local/bin
mkdir -p ${HOME}/.local/opt

# Copy some scripts to local bin.
sudo cp scripts/backup.sh ~/.local/bin/
sudo cp scripts/keepassx_sync.sh ~/.local/bin/

# Copy backup script to cron.daily.
sudo ln -s ~/.local/bin/backup.sh /etc/cron.daily/backup

# Install terminator.
sudo apt-get install -y terminator

# Copy config files.
cp -r .config/* ${HOME}/.config/
{'fraction_non_alphanumeric': 0.13296011196641008, 'fraction_numerical': 0.0, 'mean_word_length': 3.346504559270517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '387750', 'n_tokens_mistral': 510, 'n_tokens_neox': 470, 'n_words': 168}