码迷,mamicode.com
首页 >  
搜索关键字:interval    ( 2017个结果
html新标签
//定义导航链接<nav> <!--导航链接标签--> <ul> <!--配合ul使用--> <li>首页</li> <li>关于</li> <li>产品</li> <li>联系</li> </ul> </nav> <header>定义一个页面或是区域的头部</header> <div> <sect ...
分类:Web程序   时间:2020-05-31 12:36:22    阅读次数:143
JavaScript常用工具类
1.邮箱 export const isEmail = (s) => { return /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})$/.test(s) } 2.手机号码 export const isMobile = ...
分类:编程语言   时间:2020-05-30 20:15:20    阅读次数:72
Spring cloud kafka stream pitfalls
Producerbehavior:Ifkafkabrokerisnotstarted,surprisingly,evenifspringcloudkafkastreamfailstocreateakafkaproducer,itwillnotfailfastandapplicationwillstartupasnormalandonlyanexceptionappearsonconsole.See
分类:编程语言   时间:2020-05-29 09:53:33    阅读次数:74
NTP服务器和客户端的使用
NTP是网络时间协议(NetworkTimeProtocol),它是用来同步网络中各个计算机的时间的协议。在计算机的世界里,时间非常地重要,例如对于火箭发射这种科研活动,对时间的统一性和准确性要求就非常地高,是按照A这台计算机的时间,还是按照B这台计算机的时间?NTP就是用来解决这个问题的,NTP(NetworkTimeProtocol,网络时间协议)是用来使网络中的各个计算机时间同步的一种协议。
分类:其他好文   时间:2020-05-28 13:06:12    阅读次数:135
谷粒商城的快速开发(四)
18、快速开发-配置&测试微服务基本CRUD功能 19、快速开发-逆向生成所有微服务基本CRUD代码 根据之前的博客,把代码抽取,然后把各个模块都建立一下,看了一下代码,感觉配置都很简单,后面再改,先按照教程的来。 下面就那这个模块做个实列: spring: datasource: username ...
分类:其他好文   时间:2020-05-26 12:14:39    阅读次数:76
每隔 xxxx 秒 刷新一次页面
每隔30秒 刷新一次页面 <head> <meta http-equiv="refresh" content="30"> </head> 或者使用JS定时器 //每隔1秒调用 show() 函数 <script type="text/javascript"> function show(){ ale ...
分类:其他好文   时间:2020-05-25 19:34:22    阅读次数:55
Mybatis整合第三方缓存
1) 为了提高扩展性。MyBatis定义了缓存接口Cache。我们可以通过实现Cache接口来自定义二级缓存 2) EhCache 是一个纯Java的进程内缓存框架,具有快速、精干等特点. 3) 整合EhCache缓存的步骤: ① 导入ehcache包,以及整合包,日志包 ehcache-core- ...
分类:其他好文   时间:2020-05-25 19:27:50    阅读次数:71
项目中常用方法汇总
防抖 export function throttle (fn, interval = 500) { let canRun = true return function () { if (!canRun) return canRun = false setTimeout(() => { fn.app ...
分类:其他好文   时间:2020-05-25 16:02:53    阅读次数:50
986. Interval List Intersections
Given two lists of closed intervals, each list of intervals is pairwise disjoint and in sorted order. Return the intersection of these two interval li ...
分类:其他好文   时间:2020-05-24 09:40:12    阅读次数:58
915. Partition Array into Disjoint Intervals
问题: 给定数组,切分为left和right,使得left的所有元素<=right的所有元素,返回left的长度 Example 1: Input: [5,0,3,8,6] Output: 3 Explanation: left = [5,0,3], right = [8,6] Example 2: ...
分类:其他好文   时间:2020-05-23 13:20:11    阅读次数:49
2017条   上一页 1 ... 9 10 11 12 13 ... 202 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!