摘要: 1、打开cmd窗口 2、输入命令git config --system --unset credential.helper 3、然后去操作推送,拉取和或者克隆等任意操作 4、提示你输入用户名和密码,修改之 5、再在git bash中执行命令:git config --global credentia 阅读全文
posted @ 2022-09-03 10:23 兴趣就是天赋 阅读(634) 评论(0) 推荐(0) 编辑
摘要: static void TaskMethed() { Task task = Task.Factory.StartNew(() => { Console.WriteLine("task开始执行"); new Task(() => { Console.WriteLine("task1执行"); }, 阅读全文
posted @ 2022-08-19 12:09 兴趣就是天赋 阅读(1384) 评论(0) 推荐(0) 编辑
摘要: using System.Web.Http; using Swashbuckle.Application; using System; using Swashbuckle.Swagger; using System.Web.Http.Description; using System.Collect 阅读全文
posted @ 2022-07-08 17:35 兴趣就是天赋 阅读(390) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 附件上传帮助类 /// </summary> public class UploadFileHelper { /// <summary> /// 返回由guid得到的数字 /// </summary> /// <param name="guid"></param> 阅读全文
posted @ 2022-04-13 09:19 兴趣就是天赋 阅读(243) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// RSA加密 /// </summary> public class RSAHelper { #region 登录密钥 //密钥生成:生成地址:http://web.chacuo.net/netrsakeypair 密码格式:PKCS#1 512位(bit) pri 阅读全文
posted @ 2022-03-29 14:27 兴趣就是天赋 阅读(90) 评论(0) 推荐(0) 编辑
摘要: RestSharp版(不同版本,调用上有差异,本处使用的版本是:108.0.3.0) /// <summary> /// HTTP请求帮助类 /// </summary> public static class RequestHelper { /// <summary> /// 默认请求超时时间(毫 阅读全文
posted @ 2021-07-25 18:25 兴趣就是天赋 阅读(210) 评论(0) 推荐(0) 编辑
摘要: DECLARE @tablename sysname; DECLARE @strsql NCHAR(500); DECLARE tableNameCursor CURSOR FOR SELECT b.name FROM sysobjects b WHERE xtype = 'U' AND b.nam 阅读全文
posted @ 2021-01-11 15:38 兴趣就是天赋 阅读(119) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8" ?> <configuration> <log4net> <!--日志保存到文件里面 txt--> <appender name="RollingLogFileAppender" type="log4net.Appender. 阅读全文
posted @ 2020-11-05 14:22 兴趣就是天赋 阅读(649) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// ASCII 帮助类 /// </summary> public static class ASCIIHelper { /// <summary> /// 含中文字符串转ASCII /// </summary> /// <param name="str"></par 阅读全文
posted @ 2020-07-20 18:22 兴趣就是天赋 阅读(147) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 维吉尼亚加密与解密 /// </summary> public static class VigenereHelper { /// <summary> /// 密钥 /// </summary> private static string TableKey = @ 阅读全文
posted @ 2020-07-20 17:46 兴趣就是天赋 阅读(172) 评论(0) 推荐(0) 编辑