<commit_before>#!/bin/bash
set -o errexit

# Coffee counter
#
# LICENSE:    MIT
#
# @project    coffee
# @package    deployment
# @author     <NAME> <<EMAIL>>

# Install dependencies
apt-get update && apt-get install git-core python-rpi.gpio nodered firmware-ralink

# Update node
npm install -g npm@2.x
npm cache clean -f
npm install -g n
n stable
hash -r

# Install additional nodes
cd /usr/src/app/node-red/
npm i node-red-node-pibrella node-red-node-feedparser node-red-node-xmpp<commit_msg>Added more wifi dongle drivers<commit_after>#!/bin/bash
set -o errexit

# Coffee counter
#
# LICENSE:    MIT
#
# @project    coffee
# @package    deployment
# @author     <NAME> <<EMAIL>>

# Install dependencies
apt-get update &&\
apt-get install git-core python-rpi.gpio nodered firmware-ralink linux-firmware-ralink linux-firmware-ath9k linux-firmware-rtl8192cu

# Update node
npm install -g npm@2.x
npm cache clean -f
npm install -g n
n stable
hash -r

# Install additional nodes
cd /usr/src/app/node-red/
npm i node-red-node-pibrella node-red-node-feedparser node-red-node-xmpp
{'fraction_non_alphanumeric': 0.11245353159851301, 'fraction_numerical': 0.006505576208178439, 'mean_word_length': 3.6223175965665235, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6967914', 'n_tokens_mistral': 401, 'n_tokens_neox': 378, 'n_words': 112}