https://blog.csdn.net/zaocha321/article/details/52528279 using System.Collections.Generic; using System.ComponentModel; using System.Data; using Syste ...
分类:
Windows开发 时间:
2018-10-29 17:51:46
收藏:
0 评论:
0 赞:
0 阅读:
182
好久没有更新文章了,前段时间写了一系列的文章放到桌面了,想着修修改改,后来系统中勒索病毒了还被公司网络安全的抓到是我电脑,后来装系统文章给装丢了。然后好长一段时间没有写了。 今天记录一下AspNetCore 部署Docker+Centos 7 这里说明一下:Docker 需要用Centos7版本的操 ...
分类:
Windows开发 时间:
2018-10-29 16:47:27
收藏:
0 评论:
0 赞:
0 阅读:
170
string fileName = @"C:\Target\Plugins\print\NLog.dll"; //要检查被那个进程占用的文件 Process tool = new Process(); tool.StartInfo.FileName = @"C:\soft\Handle\handle ...
分类:
Windows开发 时间:
2018-10-29 16:36:53
收藏:
0 评论:
0 赞:
0 阅读:
376
sc description xxxxxxxxxx "需要修改成的描述" sc 是主命令 description 是这个主命令的具体command xxxxxxxxxx 是服务的名称 ...
分类:
Windows开发 时间:
2018-10-29 14:41:49
收藏:
0 评论:
0 赞:
0 阅读:
400
https://blog.csdn.net/coco2d_x2014/article/details/54587134 https://jingyan.baidu.com/article/86112f135e584a273697876b.html ...
分类:
Windows开发 时间:
2018-10-29 14:40:08
收藏:
0 评论:
0 赞:
0 阅读:
160
local permission = MatchUrlTree(ngx.var.uri,ngx.req.get_method()) if permission then local permission_json,err =redis_sess:get(permission_key) if perm... ...
分类:
Windows开发 时间:
2018-10-29 14:39:15
收藏:
0 评论:
0 赞:
0 阅读:
179
远程桌面连接,是我们比较常用的一个功能了,但有时突然不能用了,以下是我遇到该问题,并解决该问题的方法。连接时报的是“发生身份验证错误,要求的函数不受支持”,解决之后细想一下,该问题好像是在我在电脑上安装过Oracle数据库后,才出现的该问题。 远程桌面连接,是我们比较常用的一个功能了,但有时突然不能 ...
分类:
Windows开发 时间:
2018-10-29 14:32:38
收藏:
0 评论:
0 赞:
0 阅读:
212
写这个给自己Mark 一下, 关键是这个多条件筛选,同时有OR 和AND 条件,网上资料很少,从微软官网的 Demo 里找到案例。 链接如下 https://code.msdn.microsoft.com/Exchange-2013-101-Code-3c38582c ...
分类:
Windows开发 时间:
2018-10-29 14:32:04
收藏:
0 评论:
0 赞:
0 阅读:
219
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
分类:
Windows开发 时间:
2018-10-29 13:41:33
收藏:
0 评论:
0 赞:
0 阅读:
652
Func<ΤResult> 委托:代理(delegate)一个返回类型为「由参数指定的类型的值(TResul)」 的无参方法。使用 Func<ΤResult> 委托,无需显式定义一个委托与方法的关联。 Func<ΤResult>原型: public delegate TResult Func<out ...
分类:
Windows开发 时间:
2018-10-29 13:40:40
收藏:
0 评论:
0 赞:
0 阅读:
319
我的理解就是:Action和Func就是官方声明好的代理using System; namespace funcActionDemo{ class MainClass { public static void Main(string[] args) { //Action 的使用 Action<str ...
分类:
Windows开发 时间:
2018-10-29 13:11:37
收藏:
0 评论:
0 赞:
0 阅读:
157
如果公司要搭建自己的 Git 服务器,可以使用 gitblit 这个开源的 Git 服务器 下载gitblit安装包 到 http://gitblit.com/下载安装包 解压缩下载的压缩包即可,无需安装。 安装Java JDK 确保电脑安装了 Java 运行时环境 JRE 或者 JDK (要求 > ...
分类:
Windows开发 时间:
2018-10-29 12:17:25
收藏:
0 评论:
0 赞:
0 阅读:
326
Windows ComboBox获取多列数据 DataRowView data = (DataRowView)this.BindingContext[cmbHospId.DataSource].Current; object ceshi = data["ceshi"]; string ceshi = ...
分类:
Windows开发 时间:
2018-10-29 12:14:16
收藏:
0 评论:
0 赞:
0 阅读:
194
打开VS2017文件新建项目模板选择Visual C#Windows控制台应用程序快速写入Console.WriteLine输入cw,然后快速按tab键两次即可。 ...
分类:
Windows开发 时间:
2018-10-29 10:09:12
收藏:
0 评论:
0 赞:
0 阅读:
127
一:zookeeper安装 下载地址:http://www.apache.org/dyn/closer.cgi/zookeeper 复制修改conf下的zoo_sample.cfg为zoo.cfg 打开将 dataDir=/tmp/zookeeper 修改为:dataDir=E:\\Sotfware ...
分类:
Windows开发 时间:
2018-10-28 23:46:26
收藏:
0 评论:
0 赞:
0 阅读:
222
https://www.cnblogs.com/leolion/p/3789732.html 如果我们想在Visual Studio2013上调试64位ASP.NET MVC的网站(本机环境X64),需要把IIS Express设置成默认的64位开发服务器。 我们可以通过修改注册表来进行设置,方法如 ...
分类:
Windows开发 时间:
2018-10-28 22:57:36
收藏:
0 评论:
0 赞:
0 阅读:
220
public static void CopyEntireDir(string sourcePath, string destPath) { //Now Create all of the directories foreach (string dirPath in Directory.GetDir... ...
分类:
Windows开发 时间:
2018-10-28 22:54:58
收藏:
0 评论:
0 赞:
0 阅读:
205
委托的定义 委托是一个类,它定义了方法的类型,使得可以将方法当作另一个方法的参数来进行传递, 这种将方法动态地赋给参数的做法,可以避免在程序中大量使用 If-Else(Switch)语句,同时使得程序具有更好的可扩展性。 从释义上还是难以理解,直接上代码,举个栗子 GreetPeople 用于向某人 ...
分类:
Windows开发 时间:
2018-10-28 21:33:58
收藏:
0 评论:
0 赞:
0 阅读:
203
linux中我们习惯用sudo命令来临时用另一个用户的身份执行命令。 windows中,通常我们需要用管理员权限执行命令的时候通常是 右键->run as administrator。 用着键盘呢,还要切换成鼠标不免有些麻烦。那么windows中有没有类似sudo的命令呢? 还真有,命令是 runa ...
分类:
Windows开发 时间:
2018-10-28 18:35:35
收藏:
0 评论:
0 赞:
0 阅读:
264
X:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe 可以使用桌面快捷方式启动,也可以从开始菜单启动,还可直接在命令行运行(直接输入“devenv”即可) 重置为C#的开发环境:1、打开VS20152、工... ...
分类:
Windows开发 时间:
2018-10-28 18:31:58
收藏:
0 评论:
0 赞:
0 阅读:
235