<commit_before>- content_for :head do
  :javascript
    var production_env = #{is_production?},
        maxFrames = #{MAX_FRAMES},
        currentPage = #{@current_page};

  %script{:src => 'https://raw.github.com/brianmario/jquery-infinite-scroll/master/jquery.infinitescroll.js', :type => 'text/javascript'}
  %script{:src => is_production? ? 'https://github.com/potomak/jquery-pixel/raw/master/jquery.pixel.js' : '/jquery.pixel.js', :type => 'text/javascript'}
  %script{:src => '/init.js', :type => 'text/javascript'}
  %script{:src => '/pagination.js', :type => 'text/javascript'}

  %meta{:property => "og:title", :content => "Draw!"}
  %meta{:property => "og:type", :content => "website"}
  %meta{:property => "og:url", :content => "http://drawbang.com"}
  %meta{:property => "og:image", :content => "http://#{request.host_with_port}/images/draw.png"}
  %meta{:property => "og:site_name", :content => "Draw!"}
  %meta{:property => "og:description", :content => "Let's draw pixelart now!"}
  %meta{:property => "fb:app_id", :content => FACEBOOK['app_id']}
  
  %link{:rel => "alternate", :type => "application/rss+xml", :href => "http://#{request.host_with_port}/feed.rss", :title => "Draw! feed"}

#desktop
  #adv
    :javascript
      google_ad_client = "ca-pub-7194529311513014";
      /* Draw! (160x600) */
      google_ad_slot = "7948970014";
      google_ad_width = 160;
      google_ad_height = 600;
    %script{:src => 'http://pagead2.googlesyndication.com/pagead/show_ads.js', :type => 'text/javascript'}
  
  #controls
    .actions
      .action.selectable.pixel.active{:'data-action' => 'pixel'}
      .action.selectable.fill{:'data-action' => 'fill'}
      .action.selectable.clearPixel{:'data-action' => 'clearPixel'}
    .actions
      .action.undo.active
      .action.redo.active
    #colors
      - @colors.each do |color|
        .color{:'data-color' => color, :class => "#{"active" if color == "#000000"}"}
          %div{:style => "background-color: #{color}"}
    #clear.active
<commit_msg>Add facebook facepile social plugin<commit_after>- content_for :head do
  :javascript
    var production_env = #{is_production?},
        maxFrames = #{MAX_FRAMES},
        currentPage = #{@current_page};

  %script{:src => 'https://raw.github.com/brianmario/jquery-infinite-scroll/master/jquery.infinitescroll.js', :type => 'text/javascript'}
  %script{:src => is_production? ? 'https://github.com/potomak/jquery-pixel/raw/master/jquery.pixel.js' : '/jquery.pixel.js', :type => 'text/javascript'}
  %script{:src => '/init.js', :type => 'text/javascript'}
  %script{:src => '/pagination.js', :type => 'text/javascript'}

  %meta{:property => "og:title", :content => "Draw!"}
  %meta{:property => "og:type", :content => "website"}
  %meta{:property => "og:url", :content => "http://drawbang.com"}
  %meta{:property => "og:image", :content => "http://#{request.host_with_port}/images/draw.png"}
  %meta{:property => "og:site_name", :content => "Draw!"}
  %meta{:property => "og:description", :content => "Let's draw pixelart now!"}
  %meta{:property => "fb:app_id", :content => FACEBOOK['app_id']}
  
  %link{:rel => "alternate", :type => "application/rss+xml", :href => "http://#{request.host_with_port}/feed.rss", :title => "Draw! feed"}

%fb:facepile

#desktop
  #adv
    :javascript
      google_ad_client = "ca-pub-7194529311513014";
      /* Draw! (160x600) */
      google_ad_slot = "7948970014";
      google_ad_width = 160;
      google_ad_height = 600;
    %script{:src => 'http://pagead2.googlesyndication.com/pagead/show_ads.js', :type => 'text/javascript'}
  
  #controls
    .actions
      .action.selectable.pixel.active{:'data-action' => 'pixel'}
      .action.selectable.fill{:'data-action' => 'fill'}
      .action.selectable.clearPixel{:'data-action' => 'clearPixel'}
    .actions
      .action.undo.active
      .action.redo.active
    #colors
      - @colors.each do |color|
        .color{:'data-color' => color, :class => "#{"active" if color == "#000000"}"}
          %div{:style => "background-color: #{color}"}
    #clear.active

{'fraction_non_alphanumeric': 0.20933660933660933, 'fraction_numerical': 0.022113022113022112, 'mean_word_length': 3.8522050059594757, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 71, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2080975', 'n_tokens_mistral': 1490, 'n_tokens_neox': 1414, 'n_words': 231}