问题一、强制关闭Redis快照导致不能持久化 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the d ...
分类:
其他好文 时间:
2018-01-05 16:06:36
阅读次数:
161
最近写了个小程序,用于将固态硬盘的写入量等信息显示在任务栏,最开始使用Windows API也可以实现,但是当任务栏托盘增加的时候,会被遮盖,最终采用了DeskBand来实现,填了很多坑。 参考的GitHub地址:https://github.com/dsafa/CSDeskBand DeskBan ...
分类:
Windows程序 时间:
2017-12-29 12:20:15
阅读次数:
3260
表的关联查询比较复杂,应用的场景很多,本文根据自己的经验解释@OneToOne注解中的属性在项目中的应用。本打算一篇博客把增删改查写在一起,但是在改的时候遇到了一些问题,感觉挺有意思,所以写下第二篇专门讲修改。 一、单向@OneToOne实例详解 假设一个场景,一个人只能领养一只宠物,根据人能够找到 ...
分类:
Web程序 时间:
2017-12-24 12:52:18
阅读次数:
209
Make sure you have published the friendlyhello image you created by pushing it to a registry. We’ll use that shared image here. Be sure your image wor ...
分类:
其他好文 时间:
2017-12-23 15:44:46
阅读次数:
233
https://io-meter.com/2016/09/03/Functional-Go-persist-datastructure-intro/ 持久化的数据结构(Persistent Data Structure) 对这类数据结构进行的任何修改,都会返回一个修改后的备份,而不会影响原来结构中的 ...
分类:
其他好文 时间:
2017-12-18 14:23:40
阅读次数:
173
TJSONTableObject跨平台解析JSON USES SynCrossPlatformJSON TSQLRecordPeoplePersistent = class(TPersistent) private fRowID: integer; fData: TByteDynArray; fFi ...
分类:
Web程序 时间:
2017-12-16 19:49:58
阅读次数:
204
LVS keepalived 高可用负载均衡 IP HOSTNAME Describe 192.168.100.30 lvs01 主负载 192.168.100.31 lvs02 备负载 192.168.100.40 VIP 192.168.100.29 node01 节点 192.168.100. ...
分类:
其他好文 时间:
2017-12-15 12:42:27
阅读次数:
201
LVS的组成 LVS 由2部分程序组成,包括 ipvs 和 ipvsadm。 1. ipvs(ip virtual server):一段代码工作在内核空间,叫ipvs,是真正生效实现调度的代码。2. ipvsadm:另外一段是工作在用户空间,叫ipvsadm,负责为ipvs内核框架编写规则, 定义谁 ...
分类:
其他好文 时间:
2017-12-13 20:10:07
阅读次数:
321
set times 2017、12、12 设置键名键值 get times 获取键名 exists times 检测键名是否存在 type times 键名的类型 expire times 6 设置键名有效期6秒 set timess 2017-12-12-22-51 ex 8 设置键名timess ...
分类:
其他好文 时间:
2017-12-13 02:10:53
阅读次数:
189
import clr clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geometry import * clr.AddReference("RevitAPI") import Autodesk from Autodesk.R... ...
分类:
其他好文 时间:
2017-12-11 14:12:47
阅读次数:
253