原本是使用connect-mongo的,可能是express版本的升级报错了,改用connect-mongodb,但是使用后出现了如下的警告:G:\nodejs\moviesite>grunt
Running "concurrent:tasks" (concurrent) task
Running "nodemon:dev" (nodemon) task
Running "watch...
分类:
数据库 时间:
2015-06-28 11:20:38
阅读次数:
514
emulator: ERROR: x86 emulation currently requires hardware acceleration!Please ensure Intel HAXM is properly installed and usable.CPU acceleration sta...
分类:
其他好文 时间:
2015-06-26 23:33:21
阅读次数:
194
1.定义Ensure a class has only one instance,and provide a global point of access to it.(确保某一个类只有一个实例,而且自行实例化并向整个系统提供这个实例。)2.模式讲解(1)类图(2)单例模式通用代码 1 public...
分类:
其他好文 时间:
2015-06-24 00:39:24
阅读次数:
185
http://blog.csdn.net/highning0007/article/details/12801057遇到问题描述:运行android程序控制台输出 [2012-07-18 16:18:26 - ] The connection to adb is down, and a severe...
分类:
数据库 时间:
2015-06-13 14:06:12
阅读次数:
163
今天导入个android项目,运行的时候,居然发现了个错误……出现:ADBserverdidn'tACK,failedtostartdaemonPleaseensurethatadbiscorrectlylocatedat'D:\android-sdk-windows\platform-tools\...
分类:
数据库 时间:
2015-06-11 20:51:09
阅读次数:
167
1. UPDATE CYGWINFirst of all you will need to ensure that Cygwin has the necessary binaries required for apt-cyg. This is achieved via the use of the ...
if (Looper.myLooper() != Looper.getMainLooper()) {
// If we finish marking off of the main thread, we need to
// actually do it on the main thread to ensure correct o...
分类:
移动开发 时间:
2015-05-22 19:11:05
阅读次数:
136
Although both BitTorrent Sync 2.0 FREE and PRO ensure high file transfer speed and ultimate security, PRO version provides you with a lot more functio...
分类:
其他好文 时间:
2015-05-22 00:21:58
阅读次数:
1029
1、概念:
单例模式:
(1)、EN:Ensure a class has only one instance,and provide a global point of access to it.
(2)、CH:确保某一个类只有一个实例,而且自行实例化并向整个系统提供这个实例。
单例模式的通用类图:
2、例子:
Singleton 类:
packa...
分类:
其他好文 时间:
2015-05-05 19:38:59
阅读次数:
128