<commit_before><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Sets initial viewport load and disables zooming  -->
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- <link rel="icon" href="../../favicon.ico"> -->

    <title>Passgen</title>

    <!-- Makes your prototype chrome-less once bookmarked to your phone's home screen -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <!-- Set Apple icons for when prototype is saved to home screen -->
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="images/apple-touch-icon-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="images/apple-touch-icon-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="57x57" href="images/apple-touch-icon-precomposed.png">

    <!-- build:css styles/vendor.css -->
    <!-- bower:css -->
    <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.css" />
    <!-- endbower -->
    <!-- endbuild -->

    <!-- build:css styles/main.css -->
    <link rel="stylesheet" href="styles/main.css">
    <!-- endbuild -->

    <!-- build:js scripts/heads.js -->
    <!-- bower:js -->
    <!-- <script src="../bower_components/modernizr/modernizr.js"></script> -->
    <!-- endbower -->
    <!-- endbuild -->
  </head>

  <body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Passgen</a>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#about">About</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </nav>

    <div class="container-fluid">
      <div class="starter-template">
        <p class="lead">Use a master password to generate passwords for all sites</p>
      </div>

      <div class="row">
        <div class='col-md-12'>
          <form class="form-horizontal">
            <div class="form-group">
              <label for="inputEmail3" class="col-xs-3 col-md-1 control-label">Master Password</label>
              <div class="col-xs-9 col-md-11">
                <input type="password" class="form-control" id="master-password-field" placeholder="Password">
              </div>
            </div>
            <div class="form-group">
              <label for="inputPassword3" class="col-xs-3 col-md-1 control-label">URL</label>
              <div class="col-xs-9 col-md-11">
                <input type="url" class="form-control" id="url-field" placeholder="http://facebook.com">
              </div>
            </div>
            <div class="form-group">
              <label for="inputPassword3" class="col-xs-3 col-md-1 control-label">Generated Password</label>
              <div class="col-xs-9 col-md-11">
                <input type="text" class="form-control" id="hash-field" placeholder="e7a-c07-866-68e">
              </div>
            </div>
            <p id='site-hint' class="small"></p>
            <div class="form-group">
              <div class="col-xs-12">
                <div class="btn-group pull-right" data-toggle="buttons">
                  <label class="btn btn-primary">
                    <input type="checkbox" autocomplete="off" id="legacyToggle"> Legacy Mode
                  </label>
                </div>
              </div>
            </div>
          </form>
        </div>
      </div>
    </div><!-- /.container -->


    <!-- build:js scripts/vendor.js -->
    <!-- bower:js -->
    <script src="../bower_components/jquery/dist/jquery.js"></script>
    <script src="../bower_components/bootstrap/dist/js/bootstrap.js"></script>
    <script src="../bower_components/urijs/src/URI.js"></script>
    <script src="../bower_components/crypto-js/core.js"></script>
    <script src="../bower_components/crypto-js/sha256.js"></script>
    <script src="../bower_components/crypto-js/md5.js"></script>
    <!-- endbower -->
    <!-- endbuild -->

    <!-- build:js scripts/scripts.js -->
    <script src="scripts/main.js"></script>
    <!-- endbuild -->
  </body>
</html><commit_msg>about page<commit_after><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Sets initial viewport load and disables zooming  -->
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- <link rel="icon" href="../../favicon.ico"> -->

    <title>Passgen</title>

    <!-- Makes your prototype chrome-less once bookmarked to your phone's home screen -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <!-- Set Apple icons for when prototype is saved to home screen -->
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="images/apple-touch-icon-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="images/apple-touch-icon-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="57x57" href="images/apple-touch-icon-precomposed.png">

    <!-- build:css styles/vendor.css -->
    <!-- bower:css -->
    <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.css" />
    <!-- endbower -->
    <!-- endbuild -->

    <!-- build:css styles/main.css -->
    <link rel="stylesheet" href="styles/main.css">
    <!-- endbuild -->

    <!-- build:js scripts/heads.js -->
    <!-- bower:js -->
    <!-- <script src="../bower_components/modernizr/modernizr.js"></script> -->
    <!-- endbower -->
    <!-- endbuild -->
  </head>

  <body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Passgen</a>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            <li><a href="#about" data-toggle="modal" data-target="#about">About</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </nav>

    <div class="container-fluid">
      <div class="starter-template">
        <p class="lead">Use a master password to generate passwords for all sites</p>
      </div>

      <div class="row">
        <div class='col-md-12'>
          <form class="form-horizontal">
            <div class="form-group">
              <label for="inputEmail3" class="col-xs-3 col-md-1 control-label">Master Password</label>
              <div class="col-xs-9 col-md-11">
                <input type="password" class="form-control" id="master-password-field" placeholder="Password">
              </div>
            </div>
            <div class="form-group">
              <label for="<PASSWORD>" class="col-xs-3 col-md-1 control-label">URL</label>
              <div class="col-xs-9 col-md-11">
                <input type="url" class="form-control" id="url-field" placeholder="http://facebook.com">
              </div>
            </div>
            <div class="form-group">
              <label for="<PASSWORD>" class="col-xs-3 col-md-1 control-label">Generated Password</label>
              <div class="col-xs-9 col-md-11">
                <input type="text" class="form-control" id="hash-field" placeholder="e7a-c07-866-68e">
              </div>
            </div>
            <p id='site-hint' class="small"></p>
            <div class="form-group">
              <div class="col-xs-12">
                <div class="btn-group pull-right" data-toggle="buttons">
                  <label class="btn btn-primary">
                    <input type="checkbox" autocomplete="off" id="legacyToggle"> Legacy Mode
                  </label>
                </div>
              </div>
            </div>
          </form>
        </div>
      </div>
    </div><!-- /.container -->

    <!-- About Page -->
    <div class="modal fade" id="about" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <h4 class="modal-title" id="myModalLabel">About</h4>
          </div>
          <div class="modal-body">
            <p>
                This is adapted from <a href='http://angel.net/~nic/passwd.html' data-ignore="push"><NAME>'s Password Generator</a> so perhaps its best if I let him explain what it is.
            </p>
            <blockquote>
                <p><em>I hate passwords.</em> I mean, I don&#39;t mind having really important ones be made-up and memorized but what about all those e-commerce and community sites that want me to create accounts? I end up using the same password at all of them and then I feel stupid knowing that one SQL Server exploit or disgruntled admin could cost me my whole identity.</p>
                <p>So, this is a little Javascript program that will concatenate two fields and MD5 them. The idea is that you choose one master password to secure all your others, and then generate passwords for each site, server, router, &amp;c. by putting a completely obvious name for that resource in the "Site name" field.</p>
                <p>Then just hit <i>return</i> and copy your new password so you can paste it into whatever site you&#39;re registering at. It&#39;ll be different for every site, and undiscoverable by anyone who doesn&#39;t know your master password &#151; but you can always retrieve it by simply using this form again.</p>
                <p>(Note that all this is done by your browser running the program that's in the source of this page; nothing is passed back to my server. You can make your own local copy of this page, use it off-line, &c.)</p>
            </blockquote>
            <p>
                The source is <a href='https://github.com/tansengming/passgen'>available on Github</a>.
            </p>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
          </div>
        </div>
      </div>
    </div>


    <!-- build:js scripts/vendor.js -->
    <!-- bower:js -->
    <script src="../bower_components/jquery/dist/jquery.js"></script>
    <script src="../bower_components/bootstrap/dist/js/bootstrap.js"></script>
    <script src="../bower_components/urijs/src/URI.js"></script>
    <script src="../bower_components/crypto-js/core.js"></script>
    <script src="../bower_components/crypto-js/sha256.js"></script>
    <script src="../bower_components/crypto-js/md5.js"></script>
    <!-- endbower -->
    <!-- endbuild -->

    <!-- build:js scripts/scripts.js -->
    <script src="scripts/main.js"></script>
    <!-- endbuild -->
  </body>
</html>
{'fraction_non_alphanumeric': 0.17734590990404944, 'fraction_numerical': 0.009513742071881607, 'mean_word_length': 2.3567139737991267, 'pattern_counts': {'":': 0, '<': 317, '<?xml version=': 0, '>': 317, 'https://': 1, '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': '1945830', 'n_tokens_mistral': 3740, 'n_tokens_neox': 3571, 'n_words': 855}