https://github.com/no7dw/mongodb-example这是最基础的连接查询。(branch master)var MongoClient = require('mongodb').MongoClient , assert = require('assert');// Co....
分类:
数据库 时间:
2014-11-20 23:22:20
阅读次数:
326
由于使用SVN的时间不长,出现问题各种奇怪的问题也是在所难免的,在这里记录下来,方便自己或跟我一样的菜鸟参考
问题一:
dzt@dzt-All-Series:~/D/dzt/workarea/7301_mp/android_mtk_kk2_6752_mp/gionee/alps/frameworks/base/core/java/android/widget$ svn ci AbsListVi...
分类:
其他好文 时间:
2014-11-20 22:04:09
阅读次数:
304
《JQuery cookie》插件cookie是保存在浏览器上的内容,用户在这次浏览页面的时候向cookie中保存文本内容。下次再访问页面的时侯就可以取出来上次保存的内容。这样可以得到上次“记忆”的内容,cookie不是jquery特有的概念,只不过jquery cookie把他简化的更好用而已co...
分类:
Web程序 时间:
2014-11-20 21:56:46
阅读次数:
287
Ubiquitous ConnectivityOne of the mosttransformative technology trends of the past decade is the availability and growing expectation of ubiquitous co...
分类:
Web程序 时间:
2014-11-20 18:34:30
阅读次数:
270
0.准备工作0.1 git安装http://git-scm.com/download/图形客户端建议使用source tree,中文界面http://www.sourcetreeapp.com/0.3 git帮助信息git helpgit help 指令名称0.4 git配置显示配置信息git co...
分类:
其他好文 时间:
2014-11-20 14:53:51
阅读次数:
292
系统为SpringMVC框架,在开发的过程中有一些工具类需要调用下由spring管理的service层。但是一进注入不进来,报null异常; 在尝试了网上的一系列方法后,还是没有解决。网上的解决方法主要有以下几种: 1、将工具类申明为spring组件,如@controller @co...
分类:
编程语言 时间:
2014-11-19 20:04:54
阅读次数:
723
(1). There is a natural isomorphism between the spaces $\scrH\otimes \scrH^*$ and $\scrL(\scrH,\scrK)$ in which the elementary tensor $k\otimes h^*$co...
分类:
其他好文 时间:
2014-11-19 18:05:06
阅读次数:
326
centos yum 错误 Error: Cannot find a valid baseurl for repo: addons 装了个CentOS 6.5,使用yum时出现了下面的错误提示。
[root@localhost ~]# yum install lrzsz
Loaded plugins: fastestmirror
Determining fastest mirrors
Co...
分类:
Web程序 时间:
2014-11-19 16:07:35
阅读次数:
223
var tempColumn = {display:'总计',columns:[ {display:'确认量合计', name:'CONFIRMNUM_SUM', width:80, render:f_nullValueRender}, {display:'确认金额合计', name:'CO...
分类:
其他好文 时间:
2014-11-19 15:50:38
阅读次数:
269
对一个Linux进程进行监控,使用Bash脚本实现。
使用ps命令对进程进行监控,使用循环加睡眠时间实现连续监控。
用法:
psmonitor.sh -p [pid] -d [interval] -n [statistics count]
参数:
-p 监控的进程ID
-d 读性能数据间隔
-n 统计次数,达到该次数,自动退出
#!/bin/bash
interval=0
co...
分类:
系统相关 时间:
2014-11-19 01:53:34
阅读次数:
173