Skip to content
View glaucioripol's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report glaucioripol

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. backend-nlw backend-nlw Public

    TypeScript 1

  2. frontend-nlw frontend-nlw Public

    TypeScript 1

  3. mobile-nlw mobile-nlw Public

    TypeScript 1

  4. Função para validar cpf Função para validar cpf
    1
    export function validateCPF(cpfInputed) {
    2
      const cpf = cpfInputed.replace(/[^\d]+/g, '')
    3
      if (cpf === '') return false
    4
      // Elimina CPFs invalidos conhecidos
    5
      if (
  5. compressImage.js compressImage.js
    1
    function compressImageFile(file, quality = 0.7) {
    2
      const oldFileSize = file.size
    3
      return new Promise((resolve, reject) => {
    4
        if (file.type.startsWith('image')) {
    5
          if (file.type.match(/jpeg|png/)) {
  6. 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" />