1、Redis中key的的过期时间 通过EXPIRE key seconds命令来设置数据的过期时间。返回1表明设置成功,返回0表明key不存在或者不能成功设置过期时间。在key上设置了过期时间后key将在指定的秒数后被自动删除。被指定了过期时间的key在Redis中被称为是不稳定的。 当key被D ...
分类:
其他好文 时间:
2019-10-26 17:05:46
阅读次数:
87
资料来源 https://wiki.wireshark.org/Network_Lock_Manager 目的 The purpose of the NLM protocol is to provide something similar to POSIX advisory file locking ...
分类:
Web程序 时间:
2019-10-25 10:02:18
阅读次数:
120
# Eureka错误解决方法 ## security.basic.enabled 配置过时或不可用默认情况下:用户名:user密码:启动应用在控制台会输出,如下图: 也可以通过如下属性配置:spring.security.user.namespring.security.user.password如 ...
分类:
其他好文 时间:
2019-10-24 23:43:05
阅读次数:
128
"Codeforces Round 329 (Div. 2)" D. Happy Tree Party time limit per test 3 seconds memory limit per test 256 megabytes input standard input output stan ...
分类:
移动开发 时间:
2019-10-20 00:40:17
阅读次数:
112
1.将字符串的时间转换为时间戳 方法: a = "2013-10-10 23:40:00" 将其转换为时间数组 import time timeArray = time.strptime(a, "%Y-%m-%d %H:%M:%S") 转换为时间戳: timeStamp = int(time.mkt ...
分类:
编程语言 时间:
2019-10-19 14:44:21
阅读次数:
99
首先介绍一下 命令的使用方法, top 程序提供了运行系统的动态实时视图, 它可以显示系统摘要信息以及当前线程或进程的列表 Global defaults A Alt display Off (full screen) d Delay time 1.5 seconds H Threads mode ...
分类:
其他好文 时间:
2019-10-18 20:37:12
阅读次数:
102
一、案例演示 1、首先我们把截图的方法单独进行封装方便以后调用。 2、以qq邮箱登录为例,我们故意输入错误的密码让case执行失败然后进行截图。 运行结果:在指定目录成功生成了错误截图文件 如果有不明白的小伙伴可以加群“555191854”问我,群里都是软件行业的小伙伴相互一起学习。 内容具有连惯性 ...
分类:
其他好文 时间:
2019-10-18 18:42:25
阅读次数:
87
```javascript / 获取自然月开始结束时间 @param { } year @param { } month / function getMonthBeginEnd(year, month) { if (~~year === 0 || ~~month === 0) { throw new ...
分类:
Web程序 时间:
2019-10-18 12:29:36
阅读次数:
403