<commit_before><!DOCTYPE html>
<html>
<head lang='en'>
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <title>Debugger</title>
    <meta name='description' content='AppsGate Debugger example'>
    <meta name='viewport' content='width=device-width, initial-scale=1'>
    <!-- build:css(.tmp) themes/basic/theme.css -->
    <link rel='stylesheet' href='themes/basic/theme.css'>
    <!-- endbuild -->
    <script type='text/javascript' src='components/requirejs/require.js'></script>
    <script type='text/javascript'>
        require.config({
            baseUrl: '/',
            map: {
                '*': {
                    'underscore': 'lodash'
                }
            },
            shim: {
                'lodash': {
                    exports: '_'
                },
                'backbone': {
                    deps: ['jquery', 'underscore'],
                    exports: 'Backbone'
                },
                'jquery': {
                    exports: '$'
                },
                'appsgate.debugger': {
                    deps: ['jquery', 'jqueryui', 'backbone', 'lodash', 'd3']
                }
            },
            paths: {
                'appsgate.debugger': 'appsgate.debugger.dev',
                'backbone': 'components/backbone/backbone',
                'lodash': 'components/lodash/dist/lodash',
                'jquery': 'components/jquery/dist/jquery',
                'jqueryui': 'components/jqueryui/jquery-ui',
                'd3': 'components/d3/d3'
            }
        });

        require(['appsgate.debugger'], function(Debugger) {
            var connector = new Debugger.Connector({
                address: 'localhost',
                port: '3000'
            });

            var dashboard = new Debugger.Dashboard('#canvas');
            dashboard.connect(connector);

            var monitor = new Debugger.Monitor();
            monitor.connect(connector);
        });
    </script>
    <style type="text/css">
        body > .wrapper {
            width: 960px;
            height: 100%;;
            margin-left: auto;
            margin-right: auto;
        }
    </style>
</head>
<body>
    <div class="wrapper">
        <div id='canvas'></div>
    </div>
</body>
</html><commit_msg>make debugger and monitor global in examples<commit_after><!DOCTYPE html>
<html>
<head lang='en'>
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <title>Debugger</title>
    <meta name='description' content='AppsGate Debugger example'>
    <meta name='viewport' content='width=device-width, initial-scale=1'>
    <!-- build:css(.tmp) themes/basic/theme.css -->
    <link rel='stylesheet' href='themes/basic/theme.css'>
    <!-- endbuild -->
    <script type='text/javascript' src='components/requirejs/require.js'></script>
    <script type='text/javascript'>
        require.config({
            baseUrl: '/',
            map: {
                '*': {
                    'underscore': 'lodash'
                }
            },
            shim: {
                'lodash': {
                    exports: '_'
                },
                'backbone': {
                    deps: ['jquery', 'underscore'],
                    exports: 'Backbone'
                },
                'jquery': {
                    exports: '$'
                },
                'appsgate.debugger': {
                    deps: ['jquery', 'jqueryui', 'backbone', 'lodash', 'd3']
                }
            },
            paths: {
                'appsgate.debugger': 'appsgate.debugger.dev',
                'backbone': 'components/backbone/backbone',
                'lodash': 'components/lodash/dist/lodash',
                'jquery': 'components/jquery/dist/jquery',
                'jqueryui': 'components/jqueryui/jquery-ui',
                'd3': 'components/d3/d3'
            }
        });

        require(['appsgate.debugger'], function(Debugger) {
            var connector = new Debugger.Connector({
                address: 'localhost',
                port: '3000'
            });

            var dashboard = window.dashboard = new Debugger.Dashboard('#canvas');
            dashboard.connect(connector);

            var monitor = window.monitor = new Debugger.Monitor();
            monitor.connect(connector);
        });
    </script>
    <style type="text/css">
        body > .wrapper {
            width: 960px;
            height: 100%;;
            margin-left: auto;
            margin-right: auto;
        }
    </style>
</head>
<body>
    <div class="wrapper">
        <div id='canvas'></div>
    </div>
</body>
</html>
{'fraction_non_alphanumeric': 0.1531896735651803, 'fraction_numerical': 0.006827394922125027, 'mean_word_length': 1.4817363684489149, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 57, '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': '5292364', 'n_tokens_mistral': 1363, 'n_tokens_neox': 1269, 'n_words': 227}