<commit_before>#!/bin/bash

# Apt packages
sudo apt update -y
sudo apt upgrade -y
sudo apt install -y -qq \
  snap \
  zsh \
  git \
  vim \
  curl \
  xfonts-terminus

# Snap packages
sudo snap refresh
sudo snap install \
  chromium \
  telegram-desktop \
  vscode

# NVM
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.7/install.sh | bash

# NPM packages
npm i -g diff-so-fancy

# Oh My ZSH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# ZSH autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

# ZSH syntax highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# Fuzzy finder
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

# TerminusTTF font
curl -O https://files.ax86.net/terminus-ttf/files/latest.zip
unzip latest.zip && rm latest.zip
mv terminus-ttf-4.46.0 ~/.fonts

# Hermit font
curl https://pcaro.es/d/otf-hermit-1.21.tar.gz --output ~/.fonts/hermit.tar.gz
tar -xzf ~/.fonts/hermit.tar.gz && rm ~/.fonts/hermit.tar.gz

# Switch shell to ZSH
chsh -s /usr/bin/zsh

# Set Chromium as a default browser
sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /snap/bin/chromium 200<commit_msg>Replace hermit and termite with nerd-fonts<commit_after>#!/bin/bash

# Apt packages
sudo apt update -y
sudo apt upgrade -y
sudo apt install -y -qq snap zsh git vim curl terminator

# Snap packages
sudo snap refresh
sudo snap install chromium telegram-desktop vscode --classic

# NVM
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.7/install.sh | bash

# NPM packages
npm i -g diff-so-fancy

# Oh My ZSH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# ZSH autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

# ZSH syntax highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# Fuzzy finder
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

# nerd-fonts
git clone https://github.com/ryanoasis/nerd-fonts
cd nerd-fonts
./install

# Switch shell to ZSH
# chsh -s /usr/bin/zsh

# Set Chromium as a default browser
# sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /snap/bin/chromium 200


{'fraction_non_alphanumeric': 0.1408179012345679, 'fraction_numerical': 0.009645061728395061, 'mean_word_length': 3.4939341421143846, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 13, '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': '1229746', 'n_tokens_mistral': 1064, 'n_tokens_neox': 981, 'n_words': 223}