<commit_before># First time setup

Download and install the [latest VirtualBox platform packages](https://www.virtualbox.org/wiki/Downloads)

Download and install the [latest boot2docker](https://github.com/boot2docker/osx-installer/releases)

After installing boot2docker, [resize the hardrive](boot2docker-init.sh)

Download and install the latest fig
```
sudo pip install --upgrade distribute
sudo pip install -U fig
```

Configure [port forwarding](portforward.sh). Make sure boot2docker-vm is not powered on or started.
```
./portforward.sh
```

Verify port forward rules
```
VBoxManage showvminfo boot2docker-vm | grep "NIC [0-9]* Rule([0-9]*): *name = $1"
```

Add entries to hosts file<commit_msg>named anchor<commit_after># First time setup

Download and install the [latest VirtualBox platform packages](https://www.virtualbox.org/wiki/Downloads)

Download and install the [latest boot2docker](https://github.com/boot2docker/osx-installer/releases)

After installing boot2docker, [resize the hardrive](boot2docker-init.sh)

Download and install the latest fig
```
sudo pip install --upgrade distribute
sudo pip install -U fig
```

Configure [port forwarding](portforward.sh). Make sure boot2docker-vm is not powered on or started.
```
./portforward.sh
```

Verify port forward rules
```
VBoxManage showvminfo boot2docker-vm | grep "NIC [0-9]* Rule([0-9]*): *name = $1"
```

Add entries to [hosts file](#hostsfile)
{'fraction_non_alphanumeric': 0.12157413914265636, 'fraction_numerical': 0.015460295151089248, 'mean_word_length': 5.245614035087719, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4897081', 'n_tokens_mistral': 466, 'n_tokens_neox': 424, 'n_words': 142}