Skip to content

Instantly share code, notes, and snippets.

View PDXIII's full-sized avatar
😃
Working on my website.

Peter Sekan PDXIII

😃
Working on my website.
View GitHub Profile
@luisjunco
luisjunco / VS -Code-Shortcuts.md
Last active November 29, 2023 11:29
VS Code Shortcuts

Common shortcuts in VS Code (Win // Mac):

  • Comment code: Ctrl (K+C) // ⌘ (K+C)
  • UnComment code: Ctrl (K+U) // ⌘ (K+U)

  • Duplicate line: Alt & Shift + Arrow Down // Option & Shift + Arrow Down
  • Multicursor: hold Alt + click // hold Option + click
@luisjunco
luisjunco / react-router-cheatsheet.md
Last active February 9, 2024 06:26
React Router Cheatsheet

React Router Cheatsheet

  • This cheatsheet is based on React Router Dom v6.7.0
  • If you use a different version, some things may be different




Initial Setup

@luisjunco
luisjunco / git-branches.md
Last active February 15, 2024 08:38
Git Branches - Cheatsheet

Git Branches Cheatsheet

image


🙌 | Common operations and commands:

@luisjunco
luisjunco / react-conditional-rendering-cheatsheet.md
Created April 4, 2023 13:22
React Conditional Rendering - Cheatsheet

A: Element Variables (in your JavaScript)

function MyComponent(){

    let button;
    if (isLoggedIn) {
      button = <LogoutButton />;
 } else {