<commit_before><?
$dir='fonts';
$fuentes=array();
#lista de fuentes
if ($handle = opendir($dir)) {

    /* This is the correct way to loop over the directory. */
    while (false !== ($entry = readdir($handle))) {
		#solo si son otf o ttf
		if(strpos($entry,".otf") or strpos($entry,".ttf")){
			array_push($fuentes, $entry);
		}
		
    }
    closedir($handle);
}
#echo '<pre>';
#print_r($fuentes);
#echo '</pre>';

foreach($fuentes as $fuente){
	$css.="@font-face {
    font-family: '".substr($fuente, 0, -4)."';
    src: url('".$dir."/".$fuente."');
    font-weight: normal;
    font-style: normal;
}\n";
};

?>
<commit_msg>Adding Natsort to the fontlist<commit_after><?
$dir='fonts';
$fuentes=array();

#lista de fuentes
if ($handle = opendir($dir)) {

    /* This is the correct way to loop over the directory. */
    while (false !== ($entry = readdir($handle))) {
		#solo si son otf o ttf
		if(strpos($entry,".otf") or strpos($entry,".ttf")){
			array_push($fuentes, $entry);
		}
		
    }
    closedir($handle);
}

#echo '<pre>';
#print_r($fuentes);
#echo '</pre>';

natsort($fuentes);
foreach($fuentes as $fuente){
	$css.="@font-face {
    font-family: '".substr($fuente, 0, -4)."';
    src: url('".$dir."/".$fuente."');
    font-weight: normal;
    font-style: normal;
}\n";
};

?>

{'fraction_non_alphanumeric': 0.23356535189481825, 'fraction_numerical': 0.0030935808197989174, 'mean_word_length': 3.5724381625441697, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3252855', 'n_tokens_mistral': 529, 'n_tokens_neox': 496, 'n_words': 115}