Object.assign 是什么? 此处直接复制mdn文档的内容如下: The Object.assign() method is used to copy the values of all enumerable own properties from one or more source ob ...
分类:
其他好文 时间:
2020-05-04 17:03:26
阅读次数:
58
函数功能:waitKey()函数的功能是不断刷新图像,频率时间为delay,单位为ms返回值为当前键盘按键值 1、waitKey()–是在一个给定的时间内(单位ms)等待用户按键触发;如果用户没有按下键,则接续等待(循环) 常见:设置waitKey(0),则表示程序会无限制的等待用户的按键事件 一般 ...
分类:
其他好文 时间:
2020-05-04 15:30:48
阅读次数:
62
DI依赖注入 依赖:bean对象的创建依赖于容器。 注入:bean对象中的所有属性由容器来注入。 1. 构造器注入 2. Set方式注入 要求被注入的属性 , 必须有set方法 , set方法的方法名由set + 属性首字母大写 , 如果属性是boolean类型 , 没有set方法 , 是 is . ...
分类:
其他好文 时间:
2020-05-03 16:29:28
阅读次数:
56
from re import sub def camel(s): print(s) # some_database_field_name # Some label that needs to be camelized # some-javascript-property # some-mixed_s ...
分类:
其他好文 时间:
2020-05-03 14:45:22
阅读次数:
68
snap.pro snap.h snap.cpp main.cpp ...
分类:
其他好文 时间:
2020-05-03 01:12:30
阅读次数:
64
点云数据文件常用格式 文件类型汇总 OFF Object File Format PLY Polygon File Format also known as the Stanford Triangle Format PTS Laser scan data format 文件详细格式 1. OFF O ...
分类:
其他好文 时间:
2020-05-02 22:42:14
阅读次数:
555
马上要面试,这里记录一下Vue的基础面试题,手写一遍加深理解,大神不用浪费时间往下看了 一、对于MVVM的理解 MVVM是MOdel-View-ViewModel的缩写 Model代表数据模型,可以在Model中定义数据修改和操作的业务逻辑 View代表UI组件,负责将数据模型转化为UI展现出来 V ...
分类:
其他好文 时间:
2020-05-02 22:34:31
阅读次数:
219
In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the ...
分类:
其他好文 时间:
2020-05-02 14:47:58
阅读次数:
59
debounce(fn,delay=500) { let timer = null return function(){ if(timer){ clearTimeout(timer) } timer = setTimeout(fn,delay) } } ...
分类:
Web程序 时间:
2020-05-02 14:38:53
阅读次数:
52
在上一篇文章中,介绍了cpufreq的core层,core提供了cpufreq系统的初始化,公共数据结构的建立以及对cpufreq中其它子部件提供注册功能。core的最核心功能是对policy的管理,一个policy通过cpufreq_policy结构中的governor字段,和某个governor ...
分类:
系统相关 时间:
2020-05-01 19:00:49
阅读次数:
77