<commit_before>#!/usr/bin/env bash -eux

echo "Yum Updating.... "
yum -y update
echo "Yum Cleaning... "
yum -y clean all

systemctl stop rsyslog
systemctl stop crond
#service rsyslog stop
#service crond stop

rm -f /etc/ssh/ssh_host_*

find /var/log/ -type f | while read file; do cat /dev/null > "${file}";done

rm -f /tmp/*

find /home/ -mindepth 1 -maxdepth 1 -type d -exec rm -fr {} \;
find /root/ -mindepth 1 -maxdepth 1 -type d -exec rm -fr {} \;
find /root/ -type f -exec rm -f {} \;
history -c

shred -u /etc/ssh/*_key /etc/ssh/*_key.pub
shred -u /root/.*history  /home/centos/.*history /home/*/.*history
dd if=/dev/zero of=/zeros bs=1M
rm -f /zeros
<commit_msg>commented out a buggy line in cleanup<commit_after>#!/usr/bin/env bash -eux

echo "Yum Updating.... "
yum -y update
echo "Yum Cleaning... "
yum -y clean all

systemctl stop rsyslog
systemctl stop crond
#service rsyslog stop
#service crond stop


find /var/log/ -type f | while read file; do cat /dev/null > "${file}";done

# rm -f /tmp/*

find /home/ -mindepth 1 -maxdepth 1 -type d -exec rm -fr {} \;
find /root/ -mindepth 1 -maxdepth 1 -type d -exec rm -fr {} \;

find /root/ -type f -exec rm -f {} \;

history -c

shred -u /etc/ssh/*_key /etc/ssh/*_key.pub
shred -u /root/.*history  /home/centos/.*history /home/*/.*history
rm -f /etc/ssh/ssh_host_*

dd if=/dev/zero of=/zeros bs=1M
rm -f /zeros

{'fraction_non_alphanumeric': 0.1672753834915997, 'fraction_numerical': 0.007304601899196494, 'mean_word_length': 2.6147757255936677, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1311351', 'n_tokens_mistral': 567, 'n_tokens_neox': 543, 'n_words': 190}