Skip to content

Instantly share code, notes, and snippets.

View danieldfc's full-sized avatar
🚀
Não existe fim!

Daniel Felizardo danieldfc

🚀
Não existe fim!
View GitHub Profile
@danieldfc
danieldfc / gist:d1729b66b6cb4191b45faf5a3cd89d63
Created June 5, 2025 18:59
EventCatalog - Evento Rocketseat - Microserviços
Olá, gostaria de ressaltar que tentei fazer no EventCatalog, mas não consegui reproduzir, aqui está uma ideia do que construí.
Os domínios que separei foi o Streaming e o Analytics, visando que se deixar junto, pode ocasionar em problemas no processamento do vídeo.
# Domínio Streaming
---
id: streaming
name: Streaming
version: 1.0.0
@danieldfc
danieldfc / gist:f9499da9edf3afdb285a3a2a4b59665b
Created December 15, 2020 05:08
command-inline docker remove all
# PARA REMOVER TUDO COMO: CACHE, IMAGENS, CONTAINERS...
$ docker system prune --all --force --volumes
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 14,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [80, 120],
"extensions.ignoreRecommendations": true,
"typescript.tsserver.log": "off",
"files.associations": {
{
"execMap": {
"js": "sucrase-node"
},
"watch": ["src"],
"ext": "js"
}
@danieldfc
danieldfc / global.js
Last active July 15, 2019 11:50
ReactJs - Para criar um estilo global a aplicação
import { createGlobalStyle } from 'styled-components';
export default createGlobalStyle`
* {
margin: 0;
padding: 0;
outline: 0;
box-sizing: border-box;
}
@danieldfc
danieldfc / .eslintrc.js
Last active July 12, 2019 12:22
Estes arquivos guardam as dependências, configurações do eslint, prettier e nodemon, para o node
module.exports = {
env: {
es6: true,
node: true,
jest: true
},
extends: ['airbnb-base', 'prettier'],
plugins: ['prettier'],
globals: {
Atomics: 'readonly',
@danieldfc
danieldfc / .eslintrc.js
Last active July 15, 2019 11:40
Este arquivo guarda o package.json para o React Hooks, usando o eslint.
module.exports = {
env: {
es6: true,
jest: true,
browser: true
},
extends: ["airbnb", "prettier", "prettier/react"],
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly",
@danieldfc
danieldfc / jest.config.js
Created July 12, 2019 11:00
Para aplicações via teste
{
moduleFileExtensions: ['ts', 'tsx', 'js'],
testMatch: ['**/__tests__/*.spec.+(ts|tsx|js)', '**/*.test.+(ts|tsx|js)'],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
}
}
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export ANDROID_HOME=/user/local/bin
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
# Path to your oh-my-zsh installation.
export ZSH="/home/danielfelizardo/.oh-my-zsh"