<commit_before><?php
/**
 * Created by PhpStorm.
 * User: bmix
 * Date: 5/3/16
 * Time: 1:26 PM
 */
?>

<?php
/**
 * Created by PhpStorm.
 * User: bmix
 * Date: 4/12/16
 * Time: 10:00 AM
 */
?>
<!DOCTYPE html>
<html lang="en">
<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>@yield('title') :: Brian Mix</title>

    @include('partials.head')
</head>
<body>

@include('partials.nav')

<div class="container">
    <div class="page-heading">
        <h1 class="page-header"> @yield('heading')</h1>
    </div>
</div>

<div class="container" id="content-main">
    @include('errors.list')
    @yield('content')
</div>

<footer class="footer dark">
    <div class="container">
            <ul class="list-inline text-center" id="social-icons">
                <li>
                    @if(env('APP_GIT',false))
                        <a href="https://github.com/{{ env('APP_GIT') }}"><i class="fa fa-3x fa-github-alt" aria-hidden="true"></i></a>
                    @endif
                </li>
                <li>
                    @if(env('APP_FACE',false))
                        <a href="https://facebook.com/{{ env('APP_FACE') }}"><i class="fa fa-3x fa-facebook" aria-hidden="true"></i></a>
                    @endif
                </li>
                <li>
                    @if(env('APP_TWIT',false))
                        <a href="https://twitter.com/{{ env('APP_TWIT') }}"><i class="fa fa-3x fa-twitter" aria-hidden="true"></i></a>
                    @endif
                </li>
                <li>
                    @if(env('APP_GPLUS',false))
                        <a href="https://plus.google.com/+{{ env('APP_GPLUS') }}"><i class="fa fa-3x fa-google-plus" aria-hidden="true"></i></a>
                    @endif
                </li>
                <li>
                    @if(env('APP_UTUBE',false))
                        <a href="https://youtube.com/channel/{{ env('APP_UTUBE') }}"><i class="fa fa-3x fa-youtube" aria-hidden="true"></i></a>
                    @endif
                </li>
                <li>
                    @if(env('APP_LINKEDIN',false))
                        <a href="https://www.linkedin.com/in/{{ env('APP_LINKEDIN') }}"><i class="fa fa-3x fa-linkedin" aria-hidden="true"></i></a>
                    @endif
                </li>
            </ul>

            <div class="row">
                <p class="text-center">Copyright <span class="glyphicon glyphicon-copyright-mark"></span> {{ date('Y') }} {{ env('APP_COPY') }}</p>
            </div>
    </div>
</footer>
<div class="last">
    <script src="{{ asset('js/app.js') }}"></script>
    @yield('last')
</div>
@if(env('APP_ENV','local') ==  'production')
<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-50791220-3', 'auto');
    ga('send', 'pageview');

</script>
@endif
</body>
</html>
<commit_msg>added google analytics tracking for production<commit_after><?php
/**
 * Created by PhpStorm.
 * User: bmix
 * Date: 5/3/16
 * Time: 1:26 PM
 */
?>

<?php
/**
 * Created by PhpStorm.
 * User: bmix
 * Date: 4/12/16
 * Time: 10:00 AM
 */
?>
<!DOCTYPE html>
<html lang="en">
<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>@yield('title') :: Brian Mix</title>

    @include('partials.head')
</head>
<body>

@include('partials.nav')

<div class="container">
    <div class="page-heading">
        <h1 class="page-header"> @yield('heading')</h1>
    </div>
</div>

<div class="container" id="content-main">
    @include('errors.list')
    @yield('content')
</div>

<footer class="footer dark">
    <div class="container">
            <ul class="list-inline text-center" id="social-icons">
                <li>
                    @if(env('APP_GIT',false))
                        <a href="https://github.com/{{ env('APP_GIT') }}"><i class="fa fa-3x fa-github-alt" aria-hidden="true"></i></a>
                    @endif
                </li>
                <li>
                    @if(env('APP_FACE',false))
                        <a href="https://facebook.com/{{ env('APP_FACE') }}"><i class="fa fa-3x fa-facebook" aria-hidden="true"></i></a>
                    @endif
                </li>
                <li>
                    @if(env('APP_TWIT',false))
                        <a href="https://twitter.com/{{ env('APP_TWIT') }}"><i class="fa fa-3x fa-twitter" aria-hidden="true"></i></a>
                    @endif
                </li>
                <li>
                    @if(env('APP_GPLUS',false))
                        <a href="https://plus.google.com/+{{ env('APP_GPLUS') }}"><i class="fa fa-3x fa-google-plus" aria-hidden="true"></i></a>
                    @endif
                </li>
                <li>
                    @if(env('APP_UTUBE',false))
                        <a href="https://youtube.com/channel/{{ env('APP_UTUBE') }}"><i class="fa fa-3x fa-youtube" aria-hidden="true"></i></a>
                    @endif
                </li>
                <li>
                    @if(env('APP_LINKEDIN',false))
                        <a href="https://www.linkedin.com/in/{{ env('APP_LINKEDIN') }}"><i class="fa fa-3x fa-linkedin" aria-hidden="true"></i></a>
                    @endif
                </li>
            </ul>

            <div class="row">
                <p class="text-center">Copyright <span class="glyphicon glyphicon-copyright-mark"></span> {{ date('Y') }} {{ env('APP_COPY') }}</p>
            </div>
    </div>
</footer>
<div class="last">
    <script src="{{ asset('js/app.js') }}"></script>
    @yield('last')
</div>
{{env('APP_ENV')}}
@if(env('APP_ENV','local') ==  'production')
<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-50791220-3', 'auto');
    ga('send', 'pageview');

</script>
@endif
</body>
</html>

{'fraction_non_alphanumeric': 0.217956469165659, 'fraction_numerical': 0.011487303506650543, 'mean_word_length': 2.0145785876993165, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 155, 'https://': 14, 'lorem ipsum': 0, 'www.': 4, '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': '6703626', 'n_tokens_mistral': 2317, 'n_tokens_neox': 2192, 'n_words': 362}