hexo github贡献bug技术文档
Hexo 博客 GitHub 贡献图加载失败排查与修复技术文档1. 问题描述在 Hexo 博客(Butterfly 主题)中使用 hexo-filter-gitcalendar 插件时,贡献图无法正常显示。表现为: 控制台报错 TypeError: can't access property "date", git_lastweek[git_thisdayindex] is undefined。 统计区域显示“过去一年提交 [object Object]”,而不是数字。 日历网格有时能渲染部分格子,但布局错乱。 2. 环境与工具 Hexo 版本:8.1.1 主题:Butterfly 5.5.4 插件:hexo-filter-gitcalendar 1.0.11 API 后端:自建 Flask API,部署于 Vercel 数据源:https://github-contributions-api.jogruber.de/v4/{username} 浏览器:Chrome / Firefox 3. 排查过程3.1 初步检查 API 可用性使用...
C++ lambda
以下是 Markdown 格式的 C++11 技术博客: 1234567891011121314151617181920# C++11:现代 C++ 的里程碑式变革> "C++11 感觉像是一门全新的语言。" —— Bjarne StroustrupC++11 于 2011 年发布,是 C++ 标准自 1998 年以来最重大的更新。它不仅修复了诸多历史遗留问题,更引入了大量现代编程范式,让 C++ 在保证性能的同时,大幅提升了开发效率和代码安全性。本文将深入解析 C++11 的核心特性,帮助你掌握现代 C++ 编程的精髓。---## 一、自动类型推导:`auto` 与 `decltype`### 1.1 `auto` 关键字C++11 引入了 `auto` 关键字,让编译器自动推导变量类型,告别冗长的类型声明。```cpp// 传统写法std::unordered_map<std::string, int>::iterator it = myMap.begin();// C++11 写法auto it = myMap.begin(); 最佳...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment

