<commit_before><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Myanmar Seaman | Log in</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.5 -->
  <link rel="stylesheet" href="../css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="../font-awesome/css/font-awesome.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="../css/AdminLTE.min.css">
  <!-- iCheck -->
  <link rel="stylesheet" href="../plugins/iCheck/square/blue.css">

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body class="hold-transition login-page">
  <div class="login-box">
    <div class="login-logo">
      <a href="../../index2.html"><b>Myanmar</b>Seaman</a>
    </div><!-- /.login-logo -->
    <div class="login-box-body">
      <p class="login-box-msg">Sign in to start your session</p>
      <form action="" method="post">
        <div class="form-group has-feedback">
          <input type="email" class="form-control email" placeholder="Email">
          <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
        </div>
        <div class="form-group has-feedback">
          <input type="password" class="form-control password" placeholder="Password">
          <span class="glyphicon glyphicon-lock form-control-feedback"></span>
        </div>
        <div class="row">
          <!-- <div class="col-xs-8">
          <div class="checkbox icheck">
          <label>
          <input type="checkbox"> Remember Me
        </label>
      </div>
    </div> -->
    <div class="col-xs-4">
      <button type="submit" class="btn btn-primary btn-block btn-flat login">Sign In</button>
    </div><!-- /.col -->
  </div>
</form>
<br>
<a href="#">I forgot my password</a><br>

</div><!-- /.login-box-body -->
</div><!-- /.login-box -->

<script src="https://www.gstatic.com/firebasejs/3.4.0/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.4.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.4.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.4.0/firebase-database.js"></script>

<script>
// Initialize Firebase
var config = {
  apiKey: "<KEY>",
  authDomain: "myanmar-seaman.firebaseapp.com",
  databaseURL: "https://myanmar-seaman.firebaseio.com",
  storageBucket: "myanmar-seaman.appspot.com",
  messagingSenderId: "781123170710"
};
firebase.initializeApp(config);

</script>
<script src="../js/jquery.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<script src="../js/bootstrap.min.js"></script>
<!-- iCheck -->
<script src="../plugins/iCheck/icheck.min.js"></script>
<script>
$(function () {
  $('input').iCheck({
    checkboxClass: 'icheckbox_square-blue',
    radioClass: 'iradio_square-blue',
    increaseArea: '20%' // optional
  });

  $('.login').on('click', function(event) {
    event.preventDefault();
    var email = $('.email').val();
    var password = $('.password').val();
    console.log(email);
    firebase.auth().signInWithEmailAndPassword(email, password).catch(function(error) {
      // Handle Errors here.
      var errorCode = error.code;
      var errorMessage = error.message;
      // ...
    });
    firebase.auth().onAuthStateChanged(function(user) {
      if (user) {
        console.log("signed in");
        // User is signed in.
      } else {
        console.log("no user is signed in");
        // No user is signed in.
      }
    });
  })
});
</script>
</body>
</html>
<commit_msg>signin added<commit_after><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Myanmar Seaman | Log in</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.5 -->
  <link rel="stylesheet" href="../css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="../font-awesome/css/font-awesome.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="../css/AdminLTE.min.css">
  <!-- iCheck -->
  <link rel="stylesheet" href="../plugins/iCheck/square/blue.css">

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body class="hold-transition login-page">
  <div class="login-box">
    <div class="login-logo">
      <a href="../../index2.html"><b>Myanmar</b>Seaman</a>
    </div><!-- /.login-logo -->
    <div class="login-box-body">
      <p class="login-box-msg">Sign in to start your session</p>
      <form action="" method="post">
        <div class="form-group has-feedback">
          <input type="email" class="form-control email" placeholder="Email">
          <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
        </div>
        <div class="form-group has-feedback">
          <input type="password" class="form-control password" placeholder="Password">
          <span class="glyphicon glyphicon-lock form-control-feedback"></span>
        </div>
        <div class="row">
          <!-- <div class="col-xs-8">
          <div class="checkbox icheck">
          <label>
          <input type="checkbox"> Remember Me
        </label>
      </div>
    </div> -->
    <div class="col-xs-4">
      <button type="submit" class="btn btn-primary btn-block btn-flat login">Sign In</button>
    </div><!-- /.col -->
  </div>
</form>
<br>
<a href="#">I forgot my password</a><br>

</div><!-- /.login-box-body -->
</div><!-- /.login-box -->

<script src="https://www.gstatic.com/firebasejs/3.4.0/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.4.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.4.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.4.0/firebase-database.js"></script>

<script>
// Initialize Firebase
var config = {
  apiKey: "<KEY>",
  authDomain: "myanmar-seaman.firebaseapp.com",
  databaseURL: "https://myanmar-seaman.firebaseio.com",
  storageBucket: "myanmar-seaman.appspot.com",
  messagingSenderId: "781123170710"
};
firebase.initializeApp(config);

</script>
<script src="../js/jquery.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<script src="../js/bootstrap.min.js"></script>
<!-- iCheck -->
<script src="../plugins/iCheck/icheck.min.js"></script>
<script>
$(function () {
  $('input').iCheck({
    checkboxClass: 'icheckbox_square-blue',
    radioClass: 'iradio_square-blue',
    increaseArea: '20%' // optional
  });

  $('.login').on('click', function(event) {
    event.preventDefault();
    var email = $('.email').val();
    var password = $('.password').val();
    console.log(email);
    firebase.auth().signInWithEmailAndPassword(email, password).catch(function(error) {
      // Handle Errors here.
      var errorCode = error.code;
      var errorMessage = error.message;
      // ...
    });
    firebase.auth().onAuthStateChanged(function(user) {
      if (user) {
        console.log("signed in");
        window.location("http://waiyanphyo282.github.io/mmseaman/");
        // User is signed in.
      } else {
        console.log("no user is signed in");
        // No user is signed in.
      }
    });
  })
});
</script>
</body>
</html>

{'fraction_non_alphanumeric': 0.20957260684828793, 'fraction_numerical': 0.012871782054486379, 'mean_word_length': 2.9975024975024973, 'pattern_counts': {'":': 0, '<': 195, '<?xml version=': 0, '>': 195, 'https://': 14, 'lorem ipsum': 0, 'www.': 8, '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': '1832753', 'n_tokens_mistral': 2733, 'n_tokens_neox': 2648, 'n_words': 514}