- 为什么存在 xxx 接口[api],解决什么问题,它是如何解决的,业界的通用/标准方案是什么 - ai
- zero-copy && copy-on-write
- HTTP#cross-origin-embedder-policy/cross-origin-opener-policy
- 算法#Boyer-Moore - code
- observable - Ref
- CSS#caret-*
- label#XS/S/M/L/XL
otpauth://TYPE/LABEL?PARAMETERS, TYPE = TOTP/HOTP, LABEL = ISSUER:ACCOUNTNAME 举例:Google:example@gmail.com; PARAMETERS = SECRET[Base32], ISSUER[*], ALGORITHM[SHA1[default]/256/512], DIGITS[长度/默认6位], PERIOD[TOTP使用/默认30秒], COUNTER[HOTP使用/默认0]- TOTP[Time-Based One-Time Password]/HOTP[HMAC-based One-Time Password]
- [algorithm(key=secret,message=timeSlice)] 客户端/服务器端的 secret 一致,时间一致[30s区间],相同算法下得到的值一致 - HMAC#[Hash-based Message Authentication Code] - 对称密钥加密算法[Symmetric Key Cryptographic Algorithm]
- 动态截取得到 Digits 位数的值 - 根据 HMAC 结果的最后一个字节的低 4 位作为偏移量,从 HMAC 结果中截取 4 个字节,转换为整数后对 10 的 Digits 次方取模,得到最终的一次性密码
- crypto.subtle
- crypto, subtle, digest, sign, verify, encrypt, decrypt
- crypto.randomUUID(), crypto.getRandomValues()
- Math.random() 用到的是 Xorshift128Plus 算法
- whyframe.dev
- Firefox 浏览器总算支持了 URL Pattern,这样一直在 chrome 下使用的 UserScript 脚本也可以在 firefox 下工作啦
- antigravity.google
-
“Whenever you feel low, defeated, or frustrated, the best solution is taking action. Believing you’re a victim does nothing but destroy agency and make you less likely to take action.” - Scott Galloway Ref
- 黥刑
- recursive
- 数据处理 - 正确性/一致性
- 别人的读书页
- 曲终人散
- refactor/test/feature/docs/chore/ci