上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 20 下一页
摘要: 1. out-variables(Out变量) 以前,我们使用out变量的时候,需要在外部先申明,然后才能传入方法,类似如下: string ddd = ""; //先申明变量 ccc.StringOut(out ddd); Console.WriteLine(ddd); 在C#7.0中我们可以不必 阅读全文
posted @ 2017-09-15 08:54 dcrenl 阅读(1024) 评论(0) 推荐(0)
摘要: 1、vi & vim 有两种工作模式: (1) 命令模式:接受、执行 vi & vim 操作命令的模式,打开文件后的默认模式; (2) 编辑模式:对打开的文件内容进行 增、删、改 操作的模式; #在编辑模式下按下 ESC 键,回退到命令模式。 2、创建、打开文件:$ vi [filename] (1 阅读全文
posted @ 2017-09-15 08:52 dcrenl 阅读(574) 评论(0) 推荐(0)
摘要: push的时候提示fatal: refusing to merge unrelated histories 假如我们的源是origin,分支是master,那么我们 需要这样写git pull origin master allow-unrelated-histories 提示: hint: Upd 阅读全文
posted @ 2017-08-30 16:35 dcrenl 阅读(536) 评论(0) 推荐(0)
摘要: Bonobo Git Server 下载地址: https://bonobogitserver.com/ 安装方法:https://bonobogitserver.com/install/ 配置简单,基于.net平台的MVC网站 阅读全文
posted @ 2017-08-04 13:46 dcrenl 阅读(544) 评论(0) 推荐(0)
摘要: 下载地址为:http://npoi.codeplex.com/releases/view/616131 可以操作excel表,行,单元格内家及样式等。 使用示例: using (FileStream fs = File.OpenRead(@"E:\a.xls")) //打开myxls.xls文件 { 阅读全文
posted @ 2017-08-02 16:30 dcrenl 阅读(933) 评论(0) 推荐(0)
摘要: 使用WinPost提交数据在xp下没有问题,Post方法在win7以上没有问题. WinPost只支持https提交,其它方法支持https和http 使用WinPost方法需要使用dll文件libeay32.dll、ssleay32.dll两个文件 阅读全文
posted @ 2017-08-02 13:48 dcrenl 阅读(3651) 评论(0) 推荐(0)
摘要: git fetch --all git reset --hard origin/master 阅读全文
posted @ 2017-07-21 16:12 dcrenl 阅读(6590) 评论(1) 推荐(1)
摘要: Delphi提供了一个TInifile类,使我们可以非常灵活的处理INI文件 一.INI文件的结构[小节名]ini文件 关键字1=值1 关键子2=值2INI文件允许有多个小节,每个小节又允许有多个关键字,“=”后面是该关键字的值。值的类型有三种:字符串、整型数值和布尔值。其中字符串存贮在INI文件中 阅读全文
posted @ 2017-07-21 16:11 dcrenl 阅读(699) 评论(0) 推荐(0)
摘要: 原来写过一个计算MD5的程序,是用了一个叫MD5.pas的单元,使用起来还算简单,但还有更简单的办法,安装了indy就会有IdHashMessageDigest单元(delphi 7默认安装indy) 有篇文章教怎么用IdHashMessageDigest计算字符串md5,计算文件md5却没有说,在 阅读全文
posted @ 2017-07-21 16:11 dcrenl 阅读(2928) 评论(0) 推荐(1)
摘要: git "Could not read from remote repository.Please make sure you have the correct access rights."解决方案 git "Could not read from remote repository.Please 阅读全文
posted @ 2017-07-21 16:10 dcrenl 阅读(379) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 20 下一页