<commit_before>#!/bin/bash

# Uninstall Script

if [ "${USER}" != "root" ]; then
	echo "$0 must be run as root!"
	exit 2
fi

echo "Removing dev VirtualBox VM..."
docker-machine rm -f $(docker-machine ls -q)

echo "Removing docker binaries..."
rm -f /usr/local/bin/docker
rm -f /usr/local/bin/docker-machine
rm -f /usr/local/bin/docker-compose

echo "Removing boot2docker.iso and socket files..."
rm -rf ~/.docker
rm -rf /usr/local/share/boot2docker

echo "Removing boot2docker OSX files..."
rm -f /private/var/db/receipts/io.boot2docker.*
rm -f /private/var/db/receipts/io.boot2dockeriso.*

echo "All Done!"<commit_msg>Ask users before removing vms<commit_after>#!/bin/bash

# Uninstall Script

if [ "${USER}" != "root" ]; then
	echo "$0 must be run as root!"
	exit 2
fi

while true; do
  read -p "Remove all VMs? (Y/N): " yn
  case $yn in
    [Yy]* ) docker-machine rm -f $(docker-machine ls -q); break;;
    [Nn]* ) break;;
    * ) echo "Please answer yes or no.";;
  esac
done

exit 0

echo "Removing docker binaries..."
rm -f /usr/local/bin/docker
rm -f /usr/local/bin/docker-machine
rm -f /usr/local/bin/docker-compose

echo "Removing boot2docker.iso and socket files..."
rm -rf ~/.docker
rm -rf /usr/local/share/boot2docker

echo "All Done!"
{'fraction_non_alphanumeric': 0.16038492381716118, 'fraction_numerical': 0.009623095429029671, 'mean_word_length': 3.1879194630872485, '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': '867633', 'n_tokens_mistral': 495, 'n_tokens_neox': 457, 'n_words': 148}