Skip to content

Instantly share code, notes, and snippets.

View miroswd's full-sized avatar
🕸️
shazam

Altamir Santos miroswd

🕸️
shazam
View GitHub Profile
@miroswd
miroswd / createSlug.js
Created September 8, 2021 19:38
Como remover os acentos de uma string || remove accents js || create a slug using js
// Remove accents and spaces from a string
'rEFerêncIA PAra EDIÇãO de SLUG'.toLowerCase().replaceAll(/ /g,'-').normalize("NFD").replace(/[\u0300-\u036f]/g, "")
@miroswd
miroswd / settings.json
Last active February 8, 2022 00:26
VSCode properties
{
// Material Icon
"workbench.iconTheme": "material-icon-theme",
"material-icon-theme.folders.associations": {
"infra":"app",
"entities":"class",
"schemas":"class",
"typeorm":"database",
"repositories":"mappings",
"http":"container",