上一页 1 2 3 4 5 6 ··· 8 下一页

2018年12月17日

记一次mongoexport导出数据

摘要: mongoexport -h [host] --port [port] -d [databsename] -c [collectionname] -o [outputfilename] 参数说明: -h : host名 --port : mongo运行端口 -d :数据库名 -c :collecti 阅读全文

posted @ 2018-12-17 16:17 前路亦是故乡 阅读(2705) 评论(1) 推荐(0) 编辑

2018年9月29日

重点问题记录

摘要: 1、理解 goroutine 的并发(重点) 知识点:①进程、线程、协程 ②goroutine的M-G/MPG模型 https://blog.csdn.net/pmlpml/article/details/78850661 2、interfacegolang interface详解3、运算符 运算符 阅读全文

posted @ 2018-09-29 14:05 前路亦是故乡 阅读(87) 评论(0) 推荐(0) 编辑

2018年9月28日

单元测试jest

摘要: 1、断言 ①:toequal tobe;toequal属性等价,tobe严格相等 ②: 单元测试应该以独立的单位进行。也就是说,当我们测试App时,不需要也不应该关注其子组件的情况。这样才能保证单元测试的独立性。比如,在created钩子函数中进行的操作就会给测试带来不确定的问题。 为了解决这个问题 阅读全文

posted @ 2018-09-28 10:47 前路亦是故乡 阅读(176) 评论(0) 推荐(0) 编辑

2018年8月24日

VUE SSR NUXT开发日记

摘要: 1、动态路由 以下划线+参数名作为路由中params中参数声明 2、server端不存在window对象: ①:作为插件引入,在nuxt.config.js中引入,{ src: './plugins/global.js', ssr: false } ②:mounted中使用(尽量不在create中使 阅读全文

posted @ 2018-08-24 10:02 前路亦是故乡 阅读(116) 评论(0) 推荐(0) 编辑

2018年8月15日

vim笔记

摘要: 1 阅读全文

posted @ 2018-08-15 00:25 前路亦是故乡 阅读(79) 评论(0) 推荐(0) 编辑

2018年8月6日

markdown

摘要: 引用自:Leo Chin https://www.cnblogs.com/hnrainll/p/3514637.html 1. 标题设置(让字体变大,和word的标题意思一样)在Markdown当中设置标题,有两种方式:第一种:通过在文字下方添加“=”和“-”,他们分别表示一级标题和二级标题。第二种 阅读全文

posted @ 2018-08-06 10:22 前路亦是故乡 阅读(122) 评论(0) 推荐(0) 编辑

2018年8月1日

settimeout

摘要: timeout执行过程、原理 阅读全文

posted @ 2018-08-01 16:12 前路亦是故乡 阅读(57) 评论(0) 推荐(0) 编辑

2018年7月31日

git

摘要: 1、拉取所有远程分支到本地git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done git fetch --all git pull --a 阅读全文

posted @ 2018-07-31 22:05 前路亦是故乡 阅读(113) 评论(0) 推荐(0) 编辑

nginx

摘要: ubuntu16安装 安装、使用命令教程 阅读全文

posted @ 2018-07-31 17:06 前路亦是故乡 阅读(80) 评论(0) 推荐(0) 编辑

2018年7月30日

问题

摘要: 1、import non-lcoal package ? 项目引用执行$GOPATH/src 下目录,引入项目内文件需要以 {projectname}/xxx 引入 参考 阅读全文

posted @ 2018-07-30 15:22 前路亦是故乡 阅读(67) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 8 下一页

导航