snowflake雪花算法 + 美团 Leaf
摘要:Twitter的分布式自增ID算法snowflake 概述: 结构: 源码: https://github.com/twitter-archive/snowflake 工程落地经验: 糊涂工具包: https://github.com/dromara/hutoolspringboot整合雪花算法:
阅读全文
Git回退版本
摘要:git log(退出:按一下 q ) 找到想要回退的版本id git reset --hard id eg: git reset --hard 123456789 git log --oneline 或者 git log --pretty=oneline 以精简模式显示 如果git log 只显示几
阅读全文