摘要: db.getMongo().setSlaveOk() 阅读全文
posted @ 2015-11-05 15:49 wind90 阅读(820) 评论(0) 推荐(0) 编辑
摘要: TypedAggregation aggregation = newAggregation(DemoEntity.class, match(match), group("name").count().as("total"), sort(Sort.Direction.AS... 阅读全文
posted @ 2015-11-05 15:30 wind90 阅读(345) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.HOUR_OF_DAY, calendar.get(Ca... 阅读全文
posted @ 2015-11-05 09:44 wind90 阅读(762) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/shanyou/p/3494854.html 阅读全文
posted @ 2015-11-05 09:24 wind90 阅读(116) 评论(0) 推荐(0) 编辑
摘要: DBCollection coll = mongo.getCollection(OrgHeatEntity.class.getAnnotation(Document.class).collection()); DBObject query = new BasicDBObject(); query... 阅读全文
posted @ 2015-11-03 17:07 wind90 阅读(655) 评论(0) 推荐(0) 编辑
摘要: 修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。把其中的start-timeout="45" 改为start-timeout="100" 或者更长,根据不同同学的工程大小来设置。最后重启eclipse... 阅读全文
posted @ 2015-11-02 17:27 wind90 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 几篇博客http://blog.codinglabs.org/articles/modularized-javascript-with-seajs.html http://witcheryne.iteye.com/blog/1166331http://witcheryne.iteye.com/bl... 阅读全文
posted @ 2015-11-02 15:09 wind90 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 原理:把容器的边框设置大一点,容器本身的长宽为0,只设置一边的颜色让其自然形成 箭头参考文章http://yuiblog.com/blog/2010/11/22/css-quick-tip-css-arrows-and-shapes-without-markup/ 阅读全文
posted @ 2015-11-01 20:56 wind90 阅读(1868) 评论(0) 推荐(0) 编辑
摘要: (读书笔记--JavaScript 高级程序设计第3版 148页)1, 无论何时,只要创建了一个新的函数,就会根据一组新特定的规则为该函数创建一个prototype属性,这个函数指向函数的原型对象。在默认情况下,所有原型对象都会自动获取一个constructor(构造函数)属性,这个函数包含一个指向... 阅读全文
posted @ 2015-10-29 12:18 wind90 阅读(194) 评论(0) 推荐(0) 编辑
摘要: rotate 阅读全文
posted @ 2015-10-22 18:04 wind90 阅读(450) 评论(0) 推荐(0) 编辑