//nos snippets tem o arquivo: ExecTimeTrack.php
//Rastrear pontos da aplicação que demoram mais tempo
$timer = new ExecTimeTrack('aaa');
$timer->startCheckpointToList('validacao');
sleep(1);
$timer->endCheckpointToList('validacao');
dd($timer->getCheckpointList());
<!-- Auto dark mode -->
<div class="w-full overflow-hidden rounded-lg shadow-xs">
<div class="w-full overflow-x-auto">
<table class="w-full whitespace-no-wrap">
<thead>
<tr
class="text-xs font-semibold tracking-wide text-left text-gray-500 uppercase border-b bg-gray-50 dark:bg-gray-900 dark:text-white">
<th class="px-4 py-3">Nome</th>
<th class="px-4 py-3">E-mail</th>
<script setup>
import { useSlots, useAttrs } from 'vue'
const slots = useSlots()
const attrs = useAttrs()
</script>
<template>
# Arquivo C:\xampp\php8.2.bat
@echo off
C:\xampp\php8.2\php.exe C:\xampp\php8.2\composer.phar %*
sleistner.vscode-fileutils jasonlhy.vscode-browser-sync jabacchetta.vscode-essentials SeyyedKhandon.fpack juninhosilva.package-plus-plus
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
{ | |
"require": { | |
"ext-yaml": "^2.2", | |
"ext-xml": "*" | |
} | |
} |
#----------------------------------------------------
## Reiniciar todas as instancias do ambiente atual
for cid in $(docker-compose ps |grep _run_ |awk '{print $1}'); do docker stop $cid; done; docker-compose restart
#----------------------------------------------------
curl https://gist.githubusercontent.com/tiagofrancafernandes/9c1758936118a7f677ccf03f44ae3927/raw/install.sh | bash
#----------------------------------------------------
Parar vários baseado no nome do container (exemplo '_run_'):
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
<style> | |
a[href^="#"][name]::before { | |
color: red !important; | |
content: "#"; | |
visibility: hidden; | |
} | |
a[href^="#"][name]:hover::before { | |
content: "#"; | |
visibility: initial; |
NewerOlder