08 2019 档案
摘要:三种方式挨个尝试,1不行用2 2不行用3 1.拉取阶段失败 git worktree add -f -B xxx_branch ./xxx_branch origin/xxx_branch 强制拉取 2.删除worktree目录,再录取 git worktree remove xxx_branch
阅读全文
摘要:稀疏检出配置: worktree稀疏配置: 1.git worktree add -b xxxx_branch ./xxxx_branchorigin/xxxx_branch --no-checkout ,先使用--no-checkout,然后加配置,然后checkout 2.要在./git/wor
阅读全文
摘要:# -*- coding: utf-8 -*- import json from datetime import date, datetime class MyEncoder(json.JSONEncoder): def default(self, obj): # if isinstance(obj, datetime.datetime): # ...
阅读全文
摘要:sync.WaitGroup add() done() wait() 相当于计数器,done会减一,wait会等待所有线程都执行完才执行下面代码 sync.pool 用来封装连接池
阅读全文
摘要:vmware-->编辑-->虚拟网络编辑器-->更改配置,如下图选择:
阅读全文
摘要:1.首先在consume之前声明队列的时候,要加上x-max-priority属性,一般为0-255,大于255出错 配置队列优先级 配置成功后rabbitmq显示: 2.在向exchange publish时,配置消息的优先级,优先级越大越优先 publish 消息优先级
阅读全文
摘要:转:https://www.jb51.net/article/134302.htm
阅读全文
摘要:配置密码 重启密码会失效 配置在redis.conf中 requirepass test123,则重启不会失效
阅读全文
摘要:sharpsvn的方式(未尝试)
阅读全文