<commit_before>#!/bin/bash

# Install Java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get -y -q update
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
sudo apt-get -y -q install oracle-java7-installer
sudo apt-get install -y --force-yes oracle-java8-*
sudo update-alternatives --set java /usr/lib/jvm/java-8-oracle/jre/bin/java

# Install elasticsearch
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.6.0.deb
sudo dpkg -i elasticsearch-1.6.0.deb
sudo service elasticsearch start # Run it<commit_msg>Update bootstrap script to include lein download<commit_after>#!/bin/bash

# Install Java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get -y -q update
echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
sudo apt-get -y -q install oracle-java7-installer rlwrap
sudo apt-get install -y --force-yes oracle-java8-*
sudo update-alternatives --set java /usr/lib/jvm/java-8-oracle/jre/bin/java

# Install elasticsearch
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.6.0.deb
sudo dpkg -i elasticsearch-1.6.0.deb
sudo service elasticsearch start # Run it

curl -o- https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein >> lein
chmod +x lein 
sudo mv lein /usr/local/bin/
cd ~/dev/slack-lens
lein deps
{'fraction_non_alphanumeric': 0.11662011173184357, 'fraction_numerical': 0.018156424581005588, 'mean_word_length': 4.268382352941177, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5497935', 'n_tokens_mistral': 524, 'n_tokens_neox': 487, 'n_words': 119}