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
| [ | |
| { | |
| "nome": "Salada de Ovo", | |
| "ingredientes": ["ovos", "maionese", "cebola", "salsinha", "sal", "pimenta"], | |
| "preparação": "Cozinhe os ovos, descasque-os e pique em pedaços pequenos. Misture com a maionese, cebola picada e salsinha. Tempere com sal e pimenta a gosto." | |
| }, | |
| { | |
| "nome": "Bolo de Cenoura", | |
| "ingredientes": ["cenoura", "ovos", "açúcar", "farinha de trigo", "óleo", "fermento em pó"], | |
| "preparação": "Bata a cenoura com os ovos e o óleo no liquidificador. Misture com o açúcar, a farinha e o fermento. Asse em forno pré-aquecido por 40 minutos." |
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
| [ | |
| { | |
| "id": "ID001", | |
| "name": "Ricarth", | |
| "lastName": "Lima", | |
| "balance": 113.0 | |
| }, | |
| { | |
| "id": "ID002", | |
| "name": "Ana", |
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
| /** | |
| * Script to parse a Postman backupt to Insomnia keeping the same structure. | |
| * | |
| * It parses: | |
| * - Folders | |
| * - Requests | |
| * - Environments | |
| * | |
| * Notes: Insomnia doesn't accept vars with dots, if you are using you must replace yours URLs manually (see ENVIRONMENTS_EXPORTS). | |
| */ |
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
| Segue a lista de comandos docker e sua utilidade: | |
| docker attach – Acessar dentro do container e trabalhar a partir dele. | |
| docker build – A partir de instruções de um arquivo Dockerfile eu possa criar uma imagem. | |
| docker commit – Cria uma imagem a partir de um container. | |
| docker cp – Copia arquivos ou diretórios do container para o host. | |
| docker create – Cria um novo container. | |
| docker diff – Exibe as alterações feitas no filesystem do container. | |
| docker events – Exibe os eventos do container em tempo real. | |
| docker exec – Executa uma instrução dentro do container que está rodando sem precisar atachar nele. |
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, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, | |
| del, dfn, em, img, ins, kbd, q, s, samp, | |
| small, strike, strong, sub, sup, tt, var, | |
| b, u, i, center, | |
| dl, dt, dd, ol, ul, li, | |
| fieldset, form, label, legend, | |
| table, caption, tbody, tfoot, thead, tr, th, td, | |
| article, aside, canvas, details, embed, |
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
| git config --global user.email "email@gmail.com" |
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
| git commit --date="10 day ago" -m "add file" |
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
| { | |
| "labels": { | |
| "tag: new feature": ":rocket: New Feature", | |
| "tag: breaking change": ":boom: Breaking Change", | |
| "tag: bug fix": ":bug: Bug Fix", | |
| "tag: enhancement": ":nail_care: Enhancement", | |
| "tag: documentation": ":memo: Documentation", | |
| "tag: internal": ":house: Internal", | |
| "tag: underlying tools": ":hammer: Underlying Tools" | |
| } |
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
| Const cluster = require(‘cluster’); | |
| If (cluster.isMaster) { | |
| Console.log(‘ master ${process.pid} ${cluster.isMaster}); | |
| Cluster.fork(); | |
| } else { | |
| Console.log(‘ master ${process.pid} ${cluster.isWorker}); | |
| Process.exit(1); | |
| } |
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
| var path = require('path') | |
| var webpack = require('webpack') | |
| module.exports = { | |
| entry: './src/main.js', | |
| output: { | |
| path: path.resolve(__dirname, './dist'), | |
| publicPath: '/dist/', | |
| filename: 'build.js' | |
| }, |
NewerOlder