Skip to content

Instantly share code, notes, and snippets.

View thiagobraddock's full-sized avatar
😷
QUARENTENA

Thiago "BRADDOCK" Oliveira thiagobraddock

😷
QUARENTENA
View GitHub Profile
"dart.flutterCreateOrganization": "com.<your_domain>"
** Ir em C:\xampp\apache\conf\extra **
<VirtualHost *:80>
ServerAdmin webmaster@local.projeto.com
DocumentRoot "C:/xampp/htdocs/mvc"
ServerName local.mvc.com
ErrorLog "logs/local.projeto.com-error.log"
CustomLog "logs/local.projeto.com--access.log" common
</VirtualHost>
root = true
[*.{js,css,php,html}]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
@thiagobraddock
thiagobraddock / bash.sh
Created October 21, 2021 22:02 — forked from thetwopct/bash.sh
Stop git branch opening in vim/vi
# stop git branch opening in vim/vi
git config --global pager.branch 'false'

Checklist do react-redux

Antes de começar

  • pensar como será o formato do seu estado global
  • pensar quais actions serão necessárias na sua aplicação

Instalação

  • npm i redux react-redux;
  • npm i -D @redux-devtools/extension
/* reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
/* colors */
--green-dark: #036b52;
@thiagobraddock
thiagobraddock / settings.json
Last active December 8, 2023 22:04
Minha Config
{
"editor.fontFamily": "Operator Mono Lig, Fira Code, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
//following will be in italic
"comment",
"entity.name.type.class", //class names
@thiagobraddock
thiagobraddock / quotes.json
Last active November 7, 2022 14:49
References
{
"quotes": [
{
"quote": "Só diante do precipício que evoluímos.",
"author": "Klaatu",
"reference": "The Day the Earth Stood – 2008"
},
{
"quote": "Oh, yes it has, sir. Everything's changed. Men fall from the sky, the gods hurl thunderbolts, innocents die. That's how it starts, sir. The fever, the rage, the feeling of powerlessness that turns good men... cruel.",
"author": "Alfred Pennyworth",
@thiagobraddock
thiagobraddock / _README.md
Last active June 1, 2024 04:24
setup vitest + testing library
  1. Instalação:
npm i vitest -D
npm i jsdom -D
npm i @testing-library/react @testing-library/jest-dom @testing-library/user-event -D
npm i @types/jest -D
  1. Acrescentar os scripts teste e coverage ao package.json:
@thiagobraddock
thiagobraddock / extensions.json
Created February 15, 2023 22:05
Configuração VSCODE
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"viijay-kr.react-ts-css",
"stylelint.vscode-stylelint",
]
}