<commit_before><!DOCTYPE html>
<html>
<head>
<title><NAME></title>
<%= csrf_meta_tags %>

<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/css/materialize.min.css">
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/js/materialize.min.js"></script>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>

<body>

  <nav>
    <div class="nav-wrapper">
      <a href="/" class="brand-logo">Najib Osman</a>
<a href="/" data-activates="mobile-demo" class="button-collapse"><i class="material-icons">menu</i></a>
<ul class="right hide-on-med-and-down">
<li><a href="#about">About Me</a></li>
<li><a href="/projects">Projects</a></li>
<li><a href="/skills">Skills</a></li>
<li><a href="/posts">My Blog</a></li>
<li><a href="#footer">Contact Me</a></li>
</ul>
<ul class="side-nav" id="mobile-demo">
<li><a href="#about">About Me</a></li>
<li><a href="/projects">Projects</a></li>
<li><a href="/skills">Skills</a></li>
<li><a href="/posts">My Blog</a></li>
<li><a href="#footer">Contact Me</a></li>
</ul>
</div>
</nav>

<% unless flash.empty? %>
<script type="text/javascript">
<% flash.each do |f| %>
  <% type = f[0].to_s.gsub('alert', 'error').gsub('notice', 'info') %>
  toastr['<%= type %>']('<%= f[1] %>');
<% end %>
</script>
<% end %>

<%= yield %>

<footer class="page-footer" id="footer">
<div class="container">
<div class="row">
<div class="col l6 s12">
<form id="contact" class="col s12" action="contact.php" method="post">
<div class="row center">
<h5 class="white-text">Contact Me!</h5>
<div class="input-field col s6">
<i class="mdi-action-account-circle prefix white-text"></i>
<input id="icon_prefix" name="name" type="text" class="validate white-text">
<label for="icon_prefix" class="white-text">First Name</label>
</div>
<div class="input-field col s6">
<i class="mdi-communication-email prefix white-text"></i>
<input id="icon_email" name="email" type="email" class="validate white-text">
<label for="icon_email" class="white-text">Email-id</label>
</div>
<div class="input-field col s12">
<i class="mdi-editor-mode-edit prefix white-text"></i>
<textarea id="icon_prefix2" name="message" class="materialize-textarea white-text"></textarea>
<label for="icon_prefix2" class="white-text">Message</label>
</div>
<div class="col offset-s7 s5">
<button class="btn waves-effect waves-light red darken-1" type="submit">Submit
<i class="mdi-content-send right white-text"></i>
</button>
</div>
</div>
</form>
</div>
<div class="col l4 offset-l2 s12">
<h5 class="white-text">Social media</h5>
<ul>
<li><a class="grey-text text-lighten-3" href="https://www.facebook.com/profile.php?id=100004647108022">Facebook</a></li>
<li><a class="grey-text text-lighten-3" href="https://twitter.com/Naajib38Othmern">Twitter</a></li>
<li><a class="grey-text text-lighten-3" href="https://github.com/NajibOsman">Github</a></li>
<li><a class="grey-text text-lighten-3" href="<EMAIL>
">Email</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
© 2017 Copyright
<a class="grey-text text-lighten-4 right" href="https://github.com/NajibOsman/portfolio">Created by Najib</a>
</div>
</div>
</footer>

</body>
</html><commit_msg> Contact improved on the app.html.erb<commit_after><!DOCTYPE html>
<html>
<head>
<title><NAME></title>
<%= csrf_meta_tags %>

<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/css/materialize.min.css">
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/js/materialize.min.js"></script>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>

<body>

  <nav>
    <div class="nav-wrapper">
      <a href="/" class="brand-logo"><NAME></a>
<a href="/" data-activates="mobile-demo" class="button-collapse"><i class="material-icons">menu</i></a>
<ul class="right hide-on-med-and-down">
<li><a href="#about">About Me</a></li>
<li><a href="/projects">Projects</a></li>
<li><a href="/skills">Skills</a></li>
<li><a href="/posts">My Blog</a></li>
<li><a href="#footer">Contact Me</a></li>
</ul>
<ul class="side-nav" id="mobile-demo">
<li><a href="#about">About Me</a></li>
<li><a href="/projects">Projects</a></li>
<li><a href="/skills">Skills</a></li>
<li><a href="/posts">My Blog</a></li>
<li><a href="#footer">Contact Me</a></li>
</ul>
</div>
</nav>

<%= yield %>

<footer class="page-footer" id="footer">
<div class="container">
<div class="row">
<div class="col l6 s12">
<form id="contact" class="col s12" action="mailto:<EMAIL>" method="post" enctype="text/plain">
<div class="row center">
<h5 class="white-text">Contact Me!</h5>
<div class="input-field col s6">
<i class="mdi-action-account-circle prefix white-text"></i>
<input id="icon_prefix" name="name" type="text" class="validate white-text">
<label for="icon_prefix" class="white-text">First Name</label>
</div>
<div class="input-field col s6">
<i class="mdi-communication-email prefix white-text"></i>
<input id="icon_email" name="email" type="email" class="validate white-text">
<label for="icon_email" class="white-text">Email-id</label>
</div>
<div class="input-field col s12">
<i class="mdi-editor-mode-edit prefix white-text"></i>
<textarea id="icon_prefix2" name="message" class="materialize-textarea white-text"></textarea>
<label for="icon_prefix2" class="white-text">Message</label>
</div>
<div class="col offset-s7 s5">
<button class="btn waves-effect waves-light red darken-1" type="submit">Submit
<i class="mdi-content-send right white-text"></i>
</button>
</div>
</div>
</form>
</div>
<div class="col l4 offset-l2 s12">
<h5 class="white-text">Social media</h5>
<ul>
<li><a class="grey-text text-lighten-3" href="https://www.facebook.com/profile.php?id=100004647108022">Facebook</a></li>
<li><a class="grey-text text-lighten-3" href="https://twitter.com/Naajib38Othmern">Twitter</a></li>
<li><a class="grey-text text-lighten-3" href="https://github.com/NajibOsman">Github</a></li>
<li><a class="grey-text text-lighten-3" href="mailto:<EMAIL>">Email</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
© 2017 Copyright
<a class="grey-text text-lighten-4 right" href="https://github.com/NajibOsman/portfolio">Created by Najib</a>
</div>
</div>
</footer>

</body>
</html>
{'fraction_non_alphanumeric': 0.23777747514639794, 'fraction_numerical': 0.01743156747923192, 'mean_word_length': 5.934844192634561, 'pattern_counts': {'":': 0, '<': 314, '<?xml version=': 0, '>': 314, 'https://': 16, 'lorem ipsum': 0, 'www.': 2, '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': '3383954', 'n_tokens_mistral': 2794, 'n_tokens_neox': 2671, 'n_words': 516}