<commit_before><!DOCTYPE html>
<html>
<head>
  <title><%= @page_title || 'Nothing Calendar' %></title>
  <%= csrf_meta_tag %>
  <link href="/stylesheets/all.css" rel="stylesheet" type="text/css">
  <script src="/javascripts/jquery-1.4.2.min.js"></script>
  <script src="/javascripts/jquery.calendar-widget.js"></script>
  <!--fixes a broken json parser on some android phones -->
  <script>window.JSON = null;</script>
  <script src="/javascripts/json2.js"></script>
  <script src="/javascripts/lawnchair-0.6.1.min.js"></script>
  <script src="/javascripts/lawnchair-adapter-webkit-sqlite-0.6.1.js"></script>
  <script src="/javascripts/query.js"></script>
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
  <link rel="Icon" href="/images/favicon.ico">
  <link rel="apple-touch-icon" href="/images/icon.png"/>
  <link rel="apple-touch-icon-precomposed" href="/images/precomposed-icon.png"/>
  <link rel="apple-touch-startup-image" href="/images/startup.png">

</head>
<body>
  <div class="wrap">

    <div class="nav_info">
      <div class="title">
	<a href='/'>
	  <% if content_for?(:title) %>
	    <%= yield(:title) %>
	  <% else %>
	    NothingCalendar
	  <% end %>
	</a>
      </div>
      <div class="subtitle">
        <% if content_for?(:sub_title) %>
	  <%= yield(:sub_title) %>
	<% else %>
	  Tracks occurences of some event.
	<% end %>
      </div>

      <%= render :partial => "shared/notice_messages" %>
 
    </div>
    
    <%= yield %>

    <p class="footer">
      <a href="/site">About NothingCalendar</a><br/>
      Inspired by
      <a href="http://calendaraboutnothing.com">Calendar About Nothing</a>.
      <br/>
      Created by <a href="http://mayerdan.com"><NAME></a>
    </p>
  </div>

  <% if Rails.env.development? %>
    <script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>
  <% end %>
</body>
</html><commit_msg>added google analytics to layout<commit_after><!DOCTYPE html>
<html>
<head>
  <title><%= @page_title || 'Nothing Calendar' %></title>
  <%= csrf_meta_tag %>
  <link href="/stylesheets/all.css" rel="stylesheet" type="text/css">
  <script src="/javascripts/jquery-1.4.2.min.js"></script>
  <script src="/javascripts/jquery.calendar-widget.js"></script>
  <!--fixes a broken json parser on some android phones -->
  <script>window.JSON = null;</script>
  <script src="/javascripts/json2.js"></script>
  <script src="/javascripts/lawnchair-0.6.1.min.js"></script>
  <script src="/javascripts/lawnchair-adapter-webkit-sqlite-0.6.1.js"></script>
  <script src="/javascripts/query.js"></script>
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
  <link rel="Icon" href="/images/favicon.ico">
  <link rel="apple-touch-icon" href="/images/icon.png"/>
  <link rel="apple-touch-icon-precomposed" href="/images/precomposed-icon.png"/>
  <link rel="apple-touch-startup-image" href="/images/startup.png">

</head>
<body>
  <div class="wrap">

    <div class="nav_info">
      <div class="title">
	<a href='/'>
	  <% if content_for?(:title) %>
	    <%= yield(:title) %>
	  <% else %>
	    NothingCalendar
	  <% end %>
	</a>
      </div>
      <div class="subtitle">
        <% if content_for?(:sub_title) %>
	  <%= yield(:sub_title) %>
	<% else %>
	  Tracks occurences of some event.
	<% end %>
      </div>

      <%= render :partial => "shared/notice_messages" %>
 
    </div>
    
    <%= yield %>

    <p class="footer">
      <a href="/site">About NothingCalendar</a><br/>
      Inspired by
      <a href="http://calendaraboutnothing.com">Calendar About Nothing</a>.
      <br/>
      Created by <a href="http://mayerdan.com"><NAME></a>
    </p>
  </div>

  <% if Rails.env.development? %>
    <script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>
  <% end %>

  <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-27172934-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>
  
</body>
</html>
{'fraction_non_alphanumeric': 0.21994134897360704, 'fraction_numerical': 0.010473397570171765, 'mean_word_length': 3.604628736740598, 'pattern_counts': {'":': 0, '<': 147, '<?xml version=': 0, '>': 149, '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': '1351894', 'n_tokens_mistral': 1773, 'n_tokens_neox': 1661, 'n_words': 283}