提问的智慧
发表于|更新于|记录
|浏览量:
文章作者: Ziyourufeng
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 polar-bear~Blog!
相关推荐

2023-06-17
ssh到github出现连接错误问题
问题如下 报错信息 123456FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.htmlError: Spawn failed at ChildProcess.<anonymous> (D:\win\polar\node_modules\hexo-util\lib\spawn.js:51:21) at ChildProcess.emit (node:events:513:28) at cp.emit (D:\win\polar\node_modules\cross-spawn\lib\enoent.js:34:29) at ChildProcess._handle.onexit (node:internal/child_process:291:12) 如图 国内连接不稳定,多试几次就行(10此左右) o...

2023-07-01
YAML文件插入html代码导致的语法错误
错误 123456789ERROR Process failed: _data/widget.ymlYAMLException: bad indentation of a sequence entry (41:31) 40 | .cp-weather { 41 | background: #bec7cb; ---------------------------------------------^ 42 | } 原因 例如 1234567891011top: - class_name: id_name: name: icon: fas fa-desktop html: - <style> .cp-weather { background: #bec7cb; } ....

2023-06-28
【Hexo】git上传大文件失败
git上传大文件重复失败 在public文件夹里面放了一个超过100MB的压缩包 在hexo d 用git上传时 显示上传文件不能超过100MB 在删除该文件后 仍然失败 而且仍然是在上传一个较大的文件 但是明明在public里面已经删除 原因是 在.deploy_git 缓存目录里 只需要删除.deploy_git即可

2023-09-11
vercel部署教程
本篇为hexo部署vercel教程第三篇 第一篇 ssh key连接到git 第二篇 hexo deploy快速方便的一键部署功能配置 第三篇 vercel部署教程 前提: 已经托管至GitHub pages vercel部署 https://vercel.com/ 进入vercel官网 使用github登录 绑定GitHub后直接拉取github仓库你的github-io 无需其他配置直接到仪表盘 这样即是部署成功 绑定自定义域名 vercel分配的域名在国内被墙 挂梯可以访问 但是 国内无法正常访问 多级域名 域名不美观 建议绑定自己的域名 仪表盘点击Domains 在Domains These domains are assigned to your Production Deployments. Optionally, a different Git branch or a redirection to another domain can be configured for each one.下面的mywebsite.com种输入你自己的域名 add 建...

2023-06-17
Butterfly 主题 中文章封面
允许多张图片随机选择 cover: # display the cover or not (是否顯示文章封面) index_enable: true aside_enable: true archives_enable: true # the position of cover in home page (封面顯示的位置) # left/right/both position: both # When cover is not set, the default cover is displayed (當沒有設置cover時,默認的封面顯示) efault_cover: - https://img.locyan.cn/i/2023/06/17/648d3523946d1.png - https://img.locyan.cn/i/2023/06/17/648d34ee77a0e.jpg # - https://i.loli.net/2020/05/01/gkihqEjXxJ5UZ1C.jpg 封面图片: d...

2023-09-11
hexo deploy快速方便的一键部署功能配置
本篇为hexo部署vercel教程第二篇 第一篇 ssh key连接到git 第二篇 hexo deploy快速方便的一键部署功能配置 第三篇 vercel部署教程 使用插件前先配置git hexo deploy Hexo 提供了快速方便的一键部署功能,让您只需一条命令就能将网站部署到服务器上。 1$ hexo deploy 在开始之前,您必须先在 _config.yml 中修改参数,一个正确的部署配置中至少要有 type 参数,例如: 12deploy: type: git 您可同时使用多个 deployer,Hexo 会依照顺序执行每个 deployer。 123deploy:- type: git repo: Git 安装 hexo-deployer-git。 1$ npm install hexo-deployer-git --save 修改配置。 12345deploy: type: git repo: <repository url> #https://bitbucket.org/JohnSmith/johnsmith.bitbucket...
评论
公告
已更换 Twikoo 评论,可在文末留言,也可通过邮箱、Telegram、QQ群等方式与我联系。
载入天数...载入时分秒...
目录
- 1. 文章转载自https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
- 2. 一篇提升向他人询问水平的文章
- 3. 提问的智慧
- 3.1. 原文版本历史
- 3.2. 目录
- 3.3. 声明
- 3.4. 简介
- 3.5. 在提问之前
- 3.6. 当你提问时
- 3.6.1. 慎选提问的论坛
- 3.6.2. Stack Overflow
- 3.6.3. 网站和 IRC 论坛
- 3.6.4. 第二步,使用项目邮件列表
- 3.6.5. 使用有意义且描述明确的标题
- 3.6.6. 使问题容易回复
- 3.6.7. 使用清晰、正确、精准且合乎语法的语句
- 3.6.8. 使用易于读取且标准的文件格式发送问题
- 3.6.9. 精确地描述问题并言之有物
- 3.6.10. 话不在多而在精
- 3.6.11. 别动辄声称找到 Bug
- 3.6.12. 低声下气不能代替你的功课
- 3.6.13. 描述问题症状而非你的猜测
- 3.6.14. 按发生时间先后列出问题症状
- 3.6.15. 描述目标而不是过程
- 3.6.16. 别要求使用私人电邮回复
- 3.6.17. 清楚明确地表达你的问题以及需求
- 3.6.18. 询问有关代码的问题时
- 3.6.19. 别把自己家庭作业的问题贴上来
- 3.6.20. 去掉无意义的提问句
- 3.6.21. 即使你很急也不要在标题写紧急
- 3.6.22. 礼多人不怪,而且有时还很有帮助
- 3.6.23. 问题解决后,加个简短的补充说明
- 3.7. 如何解读答案
- 3.8. 如何避免扮演失败者
- 3.9. 不该问的问题
- 3.10. 好问题与蠢问题
- 3.11. 如果得不到回答
- 3.12. 如何更好地回答问题
- 3.13. 相关资源
- 3.14. 鸣谢






