为 Harbor 配置 swagger 通过浏览器访问 http://192.168.0.241/static/vendors/swagger/index.html ...
分类:
Windows程序 时间:
2018-10-19 13:55:22
阅读次数:
1946
一,上视图代码,如下 二,显示结果 三,解决方法是使用MVC自带的这个函数@Html.Raw() ...
1,选桥接模式,网卡无线就选无线,有线就选有线,有一个方法说可以配置新的网卡,看起来有点靠谱的样子,就是这网址https://jingyan.baidu.com/article/948f59242e601dd80ff5f929.html,但是我没有找到对应的位置可能win10版本问题;设置ip地址在 ...
ClientScript.RegisterStartupScript:http://msdn.microsoft.com/zh-cn/library/system.web.ui.clientscriptmanager.registerstartupscript(v=vs.80) ClientScri... ...
1、下载 http://nginx.org/ 选择最新稳定版本,例如nginx-1.15.5 mainline version has been released. 点击后,跳转页面,选择Stable version的windows版本,例如nginx/Windows-1.14.0 2、安装 解压即 ...
1.本地策略-安全选项-网络访问:本地账户的共享和安全模型 改为:来宾2.本地策略-安全选项-账户:来宾账户状态 改为:启用3.本地策略-用户权限分配-拒绝从网络访问这台计算机 删除guest4.关闭密码保护共享 ...
/// /// 截取中间字符 /// /// 全字符串 /// 开始字符串 /// 结束字符串 /// public static string Substring(string text,string start,string end) { Regex regex = new Regex("(?<... ...
Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of ...
笔者欲将原机的硬盘更换为更大容量的SSD。由于新旧硬盘的型号规格不一致,GHOST之后发现硬盘上的Windows10不能启动。下面简单记录修复过程。一、准备Windows10PE启动盘二、修复Windows启动配置
public static class Base64Helper { /// /// base64字符保存图片到本 /// /// 保存的图片完整路径 /// base64字符串 public static void Base64SaveImage(string filePath, str... ...
原文:C# Base64Helper public static class Base64Helper { /// /// base64字符保存图片到本 /// /// 保存的图片完整路径 /// base64字符串 public static void Base64SaveImage(st... ...
c# 中类,成员,枚举,结构等默认访问修饰符是? 根据MSDN文档有: [MSDN] Classes and structs that are not nested within other classes or structs can be either public or internal. A ...
在taosir父目录的pom.xml中进行版本管理 给taosir-api的pom.xml中添加依赖配置 添加配置类 为控制层添加相应注解 按顺序启动 taosir-eureka注册中心 taosir-dreamHouse服务提供者 taoisr-api服务消费者 访问地址 http://local ...
委托(Delegate) 是存有对某个方法的引用的一种引用类型变量。引用可在运行时被改变。 委托特别用于实现事件和回调方法。所有的委托都派生自 System.Delegate 类。 (简单说就是委托是一个空壳,调用委托就是对其赋值(值为某一方法)并执行该值;) 简单实现五步骤: 1.声明委托类; - ...
三种计算c#程序运行时间的方法第一种:利用 System.DateTime.Now 第二种利用Stopwatch 第三种利用c++ API 测试结果:example1 time 2001.486example2 time 2000.6587example3 time 2.00032488719712 ...
原文:WPF中的3D Wireframe WPF不支持画三维线,但开发人员提供了ScreenSpaceLines3D 类用于实现这个功能。我已经在程序中实现并成功显示3D Wireframe,并能够进行3D Solid和3D Wireframe的切换。 我在熟悉这个类的基础上,自己定义了3D Wir... ...
原文:WPF 3D model - Sphere, Cone, and Cylinder Extending Visual3D - Sphere, Cone, and Cylinder http://blogs.msdn.com/b/danlehen/archive/2005/10/16/48159... ...
嘟嘟嘟 这竟然是一道贪心题,然而我在不看题解之前一直以为是dp。 首先最优的配对一定是相邻两个建筑物配对,所以我们求出差分数组,就变成了在n - 1个数中选出不相邻的k个数,使这k个数的和最小。 贪心是在回事呢?首先把所有点放在一个小根堆中,然后如果取出一个点ai,就把ai-1 + ai+1 - a ...
用git: https://git-scm.com/downloads GitExtentions: https://sourceforge.net/projects/gitextensions/ BeyondCompare: https://www.scootersoftware.com/down ...
要解决的目标:如何让 Datagridview 快速平滑显示大量数据 通常,Winform 下的表格控件是很“低效”的,如 DataGrid 和 DataGridView。造成低效的原因在于在默认的设定下,它们都诚实的和数据源做了“真绑定”,这种绑定无论你使用了那种方式对数据源进行载入和管理,表格控 ...