<commit_before>#!/bin/bash
cp *.dtbo /lib/firmware
echo ttyO1_armhf.com > /sys/devices/bone_capemgr*/slots
echo ttyO2_armhf.com > /sys/devices/bone_capemgr*/slots
echo ttyO4_armhf.com > /sys/devices/bone_capemgr*/slots
echo ttyO5_armhf.com > /sys/devices/bone_capemgr*/slots
./serialSetup.py
<commit_msg>Updated serial script to be able to run on startup. Instructions on setting up serial script to run on startup are at http://o-botics.org/robots/quickbot/mooc/v2/configuring.html<commit_after>#!/bin/bash
cp ~/quickbot_bbb/serial/ttyO1_armhf.com-00A0.dtbo /lib/firmware
cp ~/quickbot_bbb/serial/ttyO2_armhf.com-00A0.dtbo /lib/firmware
cp ~/quickbot_bbb/serial/ttyO4_armhf.com-00A0.dtbo /lib/firmware
cp ~/quickbot_bbb/serial/ttyO5_armhf.com-00A0.dtbo /lib/firmware

echo ttyO1_armhf.com > /sys/devices/bone_capemgr*/slots
echo ttyO2_armhf.com > /sys/devices/bone_capemgr*/slots
echo ttyO4_armhf.com > /sys/devices/bone_capemgr*/slots
echo ttyO5_armhf.com > /sys/devices/bone_capemgr*/slots
~/quickbot_bbb/serial/serialSetup.py

{'fraction_non_alphanumeric': 0.1262135922330097, 'fraction_numerical': 0.024271844660194174, 'mean_word_length': 4.994186046511628, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3255246', 'n_tokens_mistral': 451, 'n_tokens_neox': 435, 'n_words': 65}