Forwarded from 𝓡𝓲𝔁
使用CDN要帶上哈希校驗
<script src="https://example.com/example-framework.js"
integrity="sha384-Li9vy3DqF8tnTXuiaAJuML3ky+er10rcgNR/VqsVpcw+ThHmYcwiB1pbOxEbzJr7"
crossorigin="anonymous"></script>
PaperCube(日常版)
使用CDN要帶上哈希校驗 <script src="https://example.com/example-framework.js" integrity="sha384-Li9vy3DqF8tnTXuiaAJuML3ky+er10rcgNR/VqsVpcw+ThHmYcwiB1pbOxEbzJr7" crossorigin="anonymous"></script>
MDN Web Docs
Subresource Integrity - Security | MDN
Subresource Integrity (SRI) is a security feature that enables browsers to verify that resources they fetch (for example, from a CDN) are delivered without unexpected manipulation. It works by allowing you to provide a cryptographic hash that a fetched resource…
关于 C++ Concepts 两个我觉得很重要的用法/定义但是 cppreference 中(似乎)没有提到的地方
source: C++ 20 Final Draft (N4860)
source: C++ 20 Final Draft (N4860)
https://martin.ankerl.com/2022/08/27/hashmap-bench-01/
https://github.com/martinus/unordered_dense/blob/main/include/ankerl/unordered_dense.h
真的好快,爱了!
(<= 8 bytes 的 key,
我除了调库我还能干点啥😢
https://github.com/martinus/unordered_dense/blob/main/include/ankerl/unordered_dense.h
真的好快,爱了!
(<= 8 bytes 的 key,
std::unordered_map 开了 O2 比 java.util.HashMap 还慢,我真的受不了了)收到了 Google ”查找我的设备“网络的推送
前情提要:https://www.ithome.com/0/760/665.htm
https://blog.google/products/android/android-find-my-device/
前情提要:https://www.ithome.com/0/760/665.htm
https://blog.google/products/android/android-find-my-device/
https://answers.microsoft.com/en-us/windowsclient/forum/all/windows-11-taskbar-icons-disappear-after-switching/0855b949-5ac9-4698-bf71-a1c78f08600d
Windows 这个 taskbar icon 消失的问题我真的有点 PTSD 了,离开了不到一年最终还是回到了 Explorer Patcher 的怀抱。。。
Windows 这个 taskbar icon 消失的问题我真的有点 PTSD 了,离开了不到一年最终还是回到了 Explorer Patcher 的怀抱。。。
Forwarded from BennyThink's Blog (Benny小可爱)
提高警惕,供应链攻击就在你我身边:可能的 logrus 供应链攻击
用Go的话一般会用 logrus 记录日志,那么
你看出来问题了吗?这里引入的并
不是官方的 logrus
我真的看了好几秒才知道哪个是真的,哪个是假的
github.com/siruspen/logrus 假
github.com/sirupsen/logrus 真
来源: https://v2ex.com/t/1072079
用Go的话一般会用 logrus 记录日志,那么
import (
log "github.com/siruspen/logrus"
)
func foo() {
log.Warningf("bar")
}
你看出来问题了吗?这里引入的并
不是官方的 logrus
我真的看了好几秒才知道哪个是真的,哪个是假的
github.com/siruspen/logrus 假
github.com/sirupsen/logrus 真
来源: https://v2ex.com/t/1072079
Forwarded from 科技圈🎗在花频道📮
WebStorm和Rider现对非商业用途免费
WebStorm 是一款由 JetBrains 开发的集成开发环境(IDE)用于开发网页应用、Node.js 应用等;Rider 则是面向 .NET 和游戏开发的专用编辑器。
JetBrains
📮 热点投稿 @ZaiHuabot
京东每天三次 m.fanli.me
WebStorm 是一款由 JetBrains 开发的集成开发环境(IDE)用于开发网页应用、Node.js 应用等;Rider 则是面向 .NET 和游戏开发的专用编辑器。
JetBrains
📮 热点投稿 @ZaiHuabot
京东每天三次 m.fanli.me
❤1
Forwarded from 听荼蘼逼逼 | 多打点🤡 (TomyJan | Fatal Error)