Skip to content

Instantly share code, notes, and snippets.

View willmartinsmg's full-sized avatar
🏡
Working in home

William Martins willmartinsmg

🏡
Working in home
View GitHub Profile
@willmartinsmg
willmartinsmg / settings.json
Created May 19, 2024 04:56 — forked from diego3g/settings.json
VSCode Settings (Updated)
{
"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": {

Criar arquivo Editor Config

  • Clicar com botão direito do mouse e escolher a opção Generate editorconfig
root = true

[*]
end_of_line = lf
@willmartinsmg
willmartinsmg / index.jsx
Created March 19, 2019 13:38 — forked from avinmathew/index.jsx
Multiple layouts with React Router v4
import React from "react"
import { Route, Switch } from "react-router-dom"
const AppRoute = ({ component: Component, layout: Layout, ...rest }) => (
<Route {...rest} render={props => (
<Layout>
<Component {...props} />
</Layout>
)} />
)
@willmartinsmg
willmartinsmg / gist:0605f4124848491ab7f6aa68d915fd00
Created February 18, 2019 01:31 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

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:
@willmartinsmg
willmartinsmg / Setup_MacOS.md
Last active September 17, 2020 11:05
Setup do meu ambiente de desenvolvimento

Setup Developer para MacOS

1 - Executar a atualização do sistema e as aplicações

2 - Instalar o Xcode

3 - Instalar HomeBrew

https://brew.sh/
@willmartinsmg
willmartinsmg / osx_setup.md
Created January 4, 2019 23:05 — forked from millermedeiros/osx_setup.md
Mac OS X setup

Setup Mac OS X

Edit: I've done the same process every couple years since 2013 (Mountain Lion, Mavericks and High Sierra).

I just replaced the hard drive of my mbp and decided to do a clean install of Mountain Lion (10.8.5) since I was still using Snow Leopard (10.6.8).

I kinda regret for not using Boxen to automate the process, but TBH I have this laptop for almost 3yrs and this is the first

@willmartinsmg
willmartinsmg / comandosgit.md
Last active July 17, 2018 14:31
Comandos básicos Git

Inicia o repositório

git init

Adiciona o repositório remoto para poder subir e puxar as novas mudanças do repositório central

git remote add origin git@bitbucket.org:seu_usuario/seu-repositorio.git