上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 1.C#用法 安装BouncyCastle.Crypto依赖包 /// <summary> /// Base64字符串转16进制字符串 /// </summary> /// <param name="base64String"></param> /// <returns></returns> pub 阅读全文
posted @ 2022-08-09 16:07 杜子烟 阅读(1797) 评论(0) 推荐(1) 编辑
摘要: 某用户执行net core sdk 版本不生效 sudo chmod +x /home/username/netcore3.1sdk/dotnet //某个用户执行新版本net core sdk 阅读全文
posted @ 2020-08-03 09:40 杜子烟 阅读(96) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.IO; using System.Xml.Serialization; namespace ConsoleApp.Test { public class XmlTest { pu 阅读全文
posted @ 2020-04-23 15:08 杜子烟 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 1.在NuGet程序包中添加NSoup包 阅读全文
posted @ 2019-08-29 16:12 杜子烟 阅读(853) 评论(0) 推荐(0) 编辑
摘要: 第一步:在 Ubuntu 中安装 VSFTPD 服务器 修改的时候把输入法切换到英文输入、大小写一定要看清楚再输入、移动光标不要按方向键;“a”是进入编辑模式,“ESC”键是退出编辑模式;非编辑模式下“k”是把光标向上移动、“j”向下、“h”向左、“l”向右;“x”是非编辑模式删除键;编辑模式下一边 阅读全文
posted @ 2019-08-20 11:55 杜子烟 阅读(340) 评论(0) 推荐(0) 编辑
摘要: Windows 10 子系统Linux重启(不重启Win10) Using CMD (Administrator) net stop LxssManager net start LxssManager Using CMD (Administrator) net stop LxssManager ne 阅读全文
posted @ 2019-08-19 13:36 杜子烟 阅读(1062) 评论(0) 推荐(1) 编辑
摘要: public static string Post(string Url, string postDataStr, string cookies) { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Url); request.Method = "POST"; ... 阅读全文
posted @ 2019-08-17 05:37 杜子烟 阅读(5190) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 获取HTML中所有图片的 URL /// </summary> /// <param name="strHtml">HTML代码</param> /// <returns>图片的URL列表</returns> public static string[] GetHtmlImageUrlArr(string strHtml) { // 定义正则表达式用来匹配 im 阅读全文
posted @ 2019-08-17 05:35 杜子烟 阅读(1162) 评论(0) 推荐(0) 编辑
摘要: /// /// 根据文件url,下载文件到本地 /// /// 文件地址 /// 保存路径 public static string DownFile(string fileUrl,string path) { if (!Directory.Exists(path)) Di... 阅读全文
posted @ 2019-08-17 05:31 杜子烟 阅读(2099) 评论(0) 推荐(0) 编辑
摘要: 创建全局脚手架 阅读全文
posted @ 2019-05-30 10:31 杜子烟 阅读(92) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页