Easter79 Easter79
3年前
sql:mysql:函数:TIMESTAMPDIFF函数实现TimeStamp字段相减,求得时间差
<divclass"htmledit\_views"id"content\_views"<p&nbsp;函数内指定是minute,则最终结果value值的单位是分钟,如果函数内指定为hours,则最终结果value值单位为小时。</p<preclass"has"name"code"<codeclass"hljssql"<
Easter79 Easter79
3年前
Springboot整合Redis缓存机制
先放几个必要的依赖吧<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringbootstarterweb</artifactId</dependency<dependency<groupIdorg.springframework.boo
Wesley13 Wesley13
3年前
PHP 5 安装配置(版本大于等于 5.3)
所需依赖包安装yum install autoconfyum install automakeyum install libtoolyum install re2cyum install bisonPHP安装(Apache版)
Stella981 Stella981
3年前
ES6中Generator理解
1\.生成器函数声明  function\ name(args){};2\.yield使用function hello(){    console.log('before hello');  //可看到hello()并不会立刻执行函数, 到第一次next调用时才会    var name 
Wesley13 Wesley13
3年前
Java之CheckedException
1.先来科普一下CE到底是什么吧。Java要求你必须在函数的类型里面声明它可能抛出的异常。比如,你的函数如果是这样:voidfoo(stringfilename)throwsFileNotFoundException{if(...){thrownewFileNotFoundExcepti
Wesley13 Wesley13
3年前
Java核心技术读书笔记02
第四章对象和类类之间的关系最常见的三种关系1.依赖("usesa")Order依赖Account类看信息2.聚合("hasa")Order包含多个Item3.继承("isa")知识点:所有Java对象都存在堆中。GregorianCalendar类所包含的方法要比Date类多得多。public避免标记
Stella981 Stella981
3年前
ElasticSearch Java API 增删改查操作
1.添加pom.xml依赖<dependency<groupIdjunit</groupId<artifactIdjunit</artifactId<version4.11</version<scopetest</scope</dependency<dependency<groupI
Wesley13 Wesley13
3年前
mysql 8.0.16 单主 mgr搭建
mysql8.0.16单主mgr搭建环境介绍:192.168.142.142db142192.168.142.143db143192.168.142.145db1451、安装依赖包yumyinstallmakegccccmake
Wesley13 Wesley13
3年前
JS中小括号的用法总结
小括号用法1\.改变运算符的优先级vara\4\(12);console.log(a);//122.函数声明和函数调用参数列表:functionfunc(a,b){//代码}func(1,2);//参数列表注意点functi
Stella981 Stella981
3年前
Opencv读取并获取视频属性
opencv中通过VideoCaptrue类对视频进行读取操作以及调用摄像头.常用的操作如下:1、常用构造函数1.VideoCapture类的构造函数:C:VideoCapture::VideoCapture()C:VideoCapture::VideoCapture(conststring&filename)C