<commit_before>#!/bin/bash -e

DEVS=$(lsusb|grep -E '(04b4|1d50|fb9a|1443)' |sed 's/:.*//;s/Bus //;s/Device //;s/ /\//')

if [ -z "$1" ]; then
    echo "$0: usage: $0 <file>"
    exit 1;
fi

for dev in $DEVS;do
    echo "Downloading $1 to $dev"
    /sbin/fxload -D /dev/bus/usb/$dev -t fx2lp -I $1
done

exit 0<commit_msg>fx2 firmware: Adding ixo-usb-jtag to download.sh<commit_after>#!/bin/bash -e

DEVS=$(lsusb|grep -E '(16c0|04b4|1d50|fb9a|1443)' |sed 's/:.*//;s/Bus //;s/Device //;s/ /\//')

if [ -z "$1" ]; then
    echo "$0: usage: $0 <file>"
    exit 1;
fi

for dev in $DEVS;do
    echo "Downloading $1 to $dev"
    /sbin/fxload -D /dev/bus/usb/$dev -t fx2lp -I $1
done

exit 0
{'fraction_non_alphanumeric': 0.2324561403508772, 'fraction_numerical': 0.06140350877192982, 'mean_word_length': 2.586387434554974, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '7024213', 'n_tokens_mistral': 350, 'n_tokens_neox': 329, 'n_words': 84}