使用独立模式安装Sharepoint Server 2013,允许配置向导到第8步创建示例数据时,出错了!Exception: System.ArgumentException: The SDDL string contains an invalid sid or a sid that cannot...
分类:
其他好文 时间:
2014-06-29 00:28:15
阅读次数:
376
项目中 需要大量数据的保存操作,每条执行save操作效率太低,在官网上找到bull_create 的批量存储方式,效率提高很多Insert in bulkWhen creating objects, where possible, use thebulk_create()method to redu...
分类:
其他好文 时间:
2014-06-28 23:24:44
阅读次数:
594
对应经常使用jquery的朋友,方法的链式调用应该是已经很属性了,书上有模拟出一个很简单的类库代码,见代码如下:Function.prototype.method = function(name,fn){ this.prototype[name] = fn; return this;};(fun.....
分类:
编程语言 时间:
2014-06-28 23:12:29
阅读次数:
320
今天在ubuntu中玩了下“拦截系统调用”,记录下自己对整个实现的理解。原理在linux kernel中,系统调用都放在一个叫做“sys_call_table”的分配表里面,在进入一个系统调用的最后一步,会调用与eax中包含的系统调用号对应的特定服务例程:[cpp]view plaincopycal...
分类:
其他好文 时间:
2014-06-28 22:30:33
阅读次数:
270
((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE)) .hideSoftInputFromWindow(LoginActivity.this .getCu...
分类:
其他好文 时间:
2014-06-28 21:23:49
阅读次数:
194
原文:http://blog.csdn.net/chmask/article/details/26314851.工厂模式(Factory Method):子类只能是平级关系,如父类是动物,子类是猫和狗2.抽象工厂模式(Abstract Factory):子类之间也能是包含关系,如:父类是组件,子类可...
分类:
其他好文 时间:
2014-06-28 21:21:39
阅读次数:
224
将dump拖入到windbg中后,在command输入栏输入 .load wow64exts 回车 !sw 回车,就将windbg的dump,从64位模式切换到了32位模式,否则看到的call stack 对我们分析dump是没有帮助的。然后就可以使用其它的命令来分析了。比如:使用kb命令,查看.....
分类:
数据库 时间:
2014-06-28 20:44:57
阅读次数:
305
解决方法: 方法1: 使用jquery里面的全局函数$.trim()代替原生js方法trim(): $.trim( 你要替换的字符 ); 方法2: Function.prototype.method = function (name, func) { this.prototype[name] = f...
分类:
其他好文 时间:
2014-06-28 20:33:06
阅读次数:
294
5.1 You are given two 32-bit numbers, N andM, and two bit positions, i and j. Write a method to insert M into Nsuch that M starts at bit j and ends at...
分类:
其他好文 时间:
2014-06-20 13:51:09
阅读次数:
149
1.简介 Callable是一个接口,与Runnable类似,包含一个必须实现的call方法,可以启动为让另一个线程来执行,执行Callable可以得到一个Future对象 该对象可以监听Callable的执行结果 也可以取消该任务的执行2.案例 package org.lkl.thead.foo....
分类:
编程语言 时间:
2014-06-20 13:50:23
阅读次数:
287