Skip to content

Instantly share code, notes, and snippets.

View jesusjosee's full-sized avatar

JesusJose jesusjosee

View GitHub Profile
@jesusjosee
jesusjosee / templateSlice.js
Created August 8, 2022 05:52 — forked from Klerith/templateSlice.js
Cascaron para crear Redux Slices rápidamente
import { createSlice } from '@reduxjs/toolkit';
export const templateSlice = createSlice({
name: 'name',
initialState: {
counter: 10
},
reducers: {
increment: (state, /* action */ ) => {
//! https://react-redux.js.org/tutorials/quick-start
@jesusjosee
jesusjosee / git-alias.md
Created March 19, 2022 10:39 — forked from Klerith/git-alias.md
Useful Git Alias

Log

git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"

Status

git config --global alias.s status --short

Alternativa útil de status

git config --global alias.s status -sb

@jesusjosee
jesusjosee / Instalaciones-React.md
Created October 13, 2021 07:36 — forked from Klerith/Instalaciones-React.md
Instalaciones recomendadas para mi curso de React de cero a experto