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
[ | |
{ | |
"pais":"pais1", | |
"cep":"11111", | |
"rua":"rua1", | |
"numero":"1", | |
"bairro":"bairro1", | |
"estado":"estado1", | |
"complemento":"complemento1" | |
}, |
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
// valor | |
let nome = 'ju' | |
let nome2 = nome | |
nome = 'juliana' | |
console.log(nome2) | |
// ju | |
// memória |
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
{ | |
"categories": [ | |
{ | |
"id": 1, | |
"name": "Front-End", | |
"description": "HTML, CSS, React, Angular, JavaScript, jQuery e mais..." | |
}, | |
{ | |
"id": 1, | |
"name": "Back-End", |
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
// depende da ordem em que é chamado | |
// começa com use e pode usar outros hooks | |
import { useState, useEffect } from 'react'; | |
function useFriendStatus(friendID) { | |
const [isOnline, setIsOnline] = useState(null); | |
useEffect(() => { | |
function handleStatusChange(status) { |
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
const lugares = { | |
casa: () => console.log('casa'), | |
escola: () => console.log('escola'), | |
} | |
const lugarAtual = 'casa' | |
lugares[lugarAtual] | |
if (lugarAtual == 'casa') { |
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
import React from 'react'; | |
import styled, { css } from 'styled-components'; | |
import NextLink from 'next/link'; | |
const BASE_URL = 'http://alurakut.vercel.app/'; | |
const v = '1'; | |
function Link({ href, children, ...props }) { | |
return ( |
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
const matrizInimigoGrande = [ | |
[0,0], | |
[400,0], | |
[800,0], | |
[1200,0], | |
[1600,0], | |
[0,400], | |
[400,400], | |
[800,400], | |
[1200, 400], |
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
const matrizInimigo = [ | |
[0, 0], | |
[104, 0], | |
[208, 0], | |
[312, 0], | |
[0, 104], | |
[104, 104], | |
[208, 104], | |
[312, 104], | |
[0, 208], |
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
{"v":"5.1.8","fr":60,"ip":46,"op":92,"w":1920,"h":1080,"nm":"Transicao Tutorial_003","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Shape Layer 21","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[960,540,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[-105.51,105.51,100],"ix":6}},"ao":0,"ef":[{"ty":5,"nm":"Turbulent Displace","np":16,"mn":"ADBE Turbulent Displace","ix":1,"en":1,"ef":[{"ty":7,"nm":"Displacement","mn":"ADBE Turbulent Displace-0001","ix":1,"v":{"a":0,"k":1,"ix":1}},{"ty":0,"nm":"Amount","mn":"ADBE Turbulent Displace-0002","ix":2,"v":{"a":0,"k":96,"ix":2}},{"ty":0,"nm":"Size","mn":"ADBE Turbulent Displace-0003","ix":3,"v":{"a":0,"k":78,"ix":3}},{"ty":3,"nm":"Offset (Turbulence)","mn":"ADBE Turbulent Displace-0004","ix":4,"v":{"a":0,"k":[1235.2,617.76],"ix":4}},{"ty":0,"nm":"Complexity","mn":"ADBE Turbulent Displace-0005","ix":5,"v":{"a":0,"k":1,"ix":5}},{"ty":0,"nm":"Evolution","mn":"ADBE Turbulent Displace-0006","ix":6,"v":{"a":0,"k":52," |