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

# Set debug mode and halt on errors
set -x
set -e

# Add apache-maven repo to yum
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo

# Yum update current system and install pre-reqs
sudo yum clean all && \
     yum install -y epel-release && \
     yum -y update && \
     yum install -y java-1.7.0-openjdk.x86_64 java-1.7.0-openjdk-devel.x86_64 && \
     yum install -y wget vim zip unzip sshpass nmap lokkit apache-maven git libaio

# Set debug mode off
set +x<commit_msg>Added open port for 5005 (remote debug)<commit_after>#!/usr/bin/env bash

# Set debug mode and halt on errors
set -x
set -e

# Add apache-maven repo to yum
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo

# Yum update current system and install pre-reqs
sudo yum clean all && \
     yum install -y epel-release && \
     yum -y update && \
     yum install -y java-1.7.0-openjdk.x86_64 java-1.7.0-openjdk-devel.x86_64 && \
     yum install -y wget vim zip unzip sshpass nmap lokkit apache-maven git libaio

# Open port for Java remote debugging
sudo firewall-cmd --zone=public --add-port=5005/tcp --permanent
sudo firewall-cmd --reload

# Set debug mode off
set +x
{'fraction_non_alphanumeric': 0.11434977578475336, 'fraction_numerical': 0.026905829596412557, 'mean_word_length': 3.021021021021021, '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': '3196668', 'n_tokens_mistral': 544, 'n_tokens_neox': 492, 'n_words': 149}