<commit_before># Modify phpMyAdmin configuration file

GEN_BLOWFISH_SECRET=$(od -An -N8 -x /dev/random | head -1 | sed 's/^[ \t]*//' | tr -d ' ')

/opt/local/bin/sed -i -e "s:GEN_BLOWFISH_SECRET:${GEN_BLOWFISH_SECRET}:g" \
	/opt/local/etc/phpmyadmin/config.inc.php<commit_msg>add phpMyAdmin link to kumquat template<commit_after># Modify phpMyAdmin configuration file and kumquat menu

# Create blowfish secret for phpMyAdmin
GEN_BLOWFISH_SECRET=$(od -An -N8 -x /dev/random | head -1 | sed 's/^[ \t]*//' | tr -d ' ')
/opt/local/bin/sed -i -e "s:GEN_BLOWFISH_SECRET:${GEN_BLOWFISH_SECRET}:g" \
	/opt/local/etc/phpmyadmin/config.inc.php

# Add menu entry to default kumquat template to link to phpMyAdmin
/opt/local/bin/sed -i -e \
	's:\(.*mysql_database_list.*\):\1\n\t\t\t\t\t\t<li><a href="/phpmyadmin">phpMyAdmin</a></li>:g' \
	/opt/kumquat/templates/base.html
{'fraction_non_alphanumeric': 0.17865429234338748, 'fraction_numerical': 0.00580046403712297, 'mean_word_length': 3.9314285714285715, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '813704', 'n_tokens_mistral': 379, 'n_tokens_neox': 370, 'n_words': 73}