01 2025 档案

摘要:前提:使用 cmake-js 编译 native 的 node 包,在使用 node test.js 运行 js 文件时会报错 node:internal/modules/cjs/loader:1340 return process.dlopen(module, path.toNamespacedP 阅读全文
posted @ 2025-01-23 19:15 strive-sun 阅读(238) 评论(0) 推荐(0)
摘要:博客类型:静态博客,易于部署到三方服务器上,占用资源少,不易被黑 框架类型:hugo(基于 Go,熟悉 C++ 比较容易上手 Go) 博客内容:自定义主题,排版整齐,文章归纳,后续考虑加上评论插件 编译工具:cursor 代码托管:github 辅助工具:将本地文档自动上传到 git 或者三方服务器 阅读全文
posted @ 2025-01-07 14:28 strive-sun 阅读(17) 评论(0) 推荐(0)
摘要:git push 时如果发现带有以前的 commit,且 git pull 和 rebase 都尝试过也无效 可以使用 git reset --hard origin/master 来定位到最新的 commit,并重新提交变动的代码 git reset --hard origin/master 阅读全文
posted @ 2025-01-02 17:27 strive-sun 阅读(7) 评论(0) 推荐(0)