Skip to content

Instantly share code, notes, and snippets.

View emersonpessoa01's full-sized avatar
💭
:atom: Dê valor ao que tem pelo tempo que tiver

𝐄𝐦𝐞𝐫𝐬𝐨𝐧 𝐏𝐞𝐬𝐬𝐨𝐚 emersonpessoa01

💭
:atom: Dê valor ao que tem pelo tempo que tiver
View GitHub Profile
@emersonpessoa01
emersonpessoa01 / Carousel.jsx
Created August 14, 2024 17:10 — forked from nimone/Carousel.jsx
Build a carousel component like instagram purely in ReactJS and TailwindCSS
@emersonpessoa01
emersonpessoa01 / index.html
Created October 20, 2023 14:27
Pure CSS select option
<h1>Choose a book format</h1>
<div class="select">
<select name="format" id="format">
<option selected disabled>Choose a book format</option>
<option value="pdf">PDF</option>
<option value="txt">txt</option>
<option value="epub">ePub</option>
<option value="fb2">fb2</option>
<option value="mobi">mobi</option>
</select>
@nimone
nimone / Carousel.jsx
Last active March 24, 2025 03:56
Build a carousel component like instagram purely in ReactJS and TailwindCSS
@LearnWebCode
LearnWebCode / javascriptreact.json
Created March 11, 2021 22:59
React Visual Studio Code Snippets for component, useEffect, useState, and useImmerReducer
{
"React Component": {
"prefix": "rc",
"body": ["import React, { useEffect } from \"react\"", "", "function ${1:ComponentName}() {", " return (", " <>", " $2", " </>", " )", "}", "", "export default ${1:ComponentName}"],
"description": "React Component"
},
"useEffect": {
"prefix": "ue",
"body": ["useEffect(() => {", " $2", "}, [$1])"],
"description": "useEffect"
@guilhermewebdev
guilhermewebdev / validateCPF.ts
Last active November 20, 2020 01:02
Validação de CPF em JavaScript, padrão funcional, ideal para usar com React.js
const verifySum = (cpf: number[], lastIndex: number): number => cpf
.slice(0, lastIndex)
.reverse()
.reduce((total, current, index) => total + (current * (index + 2)), 0);
const verifyRest = (sum: number, digit: number) => {
const rest = (sum * 10) % 11;
const newRest = ((rest == 10) || (rest == 11)) ? 0 : rest;
return newRest == digit;
}
export const validateCPF = (cpf: string) => {
https://www.udemy.com/course/management-consulting-skill/?couponCode=FREECOUR
https://www.udemy.com/course/microsoft-power-bi-latest-2020-beginner-to-expert-modules/?couponCode=POWER22
https://www.udemy.com/course/machine-learning-advanced-decision-trees-in-python/?couponCode=AUGLAS2020
https://www.udemy.com/course/marketing-analytics-with-r-2020/?couponCode=MARKETING3
https://www.udemy.com/course/financial-analytics-complete-course/?couponCode=FINANCE9
https://www.udemy.com/course/data-analytics-with-excel-pivottables-2016/?couponCode=3B13CE850DCADF8820C4
https://www.udemy.com/course/the-complete-sql-masterclass-for-data-analytics/?couponCode=AUGLAS2020
https://www.udemy.com/course/data-analysis-for-business-and-finance/?couponCode=B5A298AEA109C2F222B4
https://www.udemy.com/course/predictive-regression-modelling-in-microsoft-excel/?couponCode=AUGLAS2020
https://www.udemy.com/course/investinginforeclosures/?couponCode=FORECLOSURE2020
@temminks
temminks / gist:bc90582aadd7d466fef67aed524d886d
Last active June 17, 2022 10:52
Kostenlose und gut bewertete Kurse
https://www.udemy.com/course/learn-complete-sql-from-basics/?couponCode=WELCOME
https://www.udemy.com/course/marketing-analytics-with-r-2020/?couponCode=MARKETING18
https://www.udemy.com/course/supply-chain-analytics/?couponCode=ANALYTICS19
https://www.udemy.com/course/the-complete-sql-masterclass-for-data-analytics/?couponCode=XSEPTION
https://www.udemy.com/course/customer-analytics-in-spss/?couponCode=DOTHEDEW
https://www.udemy.com/course/microsoft-power-bi-latest-2020-beginner-to-expert-modules/?couponCode=POWER18
https://www.udemy.com/course/machine-learning-advanced-decision-trees-in-python/?couponCode=XSEPTION
https://www.udemy.com/course/predictive-regression-modelling-in-microsoft-excel/?couponCode=XSEPTION
https://www.udemy.com/course/facebook-ads-for-real-estate-business/?couponCode=REALESTATE45
https://www.udemy.com/course/technical-writing-course/?couponCode=WRITING19
@reginadiana
reginadiana / README-TEMPLATE.md
Last active April 20, 2025 21:54
Template sugestivo para documentação de projetos

Titulo ou Arte do Projeto

@diego3g
diego3g / NODE.md
Last active April 29, 2025 16:13
VSCode Settings (Updated)

⚠️ Note!

With VSCode version 1.94, the APC extension broke and there is no fix yet.

So, for those having issues with APC after the VSCode update, I recommend downloading the previous version of VSCode for now (https://code.visualstudio.com/updates/v1_93) and setting updates to manual by adding this to the editor's configuration:

"update.mode": "manual",
@boaglio
boaglio / atalhos-ij.md
Last active April 23, 2025 00:21
Atalhos do IntelliJ - para quem veio do Eclipse

Atalhos do IntelliJ

Principais

Caiu no IntelliJ agora?

Aprenda só esses:

Tipo de Atalho IntelliJ IDEA