07 2015 档案

摘要:在Visual Studio中创建Windows Store项目,在MainPage.xaml.cs中出现错误: The name ‘InitialzeComponent’ does not exist in the current context 这个问题的出现通常会有两个方面的原因: 最常见的是MainPage.xaml中的x:Class与类名不一致。确认x:Class是正确的类和命名空间... 阅读全文
posted @ 2015-07-23 12:04 维博.WILBUR 阅读(487) 评论(0) 推荐(0)
摘要:请挪动其中一个数字(0,1或者2),使“101-102=1”这个等式成立。注意,只是挪动其中一个数字,只能挪动一次而不是对调。 解答: 把2往上挪,即“101-102=1”。 阅读全文
posted @ 2015-07-21 15:27 维博.WILBUR 阅读(886) 评论(0) 推荐(0)
摘要:所有的Metro Apps不能够正常打开,表现为打开后自动最小化到任务栏,并且不能恢复正常状态。在Event Viewer\Application中相应的错误信息为: Activation of app winstore_cw5n1h2txyewy!Windows.Store failed with error: This app does not support the contract spe... 阅读全文
posted @ 2015-07-16 16:32 维博.WILBUR 阅读(217) 评论(0) 推荐(0)
摘要:可以写成这样 string strRegex = @"[\u4e00-\u9fa5]|[\(\)\《\》\——\;\,\。\“\”\\!]"; 其中前半部分表示匹配中文字符,后半部分为需要匹配的标点符号。 另, 对于html源码的处理,建议使用HtmlAgilityPack,用下面的代码去掉其中的脚本、样式或者注释内容。 public static HtmlDocument InitializeH... 阅读全文
posted @ 2015-07-13 11:36 维博.WILBUR 阅读(24342) 评论(0) 推荐(0)
摘要:第一章 简介MongoDB是面向文档的数据库,不是关系型数据库。内置对MapReduce的支持,以及对地理空间索引的支持。丰富的数据模型容易扩展,它所采用的面向文档的数据模型可以使其在多台服务器之间分割数据丰富的功能,索引、存储Javascript、聚合、固定集合、文件存储不牺牲速度,尽可能地将服务... 阅读全文
posted @ 2015-07-06 19:10 维博.WILBUR 阅读(443) 评论(0) 推荐(0)
摘要:在刚修改完root权限自动登录后,发现开机出现以下提示:Error found when loading /root/.profilestdin:is not a tty…………解决方法:在终端中用命令gedit /root/.profile,打开文件后找到“mesg n”,将其更改为“tty -s... 阅读全文
posted @ 2015-07-03 21:24 维博.WILBUR 阅读(2185) 评论(0) 推荐(0)
摘要:课程链接:http://www.microsoftvirtualacademy.com/colleges/hyper-V-Certificate STEP 1:完成课程链接内的认证课程。 STEP 2:认证流程。 STEP 3:认证说明。 阅读全文
posted @ 2015-07-03 11:44 维博.WILBUR 阅读(473) 评论(0) 推荐(0)
摘要:jQuery是一个快速、简单的Javascript library,它简化了HTML文件的traversing,事件处理、动画、Ajax互动,从而方便了网页制作的快速发展。jQuery是为改变你编写Javascript的方式而设计的。 中文网链接:http://kb.cnblogs.com/zt/jquery/ 阅读全文
posted @ 2015-07-03 11:20 维博.WILBUR 阅读(120) 评论(0) 推荐(0)
摘要:不多说,直接上文档链接:Flask的文档 教程 API 快速上手 阅读全文
posted @ 2015-07-02 17:15 维博.WILBUR 阅读(131) 评论(0) 推荐(0)
摘要:C#中运行PowerShell需要用到System.Management.Automation.dll。在Visual Studio中可以通过NuGet添加引用,package名字为“System.Management.Automation”。 Runspace runspace = RunspaceFactory.CreateRunspace(); runspace.Open(); using ... 阅读全文
posted @ 2015-07-01 19:06 维博.WILBUR 阅读(1069) 评论(0) 推荐(0)