<commit_before>compile:
	g++ -Iincludes src/request.cpp src/keyvalue.cpp src/main.cpp -o cpp.cgi

install: compile
	sudo mkdir -p /var/www/cgi-bin; \
	sudo mv cpp.cgi /var/www/cgi-bin; \
	if [ -d "/etc/apache2" ]; then \
		sudo service apache2 restart; \
	fi

deploy: compile
	ssh user@192.168.1.41 << 'cd ~/CGI-PP; git pull; make; sudo make install'
<commit_msg>fixed deploy command<commit_after>compile:
	g++ -Iincludes src/request.cpp src/keyvalue.cpp src/main.cpp -o cpp.cgi

install: compile
	sudo mkdir -p /var/www/cgi-bin; \
	sudo mv cpp.cgi /var/www/cgi-bin; \
	if [ -d "/etc/apache2" ]; then \
		sudo service apache2 restart; \
	fi \
	if [ -d "/etc/httpd" ]; then \
		sudo service httpd restart; \
	fi

deploy:
	ssh -t user@192.168.1.41 'cd /home/user/CGI-PP; git pull; make; sudo make install'

{'fraction_non_alphanumeric': 0.15422885572139303, 'fraction_numerical': 0.02736318407960199, 'mean_word_length': 2.9655172413793105, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 2, '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': '1574270', 'n_tokens_mistral': 358, 'n_tokens_neox': 321, 'n_words': 89}