<commit_before>#!/bin/bash

echo "Rendering image"

if [ -z "$ROTATE" ]; then
    ROTATE=0
fi

convert images/image.png -rotate $ROTATE images/rotated.png
fbi -d /dev/fb1 -T 1 -noverbose -a images/rotated.png

while true; do
    sleep 1
done<commit_msg>Allow setting of image as Resin environment variable<commit_after>#!/bin/bash

IMAGE=${IMAGE:-"image.png"}

echo "Rendering image"

ROTATE=${ROTATE:-0}

convert images/"$IMAGE" -rotate $ROTATE images/rotated.png
fbi -d /dev/fb1 -T 1 -noverbose -a images/rotated.png

while true; do
    sleep 1
done
{'fraction_non_alphanumeric': 0.132486388384755, 'fraction_numerical': 0.014519056261343012, 'mean_word_length': 3.7586206896551726, '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': '3445894', 'n_tokens_mistral': 218, 'n_tokens_neox': 211, 'n_words': 60}