Skip to content

Instantly share code, notes, and snippets.

View gabriellukke's full-sized avatar
🎯
Focusing

Gabriel Almeida gabriellukke

🎯
Focusing
View GitHub Profile

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

{
"arrowParens": "always",
"bracketSpacing": true,
"editorconfig": true,
"endOfLine": "lf",
"printWidth": 80,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
@gabriellukke
gabriellukke / i3-cheat-sheet.md
Created November 26, 2022 00:26 — forked from JeffPaine/i3-cheat-sheet.md
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (alt by default)

General

  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open dmenu (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3
@gabriellukke
gabriellukke / ohmyzsh.md
Created October 22, 2022 22:05 — forked from yovko/ohmyzsh.md
ZSH (using Oh My ZSH) on Manjaro Linux

ZSH (using Oh My ZSH) on Manjaro Linux

0. If ZSH is not already installed on your Manjaro system you can do it with the command:

sudo pacman -Syu zsh

You do not need to install manjaro-zsh-config and all the other related packages like zsh-syntax-highlighting, zsh-history-substring-search, zsh-autosuggestions, etc., as we will use Oh My Zsh.

@gabriellukke
gabriellukke / git.plugin.zsh
Created June 19, 2022 19:47 — forked from DavidToca/git.plugin.zsh
oh-my-zsh git alias
# Aliases
alias g='git'
compdef g=git
alias gst='git status'
compdef _git gst=git-status
alias gl='git pull'
compdef _git gl=git-pull
alias gup='git fetch && git rebase'
compdef _git gup=git-fetch
alias gp='git push'
/* reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
/* colors */
--green-dark: #036b52;
@gabriellukke
gabriellukke / checklist-context.md
Created April 18, 2022 21:56 — forked from ANDREHORMAN1994/checklist-context.md
Checklist do Context API

Checklist do Context API

Vamos começar criando nossos arquivos dentro da pasta src:

  • Criar uma pasta context;
  • Dentro da pasta context vamos criar um arquivo myContext.js;

Dentro do arquivo myContext.js:

  • Importar do react o createContext;
@gabriellukke
gabriellukke / HTML5andRespond.html
Created April 6, 2022 19:33 — forked from if540/HTML5andRespond.html
HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lte IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
@gabriellukke
gabriellukke / checklist-react-redux.md
Last active August 27, 2022 12:06 — forked from icaroharry/checklist-react-redux.md
Checklist do React Redux

Checklist do react-redux

Instalação/Setup

  • npx create-react-app my-app-redux;
  • npm install --save redux react-redux;
  • npm install.

Antes de começar

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