<commit_before>#!/bin/sh
## sets the analog card to your default output,
## helpful with some systems, innocuous otherwise
egrep '^defaults.*card.*[0-9]$' /usr/share/alsa/alsa.conf > /etc/asound.conf.default
ALSACARDNUMBER=`aplay -l | grep Analog | head -1 | cut -d: -f1 | sed 's/card //g'`
sed "s/[0-9]/${ALSACARDNUMBER}/g" /etc/asound.conf.default > /etc/asound.conf<commit_msg>check for existing file, so we don't clobber it<commit_after>#!/bin/sh
if [ ! -e /etc/asound.conf ]; then
  ## sets the analog card to your default output,
  ## helpful with some systems, innocuous otherwise
  egrep '^defaults.*card.*[0-9]$' /usr/share/alsa/alsa.conf > /etc/asound.conf.default
  ALSACARDNUMBER=`aplay -l | grep Analog | head -1 | cut -d: -f1 | sed 's/card //g'`
  sed "s/[0-9]/${ALSACARDNUMBER}/g" /etc/asound.conf.default > /etc/asound.conf
fi
{'fraction_non_alphanumeric': 0.17814726840855108, 'fraction_numerical': 0.014251781472684086, 'mean_word_length': 3.7094972067039107, 'pattern_counts': {'":': 0, '<': 3, '<?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': '106034', 'n_tokens_mistral': 330, 'n_tokens_neox': 310, 'n_words': 82}