<commit_before><%@page import="com.worldsmostinterestinginfographic.model.object.Post"%>
<%@page import="com.worldsmostinterestinginfographic.model.object.User"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.List"%>
<%@page import="java.util.Map"%>
<%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%
	User user = (User)request.getSession().getAttribute("user");
	List<Post> posts = (List<Post>)request.getSession().getAttribute("posts");
%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>The World's Most Interesting Infographic Generator</title>
	<link media="all" rel="stylesheet" href="css/main.css">
	<link href='https://fonts.googleapis.com/css?family=Roboto:500,400,300,300italic%7CLato:400,300italic,300' rel='stylesheet' type='text/css'>
	<script>
		var topFriendsData = '<%= (String)request.getSession().getAttribute("topFriendsData") %>';
		var postTypesData = '<%= (String)request.getSession().getAttribute("postTypesData") %>';
		var mostFrequentPostTypeData = '<%= (String)request.getSession().getAttribute("mostFrequentPostTypeData") %>';
	</script>
</head>
<body class="infographic">
	<div id="wrapper">
		<header id="header">
			<div class="container">
				<div class="logo">
					<a href="#">
						<img src="images/logo.png" alt="WMIIG">
					</a>
				</div>
				<div class="logo logo-alt">
					<a href="#">
						<img src="images/logo-alt.png" alt="WMIIG">
					</a>
				</div>
				<div class="github"><commit_msg>Adding code to remove _=_ that Facebook decided to return to their callback URLs...ugghh<commit_after><%@page import="com.worldsmostinterestinginfographic.model.object.Post"%>
<%@page import="com.worldsmostinterestinginfographic.model.object.User"%>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.HashMap"%>
<%@page import="java.util.List"%>
<%@page import="java.util.Map"%>
<%@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%
	User user = (User)request.getSession().getAttribute("user");
	List<Post> posts = (List<Post>)request.getSession().getAttribute("posts");
%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>The World's Most Interesting Infographic Generator</title>
	<link media="all" rel="stylesheet" href="css/main.css">
	<link href='https://fonts.googleapis.com/css?family=Roboto:500,400,300,300italic%7CLato:400,300italic,300' rel='stylesheet' type='text/css'>
	<script>
		var topFriendsData = '<%= (String)request.getSession().getAttribute("topFriendsData") %>';
		var postTypesData = '<%= (String)request.getSession().getAttribute("postTypesData") %>';
		var mostFrequentPostTypeData = '<%= (String)request.getSession().getAttribute("mostFrequentPostTypeData") %>';
		
		// Facebook decided to append "#_=_" to callback URLs for some unknown reason.  Let's clean it up.
		//
		// Announcement: 	https://developers.facebook.com/blog/post/552/
		// Solution: 		http://stackoverflow.com/questions/7131909/facebook-callback-appends-to-return-url
		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>
</head>
<body class="infographic">
	<div id="wrapper">
		<header id="header">
			<div class="container">
				<div class="logo">
					<a href="#">
						<img src="images/logo.png" alt="WMIIG">
					</a>
				</div>
				<div class="logo logo-alt">
					<a href="#">
						<img src="images/logo-alt.png" alt="WMIIG">
					</a>
				</div>
				<div class="github">
{'fraction_non_alphanumeric': 0.19099229287090558, 'fraction_numerical': 0.019267822736030827, 'mean_word_length': 5.071637426900585, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2618822', 'n_tokens_mistral': 1597, 'n_tokens_neox': 1378, 'n_words': 244}