Skip to content

Instantly share code, notes, and snippets.

View edwindelbosque's full-sized avatar

Edwin Del Bosque edwindelbosque

View GitHub Profile
@khalidwilliams
khalidwilliams / json_local_storage_review.md
Last active July 16, 2019 17:52
1904 JSON / localStorage Review

JSON and Local Storage Review

It's important to remember why we use JSON and localStorage -- formatting and saving data on the user's computer, via the WebStorage API.

Using localStorage

localStorage gives us access to a storage object in the browser (go ahead and try calling localStorage in the console. We get an object back!)

This object gives us access to a few methods, such as:

  • localStorage.setItem([key],[value]) => undefined
  • localStorage.getItem([key]) => "[value]" (as a string)
SOURCE: remote
Target: Mine
https://blogs.endjin.com/2014/06/using-git-for-net-development-part-4-resolving-merge-conflicts/
@vasanthk
vasanthk / System Design.md
Last active July 1, 2025 18:19
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?