//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
| <?php | |
| function cuadrado($núm) | |
| { | |
| return $núm * $núm; | |
| } | |
| echo cuadrado(4); // imprime '16'. | |
| echo "<br>Celeste Castillo Flores "; | |
| echo"<br>5J"; | |
| ?> |
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', | |
| 'seu-email@gmail.com', | |
| '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." | |
| }, | |
| { |
Note: YouTube is serving thumbnails from 2 servers:
//img.youtube.com//i.ytimg.com
Examples are with //i.ytimg.com server just because it’s shorter, no other particular reason. You can use both.
-
Player Background Thumbnail (480x360):
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 |