<commit_before><html id="html" lang=en>
  <head>
    <meta charset=utf-8>
    <title>peepers MJPEG over HTTP client full screen</title>
    <style type="text/css">
    html {
      background: no-repeat center center fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }
    </style>
  </head>
  <body>
    <div class="control">
      <label for="imgSource">Enter your peepers url: </label><input id="imgSource" name="imgSource" type="text" value="http://"/>
      <button onclick="updateImageSource(this, event)">Start</button>
      <p>
        Press "Esc" to hide/show controls
      </p>
      <p>
        See <a href="minimal.html#instructions">instructions</a> if you are having problems.
      </p>
    </div>
    <script>
      function updateImageSource(startButton, event) {
        var src = document.getElementById('imgSource');
        var html = document.getElementById('html');
        var url = "url('" + src.value + "')";
        html.style['backgroundImage'] = url;
      };

      function toggleControls() {
        var i;
        var controls = document.getElementsByClassName('control');
        for (i = 0; i < controls.length; i ++) {
          var control = controls[i];
          if (control.style.display === 'none') {
            control.style.display = '';
          }
          else {
            control.style.display = 'none';
          }
        } // for
      };

      document.onkeydown = function(evt) {
        evt = evt || window.event;
        if (evt.keyCode == 27) {
          toggleControls();
        }
      };
    </script>
  </body>
</html><commit_msg>Wording and grammar<commit_after><html id="html" lang="en">
  <head>
    <meta charset="utf-8">
    <title>A fullscreen Peepers client</title>
    <style type="text/css">
    html {
      background: no-repeat center center fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }
    </style>
  </head>
  <body>
    <div class="control">
      <label for="imgSource">Peepers URL </label>
      <input id="imgSource" name="imgSource" type="text" value="http://"/>
      <button onclick="updateImageSource(this, event)">Start</button>
      <p>Press <code>Esc</code> to toggle controls.</p>
      <p>
        See <a href="minimal.html#instructions">instructions</a> if you're
        having problems.
      </p>
    </div>
    <script>
      function updateImageSource(startButton, event) {
        var src = document.getElementById('imgSource');
        var html = document.getElementById('html');
        var url = "url('" + src.value + "')";
        html.style['backgroundImage'] = url;
      };

      function toggleControls() {
        var i;
        var controls = document.getElementsByClassName('control');
        for (i = 0; i < controls.length; i ++) {
          var control = controls[i];
          if (control.style.display === 'none') {
            control.style.display = '';
          }
          else {
            control.style.display = 'none';
          }
        } // for
      };

      document.onkeydown = function(evt) {
        evt = evt || window.event;
        if (evt.keyCode == 27) {
          toggleControls();
        }
      };
    </script>
  </body>
</html>

{'fraction_non_alphanumeric': 0.15300384729209826, 'fraction_numerical': 0.0023675643681562593, 'mean_word_length': 2.1296296296296298, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 57, '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': '1642362', 'n_tokens_mistral': 1020, 'n_tokens_neox': 1005, 'n_words': 228}