Pinned Loading
-
-
-
-
-
Alias de git
Alias de git 1// Log
2git 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"
34// Status
5git config --global alias.s status --short
-
Dispatch Table - particularly releva...
Dispatch Table - particularly relevant in TypeScript, is a data structure, typically an object or a Map, that maps keys (often strings or enums) to corresponding functions or actions. This pattern provides a flexible and maintainable way to handle different operations based on an input value, avoiding lengthy if/else if chains or switch statements. 1function addition(a, b) { return a + b; }
2function subtraction(a, b) { return a - b; }
3const actions = {
4'ADD': addition,
5'SUBTRACT': subtraction,
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.





