Skip to content

Instantly share code, notes, and snippets.

View crisgon's full-sized avatar
:octocat:
Work hard!

Cristiano Gonçalves crisgon

:octocat:
Work hard!
View GitHub Profile
## 30 dias 30 sites
1. **Dia 1:** Portfólio
2. **Dia 2:** Convite para Evento
3. **Dia 3:** Atração Turística
4. **Dia 4:** Site de Produto
5. **Dia 5:** Cardápio de Restaurante
6. **Dia 6:** Livro / Autor
7. **Dia 7:** Trailer de Filme
8. **Dia 8:** Fã-Clube de Celebridade
@crisgon
crisgon / index.html
Created October 30, 2024 11:56
Template email
<div>
<div>
<u></u>
<div style="font-family:sans-serif;font-size:14px;line-height:1.4;background-color:#f6f6f6;margin:0;padding:0">
<table bgcolor="#f6f6f6" border="0" cellpadding="0" cellspacing="0" style="border-collapse:separate;width:100%;background-color:#f6f6f6" width="100%">
export function creditCardMask(num: string) {
num = num.replace(/[^0-9]/g, "");
num = num.replace(/(\d{4})(\d)/, "$1 $2");
num = num.replace(/(\d{4})(\d)/, "$1 $2");
num = num.replace(/(\d{4})(\d)/, "$1 $2");
return num;
}
export function cpfMask(num: string) {
num = num.replace(/[^0-9]/g, "");
import React, { useState, useEffect, useMemo } from "react";
import { Link, useLocation } from "react-router-dom";
import cn from "classnames";
import { Icon } from "antd";
import { ArrowNav } from "../../NavSVGS";
import s from "./style.scss";
interface Props {
{
"html": [
{
"title": "Todas as tags",
"status": false
},
{
"title": "Semântica",
"status": false
},
function validateOfferMan(){
var bonusPL = document.getElementById("inputbonusPL").checked;
var bonusRescue = document.getElementById("inputbonusRescue").checked;
var bonusMonths = document.getElementById("inputbonusMonths").checked;
var offer10da = document.getElementById("inputOffer10da").checked;
var bonus1real = document.getElementById("inputBonus1real").checked;
var offerPoints = document.getElementById("inputofferPoints").checked;
var offers = bonusPL + bonusRescue + bonusMonths + offer10da + bonus1real + offerPoints;
function myFunction() {
let a = 2;
function otherFunction() {
console.log( a + b );
}
otherFunction();
}
let b = 3;
myFunction(); // 5
function myFunction() {
 let a = b;
 console.log(a); 
}
myFunction(); // Reference Error