🏠
Working from home
Pinned Loading
-
-
-
-
Função para validar cpf
Função para validar cpf 1export function validateCPF(cpfInputed) {
2const cpf = cpfInputed.replace(/[^\d]+/g, '')
3if (cpf === '') return false
4// Elimina CPFs invalidos conhecidos
5if (
-
compressImage.js
compressImage.js 1function compressImageFile(file, quality = 0.7) {
2const oldFileSize = file.size
3return new Promise((resolve, reject) => {
4if (file.type.startsWith('image')) {
5if (file.type.match(/jpeg|png/)) {
-
limpando local storage com tempo
limpando local storage com tempo 1<!DOCTYPE html>
2<html lang="en">
3<head>
4<meta charset="UTF-8" />
5<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.