<commit_before><?php

use Illuminate\Http\Request;

Route::group(
    ['prefix' => 'page'], function () {
    Route::get('', 'ShawnSandy\PageKit\Controllers\PagesController@index');
    Route::get('{name}', 'ShawnSandy\PageKit\Controllers\PagesController@page');
    Route::get('login-reset', 'ShawnSandy\PageKit\Controllers\PagesController@resetLogin');
    Route::post('/send/mail/', 'ShawnSandy\PageKit\Controllers\PageKitController@contactUs');
}
);

Route::group(
    ['prefix' => 'dash'], function () {
    Route::get('', 'ShawnSandy\PageKit\Controllers\DashController@index');
    Route::get('logs', 'ShawnSandy\PageKit\Controllers\DashController@logs');

}
);

Route::group(
    ['prefix' => 'github'], function () {
    Route::get('login', 'ShawnSandy\PageKit\Controllers\GithubLoginController@handleAuth');
    Route::get('auth', 'ShawnSandy\PageKit\Controllers\GithubLoginController@auth');

}
);

Route::resource('md', 'ShawnSandy\PageKit\Controllers\MarkdownController');

Route::get('test-login', function (Request $request) {

    $files = collect(MKD::markdownFiles());
    $m = new \Michelf\MarkdownExtra();
    $out = $files->map(function ($file) use ($m) {
        $arr = explode("\n", $m->transform(Storage::disk('markdown')->get($file)));
        return $arr[0];
    });

    return MKD::markdownPosts();

});<commit_msg>removes sample code<commit_after><?php

use Illuminate\Http\Request;

Route::group(
    ['prefix' => 'page'], function () {
    Route::get('', 'ShawnSandy\PageKit\Controllers\PagesController@index');
    Route::get('{name}', 'ShawnSandy\PageKit\Controllers\PagesController@page');
    Route::get('login-reset', 'ShawnSandy\PageKit\Controllers\PagesController@resetLogin');
    Route::post('/send/mail/', 'ShawnSandy\PageKit\Controllers\PageKitController@contactUs');
}
);

Route::group(
    ['prefix' => 'dash'], function () {
    Route::get('', 'ShawnSandy\PageKit\Controllers\DashController@index');
    Route::get('logs', 'ShawnSandy\PageKit\Controllers\DashController@logs');

}
);

Route::group(
    ['prefix' => 'github'], function () {
    Route::get('login', 'ShawnSandy\PageKit\Controllers\GithubLoginController@handleAuth');
    Route::get('auth', 'ShawnSandy\PageKit\Controllers\GithubLoginController@auth');

}
);

Route::resource('md', 'ShawnSandy\PageKit\Controllers\MarkdownController');

Route::get('test-login', function (Request $request) {

    return MKD::markdownPosts();

});
{'fraction_non_alphanumeric': 0.1988519885198852, 'fraction_numerical': 0.0004100041000410004, 'mean_word_length': 5.834733893557423, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '4175966', 'n_tokens_mistral': 804, 'n_tokens_neox': 812, 'n_words': 95}