Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| let cache; webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=r.c]); | |
| var UserStore = Object.values(cache).find(m => m?.exports?.default?.getUser).exports.default; | |
| var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes); | |
| var user = UserStore.getCurrentUser(); | |
| actions.find(n => n.name === "ExperimentStore").actionHandler.CONNECTION_OPEN({ | |
| type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [], | |
| }); | |
| actions.find(n => n.name === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN(); | |
| webpackChunkdiscord_app.pop(); user.flags &= ~1; "done"; |
| // Quick try at doing a "print value" node for Unity ShaderGraph. | |
| // Tested on Unity 2019.2.17 with ShaderGraph 6.9.2. | |
| // | |
| // Use with CustomFunction node, with two inputs: | |
| // - Vector1 Value, the value to display, | |
| // - Vector2 UV, the UVs of area to display at. | |
| // And one output: | |
| // - Vector4 Color, the color. | |
| // Function name is DoDebug. |
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
| // Flag Enumerations in JavaScript | |
| // =============================== | |
| // Flag enums | |
| // ---------- | |
| // Values must increment by powers of 2 | |
| var SEASONS = { | |
| Spring : 1, | |
| Summer : 2, |