Skip to content

Instantly share code, notes, and snippets.

@hpbonfim
hpbonfim / metadata
Last active June 23, 2020 21:35
metadata.json
[
{
"dockerhub":"hub.docker.com/u/hpbonfim",
"github":"github.com/hpbonfim",
"instagram":"instagram.com/hpbonfim",
"linkedin":"linkedin.com/in/hpbonfim",
"soundcloud":"soundcloud.com/hpbonfim",
"stackoverflow":"stackoverflow.com/users/8117244/"
}
]

ES6 Coding Style

This document is intended to provide consistent and helpful coding convention for ES6 code. It should be usable either in Node/IO.js or in the browser.

The recommended transpiling tool for ES6 to ES5 is babel. The recommended bundler for the browser is webpack, but browserify is also acceptable.

The recommended text editor is Sublime Text using babel-sublime. Other editors are acceptable, as long as they have proper ES6 and optionally, JSX support.

Instructions denoted as must/must not are mandatory. Instructions denoted as should/should not are preferred.

Git Jedi - Guia de Poderes GIT



git-hpbonfim


@hpbonfim
hpbonfim / ANSI console colors
Last active July 8, 2020 23:52
ANSI console colors
Below you can find colors reference of text to command when running node.js application:
console.log('\x1b[36m%s\x1b[0m', 'I am cyan'); //cyan
console.log('\x1b[33m%s\x1b[0m', stringToMakeYellow); //yellow
Colors reference
Reset = "\x1b[0m"
Bright = "\x1b[1m"
Dim = "\x1b[2m"
@hpbonfim
hpbonfim / settings.json
Last active June 3, 2020 14:54
Minhas configurações do Visual Studio Code
{
"editor.fontSize": 12,
"window.zoomLevel": -1,
"javascript.updateImportsOnFileMove.enabled": "always",
"files.associations": {
"*.js": "javascript"
},
"workbench.editorAssociations": [
{
@hpbonfim
hpbonfim / uf.json
Last active June 14, 2020 04:43
Unidade Federativa do Brasil
{
"UF": [
{
"id": 0,
"nome": "Acre",
"sigla": "AC"
},
{
"id": 1,
"nome": "Alagoas",

Markdown Text 101

Quer deixar o seu seu bate-papo de texto do Discord com um sabor diferente? Você está com sorte, pois este é um Guia de Markdown para o nosso amado Discord!. O Discord usa o Markdown, um sistema simples de formatação de texto simples que ajudará você a destacar suas frases. Veja como fazer isso! Apenas adicione alguns caráteres antes e depois de texto desejado para mudar o estilo! Vou te mostrar alguns exemplos ...

Menu:

Padronização dos commits

➡️ Os commits seguirão um padrão adaptado para nós.

Todos os commits devem seguir de um prefixo.

Commit type Emoji
Initial commit 🎉 :tada:
Version tag 🔖 :bookmark:

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<div id="output"></div>