项目中 需要大量数据的保存操作,每条执行save操作效率太低,在官网上找到bull_create 的批量存储方式,效率提高很多Insert in bulkWhen creating objects, where possible, use thebulk_create()method to redu...
分类:
其他好文 时间:
2014-06-28 23:24:44
阅读次数:
594
mongodb远程服务器连接mongo -uroot -p321 master.puppet.org:27017/admin基于libvcirt的虚拟化guest domain overview:A guest domain may be transient, or persistent. A tr...
在学习完使用CSS的布局方法之后,再来回顾一下传统的使用表格布局的方法。实际上,在十多年前,互联网刚刚开始普及的时候,网页内容非常倚单,形式也非常单调。1997年,美国设计师David Siegel出版了一本里程碑式的网页制作指导书《Creating KillerWeb Sites》(创建杀手级网站...
分类:
Web程序 时间:
2014-06-28 18:17:54
阅读次数:
270
JavaScript跨域总结与解决办法(转)什么是跨域1、document.domain+iframe的设置2、动态创建script3、利用iframe和location.hash4、window.name实现的跨域数据传输5、使用HTML5 postMessage6、利用flash本文来自网络(h...
分类:
编程语言 时间:
2014-06-21 11:08:10
阅读次数:
207
转:http://blog.csdn.net/littlebo01/article/details/17554953[python] view plaincopyprint? 使用OpenERP自定义模块开发的时候,你会发现,有一个uid(当前登录用户id)特别好用,不管是在xml的domain.....
分类:
其他好文 时间:
2014-06-21 10:11:16
阅读次数:
270
page 201show ip routeCorrection(05-4)Basic configuration of R1:enableconfigure terminalhostname R1no ip domain-lookup (Disable DNS lookup)enable secre...
分类:
其他好文 时间:
2014-06-21 00:04:24
阅读次数:
332
当在post发送一个数据,返回来得如下错误的时候:Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (JSON text did not start...
分类:
Web程序 时间:
2014-06-18 14:38:36
阅读次数:
262
BACKGROUND OF THE INVENTIONThe present invention relates to data transfer across domains, and more particularly, to data transfer across a number of d...
分类:
移动开发 时间:
2014-06-18 13:55:52
阅读次数:
422
关于跨域访问,使用JSONP的方法,我前面已经demo过了,具体见http://supercharles888.blog.51cto.com/609344/856886,HTML5提供了一个非常强大的API,叫postMessage,它其实就是以前iframe的进化版本,使用起来极其方便,这里举个实验例子:
我们依旧按照与上文相同的设定,假定我们有2个Domain
Domain1: h...
分类:
Web程序 时间:
2014-06-18 12:23:53
阅读次数:
278
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