摘要:
**使用镜像下载,地址:**https://gitee.com/typora-mirror/Typora-Mirror/releases 阅读全文
摘要:
[SqlServer2019安装教程](https://www.cnblogs.com/youmingkuang/p/12257367.html "SqlServer2019安装教程") 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LinkConsole { class Prog 阅读全文
摘要:
[TOC] ## 一、前言 RESTful API 是基于HTTP协议产生的一种相对简单的API设计方案; RESTful 的核心是 everything is a “resource”,所有的HTTP action,都应该是相应resource上可以被操作和处理的,而API 就是对资源的管理操作, 阅读全文

摘要:
//1.字节转换 float m = 5f; var btValue = BitConverter.GetBytes(m).Reverse().ToArray(); //转为原值字符串 string m1 = System.Text.Encoding.Default.GetString(btValu 阅读全文
摘要:
一、定义Class using System; using System.Runtime.InteropServices; using System.Text; namespace IniDemo { public class IniFile { private string m_FileName; 阅读全文
摘要:
public static void WriteLog(string strLog) { string pathName = Environment.CurrentDirectory + "\\LOG\\" + DateTime.Now.ToString("yyyyMMdd"); string Fi 阅读全文
摘要:
private Dictionary<string, string> GenDictionary(byte[] inMsg) { Dictionary<string, string> dictionary = new Dictionary<string, string>(); string arg= 阅读全文
摘要:
一、工具类代码 public class TaskHelper { #region 多线程操作 /// <summary> /// 功能描述:多线程执行方法,方法无参数,无返回值 /// </summary> /// <param name="func">方法,如果方法中调用了控件,请使用 Thre 阅读全文
摘要:
public class WcfChannelFactory { #region Wcf服务工厂 public static T CreateWCFServiceByURL<T>(string url) { return CreateWCFServiceByURL<T>(url, "wsHttpBi 阅读全文
摘要:
将Git 项目迁移到另一个仓库 1、创建旧仓库的裸克隆 git clone --bare https://github.com/exampleuser/old-repository.git 执行上述命令后,会在本地生成一个名叫 old-repository.git的文件夹。 2、迁移到新仓库 cd 阅读全文
摘要:
Typora 快捷键大全 1、新建 Ctrl + N 2、打开 Ctrl + O 3、快速打开 Ctrl + P 4、重新打开已经关闭文件 Ctrl+ Shift + T 5、复制 Ctrl + C Ctrl + Shift + C //复制为MarkDown 6、剪切 Ctrl + X 7、黏贴 阅读全文
摘要:
Git中tag使用教程 一、tag简介 tag是git版本库的一个标记,指向某个commit的指针。tag主要用于发布版本的管理,一个版本发布之后,我们可以为git打上 v.1.0.1 ,v.1.0.2 …这样的标签。tag感觉跟branch有点相似,但是本质上和分工上是不同:tag对应某次comm 阅读全文
摘要:
Git常用命令汇总二 1、撤销修改 1.1撤销修改(git add/rm 之前) git checkout -- * //是撤销从上次提交之后所做的所有修改 git checkout -- filaname //是撤销从上次提交之后的单个文件的修改 1.2、git add/rm 之后,还未git c 阅读全文
摘要:
Git撤销修改命令 一、撤销修改(git add/rm 之前) git checkout -- * //是撤销从上次提交之后所做的所有修改 git checkout -- filaname //是撤销从上次提交之后的单个文件的修改 二、git add/rm 之后,还未git commit 情况一: 阅读全文
摘要:
GitHub Desktop使用简介 阅读全文
摘要:
git 忽略文件夹或者文件 ".gitignore" 简介 如果 git 文件夹的根目录下有这个文件,则直接填入进去;如果没有的话,git根目录新建文件 .gitignore (和.git 在同一文件夹下面) 阅读全文
摘要:
Git中一些选项解释 -d --delete:删除 -D --delete --force的快捷键 -f --force:强制 -m --move:移动或重命名 -M --move --force的快捷键 -r --remote:远程 -a --all:所有 阅读全文
摘要:
[rejected] master -> master (non-fast-forward)错误解决方案 一、原因分析 大概意思是本地库和远程库没有同步导致无法提交合并,冲突导致无法push 二、解决方案 那么找到原因了就好办了,只要将本地库和远程库同步就可以了 git pull origin ma 阅读全文
摘要:
Git :fatal: refusing to merge unrelated histories解决方案 一、原因分析 两个分支是两个不同的版本,具有不同的提交历史 二、解决方案 允许不相关历史提,强制合并,确实解决了这个问题 git pull origin main --allow-unrela 阅读全文