<commit_before>#!/bin/bash
PostData=`curl -sv http://coolpc.com.tw/3d.php|& grep -o "id=[0-9]\+ "|tr '\n' ','|sed 's/id=//g;s/ ,/,/g;s/^/N=/;s/,$//;s/$/\&S=1/;'`

curl -sv --data "$PostData" "http://coolpc.com.tw/3dm.php" 2>/dev/null | iconv --from big5 --to utf8|grep -o "<td colspan=2 class=w>.*$"|grep kbd|sed 's/<[^>]*>/ /g;s/[^ a-zA-Z0-9$-]*//g;s/^ //;s/^\([^ ]* [^ ]* \)[^$]*\$/\1$/;s/[ ]\+/ /g;'|column -t

#curl -sv http://coolpc.com.tw/3d.php|& iconv --from big5 --to utf8| sed -n 's/^[^>]\+>\([^<]\+\)<.*$/\1/p'
<commit_msg>quick fix for MSI GTX<commit_after>#!/bin/bash
PostData=`curl -sv http://coolpc.com.tw/3d.php|& grep -o "id=[0-9]\+ "|tr '\n' ','|sed 's/id=//g;s/ ,/,/g;s/^/N=/;s/,$//;s/$/\&S=1/;'`

curl -sv --data "$PostData" "http://coolpc.com.tw/3dm.php" 2>/dev/null | iconv --from big5 --to utf8|sed 's/GTX /GTX/g'|grep -o "<td colspan=2 class=w>.*$"|grep kbd|sed 's/<[^>]*>/ /g;s/[^ a-zA-Z0-9$-]*//g;s/^ //;s/^\([^ ]* [^ ]* \)[^$]*\$/\1$/;s/[ ]\+/ /g;'|column -t

#curl -sv http://coolpc.com.tw/3d.php|& iconv --from big5 --to utf8| sed -n 's/^[^>]\+>\([^<]\+\)<.*$/\1/p'

{'fraction_non_alphanumeric': 0.40365296803652967, 'fraction_numerical': 0.029223744292237442, 'mean_word_length': 2.6533333333333333, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, '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': '7442362', 'n_tokens_mistral': 630, 'n_tokens_neox': 581, 'n_words': 98}