Skip to content

Instantly share code, notes, and snippets.

View SimoneCheng's full-sized avatar
👻
Weee!!!

Simone SimoneCheng

👻
Weee!!!
View GitHub Profile
@SimoneCheng
SimoneCheng / xterm-256color.md
Created March 22, 2024 16:26 — forked from shawnbot/xterm-256color.md
Make OS X Terminal respect 256 colors in screen

1. Ensure that Terminal declares itself as "xterm-256color"

Under Terminal > Preferences... > (Profile) > Advanced, "Declare terminal as:" should be set to xterm-256color.

2. Build a version of screen that supports 256 colors

This is easy with homebrew:

brew install screen
@SimoneCheng
SimoneCheng / dom_performance_reflow_repaint.md
Created August 14, 2023 04:08 — forked from faressoft/dom_performance_reflow_repaint.md
DOM Performance (Reflow & Repaint) (Summary)

DOM Performance

Rendering

  • How the browser renders the document
    • Receives the data (bytes) from the server.
    • Parses and converts into tokens (<, TagName, Attribute, AttributeValue, >).
    • Turns tokens into nodes.
    • Turns nodes into the DOM tree.
  • Builds CSSOM tree from the css rules.
@SimoneCheng
SimoneCheng / javascript_deep_dive.md
Created August 14, 2023 04:08 — forked from faressoft/javascript_deep_dive.md
JavaScript Deep Dive to Crack The JavaScript Interviews