01 2019 档案
摘要:1、新建一篇文章:hexo new post "article title" 2、生成静态网页:hexo g 3、预览效果:hexo s 4、发布:hexo d
阅读全文
摘要:using OpenQA.Selenium;using OpenQA.Selenium.Chrome; 注意点: 1、在获取节点前、点击按钮前、点击按钮后、以及获取cookie前的操作,要暂停一下,比如暂停2到3秒,防止节点或者页面没有加载完成导致无法获取节点或者给节点赋值不正确等错误 2、以上代码
阅读全文
摘要:content = Regex.Unescape(content);
阅读全文
摘要:1、查看分辨率: youtube-dl -F https://www.youtube.com/watch?v=_NMf1TpiFwY 2、根据分辨率下载,比如下载1280*720的mp4,前面的数字是136 则可以:youtube-dl -f 136 https://www.youtube.com/
阅读全文
摘要: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...
阅读全文
摘要:https://github.com/icsharpcode/ILSpy
阅读全文
摘要:异常信息:Templates can be used only with field access, property access, single-dimension array index, or single-parameter custom indexer expressions 解决办法:
阅读全文
摘要: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...
阅读全文
摘要:1、添加:Microsoft.Web.Administration 2、代码:
阅读全文