<commit_before><!DOCTYPE html>
<html>                                                                  
 <head>                                                                  
 <title>DNSSEC delegations in the .nl zone</title>
<!--
Copyright (C) 2012 PowerDNS.COM BV

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
-->

<style type="text/css">
body {
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 14px;
	margin: 1.2em;
}
</style>
 <link rel="stylesheet" type="text/css" href="jqplot/jquery.jqplot.css"/>

<!--[if lt IE 9]><script type="text/javascript"
src="jqplot/excanvas.min.js"></script><![endif]-->

 <script type="text/javascript" src="jquery-1.7.2.min.js"></script>          

 <script type="text/javascript" src="jqplot/jquery.jqplot.min.js"></script>
 <script type="text/javascript" src="jqplot/plugins/jqplot.dateAxisRenderer.min.js"></script>
 <script type="text/javascript" src="jqplot/plugins/jqplot.barRenderer.min.js"></script>
 <script type="text/javascript" src="jqplot/plugins/jqplot.highlighter.min.js"></script>
 <script type="text/javascript" src="jqplot/plugins/jqplot.cursor.min.js"></script> 
 <script type="text/javascript" src="jqplot/plugins/jqplot.canvasOverlay.js"></script>
 <script type="text/javascript" src="moment.min.js"></script>
 <script type="text/javascript">                                         

var themaxTime; // latest update
var theGraph;

function makePoints(data)
{
	var points=[];
	var lines = data.split("\n");					  	
	for(i = 0; i < lines.length; ++i) {				  	
		var items = lines[i].split(" ");			  	
		if(items.length != 2)					  	
			break;						  	
		points.push([items[0]*1000, items[1]]);			  	
	}	
	return points;		
}

// this function gets passed a string containing "time_t value" lines, and
// plots it to <div id="graph"/>
function plotData(nldata, czdata, brdata)
{
	var nlpoints=makePoints(nldata);
	var czpoints=makePoints(czdata);
	var brpoints=makePoints(brdata);	
	
	var themaxVal=0;
	themaxTime=0; // global!
	
	for(i = 0; i < nlpoints.length; ++i) {	
		themaxTime = Math.max(themaxTime, nlpoints[i][0]);
		themaxVal = Math.max(themaxVal, nlpoints[i][1]);			  	
	}			

	for(i = 0; i < czpoints.length; ++i) {	
		themaxTime = Math.max(themaxTime, czpoints[i][0]);
		themaxVal = Math.max(themaxVal, czpoints[i][1]);			  	
	}			

	for(i = 0; i < brpoints.length; ++i) {	
		themaxTime = Math.max(themaxTime, brpoints[i][0]);
		themaxVal = Math.max(themaxVal, brpoints[i][1]);			  	
	}			

	if(theGraph)
		theGraph.destroy();
	$("#graph").html(""); // clear previous graph

	theGraph = $.jqplot("graph", [nlpoints,czpoints,brpoints],
		{								  	
		title: 'Total number of DNSSEC delegations in the .NL zone: '+nlpoints[nlpoints.length-1][1],
		seriesColors: ["#e38000", "#ff0000", "#0000ff"],
		seriesDefaults: { 
			shadow: false,
			lineWidth: 1,
			markerOptions: {
				size: 5,
				shadow: false
			}
		},
		axes: {							  	
			xaxis: {					  	
				renderer: $.jqplot.DateAxisRenderer
			},						  	
			yaxis:						  	
			{						  	
				min: 0,
				max: 1.3* themaxVal
			}
		},
		highlighter: {
		        show: true, 
		        sizeAdjust: 7.5
		},
		cursor: {
			show: true,
			showTooltip: false,
			zoom: true,
			showCursorLegend: false
		}
	});
	updateAge();								  		
}

function updateAge()
{
	$("#last-data-point").html(moment(themaxTime).fromNow());
}



function updateGraph()
{
	$.get("sidn-dnssec-plot",
		 function(data) {
		 	nldata=data;
		 	$.get("cznic-dnssec-plot",
		 	function(data) {
		 		czdata=data;
		 		$.get("registro-br-dnssec-plot",
		 		function(data) {
		 			brdata=data;
			 		plotData(nldata, czdata, brdata);
			 	});
		 	});
		 }
	);
}

$(document).ready(function() {
	updateGraph();
	refreshId = setInterval(updateGraph, 300000);
	refreshId2 = setInterval(updateAge, 10000);
	moment.lang('en');
	$.ajaxSetup({cache: false} );
});
 </script>                                                               
 </head>                                                                 
 <body>

<a href="https://github.com/ahuPowerDNS/dnssec-graph"><img style="position: absolute; top: 0;
right: 0; border: 0;"
src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"
alt="Fork me on GitHub"></a>
   <p>
   <center>
   	<p>
   		<a href="http://www.powerdns.com"><img border=0 src="Logo.gif"></a>
   	</p>
	 <div id="graph" align="center" style="height:400px;width:90%;"></div>
	 Data last updated <span id="last-data-point">..</span>
   </center>
   </p>
   <p>
   <font color="#ff0000">Update:</font> as .NL <strike>is about
   to</strike> <a
   href="https://www.sidn.nl/en/news/news/article/nl-heeft-wereldwijd-hoogste-aantal-dnssec-domeinnamen/">has
   become</a> the TLD
   with the most signed delegations, the blue line represents <a
   href="http://registro.br/estatisticas.html">Brazil</a>, the
   red line the <a href="http://www.nic.cz">Czech Republic</a>, the current champions!</font>
   </p>
   <p>
   New <a href="sidn-dnssec-plot">numbers</a> are polled from <a
   href="http://www.sidn.nl">SIDN</a>, <a href="http://www.nic.cz">CZ
   NIC</a> and <a href="http://registro.br/estatisticas.html">Registro
   Brazil</a> periodically. The graph will
   autorefresh. Time is your local time.
   These numbers are not official; this graph is not generated by SIDN; not
   <b>all</b> domains are in fact served from PowerDNS.
   </p><p>
   <b>The graph can be zoomed</b> by dragging a box around the time range you want to see; double click to unzoom.
   </p><p>Got a question or comment? Please contact
   <EMAIL>!</p>
   <!-- AddThis Button BEGIN -->
   <div style="float: right;" class="addthis_toolbox addthis_default_style ">
   <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
   <a class="addthis_button_tweet"></a>
   <a class="addthis_button_google_plusone"></a>
   <a class="addthis_counter addthis_pill_style"></a>
   </div>
   <script type="text/javascript"
   src="//s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ff562981b98981c"></script>
   <!-- AddThis Button END -->
 </body>                                                                 
</html>
<commit_msg>Changed linewidth and added description<commit_after><!DOCTYPE html>
<html>                                                                  
 <head>                                                                  
 <title>DNSSEC delegations in the .nl zone</title>
<!--
Copyright (C) 2012 PowerDNS.COM BV

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
-->

<style type="text/css">
body {
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 14px;
	margin: 1.2em;
}
</style>
 <link rel="stylesheet" type="text/css" href="jqplot/jquery.jqplot.css"/>

<!--[if lt IE 9]><script type="text/javascript"
src="jqplot/excanvas.min.js"></script><![endif]-->

 <script type="text/javascript" src="jquery-1.7.2.min.js"></script>          

 <script type="text/javascript" src="jqplot/jquery.jqplot.min.js"></script>
 <script type="text/javascript" src="jqplot/plugins/jqplot.dateAxisRenderer.min.js"></script>
 <script type="text/javascript" src="jqplot/plugins/jqplot.barRenderer.min.js"></script>
 <script type="text/javascript" src="jqplot/plugins/jqplot.highlighter.min.js"></script>
 <script type="text/javascript" src="jqplot/plugins/jqplot.cursor.min.js"></script> 
 <script type="text/javascript" src="jqplot/plugins/jqplot.canvasOverlay.js"></script>
 <script type="text/javascript" src="moment.min.js"></script>
 <script type="text/javascript">                                         

var themaxTime; // latest update
var theGraph;

function makePoints(data)
{
	var points=[];
	var lines = data.split("\n");					  	
	for(i = 0; i < lines.length; ++i) {				  	
		var items = lines[i].split(" ");			  	
		if(items.length != 2)					  	
			break;						  	
		points.push([items[0]*1000, items[1]]);			  	
	}	
	return points;		
}

// this function gets passed a string containing "time_t value" lines, and
// plots it to <div id="graph"/>
function plotData(nldata, czdata, brdata)
{
	var nlpoints=makePoints(nldata);
	var czpoints=makePoints(czdata);
	var brpoints=makePoints(brdata);	
	
	var themaxVal=0;
	themaxTime=0; // global!
	
	for(i = 0; i < nlpoints.length; ++i) {	
		themaxTime = Math.max(themaxTime, nlpoints[i][0]);
		themaxVal = Math.max(themaxVal, nlpoints[i][1]);			  	
	}			

	for(i = 0; i < czpoints.length; ++i) {	
		themaxTime = Math.max(themaxTime, czpoints[i][0]);
		themaxVal = Math.max(themaxVal, czpoints[i][1]);			  	
	}			

	for(i = 0; i < brpoints.length; ++i) {	
		themaxTime = Math.max(themaxTime, brpoints[i][0]);
		themaxVal = Math.max(themaxVal, brpoints[i][1]);			  	
	}			

	if(theGraph)
		theGraph.destroy();
	$("#graph").html(""); // clear previous graph

	theGraph = $.jqplot("graph", [nlpoints,czpoints,brpoints],
		{								  	
		title: 'Total number of DNSSEC delegations in the .NL zone: '+nlpoints[nlpoints.length-1][1],
		seriesColors: ["#e38000", "#ff0000", "#0000ff"],
		seriesDefaults: { 
			shadow: false,
			lineWidth: 2,
			markerOptions: {
				size: 4,
				shadow: false
			}
		},
		series:[
			{
				label: 'Signed NL zones',
				lineWidth: 2,
				markerOptions: {
					size: 3.5
				}
			},
			{
				label: 'Signed BR zones'
			},
			{
				label: 'Signed CZ zones'
			}
		],
		axes: {							  	
			xaxis: {					  	
				renderer: $.jqplot.DateAxisRenderer
			},						  	
			yaxis:						  	
			{						  	
				min: 0,
				max: 1.3* themaxVal
			}
		},
		highlighter: {
		        show: true, 
		        sizeAdjust: 7.5
		},
		cursor: {
			show: true,
			showTooltip: false,
			zoom: true,
			showCursorLegend: false
		}
	});
	updateAge();								  		
}

function updateAge()
{
	$("#last-data-point").html(moment(themaxTime).fromNow());
}



function updateGraph()
{
	$.get("sidn-dnssec-plot",
		 function(data) {
		 	nldata=data;
		 	$.get("cznic-dnssec-plot",
		 	function(data) {
		 		czdata=data;
		 		$.get("registro-br-dnssec-plot",
		 		function(data) {
		 			brdata=data;
			 		plotData(nldata, czdata, brdata);
			 	});
		 	});
		 }
	);
}

$(document).ready(function() {
	updateGraph();
	refreshId = setInterval(updateGraph, 300000);
	refreshId2 = setInterval(updateAge, 10000);
	moment.lang('en');
	$.ajaxSetup({cache: false} );
});
 </script>                                                               
 </head>                                                                 
 <body>

<a href="https://github.com/ahuPowerDNS/dnssec-graph"><img style="position: absolute; top: 0;
right: 0; border: 0;"
src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"
alt="Fork me on GitHub"></a>
   <p>
   <center>
   	<p>
   		<a href="http://www.powerdns.com"><img border=0 src="Logo.gif"></a>
   	</p>
	 <div id="graph" align="center" style="height:400px;width:90%;"></div>
	 Data last updated <span id="last-data-point">..</span>
   </center>
   </p>
   <p>
   <font color="#ff0000">Update:</font> as .NL <strike>is about
   to</strike> <a
   href="https://www.sidn.nl/en/news/news/article/nl-heeft-wereldwijd-hoogste-aantal-dnssec-domeinnamen/">has
   become</a> the TLD
   with the most signed delegations, the blue line represents <a
   href="http://registro.br/estatisticas.html">Brazil</a>, the
   red line the <a href="http://www.nic.cz">Czech Republic</a>, the current champions!</font>
   </p>
   <p>
   New <a href="sidn-dnssec-plot">numbers</a> are polled from <a
   href="http://www.sidn.nl">SIDN</a>, <a href="http://www.nic.cz">CZ
   NIC</a> and <a href="http://registro.br/estatisticas.html">Registro
   Brazil</a> periodically. The graph will
   autorefresh. Time is your local time.
   These numbers are not official; this graph is not generated by SIDN; not
   <b>all</b> domains are in fact served from PowerDNS.
   </p><p>
   <b>The graph can be zoomed</b> by dragging a box around the time range you want to see; double click to unzoom.
   </p><p>Got a question or comment? Please contact
   <EMAIL>!</p>
   <!-- AddThis Button BEGIN -->
   <div style="float: right;" class="addthis_toolbox addthis_default_style ">
   <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
   <a class="addthis_button_tweet"></a>
   <a class="addthis_button_google_plusone"></a>
   <a class="addthis_counter addthis_pill_style"></a>
   </div>
   <script type="text/javascript"
   src="//s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4ff562981b98981c"></script>
   <!-- AddThis Button END -->
 </body>                                                                 
</html>

{'fraction_non_alphanumeric': 0.14948951434878588, 'fraction_numerical': 0.013727924944812363, 'mean_word_length': 2.918108108108108, 'pattern_counts': {'":': 0, '<': 207, '<?xml version=': 0, '>': 199, 'https://': 6, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5640714', 'n_tokens_mistral': 5452, 'n_tokens_neox': 4822, 'n_words': 1176}