Skip to content

Instantly share code, notes, and snippets.

View FlashAmarillo's full-sized avatar
🎯
Focusing

Diomar Villarroel FlashAmarillo

🎯
Focusing
View GitHub Profile
@Klerith
Klerith / flutter-instalaciones.md
Last active May 24, 2024 01:27
Instalaciones del curso de Flutter - Móvil de cero a experto
@Klerith
Klerith / instalaciones-vue-intermedio.md
Last active February 26, 2024 01:41
Instalaciones recomendadas - Vue intermedio
@FlashAmarillo
FlashAmarillo / git-alias.md
Created October 3, 2022 05:32 — 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

@Klerith
Klerith / git-alias.md
Last active May 23, 2024 13:59
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

@Klerith
Klerith / Instalaciones-React.md
Last active May 11, 2024 22:25
Instalaciones recomendadas para mi curso de React de cero a experto
  • repo -> repository

  • clone -> bring a repo down from the internet (remote repository like Github) to your local machine

  • add -> track your files and changes with Git

  • commit -> save your changes into Git

  • push -> push your changes to your remote repo on Github (or another website)

  • pull -> pull changes down from the remote repo to your local machine

  • status -> check to see which files are being tracked or need to be commited

  • init -> use this command inside of your project to turn it into a Git repository and start using Git with that codebase

@Klerith
Klerith / parse-jwt.js
Created March 15, 2018 15:07
Parse - JWT - Obtener Payload y fecha de creación y expiración
function parseJwt (token) {
var base64Url = token.split('.')[1];
var base64 = base64Url.replace('-', '+').replace('_', '/');
return JSON.parse(window.atob(base64));
};