<commit_before><!DOCTYPE html>
<html lang="en" ng-app="App">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Gistfy</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/github.css" rel="stylesheet">

    <!-- 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.2/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style type="text/css">
        .main {
            margin-top: 60px;
        }

        .footer {
            margin-bottom: 5px;
            width: 100%;
        }

        .hljs {
            background: none !important;
        }

        .alert-danger {
            background-color: #EB3838;
            border-color: #EB3838;
        }

        .ng-cloak {
            display: none;
            visibility: hidden;
        }

        .param {
            color: #D14000;
            white-space: nowrap;
            border: 1px solid #E1E1E8;
            padding: 0 2px 0 2px;
            background: #F8F8F8;
            font-size: 12px;
            font-family: monospace;
        }

        table {
            font-size: 14px;
        }
    </style>
</head>
<body ng-controller="MainController">
    <div class="navbar navbar-default navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <a href="/" class="navbar-brand"><strong>Gistfy</strong></a>
                <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <div class="navbar-collapse collapse" id="navbar-main">
                <ul id="tabMenu" class="nav navbar-nav" role="tablist">
                    <li class="active">
                        <a href="#home" role="tab" data-toggle="tab">Home</a>
                    </li>
                    <li>
                        <a href="#api" role="tab" data-toggle="tab">API</a>
                    </li>
                    <li>
                        <a href="#examples" role="tab" data-toggle="tab">Examples</a>
                    </li>
                    <li>
                        <a href="#about" role="tab" data-toggle="tab">About</a>
                    </li>
                </ul>
            </div>
        </div>
        <a href="https://github.com/alexandrevicenzi/gistfy">
            <img style="position: absolute; top: 0; right: 0; border: 0; z-index: -1;"
                 src="/img/forkme.png"
                 alt="Fork me on GitHub"/>
        </a>
    </div>

    <div class="ng-cloak container main">
        <div class="tab-content">
            <div class="tab-pane active" id="home">
                <h1>Gist your GitHub and Bitbucket repositories</h1>
                <p>Gistfy is a easy way to create Gists from your <a href="https://github.com/" target="_blank">GitHub</a> and <a href="https://bitbucket.org/" target="_blank">Bitbucket</a> repositories or your <a href="https://gist.github.com/" target="_blank">GitHub Gist</a>.</p>
                <p><i>A Gist is a <a href="http://en.wikipedia.org/wiki/Snippet_(programming)">code snippet</a>.</i></p>
                <br>
                <div class="row">
                    <div class="col-md-offset-1 col-md-10">
                        <div class="panel panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">Try</h3>
                            </div>
                            <div class="panel-body">
                                <form name="formTry" class="form-horizontal">
                                        <div class="form-group">
                                            <label for="select" class="col-md-2 control-label">Type</label>
                                            <div class="col-md-10">
                                                <select class="form-control" name="type" ng-model="model.type" ng-options="t.desc for t in types" ng-change="changeType()">
                                                    <option value="" selected="selected">Choose gist type</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div ng-show="isGist">
                                            <div class="form-group">
                                                <label for="gistId" class="col-md-2 control-label">Id</label>
                                                <div class="col-md-10">
                                                    <input class="form-control" name="gistId" placeholder="Gist id" type="text" ng-model="model.id" ng-required="isGist">
                                                </div>
                                            </div>
                                        </div>
                                        <div ng-show="isRepo">
                                            <div class="form-group">
                                                <label for="select" class="col-md-2 control-label">Host</label>
                                                <div class="col-md-10">
                                                    <select class="form-control" name="host" ng-model="model.host" ng-options="h.desc for h in hosts" ng-required="isRepo">
                                                        <option value="" selected="selected">Choose a host</option>
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="user" class="col-md-2 control-label">User</label>
                                                <div class="col-md-10">
                                                    <input class="form-control" name="user" placeholder="User name" type="text" ng-model="model.user" ng-required="isRepo">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="repo" class="col-md-2 control-label">Repo</label>
                                                <div class="col-md-10">
                                                    <input class="form-control" name="repo" placeholder="Repositoty name" type="text" ng-model="model.repo" ng-required="isRepo">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="path" class="col-md-2 control-label">File</label>
                                                <div class="col-md-10">
                                                    <input class="form-control" name="path" placeholder="File path" type="text" ng-model="model.file" ng-required="isRepo">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group" ng-show="isRepo || isGist">
                                            <div class="col-md-offset-2 col-md-1">
                                                <button class="btn btn-primary" type="submit" style="min-width: 75px;" ng-click="btnOkClick()">OK</button>
                                            </div>
                                            <div class="col-md-1">
                                                <button class="btn btn-primary" type="button" ng-show="false">More options</button>
                                            </div>
                                        </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row" ng-show="result.show">
                    <div class="col-md-offset-1 col-md-10"><commit_msg>Fix typo in "Repository name" placeholder<commit_after><!DOCTYPE html>
<html lang="en" ng-app="App">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Gistfy</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/github.css" rel="stylesheet">

    <!-- 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.2/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style type="text/css">
        .main {
            margin-top: 60px;
        }

        .footer {
            margin-bottom: 5px;
            width: 100%;
        }

        .hljs {
            background: none !important;
        }

        .alert-danger {
            background-color: #EB3838;
            border-color: #EB3838;
        }

        .ng-cloak {
            display: none;
            visibility: hidden;
        }

        .param {
            color: #D14000;
            white-space: nowrap;
            border: 1px solid #E1E1E8;
            padding: 0 2px 0 2px;
            background: #F8F8F8;
            font-size: 12px;
            font-family: monospace;
        }

        table {
            font-size: 14px;
        }
    </style>
</head>
<body ng-controller="MainController">
    <div class="navbar navbar-default navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <a href="/" class="navbar-brand"><strong>Gistfy</strong></a>
                <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <div class="navbar-collapse collapse" id="navbar-main">
                <ul id="tabMenu" class="nav navbar-nav" role="tablist">
                    <li class="active">
                        <a href="#home" role="tab" data-toggle="tab">Home</a>
                    </li>
                    <li>
                        <a href="#api" role="tab" data-toggle="tab">API</a>
                    </li>
                    <li>
                        <a href="#examples" role="tab" data-toggle="tab">Examples</a>
                    </li>
                    <li>
                        <a href="#about" role="tab" data-toggle="tab">About</a>
                    </li>
                </ul>
            </div>
        </div>
        <a href="https://github.com/alexandrevicenzi/gistfy">
            <img style="position: absolute; top: 0; right: 0; border: 0; z-index: -1;"
                 src="/img/forkme.png"
                 alt="Fork me on GitHub"/>
        </a>
    </div>

    <div class="ng-cloak container main">
        <div class="tab-content">
            <div class="tab-pane active" id="home">
                <h1>Gist your GitHub and Bitbucket repositories</h1>
                <p>Gistfy is a easy way to create Gists from your <a href="https://github.com/" target="_blank">GitHub</a> and <a href="https://bitbucket.org/" target="_blank">Bitbucket</a> repositories or your <a href="https://gist.github.com/" target="_blank">GitHub Gist</a>.</p>
                <p><i>A Gist is a <a href="http://en.wikipedia.org/wiki/Snippet_(programming)">code snippet</a>.</i></p>
                <br>
                <div class="row">
                    <div class="col-md-offset-1 col-md-10">
                        <div class="panel panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">Try</h3>
                            </div>
                            <div class="panel-body">
                                <form name="formTry" class="form-horizontal">
                                        <div class="form-group">
                                            <label for="select" class="col-md-2 control-label">Type</label>
                                            <div class="col-md-10">
                                                <select class="form-control" name="type" ng-model="model.type" ng-options="t.desc for t in types" ng-change="changeType()">
                                                    <option value="" selected="selected">Choose gist type</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div ng-show="isGist">
                                            <div class="form-group">
                                                <label for="gistId" class="col-md-2 control-label">Id</label>
                                                <div class="col-md-10">
                                                    <input class="form-control" name="gistId" placeholder="Gist id" type="text" ng-model="model.id" ng-required="isGist">
                                                </div>
                                            </div>
                                        </div>
                                        <div ng-show="isRepo">
                                            <div class="form-group">
                                                <label for="select" class="col-md-2 control-label">Host</label>
                                                <div class="col-md-10">
                                                    <select class="form-control" name="host" ng-model="model.host" ng-options="h.desc for h in hosts" ng-required="isRepo">
                                                        <option value="" selected="selected">Choose a host</option>
                                                    </select>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="user" class="col-md-2 control-label">User</label>
                                                <div class="col-md-10">
                                                    <input class="form-control" name="user" placeholder="User name" type="text" ng-model="model.user" ng-required="isRepo">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="repo" class="col-md-2 control-label">Repo</label>
                                                <div class="col-md-10">
                                                    <input class="form-control" name="repo" placeholder="Repository name" type="text" ng-model="model.repo" ng-required="isRepo">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label for="path" class="col-md-2 control-label">File</label>
                                                <div class="col-md-10">
                                                    <input class="form-control" name="path" placeholder="File path" type="text" ng-model="model.file" ng-required="isRepo">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group" ng-show="isRepo || isGist">
                                            <div class="col-md-offset-2 col-md-1">
                                                <button class="btn btn-primary" type="submit" style="min-width: 75px;" ng-click="btnOkClick()">OK</button>
                                            </div>
                                            <div class="col-md-1">
                                                <button class="btn btn-primary" type="button" ng-show="false">More options</button>
                                            </div>
                                        </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row" ng-show="result.show">
                    <div class="col-md-offset-1 col-md-10">
{'fraction_non_alphanumeric': 0.13076487252124647, 'fraction_numerical': 0.009631728045325779, 'mean_word_length': 0.9669043904613327, 'pattern_counts': {'":': 0, '<': 325, '<?xml version=': 0, '>': 325, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 202, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4778456', 'n_tokens_mistral': 4192, 'n_tokens_neox': 3962, 'n_words': 840}