<commit_before><!DOCTYPE html>
<html>
<head>
  <title>Learnstream</title>
  <%= stylesheet_link_tag "application" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tag %>
  <link href='http://fonts.googleapis.com/css?family=Swanky+and+Moo+Moo' rel='stylesheet' type='text/css'>
</head>
<body>
  <%= render "layouts/application/header" %>
  <div class="container">

    <% if notice %>
      <div class="alert alert-success">
        <a class="close" data-dismiss="alert" href="#">×</a>
        <%= notice %>
      </div>
    <% end %>

    <% if alert %>
      <div  class="alert alert-error">
        <a class="close" data-dismiss="alert" href="#">×</a>
        <%= alert %>
      </div>
    <% end %>
    <%= yield %>
  </div>
<commit_msg>added google analytics tracker<commit_after><!DOCTYPE html>
<html>
<head>
  <title>Learnstream</title>
  <%= stylesheet_link_tag "application" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tag %>
  <link href='http://fonts.googleapis.com/css?family=Swanky+and+Moo+Moo' rel='stylesheet' type='text/css'>
  <script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-33373300-1']);
    _gaq.push(['_trackPageview']);

    (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
     })();

</script>
</head>
<body>
  <%= render "layouts/application/header" %>
  <div class="container">

    <% if notice %>
      <div class="alert alert-success">
        <a class="close" data-dismiss="alert" href="#">×</a>
        <%= notice %>
      </div>
    <% end %>

    <% if alert %>
      <div  class="alert alert-error">
        <a class="close" data-dismiss="alert" href="#">×</a>
        <%= alert %>
      </div>
    <% end %>
    <%= yield %>
  </div>

{'fraction_non_alphanumeric': 0.21386138613861386, 'fraction_numerical': 0.0049504950495049506, 'mean_word_length': 3.245798319327731, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '2477259', 'n_tokens_mistral': 764, 'n_tokens_neox': 687, 'n_words': 123}