<commit_before>#!/bin/bash

set -x

unset UCF_FORCE_CONFFOLD
export DEBIAN_FRONTEND=noninteractive
export UCF_FORCE_CONFFNEW=YES

ucf --purge /boot/grub/menu.lst
sudo dpkg-reconfigure debconf -f noninteractive -p critical

APT_GET="sudo apt-get"
APT_GET_INSTALL="$APT_GET -qy --no-install-recommends install"

# configure sudo
# omab ALL=(ALL) NOPASSWD:ALL

# update to testing
# echo "deb http://mirrors.kernel.org/debian/ testing main contrib non-free" > /etc/apt/sources.list
# $APT_GET update
# $APT_GET upgrade
# $APT_GET dist-upgrade

# REBOOT to boot into the new kernel

# update to sid
grep -e sid /etc/apt/sources.list || (
    echo "deb http://mirrors.kernel.org/debian/ sid main contrib non-free" | sudo tee /etc/apt/sources.list
    $APT_GET update
    $APT_GET -qy upgrade
    $APT_GET -qy dist-upgrade
    # REBOOT to boot into the new kernel
)

# restore backup

$APT_GET -qy autoremove gdm3
$APT_GET -qy autoremove --purge 'gnome*'

$APT_GET_INSTALL ack-grep arandr aspell-en aspell-es autojump curl emacs25 \
                 evince feh geeqie git gparted htop i3 i3lock i3blocks ipython \
                 mpv nfs-common nfs-kernel-server nodejs npm pry redshift ruby \
                 rxvt-unicode scrot slim suckless-tools unp vagrant vim-gtk \
                 virtualenv virtualenvwrapper weechat weechat-plugins \
                 weechat-scripts zfs-dkms zfsutils-linux zsh silversearcher-ag \
                 rofi fonts-font-awesome dunst apt-transport-https \
                 ca-certificates software-properties-common imagemagick unzip \
                 xbacklight

# $APT_GET_INSTALL awesome awesome-extra sakura

sudo ln -s /usr/bin/nodejs /usr/local/bin/node

# Fetch dotfiles
curl -s https://raw.githubusercontent.com/omab/dotfiles/master/.bin/dotfiles-bootstrap | bash -
<commit_msg>Add xclip<commit_after>#!/bin/bash

set -x

unset UCF_FORCE_CONFFOLD
export DEBIAN_FRONTEND=noninteractive
export UCF_FORCE_CONFFNEW=YES

ucf --purge /boot/grub/menu.lst
sudo dpkg-reconfigure debconf -f noninteractive -p critical

APT_GET="sudo apt-get"
APT_GET_INSTALL="$APT_GET -qy --no-install-recommends install"

# configure sudo
# omab ALL=(ALL) NOPASSWD:ALL

# update to testing
# echo "deb http://mirrors.kernel.org/debian/ testing main contrib non-free" > /etc/apt/sources.list
# $APT_GET update
# $APT_GET upgrade
# $APT_GET dist-upgrade

# REBOOT to boot into the new kernel

# update to sid
grep -e sid /etc/apt/sources.list || (
    echo "deb http://mirrors.kernel.org/debian/ sid main contrib non-free" | sudo tee /etc/apt/sources.list
    $APT_GET update
    $APT_GET -qy upgrade
    $APT_GET -qy dist-upgrade
    # REBOOT to boot into the new kernel
)

# restore backup

$APT_GET -qy autoremove gdm3
$APT_GET -qy autoremove --purge 'gnome*'

$APT_GET_INSTALL ack-grep arandr aspell-en aspell-es autojump curl emacs25 \
                 evince feh geeqie git gparted htop i3 i3lock i3blocks ipython \
                 mpv nfs-common nfs-kernel-server nodejs npm pry redshift ruby \
                 rxvt-unicode scrot slim suckless-tools unp vagrant vim-gtk \
                 virtualenv virtualenvwrapper weechat weechat-plugins \
                 weechat-scripts zfs-dkms zfsutils-linux zsh silversearcher-ag \
                 rofi fonts-font-awesome dunst apt-transport-https \
                 ca-certificates software-properties-common imagemagick unzip \
                 xbacklight xclip

# $APT_GET_INSTALL awesome awesome-extra sakura

sudo ln -s /usr/bin/nodejs /usr/local/bin/node

# Fetch dotfiles
curl -s https://raw.githubusercontent.com/omab/dotfiles/master/.bin/dotfiles-bootstrap | bash -

{'fraction_non_alphanumeric': 0.08896210873146623, 'fraction_numerical': 0.0032948929159802307, 'mean_word_length': 2.904608788853162, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1413981', 'n_tokens_mistral': 1321, 'n_tokens_neox': 1260, 'n_words': 328}