<commit_before><commit_msg>Cleanup expired nonce entry<commit_after>#!bin/sh
## Script to clean up older nonce values
## Will be run as a cron 
# $1 -> User
# $2 -> Password
curr_date=`date "+%Y%m%d%H%M%S"`
echo $curr_date
mysql -u $1 -p$2 -e "set @CURR_DATE=$curr_date; use passport; DELETE FROM NONCE where nonce_expires_at < @CURR_DATE"

{'fraction_non_alphanumeric': 0.1411764705882353, 'fraction_numerical': 0.011764705882352941, 'mean_word_length': 5.2, 'pattern_counts': {'":': 0, '<': 4, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7229822', 'n_tokens_mistral': 137, 'n_tokens_neox': 130, 'n_words': 40}