<commit_before><!doctype html>
<html lang="en">

	<head>
		<meta charset="utf-8">

		<title>Refactoring of Self</title>

		<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
		<meta name="author" content="<NAME>">

		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">

		<link rel="stylesheet" href="css/reveal.css">
		<link rel="stylesheet" href="css/theme/night.css" id="theme">

		<!-- Code syntax highlighting -->
		<link rel="stylesheet" href="lib/css/zenburn.css">

		<!-- Printing and PDF exports -->
		<script>
			var link = document.createElement( 'link' );
			link.rel = 'stylesheet';
			link.type = 'text/css';
			link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
			document.getElementsByTagName( 'head' )[0].appendChild( link );
		</script>

		<!--[if lt IE 9]>
		<script src="lib/js/html5shiv.js"></script>
		<![endif]-->
	</head>

	<body>

		<div class="reveal">

			<!-- Any section element inside of this container is displayed as a slide -->
			<div class="slides">
				<section data-markdown>
					<script type="text/template">
					##Refactoring of Self
					###<NAME>
					<p>
						<a href="http://twitter.com/vaidehijoshi">@vaidehijoshi</a>
					</p>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<img src="http://img.pandawhale.com/post-10513-Code-Refactoring-Cat-in-Bathtu-U295.gif" style="display: block; margin-left: auto; margin-right: auto;"/>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						```
						def grouped_items
							items_by_category = {}
						    items = Item.all.collect { |i| [i.category, i.name] }

						    items.each do |category, item|
						    	if items_by_category[category]
						          items_by_category[category] << item
						        else
						          items_by_category[category] = [item]
						    	end
						    end

						      items_by_category
						    end
						 end
						```
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						```
						def grouped_items
							Item.all.each_with_object({}) { |i, hash| (hash[i.category] ||= []) << i }
						end
						```
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						```
						def grouped_items
							Item.all.group_by(&:category)
						end
						```
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h1> 😻 </h1>
						<h1 class="fragment"> 😿 </h1>
						<h1 class="fragment"> 🙀 </h1>
						<h1 class="fragment"> ?!? </h1>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h1 class="fragment"> `self` </h1>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h2> `self.send_message` </h2>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h2 class="fragment"> `send_message` </h2>
						<span style="color:#e7ad52; font-size: 55px;" class="fragment"> `self`<span style="color:white;">`.send_message`</span></span>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<span style="color:#e7ad52; font-size: 55px;" class="fragment"> `code`<span style="color:white;">`.refactor`</span></span>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h1 style="color:#e7ad52;" class="fragment"> `self`</h1>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h1>learning</h1>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h2>be better</h2>
						<h2 class="fragment">perfect iteration of <span style="color:#e7ad52;">`self`</span></h2>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<img src="http://28.media.tumblr.com/tumblr_lnyakjexJq1qlp91bo1_400.jpg"/>
					</script>
				</section>
				

				<section data-markdown>
					<script type="text/template">
						<h1 class="fragment"> 😺 </h1>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h1 class="fragment"><span style="color:#e7ad52;">`self`</span>.refactor</h1>
					</script>
				</section>


				

			</div>

		</div>

		<script src="lib/js/head.min.js"></script>
		<script src="js/reveal.js"></script>

		<script>

			// Full list of configuration options available at:
			// https://github.com/hakimel/reveal.js#configuration
			Reveal.initialize({
				controls: true,
				progress: true,
				history: true,
				center: true,

				transition: 'fade', // none/fade/slide/convex/concave/zoom

				// Optional reveal.js plugins
				dependencies: [
					{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
					{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
					{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
					{ src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
					{ src: 'plugin/zoom-js/zoom.js', async: true },
					{ src: 'plugin/notes/notes.js', async: true }
				]
			});

		</script>

	</body>
</html>
<commit_msg>Remove extra framents<commit_after><!doctype html>
<html lang="en">

	<head>
		<meta charset="utf-8">

		<title>Refactoring of Self</title>

		<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
		<meta name="author" content="<NAME>">

		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">

		<link rel="stylesheet" href="css/reveal.css">
		<link rel="stylesheet" href="css/theme/night.css" id="theme">

		<!-- Code syntax highlighting -->
		<link rel="stylesheet" href="lib/css/zenburn.css">

		<!-- Printing and PDF exports -->
		<script>
			var link = document.createElement( 'link' );
			link.rel = 'stylesheet';
			link.type = 'text/css';
			link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
			document.getElementsByTagName( 'head' )[0].appendChild( link );
		</script>

		<!--[if lt IE 9]>
		<script src="lib/js/html5shiv.js"></script>
		<![endif]-->
	</head>

	<body>

		<div class="reveal">

			<!-- Any section element inside of this container is displayed as a slide -->
			<div class="slides">
				<section data-markdown>
					<script type="text/template">
					##Refactoring of Self
					###<NAME>
					<p>
						<a href="http://twitter.com/vaidehijoshi">@vaidehijoshi</a>
					</p>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<img src="http://img.pandawhale.com/post-10513-Code-Refactoring-Cat-in-Bathtu-U295.gif" style="display: block; margin-left: auto; margin-right: auto;"/>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						```
						def grouped_items
							items_by_category = {}
						    items = Item.all.collect { |i| [i.category, i.name] }

						    items.each do |category, item|
						    	if items_by_category[category]
						          items_by_category[category] << item
						        else
						          items_by_category[category] = [item]
						    	end
						    end

						      items_by_category
						    end
						 end
						```
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						```
						def grouped_items
							Item.all.each_with_object({}) { |i, hash| (hash[i.category] ||= []) << i }
						end
						```
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						```
						def grouped_items
							Item.all.group_by(&:category)
						end
						```
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h1> 😻 </h1>
						<h1 class="fragment"> 😿 </h1>
						<h1 class="fragment"> 🙀 </h1>
						<h1 class="fragment"> ?!? </h1>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h1 class="fragment"> `self` </h1>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h2> `self.send_message` </h2>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h2 class="fragment"> `send_message` </h2>
						<span style="color:#e7ad52; font-size: 55px;" class="fragment"> `self`<span style="color:white;">`.send_message`</span></span>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<span style="color:#e7ad52; font-size: 55px;"> `code`<span style="color:white;">`.refactor`</span></span>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h1 style="color:#e7ad52;"> `self`</h1>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h1>learning</h1>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h2>be better</h2>
						<h2 class="fragment">perfect iteration of <span style="color:#e7ad52;">`self`</span></h2>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<img src="http://28.media.tumblr.com/tumblr_lnyakjexJq1qlp91bo1_400.jpg"/>
					</script>
				</section>
				

				<section data-markdown>
					<script type="text/template">
						<h1> 😺 </h1>
					</script>
				</section>

				<section data-markdown>
					<script type="text/template">
						<h1><span style="color:#e7ad52;">`self`</span>.refactor</h1>
					</script>
				</section>


				

			</div>

		</div>

		<script src="lib/js/head.min.js"></script>
		<script src="js/reveal.js"></script>

		<script>

			// Full list of configuration options available at:
			// https://github.com/hakimel/reveal.js#configuration
			Reveal.initialize({
				controls: true,
				progress: true,
				history: true,
				center: true,

				transition: 'fade', // none/fade/slide/convex/concave/zoom

				// Optional reveal.js plugins
				dependencies: [
					{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
					{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
					{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
					{ src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
					{ src: 'plugin/zoom-js/zoom.js', async: true },
					{ src: 'plugin/notes/notes.js', async: true }
				]
			});

		</script>

	</body>
</html>

{'fraction_non_alphanumeric': 0.17986230636833048, 'fraction_numerical': 0.012048192771084338, 'mean_word_length': 2.7767305817354564, 'pattern_counts': {'":': 0, '<': 305, '<?xml version=': 0, '>': 297, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '1909079', 'n_tokens_mistral': 5210, 'n_tokens_neox': 3807, 'n_words': 762}