<commit_before>#!/bin/bash

# Script written by: <NAME>.
# This script install and configure NVM(Node Package Manager).

# Installing Node build essential.
sudo apt-get update && sudo apt-get install build-essential libssl-dev
# Downloading nvm script.
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh
# Installing nvm.
bash install_nvm.sh

zenity --info --text="Close and reopen the terminal."
<commit_msg>Checking if NVM isn't installed before try to install him.<commit_after>#!/bin/bash

# Script written by: JM.
# This script install and configure NVM(Node Package Manager).

if [ -d "$HOME/.nvm/" ]; then
  echo 'NVM is already installed.'
else
  # Installing Node build essential.
  sudo apt-get update && sudo apt-get install build-essential libssl-dev
  # Downloading nvm script.
  curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh
  # Installing nvm.
  bash install_nvm.sh

  zenity --info --text="Close and reopen the terminal."

  echo 'NVM was installed with success!'
fi
{'fraction_non_alphanumeric': 0.11162790697674418, 'fraction_numerical': 0.0074418604651162795, 'mean_word_length': 3.8687782805429864, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '481950', 'n_tokens_mistral': 365, 'n_tokens_neox': 341, 'n_words': 114}