python内置函数-排列组合函数 product 笛卡尔积 (有放回抽样排列) permutations 排列 (不放回抽样排列) combinations 组合,没有重复 (不放回抽样组合) combinations_with_replacement 组合,有重复 (有放回抽样组合) 详细的参见 ...
分类:
编程语言 时间:
2020-07-01 14:13:21
阅读次数:
81
1:在实体类上加上注解 /** * 产品名称 */ @TableField("product_name") @NotBlank private String productName; 2:service的校验方法 @Override public void validationOrderRelati ...
分类:
其他好文 时间:
2020-07-01 09:52:35
阅读次数:
165
很多时候我们需要了解下连接的环境是否为虚拟机。这个小知识最初是和Minor学来的,可以使用dmidecode命令判定当前连接系统是物理机/虚拟机/ECS,并且还可以查到对应的生产厂商。非常好用。 dmidecode -s system-product-name dmidecode -s system ...
分类:
其他好文 时间:
2020-06-30 22:48:17
阅读次数:
90
写在前面 引入了 React 之后,开始使用 React 做一个小的 demo,即实现一个按钮点击加一,使用 CDN 引入 React,使用在线工具 codesandbox 的原生 JS 项目编写。 1. 引入 React 和 ReactDOM 在 index.html 中使用 BootCDN 引入 ...
分类:
其他好文 时间:
2020-06-30 22:16:05
阅读次数:
90
release必须要release下,把dll复制到C:\Qt\Qt5.13.0\5.13.0\mingw73_64\plugins\designer然后就可以在designer中看到自定义的插件点击帮助-----关于插件就可以看到插件debug与release生成库的区别debug下的dll库末尾带drelease:::customwidgetplugin.dlllibcustomwidgetp
分类:
其他好文 时间:
2020-06-30 19:07:12
阅读次数:
70
location / { root /Users/heyang/Desktop/web/static; index index.html index.htm; try_files $uri $uri/ /index.html; } ...
分类:
其他好文 时间:
2020-06-30 17:12:37
阅读次数:
64
设计模式(Design Patterns) ——可复用面向对象软件的基础 设计模式(Design pattern)是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的, ...
分类:
编程语言 时间:
2020-06-30 12:50:59
阅读次数:
60
if not exists(select 1 from sys.servers where name='DBVIP') begin EXEC sp_addlinkedserver @server='DBVIP',--被访问的服务器别名(任意的名称) @srvproduct='', @provider ...
分类:
其他好文 时间:
2020-06-30 10:47:22
阅读次数:
58
腾讯TRTC文档: https://cloud.tencent.com/document/product/647 https://cloud.tencent.com/developer/article/1539376 https://www.qcloudtrtc.com/webrtc-samples ...
分类:
其他好文 时间:
2020-06-29 15:39:55
阅读次数:
67
在这里共享最新的XhorseVVDIBMWTool软件V1.6.0免费下载链接和相关更新通知。VVDIBMWV1.6.0免费下载链接:https://public-ap-southeast-1-1251058331.s3-ap-southeast-1.amazonaws.com/download/product/bmwtool/software/BMWTOOL-InstallerV160.exe&
分类:
其他好文 时间:
2020-06-29 15:36:53
阅读次数:
62