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

{

  # install yarn
  curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
  echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  sudo apt-get update
  sudo apt-get install -y --no-install-recommends yarn

  # install mosh
  sudo add-apt-repository ppa:keithw/mosh
  sudo apt-get update
  sudo apt-get install -y mosh

  # install docker
  sudo apt-get update
  sudo apt-get install -y docker.io
  sudo usermod -a -G docker $USER

  # install neovim
  sudo add-apt-repository ppa:neovim-ppa/stable
  sudo apt-get update
  sudo apt-get install -y neovim python-dev python-pip python3-dev python3-pip
  sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
  sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
  sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60

  # install php
  sudo apt install -y php php-pear php-fpm php-dev php-zip php-curl php-xmlrpc php-gd php-mysql php-mbstring php-xml libapache2-mod-php

  # install composer
  php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"<commit_msg>Add unzip to install<commit_after>#!/usr/bin/env bash

{

  # install yarn
  curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
  echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  sudo apt-get update
  sudo apt-get install -y --no-install-recommends yarn

  # install mosh
  sudo add-apt-repository ppa:keithw/mosh
  sudo apt-get update
  sudo apt-get install -y mosh

  # install docker
  sudo apt-get update
  sudo apt-get install -y docker.io
  sudo usermod -a -G docker $USER

  # install neovim
  sudo add-apt-repository ppa:neovim-ppa/stable
  sudo apt-get update
  sudo apt-get install -y neovim python-dev python-pip python3-dev python3-pip
  sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
  sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
  sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60

  # install php
  sudo apt install -y php php-pear php-fpm php-dev php-zip php-curl php-xmlrpc php-gd php-mysql php-mbstring php-xml libapache2-mod-php unzip

  # install composer
  php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
{'fraction_non_alphanumeric': 0.11378002528445007, 'fraction_numerical': 0.007585335018963337, 'mean_word_length': 3.128695652173913, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1308129', 'n_tokens_mistral': 947, 'n_tokens_neox': 832, 'n_words': 239}