mongodb $in 查询 > db.test.find({'IN':{$in:['123']}}){ "IN" : [ "123" ], "a" : 4 }{ "IN" : [ "123", "456" ], "a" : 5} mongodb $all 查询 >
分类:
数据库 时间:
2016-02-22 17:39:38
阅读次数:
162
参考资料:http://www.zhidao91.com/glyphicons-halflings-regular-woff-404-not-found/ 是因为IIS不支持这种文件的访问,这样修改网站根目录下的web.config添加如下代码即可 1 <staticContent> 2 <remo
分类:
其他好文 时间:
2016-02-22 17:37:55
阅读次数:
140
尝试在github上托管代码 然后我注册了一个github账号: 然后让核实邮件,我用的163邮箱,怎么都收不到邮件,resend了很多次都是白瞎,网上都说用qq邮箱秒收,我就换了个qq邮箱又注册一次,果然秒收 注册了之后看了一个那个叫 Hello Word 的tutorial,然后跟着这个guid
分类:
其他好文 时间:
2016-02-22 17:38:44
阅读次数:
160
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title> New Document </title> <meta name="Generator" content="EditPlus">
分类:
Web程序 时间:
2016-02-22 17:37:55
阅读次数:
119
一、简介 二、代码1.java (1)MainActivity.java 1 import android.app.Activity; 2 import android.content.Context; 3 import android.hardware.Sensor; 4 import andro
分类:
移动开发 时间:
2016-02-22 17:35:44
阅读次数:
183
【原】FMDB源码阅读(一) 本文转载请注明出处 —— polobymulberry-博客园 1. 前言 说实话,之前的SDWebImage和AFNetworking这两个组件我还是使用过的,但是对于FMDB组件我是一点都没用过。好在FMDB源码中的main.m文件提供了大量的示例,况且网上也有很多
分类:
数据库 时间:
2016-02-22 17:37:02
阅读次数:
347
参考资料 1.rabbmitMQ集群搭建http://my.oschina.net/guol/blog/186445http://blog.ftofficer.com/2010/03/translation-rabbitmq-python-rabbits-and-warrens/http://www
分类:
其他好文 时间:
2016-02-22 17:35:51
阅读次数:
181
vmware版本:10.0.0 build-1295980 ubuntu版本:3.13.0-62-generic 先安装的vmware workstation自带光盘中vmare tools包,安装完成后没有产生vmhgfs模块; 可以认为此方法失败,然后根据网上的提示安装open-vm-tools
分类:
系统相关 时间:
2016-02-22 17:35:23
阅读次数:
184
概述 > db.col.find() { "_id" : ObjectId("56c56dd4ca446fab71e4c38a"), "x" : 1, "y" : 3 } { "_id" : ObjectId("56c572c2ca446fab71e4c38b"), "x" : 2, "y" : 2
分类:
数据库 时间:
2016-02-22 17:36:58
阅读次数:
157
一丶更改应用名称 当我们部署好thinkphp代码后,我们得结构是这样的 我们可以在index.php入口文件设置应用名称 代码如下。 <?php // +---------------------------------------------------------------------- /
分类:
Web程序 时间:
2016-02-22 17:35:30
阅读次数:
148
#import <UIKit/UIKit.h> @interface ELCUIApplication : UIApplication { NSTimer *_idleTimer; NSInteger timeCount; } @end #import "ELCUIApplication.h" @i
分类:
移动开发 时间:
2016-02-22 17:35:37
阅读次数:
199
今天在做一个按钮的长按事件,长按的时候弹出一个Dialog弹出框,点击则是进入到下一个界面。 在我调试的时候,发现长按确实弹出了一个Dialog,但是同事他还跳转到下一个界面了。 这么说,就是在我长按的时候,出发了setOnLongClickListener和OnClick事件。 后面查询资料发现,
分类:
其他好文 时间:
2016-02-22 17:33:43
阅读次数:
163
在eclipse中可用为JVM设置参数:Window-->Preferences-->Java-->Installed JREs然后选中你安装的jre-->Edit-->Default VM Arguments:-Xms256m -Xmx512m -XX:PermSize=512m -XX:MaxP
分类:
编程语言 时间:
2016-02-22 17:33:11
阅读次数:
111
Increasing Triplet Subsequence Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the f
分类:
编程语言 时间:
2016-02-22 17:33:01
阅读次数:
130
1.把二元查找树转变成排序的双向链表 输入一棵二元查找树,将该二元查找树转换成一个排序的双向链表。 要求不能创建任何新的结点,只调整指针的指向。 10 / / 6 14 / / / /4 8 12 16 转换成双向链表4=6=8=10=12=14=16。 首先我们定义的二元查找树 节点的数据结构如下
分类:
Web程序 时间:
2016-02-22 17:33:44
阅读次数:
127
Ensure that numlockx is installed: sudo apt-get install numlockx Edit the file /etc/lightdm/lightdm.conf gksudo gedit /etc/lightdm/lightdm.conf Add th
分类:
系统相关 时间:
2016-02-22 17:33:51
阅读次数:
220
界面用MFC写 后台用写好的C程序就行了 C写的程序编译为dll,把用到的功能做成导出函数,在C++ w/MFC程序中调用 1、VC可以编译C函数动态库; 2、简单的dll编写例子(以最简单的两数相加函数为例): 创建工程项目Win32 Dynamic-Link Library. 加入头文件及源文件
分类:
编程语言 时间:
2016-02-22 17:34:47
阅读次数:
120