Skip to content

Instantly share code, notes, and snippets.

<!--
This example requires some changes to your config:
```
// tailwind.config.js
module.exports = {
// ...
plugins: [
// ...
require('@tailwindcss/forms'),
@tiagomatosweb
tiagomatosweb / course.js
Created February 27, 2023 10:04
Desafio javascript #2
{
"id": 1,
"title": "Vue.js composition API",
"sections": [
{
"id": 1,
"title": "Introdução",
"lectures": [
{
"id": 1,
// Faça o calculo do total destes produtos que estão no carrinho
const cart = [
{
name: 'Pizza de calebreza',
amount: 10,
qty: 2,
addons: [
{
'name': 'Extra calabreza',
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>10 Funções imperdíveis do lodash</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js"></script>
</head>
<div v-for="card in cards">
<CardShow
v-if="card.status === 'show'"
:card="card"
>
<CardDelete
v-if="card.status === 'delete'"
:card="card"
>
<?php
namespace App\V1\User\Resources;
use Illuminate\Http\Resources\Json\JsonResource;
class UserResource extends JsonResource
{
/**
* Transform the resource collection into an array.
CREATE TABLE shop (
article INT UNSIGNED DEFAULT '0000' NOT NULL,
dealer CHAR(20) DEFAULT '' NOT NULL,
price DECIMAL(16,2) DEFAULT '0.00' NOT NULL,
PRIMARY KEY(article, dealer));
INSERT INTO shop VALUES
(1,'A',3.45),(1,'B',3.99),(2,'A',10.99),(3,'B',1.45),
(3,'C',1.69),(3,'D',1.25),(4,'D',19.95);
@tiagomatosweb
tiagomatosweb / test passo 1.html
Last active June 23, 2019 12:32
test passo 1
test1
@tiagomatosweb
tiagomatosweb / fade-effect-css-2.html
Last active June 23, 2019 12:04
Criando um efeito fade no bloco do texto apenas com CSS
<!--
Assista o vídeo dessa aula: https://youtu.be/ZdI_AEUgApw
Se inscreva no canal: https://youtube.com/tiagomatosweb
-
Valeu jovem
TM ;)
-->
<!doctype html>
<html lang="en">
@tiagomatosweb
tiagomatosweb / conhecendo-async-await-javascript.html
Last active June 4, 2019 12:03
O async/await é uma técnica para literalmente transformer sua função em função assíncrona.
<!--
Assista o vídeo dessa aula: https://youtu.be/3158VWp1L9I
Se inscreva no canal https://youtube.com/tiagomatosweb
-
Valeu jovem
TM ;)
-->
<!doctype html>
<html lang="en">