<commit_before>apt-get update && apt-get dist-upgrade -y
apt-get install -y nodejs
apt-get install -y npm
npm install -g nodemon
mkdir /usr/local/nodejs$1
rm /usr/local/nodejs$1/server.js
touch /usr/local/nodejs$1/server.js
rm /lib/systemd/system/nodejs$1.service
touch /lib/systemd/system/nodejs$1.service
echo "[Unit]" >> /lib/systemd/system/nodejs$1.service
echo "Description=Job that runs Nodejs" >> /lib/systemd/system/nodejs$1.service
echo "Documentation=" >> /lib/systemd/system/nodejs$1.service
echo "" >> /lib/systemd/system/nodejs$1.service
echo "[Service]" >> /lib/systemd/system/nodejs$1.service
echo "Type=forking" >> /lib/systemd/system/nodejs$1.service
echo "Environment=HOME=/root" >> /lib/systemd/system/nodejs$1.service
echo "ExecStart=/usr/bin/nodeservice$1.sh" >> /lib/systemd/system/nodejs$1.service
echo "" >> /lib/systemd/system/nodejs$1.service<commit_msg>added symbolic link to node<commit_after>apt-get update && apt-get dist-upgrade -y
apt-get install -y nodejs
apt-get install -y npm
ln -s "$(which nodejs)" /usr/bin/node
npm install -g nodemon
mkdir /usr/local/nodejs$1
rm /usr/local/nodejs$1/server.js
touch /usr/local/nodejs$1/server.js
rm /lib/systemd/system/nodejs$1.service
touch /lib/systemd/system/nodejs$1.service
echo "[Unit]" >> /lib/systemd/system/nodejs$1.service
echo "Description=Job that runs Nodejs" >> /lib/systemd/system/nodejs$1.service
echo "Documentation=" >> /lib/systemd/system/nodejs$1.service
echo "" >> /lib/systemd/system/nodejs$1.service
echo "[Service]" >> /lib/systemd/system/nodejs$1.service
echo "Type=forking" >> /lib/systemd/system/nodejs$1.service
echo "Environment=HOME=/root" >> /lib/systemd/system/nodejs$1.service
echo "ExecStart=/usr/bin/nodeservice$1.sh" >> /lib/systemd/system/nodejs$1.service
echo "" >> /lib/systemd/system/nodejs$1.service
{'fraction_non_alphanumeric': 0.1683222958057395, 'fraction_numerical': 0.016556291390728478, 'mean_word_length': 4.848387096774194, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 39, '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': '3244882', 'n_tokens_mistral': 680, 'n_tokens_neox': 659, 'n_words': 118}