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
string path = @"D:\a.txt";System.IO.StreamWriter swOut = new System.IO.StreamWriter(path, false, System.Text.Encoding.Default);swOut.WriteLine(strA);s...
分类:
其他好文 时间:
2014-07-07 12:28:43
阅读次数:
253
import java.text.DateFormat;import java.util.Date;/*** 格式化时间类 DateFormat.FULL = 0 * DateFormat.DEFAULT = 2 * DateFormat.LONG = 1* DateFormat.MEDIUM = ...
分类:
编程语言 时间:
2014-07-07 12:24:55
阅读次数:
245
1:测试数据库表usermysql> desc user$$+-------+-------------+------+-----+---------+----------------+| Field | Type | Null | Key | Default | Extra ...
分类:
数据库 时间:
2014-07-07 11:01:18
阅读次数:
222
在使用pt-online-schema-change会遇到如下的错误导致表修改失败:Copying rows caused a MySQL error 1364,Message: Field 'XXX' doesn't have a default value例子1:#修改的SQL:ALTER TA...
分类:
其他好文 时间:
2014-07-07 09:24:57
阅读次数:
442
socket编程原理1、问题的引入1) 普通的I/O操作过程:UNIX系统的I/O命令集,是从Maltics和早期系统中的命令演变出来的,其模式为打开一读/写一关闭(open-write-read-close)。在一个用户进程进行I/O操作时,它首先调用“打开”获得对指定文件或设备的使用权,并返回称...
分类:
其他好文 时间:
2014-07-03 22:20:26
阅读次数:
158
完整的错误提示信息为:No orientation specified, and the default is horizontal. This is a common source of bugs whenchildren are added dynamically.通常发生这个错误提示的原因是我...
分类:
其他好文 时间:
2014-07-03 22:02:53
阅读次数:
389
Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to...
分类:
其他好文 时间:
2014-07-03 21:59:51
阅读次数:
199
#!/bin/sh################################################AutoCloneVM######2014-5-9######Owner:YiQiang.Wei######Lastedit:5-11######################################################default(){echoechoecho-e"\033[32;49;1m[DefaultMode]\033[39;49;0m"echoechoTEM=ce..
分类:
其他好文 时间:
2014-07-02 16:14:48
阅读次数:
287