<commit_before>!!! 5
%html
  %head
    %title
      Hacker Says - quote by
      = @selected_quotes.first[:a]
    %link(rel="stylesheet" type="text/css" href="themes/base.css")
    - themes.each do |theme|
      %link(rel="stylesheet" type="text/css" href="themes/#{theme}/#{theme}.css")
    
    %script(type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js")
    %script(type="text/javascript" src="jquery.history-v1.7.1-r2.js")
    %script(type="text/javascript" src="jquery.bxSlider.min.js")
    %script(type="text/javascript" src="jquery.cookie.js")
    %script(type="text/javascript" src="hackersays.js")
    :javascript
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-12994604-4']);
      _gaq.push(['_setDomainName', 'hackersays.com']);
      _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);
      })();
    :javascript
      var addthis_config = {
        data_ga_property: _gaq[0][1],
        data_ga_social: true
      };      
    %script(type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4fb7bd6e61eecb7a")
    
  %body(data-theme="sepia")
    #header
      %h1
        %a(href="/") Hacker Says
      %p.share
        %a(href="https://github.com/jarmo/hackersays/issues") Submit Your Quote
        or
        %a(href="https://github.com/jarmo/hackersays") Fork for Theming

    #tagline
      %p.tagline
        Best programming and hacker quotes. Ever.
      %p.by
        Curated by fellow hackers
        %a(href="http://itreallymatters.net") Jarmo
        %span.amp &amp;
        %a(href="http://themoll.com") Andri

    #themes 
      %ul
        - themes.each do |theme|
          %li(data-theme=theme)>
            - title = theme.capitalize
            %a{:title => "Switch to #{title}"}
              %img{:alt => title, :src => "/themes/#{theme}/icon.png"}
    
    #container 
      %ul#quotes{:class => @quote_by_id ? "via-link" : ""}
        - @selected_quotes.each do |quote|
          %li{"data-id" => quote[:id]}
            %blockquote.quote
              %p
                %span= quote[:c]
              %cite= quote[:a]

    #toolbar
      %a.play(href="#")

    #share
      .addthis_toolbox.addthis_default_style
        %a.addthis_button_preferred_1
        %a.addthis_button_preferred_2
        %a.addthis_button_preferred_3
        %a.addthis_button_preferred_4
        %a.addthis_button_compact
        %a.addthis_counter.addthis_bubble_style

    #template
      %li
        %blockquote.quote
          %p
            %span
          %cite
<commit_msg>Exclude email, print and mailto from addthis.<commit_after>!!! 5
%html
  %head
    %title
      Hacker Says - quote by
      = @selected_quotes.first[:a]
    %link(rel="stylesheet" type="text/css" href="themes/base.css")
    - themes.each do |theme|
      %link(rel="stylesheet" type="text/css" href="themes/#{theme}/#{theme}.css")
    
    %script(type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js")
    %script(type="text/javascript" src="jquery.history-v1.7.1-r2.js")
    %script(type="text/javascript" src="jquery.bxSlider.min.js")
    %script(type="text/javascript" src="jquery.cookie.js")
    %script(type="text/javascript" src="hackersays.js")
    :javascript
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-12994604-4']);
      _gaq.push(['_setDomainName', 'hackersays.com']);
      _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);
      })();
    :javascript
      var addthis_config = {
        data_ga_property: _gaq[0][1],
        data_ga_social: true,
        services_exclude: "email,print,mailto"
      };      
    %script(type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4fb7bd6e61eecb7a")
    
  %body(data-theme="sepia")
    #header
      %h1
        %a(href="/") Hacker Says
      %p.share
        %a(href="https://github.com/jarmo/hackersays/issues") Submit Your Quote
        or
        %a(href="https://github.com/jarmo/hackersays") Fork for Theming

    #tagline
      %p.tagline
        Best programming and hacker quotes. Ever.
      %p.by
        Curated by fellow hackers
        %a(href="http://itreallymatters.net") Jarmo
        %span.amp &amp;
        %a(href="http://themoll.com") Andri

    #themes 
      %ul
        - themes.each do |theme|
          %li(data-theme=theme)>
            - title = theme.capitalize
            %a{:title => "Switch to #{title}"}
              %img{:alt => title, :src => "/themes/#{theme}/icon.png"}
    
    #container 
      %ul#quotes{:class => @quote_by_id ? "via-link" : ""}
        - @selected_quotes.each do |quote|
          %li{"data-id" => quote[:id]}
            %blockquote.quote
              %p
                %span= quote[:c]
              %cite= quote[:a]

    #toolbar
      %a.play(href="#")

    #share
      .addthis_toolbox.addthis_default_style
        %a.addthis_button_preferred_1
        %a.addthis_button_preferred_2
        %a.addthis_button_preferred_3
        %a.addthis_button_preferred_4
        %a.addthis_button_compact
        %a.addthis_counter.addthis_bubble_style

    #template
      %li
        %blockquote.quote
          %p
            %span
          %cite

{'fraction_non_alphanumeric': 0.16309159005788218, 'fraction_numerical': 0.01191692202928158, 'mean_word_length': 2.3764367816091956, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '4393172', 'n_tokens_mistral': 2075, 'n_tokens_neox': 2013, 'n_words': 304}