{"componentChunkName":"component---gemini-src-templates-posts-tsx","path":"/","result":{"pageContext":{"group":[{"id":"a625fd01-ebae-5f79-a98e-d15e08bcbf53","slug":"/post/gogs-share-22-port","title":"Gogs 与主机共享 22 端口","date":"2018-03-10","excerpt":"在使用 Docker 安装 Gogs 时，一般会把容器的 22 端口映射到主机的其它端口(比如 10022)\n在以 SSH 方式 clone 项目时，URL 长这样 ssh:// git@git.example.com :10022:username/project.git…","tags":["Gogs","Git","SSH","Docker"],"categories":[],"timeToRead":1},{"id":"6f78fff5-ff6e-5e76-b1d7-e45402963e3a","slug":"/post/hexo-next-optimize-leancloud","title":"NexT 主题优化：重构 leancloud 阅读量统计模块","date":"2018-02-11","excerpt":"为什么要重构 从去年 10 月份开始，LeanCloud 国内节点 API 的老版域名 api.leancloud.cn 在国外一些地区和国内少数地区会出现一定概率的解析错误（DNS 污染），这导致我们的博客阅读量无法正常显示 官方解决方案 如果使用的是原生 SDK…","tags":["Next","Leancloud"],"categories":[],"timeToRead":1},{"id":"ce4b7d3b-a28c-5678-9c80-fd4f97fecd60","slug":"/post/grub-rescue","title":"grub rescue 模式下修复 Linux 引导","date":"2017-11-22","excerpt":"前些天把很久没用的 Windows10 更新了下，更新后就进不了 Linux 系统了，提示 \"file '/boot/grub/x86_64-efi/normal.mod' not found\"，之后就进入 grub rescue 模式了 解决方法很简单，在 grub…","tags":["Linux","grub","Arch"],"categories":["Linux"],"timeToRead":1},{"id":"80c5c6cd-abc1-5efa-8da9-bfc7b1f0c852","slug":"/post/vscode-icon-share","title":"VSCode icon 分享","date":"2017-10-12","excerpt":"Icon created for  Visual Studio Code Reference  iiroj/public Download Raincal/vscode-icon","tags":["VSCode","Icon","Editor"],"categories":[],"timeToRead":1},{"id":"d48bca88-a578-5b89-8ba7-dd8150fc3ac5","slug":"/post/deploy-flarumchina-with-docker","title":"使用 Docker 部署 FlarumChina","date":"2017-08-07","excerpt":"前期准备 服务器安装 Docker 和 Docker Compose 参考教程：\n http://get.daocloud.io/#install-docker 没有服务器的可以在本地安装 Docker 或使用 DaoCloud 的胶囊主机, 能免费体验 12…","tags":["Docker","Linux"],"categories":[],"timeToRead":1},{"id":"1bfa9c65-be36-57f4-9769-5129878ce3ab","slug":"/post/lodash","title":"10 个可用 ES6 替代的 Lodash 特性","date":"2016-06-30","excerpt":"本文转载自： 众成翻译 \n译者： 少年阿布 DX \n链接： http://www.zcfy.cc/article/467 \n原文： https://www.sitepoint.com/lodash-features-replace-es6/ Dan Prince…","tags":["lodash"],"categories":[],"timeToRead":1},{"id":"0a113630-4802-5d50-8f96-6373b7059704","slug":"/post/mongodb-command","title":"mongoDB 常用命令","date":"2015-07-10","excerpt":"安装 mongoDB 官网 下载安装（ Windows 安装方法 ） 基础知识 集合——对应关系数据库中的表 文档——对应关系数据库中的行 启动数据库服务 定位到安装目录下的 bin 文件夹里后 如没有 data/db 文件夹，需先创建， dbpath…","tags":["mongoDB"],"categories":["mongoDB"],"timeToRead":1},{"id":"32e32ee4-a6a0-5fc0-a654-cada0ca9b37b","slug":"/post/launch-sublime-text-from-command-line","title":"Mac OS 终端使用 subl 运行 Sublime Text 3","date":"2015-05-09","excerpt":"1.添加 link 2.编辑 PATH 3.添加 PATH 4.应用","tags":["macOS","Sublime","Editor"],"categories":[],"timeToRead":1}],"pathPrefix":"/","first":true,"last":true,"index":1,"pageCount":1,"additionalContext":{}}},"staticQueryHashes":["2489863303","2936798523","3152006177","3438353585","63159454"]}