一、借助lombok之@Builder注解 User类源码: package com.yang.webflux.controller; import lombok.Builder; /** * @author: Yang * @date: 2017/3/26 23:55 * @description ...
分类:
编程语言 时间:
2021-06-17 16:46:29
阅读次数:
0
[数据库]MySQL基础知识 参考: MariaDB / MySQL数据类型-阿里云开发者社区 (aliyun.com) MariaDB 教程_w3cschool MySQL 教程 | 菜鸟教程 (runoob.com) MariaDB Server Documentation - MariaDB ...
分类:
数据库 时间:
2021-06-17 16:43:50
阅读次数:
0
python中max 与lambda函数联用 dic={'k1':10,'k2':100,'k3':30} print(dic[max(dic,key=lambda k:dic[k])]) #输出结果为100 当看到*max(dic,key=lambda k:dic[k])*时懵逼了,这怎么比大小, ...
分类:
编程语言 时间:
2021-06-17 16:43:38
阅读次数:
0
深入了解一下"SELECT * "效率低的原因及场景 一、效率低的原因 增加查询分析器解析成本。 增减字段容易与 resultMap 配置不一致。 无用字段增加网络 消耗,尤其是 text 类型的字段。 1.不需要的列会增加数据传输时间和网络开销 1、用“SELECT * ”数据库需要解析更多的对象 ...
分类:
其他好文 时间:
2021-06-17 16:38:21
阅读次数:
0
dim(t1) attributes(t1) #综合输出所有行名、列名、以及class结果。 str(t1) #显示每个变量的行列数和类型 class(t1) #查看变量类型,vector、data.frame、matrix、factor、listmode(t1) #查看数据大类,character ...
分类:
其他好文 时间:
2021-06-17 16:38:05
阅读次数:
0
内容概要 1 文件查找 内容详细 1 文件查找 # 查找命令所在位置 ? which ls ... ? ps: 一些命令的路径都被配置到了环境变量PATH里 ? # 根据文件属性查找文件(find) ? 前戏: 共用参数:(默认是并且的关系) -a : 并且 -o : 或者 例: [root@pyt ...
分类:
其他好文 时间:
2021-06-17 16:36:26
阅读次数:
0
实验任务三 1.正确输出,且生成了file3.dat 2.是正确的,且直观可读 实验任务四 1.正确输出,生成了file4.dat,且用记事本打开直观可读 2. #include <stdio.h> #include <stdlib.h> typedef struct student{ int nu ...
分类:
其他好文 时间:
2021-06-17 16:34:46
阅读次数:
0
基础数据类型 int >Integer long >Long float >Float double >Double boolean >Boolean char[] >String 数组 基本类型的一组数据,使用数组来表示 int[] arrs = new int[5]; 数据越界问题--QA需注意 ...
分类:
编程语言 时间:
2021-06-17 16:34:13
阅读次数:
0
打开题目 是一串代码 1 <?php 2 extract($_GET); 3 if (!empty($ac)) 4 { 5 $f = trim(file_get_contents($fn)); 6 if ($ac $f) 7 { 8 echo "<p>This is flag:" ." $flag< ...
分类:
其他好文 时间:
2021-06-17 16:32:24
阅读次数:
0
环境描述 生产环境通过gitlab-running实现自动化发布业务,现需要收集客户端的真实ip,需要将externaltrafficpolicy改为lacal模式(原来是cluster模式),前天开发反映无法发布业务(镜像拉取不成功)。想到就改动过externaltrafficpolicy所以考虑 ...
分类:
其他好文 时间:
2021-06-17 16:29:35
阅读次数:
0