From f0b25623447fe20c04f4036a2def3bb7f58bbc49 Mon Sep 17 00:00:00 2001 From: nicksxs Date: Sun, 17 Jan 2021 23:31:10 +0800 Subject: [PATCH] Site updated: 2021-01-17 23:31:05 --- 2014/12/23/my-new-post/index.html | 8 +- 2014/12/24/MFC 模态对话框/index.html | 10 +- 2014/12/30/Clone-Graph-Part-I/index.html | 22 +- 2015/01/04/Path-Sum/index.html | 16 +- 2015/01/14/Two-Sum/index.html | 16 +- .../index.html | 10 +- 2015/03/11/Number-Of-1-Bits/index.html | 16 +- 2015/03/11/Reverse-Bits/index.html | 14 +- 2015/03/13/Reverse-Integer/index.html | 14 +- 2015/04/14/Add-Two-Number/index.html | 10 +- 2015/04/15/Leetcode-No-3/index.html | 16 +- 2015/06/22/invert-binary-tree/index.html | 14 +- 2016/07/13/swoole-websocket-test/index.html | 8 +- 2016/08/14/34-Search-for-a-Range/index.html | 18 +- 2016/08/14/docker-mysql-cluster/index.html | 12 +- 2016/09/29/binary-watch/index.html | 14 +- .../minimum-size-subarray-sum-209/index.html | 14 +- 2016/10/12/summary-ranges-228/index.html | 14 +- .../index.html | 8 +- 2017/03/28/spark-little-tips/index.html | 8 +- 2017/04/25/rabbitmq-tips/index.html | 8 +- 2017/05/09/ambari-summary/index.html | 8 +- 2019/06/18/openresty/index.html | 8 +- .../23/AbstractQueuedSynchronizer/index.html | 16 +- 2019/12/07/JVM-G1-Part-1/index.html | 12 +- 2019/12/10/Redis-Part-1/index.html | 8 +- 2019/12/18/1Q84读后感/index.html | 8 +- .../聊聊Java中的单例模式/index.html | 8 +- 2019/12/26/redis数据结构介绍/index.html | 8 +- .../04/redis数据结构介绍二/index.html | 8 +- .../10/redis数据结构介绍三/index.html | 8 +- .../19/redis数据结构介绍四/index.html | 8 +- .../20/redis数据结构介绍五/index.html | 8 +- .../22/redis数据结构介绍六/index.html | 8 +- 2020/02/01/2019年终总结/index.html | 18 +- 2020/02/09/G1收集器概述/index.html | 10 +- 2020/02/16/Maven实用小技巧/index.html | 12 +- .../index.html | 8 +- 2020/03/01/寄生虫观后感/index.html | 18 +- .../index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- .../echo命令的一个小技巧/index.html | 12 +- 2020/04/05/Comparator使用小记/index.html | 10 +- 2020/04/12/redis系列介绍七/index.html | 8 +- 2020/04/18/redis系列介绍八/index.html | 8 +- 2020/04/26/聊聊-mysql-的-MVCC/index.html | 12 +- .../聊聊-mysql-的-MVCC-续篇/index.html | 12 +- .../index.html | 12 +- .../index.html | 8 +- .../index.html | 12 +- 2020/05/31/聊聊-Dubbo-的-SPI/index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- 2020/06/21/介绍一下-RocketMQ/index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- 2020/07/11/2020年中总结/index.html | 18 +- .../index.html | 8 +- .../index.html | 14 +- .../index.html | 12 +- .../index.html | 8 +- .../index.html | 16 +- .../index.html | 12 +- .../index.html | 8 +- .../index.html | 10 +- .../在老丈人家的小工记三/index.html | 8 +- .../index.html | 22 +- .../在老丈人家的小工记四/index.html | 12 +- .../index.html | 12 +- .../index.html | 22 +- .../在老丈人家的小工记五/index.html | 12 +- .../index.html | 14 +- .../index.html | 10 +- .../聊聊-Java-的类加载机制/index.html | 8 +- .../index.html | 10 +- .../聊聊-Dubbo-的容错机制/index.html | 12 +- .../index.html | 16 +- .../index.html | 16 +- .../index.html | 14 +- .../index.html | 16 +- .../index.html | 12 +- .../index.html | 8 +- .../index.html | 21 +- 2021/01/17/聊聊那些加塞狗/index.html | 764 ++++++++++++++++++ 404.html | 8 +- 404/index.html | 8 +- archives/2014/12/index.html | 10 +- archives/2014/index.html | 10 +- archives/2015/01/index.html | 10 +- archives/2015/03/index.html | 10 +- archives/2015/04/index.html | 10 +- archives/2015/06/index.html | 10 +- archives/2015/index.html | 10 +- archives/2016/07/index.html | 10 +- archives/2016/08/index.html | 10 +- archives/2016/09/index.html | 10 +- archives/2016/10/index.html | 10 +- archives/2016/11/index.html | 10 +- archives/2016/index.html | 10 +- archives/2017/03/index.html | 10 +- archives/2017/04/index.html | 10 +- archives/2017/05/index.html | 10 +- archives/2017/index.html | 10 +- archives/2019/06/index.html | 10 +- archives/2019/09/index.html | 10 +- archives/2019/12/index.html | 10 +- archives/2019/index.html | 10 +- archives/2020/01/index.html | 10 +- archives/2020/02/index.html | 10 +- archives/2020/03/index.html | 10 +- archives/2020/04/index.html | 10 +- archives/2020/05/index.html | 10 +- archives/2020/06/index.html | 10 +- archives/2020/07/index.html | 10 +- archives/2020/08/index.html | 10 +- archives/2020/09/index.html | 10 +- archives/2020/10/index.html | 10 +- archives/2020/11/index.html | 10 +- archives/2020/12/index.html | 10 +- archives/2020/index.html | 10 +- archives/2020/page/2/index.html | 10 +- archives/2020/page/3/index.html | 10 +- archives/2020/page/4/index.html | 10 +- archives/2020/page/5/index.html | 10 +- archives/2020/page/6/index.html | 10 +- archives/2021/01/index.html | 30 +- archives/2021/index.html | 30 +- archives/index.html | 50 +- archives/page/2/index.html | 50 +- archives/page/3/index.html | 50 +- archives/page/4/index.html | 50 +- archives/page/5/index.html | 50 +- archives/page/6/index.html | 50 +- archives/page/7/index.html | 50 +- archives/page/8/index.html | 50 +- archives/page/9/index.html | 30 +- atom.xml | 92 +-- baidu_verify_Gl8jtoDV4z.html | 8 +- baidusitemap.xml | 55 +- categories/Binary-Tree/index.html | 8 +- categories/C/Mysql/index.html | 8 +- categories/C/Redis/index.html | 8 +- categories/C/index.html | 8 +- categories/C/page/2/index.html | 8 +- categories/Dubbo-RPC-SPI/index.html | 8 +- categories/Dubbo-RPC/index.html | 8 +- categories/Dubbo/SPI/Adaptive/index.html | 8 +- categories/Dubbo/SPI/index.html | 8 +- categories/Dubbo/index.html | 8 +- categories/Dubbo/容错机制/index.html | 8 +- categories/Filter/index.html | 8 +- categories/Interceptor-AOP/index.html | 8 +- categories/Java/Apollo/index.html | 8 +- categories/Java/Apollo/value/index.html | 8 +- categories/Java/Design-Patterns/index.html | 8 +- categories/Java/GC/index.html | 8 +- categories/Java/JVM/index.html | 8 +- categories/Java/Maven/index.html | 8 +- categories/Java/Mybatis/index.html | 8 +- categories/Java/Singleton/index.html | 8 +- categories/Java/index.html | 8 +- categories/Java/page/2/index.html | 8 +- categories/Java/page/3/index.html | 8 +- categories/Java/类加载/index.html | 8 +- categories/Java/集合/index.html | 8 +- categories/Linux/index.html | 8 +- categories/Linux/命令/echo/index.html | 8 +- categories/Linux/命令/grep/index.html | 8 +- categories/Linux/命令/index.html | 8 +- categories/MQ/index.html | 8 +- categories/Mac/Homebrew/index.html | 8 +- categories/Mac/index.html | 8 +- categories/Mybatis/index.html | 8 +- categories/Mybatis/缓存/index.html | 8 +- categories/Mysql/Sql注入/index.html | 8 +- categories/Mysql/index.html | 8 +- categories/Mysql/数据结构/index.html | 8 +- categories/Mysql/源码/index.html | 8 +- categories/Mysql/索引/index.html | 8 +- categories/Redis/Distributed-Lock/index.html | 8 +- categories/Redis/index.html | 8 +- categories/Redis/数据结构/index.html | 8 +- categories/Redis/源码/index.html | 8 +- categories/RocketMQ/index.html | 8 +- categories/Spring/Mybatis/index.html | 8 +- .../Spring/Servlet/Interceptor/AOP/index.html | 8 +- .../Spring/Servlet/Interceptor/index.html | 8 +- categories/Spring/Servlet/index.html | 8 +- categories/Spring/index.html | 8 +- categories/Thread-dump/index.html | 8 +- categories/data-analysis/index.html | 8 +- categories/docker/index.html | 172 ++-- categories/docker/介绍/index.html | 8 +- categories/docker/发行版本/index.html | 8 +- categories/index.html | 12 +- categories/leetcode/index.html | 8 +- .../leetcode/java/Binary-Tree/DFS/index.html | 8 +- .../leetcode/java/Binary-Tree/index.html | 8 +- categories/leetcode/java/index.html | 8 +- .../leetcode/java/linked-list/index.html | 8 +- categories/leetcode/java/stack/index.html | 8 +- categories/leetcode/java/string/index.html | 8 +- categories/leetcode/page/2/index.html | 8 +- categories/linked-list/index.html | 8 +- categories/nginx/index.html | 8 +- categories/php/icu4c/index.html | 8 +- categories/php/index.html | 115 ++- categories/stack/index.html | 8 +- categories/中间件/RocketMQ/index.html | 8 +- categories/中间件/index.html | 8 +- categories/分布式事务/index.html | 8 +- .../三阶段提交/index.html | 8 +- .../两阶段提交/index.html | 8 +- categories/字符串-online/index.html | 8 +- categories/小技巧/grep/index.html | 8 +- .../小技巧/grep/查日志/index.html | 8 +- categories/小技巧/index.html | 8 +- categories/工具/index.html | 8 +- categories/持续集成/index.html | 8 +- categories/消息队列/RocketMQ/index.html | 8 +- categories/消息队列/index.html | 8 +- categories/生活/index.html | 51 +- categories/生活/page/2/index.html | 28 +- categories/生活/吐槽/index.html | 8 +- categories/生活/吐槽/疫情/index.html | 8 +- .../生活/吐槽/疫情/口罩/index.html | 8 +- .../生活/吐槽/疫情/美国/index.html | 8 +- .../生活/年中总结/2020/index.html | 8 +- categories/生活/年中总结/index.html | 8 +- .../生活/年终总结/2019/index.html | 8 +- categories/生活/年终总结/index.html | 8 +- categories/生活/开车/index.html | 604 ++++++++++++++ categories/生活/影评/2020/index.html | 8 +- categories/生活/影评/index.html | 8 +- categories/生活/运动/index.html | 8 +- categories/生活/运动/跑步/index.html | 8 +- .../生活/运动/跑步/干活/index.html | 8 +- categories/读后感/index.html | 8 +- categories/读后感/村上春树/index.html | 8 +- categories/问题排查/index.html | 8 +- css/main.css | 2 +- index.html | 219 +++-- leancloud.memo | 1 + leancloud_counter_security_urls.json | 2 +- lib/pace/README.html | 8 +- page/10/index.html | 260 +++--- page/11/index.html | 219 +++-- page/12/index.html | 222 +++-- page/13/index.html | 224 ++--- page/14/index.html | 157 ++-- page/15/index.html | 154 ++-- page/16/index.html | 105 +-- page/17/index.html | 113 ++- page/2/index.html | 252 +++--- page/3/index.html | 244 +++--- page/4/index.html | 206 +++-- page/5/index.html | 214 ++--- page/6/index.html | 270 +++---- page/7/index.html | 298 +++---- page/8/index.html | 267 +++--- page/9/index.html | 264 +++--- sitemap.xml | 63 +- tags/2019/index.html | 8 +- tags/2020/index.html | 8 +- tags/2PC/index.html | 8 +- tags/3PC/index.html | 8 +- tags/AOP/index.html | 8 +- tags/Adaptive/index.html | 8 +- tags/Apollo/index.html | 8 +- tags/Binary-Tree/index.html | 8 +- tags/Broker/index.html | 8 +- tags/Comparator/index.html | 8 +- tags/DFS/index.html | 8 +- tags/DefaultMQPushConsumer/index.html | 8 +- tags/Design-Patterns/index.html | 8 +- tags/Distributed-Lock/index.html | 8 +- tags/Dockerfile/index.html | 8 +- tags/Dubbo/index.html | 8 +- tags/Filter/index.html | 8 +- tags/G1/index.html | 8 +- tags/GC/index.html | 8 +- tags/Garbage-First-Collector/index.html | 8 +- tags/Gogs/index.html | 8 +- tags/Homebrew/index.html | 8 +- tags/Inorder-Traversal/index.html | 8 +- tags/Interceptor/index.html | 8 +- tags/JMap/index.html | 8 +- tags/JPS/index.html | 8 +- tags/JStack/index.html | 8 +- tags/JVM/index.html | 8 +- tags/Mac/index.html | 8 +- tags/Maven/index.html | 8 +- tags/Mybatis/index.html | 8 +- tags/NameServer/index.html | 8 +- tags/Preorder-Traversal/index.html | 8 +- tags/RPC/index.html | 8 +- tags/Redis/index.html | 8 +- tags/RocketMQ/index.html | 8 +- tags/SPI/index.html | 8 +- tags/Servlet/index.html | 8 +- tags/Singleton/index.html | 8 +- tags/Spring/index.html | 8 +- tags/Sql注入/index.html | 8 +- tags/Stream/index.html | 8 +- tags/Thread-dump/index.html | 8 +- tags/Tomcat/index.html | 8 +- tags/Web/index.html | 8 +- tags/Webhook/index.html | 8 +- tags/aqs/index.html | 8 +- tags/c/index.html | 8 +- tags/c/page/2/index.html | 8 +- tags/cgroup/index.html | 8 +- tags/cluster/index.html | 8 +- tags/docker/index.html | 172 ++-- tags/echo/index.html | 8 +- tags/environment/index.html | 8 +- tags/gap-lock/index.html | 8 +- tags/grep/index.html | 8 +- tags/hadoop/index.html | 8 +- tags/icu4c/index.html | 8 +- tags/im/index.html | 8 +- tags/index.html | 12 +- tags/is-not-null/index.html | 8 +- tags/is-null/index.html | 8 +- tags/java/index.html | 8 +- tags/java/page/2/index.html | 8 +- tags/leetcode-155/index.html | 8 +- tags/leetcode/index.html | 8 +- tags/leetcode/page/2/index.html | 8 +- tags/linked-list/index.html | 8 +- tags/linux/index.html | 8 +- tags/mfc/index.html | 8 +- tags/min-stack/index.html | 8 +- tags/mq/index.html | 8 +- tags/mvcc/index.html | 8 +- tags/mysql/index.html | 8 +- tags/namespace/index.html | 8 +- tags/next-key-lock/index.html | 8 +- tags/nginx/index.html | 8 +- tags/nullsfirst/index.html | 8 +- tags/openresty/index.html | 8 +- tags/php/index.html | 8 +- tags/procedure/index.html | 8 +- tags/python/index.html | 8 +- tags/read-view/index.html | 8 +- tags/sort/index.html | 8 +- tags/spark/index.html | 8 +- tags/stack/index.html | 8 +- tags/string/index.html | 8 +- tags/swoole/index.html | 8 +- tags/uname/index.html | 8 +- tags/value/index.html | 8 +- tags/websocket/index.html | 8 +- tags/zsh/index.html | 8 +- tags/三阶段提交/index.html | 8 +- tags/两阶段提交/index.html | 8 +- tags/中序/index.html | 8 +- tags/中间件/index.html | 8 +- tags/二叉树/index.html | 8 +- tags/公交车/index.html | 8 +- tags/减肥/index.html | 8 +- tags/分布式事务/index.html | 8 +- tags/分布式锁/index.html | 8 +- tags/削峰填谷/index.html | 8 +- tags/前序/index.html | 8 +- tags/加塞/index.html | 604 ++++++++++++++ tags/单例/index.html | 8 +- tags/博客,文章/index.html | 8 +- tags/发行版/index.html | 8 +- tags/口罩/index.html | 8 +- tags/吐槽/index.html | 8 +- tags/容错机制/index.html | 8 +- tags/寄生虫/index.html | 8 +- tags/小技巧/index.html | 8 +- tags/干活/index.html | 8 +- tags/年中总结/index.html | 8 +- tags/年终总结/index.html | 8 +- tags/幻读/index.html | 8 +- tags/开车/index.html | 604 ++++++++++++++ tags/影评/index.html | 8 +- tags/排序/index.html | 8 +- tags/数据结构/index.html | 8 +- tags/数据结构/page/2/index.html | 8 +- tags/最小栈/index.html | 8 +- tags/杀人诛心/index.html | 8 +- tags/注解/index.html | 8 +- tags/消息队列/index.html | 8 +- tags/源码/index.html | 8 +- tags/源码/page/2/index.html | 8 +- tags/源码解析/index.html | 8 +- tags/生活/index.html | 51 +- tags/生活/page/2/index.html | 28 +- tags/疫情/index.html | 8 +- tags/糟心事/index.html | 604 ++++++++++++++ tags/索引/index.html | 8 +- tags/缓存/index.html | 8 +- tags/美国/index.html | 8 +- tags/自适应拓展/index.html | 8 +- tags/规则/index.html | 604 ++++++++++++++ tags/设计模式/index.html | 8 +- tags/读后感/index.html | 8 +- tags/跑步/index.html | 8 +- tags/转义/index.html | 8 +- tags/运动/index.html | 8 +- tags/递归/index.html | 8 +- tags/题解/index.html | 8 +- 407 files changed, 8049 insertions(+), 4008 deletions(-) create mode 100644 2021/01/17/聊聊那些加塞狗/index.html create mode 100644 categories/生活/开车/index.html create mode 100644 tags/加塞/index.html create mode 100644 tags/开车/index.html create mode 100644 tags/糟心事/index.html create mode 100644 tags/规则/index.html diff --git a/2014/12/23/my-new-post/index.html b/2014/12/23/my-new-post/index.html index 92506e7d1a..194b8968de 100644 --- a/2014/12/23/my-new-post/index.html +++ b/2014/12/23/my-new-post/index.html @@ -428,20 +428,20 @@
- 84 + 85 posts
- 100 + 101 categories
- 142 + 146 tags
@@ -466,7 +466,7 @@
- +
diff --git a/2014/12/24/MFC 模态对话框/index.html b/2014/12/24/MFC 模态对话框/index.html index 3046ee6b3d..b48d846d60 100644 --- a/2014/12/24/MFC 模态对话框/index.html +++ b/2014/12/24/MFC 模态对话框/index.html @@ -310,7 +310,7 @@ @@ -451,20 +451,20 @@
- 84 + 85 posts
- 100 + 101 categories
- 142 + 146 tags
@@ -489,7 +489,7 @@
- +
diff --git a/2014/12/30/Clone-Graph-Part-I/index.html b/2014/12/30/Clone-Graph-Part-I/index.html index 29c9ad504b..68dca85d88 100644 --- a/2014/12/30/Clone-Graph-Part-I/index.html +++ b/2014/12/30/Clone-Graph-Part-I/index.html @@ -35,8 +35,8 @@ - + @@ -300,19 +300,19 @@ @@ -356,8 +356,8 @@ @@ -471,20 +474,20 @@
- 84 + 85 posts
- 100 + 101 categories
- 142 + 146 tags
@@ -509,7 +512,7 @@
- +
diff --git a/2021/01/17/聊聊那些加塞狗/index.html b/2021/01/17/聊聊那些加塞狗/index.html new file mode 100644 index 0000000000..02031ed3df --- /dev/null +++ b/2021/01/17/聊聊那些加塞狗/index.html @@ -0,0 +1,764 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 聊聊那些加塞狗 | Nicksxs's Blog + + + + + + + + + + + + + + + + +
+
+ +
+
+ + +
+ + + +

Nicksxs's Blog

+ +
+

What hurts more, the pain of hard work or the pain of regret?

+
+ + +
+ + + + + + + + + +
+
+ + +
+ + 0% +
+ + + + +
+
+
+ + +
+ + + + + +
+ + + + + +
+

+ 聊聊那些加塞狗 +

+ + +
+ + + + +
+ + +

今天真的是被气得不轻,情况是碰到一个有 70 多秒的直行红灯,然后直行就排了很长的队,但是左转车道没车,就有好几辆车占着左转车道,准备往直行车道插队加塞,一般这种加塞的,会挑个不太计较的,如果前面一辆不让的话就再等等,我因为赶着回家,就不想让,结果那辆车几次车头直接往里冲,当时怒气值基本已经蓄满了,我真的是分毫都不想让,如果路上都是让着这种人的,那么这种情况只会越来越严重,我理解的这种心态,就赌你怕麻烦,多一事不如少一事,结果就是每次都能顺利插队加塞,其实延伸到我们社会中的种种实质性的排队或者等同于排队的情况,都已经有这种惯有思维,一方面这种不符合规则,可能在严重程度上容易被很多人所忽视,基本上已经被很多人当成是“合理”行为,另一方面,对于这些“微小”的违规行为,本身管理层面也基本没有想要管的意思,就更多的成为了纵容这些行为的导火索,并且大多数人都是想着如果不让,发生点小剐小蹭的要浪费很多时间精力来处理,甚至会觉得会被别人觉得自己太小气等等,诸多内外成本结合起来,会真的去硬刚的可能少之又少了,这样也就让更多的人觉得这种行为是被默许的,再举个非常小的例子,以我们公司疫情期间的盒饭发放为例,有两个比较“有意思”的事情,第一个就是因为疫情,本来是让排队要间隔一米,但是可能除了我比较怕死会跟前面的人保持点距离基本没别人会不挨着前面的人,甚至我跟我前面的人保持点距离,后面的同学会推着我让我上去;第二个是关于拿饭,这么多人排着队拿饭,然后有部分同学,一个人拿好几份,帮组里其他人的都拿了,有些甚至一个人拿十份,假如这个盒饭发放是说明了可以按部门直接全领了那就没啥问题,但是当时的状况是个人排队领自己的那一份,如果一个同学直接帮着组里十几个人都拿了,后面排队的人是什么感受呢,甚至有些是看到队伍排长了,就找队伍里自己认识的比较靠前的人说你帮我也拿一份,其实作为我这个比较按规矩办事的“愣头青”来说,我是比较不能接受这两件小事里的行为的,再往下说可能就有点偏激了,先说到这~

+ +
+ + + + + + + + +
+
请我喝杯咖啡
+ + +
+ + + +
+ +
+ + + + +
+ + + + + + +
+ + +
+
+ +
+
+ + + + +
+ + + + + + + + +
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/404.html b/404.html index f809b77ec9..8b948dea0a 100644 --- a/404.html +++ b/404.html @@ -320,20 +320,20 @@
- 84 + 85 posts
- 100 + 101 categories
- 142 + 146 tags
@@ -358,7 +358,7 @@
- +
diff --git a/404/index.html b/404/index.html index ed32d36a03..112efe6a8f 100644 --- a/404/index.html +++ b/404/index.html @@ -307,20 +307,20 @@
- 84 + 85 posts
- 100 + 101 categories
- 142 + 146 tags
@@ -345,7 +345,7 @@
- +
diff --git a/archives/2014/12/index.html b/archives/2014/12/index.html index ad8eedcccb..422a5310a4 100644 --- a/archives/2014/12/index.html +++ b/archives/2014/12/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -350,20 +350,20 @@ @@ -388,7 +388,7 @@
- +
diff --git a/archives/2014/index.html b/archives/2014/index.html index ad9fe8d661..251f145ff1 100644 --- a/archives/2014/index.html +++ b/archives/2014/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -350,20 +350,20 @@ @@ -388,7 +388,7 @@
- +
diff --git a/archives/2015/01/index.html b/archives/2015/01/index.html index 379fe52a3a..710209d25f 100644 --- a/archives/2015/01/index.html +++ b/archives/2015/01/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -350,20 +350,20 @@ @@ -388,7 +388,7 @@
- +
diff --git a/archives/2015/03/index.html b/archives/2015/03/index.html index 57a44564e6..f9d4b7c390 100644 --- a/archives/2015/03/index.html +++ b/archives/2015/03/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -350,20 +350,20 @@ @@ -388,7 +388,7 @@
- +
diff --git a/archives/2015/04/index.html b/archives/2015/04/index.html index 84d216ed61..2c2a3116d3 100644 --- a/archives/2015/04/index.html +++ b/archives/2015/04/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/archives/2015/06/index.html b/archives/2015/06/index.html index 5860b4a449..afc4db1dad 100644 --- a/archives/2015/06/index.html +++ b/archives/2015/06/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/archives/2015/index.html b/archives/2015/index.html index 3e8a1748d8..5580ab1f5b 100644 --- a/archives/2015/index.html +++ b/archives/2015/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -470,20 +470,20 @@ @@ -508,7 +508,7 @@
- +
diff --git a/archives/2016/07/index.html b/archives/2016/07/index.html index 4f21eed284..bed04f4aac 100644 --- a/archives/2016/07/index.html +++ b/archives/2016/07/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/archives/2016/08/index.html b/archives/2016/08/index.html index 5ee6f9724c..fbe72c114d 100644 --- a/archives/2016/08/index.html +++ b/archives/2016/08/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/archives/2016/09/index.html b/archives/2016/09/index.html index eb3018c894..089f49378f 100644 --- a/archives/2016/09/index.html +++ b/archives/2016/09/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/archives/2016/10/index.html b/archives/2016/10/index.html index 01771d6a8c..315f1ae195 100644 --- a/archives/2016/10/index.html +++ b/archives/2016/10/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/archives/2016/11/index.html b/archives/2016/11/index.html index bb33b7d451..65824c32fe 100644 --- a/archives/2016/11/index.html +++ b/archives/2016/11/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/archives/2016/index.html b/archives/2016/index.html index b8687e4336..b593d3c5ed 100644 --- a/archives/2016/index.html +++ b/archives/2016/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -430,20 +430,20 @@ @@ -468,7 +468,7 @@
- +
diff --git a/archives/2017/03/index.html b/archives/2017/03/index.html index a238b46173..446fde08d7 100644 --- a/archives/2017/03/index.html +++ b/archives/2017/03/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/archives/2017/04/index.html b/archives/2017/04/index.html index 98bb585eea..f8df48d7c4 100644 --- a/archives/2017/04/index.html +++ b/archives/2017/04/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/archives/2017/05/index.html b/archives/2017/05/index.html index 8cf012a379..2febd430ab 100644 --- a/archives/2017/05/index.html +++ b/archives/2017/05/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/archives/2017/index.html b/archives/2017/index.html index b586067182..281e9aa756 100644 --- a/archives/2017/index.html +++ b/archives/2017/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -350,20 +350,20 @@ @@ -388,7 +388,7 @@
- +
diff --git a/archives/2019/06/index.html b/archives/2019/06/index.html index 37a4977a67..63073c7c82 100644 --- a/archives/2019/06/index.html +++ b/archives/2019/06/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/archives/2019/09/index.html b/archives/2019/09/index.html index 749d87a271..42d6f3c741 100644 --- a/archives/2019/09/index.html +++ b/archives/2019/09/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/archives/2019/12/index.html b/archives/2019/12/index.html index 568d6fdd51..2cfb7db558 100644 --- a/archives/2019/12/index.html +++ b/archives/2019/12/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -390,20 +390,20 @@ @@ -428,7 +428,7 @@
- +
diff --git a/archives/2019/index.html b/archives/2019/index.html index 2138197a02..31f45a7eee 100644 --- a/archives/2019/index.html +++ b/archives/2019/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -430,20 +430,20 @@ @@ -468,7 +468,7 @@
- +
diff --git a/archives/2020/01/index.html b/archives/2020/01/index.html index 79591c2b8d..b07cd3068d 100644 --- a/archives/2020/01/index.html +++ b/archives/2020/01/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -390,20 +390,20 @@ @@ -428,7 +428,7 @@
- +
diff --git a/archives/2020/02/index.html b/archives/2020/02/index.html index d764d76764..aeaf548e2a 100644 --- a/archives/2020/02/index.html +++ b/archives/2020/02/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -370,20 +370,20 @@ @@ -408,7 +408,7 @@
- +
diff --git a/archives/2020/03/index.html b/archives/2020/03/index.html index 20a58d9a68..a219f73cd5 100644 --- a/archives/2020/03/index.html +++ b/archives/2020/03/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -390,20 +390,20 @@ @@ -428,7 +428,7 @@
- +
diff --git a/archives/2020/04/index.html b/archives/2020/04/index.html index 0a30d76981..de8e173d55 100644 --- a/archives/2020/04/index.html +++ b/archives/2020/04/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -370,20 +370,20 @@ @@ -408,7 +408,7 @@
- +
diff --git a/archives/2020/05/index.html b/archives/2020/05/index.html index 2f41329017..5d65cb2181 100644 --- a/archives/2020/05/index.html +++ b/archives/2020/05/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -390,20 +390,20 @@ @@ -428,7 +428,7 @@
- +
diff --git a/archives/2020/06/index.html b/archives/2020/06/index.html index ed78acc22a..20c7889f6f 100644 --- a/archives/2020/06/index.html +++ b/archives/2020/06/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -370,20 +370,20 @@ @@ -408,7 +408,7 @@
- +
diff --git a/archives/2020/07/index.html b/archives/2020/07/index.html index 51f45db2a4..cede03b5f6 100644 --- a/archives/2020/07/index.html +++ b/archives/2020/07/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -370,20 +370,20 @@ @@ -408,7 +408,7 @@
- +
diff --git a/archives/2020/08/index.html b/archives/2020/08/index.html index 30afa6af17..c01ce8415d 100644 --- a/archives/2020/08/index.html +++ b/archives/2020/08/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -390,20 +390,20 @@ @@ -428,7 +428,7 @@
- +
diff --git a/archives/2020/09/index.html b/archives/2020/09/index.html index 26efb94696..c8b49e5ff3 100644 --- a/archives/2020/09/index.html +++ b/archives/2020/09/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -370,20 +370,20 @@ @@ -408,7 +408,7 @@
- +
diff --git a/archives/2020/10/index.html b/archives/2020/10/index.html index 0d7f2ed1e8..6df5c3a1e1 100644 --- a/archives/2020/10/index.html +++ b/archives/2020/10/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -370,20 +370,20 @@ @@ -408,7 +408,7 @@
- +
diff --git a/archives/2020/11/index.html b/archives/2020/11/index.html index 34bb0f7a24..c08d215cae 100644 --- a/archives/2020/11/index.html +++ b/archives/2020/11/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -390,20 +390,20 @@ @@ -428,7 +428,7 @@
- +
diff --git a/archives/2020/12/index.html b/archives/2020/12/index.html index 933de01a08..255fb94bd5 100644 --- a/archives/2020/12/index.html +++ b/archives/2020/12/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -370,20 +370,20 @@ @@ -408,7 +408,7 @@
- +
diff --git a/archives/2020/index.html b/archives/2020/index.html index 95520d761e..b6717a2f9a 100644 --- a/archives/2020/index.html +++ b/archives/2020/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -493,20 +493,20 @@ @@ -531,7 +531,7 @@
- +
diff --git a/archives/2020/page/2/index.html b/archives/2020/page/2/index.html index 552c41728e..bca03f995f 100644 --- a/archives/2020/page/2/index.html +++ b/archives/2020/page/2/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -493,20 +493,20 @@ @@ -531,7 +531,7 @@
- +
diff --git a/archives/2020/page/3/index.html b/archives/2020/page/3/index.html index da6fa37f06..20fdf19f4c 100644 --- a/archives/2020/page/3/index.html +++ b/archives/2020/page/3/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -493,20 +493,20 @@ @@ -531,7 +531,7 @@
- +
diff --git a/archives/2020/page/4/index.html b/archives/2020/page/4/index.html index d9d60b78b5..17683db9ca 100644 --- a/archives/2020/page/4/index.html +++ b/archives/2020/page/4/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -493,20 +493,20 @@ @@ -531,7 +531,7 @@
- +
diff --git a/archives/2020/page/5/index.html b/archives/2020/page/5/index.html index c5064fbd5f..3ed3ccdefc 100644 --- a/archives/2020/page/5/index.html +++ b/archives/2020/page/5/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -493,20 +493,20 @@ @@ -531,7 +531,7 @@
- +
diff --git a/archives/2020/page/6/index.html b/archives/2020/page/6/index.html index eaed62dc5f..fe2f0050e5 100644 --- a/archives/2020/page/6/index.html +++ b/archives/2020/page/6/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -353,20 +353,20 @@ @@ -391,7 +391,7 @@
- +
diff --git a/archives/2021/01/index.html b/archives/2021/01/index.html index 8853de5618..9240ca5d65 100644 --- a/archives/2021/01/index.html +++ b/archives/2021/01/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -216,6 +216,26 @@ 2021
+ +
@@ -330,20 +350,20 @@ @@ -368,7 +388,7 @@
- +
diff --git a/archives/2021/index.html b/archives/2021/index.html index c707a07839..94d3b2825b 100644 --- a/archives/2021/index.html +++ b/archives/2021/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -216,6 +216,26 @@ 2021
+ +
@@ -330,20 +350,20 @@ @@ -368,7 +388,7 @@
- +
diff --git a/archives/index.html b/archives/index.html index b348180429..a44dab15a8 100644 --- a/archives/index.html +++ b/archives/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -216,6 +216,26 @@ 2021
+ +
@@ -399,26 +419,6 @@
- -
@@ -496,20 +496,20 @@ @@ -534,7 +534,7 @@
- +
diff --git a/archives/page/2/index.html b/archives/page/2/index.html index 1d10c1c4bd..48195db31a 100644 --- a/archives/page/2/index.html +++ b/archives/page/2/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -216,6 +216,26 @@ 2020
+ +
@@ -396,26 +416,6 @@
- -
@@ -493,20 +493,20 @@ @@ -531,7 +531,7 @@
- +
diff --git a/archives/page/3/index.html b/archives/page/3/index.html index dff62166f3..86d0d4a7f0 100644 --- a/archives/page/3/index.html +++ b/archives/page/3/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -216,6 +216,26 @@ 2020
+ +
@@ -396,26 +416,6 @@
- -
@@ -493,20 +493,20 @@ @@ -531,7 +531,7 @@
- +
diff --git a/archives/page/4/index.html b/archives/page/4/index.html index 86de0fcfd7..719697f5d1 100644 --- a/archives/page/4/index.html +++ b/archives/page/4/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -216,6 +216,26 @@ 2020
+ +
@@ -396,26 +416,6 @@
- -
@@ -493,20 +493,20 @@ @@ -531,7 +531,7 @@
- +
diff --git a/archives/page/5/index.html b/archives/page/5/index.html index 539e60f830..6e99341dc1 100644 --- a/archives/page/5/index.html +++ b/archives/page/5/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -216,6 +216,26 @@ 2020
+ +
@@ -396,26 +416,6 @@
- -
@@ -493,20 +493,20 @@ @@ -531,7 +531,7 @@
- +
diff --git a/archives/page/6/index.html b/archives/page/6/index.html index 3efba3a14c..8947d2f465 100644 --- a/archives/page/6/index.html +++ b/archives/page/6/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -216,6 +216,26 @@ 2020
+ +
@@ -399,26 +419,6 @@
- -
@@ -496,20 +496,20 @@ @@ -534,7 +534,7 @@
- +
diff --git a/archives/page/7/index.html b/archives/page/7/index.html index 2b58a08048..8ad88cf151 100644 --- a/archives/page/7/index.html +++ b/archives/page/7/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -216,6 +216,26 @@ 2019
+ +
@@ -402,26 +422,6 @@
- -
@@ -499,20 +499,20 @@ @@ -537,7 +537,7 @@
- +
diff --git a/archives/page/8/index.html b/archives/page/8/index.html index 1c2a91d975..8b92a4addc 100644 --- a/archives/page/8/index.html +++ b/archives/page/8/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -216,6 +216,26 @@ 2016
+ +
@@ -399,26 +419,6 @@
- -
@@ -496,20 +496,20 @@ @@ -534,7 +534,7 @@
- +
diff --git a/archives/page/9/index.html b/archives/page/9/index.html index 5d68b18072..2563067b28 100644 --- a/archives/page/9/index.html +++ b/archives/page/9/index.html @@ -208,7 +208,7 @@
- Good! 84 posts in total. Keep on posting. + Good! 85 posts in total. Keep on posting.
@@ -216,6 +216,26 @@ 2015
+ +
@@ -376,20 +396,20 @@ @@ -414,7 +434,7 @@
- +
diff --git a/atom.xml b/atom.xml index 5f3eb1ee44..ec2af0de2d 100644 --- a/atom.xml +++ b/atom.xml @@ -6,7 +6,7 @@ - 2021-01-10T13:09:29.151Z + 2021-01-17T15:29:09.250Z https://nicksxs.me/ @@ -16,6 +16,43 @@ Hexo + + 聊聊那些加塞狗 + + https://nicksxs.me/2021/01/17/%E8%81%8A%E8%81%8A%E9%82%A3%E4%BA%9B%E5%8A%A0%E5%A1%9E%E7%8B%97/ + 2021-01-17T15:29:09.000Z + 2021-01-17T15:29:09.250Z + + + + + + + + <p>今天真的是被气得不轻,情况是碰到一个有 70 + + + + + + + + + + + + + + + + + + + + + + + Leetcode 160 相交链表(intersection-of-two-linked-lists) 题解分析 @@ -241,10 +278,10 @@ - - + + @@ -570,10 +607,10 @@ - - + + @@ -698,10 +735,10 @@ - - + + @@ -801,45 +838,4 @@ - - 这周末我又在老丈人家打了天小工 - - https://nicksxs.me/2020/08/30/%E8%BF%99%E5%91%A8%E6%9C%AB%E6%88%91%E5%8F%88%E5%9C%A8%E8%80%81%E4%B8%88%E4%BA%BA%E5%AE%B6%E6%89%93%E4%BA%86%E5%A4%A9%E5%B0%8F%E5%B7%A5/ - 2020-08-30T15:22:57.000Z - 2020-08-30T15:31:08.000Z - - - - - - - - <p>因为活实在比较多,也不太好叫大工(活比较杂散),相比上一次我跟 LD - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/baidu_verify_Gl8jtoDV4z.html b/baidu_verify_Gl8jtoDV4z.html index 6d0ad31319..fc2a70fc66 100644 --- a/baidu_verify_Gl8jtoDV4z.html +++ b/baidu_verify_Gl8jtoDV4z.html @@ -309,20 +309,20 @@ @@ -347,7 +347,7 @@
- +
diff --git a/baidusitemap.xml b/baidusitemap.xml index 8d8ca20c47..829843043e 100644 --- a/baidusitemap.xml +++ b/baidusitemap.xml @@ -1,6 +1,9 @@ + https://nicksxs.me/2021/01/17/%E8%81%8A%E8%81%8A%E9%82%A3%E4%BA%9B%E5%8A%A0%E5%A1%9E%E7%8B%97/ + 2021-01-17 + https://nicksxs.me/2021/01/10/Leetcode-160-%E7%9B%B8%E4%BA%A4%E9%93%BE%E8%A1%A8-intersection-of-two-linked-lists-%E9%A2%98%E8%A7%A3%E5%88%86%E6%9E%90/ 2021-01-10 @@ -160,88 +163,88 @@ https://nicksxs.me/2020/01/19/redis%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BB%8B%E7%BB%8D%E5%9B%9B/ 2020-01-18 - https://nicksxs.me/2016/10/11/minimum-size-subarray-sum-209/ - 2020-01-12 - - https://nicksxs.me/2019/12/26/redis%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BB%8B%E7%BB%8D/ + https://nicksxs.me/2017/05/09/ambari-summary/ 2020-01-12 https://nicksxs.me/2016/08/14/34-Search-for-a-Range/ 2020-01-12 - https://nicksxs.me/2015/04/14/Add-Two-Number/ + https://nicksxs.me/2014/12/24/MFC%20%E6%A8%A1%E6%80%81%E5%AF%B9%E8%AF%9D%E6%A1%86/ 2020-01-12 - https://nicksxs.me/2014/12/24/MFC%20%E6%A8%A1%E6%80%81%E5%AF%B9%E8%AF%9D%E6%A1%86/ + https://nicksxs.me/2019/12/10/Redis-Part-1/ 2020-01-12 - https://nicksxs.me/2020/01/04/redis%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BB%8B%E7%BB%8D%E4%BA%8C/ + https://nicksxs.me/2015/01/14/Two-Sum/ 2020-01-12 - https://nicksxs.me/2020/01/10/redis%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BB%8B%E7%BB%8D%E4%B8%89/ + https://nicksxs.me/2019/12/26/redis%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BB%8B%E7%BB%8D/ 2020-01-12 - https://nicksxs.me/2019/12/10/Redis-Part-1/ + https://nicksxs.me/2015/03/13/Reverse-Integer/ 2020-01-12 https://nicksxs.me/2015/03/11/Reverse-Bits/ 2020-01-12 - https://nicksxs.me/2016/11/10/php-abstract-class-and-interface/ + https://nicksxs.me/2016/08/14/docker-mysql-cluster/ 2020-01-12 - https://nicksxs.me/2015/03/13/Reverse-Integer/ + https://nicksxs.me/2016/09/29/binary-watch/ + 2020-01-12 + + https://nicksxs.me/2016/10/11/minimum-size-subarray-sum-209/ 2020-01-12 https://nicksxs.me/2019/06/18/openresty/ 2020-01-12 - https://nicksxs.me/2015/01/14/Two-Sum/ + https://nicksxs.me/2016/11/10/php-abstract-class-and-interface/ 2020-01-12 - https://nicksxs.me/2017/05/09/ambari-summary/ + https://nicksxs.me/2020/01/10/redis%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BB%8B%E7%BB%8D%E4%B8%89/ 2020-01-12 - https://nicksxs.me/2016/09/29/binary-watch/ + https://nicksxs.me/2020/01/04/redis%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BB%8B%E7%BB%8D%E4%BA%8C/ 2020-01-12 - https://nicksxs.me/2016/08/14/docker-mysql-cluster/ + https://nicksxs.me/2015/04/14/Add-Two-Number/ 2020-01-12 - https://nicksxs.me/2015/03/11/Number-Of-1-Bits/ + https://nicksxs.me/2014/12/23/my-new-post/ 2020-01-12 - https://nicksxs.me/2015/06/22/invert-binary-tree/ + https://nicksxs.me/2017/03/28/spark-little-tips/ 2020-01-12 - https://nicksxs.me/2014/12/23/my-new-post/ + https://nicksxs.me/2015/04/15/Leetcode-No-3/ 2020-01-12 - https://nicksxs.me/2015/01/16/pcre-intro-and-a-simple-package/ + https://nicksxs.me/2015/06/22/invert-binary-tree/ 2020-01-12 - https://nicksxs.me/2017/04/25/rabbitmq-tips/ + https://nicksxs.me/2014/12/30/Clone-Graph-Part-I/ 2020-01-12 https://nicksxs.me/2016/07/13/swoole-websocket-test/ 2020-01-12 - https://nicksxs.me/2015/01/04/Path-Sum/ + https://nicksxs.me/2019/09/23/AbstractQueuedSynchronizer/ 2020-01-12 - https://nicksxs.me/2019/09/23/AbstractQueuedSynchronizer/ + https://nicksxs.me/2015/01/16/pcre-intro-and-a-simple-package/ 2020-01-12 - https://nicksxs.me/2017/03/28/spark-little-tips/ + https://nicksxs.me/2015/01/04/Path-Sum/ 2020-01-12 - https://nicksxs.me/2015/04/15/Leetcode-No-3/ + https://nicksxs.me/2016/10/12/summary-ranges-228/ 2020-01-12 - https://nicksxs.me/2014/12/30/Clone-Graph-Part-I/ + https://nicksxs.me/2017/04/25/rabbitmq-tips/ 2020-01-12 - https://nicksxs.me/2016/10/12/summary-ranges-228/ + https://nicksxs.me/2015/03/11/Number-Of-1-Bits/ 2020-01-12 https://nicksxs.me/2019/12/21/%E8%81%8A%E8%81%8AJava%E4%B8%AD%E7%9A%84%E5%8D%95%E4%BE%8B%E6%A8%A1%E5%BC%8F/ diff --git a/categories/Binary-Tree/index.html b/categories/Binary-Tree/index.html index 2c0e2f2a1c..c1e4d53ed6 100644 --- a/categories/Binary-Tree/index.html +++ b/categories/Binary-Tree/index.html @@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/categories/C/Mysql/index.html b/categories/C/Mysql/index.html index afbd90cbad..da728a5c08 100644 --- a/categories/C/Mysql/index.html +++ b/categories/C/Mysql/index.html @@ -370,20 +370,20 @@ @@ -408,7 +408,7 @@
- +
diff --git a/categories/C/Redis/index.html b/categories/C/Redis/index.html index ffca28db1f..ab320f1578 100644 --- a/categories/C/Redis/index.html +++ b/categories/C/Redis/index.html @@ -473,20 +473,20 @@ @@ -511,7 +511,7 @@
- +
diff --git a/categories/C/index.html b/categories/C/index.html index 2fdb995aad..3e6b6028b2 100644 --- a/categories/C/index.html +++ b/categories/C/index.html @@ -493,20 +493,20 @@ @@ -531,7 +531,7 @@
- +
diff --git a/categories/C/page/2/index.html b/categories/C/page/2/index.html index 773eb3e5b8..8a93c31eb8 100644 --- a/categories/C/page/2/index.html +++ b/categories/C/page/2/index.html @@ -356,20 +356,20 @@ @@ -394,7 +394,7 @@
- +
diff --git a/categories/Dubbo-RPC-SPI/index.html b/categories/Dubbo-RPC-SPI/index.html index 68fbbc3a29..aee59b65ac 100644 --- a/categories/Dubbo-RPC-SPI/index.html +++ b/categories/Dubbo-RPC-SPI/index.html @@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/categories/Dubbo-RPC/index.html b/categories/Dubbo-RPC/index.html index 7b06bc3441..f1a43e415c 100644 --- a/categories/Dubbo-RPC/index.html +++ b/categories/Dubbo-RPC/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Dubbo/SPI/Adaptive/index.html b/categories/Dubbo/SPI/Adaptive/index.html index 09e2691b70..a7e385d580 100644 --- a/categories/Dubbo/SPI/Adaptive/index.html +++ b/categories/Dubbo/SPI/Adaptive/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Dubbo/SPI/index.html b/categories/Dubbo/SPI/index.html index 49e554ae3d..45a0ec1ed8 100644 --- a/categories/Dubbo/SPI/index.html +++ b/categories/Dubbo/SPI/index.html @@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/categories/Dubbo/index.html b/categories/Dubbo/index.html index 6328d9f0d2..c4177f0e29 100644 --- a/categories/Dubbo/index.html +++ b/categories/Dubbo/index.html @@ -350,20 +350,20 @@ @@ -388,7 +388,7 @@
- +
diff --git a/categories/Dubbo/容错机制/index.html b/categories/Dubbo/容错机制/index.html index 579897763b..2712d171fa 100644 --- a/categories/Dubbo/容错机制/index.html +++ b/categories/Dubbo/容错机制/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Filter/index.html b/categories/Filter/index.html index 2b29a7d873..31a46f6037 100644 --- a/categories/Filter/index.html +++ b/categories/Filter/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Interceptor-AOP/index.html b/categories/Interceptor-AOP/index.html index de62350bc0..f06075ee1c 100644 --- a/categories/Interceptor-AOP/index.html +++ b/categories/Interceptor-AOP/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Java/Apollo/index.html b/categories/Java/Apollo/index.html index 36d56ae329..ef95345523 100644 --- a/categories/Java/Apollo/index.html +++ b/categories/Java/Apollo/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Java/Apollo/value/index.html b/categories/Java/Apollo/value/index.html index 2182221b46..66e497e58e 100644 --- a/categories/Java/Apollo/value/index.html +++ b/categories/Java/Apollo/value/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Java/Design-Patterns/index.html b/categories/Java/Design-Patterns/index.html index df7ef23e64..2bf92c8608 100644 --- a/categories/Java/Design-Patterns/index.html +++ b/categories/Java/Design-Patterns/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Java/GC/index.html b/categories/Java/GC/index.html index ea3e604e19..da3300d980 100644 --- a/categories/Java/GC/index.html +++ b/categories/Java/GC/index.html @@ -333,20 +333,20 @@ @@ -371,7 +371,7 @@
- +
diff --git a/categories/Java/JVM/index.html b/categories/Java/JVM/index.html index 7f143efa4f..96d8dc9cb8 100644 --- a/categories/Java/JVM/index.html +++ b/categories/Java/JVM/index.html @@ -333,20 +333,20 @@ @@ -371,7 +371,7 @@
- +
diff --git a/categories/Java/Maven/index.html b/categories/Java/Maven/index.html index 0741f01b6d..64f8353ab1 100644 --- a/categories/Java/Maven/index.html +++ b/categories/Java/Maven/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Java/Mybatis/index.html b/categories/Java/Mybatis/index.html index e7d23c1587..3a8bacfbbc 100644 --- a/categories/Java/Mybatis/index.html +++ b/categories/Java/Mybatis/index.html @@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/categories/Java/Singleton/index.html b/categories/Java/Singleton/index.html index 37c48dd441..4e643f959f 100644 --- a/categories/Java/Singleton/index.html +++ b/categories/Java/Singleton/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Java/index.html b/categories/Java/index.html index d90cb052b9..75d05a0972 100644 --- a/categories/Java/index.html +++ b/categories/Java/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Java/page/2/index.html b/categories/Java/page/2/index.html index ebf781f6e3..25263d6a63 100644 --- a/categories/Java/page/2/index.html +++ b/categories/Java/page/2/index.html @@ -493,20 +493,20 @@ @@ -531,7 +531,7 @@
- +
diff --git a/categories/Java/page/3/index.html b/categories/Java/page/3/index.html index 751cf27350..21623b7714 100644 --- a/categories/Java/page/3/index.html +++ b/categories/Java/page/3/index.html @@ -333,20 +333,20 @@ @@ -371,7 +371,7 @@
- +
diff --git a/categories/Java/类加载/index.html b/categories/Java/类加载/index.html index 13440ed310..26aa766dcd 100644 --- a/categories/Java/类加载/index.html +++ b/categories/Java/类加载/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Java/集合/index.html b/categories/Java/集合/index.html index 7ec35369f8..99d2a2bb36 100644 --- a/categories/Java/集合/index.html +++ b/categories/Java/集合/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Linux/index.html b/categories/Linux/index.html index 1d6de2a30d..d832cc2142 100644 --- a/categories/Linux/index.html +++ b/categories/Linux/index.html @@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/categories/Linux/命令/echo/index.html b/categories/Linux/命令/echo/index.html index e1093067c0..589bcd2df0 100644 --- a/categories/Linux/命令/echo/index.html +++ b/categories/Linux/命令/echo/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Linux/命令/grep/index.html b/categories/Linux/命令/grep/index.html index 7337b38842..b383d5bede 100644 --- a/categories/Linux/命令/grep/index.html +++ b/categories/Linux/命令/grep/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Linux/命令/index.html b/categories/Linux/命令/index.html index fedf3f0e18..a649a59501 100644 --- a/categories/Linux/命令/index.html +++ b/categories/Linux/命令/index.html @@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/categories/MQ/index.html b/categories/MQ/index.html index 80a0c59584..8fd9bcb14b 100644 --- a/categories/MQ/index.html +++ b/categories/MQ/index.html @@ -370,20 +370,20 @@ @@ -408,7 +408,7 @@
- +
diff --git a/categories/Mac/Homebrew/index.html b/categories/Mac/Homebrew/index.html index 0e3ace09ff..8f0d522f2b 100644 --- a/categories/Mac/Homebrew/index.html +++ b/categories/Mac/Homebrew/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Mac/index.html b/categories/Mac/index.html index d19adc646a..83ff086acd 100644 --- a/categories/Mac/index.html +++ b/categories/Mac/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Mybatis/index.html b/categories/Mybatis/index.html index eed7fe5a5b..37d18b800c 100644 --- a/categories/Mybatis/index.html +++ b/categories/Mybatis/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Mybatis/缓存/index.html b/categories/Mybatis/缓存/index.html index 28da403268..99e497a904 100644 --- a/categories/Mybatis/缓存/index.html +++ b/categories/Mybatis/缓存/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Mysql/Sql注入/index.html b/categories/Mysql/Sql注入/index.html index 439d12c850..cce8657864 100644 --- a/categories/Mysql/Sql注入/index.html +++ b/categories/Mysql/Sql注入/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Mysql/index.html b/categories/Mysql/index.html index d5a34a24dc..ca2bb702f1 100644 --- a/categories/Mysql/index.html +++ b/categories/Mysql/index.html @@ -390,20 +390,20 @@ @@ -428,7 +428,7 @@
- +
diff --git a/categories/Mysql/数据结构/index.html b/categories/Mysql/数据结构/index.html index 76163b5df0..b3ea4c38a3 100644 --- a/categories/Mysql/数据结构/index.html +++ b/categories/Mysql/数据结构/index.html @@ -350,20 +350,20 @@ @@ -388,7 +388,7 @@
- +
diff --git a/categories/Mysql/源码/index.html b/categories/Mysql/源码/index.html index 6957ac2b7a..579269c5ae 100644 --- a/categories/Mysql/源码/index.html +++ b/categories/Mysql/源码/index.html @@ -350,20 +350,20 @@ @@ -388,7 +388,7 @@
- +
diff --git a/categories/Mysql/索引/index.html b/categories/Mysql/索引/index.html index a9c285d526..d241a5e4fa 100644 --- a/categories/Mysql/索引/index.html +++ b/categories/Mysql/索引/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Redis/Distributed-Lock/index.html b/categories/Redis/Distributed-Lock/index.html index 9fa0cbf551..c0b7e9ad39 100644 --- a/categories/Redis/Distributed-Lock/index.html +++ b/categories/Redis/Distributed-Lock/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Redis/index.html b/categories/Redis/index.html index d29bc23fa0..a36639147f 100644 --- a/categories/Redis/index.html +++ b/categories/Redis/index.html @@ -473,20 +473,20 @@ @@ -511,7 +511,7 @@
- +
diff --git a/categories/Redis/数据结构/index.html b/categories/Redis/数据结构/index.html index 0522e984a1..845ab981eb 100644 --- a/categories/Redis/数据结构/index.html +++ b/categories/Redis/数据结构/index.html @@ -453,20 +453,20 @@ @@ -491,7 +491,7 @@
- +
diff --git a/categories/Redis/源码/index.html b/categories/Redis/源码/index.html index dfe3206570..e35186ff90 100644 --- a/categories/Redis/源码/index.html +++ b/categories/Redis/源码/index.html @@ -453,20 +453,20 @@ @@ -491,7 +491,7 @@
- +
diff --git a/categories/RocketMQ/index.html b/categories/RocketMQ/index.html index 522a9a5bc2..7eebd8ee7e 100644 --- a/categories/RocketMQ/index.html +++ b/categories/RocketMQ/index.html @@ -370,20 +370,20 @@ @@ -408,7 +408,7 @@
- +
diff --git a/categories/Spring/Mybatis/index.html b/categories/Spring/Mybatis/index.html index e9d825d029..bdc7251537 100644 --- a/categories/Spring/Mybatis/index.html +++ b/categories/Spring/Mybatis/index.html @@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/categories/Spring/Servlet/Interceptor/AOP/index.html b/categories/Spring/Servlet/Interceptor/AOP/index.html index c75a817aa1..953a630e14 100644 --- a/categories/Spring/Servlet/Interceptor/AOP/index.html +++ b/categories/Spring/Servlet/Interceptor/AOP/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Spring/Servlet/Interceptor/index.html b/categories/Spring/Servlet/Interceptor/index.html index 0582d4cc75..bf8ed94d8f 100644 --- a/categories/Spring/Servlet/Interceptor/index.html +++ b/categories/Spring/Servlet/Interceptor/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Spring/Servlet/index.html b/categories/Spring/Servlet/index.html index 1969457e38..2ea4ecaa8d 100644 --- a/categories/Spring/Servlet/index.html +++ b/categories/Spring/Servlet/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/Spring/index.html b/categories/Spring/index.html index 8435853f5c..1a54edfacc 100644 --- a/categories/Spring/index.html +++ b/categories/Spring/index.html @@ -350,20 +350,20 @@ @@ -388,7 +388,7 @@
- +
diff --git a/categories/Thread-dump/index.html b/categories/Thread-dump/index.html index 00ac03b087..8fb8225eb8 100644 --- a/categories/Thread-dump/index.html +++ b/categories/Thread-dump/index.html @@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/categories/data-analysis/index.html b/categories/data-analysis/index.html index dd3f31f78c..5aa6d8b359 100644 --- a/categories/data-analysis/index.html +++ b/categories/data-analysis/index.html @@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/categories/docker/index.html b/categories/docker/index.html index cf9252f478..7eb4af0dd6 100644 --- a/categories/docker/index.html +++ b/categories/docker/index.html @@ -29,7 +29,7 @@ - + @@ -40,7 +40,7 @@ - + - Category: Docker | Nicksxs's Blog + Category: docker | Nicksxs's Blog + + + + + + +ocity/velocity.min.js"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - Category: PHP | Nicksxs's Blog + Category: php | Nicksxs's Blog - - - - - - -/([http|https]:\/\/[a-zA-Z0-9\_\.]+\.baidu\.com)/gi,r=canonicalURL,t=document.referrer;if(!e.test(r)){var n=(String(curProtocol).toLowerCase() === 'https')?"https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif":"//api.share.baidu.com/s.gif";t?(n+="?r="+encodeURIComponent(document.referrer),r&&(n+="&l="+r)):r&&(n+="?l="+r);var i=new Image;i.src=n}}(window);})(); - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Category: 开车 | Nicksxs's Blog + + + + + + + + + + + + + + + + +
+
+ +
+
+ + +
+ + + +

Nicksxs's Blog

+ +
+

What hurts more, the pain of hard work or the pain of regret?

+
+ + +
+ + + + + + + + + +
+
+ + +
+ + 0% +
+ + + + +
+
+
+ + +
+ + + + + +
+
+
+

开车 + Category +

+
+ + +
+ 2021 +
+ + + +
+
+ + + + + + + + +
+ + + + +
+ + + + + + + + +
+
+ +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/categories/生活/影评/2020/index.html b/categories/生活/影评/2020/index.html index 841323f9df..5e299856b3 100644 --- a/categories/生活/影评/2020/index.html +++ b/categories/生活/影评/2020/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/生活/影评/index.html b/categories/生活/影评/index.html index bbb97a50f5..cbf90cb1b9 100644 --- a/categories/生活/影评/index.html +++ b/categories/生活/影评/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/生活/运动/index.html b/categories/生活/运动/index.html index 202dfb1f0f..6c08f46cd3 100644 --- a/categories/生活/运动/index.html +++ b/categories/生活/运动/index.html @@ -410,20 +410,20 @@ @@ -448,7 +448,7 @@
- +
diff --git a/categories/生活/运动/跑步/index.html b/categories/生活/运动/跑步/index.html index 556202164e..1b6bf82f5b 100644 --- a/categories/生活/运动/跑步/index.html +++ b/categories/生活/运动/跑步/index.html @@ -410,20 +410,20 @@ @@ -448,7 +448,7 @@
- +
diff --git a/categories/生活/运动/跑步/干活/index.html b/categories/生活/运动/跑步/干活/index.html index 94c8c48e4a..e2352a371d 100644 --- a/categories/生活/运动/跑步/干活/index.html +++ b/categories/生活/运动/跑步/干活/index.html @@ -390,20 +390,20 @@ @@ -428,7 +428,7 @@
- +
diff --git a/categories/读后感/index.html b/categories/读后感/index.html index 279b251082..c8e364d0b7 100644 --- a/categories/读后感/index.html +++ b/categories/读后感/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/读后感/村上春树/index.html b/categories/读后感/村上春树/index.html index f071466772..b8964063ca 100644 --- a/categories/读后感/村上春树/index.html +++ b/categories/读后感/村上春树/index.html @@ -310,20 +310,20 @@ @@ -348,7 +348,7 @@
- +
diff --git a/categories/问题排查/index.html b/categories/问题排查/index.html index b03a5934b8..2234372966 100644 --- a/categories/问题排查/index.html +++ b/categories/问题排查/index.html @@ -330,20 +330,20 @@ @@ -368,7 +368,7 @@
- +
diff --git a/css/main.css b/css/main.css index 464b43bfd7..f83c1e7f97 100644 --- a/css/main.css +++ b/css/main.css @@ -1261,7 +1261,7 @@ pre .javascript .function { } .links-of-author a::before, .links-of-author span.exturl::before { - background: #ff5820; + background: #f466ff; border-radius: 50%; content: ' '; display: inline-block; diff --git a/index.html b/index.html index 82ea7b8780..c2d05b99b6 100644 --- a/index.html +++ b/index.html @@ -203,6 +203,100 @@ +
+ + + + + +
+

+ + +

+ + +
+ + + + +
+ + +

今天真的是被气得不轻,情况是碰到一个有 70 多秒的直行红灯,然后直行就排了很长的队,但是左转车道没车,就有好几辆车占着左转车道,准备往直行车道插队加塞,一般这种加塞的,会挑个不太计较的,如果前面一辆不让的话就再等等,我因为赶着回家,就不想让,结果那辆车几次车头直接往里冲,当时怒气值基本已经蓄满了,我真的是分毫都不想让,如果路上都是让着这种人的,那么这种情况只会越来越严重,我理解的这种心态,就赌你怕麻烦,多一事不如少一事,结果就是每次都能顺利插队加塞,其实延伸到我们社会中的种种实质性的排队或者等同于排队的情况,都已经有这种惯有思维,一方面这种不符合规则,可能在严重程度上容易被很多人所忽视,基本上已经被很多人当成是“合理”行为,另一方面,对于这些“微小”的违规行为,本身管理层面也基本没有想要管的意思,就更多的成为了纵容这些行为的导火索,并且大多数人都是想着如果不让,发生点小剐小蹭的要浪费很多时间精力来处理,甚至会觉得会被别人觉得自己太小气等等,诸多内外成本结合起来,会真的去硬刚的可能少之又少了,这样也就让更多的人觉得这种行为是被默许的,再举个非常小的例子,以我们公司疫情期间的盒饭发放为例,有两个比较“有意思”的事情,第一个就是因为疫情,本来是让排队要间隔一米,但是可能除了我比较怕死会跟前面的人保持点距离基本没别人会不挨着前面的人,甚至我跟我前面的人保持点距离,后面的同学会推着我让我上去;第二个是关于拿饭,这么多人排着队拿饭,然后有部分同学,一个人拿好几份,帮组里其他人的都拿了,有些甚至一个人拿十份,假如这个盒饭发放是说明了可以按部门直接全领了那就没啥问题,但是当时的状况是个人排队领自己的那一份,如果一个同学直接帮着组里十几个人都拿了,后面排队的人是什么感受呢,甚至有些是看到队伍排长了,就找队伍里自己认识的比较靠前的人说你帮我也拿一份,其实作为我这个比较按规矩办事的“愣头青”来说,我是比较不能接受这两件小事里的行为的,再往下说可能就有点偏激了,先说到这~

+ + +
+ + + + + + +
+
+
+
+ + + + + + +
@@ -623,123 +717,6 @@ - - - -
- - - - - -
-

- - -

- - -
- - - - -
- - -

题目介绍

Given preorder and inorder traversal of a tree, construct the binary tree.
给定一棵树的前序和中序遍历,构造出一棵二叉树

-

注意

You may assume that duplicates do not exist in the tree.
你可以假设树中没有重复的元素。(PS: 不然就没法做了呀)

-

例子:

1
2
preorder = [3,9,20,15,7]
inorder = [9,3,15,20,7]
-

返回的二叉树

-
1
2
3
4
5
  3
/ \
9 20
/ \
15 7
- - -

简要分析

看到这个题可以想到一个比较常规的解法就是递归拆树,前序就是根左右,中序就是左根右,然后就是通过前序已经确定的根在中序中找到,然后去划分左右子树,这个例子里是 3,找到中序中的位置,那么就可以确定,9 是左子树,15,20,7是右子树,然后对应的可以根据左右子树的元素数量在前序中划分左右子树,再继续递归就行

-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
class Solution {
public TreeNode buildTree(int[] preorder, int[] inorder) {
// 获取下数组长度
int n = preorder.length;
// 排除一下异常和边界
if (n != inorder.length) {
return null;
}
if (n == 0) {
return null;
}
if (n == 1) {
return new TreeNode(preorder[0]);
}
// 获得根节点
TreeNode node = new TreeNode(preorder[0]);
int pos = 0;
// 找到中序中的位置
for (int i = 0; i < inorder.length; i++) {
if (node.val == inorder[i]) {
pos = i;
break;
}
}
// 划分左右再进行递归,注意下`Arrays.copyOfRange`的用法
node.left = buildTree(Arrays.copyOfRange(preorder, 1, pos + 1), Arrays.copyOfRange(inorder, 0, pos));
node.right = buildTree(Arrays.copyOfRange(preorder, pos + 1, n), Arrays.copyOfRange(inorder, pos + 1, n));
return node;
}
}
- -
- - - - - - -
-
-
-
- - - - @@ -849,7 +826,7 @@
- +
diff --git a/leancloud.memo b/leancloud.memo index 9d97b7382f..f6d8ed5c5f 100644 --- a/leancloud.memo +++ b/leancloud.memo @@ -85,4 +85,5 @@ {"title":"从丁仲礼被美国制裁聊点啥","url":"/2020/12/20/从丁仲礼被美国制裁聊点啥/"}, {"title":"聊聊 mysql 索引的一些细节","url":"/2020/12/27/聊聊-mysql-索引的一些细节/"}, {"title":"聊聊 Java 的 equals 和 hashCode 方法","url":"/2021/01/03/聊聊-Java-的-equals-和-hashCode-方法/"}, +{"title":"Leetcode 160 相交链表(intersection-of-two-linked-lists) 题解分析","url":"/2021/01/10/Leetcode-160-相交链表-intersection-of-two-linked-lists-题解分析/"}, ] \ No newline at end of file diff --git a/leancloud_counter_security_urls.json b/leancloud_counter_security_urls.json index ff42c86c1e..19bc78dd86 100644 --- a/leancloud_counter_security_urls.json +++ b/leancloud_counter_security_urls.json @@ -1 +1 @@ -[{"title":"村上春树《1Q84》读后感","url":"/2019/12/18/1Q84读后感/"},{"title":"2019年终总结","url":"/2020/02/01/2019年终总结/"},{"title":"2020年中总结","url":"/2020/07/11/2020年中总结/"},{"title":"34_Search_for_a_Range","url":"/2016/08/14/34-Search-for-a-Range/"},{"title":"AbstractQueuedSynchronizer","url":"/2019/09/23/AbstractQueuedSynchronizer/"},{"title":"add-two-number","url":"/2015/04/14/Add-Two-Number/"},{"title":"Apollo 的 value 注解是怎么自动更新的","url":"/2020/11/01/Apollo-的-value-注解是怎么自动更新的/"},{"title":"Clone Graph Part I","url":"/2014/12/30/Clone-Graph-Part-I/"},{"title":"Comparator使用小记","url":"/2020/04/05/Comparator使用小记/"},{"title":"G1收集器概述","url":"/2020/02/09/G1收集器概述/"},{"title":"Leetcode 105 从前序与中序遍历序列构造二叉树(Construct Binary Tree from Preorder and Inorder Traversal) 题解分析","url":"/2020/12/13/Leetcode-105-从前序与中序遍历序列构造二叉树-Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal-题解分析/"},{"title":"Leetcode 155 最小栈(Min Stack) 题解分析","url":"/2020/12/06/Leetcode-155-最小栈-Min-Stack-题解分析/"},{"title":"Leetcode 160 相交链表(intersection-of-two-linked-lists) 题解分析","url":"/2021/01/10/Leetcode-160-相交链表-intersection-of-two-linked-lists-题解分析/"},{"title":"Leetcode 2 Add Two Numbers 题解分析","url":"/2020/10/11/Leetcode-2-Add-Two-Numbers-题解分析/"},{"title":"Leetcode 3 Longest Substring Without Repeating Characters 题解分析","url":"/2020/09/20/Leetcode-3-Longest-Substring-Without-Repeating-Characters-题解分析/"},{"title":"leetcode no.3","url":"/2015/04/15/Leetcode-No-3/"},{"title":"Linux 下 grep 命令的一点小技巧","url":"/2020/08/06/Linux-下-grep-命令的一点小技巧/"},{"title":"MFC 模态对话框","url":"/2014/12/24/MFC 模态对话框/"},{"title":"Maven实用小技巧","url":"/2020/02/16/Maven实用小技巧/"},{"title":"Number of 1 Bits","url":"/2015/03/11/Number-Of-1-Bits/"},{"title":"Path Sum","url":"/2015/01/04/Path-Sum/"},{"title":"Redis_分布式锁","url":"/2019/12/10/Redis-Part-1/"},{"title":"Reverse Bits","url":"/2015/03/11/Reverse-Bits/"},{"title":"Reverse Integer","url":"/2015/03/13/Reverse-Integer/"},{"title":"two sum","url":"/2015/01/14/Two-Sum/"},{"title":"ambari-summary","url":"/2017/05/09/ambari-summary/"},{"title":"binary-watch","url":"/2016/09/29/binary-watch/"},{"title":"docker-mysql-cluster","url":"/2016/08/14/docker-mysql-cluster/"},{"title":"docker比一般多一点的初学者介绍","url":"/2020/03/08/docker比一般多一点的初学者介绍/"},{"title":"Leetcode 104 二叉树的最大深度(Maximum Depth of Binary Tree) 题解分析","url":"/2020/10/25/Leetcode-104-二叉树的最大深度-Maximum-Depth-of-Binary-Tree-题解分析/"},{"title":"Leetcode 234 回文链表(Palindrome Linked List) 题解分析","url":"/2020/11/15/Leetcode-234-回文联表-Palindrome-Linked-List-题解分析/"},{"title":"docker比一般多一点的初学者介绍三","url":"/2020/03/21/docker比一般多一点的初学者介绍三/"},{"title":"docker比一般多一点的初学者介绍二","url":"/2020/03/15/docker比一般多一点的初学者介绍二/"},{"title":"docker使用中发现的echo命令的一个小技巧及其他","url":"/2020/03/29/echo命令的一个小技巧/"},{"title":"gogs使用webhook部署react单页应用","url":"/2020/02/22/gogs使用webhook部署react单页应用/"},{"title":"invert-binary-tree","url":"/2015/06/22/invert-binary-tree/"},{"title":"minimum-size-subarray-sum-209","url":"/2016/10/11/minimum-size-subarray-sum-209/"},{"title":"C++ 指针使用中的一个小问题","url":"/2014/12/23/my-new-post/"},{"title":"mybatis 的 $ 和 # 是有啥区别","url":"/2020/09/06/mybatis-的-和-是有啥区别/"},{"title":"openresty","url":"/2019/06/18/openresty/"},{"title":"pcre-intro-and-a-simple-package","url":"/2015/01/16/pcre-intro-and-a-simple-package/"},{"title":"php-abstract-class-and-interface","url":"/2016/11/10/php-abstract-class-and-interface/"},{"title":"rabbitmq-tips","url":"/2017/04/25/rabbitmq-tips/"},{"title":"redis数据结构介绍三-第三部分 整数集合","url":"/2020/01/10/redis数据结构介绍三/"},{"title":"redis数据结构介绍二-第二部分 跳表","url":"/2020/01/04/redis数据结构介绍二/"},{"title":"redis数据结构介绍五-第五部分 对象","url":"/2020/01/20/redis数据结构介绍五/"},{"title":"redis数据结构介绍四-第四部分 压缩表","url":"/2020/01/19/redis数据结构介绍四/"},{"title":"spark-little-tips","url":"/2017/03/28/spark-little-tips/"},{"title":"summary-ranges-228","url":"/2016/10/12/summary-ranges-228/"},{"title":"swoole-websocket-test","url":"/2016/07/13/swoole-websocket-test/"},{"title":"从丁仲礼被美国制裁聊点啥","url":"/2020/12/20/从丁仲礼被美国制裁聊点啥/"},{"title":"从清华美院学姐聊聊我们身边的恶人","url":"/2020/11/29/从清华美院学姐聊聊我们身边的恶人/"},{"title":"周末我在老丈人家打了天小工","url":"/2020/08/16/周末我在老丈人家打了天小工/"},{"title":"在老丈人家的小工记三","url":"/2020/09/13/在老丈人家的小工记三/"},{"title":"在老丈人家的小工记五","url":"/2020/10/18/在老丈人家的小工记五/"},{"title":"在老丈人家的小工记四","url":"/2020/09/26/在老丈人家的小工记四/"},{"title":"寄生虫观后感","url":"/2020/03/01/寄生虫观后感/"},{"title":"我是如何走上跑步这条不归路的","url":"/2020/07/26/我是如何走上跑步这条不归路的/"},{"title":"聊聊 Dubbo 的 SPI 续之自适应拓展","url":"/2020/06/06/聊聊-Dubbo-的-SPI-续之自适应拓展/"},{"title":"聊聊 Dubbo 的 SPI","url":"/2020/05/31/聊聊-Dubbo-的-SPI/"},{"title":"聊聊 Java 的 equals 和 hashCode 方法","url":"/2021/01/03/聊聊-Java-的-equals-和-hashCode-方法/"},{"title":"聊聊 Java 的类加载机制一","url":"/2020/11/08/聊聊-Java-的类加载机制/"},{"title":"聊聊 mysql 的 MVCC 续篇","url":"/2020/05/02/聊聊-mysql-的-MVCC-续篇/"},{"title":"聊聊 mysql 的 MVCC 续续篇之锁分析","url":"/2020/05/10/聊聊-mysql-的-MVCC-续续篇之加锁分析/"},{"title":"聊聊 mysql 的 MVCC","url":"/2020/04/26/聊聊-mysql-的-MVCC/"},{"title":"聊聊 mysql 索引的一些细节","url":"/2020/12/27/聊聊-mysql-索引的一些细节/"},{"title":"聊聊Java中的单例模式","url":"/2019/12/21/聊聊Java中的单例模式/"},{"title":"聊聊一次 brew update 引发的血案","url":"/2020/06/13/聊聊一次-brew-update-引发的血案/"},{"title":"聊聊我刚学会的应用诊断方法","url":"/2020/05/22/聊聊我刚学会的应用诊断方法/"},{"title":"这周末我又在老丈人家打了天小工","url":"/2020/08/30/这周末我又在老丈人家打了天小工/"},{"title":"mybatis 的缓存是怎么回事","url":"/2020/10/03/mybatis-的缓存是怎么回事/"},{"title":"redis数据结构介绍-第一部分 SDS,链表,字典","url":"/2019/12/26/redis数据结构介绍/"},{"title":"redis数据结构介绍六 快表","url":"/2020/01/22/redis数据结构介绍六/"},{"title":"介绍一下 RocketMQ","url":"/2020/06/21/介绍一下-RocketMQ/"},{"title":"聊聊 Dubbo 的容错机制","url":"/2020/11/22/聊聊-Dubbo-的容错机制/"},{"title":"聊聊我理解的分布式事务","url":"/2020/05/17/聊聊我理解的分布式事务/"},{"title":"Filter, Interceptor, Aop, 啥, 啥, 啥? 这些都是啥?","url":"/2020/08/22/Filter-Intercepter-Aop-啥-啥-啥-这些都是啥/"},{"title":"redis系列介绍七-过期策略","url":"/2020/04/12/redis系列介绍七/"},{"title":"JVM源码分析之G1垃圾收集器分析一","url":"/2019/12/07/JVM-G1-Part-1/"},{"title":"redis系列介绍八-淘汰策略","url":"/2020/04/18/redis系列介绍八/"},{"title":"聊一下 RocketMQ 的 NameServer 源码","url":"/2020/07/05/聊一下-RocketMQ-的-NameServer-源码/"},{"title":"聊聊 RocketMQ 的 Broker 源码","url":"/2020/07/19/聊聊-RocketMQ-的-Broker-源码/"},{"title":"聊聊 Java 自带的那些*逆天*工具","url":"/2020/08/02/聊聊-Java-自带的那些逆天工具/"},{"title":"聊一下 RocketMQ 的 DefaultMQPushConsumer 源码","url":"/2020/06/26/聊一下-RocketMQ-的-Consumer/"}] \ No newline at end of file +[{"title":"2019年终总结","url":"/2020/02/01/2019年终总结/"},{"title":"村上春树《1Q84》读后感","url":"/2019/12/18/1Q84读后感/"},{"title":"2020年中总结","url":"/2020/07/11/2020年中总结/"},{"title":"AbstractQueuedSynchronizer","url":"/2019/09/23/AbstractQueuedSynchronizer/"},{"title":"34_Search_for_a_Range","url":"/2016/08/14/34-Search-for-a-Range/"},{"title":"Clone Graph Part I","url":"/2014/12/30/Clone-Graph-Part-I/"},{"title":"Comparator使用小记","url":"/2020/04/05/Comparator使用小记/"},{"title":"Apollo 的 value 注解是怎么自动更新的","url":"/2020/11/01/Apollo-的-value-注解是怎么自动更新的/"},{"title":"add-two-number","url":"/2015/04/14/Add-Two-Number/"},{"title":"G1收集器概述","url":"/2020/02/09/G1收集器概述/"},{"title":"Leetcode 104 二叉树的最大深度(Maximum Depth of Binary Tree) 题解分析","url":"/2020/10/25/Leetcode-104-二叉树的最大深度-Maximum-Depth-of-Binary-Tree-题解分析/"},{"title":"Leetcode 160 相交链表(intersection-of-two-linked-lists) 题解分析","url":"/2021/01/10/Leetcode-160-相交链表-intersection-of-two-linked-lists-题解分析/"},{"title":"Leetcode 2 Add Two Numbers 题解分析","url":"/2020/10/11/Leetcode-2-Add-Two-Numbers-题解分析/"},{"title":"Leetcode 3 Longest Substring Without Repeating Characters 题解分析","url":"/2020/09/20/Leetcode-3-Longest-Substring-Without-Repeating-Characters-题解分析/"},{"title":"Leetcode 155 最小栈(Min Stack) 题解分析","url":"/2020/12/06/Leetcode-155-最小栈-Min-Stack-题解分析/"},{"title":"leetcode no.3","url":"/2015/04/15/Leetcode-No-3/"},{"title":"Linux 下 grep 命令的一点小技巧","url":"/2020/08/06/Linux-下-grep-命令的一点小技巧/"},{"title":"MFC 模态对话框","url":"/2014/12/24/MFC 模态对话框/"},{"title":"Maven实用小技巧","url":"/2020/02/16/Maven实用小技巧/"},{"title":"Number of 1 Bits","url":"/2015/03/11/Number-Of-1-Bits/"},{"title":"Leetcode 105 从前序与中序遍历序列构造二叉树(Construct Binary Tree from Preorder and Inorder Traversal) 题解分析","url":"/2020/12/13/Leetcode-105-从前序与中序遍历序列构造二叉树-Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal-题解分析/"},{"title":"Redis_分布式锁","url":"/2019/12/10/Redis-Part-1/"},{"title":"two sum","url":"/2015/01/14/Two-Sum/"},{"title":"Path Sum","url":"/2015/01/04/Path-Sum/"},{"title":"Reverse Integer","url":"/2015/03/13/Reverse-Integer/"},{"title":"ambari-summary","url":"/2017/05/09/ambari-summary/"},{"title":"Reverse Bits","url":"/2015/03/11/Reverse-Bits/"},{"title":"docker比一般多一点的初学者介绍","url":"/2020/03/08/docker比一般多一点的初学者介绍/"},{"title":"docker-mysql-cluster","url":"/2016/08/14/docker-mysql-cluster/"},{"title":"binary-watch","url":"/2016/09/29/binary-watch/"},{"title":"docker比一般多一点的初学者介绍二","url":"/2020/03/15/docker比一般多一点的初学者介绍二/"},{"title":"docker比一般多一点的初学者介绍三","url":"/2020/03/21/docker比一般多一点的初学者介绍三/"},{"title":"Leetcode 234 回文链表(Palindrome Linked List) 题解分析","url":"/2020/11/15/Leetcode-234-回文联表-Palindrome-Linked-List-题解分析/"},{"title":"invert-binary-tree","url":"/2015/06/22/invert-binary-tree/"},{"title":"C++ 指针使用中的一个小问题","url":"/2014/12/23/my-new-post/"},{"title":"gogs使用webhook部署react单页应用","url":"/2020/02/22/gogs使用webhook部署react单页应用/"},{"title":"minimum-size-subarray-sum-209","url":"/2016/10/11/minimum-size-subarray-sum-209/"},{"title":"docker使用中发现的echo命令的一个小技巧及其他","url":"/2020/03/29/echo命令的一个小技巧/"},{"title":"mybatis 的 $ 和 # 是有啥区别","url":"/2020/09/06/mybatis-的-和-是有啥区别/"},{"title":"openresty","url":"/2019/06/18/openresty/"},{"title":"pcre-intro-and-a-simple-package","url":"/2015/01/16/pcre-intro-and-a-simple-package/"},{"title":"php-abstract-class-and-interface","url":"/2016/11/10/php-abstract-class-and-interface/"},{"title":"rabbitmq-tips","url":"/2017/04/25/rabbitmq-tips/"},{"title":"redis数据结构介绍三-第三部分 整数集合","url":"/2020/01/10/redis数据结构介绍三/"},{"title":"redis数据结构介绍二-第二部分 跳表","url":"/2020/01/04/redis数据结构介绍二/"},{"title":"redis数据结构介绍五-第五部分 对象","url":"/2020/01/20/redis数据结构介绍五/"},{"title":"redis数据结构介绍四-第四部分 压缩表","url":"/2020/01/19/redis数据结构介绍四/"},{"title":"summary-ranges-228","url":"/2016/10/12/summary-ranges-228/"},{"title":"spark-little-tips","url":"/2017/03/28/spark-little-tips/"},{"title":"swoole-websocket-test","url":"/2016/07/13/swoole-websocket-test/"},{"title":"周末我在老丈人家打了天小工","url":"/2020/08/16/周末我在老丈人家打了天小工/"},{"title":"在老丈人家的小工记三","url":"/2020/09/13/在老丈人家的小工记三/"},{"title":"从丁仲礼被美国制裁聊点啥","url":"/2020/12/20/从丁仲礼被美国制裁聊点啥/"},{"title":"从清华美院学姐聊聊我们身边的恶人","url":"/2020/11/29/从清华美院学姐聊聊我们身边的恶人/"},{"title":"在老丈人家的小工记五","url":"/2020/10/18/在老丈人家的小工记五/"},{"title":"寄生虫观后感","url":"/2020/03/01/寄生虫观后感/"},{"title":"在老丈人家的小工记四","url":"/2020/09/26/在老丈人家的小工记四/"},{"title":"我是如何走上跑步这条不归路的","url":"/2020/07/26/我是如何走上跑步这条不归路的/"},{"title":"聊聊 Dubbo 的 SPI","url":"/2020/05/31/聊聊-Dubbo-的-SPI/"},{"title":"聊聊 Dubbo 的 SPI 续之自适应拓展","url":"/2020/06/06/聊聊-Dubbo-的-SPI-续之自适应拓展/"},{"title":"聊聊 Java 的类加载机制一","url":"/2020/11/08/聊聊-Java-的类加载机制/"},{"title":"聊聊 mysql 的 MVCC 续篇","url":"/2020/05/02/聊聊-mysql-的-MVCC-续篇/"},{"title":"聊聊 mysql 的 MVCC","url":"/2020/04/26/聊聊-mysql-的-MVCC/"},{"title":"聊聊 mysql 的 MVCC 续续篇之锁分析","url":"/2020/05/10/聊聊-mysql-的-MVCC-续续篇之加锁分析/"},{"title":"聊聊一次 brew update 引发的血案","url":"/2020/06/13/聊聊一次-brew-update-引发的血案/"},{"title":"聊聊我刚学会的应用诊断方法","url":"/2020/05/22/聊聊我刚学会的应用诊断方法/"},{"title":"聊聊Java中的单例模式","url":"/2019/12/21/聊聊Java中的单例模式/"},{"title":"聊聊那些加塞狗","url":"/2021/01/17/聊聊那些加塞狗/"},{"title":"聊聊 Java 的 equals 和 hashCode 方法","url":"/2021/01/03/聊聊-Java-的-equals-和-hashCode-方法/"},{"title":"这周末我又在老丈人家打了天小工","url":"/2020/08/30/这周末我又在老丈人家打了天小工/"},{"title":"聊聊 mysql 索引的一些细节","url":"/2020/12/27/聊聊-mysql-索引的一些细节/"},{"title":"mybatis 的缓存是怎么回事","url":"/2020/10/03/mybatis-的缓存是怎么回事/"},{"title":"redis数据结构介绍-第一部分 SDS,链表,字典","url":"/2019/12/26/redis数据结构介绍/"},{"title":"redis数据结构介绍六 快表","url":"/2020/01/22/redis数据结构介绍六/"},{"title":"介绍一下 RocketMQ","url":"/2020/06/21/介绍一下-RocketMQ/"},{"title":"聊聊 Dubbo 的容错机制","url":"/2020/11/22/聊聊-Dubbo-的容错机制/"},{"title":"聊聊我理解的分布式事务","url":"/2020/05/17/聊聊我理解的分布式事务/"},{"title":"Filter, Interceptor, Aop, 啥, 啥, 啥? 这些都是啥?","url":"/2020/08/22/Filter-Intercepter-Aop-啥-啥-啥-这些都是啥/"},{"title":"redis系列介绍七-过期策略","url":"/2020/04/12/redis系列介绍七/"},{"title":"JVM源码分析之G1垃圾收集器分析一","url":"/2019/12/07/JVM-G1-Part-1/"},{"title":"redis系列介绍八-淘汰策略","url":"/2020/04/18/redis系列介绍八/"},{"title":"聊一下 RocketMQ 的 NameServer 源码","url":"/2020/07/05/聊一下-RocketMQ-的-NameServer-源码/"},{"title":"聊聊 RocketMQ 的 Broker 源码","url":"/2020/07/19/聊聊-RocketMQ-的-Broker-源码/"},{"title":"聊聊 Java 自带的那些*逆天*工具","url":"/2020/08/02/聊聊-Java-自带的那些逆天工具/"},{"title":"聊一下 RocketMQ 的 DefaultMQPushConsumer 源码","url":"/2020/06/26/聊一下-RocketMQ-的-Consumer/"}] \ No newline at end of file diff --git a/lib/pace/README.html b/lib/pace/README.html index fabf1f48f6..21520db145 100644 --- a/lib/pace/README.html +++ b/lib/pace/README.html @@ -351,20 +351,20 @@ @@ -389,7 +389,7 @@
- +
diff --git a/page/10/index.html b/page/10/index.html index eec3790253..60378fce0e 100644 --- a/page/10/index.html +++ b/page/10/index.html @@ -203,6 +203,146 @@ +
+ + + + + +
+

+ + +

+ + +
+ + + + +
+ + +

因为最近想搭一个phabricator用来做看板和任务管理,一开始了解这个是Easy大大有在微博推荐过,后来苏洋也在群里和博客里说到了,看上去还不错的样子,因为主角是docker所以就不介绍太多,后面有机会写一下。

+

docker最开始是之前在某位大佬的博客看到的,看上去有点神奇,感觉是一种轻量级的虚拟机,但是能做的事情好像差不多,那时候是在Ubuntu系统的vps里起一个Ubuntu的docker,然后在里面装个nginx,配置端口映射就可以访问了,后来也草草写过一篇使用docker搭建mysql集群,但是最近看了下好像是因为装docker的大佬做了一些别名还是什么操作,导致里面用的操作都不具有普遍性,而且主要是把搭的过程写了下,属于囫囵吞枣,没理解docker是干啥的,为啥用docker,就是操作了下,这几天借着搭phabricator的过程,把一些原来不理解,或者原来理解错误的地方重新理一下。

+

之前写的 mysql 集群,一主二备,这种架构在很多小型应用里都是这么配置的,而且一般是直接在三台 vps 里启动三个 mysql 实例,但是如果换成 docker 会有什么好处呢,其实就是方便部署,比如其中一台备库挂了,我要加一台,或者说备库的 qps 太高了,需要再加一个,如果要在 vps 上搭建的话,首先要买一台机器,等初始化,然后在上面修改源,更新,装 mysql ,然后配置主从,可能还要处理防火墙等等,如果把这些打包成一个 docker 镜像,并且放在自己的 docker registry,那就直接run 一下就可以了;还有比如在公司要给一个新同学整一套开发测试环境,以 Java 开发为例,要装 git,maven,jdk,配置 maven settings 和各种 rc,整合在一个镜像里的话,就会很方便了;再比如微服务的水平扩展。

+

但是为啥 docker 会有这种优势,听起来好像虚拟机也可以干这个事,但是虚拟机动辄上 G,而且需要 VMware,virtual box 等支持,不适合在Linux服务器环境使用,而且占用资源也会非常大。说得这么好,那么 docker 是啥呢

+

docker 主要使用 Linux 中已经存在的两种技术的一个整合升级,一个是 namespace,一个是cgroups,相比于虚拟机需要完整虚拟出一个操作系统运行基础,docker 基于宿主机内核,通过 namespace 和 cgroups 分隔进程,理念就是提供一个隔离的最小化运行依赖,这样子相对于虚拟机就有了巨大的便利性,具体的 namespace 和 cgroups 就先不展开讲,可以参考耗子叔的文章

+

安装

那么我们先安装下 docker,参考官方的教程,安装,我的系统是 ubuntu 的,就贴了 ubuntu 的链接,用其他系统的可以找到对应的系统文档安装,安装完了的话看看 docker 的信息

+
1
sudo docker info
+ +

输出以下信息

+

简单运行

然后再来运行个 hello world 呗,

+
1
sudo docker run hello-world
+ +

输出了这些

+

看看这个运行命令是怎么用的,一般都会看到这样子的,sudo docker run -it ubuntu bash, 前面的 docker run 反正就是运行一个容器的意思,-it是啥呢,还有这个什么 ubuntu bash,来看看docker run`的命令帮助信息

+
1
-i, --interactive                    Keep STDIN open even if not attached
+ +

就是要有输入,我们运行的时候能输入

+
1
-t, --tty                            Allocate a pseudo-TTY
+ +

要有个虚拟终端,

+
1
2
3
Usage:	docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Run a command in a new container
+ +

镜像

上面说的-it 就是这里的 options,后面那个 ubuntu 就是 image 辣,image 是啥呢

+

Docker 把应用程序及其依赖,打包在 image 文件里面,可以把它理解成为类似于虚拟机的镜像或者运行一个进程的代码,跑起来了的叫docker 容器或者进程,比如我们将要运行的docker run -it ubuntu bash的ubuntu 就是个 ubuntu 容器的镜像,将这个镜像运行起来后,我们可以进入容器像使用 ubuntu 一样使用它,来看下我们的镜像,使用sudo docker image ls就能列出我们宿主机上的 docker 镜像了

+

+

一个 ubuntu 镜像才 64MB,非常小巧,然后是后面的bash,我通过交互式启动了一个 ubuntu 容器,然后在这个启动的容器里运行了 bash 命令,这样就可以在容器里玩一下了

+

在容器里看下进程,

+

只有刚才运行容器的 bash 进程和我刚执行的 ps,这里有个可以注意下的,bash 这个进程的 pid 是 1,其实这里就用到了 linux 中的PID Namespace,容器会隔离出一个 pid 的名字空间,这里面的进程跟外部的 pid 命名独立

+

查看宿主机上的容器

1
sudo docker ps -a
+ +

+

如何进入一个正在运行中的 docker 容器

这个应该是比较常用的,因为比如是一个微服务容器,有时候就像看下运行状态,日志啥的

+
1
sudo docker exec -it [containerID] bash
+ +

+

查看日志

1
sudo docker logs [containerID]
+ +

我在运行容器的终端里胡乱输入点啥,然后通过上面的命令就可以看到啦

+

+

+ + +
+ + + + + + +
+
+
+
+ + + + + + +
@@ -652,118 +792,6 @@ - - - -
- - - - - -
-

- - -

- - -
- - - - -
- - -

今天是农历初八了,年前一个月的时候就准备做下今年的年终总结,可是写了一点觉得太情绪化了,希望后面写个平淡点的,正好最近技术方面还没有看到一个完整成文的内容,就来写一下这一年的总结,尽量少写一点太情绪化的东西。

-

跳槽

年初换了个公司,也算换了个环境,跟前公司不太一样,做的事情方向也不同,可能是侧重点不同,一开始有些不适应,主要是压力上,会觉得压力比较大,但是总体来说与人相处的部分还是不错的,做的技术方向还是Java,这里也感谢前东家让我有机会转了Java,个人感觉杭州整个市场还是Java比较有优势,不过在开始的时候总觉得对Java有点不适应,应该值得深究的东西还是很多的,而且对于面试来说,也是有很多可以问的,后面慢慢发现除开某里等一线超一线互联网公司之外,大部分的面试还是有大概的套路跟大纲的,不过更细致的则因人而异了,面试有时候也还看缘分,面试官关注的点跟应试者比较契合的话就很容易通过面试,不然的话总会有能刁难或者理性化地说比较难回答的问题。这个后面可以单独说一下,先按下不表。
刚进公司没多久就负责比较重要的项目,工期也比较紧张,整体来说那段时间的压力的确是比较大的,不过总算最后结果不坏,这里应该说对一些原来在前东家都是掌握的不太好的部分,比如maven,其实maven对于java程序员来说还是很重要的,但是我碰到过的面试基本没问过这个,我自己也在后面的面试中没问过相关的,不知道咋问,比如dependence分析、冲突解决,比如对bean的理解,这个算是我一直以来的疑问点,因为以前刚开始学Java学spring,上来就是bean,但是bean到底是啥,IOC是啥,可能网上的文章跟大多数书籍跟我的理解思路不太match,导致一直不能很好的理解这玩意,到后面才理解,要理解这个bean,需要有两个基本概念,一个是面向对象,一个是对象容器跟依赖反转,还是只说到这,后面可以有专题说一下,总之自认为技术上有了不小的长进了,方向上应该是偏实用的。这个重要的项目完成后慢慢能喘口气了,后面也有一些比较紧急且工作量大的,不过在我TL的帮助下还是能尽量协调好资源。

-

面试

后面因为项目比较多,缺少开发,所以也参与帮忙做一些面试,这里总体感觉是面的候选人还是比较多样的,有些工作了蛮多年但是一些基础问题回答的不好,有些还是在校学生,但是面试技巧不错,针对常见的面试题都有不错的准备,不过还是觉得光靠这些面试题不能完全说明问题,真正工作了需要的是解决问题的人,而不是会背题的,退一步来说能好好准备面试还是比较重要的,也是双向选择中的基本尊重,印象比较深刻的是参加了去杭州某高校的校招面试,感觉参加校招的同学还是很多的,大部分是20年将毕业的研究生,挺多都是基础很扎实,对比起我刚要毕业时还是很汗颜,挺多来面试的同学都非常不错,那天强度也很大,从下午到那开始一直面到六七点,在这祝福那些来面试的同学,也都不容易的,能找到心仪的工作。

-

技术方向

这一年前大半部分还是比较焦虑不能恢复那种主动找时间学习的状态,可能换了公司是主要的原因,初期有个适应的过程也比较正常,总体来说可能是到九十月份开始慢慢有所改善,对这些方面有学习了下,

-
    -
  • spring方向,spring真的是个庞然大物,但是还是要先抓住根本,慢慢发散去了解其他的细节,抓住bean的生命周期,当然也不是死记硬背,让我一个个背下来我也不行,但是知道它究竟是干嘛的,有啥用,并且在工作中能用起来是最重要的
  • -
  • mysql数据库,这部分主要是关注了mvcc,知道了个大概,源码实现细节还没具体研究,有时间可以来个专题(一大堆待写的内容)
  • -
  • java的一些源码,比如aqs这种,结合文章看了下源码,一开始总感觉静不下心来看,然后有一次被LD刺激了下就看完了,包括conditionObject等
  • -
  • redis的源码,这里包括了Redis分布式锁和redis的数据结构源码,已经写成文章,不过比较着急成文,所以质量不是特别好,希望后面再来补补
  • -
  • jvm源码,这部分正好是想了解下g1收集器,大概把周志明的书看完了,但是还没完整的理解掌握,还有就是g1收集器的部分,一是概念部分大概理解了,后面是就是想从源码层面去学习理解,这也是新一年的主要计划
  • -
  • mq的部分是了解了zero copy,sendfile等,跟消息队列主题关系不大🤦‍♂️
    这么看还是学了点东西的,希望新一年再接再厉。
  • -
-

生活

住的地方没变化,主要是周边设施比较方便,暂时没找到更好的就没打算换,主要的问题是没电梯,一开始没觉得有啥,真正住起来还是觉得比较累的,希望后面租的可以有电梯,或者楼层低一点,还有就是要通下水道,第一次让师傅上门,花了两百大洋,后来自学成才了,让师傅通了一次才撑了一个月就不行了,后面自己通的差不多可以撑半年,还是比较有成就感的😀,然后就是跑步了,年初的时候去了紫金港跑步,后面因为工作的原因没去了,但是公司的跑步机倒是让我重拾起这个唯一的运动健身项目,后面因为肠胃问题,体重也需要控制,所以就周末回来也在家这边坚持跑步,下半年的话基本保持每周一次以上,比较那些跑马拉松的大牛还是差距很大,不过也是突破自我了,有一次跑了12公里,最远的距离,而且后面感觉跑十公里也不是特别吃不消了,这一年达成了300公里的目标,体重也稍有下降,比较满意的结果。

-

期待

希望工作方面技术方面能有所长进,生活上能多点时间陪家人,继续跑步减肥,家人健健康康的,嗯

- - -
- - - - - - -
-
-
-
- - - - @@ -873,7 +901,7 @@
- +
diff --git a/page/11/index.html b/page/11/index.html index 82f7d9d02c..628dffdb12 100644 --- a/page/11/index.html +++ b/page/11/index.html @@ -204,7 +204,7 @@
- +