This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="row p-3 align-items-center bg-white"> | |
<div class="col"> | |
<span class="text-muted pointer" @click="openCommandBar"> | |
<i class="bi bi-search me-3"></i> | |
Search for help | |
</span> | |
</div> | |
<div class="col-auto"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InspectorMonitoringMiddleware extends \Inspector\Laravel\Middleware\WebRequestMonitoring | |
{ | |
public function terminate($request, $response) | |
{ | |
parent::terminate($request, $response); | |
// Get what you want from the $request | |
inspector()->transaction()->http->request->headers = $request->headers->all(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use \Inspector\Laravel\Middleware\WebRequestMonitoring; | |
class InspectorFilterMonitoringMiddleware extends WebRequestMonitoring | |
{ | |
/** | |
* Terminates a request/response cycle. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$trainingIn = [ | |
[0, 0, 1], | |
[1, 1, 1], | |
[1, 0, 1], | |
[0, 1, 1] | |
]; | |
$trainingOut = [0, 1, 1, 0]; |