1、git查看一个项目的代码贡献度:?
git?log?--format='%aN'?|?sort?-u?|?while?read?name;?do?echo?-en?"$name\t";?git?log?--author="$name"?--pretty=tformat:?--numstat?|?awk?'{?add?+=?$1;?subs?+=?$2;?loc?+=?$1?-?$2?}?END?{?printf?"added?lines:?%s,?removed?lines:?%s,?total?lines:?%s\n",?add,?subs,?loc?}'?-;?done
?2、
配置rocketMQ的log日志存储信息
#?存储路径
storePathRootDir=d:/logs/rocketmq/data/store
#?commitLog?存储路径
storePathCommitLog=d:/logs/rocketmq/data/store/commitlog
#?消费队列存储
storePathConsumeQueue=d:/logs/rocketmq/data/store/consumequeue
#?消息索引存储路径
storePathIndex=d:/logs/rocketmq/data/store/index
#?checkpoint?文件存储路径
storeCheckpoint=d:/logs/rocketmq/data/store/checkpoint
#?abort?文件存储路径
abortFile=d:/logs/rocketmq/data/store/abort
#?限制的消息大小
maxMessageSize?=?65536
?3、清除Docker的数据
docker?system?prune?-a??????????
4、清除具体某一个端口号占用
?netstat?-ano?|?findstr?:8081??????
?taskkill?/F?/PID?18976