新建文本文档,添加以下内容,改后缀名为.reg Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.md] @="MarkdownFile" "PerceivedType"="text" "Content Type"="text/plai ...
分类:
其他好文 时间:
2021-06-11 18:38:13
阅读次数:
0
##Redis Redis(Remote Dictionary Server ),即远程字典服务,是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。 ####1.1 定义 redis是一个key-value存储系统。和Me ...
分类:
其他好文 时间:
2021-06-11 18:36:27
阅读次数:
0
在实体类中添加@TableId注解: @Data public class DxApplication { @TableId(type = IdType.AUTO) private Long id; private String name; private Integer sort; } 在navi ...
分类:
其他好文 时间:
2021-06-11 18:35:34
阅读次数:
0
防抖 function debounce(fun,delay){ let timer = null return function(){ if(timer){ clearTimeout(timer) } timer = setTimeout(()=>{ fun.apply(this,argument ...
分类:
编程语言 时间:
2021-06-11 18:25:11
阅读次数:
0
T1打包 一个二维01背包的板子,状态转移方程$$Dp_{j,k}=max\left \{Dp_{j,k},Dp_{j-Weight_i,k-V_i}+Value_i\right \}$$ T2暗黑破坏神 大概类似于分组背包,开$long\ long$,在更新$Dp$的过程中记录路径,递归输出即可。 ...
分类:
其他好文 时间:
2021-06-11 18:06:14
阅读次数:
0
使用QT 的信号与槽函数的过程,编译完成后,在运行程序是出现如下信息: QObject::connect: Cannot queue arguments of type 'myReadBuf'(Make sure 'myReadBuf' is registered using qRegisterMe ...
分类:
其他好文 时间:
2021-06-11 18:06:00
阅读次数:
0
PUT nba { "settings":{ "number_of_shards": 1, "number_of_replicas": 0 }, "mappings":{ "properties":{ "name_cn":{ "type":"text" }, "name_en":{ "type":" ...
分类:
移动开发 时间:
2021-06-11 17:45:22
阅读次数:
0
numpy库的基本操作 import numpy as np import math #创建数组 a=np.arange(10) print(a) print(type(a)) #对数组里面的元素开平分 b=[3,4,9] #定义结果列表 result=[] #遍历列表 for i in b: pr ...
分类:
编程语言 时间:
2021-06-10 18:30:37
阅读次数:
0
cv2.threshold (src, thresh, maxval, type) cv2.threshold (源图片, 阈值, 填充色, 阈值类型) 这里看看具体例子和矩阵中的变换: import numpy as np import cv2 from matplotlib import pyp ...
分类:
其他好文 时间:
2021-06-10 18:30:19
阅读次数:
0
#COMMAND="hive -i settings/load-${SCHEMA_TYPE}.sql -f ddl-tpch/bin_${SCHEMA_TYPE}/${t}.sql \ # -d DB=${DATABASE} \ # -d SOURCE=tpch_text_${SCALE} -d B ...
分类:
其他好文 时间:
2021-06-10 18:25:11
阅读次数:
0