选择一个好的Hexo主题

诉求:找一个好用的Hexo主题 方法 去官网看了下,Theme有285个,按名字排名。没有任何星级或者推荐之类的,看了下,眼花缭乱。https://hexo.io/themes/ 在知乎上面搜索了下,高赞答案:爬取Theme的Star数量,用数据说话。https://www.zhihu.com/question/24422335/answer/46357100。但数据是2015年的,过去5年了。 要不自己写个爬虫玩一玩?爬下现在的数据是怎样的 Repo:https://github.com/aimer1124/hexo-theme-spider 需求管理:https://github.com/aimer1124/hexo-theme-spider/projects/1 结果展示:

January 4, 2020 · 1 min · Yuanjie

构建Headless 的 E2E 测试

为什么要构建 Headless 的 E2E 测试 A headless browser is a great tool for automated testing and server environments where you don't need a visible UI shell. For example, you may want to run some tests against a real web page, create a PDF of it, or just inspect how the browser renders an URL. 结合上面的原因,我们还可以 Headless结合 E2E 测试,可以让E2E 测试在非 GUI 的操作系统中运行 可以集成至 CI 环境中。让版本得到快速验证 Chrome Headless 的选取 Mac/Linux 的Chrome从59版本后,已经支持 Healess 模式的运行。Windows 的从60版本开始支持 所以选择一个你想要的 Chrome 版本,便可以进行 Headless 的测试 chrome \ --headless \ # Runs Chrome in headless mode. --disable-gpu \ # Temporarily needed if running on Windows. https://www.chromestatus.com # URL to open. Defaults to about:blank. ...

March 2, 2018 · 2 min · Yuanjie

轻量级微服务架构(上册)

书 读后总结 微服务的架构实践,书中的内容更偏重于落地的实践操作。 详细的讲解了如何搭建一套微服务框架环境,适合于寻找实践操作的书籍 微服务就是将功能分而治之 架构框架落地 Spring Boot做开发框架 Node.js做网关 Zookeeper做微服务注册与发现 Docker封装微服务–容器化 Jenkins实现CI 章节中,重点讲解了每个落地步骤的操作方法 ...

January 20, 2017 · 1 min · Yuanjie

API开发神器-Postman

Postman helps you develop APIs faster. 豪华午餐 Postman 构建、管理、文档化API 在线安装 Chrome插件版 https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop MAC版 https://www.getpostman.com/app/postman-osx 离线安装 使用已经安装好的Postman文件夹,机器默认存放目录:/Library/Application\ Support/Google/Chrome/Default/Extensions 进入chrome://extensions/,选择Load unpacked extensions,加载Postman的文件夹 ...

June 24, 2016 · 5 min · Yuanjie