<commit_before><!doctype html>
<html ng-app="marklyApp" ng-cloak>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width">
        <title>Markly</title>

        <link rel="stylesheet" href="assets/css/normalize.css">
        <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">

        <link rel="stylesheet" href="assets/css/app.css">
        <link rel="stylesheet" href="assets/css/animations.css">
    </head>
    <body ng-controller="MainCtrl">
        <div class="container-fluid">
            <div class="row">
                <div class="col-sm-3 col-md-2 sidebar">
                    <a href="#" ng-click="setCurrentCategory(null)"><img class="logo" src="assets/img/logo.png"></a>
                    <ul class="nav nav-sidebar">
                        <li ng-repeat="category in categories" ng-class="{'active': isCurrentCategory(category)}">
                            <a href="#" ng-click="setCurrentCategory(category)">{{category.name}}</a>
                        </li>
                    </ul>
                </div>
                <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
                    <div ng-class="{'active':isSelectedBookmark(bookmarkId)}" ng-repeat="bookmark in bookmarks | filter:{category:currentCategory.name}">
                        <button type="button" ng-click="deleteBookmark(bookmark)" class="close">&times;</button>
                        <button type="button" ng-click="setEditedBookmark(bookmark);startEditing()" class="btn btn-link"><span class="glyphicon glyphicon-pencil"></span></button>
                        <a href="{{bookmark.url}}" target="_blank">{{bookmark.title}}</a>
                    </div>
                    <hr/>

                    <!-- Creating -->
                    <div ng-if="shouldShowCreating()">
                        <button type="button" class="btn btn-link" ng-click="startCreating()">
                            <span class="glyphicon glyphicon-plus"></span>
                            Create Bookmark
                        </button>
                        <form class="create-form" ng-show="isCreating" role="form" ng-submit="createBookmark(newBookmark)">
                            <div class="form-group">
                                <label for="newBookmarkTitle">Bookmark Title</label>
                                <input type="text" class="form-control" id="newBookmarkTitle" ng-model="newBookmark.title" placeholder="Enter title"></input>
                            </div>
                            <div class="form-group">
                                <label for="newBookmarkURL">Bookmark URL</label>
                                <input type="text" class="form-control" id="newBookmarkURL" ng-model="newBookmark.url" placeholder="Enter URL"></input>
                            </div>
                            <button type="submit" class="btn btn-info btn-lg">Create</button>
                            <button class="btn btn-default btn-lg pull-right" ng-click="cancelCreating()">Cancel</button>
                        </form>                          
                    </div>

                    <!-- Editing -->
                    <div ng-show="shouldShowEditing()">
                        <h4>Editing {{editedBookmark.title}}</h4>

                        <form class="edit-form" role="form" ng-submit="updateBookmark(editedBookmark)" novalidate>
                            <div class="form-group">
                                <label>Bookmark Title</label>
                                <input class="form-control" ng-model="editedBookmark.title" placeholder="Enter title"></input>
                            </div>
                            <div class="form-group">
                                <label>Bookmark URL</label>
                                <input class="form-control" ng-model="editedBookmark.url" placeholder="Enter URL"></input>
                            </div>                        
                            <button type="submit" class="btn btn-info btn-lg">Save</button>
                            <button type="submit" class="btn btn-default btn-lg pull-right" ng-click="cancelEditing()">Cancel</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>

        <!-- Add Imports -->
        <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.js"></script>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
        <script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
        <script src="http://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js"></script>
        <script src="app/markly.js"></script>
    </body>
</html><commit_msg>remove http url<commit_after><!doctype html>
<html ng-app="marklyApp" ng-cloak>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width">
        <title>Markly</title>

        <link rel="stylesheet" href="assets/css/normalize.css">
        <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">

        <link rel="stylesheet" href="assets/css/app.css">
        <link rel="stylesheet" href="assets/css/animations.css">
    </head>
    <body ng-controller="MainCtrl">
        <div class="container-fluid">
            <div class="row">
                <div class="col-sm-3 col-md-2 sidebar">
                    <a href="#" ng-click="setCurrentCategory(null)"><img class="logo" src="assets/img/logo.png"></a>
                    <ul class="nav nav-sidebar">
                        <li ng-repeat="category in categories" ng-class="{'active': isCurrentCategory(category)}">
                            <a href="#" ng-click="setCurrentCategory(category)">{{category.name}}</a>
                        </li>
                    </ul>
                </div>
                <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
                    <div ng-class="{'active':isSelectedBookmark(bookmarkId)}" ng-repeat="bookmark in bookmarks | filter:{category:currentCategory.name}">
                        <button type="button" ng-click="deleteBookmark(bookmark)" class="close">&times;</button>
                        <button type="button" ng-click="setEditedBookmark(bookmark);startEditing()" class="btn btn-link"><span class="glyphicon glyphicon-pencil"></span></button>
                        <a href="{{bookmark.url}}" target="_blank">{{bookmark.title}}</a>
                    </div>
                    <hr/>

                    <!-- Creating -->
                    <div ng-if="shouldShowCreating()">
                        <button type="button" class="btn btn-link" ng-click="startCreating()">
                            <span class="glyphicon glyphicon-plus"></span>
                            Create Bookmark
                        </button>
                        <form class="create-form" ng-show="isCreating" role="form" ng-submit="createBookmark(newBookmark)">
                            <div class="form-group">
                                <label for="newBookmarkTitle">Bookmark Title</label>
                                <input type="text" class="form-control" id="newBookmarkTitle" ng-model="newBookmark.title" placeholder="Enter title"></input>
                            </div>
                            <div class="form-group">
                                <label for="newBookmarkURL">Bookmark URL</label>
                                <input type="text" class="form-control" id="newBookmarkURL" ng-model="newBookmark.url" placeholder="Enter URL"></input>
                            </div>
                            <button type="submit" class="btn btn-info btn-lg">Create</button>
                            <button class="btn btn-default btn-lg pull-right" ng-click="cancelCreating()">Cancel</button>
                        </form>                          
                    </div>

                    <!-- Editing -->
                    <div ng-show="shouldShowEditing()">
                        <h4>Editing {{editedBookmark.title}}</h4>

                        <form class="edit-form" role="form" ng-submit="updateBookmark(editedBookmark)" novalidate>
                            <div class="form-group">
                                <label>Bookmark Title</label>
                                <input class="form-control" ng-model="editedBookmark.title" placeholder="Enter title"></input>
                            </div>
                            <div class="form-group">
                                <label>Bookmark URL</label>
                                <input class="form-control" ng-model="editedBookmark.url" placeholder="Enter URL"></input>
                            </div>                        
                            <button type="submit" class="btn btn-info btn-lg">Save</button>
                            <button type="submit" class="btn btn-default btn-lg pull-right" ng-click="cancelEditing()">Cancel</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>

        <!-- Add Imports -->
        <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.js"></script>
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
        <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
        <script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js"></script>
        <script src="app/markly.js"></script>
    </body>
</html>
{'fraction_non_alphanumeric': 0.15207420242584854, 'fraction_numerical': 0.005504026093160738, 'mean_word_length': 1.5787122207621551, 'pattern_counts': {'":': 0, '<': 207, '<?xml version=': 0, '>': 207, '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': '3452507', 'n_tokens_mistral': 2686, 'n_tokens_neox': 2509, 'n_words': 405}