cls [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") foreach ($webApplication in Get-SPWebApplication) { Write-Host Write-Hos...
分类:
其他好文 时间:
2014-07-07 12:54:49
阅读次数:
276
转载来自:http://write.blog.csdn.net/postedit/7715729一、测试代码 private void button1_Click(object sender, EventArgs e) { string newSourcePath = ImgPath;//源图存.....
分类:
其他好文 时间:
2014-07-07 12:36:28
阅读次数:
288
分布式的基础:一致性哈希 路由算法的一致性hash http://www.jiacheo.org/blog/174 http://www.tuicool.com/articles/vQVbmai http://www.cnblogs.com/huangxincheng/p/3708316.html ...
分类:
数据库 时间:
2014-07-07 11:31:00
阅读次数:
349
新建立了一个replicat set,登录到primary里,show dbs一看吓一跳local数据库竟然占用了80多G的空间[root@wxlab31 bin]# ./mongo --host 10.1.1.31 --port 27017MongoDB shell version: 2.4.6c...
分类:
数据库 时间:
2014-07-07 11:10:21
阅读次数:
294
replica set多服务器主从,添加,删除节点,肯定会经常遇到的。下面详细说明一下,添加,删除节点的2种方法。 一,利用rs.reconfig,来添加,删除节点 1,添加节点代码如下repmore:PRIMARY> config = {_id:"repmore",members:[{_id:.....
分类:
数据库 时间:
2014-07-07 10:08:51
阅读次数:
207
cls [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") foreach ($webApplication in Get-SPWebApplication) { Write-Host Write-Hos...
分类:
其他好文 时间:
2014-07-02 23:12:01
阅读次数:
232
Same Tree Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally i...
分类:
其他好文 时间:
2014-07-02 17:56:50
阅读次数:
205
mongod的主要参数有:基本配置-------------------------------------------------------------------------------- --quiet # 安静输出--portarg# 指定服务端口号,默认端口27017--bind_ipa...
分类:
数据库 时间:
2014-07-02 17:11:40
阅读次数:
225
废话不多说
1:下载nodejs包
下载地址如下:http://www.nodejs.org/download/
下载source code版本需要解压后到其目录执行./configure,然后make && make install;
而binaries的tar.gz解压后即可.
2:下载mongodb
下载地址如下:http://www.mongodb.org/dow...
分类:
数据库 时间:
2014-07-02 16:42:42
阅读次数:
365
ERROR 1665 (HY000): Cannot executestatement: impossible to write to binary log since BINLOG_FORMAT = STATEMENTand at least one table uses a storage engine limited to row-based logging.InnoDB is limited to row-logging when transaction isolation level is REA...
分类:
数据库 时间:
2014-07-02 07:46:46
阅读次数:
322