<commit_before>!!!
%html
  %head
    %title VoteDeValeur
    = stylesheet_link_tag 'screen.css', :media => 'screen, projection'
    = stylesheet_link_tag 'print.css', :media => 'print'
    /[if lt IE 8]
      = stylesheet_link_tag 'ie.css', :media => 'screen, projection'
    = javascript_include_tag :defaults
    = csrf_meta_tag
  %body

    #header
      #logo
        = link_to "home", root_path
      #user_sign_in
        - if user_signed_in?
          = "signed in as #{current_user.email}"
          = link_to "sign out", destroy_user_session_path
        - else
          = link_to "sign in", new_user_session_path
          or
          = link_to "sign up", new_user_registration_path
    .clear
    #messages
      %p.notice= notice
      %p.alert= alert
    #container
      = yield<commit_msg>ajout de google analytics<commit_after>!!!
%html
  %head
    %title VoteDeValeur
    = stylesheet_link_tag 'screen.css', :media => 'screen, projection'
    /[if lt IE 8]
      = stylesheet_link_tag 'ie.css', :media => 'screen, projection'
    = javascript_include_tag :defaults
    = csrf_meta_tag
  %body

    #header
      #logo
        = link_to "home", root_path
      #user_sign_in
        - if user_signed_in?
          = "signed in as #{current_user.email}"
          = link_to "sign out", destroy_user_session_path
        - else
          = link_to "sign in", new_user_session_path
          or
          = link_to "sign up", new_user_registration_path
    .clear
    #messages
      %p.notice= notice
      %p.alert= alert
    #container
      = yield

:javascript
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-23743742-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);
  })();

{'fraction_non_alphanumeric': 0.1312127236580517, 'fraction_numerical': 0.005964214711729622, 'mean_word_length': 2.575488454706927, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '353539', 'n_tokens_mistral': 687, 'n_tokens_neox': 668, 'n_words': 146}