<commit_before>
<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" content="Beryl8, be8, analytics, Beryl8-analytics, be8-analytics, Beryl8 analytics, be8 analytics, analytics web">
    <meta name="description" content="Beryl8 analytics main page (be8-analytics main).">
    <?php
    // Start the session
    session_start();
    echo "session_start";
    ?> 
    <script>
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
            m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

        ga('create', 'UA-92797728-1', 'auto');
        ga('send', 'pageview');

        // Feature detects Navigation Timing API support.
        if (window.performance) {
          // Gets the number of milliseconds since page load
          // (and rounds the result since the value must be an integer).
          var timeSincePageLoad = Math.round(performance.now());

          // Sends the timing hit to Google Analytics.
          ga('send', 'timing', 'JS Dependencies', 'load', timeSincePageLoad);
        }

        function signIn() {
            // var signInForm = document.getElementById("signInForm");
            var userId = document.getElementById("userId").value;
            if(userId) {
                ga('set', 'userId', userId);
                document.getElementById("signInForm").style.display = "none";
                document.getElementById("displayUserName").style.display = "block";
                document.getElementById("userIdDisplay").value = userId;
                
                console.log('userId:' + userId);
                
            } else {
                alert('Username cannot be empty');
            }
            
            return false;
        }

        function handleOutboundLinkClicks(event) {
            ga('send', 'event', {
                eventCategory: event.name,
                eventAction: 'click',
                eventLabel: event.target.href
            });
        }

    </script>
    <style type="text/css">
        .footer{
            text-align:center
        }
        .footer a {
            color: #ccc;
            font-size: 80%;
        }
    </style>

    <title>BE8 &ndash; Analytics &ndash; Web</title>
    
    <link rel="stylesheet" href="https://unpkg.com/purecss@0.6.2/build/pure-min.css" integrity="sha384-" crossorigin="anonymous">

        <!--[if lte IE 8]>
            <link rel="stylesheet" href="css/layouts/side-menu-old-ie.css">
        <![endif]-->
        <!--[if gt IE 8]><!-->
            <link rel="stylesheet" href="css/layouts/side-menu.css">
        <!--<![endif]-->
</head>
<body>
<?php
    // Set session variables
    $doc = new DomDocument;
    $doc->getElementById('php-basics')
    echo "Session docname=:" + $doc->value;
    $_SESSION["userId"] = $doc->value;
    echo "Session userId=:" + $_SESSION["userId"];
?>
<div id="layout">
    <!-- Menu toggle -->
    <a href="#menu" id="menuLink" class="menu-link">
        <!-- Hamburger icon -->
        <span></span>
    </a>

    <div id="menu">
        <div class="pure-menu">
            <a class="pure-menu-heading" href="index.html">Beryl8</a>

            <ul class="pure-menu-list">
                <li class="pure-menu-item"><a href="#" class="pure-menu-link">Home</a></li>
                <li class="pure-menu-item"><a href="blog.html" class="pure-menu-link">Blog</a></li>
                <li class="pure-menu-item" class="menu-item-divided pure-menu-selected">
                    <a href="email.html" class="pure-menu-link">Email</a>
                </li><commit_msg>no message<commit_after>
<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" content="Beryl8, be8, analytics, Beryl8-analytics, be8-analytics, Beryl8 analytics, be8 analytics, analytics web">
    <meta name="description" content="Beryl8 analytics main page (be8-analytics main).">
    <?php
    // Start the session
    session_start();
    echo "session_start";
    ?> 
    <script>
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
            m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

        ga('create', 'UA-92797728-1', 'auto');
        ga('send', 'pageview');

        // Feature detects Navigation Timing API support.
        if (window.performance) {
          // Gets the number of milliseconds since page load
          // (and rounds the result since the value must be an integer).
          var timeSincePageLoad = Math.round(performance.now());

          // Sends the timing hit to Google Analytics.
          ga('send', 'timing', 'JS Dependencies', 'load', timeSincePageLoad);
        }

        function signIn() {
            // var signInForm = document.getElementById("signInForm");
            var userId = document.getElementById("userId").value;
            if(userId) {
                ga('set', 'userId', userId);
                document.getElementById("signInForm").style.display = "none";
                document.getElementById("displayUserName").style.display = "block";
                document.getElementById("userIdDisplay").value = userId;
                
                console.log('userId:' + userId);
                
            } else {
                alert('Username cannot be empty');
            }
            
            return false;
        }

        function handleOutboundLinkClicks(event) {
            ga('send', 'event', {
                eventCategory: event.name,
                eventAction: 'click',
                eventLabel: event.target.href
            });
        }

    </script>
    <style type="text/css">
        .footer{
            text-align:center
        }
        .footer a {
            color: #ccc;
            font-size: 80%;
        }
    </style>

    <title>BE8 &ndash; Analytics &ndash; Web</title>
    
    <link rel="stylesheet" href="https://unpkg.com/purecss@0.6.2/build/pure-min.css" integrity="sha384-" crossorigin="anonymous">

        <!--[if lte IE 8]>
            <link rel="stylesheet" href="css/layouts/side-menu-old-ie.css">
        <![endif]-->
        <!--[if gt IE 8]><!-->
            <link rel="stylesheet" href="css/layouts/side-menu.css">
        <!--<![endif]-->
</head>
<body>
<?php
    // Set session variables
    $doc = new DomDocument;
    $doc->getElementById('php-basics')
  
?>
<div id="layout">
    <!-- Menu toggle -->
    <a href="#menu" id="menuLink" class="menu-link">
        <!-- Hamburger icon -->
        <span></span>
    </a>

    <div id="menu">
        <div class="pure-menu">
            <a class="pure-menu-heading" href="index.html">Beryl8</a>

            <ul class="pure-menu-list">
                <li class="pure-menu-item"><a href="#" class="pure-menu-link">Home</a></li>
                <li class="pure-menu-item"><a href="blog.html" class="pure-menu-link">Blog</a></li>
                <li class="pure-menu-item" class="menu-item-divided pure-menu-selected">
                    <a href="email.html" class="pure-menu-link">Email</a>
                </li>
{'fraction_non_alphanumeric': 0.17115233864645937, 'fraction_numerical': 0.009145544813169584, 'mean_word_length': 2.127042483660131, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 105, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '3325075', 'n_tokens_mistral': 2399, 'n_tokens_neox': 2283, 'n_words': 444}