<commit_before># .functions
# vim:syntax=sh

#####################
# Rails functions #
#####################

# Upgrade empty all log files
function erl {
  for i in `l log/*.log`; do cat /dev/null > $i; done
}<commit_msg>added function for swapping RVM gemsets<commit_after># .functions
# vim:syntax=sh

###################
# Rails functions #
###################

# Upgrade empty all log files
function erl {
  for i in `l log/*.log`; do cat /dev/null > $i; done
}

# Change between 2 RVM gemsets
function swap_gemset {
	if [ -f .rvmrc ] && [ -f .rvmrc.swap ] ; then
		mv .rvmrc .rvmrc.temp
		mv .rvmrc.swap .rvmrc
		mv .rvmrc.temp .rvmrc.swap
		cd .. && cd -
	else
		echo "Uh-oh! You don't seem to have a '.rvmrc.swap' file."
	fi
}

{'fraction_non_alphanumeric': 0.22857142857142856, 'fraction_numerical': 0.0013605442176870747, 'mean_word_length': 3.3550295857988166, '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': '6674405', 'n_tokens_mistral': 287, 'n_tokens_neox': 271, 'n_words': 85}