<commit_before><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="/static/texthole.js"></script>

<link rel="stylesheet" type="text/css" href="/static/texthole.css" />
<div id="header">
<h3>TextHole</h3>
</div>
<div id="login">
{% if user %}
{{user}} <a href="/logout">Logout</a><br>
{% else %}
<a href="/login">Login</a><br>
{% endif %}
</div>
<div id="viewarea">
    <div id="link"></div>
    <p><pre id="content"></pre></p>
</div>
<div id="navigatearea">
<input type="text" id="navigateinput">
<button id="navigatebutton" onclick="navigate_button()">Navigate</button>
</div>
<div id="editarea">
<textarea rows=25 cols=80 id="inputarea" wrap='off'></textarea><br>
Expires:
<select id="expiry">
    <option value="1800">30 minutes</option>
    <option value="21600">6 hours</option>
    <option value="86400">1 day</option>
    <option value="604800">7 days</option>
    <option value="2592000">30 days</option>
</select><br>
<div class="loggedin">
Anonymous: <input type="checkbox" id="anonymous" value="anonymous"/><br>
</div>
<button id="submit" onclick="create_tag('None')">Submit</button>
<button class="editable" id="delete" onclick="delete_tag(current_tag)">Delete</button>
<button class="editable" id="update" onclick="create_tag(current_tag)">Update</button>
<br>
</div>
<script>
    $(document).ready(page_setup("{{tag}}", "{{user}}"));
</script><commit_msg>Added google analytics<commit_after><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="/static/texthole.js"></script>

<link rel="stylesheet" type="text/css" href="/static/texthole.css" />
<title>TextHole</title>
<div id="header">
<h3>TextHole</h3>
</div>
<div id="login">
{% if user %}
{{user}} <a href="/logout">Logout</a><br>
{% else %}
<a href="/login">Login</a><br>
{% endif %}
</div>
<div id="viewarea">
    <div id="link"></div>
    <p><pre id="content"></pre></p>
</div>
<div id="navigatearea">
<input type="text" id="navigateinput">
<button id="navigatebutton" onclick="navigate_button()">Navigate</button>
</div>
<div id="editarea">
<textarea rows=25 cols=80 id="inputarea" wrap='off'></textarea><br>
Expires:
<select id="expiry">
    <option value="1800">30 minutes</option>
    <option value="21600">6 hours</option>
    <option value="86400">1 day</option>
    <option value="604800">7 days</option>
    <option value="2592000">30 days</option>
</select><br>
<div class="loggedin">
Anonymous: <input type="checkbox" id="anonymous" value="anonymous"/><br>
</div>
<button id="submit" onclick="create_tag('None')">Submit</button>
<button class="editable" id="delete" onclick="delete_tag(current_tag)">Delete</button>
<button class="editable" id="update" onclick="create_tag(current_tag)">Update</button>
<br>
</div>
<script type="text/javascript">
    $(document).ready(page_setup("{{tag}}", "{{user}}"));

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-34833798-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>
{'fraction_non_alphanumeric': 0.2363264112313542, 'fraction_numerical': 0.028078385492834163, 'mean_word_length': 6.370689655172414, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 127, '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': '5482143', 'n_tokens_mistral': 1280, 'n_tokens_neox': 1201, 'n_words': 214}