摘要:
写了一个脚本读取docker日志,发生报错:Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock 有不少方法, 1、用sudo执行脚本 2、将用 阅读全文
摘要:
原文来源:https://stackoverflow.com/questions/5586383/how to diff one file to an arbitrary version in git 问:如何比较一个文件,比方说pom.xml,比较master分支上与git上任意的一个老版本的区别 阅读全文
摘要:
原文来源: https://stackoverflow.com/questions/674304/why is init always called after new 需要控制新实例的创建时,请使用__new__。 需要控制新实例的初始化时,请使用 __init__。 __new__是实例创建的第 阅读全文