官网下载的Nacos mysql由于驱动过低只支持5.X版本,使用8.X版本的mysql时无法 两种方法 第一种 克隆nacos源码 分支1.0.0-RC3 $ git clone https://github.com/alibaba/nacos.git $ git checkout 1.0.0-R ...
分类:
数据库 时间:
2020-06-21 23:44:02
阅读次数:
174
一、插件与蓝图 flask中的配置文件 flask中的配置文件是放在app.config,可以像操作字典一样进行操作 直接编写 直观,简单 将常见的一些固定不变的配置写入 配置文件 配置类 推荐使用 二、蓝图 Web开发的过程中,如果我们将所有的Flask的请求处理方法都放在同一个文件下,非常不利于 ...
分类:
其他好文 时间:
2020-06-21 23:37:43
阅读次数:
61
在使用git clone命令从github克隆源码到电脑时出现了以下问题 fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed error: RPC failed; curl 18 t ...
分类:
Web程序 时间:
2020-06-21 23:37:27
阅读次数:
88
一、问题出现 1.当远程仓库分支上有一个本地仓库没有的分支时 2.本地使用git checkout命令检索这个远程分支 git checkout -b 本地分支名 远程分支名 当出现上述情况时,就会出现报错:fatal:‘XXX' is not a commit and a branch ‘XXX' ...
分类:
其他好文 时间:
2020-06-21 23:11:17
阅读次数:
202
git基础命令(黏贴shift + insert)拷贝项目:git clone <仓库地址> 创建分支:git branch <name>創建並进入分支:git checkout -b <name>切分支:git checkout <name>查看状态:git status添加所有:git add. ...
分类:
其他好文 时间:
2020-06-21 19:54:25
阅读次数:
72
面向对象三大特性之——继承 继承 -- 需要解决代码的重复 继承语法: class A: pass class B(A): pass B继承A,A是父类,B是子类 A是父类(基类 超类) B是子类(派生类) 子类可以使用父类中的 : 方法 静态变量 class Animal: def __init_ ...
分类:
其他好文 时间:
2020-06-21 19:49:15
阅读次数:
47
Qt 在槽函数中获取信号发送对象 Qt中提供了一个函数 qobject_cast(QObject *object),可以通过这个函数判断信号发出对象 Qt 帮助文档的解释: Returns the given object cast to type T if the object is of typ ...
分类:
其他好文 时间:
2020-06-21 17:53:46
阅读次数:
80
Collection继承关系图 Collection类 Set、List、Map、Queue使用场景梳理 1 方法摘要 2 boolean add(E e) 3 确保此 collection 包含指定的元素(可选操作)。 4 boolean addAll(Collection<? extends E ...
分类:
其他好文 时间:
2020-06-21 17:48:26
阅读次数:
44
递归 思路: 代码: # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = l ...
分类:
其他好文 时间:
2020-06-21 15:46:28
阅读次数:
40
cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG /etc/init.d/slapd stop rm -rf /var/lib/ldap/* rm -rf /etc/openldap/slapd.d/* ...
分类:
其他好文 时间:
2020-06-21 15:41:36
阅读次数:
74