<commit_before>#!/bin/bash
echo "--------------------------"
echo -e "Setup done"
echo "MySQL Username: root Passwort: <PASSWORD>"
echo "SSH: ssh vagrant@127.0.0.1 -p 2222 Passwort: <PASSWORD>"
echo "Open a browser an navigate to localhost:8080 to visit Statusengine Interface"
echo "--------------------------"
echo "Nice to know vagrant commands:"
echo "vagrant ssh      - Open a shell via ssh"
echo "vagrant halt     - Poweroff the vm"
echo "vagrant destroy  - Factory reset the vm"
echo "vagrant up       - Start the vm or reinstall it after factory reset"
echo "--------------------------"<commit_msg>Add auto ip discovery<commit_after>#!/bin/bash

#Thanks to: http://askubuntu.com/questions/560412/displaying-ip-address-on-eth0-interface
ip=`ifconfig eth1 | grep 'inet addr' | cut -d ':' -f 2 | cut -d ' ' -f 1`

echo "--------------------------"
echo -e "Setup done"
echo "MySQL Username: root Passwort: <PASSWORD>"
echo "SSH: ssh vagrant@127.0.0.1 -p 2222 Passwort: <PASSWORD>"
echo "Statusengine interface user: admin password: <PASSWORD>"
echo "Open your browser and navigate to $ip/statusengine to visit Statusengine Interface"
echo "If the ip is not working you can use localhost:8080/statusengine"
echo "--------------------------"
echo "Nice to know vagrant commands:"
echo "vagrant ssh      - Open a shell via ssh"
echo "vagrant halt     - Poweroff the vm"
echo "vagrant destroy  - Factory reset the vm"
echo "vagrant up       - Start the vm or reinstall it after factory reset"
echo "--------------------------"
{'fraction_non_alphanumeric': 0.19646365422396855, 'fraction_numerical': 0.024885396201702686, 'mean_word_length': 2.5452436194895594, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4955292', 'n_tokens_mistral': 483, 'n_tokens_neox': 440, 'n_words': 183}