windows 2008 R2转移五大角色 regsvr32 schmmgmt Active
Directory架构 架构主机 Active Directory域和信任关系 域命令主机 Active Directory用户和计算机
PDC模拟器、RID主机、基础架构主机CMD->ntd...
分类:
其他好文 时间:
2014-05-19 19:35:30
阅读次数:
273
Construct Binary Tree from Preorder and Inorder
TraversalGiven preorder and inorder traversal of a tree, construct the binary
tree.Note:You may assume...
分类:
其他好文 时间:
2014-05-19 18:43:40
阅读次数:
177
【题目】
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the linked list becomes 1->2->3->5.
Note:
Given n will ...
分类:
其他好文 时间:
2014-05-18 18:48:03
阅读次数:
269
MantisBT 在提交问题的时候,系统默认“分配”给备选账号,而不是姓名。这样在使用的时候非常不便。
可以通过修改配置文件来改变,找到MantisBT根目录下文件config_inc.php,用文本编辑器打开。代码如下:
<?php
$g_hostname = 'XXX';
$g_db_type = 'XXX';
$g_database_name = 'XXX';
$g_db...
分类:
其他好文 时间:
2014-05-18 18:42:37
阅读次数:
303
【题目】
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you must do this in place with constant memory.
For example,
Given input array A ...
分类:
其他好文 时间:
2014-05-18 18:25:19
阅读次数:
272
Binary Tree Level Order Traversal
Total Accepted: 12441 Total
Submissions: 40879My Submissions
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left t...
分类:
其他好文 时间:
2014-05-18 10:11:13
阅读次数:
337
【题目】
Given a roman numeral, convert it to an integer.
Input is guaranteed to be within the range from 1 to 3999.
【题意】
把罗马数转换为整数
【思路】
罗马数字中只使用如下七个基值字母:M,D,C,L,X,V,I,分别用来表示1000、500、100、50、10、5、1。
大体思路是每个罗马字母对应的值相加即可,
但需要处理900, 400, 90, 40, 9, 4这几个特殊...
分类:
其他好文 时间:
2014-05-18 07:58:54
阅读次数:
293
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is o...
分类:
数据库 时间:
2014-05-18 06:19:21
阅读次数:
547
1. 写法轻松,更新效率高:
update table1
set field1=table2.field1,
field2=table2.field2
from table2
where table1.id=table2.id
2. 常规方式,种写法相当于一个 Left join, 以外面的where为更新条数,如果不加where就是所有记录
update table1
s...
分类:
数据库 时间:
2014-05-18 06:05:00
阅读次数:
294
from ConfigParser import RawConfigParser as rcp
if __name__ == "__main__":
cfg = rcp()
cfg.add_section("Info")
cfg.set("Info", "ImagePath", "f:/whu")
cfg.set("Info", "foo", "cd'...
分类:
其他好文 时间:
2014-05-18 05:58:51
阅读次数:
284