<commit_before>ip() {
  ifconfig -a | grep inet | grep broadcast | awk '{ print $2 }'
}

killp() {
  OLD_IFS=$IFS;
  lsof -i :$1 | grep TCP | while IFS= read -r line ; do
    kill -9 `echo $line | awk '{ print $2 }'`;
    echo `echo $line | awk '{ print $1 }'`" killed";
  done
  IFS=$OLD_IFS;
}
<commit_msg>add ability to find process by name/command. findp<commit_after>ip() {
  ifconfig -a | grep inet | grep broadcast | awk '{ print $2 }'
}

killp() {
  OLD_IFS=$IFS;
  lsof -i :$1 | grep TCP | while IFS= read -r line ; do
    kill -9 `echo $line | awk '{ print $2 }'`;
    echo `echo $line | awk '{ print $1 }'`" killed";
  done
  IFS=$OLD_IFS;
}

findp() {
  ps aux | grep "$1"
}
{'fraction_non_alphanumeric': 0.18075801749271136, 'fraction_numerical': 0.016034985422740525, 'mean_word_length': 2.816666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2585736', 'n_tokens_mistral': 293, 'n_tokens_neox': 283, 'n_words': 90}