This file contains 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
{ | |
"emmet.syntaxProfiles": { | |
"javascript": "jsx" | |
}, | |
"workbench.startupEditor": "newUntitledFile", | |
"editor.fontSize": 16, | |
"javascript.suggest.autoImports": true, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"extensions.ignoreRecommendations": true, | |
"typescript.tsserver.log": "off", |
This file contains 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
syntax on | |
filetype off | |
call plug#begin('~/.vim/plugged'): | |
"Imported one"" | |
Plug 'matze/vim-move' | |
Plug 'fedepujol/move.nvim' | |
Plug 'preservim/nerdtree' | |
Plug 'bronson/vim-trailing-whitespace' | |
Plug 'erickzanardo/vim-xclip' |
This file contains 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
import { readFileSync, writeFileSync } from 'fs' | |
function readCSV(path) { | |
const fileSystem = readFileSync(path, { encoding: 'utf-8' }) | |
const plateRegex = new RegExp(/[A-Z]{3}[0-9][0-9A-Z][0-9]{2}/g) | |
const plates = fileSystem.toString().match(plateRegex) | |
return plates; | |
} | |
const worksheetsPlates1 = readCSV('./planilhas-placas1.csv') |