<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>countdown</title>
  </head>
  <body>
  
  <style>
  body{
	text-align: center;
	background: #00ECB9;
  font-family: sans-serif;
  font-weight: 100;
}

h1{
  color: #396;
  font-weight: 100;
  font-size: 40px;
  margin: 40px 0px 20px;
}

#clockdiv{
	font-family: sans-serif;
	color: #fff;
	display: inline-block;
	font-weight: 100;
	text-align: center;
	font-size: 30px;
}

#clockdiv > div{
	padding: 10px;
	border-radius: 3px;
	background: #00BF96;
	display: inline-block;
}

#clockdiv div > span{
	padding: 15px;
	border-radius: 3px;
	background: #00816A;
	display: inline-block;
}

.smalltext{
	padding-top: 5px;
	font-size: 16px;
}
  </style>
<h1 id="message">&hearts; Baby Kapoor &hearts;</h1>
<div id="clockdiv">
  <div>
    <span class="days"></span>
    <div class="smalltext">Days</div>
  </div>
  <div>
    <span class="hours"></span>
    <div class="smalltext">Hours</div>
  </div>
  <div>
    <span class="minutes"></span>
    <div class="smalltext">Minutes</div>
  </div>
  <div>
    <span class="seconds"></span>
    <div class="smalltext">Seconds</div>
  </div>
    <div>
    <span class="milliseconds"></span>
    <div class="smalltext">Milliseconds</div>
  </div>
</div>


  <script>
   var baby     = new Date(2016,06,13);
   //var baby       = new Date(Date.parse(new Date()) + 5 * 1000)
   var timerId;
   
   function updateCounter(){
   var now      = new Date();
   var diff     = baby - now;
   var diffDate = new Date(baby - now);
   
  var milliseconds = diffDate.getMilliseconds();  
  var seconds = Math.floor((diffDate / 1000) % 60);
  var minutes = Math.floor((diffDate / 1000 / 60) % 60);
  var hours   = Math.floor((diffDate / (1000 * 60 * 60)) % 24);
  var days    = Math.floor(diffDate / (1000 * 60 * 60 * 24));
  
  if (seconds < 1 && minutes == 0 && hours == 0 && days == 0){
	clearInterval(timerId);
	document.getElementById("message").innerHTML = '&hearts; Happy Birthday Baby Kapoor &hearts;'
	milliseconds = 0;
    seconds	     = 0;
	minutes      = 0;
	hours        = 0;
	days         = 0;
   }
   document.getElementsByClassName("milliseconds")[0].innerHTML = ('000' + milliseconds).slice(-3);
   document.getElementsByClassName("seconds")[0].innerHTML = ('0' + seconds).slice(-2);
   document.getElementsByClassName("minutes")[0].innerHTML = ('0' + minutes).slice(-2);;
   document.getElementsByClassName("hours")[0].innerHTML   = ('0' + hours).slice(-2);;<commit_msg>removing milliseconds<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>countdown</title>
  </head>
  <body>
  
  <style>
  body{
	text-align: center;
	background: #00ECB9;
  font-family: sans-serif;
  font-weight: 100;
}

h1{
  color: #396;
  font-weight: 100;
  font-size: 40px;
  margin: 40px 0px 20px;
}

#clockdiv{
	font-family: sans-serif;
	color: #fff;
	display: inline-block;
	font-weight: 100;
	text-align: center;
	font-size: 30px;
}

#clockdiv > div{
	padding: 10px;
	border-radius: 3px;
	background: #00BF96;
	display: inline-block;
}

#clockdiv div > span{
	padding: 15px;
	border-radius: 3px;
	background: #00816A;
	display: inline-block;
}

.smalltext{
	padding-top: 5px;
	font-size: 16px;
}
  </style>
<h1 id="message">&hearts; Baby Kapoor &hearts;</h1>
<div id="clockdiv">
  <div>
    <span class="days"></span>
    <div class="smalltext">Days</div>
  </div>
  <div>
    <span class="hours"></span>
    <div class="smalltext">Hours</div>
  </div>
  <div>
    <span class="minutes"></span>
    <div class="smalltext">Minutes</div>
  </div>
  <div>
    <span class="seconds"></span>
    <div class="smalltext">Seconds</div>
  </div>
</div>


  <script>
   var baby     = new Date(2016,06,13);
   //var baby       = new Date(Date.parse(new Date()) + 5 * 1000)
   var timerId;
   
   function updateCounter(){
   var now      = new Date();
   var diff     = baby - now;
   var diffDate = new Date(baby - now);
   
  var milliseconds = diffDate.getMilliseconds();  
  var seconds = Math.floor((diffDate / 1000) % 60);
  var minutes = Math.floor((diffDate / 1000 / 60) % 60);
  var hours   = Math.floor((diffDate / (1000 * 60 * 60)) % 24);
  var days    = Math.floor(diffDate / (1000 * 60 * 60 * 24));
  
  if (seconds < 1 && minutes == 0 && hours == 0 && days == 0){
	clearInterval(timerId);
	document.getElementById("message").innerHTML = '&hearts; Happy Birthday Baby Kapoor &hearts;'
	milliseconds = 0;
    seconds	     = 0;
	minutes      = 0;
	hours        = 0;
	days         = 0;
   }   
   document.getElementsByClassName("seconds")[0].innerHTML = ('0' + seconds).slice(-2);
   document.getElementsByClassName("minutes")[0].innerHTML = ('0' + minutes).slice(-2);;
   document.getElementsByClassName("hours")[0].innerHTML   = ('0' + hours).slice(-2);;
{'fraction_non_alphanumeric': 0.1791044776119403, 'fraction_numerical': 0.04682069106522184, 'mean_word_length': 3.306338028169014, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 91, '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': '1811592', 'n_tokens_mistral': 1992, 'n_tokens_neox': 1786, 'n_words': 403}