//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());
This file contains hidden or 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
<!-- | |
https://codepen.io/tiagofranca/pen/BaZpzrN | |
https://jsfiddle.net/TiagoFranca/c1gL598j/ | |
--> | |
<style> | |
[x-cloak] {display: none !important;} | |
.transition-500ms, .transition { | |
-webkit-transition: opacity 0.5s ease-in-out; | |
-moz-transition: opacity 0.5s ease-in-out; | |
-ms-transition: opacity 0.5s ease-in-out; |
This file contains hidden or 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
export const colors = { | |
black: '#000', | |
white: '#fff', | |
rose: { | |
'50': '#fff1f2', | |
'100': '#ffe4e6', | |
'200': '#fecdd3', | |
'300': '#fda4af', | |
'400': '#fb7185', | |
'500': '#f43f5e', |
This file contains hidden or 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 PhpImap\Mailbox; | |
require_once 'vendor/autoload.php'; | |
$mailbox = new Mailbox( | |
'{imap.gmail.com:993/imap/ssl}INBOX', | |
'[email protected]', | |
'sua senha aqui', |
This file contains hidden or 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
[ | |
{ | |
"value": "001", | |
"label": "Banco do Brasil S.A." | |
}, | |
{ | |
"value": "003", | |
"label": "Banco da Amazônia S.A." | |
}, | |
{ |
This file contains hidden or 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
const express = require('express'); | |
const { html, Component } = require('htm/preact'); | |
const renderToString = require('preact-render-to-string'); | |
class App extends Component { | |
render(props) { | |
return html` | |
<div class="app"> | |
<h1>This is an app</h1> | |
<p>Current server time: ${new Date + ''}</p> |
Search input for Bootstrap grid with jQuery
A Pen by Tiago França on CodePen.
This file contains hidden or 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
Afghanistan | |
Albania | |
Algeria | |
Andorra | |
Angola | |
Antigua & Deps | |
Argentina | |
Armenia | |
Australia | |
Austria |
NewerOlder