<commit_before>#!/bin/bash -e

#base image already has node and nvm installed globally...

echo "================= Updating global nodejs packages ==================="
sudo npm install -g \
  grunt-cli@1.2.0 \
  mocha@5.2.0 \
  vows@0.8.2 \
  casperjs@1.1.4 \
  bower@1.8.4
  
  npm install -g --unsafe-perm \
    phantomjs-prebuilt@2.1.16 

echo "================ Installing selenium =================="
sudo mkdir -p /srv
cd /srv && wget -nv http://selenium-release.storage.googleapis.com/3.12/selenium-server-standalone-3.12.0.jar

for file in /u14nodall/version/*
do
  $file
done
<commit_msg>update selenium latest version<commit_after>#!/bin/bash -e

#base image already has node and nvm installed globally...

echo "================= Updating global nodejs packages ==================="
sudo npm install -g \
  grunt-cli@1.2.0 \
  mocha@5.2.0 \
  vows@0.8.2 \
  casperjs@1.1.4 \
  bower@1.8.4
  
  npm install -g --unsafe-perm \
    phantomjs-prebuilt@2.1.16 

echo "================ Installing selenium =================="
sudo mkdir -p /srv
cd /srv && wget -nv http://selenium-release.storage.googleapis.com/3.13/selenium-server-standalone-3.13.0.jar

for file in /u14nodall/version/*
do
  $file
done

{'fraction_non_alphanumeric': 0.23821339950372208, 'fraction_numerical': 0.04631927212572374, 'mean_word_length': 3.2907801418439715, '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': '2786747', 'n_tokens_mistral': 484, 'n_tokens_neox': 437, 'n_words': 101}