摘要:
为什么会有这么多坑 1. Java会把 id:String = "合法ObjectId" 好心好意的 转为 _id:ObjectId 类型。 2. 为了避免第1点, 我定义了一个 HashMap, 里面放 id 它就不会转了,但是下面代码报错: user 下面有 roles 集合, 如果使用 Map 阅读全文
摘要:
1. vi /etc/profile export NODE_HOME=/opt/node-v6.9.1-linux-x64export PATH=$PATH:$NODE_HOME/binexport NODE_PATH=$NODE_HOME/lib/node_modules 2. 使生效 # . 阅读全文
摘要:
1. detached HEAD http://blog.csdn.net/csfreebird/article/details/7583363 使用 git checkout master 2. rebase 和 mearge http://blog.csdn.net/wh_19910525/ar 阅读全文
摘要:
从insert方法入手 1. org.springframework.data.mongodb.repository.support.SimpleMongoRepository.java insert 2. org.springframework.data.mongodb.core.MongoTem 阅读全文
摘要:
教程: http://www.tuicool.com/articles/InEBNz 组件: https://github.com/satazor/js-spark-md5 阅读全文
摘要:
跨域设置 http://www.ituring.com.cn/article/200275 打包 http://m.blog.csdn.net/article/details?id=51322637 npm adduser 如果长时间不登录,可能会过期,使用 npm login 进行登录就可以 pu 阅读全文
摘要:
--Test过程: 1. 先执行各种 Filter 2. HttpServlet.service(ServletRequest req, ServletResponse res) 3. HttpServlet.service(HttpServletRequest req, HttpServletRe 阅读全文
摘要:
sudo.vbs http://blog.csdn.net/qidi_huang/article/details/52242053 c:\windows\sudo.vbs setx 设置环境变量,结合sudo sudo SETX PATH "%PATH%;%ANDROID_HOME%\platfor 阅读全文
摘要:
环境准备 1. 下载nuget : https://www.nuget.org/downloads 2. 设置到环境变量Path, 使生效:在Cmd打入: set path=abc 关闭Cmd (Cmd设置的Path只作用于临时) 3. 获到nuget ApiKey , setapikey: 发布 阅读全文
摘要:
http://sanwen.net/a/ybsfcoo.html test.js 运行 : gulp 即可。 阅读全文