<commit_before># EasyEngine Swap creation

function ee_lib_create_swap()
{
	if [ $EE_TOTAL_RAM -le 512 ]; then
		if [ $EE_TOTAL_SWAP -le $EE_SWAP ];then

			# Use dd command to create SWAP
			# Swap Parameters:
			# Location: /swapfile
			# Block Size: 1024
			ee_lib_echo "Adding 1GB swapfile"
			dd if=/dev/zero of=/swapfile bs=1024 count=1024k &>> $EE_COMMAND_LOG \
			|| ee_lib_error "Unable to generate /swapfile, exit status = " $?

			# Create it as a Swap
			mkswap /swapfile &>> $EE_COMMAND_LOG \
			|| ee_lib_error "Unable to create swapfile, exit status = " $?

			# On the Swap
			swapon /swapfile &>> $EE_COMMAND_LOG \
			|| ee_lib_error "Unable to on Swap, exit status = " $?

			# Add entry into /etc/fstab
			echo "/swapfile		none		swap	sw	0	0" >> /etc/fstab \
			|| ee_lib_error "Unable to add entry into /etc/fstab, exit status = " $?
		fi
	fi
}<commit_msg>Better Display Message<commit_after># EasyEngine Swap creation

function ee_lib_create_swap()
{
	if [ $EE_TOTAL_RAM -le 512 ]; then
		if [ $EE_TOTAL_SWAP -le $EE_SWAP ];then

			# Use dd command to create SWAP
			# Swap Parameters:
			# Location: /swapfile
			# Block Size: 1024
			ee_lib_echo "Adding 1GB swapfile, please wait..."
			dd if=/dev/zero of=/swapfile bs=1024 count=1024k &>> $EE_COMMAND_LOG \
			|| ee_lib_error "Unable to generate /swapfile, exit status = " $?

			# Create it as a Swap
			mkswap /swapfile &>> $EE_COMMAND_LOG \
			|| ee_lib_error "Unable to create swapfile, exit status = " $?

			# On the Swap
			swapon /swapfile &>> $EE_COMMAND_LOG \
			|| ee_lib_error "Unable to on Swap, exit status = " $?

			# Add entry into /etc/fstab
			echo "/swapfile		none		swap	sw	0	0" >> /etc/fstab \
			|| ee_lib_error "Unable to add entry into /etc/fstab, exit status = " $?
		fi
	fi
}
{'fraction_non_alphanumeric': 0.11605633802816902, 'fraction_numerical': 0.02028169014084507, 'mean_word_length': 3.0921658986175116, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '6789440', 'n_tokens_mistral': 785, 'n_tokens_neox': 666, 'n_words': 198}