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