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
1 public static string TestXML(string path) 2 { 3 4 XmlDocument doc = new XmlDocument(); 5 doc.Load(path); 6...
分类:
其他好文 时间:
2014-07-07 12:32:35
阅读次数:
202
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
string有个成员函数,assign()可以这样:1 string str;2 str.assign(temp, sizeof(temp));
分类:
其他好文 时间:
2014-07-02 17:23:54
阅读次数:
229
局域网共享文件夹需要用户名和密码才能访问,通过程序怎样才能获得文件夹访问权限呢?这里主要利用了DOS命令中的“NET USE”命令来实现。public static void GetAccessControl(string path,string user,string pwd) { ...
分类:
其他好文 时间:
2014-07-02 13:50:04
阅读次数:
513
---------------------在jsp页面中加入----------------------
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+pat...
分类:
其他好文 时间:
2014-07-02 11:45:32
阅读次数:
230
互联网创业有一个共性,也可以说成是“通脖,往往都是以追求用户量为第一指标,用户量越大,意味着企业就越成功,尤其是社交行业。似乎很少有人考虑过,区域化的社交产品是否有存在的价值。社交IM类产品创新从未停滞过,facebook、Instagram、Whatsapp、snapchat、Path、Nextdo..
分类:
移动开发 时间:
2014-07-02 11:04:10
阅读次数:
229
在官网下载genymotion http://www.genymotion.cn/
然后进行以下操作
1.如果本机没有virtualbox 下载一个 可以通过指令 sudo apt-get install virtualbox-qt 进行下载
2. 将下载的genymotion做以下操作
chmod +x [INSTALLER_PATH]/genymotion-[VE...
分类:
系统相关 时间:
2014-07-02 07:40:41
阅读次数:
317
以下知识点转自:点击打开原文链接
今天拿起手要用C++写个小工具,从指定的目录递归遍历文件,然后做一下处理。又翻了一下boost的filesystem库。小结一下,希望能加深印象,免得下次又要查看文档。
1. path对象就是一个跨平台的路径对象。有许多方法访问路径的各个部分,也用它的iterator迭代路径中的各个部分;
path构造目录结构的时候使用“/”运算符,非常直...
分类:
其他好文 时间:
2014-07-02 07:06:26
阅读次数:
413