01 2019 档案

摘要:1、新建一篇文章:hexo new post "article title" 2、生成静态网页:hexo g 3、预览效果:hexo s 4、发布:hexo d 阅读全文
posted @ 2019-01-27 18:13 向萧 阅读(259) 评论(0) 推荐(0) 编辑
摘要:using OpenQA.Selenium;using OpenQA.Selenium.Chrome; 注意点: 1、在获取节点前、点击按钮前、点击按钮后、以及获取cookie前的操作,要暂停一下,比如暂停2到3秒,防止节点或者页面没有加载完成导致无法获取节点或者给节点赋值不正确等错误 2、以上代码 阅读全文
posted @ 2019-01-25 17:15 向萧 阅读(2393) 评论(0) 推荐(0) 编辑
摘要:content = Regex.Unescape(content); 阅读全文
posted @ 2019-01-19 20:30 向萧 阅读(458) 评论(0) 推荐(0) 编辑
摘要:1、查看分辨率: youtube-dl -F https://www.youtube.com/watch?v=_NMf1TpiFwY 2、根据分辨率下载,比如下载1280*720的mp4,前面的数字是136 则可以:youtube-dl -f 136 https://www.youtube.com/ 阅读全文
posted @ 2019-01-18 10:27 向萧 阅读(5642) 评论(0) 推荐(1) 编辑
摘要:System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient(); client.Host = "smtp.163.com";//使用163的SMTP服务器发送邮件 client.UseDefaultCredentials = true; client.DeliveryMethod = System.Net.Mail.Smt... 阅读全文
posted @ 2019-01-17 16:40 向萧 阅读(724) 评论(0) 推荐(0) 编辑
摘要:https://github.com/icsharpcode/ILSpy 阅读全文
posted @ 2019-01-17 10:16 向萧 阅读(216) 评论(0) 推荐(0) 编辑
摘要:异常信息:Templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions 解决办法: 阅读全文
posted @ 2019-01-16 16:43 向萧 阅读(1176) 评论(1) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace MediaTools.Tool { public class Wo... 阅读全文
posted @ 2019-01-14 18:00 向萧 阅读(2399) 评论(0) 推荐(0) 编辑
摘要:或者: 阅读全文
posted @ 2019-01-09 23:40 向萧 阅读(2138) 评论(0) 推荐(0) 编辑
摘要:1、添加:Microsoft.Web.Administration 2、代码: 阅读全文
posted @ 2019-01-08 13:18 向萧 阅读(310) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示