<commit_before><html>
<head>
    <title>PleaseBaoMe</title>
    <meta charset="UTF-8"/>
    <link href="bower_components/foundation/css/foundation.min.css" rel="stylesheet" />
    <link href="bower_components/jquery-ui/themes/base/jquery-ui.min.css" rel="stylesheet" />
    <script src="bower_components/jquery/dist/jquery.min.js"></script>
    <script src="bower_components/foundation/js/foundation.min.js"></script>
    <script src="bower_components/jquery-ui/jquery-ui.min.js"></script>

    <style>
        nav.top-bar {
            text-align: center;
        }
        section.top-bar-section {
            display: inline-block;
        }
        table {
            min-width: 30%;
            max-width: 100%;
            margin-top: 20px;
            margin-left: auto;
            margin-right: auto;
        }
        table, td, th {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        td {
            word-break: break-word;
            word-wrap: break-all;
        }
    </style>

    <script type="text/javascript">
        $(function(){
            $('table th').resizable({
                handles: 'e',
                minWidth: 18
            });

            $('#go').click(function () {
                var tableName = $("#table_name").text();
                var limit = $("#limit").val();
                var offset = $("#offset").val();
                var sql = "SELECT * FROM " + tableName;
                if (limit.length > 0) {
                    sql += " LIMIT " + limit;
                }

                if (offset.length > 0) {
                    sql += " OFFSET " + offset;
                }

                window.location.href = "/" + sql;
            });
        });<commit_msg>update offset and limit<commit_after><html>
<head>
    <title>PleaseBaoMe</title>
    <meta charset="UTF-8"/>
    <link href="bower_components/foundation/css/foundation.min.css" rel="stylesheet" />
    <link href="bower_components/jquery-ui/themes/base/jquery-ui.min.css" rel="stylesheet" />
    <script src="bower_components/jquery/dist/jquery.min.js"></script>
    <script src="bower_components/foundation/js/foundation.min.js"></script>
    <script src="bower_components/jquery-ui/jquery-ui.min.js"></script>

    <style>
        nav.top-bar {
            text-align: center;
        }
        section.top-bar-section {
            display: inline-block;
        }
        table {
            min-width: 30%;
            max-width: 100%;
            margin-top: 20px;
            margin-left: auto;
            margin-right: auto;
        }
        table, td, th {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        td {
            word-break: break-word;
            word-wrap: break-all;
        }
    </style>

    <script type="text/javascript">
        $(function(){
            $('table th').resizable({
                handles: 'e',
                minWidth: 18
            });

            $('#go').click(function () {
                var tableName = $("#table_name").text();
                var limit = $("#limit").val();
                var offset = $("#offset").val();
                var sql = "SELECT * FROM " + tableName;
                if (offset.length > 0 && limit.length > 0) {
                    sql += " LIMIT " + limit + " OFFSET " + offset;
                }
                window.location.href = "/" + sql;
            });
        });
{'fraction_non_alphanumeric': 0.15, 'fraction_numerical': 0.006818181818181818, 'mean_word_length': 1.4502435629784274, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 39, 'https://': 0, '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': '4410434', 'n_tokens_mistral': 1043, 'n_tokens_neox': 989, 'n_words': 177}