对于新手来说,Swagger入门是十分容易的 1.首先添加nuget包,Swashbuckle.AspNetCore这一个就可以了 2.添加SwaggerConfig文件 /// <summary> /// SwaggerConfig /// </summary> public class Swag ...
分类:
其他好文 时间:
2020-06-24 12:12:55
阅读次数:
75
1. 系统安装程序anaconda bootloader --> kernel(initrd(rootfs)) --> anaconda anaconda: tui:基于cureses的文本配置窗口 gui:图形界面 2. CentOS安装的启动流程 2.1 第一阶段:MBR:boot.cat 在光 ...
分类:
其他好文 时间:
2020-06-23 15:23:14
阅读次数:
82
ts文档 1.声明 声明标识 + 变量名 + 声明类型 = 值 var a:number = 56; (C => int a = 5;) enum REN{nan='男人',nv='女人',cen='中性人'} 2.类型 undefined number: 数值类型;(可以是小数) string : ...
分类:
其他好文 时间:
2020-06-23 15:05:05
阅读次数:
46
如果socket需要绑定一个主机的多个IP,也包括IPv4,ipv6的双栈主机。可以看看下面的 原文地址:https://blog.csdn.net/cyblueboy83/article/details/2052267?utm_medium=distribute.pc_relevant.none- ...
分类:
其他好文 时间:
2020-06-22 23:18:24
阅读次数:
61
题目如下: There are n cities numbered from 0 to n-1 and n-1 roads such that there is only one way to travel between two different cities (this network for ...
分类:
其他好文 时间:
2020-06-22 15:47:54
阅读次数:
60
配置一个简单的dns服务 先下载一个需要用到的软件 bind `yum -y install bind` 编辑配置文件 named.conf `vim /etc/named.conf 在配置文件里面修改两个部分,就是图中的 any 位置(之前不是any给修改成any的) `` options { # ...
分类:
其他好文 时间:
2020-06-22 15:06:28
阅读次数:
80
In a deck of cards, every card has a unique integer. You can order the deck in any order you want. Initially, all the cards start face down (unreveale ...
分类:
其他好文 时间:
2020-06-22 13:13:01
阅读次数:
57
1.Integer Inquiry 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1047 解法:一道求大数之和,我们利用java里的BigInteger就可以轻松的解决,不过需要注意下格式的问题,每输出一个就要空一行,最后一个不用 代码: impor ...
分类:
其他好文 时间:
2020-06-21 18:09:00
阅读次数:
62
DRF中的Request 在Django REST Framework中内置的Request类扩展了Django中的Request类,实现了很多方便的功能--如请求数据解析和认证等。 比如,区别于Django中的request从request.GET中获取URL参数,从request.POST中取某 ...
分类:
其他好文 时间:
2020-06-21 18:07:49
阅读次数:
70
python模块就是以.py命名的文件 下面在中创建一个包含函数的my_print模块: hello_world.py def my_print(con): print(con) 现在创建一个名为import_test.py的文件,这个文件导入刚刚创建的模块 import hello_world m ...
分类:
编程语言 时间:
2020-06-21 18:00:59
阅读次数:
158