- 博客(4)
- 问答 (2)
- 收藏
- 关注
原创 基于docker的mysql8主从复制
1. 环境 centos8环境。在virtualBox上使用vagrant安装方便快捷。 网络使用桥接方式 vagrantbox库https://app.vagrantup.com/boxes/search #安装 vagrant init generic/centos8 #启动 若启动异常可能存在旧的Vagrantfile产生冲突,删除即可 vagrant up #连接 vagrant ssh 使用静态ip #(ping不通)关闭防火墙 systemctl disable firewalld.ser
2022-04-19 19:48:50
2867
原创 ts版LRU
interface Node { k: number; v: number ; prev: Node | undefined; next: Node | undefined; } class DoubleLink { head: Node tail: Node constructor() { this.head = this.buildNode(-1, -1); this.tail = this.buildNode(-
2022-03-28 17:55:27
212
原创 日期 去时分秒 签到
new LocalDate(signInTime).toDateTimeAtStartOfDay()去时分秒 final Map<String, Object> map = new HashMap<>(5); map.put("last", Instant.ofEpochMilli(signInTime).toDateTime().toString("yyyy-MM-dd HH:mm")); final int days = Days.standardDaysIn(new Perio
2022-03-19 18:27:33
295
原创 easyui datagrid 跨行
// author: junson //attention: 跨行前需要对数据进行排序 //date: $(&amp;amp;amp;amp;amp;amp;amp;amp;quot;#id&amp;amp;amp;amp;amp;amp;amp;amp;quot;).datagrid({ onLoadSuccess : function(data) { var position = 0; var id; data.rows.forEach(function
2018-11-16 15:34:44
557
空空如也
通过cursor 获取音乐文件返回空值
2016-01-21
提取mp3中真正的音频数据
2015-07-20
TA创建的收藏夹 TA关注的收藏夹
TA关注的人