http://mongoid.org/en/mongoid/docs/querying.html#querieshttp://docs.mongodb.org/manual/reference/operator/query-comparison/gt大于, gte大于等于,lt小于, lte小于等于...
分类:
其他好文 时间:
2014-06-28 20:50:36
阅读次数:
238
在JDK1.2曾经,JAVA中对引用的定义是:假设reference类型的数据中存储的数值代表的是另外一块内存的起始地址,就称这块内存代表着一个引用。这样的定义非常easy,并且非常纯粹,可是,对于这一类的对象:当内存空间还足够时,则保留在内存之中;假设内存空间在进行GC之后还是不够用,则回收这些对...
分类:
编程语言 时间:
2014-06-28 12:56:13
阅读次数:
217
1 // ---------------------------------------------------------- 2 // 如果你不适用IE或者版本低于5: 3 // ie === undefined 4 // 如果用户使用IE7: 5 // ...
分类:
其他好文 时间:
2014-06-28 12:02:38
阅读次数:
181
如果你不小心git reset --hard HEAD^
然后这个commit又没有在别的git仓库中,怎么办?是不是这次修改就丢了呢?
git为我们每次都历史都保留了reference log
如下:
$ git commit -A -m "hongchangfirst commit"
你现在看git的历史记录,你可以看到两次提交:
$ git log
* d1f3fg...
分类:
其他好文 时间:
2014-06-22 07:45:23
阅读次数:
314
http://docs.mongodb.org/manual/reference/sql-comparison/In addition to the charts that follow, you might want to consider the Frequently Asked Questio...
分类:
移动开发 时间:
2014-06-20 17:55:22
阅读次数:
227
1.关于分号javascript里面不强制使用分号来表示一行语句的结束,但是最好能够在写js之前,特别是在原有的js上面新增时,最好前置一个分号。避免这种情况发生:2.JavaScript类型转换3.关于===①如果类型不同则不等 ②null===null或undefined===undefine....
分类:
编程语言 时间:
2014-06-18 08:39:11
阅读次数:
298
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'articleDaoImpl': Injection of resou...
分类:
移动开发 时间:
2014-06-18 00:10:10
阅读次数:
923
安装时出现configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autocon...
分类:
其他好文 时间:
2014-06-17 16:36:01
阅读次数:
1500
打开你的工程,点击目录的工程文件,最顶端蓝色的,然后选择project下你的工程,还是蓝色那项,然后build Settings,然后往下拉,在Apple LLVM 5.0 - Language - Objective C 里有一个选项,Objective-C Automatic Reference...
分类:
其他好文 时间:
2014-06-17 15:53:20
阅读次数:
206