<commit_before>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= content_for?(:title) ? yield(:title) + " — Villeme" : "Villeme" %></title>

<!-- Open Graph para Facebook -->
<%= render 'layouts/share_rules' %>

<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', :media => 'all' %>

<!-- Used for tests with Riotjs in Poltergeist -->
<%= javascript_include_tag 'es5/es5-shim', if: Rails.env.test? or Rails.env.development? %>

<!-- Favicon -->
<link rel="icon" type="image/png" href="/images/favicon.png" />

<commit_msg>Fix the pushState from Facebook login<commit_after>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= content_for?(:title) ? yield(:title) + " — Villeme" : "Villeme" %></title>

<!-- Open Graph para Facebook -->
<%= render 'layouts/share_rules' %>

<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', :media => 'all' %>

<!-- Used for tests with Riotjs in Poltergeist -->
<%= javascript_include_tag 'es5/es5-shim', if: Rails.env.test? or Rails.env.development? %>

<!-- Favicon -->
<link rel="icon" type="image/png" href="/images/favicon.png" />


<!-- Fix the pushState from facebook login -->
<script type="text/javascript">
    if (window.location.hash && window.location.hash == '#_=_') {
        if (window.history && history.pushState) {
            window.history.pushState("", document.title, window.location.pathname);
        } else {
            // Prevent scrolling by storing the page's current scroll offset
            var scroll = {
                top: document.body.scrollTop,
                left: document.body.scrollLeft
            };
            window.location.hash = '';
            // Restore the scroll offset, should be flicker free
            document.body.scrollTop = scroll.top;
            document.body.scrollLeft = scroll.left;
        }
    }
</script>


{'fraction_non_alphanumeric': 0.1794871794871795, 'fraction_numerical': 0.005805515239477504, 'mean_word_length': 3.353684210526316, 'pattern_counts': {'":': 0, '<': 34, '<?xml version=': 0, '>': 36, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3808034', 'n_tokens_mistral': 694, 'n_tokens_neox': 655, 'n_words': 144}