<commit_before><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">

    <title><%= @app.name %></title>
    <link rel="stylesheet" href="stylesheets/screen.css" media="screen">

    <!-- These are Open Graph tags.  They add meta data to your  -->
    <!-- site that facebook uses when your content is shared     -->
    <!-- over facebook.  You should fill these tags in with      -->
    <!-- your data.  To learn more about Open Graph, visit       -->
    <!-- 'https://developers.facebook.com/docs/opengraph/'       -->
    <meta property="og:title" content=""/>
    <meta property="og:type" content=""/>
    <meta property="og:url" content=""/>
    <meta property="og:image" content=""/>
    <meta property="og:site_name" content=""/>
    <meta property="fb:app_id" content="<%= @app.id %>" />
  <script type="text/javascript">
    function popup(pageURL, title,w,h) {
      var left = (screen.width/2)-(w/2);
      var top = (screen.height/2)-(h/2);
      var targetWin = window.open(
        pageURL,
        title,
        'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left
        );
    }
  </script>
  </head>
  <body>
    <header class="clearfix">
    
      <a
        href="#"
        onclick="window.open('http://www.facebook.com/<%= @user.id %>')">
        <img
          src="https://graph.facebook.com/me/picture?type=large&access_token=<%= @client.access_token %>"
          height="64"
        />
      </a>

      <div>
        <h1>Welcome, <strong><%= @user.name %></strong></h1>
        <p class="tagline">This app is named <%= @app.name %></p>
        <div id="share-app">
          <p>Share your app:</p>
          <ul>
            <li>
              <a href="#" class="facebook-button" onclick="popup('<%= post_to_wall_url %>', 'Post to Wall', 580, 400);">
                <span class="plus">Post to Wall</span>
              </a>
            </li>
            <li>
              <a href="#" class="facebook-button speech-bubble" onclick="popup('<%= send_to_friends_url %>', 'Send', 580, 400);">
                <span class="speech-bubble">Send to Friends</span>
              </a>
            </li>
          </ul>
        </div>
      </div>
    </header>
    <section id="get-started">
      <p>Welcome to your Facebook app, running on <span>heroku</span>!</p>
      <a href="http://devcenter.heroku.com/articles/facebook" class="button">Learn how to edit this app</a>
    </section>

    <section id="samples" class="clearfix">
      <h1>Examples of the Facebook Graph API</h1>

      <div class="list">
        <h3>A few of your friends</h3>
        <ul class="friends">
          <% @friends.each do |friend| %>
            <li style="background-image: url(https://graph.facebook.com/<%= friend.id %>/picture?type=small)">
              <a href="#" onclick="window.open('http://www.facebook.com/<%= friend.id %>')">
                <%= friend.name %>
              </a>
            </li>
          <% end %>
        </ul>
      </div>

      <div class="list inline">
        <h3>Recent photos</h3>
        <ul class="photos">
          <% @photos.each do |photo| %>
              <a href="#" onclick="window.open('http://www.facebook.com/<%= photo.id %>')">
                <img src="<%= photo.source %>" width="163" />
              </a>
            </li>
          <% end %>
        </ul>
      </div>

      <div class="list">
        <h3>Things you like</h3>
        <ul class="things">
          <% @likes.each do |like| %>
            <li>
              <a href="#" onclick="window.open('http://www.facebook.com/<%= like.id %>')">
                <%= like.name %>
              </a>
            </li>
          <% end %>
        </ul>
      </div>

      <div class="list">
        <h3>Friends using this app</h3>
        <ul class="friends">
          <% @friends_using_app.each do |friend_result| %>
            <li style="background-image: url(<%= friend_result['pic_square'] %>)">
              <a href="#" onclick="window.open('http://www.facebook.com/<%= friend_result['uid'] %>')">
                <%= friend_result['name'] %>
              </a>
            </li>
          <% end %>
        </ul>
      </div>
    </section>

    <section id="guides" class="clearfix">
      <h1>Learn More About Heroku &amp; Facebook Apps</h1>
      <ul>
        <li>
          <a href="http://www.heroku.com/" class="icon heroku">Heroku</a>
          <p>Learn more about <a href="http://www.heroku.com/">Heroku</a>, or read developer docs in the Heroku <a href="http://devcenter.heroku.com/">Dev Center</a>.</p>
        </li>
        <li>
          <a href="#" class="icon websites">Websites</a>
          <p>
            Drive growth and engagement on your site through
            Facebook Login and Social Plugins.
          </p>
        </li>
        <li>
          <a href="#" class="icon mobile-apps">Mobile Apps</a>
          <p>
            Integrate with our core exper-ience by building apps
            that operate within Facebook.
          </p>
        </li>
        <li>
          <a href="#" class="icon apps-on-facebook">Apps on Facebook</a>
          <p>Let users find and connect to their friends in mobile apps and games.</p>
        </li>
      </ul>
    </section>
  </body>
</html><commit_msg>copy updates<commit_after><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">

    <title><%= @app.name %></title>
    <link rel="stylesheet" href="stylesheets/screen.css" media="screen">

    <!-- These are Open Graph tags.  They add meta data to your  -->
    <!-- site that facebook uses when your content is shared     -->
    <!-- over facebook.  You should fill these tags in with      -->
    <!-- your data.  To learn more about Open Graph, visit       -->
    <!-- 'https://developers.facebook.com/docs/opengraph/'       -->
    <meta property="og:title" content=""/>
    <meta property="og:type" content=""/>
    <meta property="og:url" content=""/>
    <meta property="og:image" content=""/>
    <meta property="og:site_name" content=""/>
    <meta property="fb:app_id" content="<%= @app.id %>" />
  <script type="text/javascript">
    function popup(pageURL, title,w,h) {
      var left = (screen.width/2)-(w/2);
      var top = (screen.height/2)-(h/2);
      var targetWin = window.open(
        pageURL,
        title,
        'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left
        );
    }
  </script>
  </head>
  <body>
    <header class="clearfix">
    
      <a
        href="#"
        onclick="window.open('http://www.facebook.com/<%= @user.id %>')">
        <img
          src="https://graph.facebook.com/me/picture?type=large&access_token=<%= @client.access_token %>"
          height="64"
        />
      </a>

      <div>
        <h1>Welcome, <strong><%= @user.name %></strong></h1>
        <p class="tagline">This app is named <%= @app.name %></p>
        <div id="share-app">
          <p>Share your app:</p>
          <ul>
            <li>
              <a href="#" class="facebook-button" onclick="popup('<%= post_to_wall_url %>', 'Post to Wall', 580, 400);">
                <span class="plus">Post to Wall</span>
              </a>
            </li>
            <li>
              <a href="#" class="facebook-button speech-bubble" onclick="popup('<%= send_to_friends_url %>', 'Send', 580, 400);">
                <span class="speech-bubble">Send to Friends</span>
              </a>
            </li>
          </ul>
        </div>
      </div>
    </header>
    <section id="get-started">
      <p>Welcome to your Facebook app, running on <span>heroku</span>!</p>
      <a href="http://devcenter.heroku.com/articles/facebook" class="button">Learn how to edit this app</a>
    </section>

    <section id="samples" class="clearfix">
      <h1>Examples of the Facebook Graph API</h1>

      <div class="list">
        <h3>A few of your friends</h3>
        <ul class="friends">
          <% @friends.each do |friend| %>
            <li style="background-image: url(https://graph.facebook.com/<%= friend.id %>/picture?type=small)">
              <a href="#" onclick="window.open('http://www.facebook.com/<%= friend.id %>')">
                <%= friend.name %>
              </a>
            </li>
          <% end %>
        </ul>
      </div>

      <div class="list inline">
        <h3>Recent photos</h3>
        <ul class="photos">
          <% @photos.each do |photo| %>
              <a href="#" onclick="window.open('http://www.facebook.com/<%= photo.id %>')">
                <img src="<%= photo.source %>" width="163" />
              </a>
            </li>
          <% end %>
        </ul>
      </div>

      <div class="list">
        <h3>Things you like</h3>
        <ul class="things">
          <% @likes.each do |like| %>
            <li>
              <a href="#" onclick="window.open('http://www.facebook.com/<%= like.id %>')">
                <%= like.name %>
              </a>
            </li>
          <% end %>
        </ul>
      </div>

      <div class="list">
        <h3>Friends using this app</h3>
        <ul class="friends">
          <% @friends_using_app.each do |friend_result| %>
            <li style="background-image: url(<%= friend_result['pic_square'] %>)">
              <a href="#" onclick="window.open('http://www.facebook.com/<%= friend_result['uid'] %>')">
                <%= friend_result['name'] %>
              </a>
            </li>
          <% end %>
        </ul>
      </div>
    </section>

    <section id="guides" class="clearfix">
      <h1>Learn More About Heroku &amp; Facebook Apps</h1>
      <ul>
        <li>
          <a href="http://www.heroku.com/" class="icon heroku">Heroku</a>
          <p>Learn more about <a href="http://www.heroku.com/">Heroku</a>, or read developer docs in the Heroku <a href="http://devcenter.heroku.com/">Dev Center</a>.</p>
        </li>
        <li>
          <a href="#" class="icon websites">Websites</a>
          <p>
            Drive growth and engagement on your site with
            Facebook Login and Social Plugins.
          </p>
        </li>
        <li>
          <a href="#" class="icon mobile-apps">Mobile Apps</a>
          <p>
            Integrate with our core experience by building apps
            that operate within Facebook.
          </p>
        </li>
        <li>
          <a href="#" class="icon apps-on-facebook">Apps on Facebook</a>
          <p>Let users find and connect to their friends in mobile apps and games.</p>
        </li>
      </ul>
    </section>
  </body>
</html>
{'fraction_non_alphanumeric': 0.1890181479758027, 'fraction_numerical': 0.006700791065611913, 'mean_word_length': 1.8910411622276029, 'pattern_counts': {'":': 0, '<': 337, '<?xml version=': 0, '>': 337, 'https://': 6, 'lorem ipsum': 0, 'www.': 14, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2434103', 'n_tokens_mistral': 3545, 'n_tokens_neox': 3324, 'n_words': 786}