Skip to content

Instantly share code, notes, and snippets.

View tgmarinho's full-sized avatar
💻
read my blog: tgmarinho.com

Thiago Marinho tgmarinho

💻
read my blog: tgmarinho.com
View GitHub Profile
@sibelius
sibelius / woovi-learning.md
Last active July 12, 2024 19:06
O que aprendi trabalhando na Woovi ?

Vi que os problemas e as resoluções precisam ser discutidos e compartilhados.

Escrever uma issue primeiro é muito melhor que sair codando.

Conheci várias ferramentas super úteis para front, tipo o Clarity.

Pude aprender conceitos de filas, webhook, feature flags. Assuntos que eu não conhecia até então. A tarefa dos e-mails foi muito boa para aprender como criar um job e como funcionam as filas. Uma das coisas que mais gostei de aprender.

Como eu ainda não tinha trabalhado em uma empresa nessa área, foi absolutamente tudo novo. Desde rotina de daily, apresentar e como apresentar algo, escrever documentação, escrever como testar uma nova funcionalidade, enfim tudo isso foi aprendizado também.

@sibelius
sibelius / agile-questions.md
Last active July 4, 2024 19:47
agile-questions
  • do you use feature flags? expand
  • do you use git flow?
  • have you decoupled deploy from release? https://www.honeycomb.io/blog/deploys-wrong-way-change-user-experience
  • do you use sprints?
  • do you have automated tests?
  • do you do refactoring?
  • do you use types (typescript)?
  • how do you manage the project?
  • do you have daily meetings? expand
  • do you have written documentation?

The Problem

Adding inner margins and padding to one component should be avoided. In one screen it may make sense to do this, but as soon as other screen doesn't require that margin, the component becomes incorrect. Do not create new components with inner margins. There are a few ways to undo this. Let's first create an incorrect example:

❌ Wrong

type ProfileCardItemProps = {
  label: string
  value: string
}
@jgcmarins
jgcmarins / decision-matrix.md
Created September 25, 2023 14:49
Looking for a new career opportunity? Use this table to create a ranking of all job offers

Table of concepts and definitions

Concept Definition
Autonomy How well will this company give me autonomy to do my job?
Freedom How much freedom will I have to balance work and personal life?
Responsibilities What level of responsibilities will I have, and how extensive will they be?
Culture How well does this company's culture align with my values, and how open is the company to allowing me to contribute to the culture I believe in?
Tech Stack How closely does the tech stack used by this company align with my preferences, and to what extent is the company willing to allow me to use the stack I prefer?
Personal Growth How big is the potential of this company to help me keep growing?
@noghartt
noghartt / cc.md
Last active June 8, 2024 06:34
Resources to learn more about Computer Science and related stuffs
@josethz00
josethz00 / sr-frontend-interview-questions-answered.md
Last active July 19, 2024 08:54
Sr. Frontend Interview Questions

Senior Frontend Interview Questions

Some questions about frontend development that might be in your next job interview. The questions were formulated by @mauvieira, a super senior fullstack developer

General Frontend

  • What are the strategies we can use to optimize the performance of web applications?

    • CDNs, GraphQL (maybe) to reduce overfetching, improve backend performance, use SSR and/or SSG, lazy loading for loading assets only when it's needed, minimize and compress HTML, CSS and JS files, and optimize images by compressing and resizing them.
  • What are Web Vitals (LCP, FID, CLS)? And how are they applied in the real world?

@biantris
biantris / personal-investment.md
Last active December 6, 2022 13:28
personal investment by sseraphini discord server

(personal investiment thread)

Ítalo S. : Melhores investimentos que você fez em você?

sibelius :

  • books
  • community
  • crossfit
  • learn in public
  • sharing knowledge in public

Merging Rubygems and Bundler

1.sh:

#!/bin/sh
set -eux
rm -rf rubygems bundler
git clone https://github.com/rubygems/rubygems
git clone https://github.com/rubygems/bundler
@sibelius
sibelius / jest.config.js
Created May 25, 2022 01:29
Jest Multi Project Nextjs myTest.spec.tsx (frontend test, jsdom), anotherTest.server.tsx (backend test, node)
module.exports = {
projects: [
'<rootDir>/jest.frontend.config.js',
'<rootDir>/jest.server.config.js',
],
}