<commit_before><commit_msg>add second file with simple loop 2<commit_after><!DOCTYPE html>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Leap Motion JavaScript Sample</title>
<script src="http://js.leapmotion.com/leap-0.6.4.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>

<script>
// Store frame for motion functions
var previousFrame = null;
var lasttype = "";

// Setup Leap loop with frame callback function
var controllerOptions = {enableGestures: true};


Leap.loop(controllerOptions, function(frame) {
  checkIfCircled(frame);
});


function clearType ()
{
  lasttype = "";
}

function checkIfCircled( frame ) {
  if (frame.gestures.length > 0) {
    var gesture = frame.gestures[0];
    var mygetrequest=new XMLHttpRequest();
    if (gesture.type == "circle" && lasttype != "circle") {
          mygetrequest.open("GET", "http://10.121.1.67:8080/remote/processKey?key=pause", true);
          mygetrequest.send(null);
          lasttype="circle";
    } else if (lasttype == "circle") {
      setTimeout(clearType, 6000);
    }
  }
}

</script>

</head>
<body>
<h1>Leap Motion JavaScript Sample</h1>
<div id="main">
  <h3>Frame data:</h3>
  <div id="frameData"></div>
  <div style="clear:both;"></div>
  <h3>Hand data:</h3>
  <div id="handData"></div>
  <div style="clear:both;"></div>
  <h3>Finger and tool data:</h3>
  <div id="pointableData"></div>
  <div style="clear:both;"></div>
  <h3>Gesture data:</h3>
  <div id="gestureData"></div>
</div>
</body>
</html>

{'fraction_non_alphanumeric': 0.18984126984126984, 'fraction_numerical': 0.022857142857142857, 'mean_word_length': 4.184210526315789, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 46, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '6227200', 'n_tokens_mistral': 585, 'n_tokens_neox': 559, 'n_words': 114}