Skip to content

Instantly share code, notes, and snippets.

@Haloplasm
Haloplasm / PoBs.txt
Last active September 3, 2024 13:55
Haloplasm and Seik's PoBs
----------------------------------------------
3.25 PoBs [Always re-pull PoBs right before league start to have the most updated version]
----------------------------------------------
Aurabot:
https://pobb.in/JDvQLXM_0-TW
Spark Inquitor carry:
https://pobb.in/rc2V3e82Beji
Storm Brand Inquisitor carry:
@sebmarkbage
sebmarkbage / The Rules.md
Last active September 9, 2024 17:08
The Rules of React

The Rules of React

All libraries have subtle rules that you have to follow for them to work well. Often these are implied and undocumented rules that you have to learn as you go. This is an attempt to document the rules of React renders. Ideally a type system could enforce it.

What Functions Are "Pure"?

A number of methods in React are assumed to be "pure".

On classes that's the constructor, getDerivedStateFromProps, shouldComponentUpdate and render.

@PCreations
PCreations / rxjs-diagrams.md
Last active January 18, 2024 08:52
Super Intuitive Interactive Diagrams to learn combining RxJS sequences by Max NgWizard K
@jboner
jboner / latency.txt
Last active September 20, 2024 23:33
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD