- 博客(7)
- 收藏
- 关注
原创 [Python系列] Python 3.12 免安装版 虚拟环境Virtualenv
要升级python版本, 但是旧版本windows 安装版 又不想卸载。所以去python官网下载了个python-3.12免安装版。
2024-01-11 17:46:50
1379
1
原创 测试delete删除数据--MySQL数据恢复
首先1查看binlog日志是否开启mysql> show variables like ‘log_%’;如没有则打开mysql的bin log功能:对于mysql也是支持增量备份,但要打开mysql的bin log功能。我们修改mysql的配置文件。linux是/etc/my.cnf,windows是mysql的安装目录/my.ini我们在[mysqld]下面加上log-bin一行代码[mysqld]log-bin=mysql-bin使用 service 启动:service my
2020-07-10 15:28:53
458
原创 springcloud的Hoxton.SR6启动报错NoClassDefFoundError: com/fasterxml/jackson/databind/JsonSerializer
最近用官方文档的 POM 建springcloud工程。springboot版本2.3.1springcloud版本Hoxton.SR6spring版本:spring-5.2.7.RELEASE <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version&g
2020-07-02 17:43:55
1486
1
原创 java基础(关于重写hashcode,equals,toString方法)
按照java开发的既定规范,任何和数据有关的类定义都需要重写三个方法:1、hashcode2、equals3、toString同时实现这三个方法有一个要求,既是,被定义为相同数据的两个对象,这三个方法表现必须一致:既是如果a.equals(b)==true的情况下,a.hashcode()==b.hashcode()返回true;a.toString()==b.toString()也要返...
2020-03-23 17:19:59
453
原创 Python:virtualenv 和 venv的区别
原文出自廖雪峰博客。在开发python应用程序的时候,系统安装的python3只有一个版本:3.4。所有的第三方的包都回被pip安装到python3的site-packages目录下。如果我们要要同时开发多个应用程序,那这些应用都共用一个python,就是安装在系统的python3。如果应用A需要jinja 2.7,而应用B需要jinja 2.6怎么办?这种情况下,每个应用需要各自拥有一套“...
2020-03-03 18:16:29
2954
原创 noelle 精句
The EndingWhen I was a little gril,Christmas Eve was always the best night of the year. But this time, it was better than ever. Because instead of getting the presents, I was giving them.日常口语It got...
2020-01-05 00:47:29
113
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人