This file contains hidden or 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
# Uso o comando abaixo para abrir o arquivo para adicionar as functions, no caso, | |
# usei o notepad, mas pode usar qualquer outro editor de texto que preferir, como code, por exemplo... | |
# PS> notepad $PROFILE | |
# No arquivo aberto, copie e cole essas functions | |
function rmrf { param([string[]]$Paths) Remove-Item -Path $Paths -Recurse -Force } | |
function rm { param([string[]]$Paths) Remove-Item -Path $Paths -Recurse -Force } | |
# Salve e feche o editor de texto | |
# Para verificar se as functions deram certo, execute esse comando no PowerShell |
This file contains hidden or 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
.tmp/ | |
build/ | |
node_modules/ | |
yarn.lock | |
package-lock.json |
This file contains hidden or 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
FROM node:16.0.0 | |
ARG NODE_ENV=development | |
ENV NODE_ENV $NODE_ENV | |
ARG DATABASE_HOST=postgres | |
ENV DATABASE_HOST $DATABASE_HOST | |
ARG DATABASE_PORT=5432 | |
ENV DATABASE_PORT $DATABASE_PORT |
This file contains hidden or 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
<html> | |
<head> | |
<script language="javascript"> | |
function VerificaCPF () { | |
if (vercpf(document.form1.cpf.value)){ | |
document.form1.submit(); | |
}else{ | |
errors="1"; | |
if (errors) alert('CPF NÃO INVÁLIDO!'); | |
document.retorno = (errors == ''); |