Java
Versões Java
LTS
Versão | Lançamento | Suporte |
---|---|---|
Java SE 8 (LTS) | Março 2014 | Dezembro 2030 |
Java SE 11 (LTS) | Setembro 2018 | Setembro 2026 |
Java SE 17 (LTS) | Setembro 2021 | Setembro 2029 |
Versão | Lançamento | Suporte |
---|---|---|
Java SE 8 (LTS) | Março 2014 | Dezembro 2030 |
Java SE 11 (LTS) | Setembro 2018 | Setembro 2026 |
Java SE 17 (LTS) | Setembro 2021 | Setembro 2029 |
const globby = require('globby'); | |
const listAllFilesAndDirs = dir => globby(`${dir}/**/*`); | |
(async () => { | |
const result = await listAllFilesAndDirs(process.cwd()); | |
console.log(result); | |
})(); |
Para CPF | |
/^\d{3}\.\d{3}\.\d{3}\-\d{2}$/ | |
Para CNPJ | |
/^\d{2}\.\d{3}\.\d{3}\/\d{4}\-\d{2}$/ | |
Para ambos ao mesmo tempo |
// in ubuntu run chrome 'google-chrome --remote-debugging-port=9229' | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Chrome", | |
"type": "chrome", | |
"request": "attach", | |
"url": "http://localhost:3000/*", |
/*Remove spinners in inputs forms*/ | |
input[type=number]::-webkit-inner-spin-button, | |
input[type=number]::-webkit-outer-spin-button { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none; | |
margin: 0; | |
} |
@custom-media --breakpoint-not-small screen and (min-width: 30em); | |
@custom-media --breakpoint-medium screen and (min-width: 30em) and (max-width: 60em); | |
@custom-media --breakpoint-large screen and (min-width: 60em); |
mongod --dbpath /home/danilosetubal/data/db --port <port no> |
git remote set-url origin git://new.url.here |
/*linhas com índice par*/ | |
tr:nth-child(even) { | |
background: #CCC | |
} | |
/*linhas com índice ímpar*/ | |
tr:nth-child(odd) { | |
background: #FFF | |
} |
git reset HEAD~1 --soft |