spring+mybatis集成过程中,报错信息如下: [ERROR] 2020-02-09 create connection SQLException, url: jdbc:mysql://127.0.0.1:3306/ems, errorCode 1045, state 28000 后来将da ...
分类:
编程语言 时间:
2020-02-10 09:56:12
阅读次数:
64
上篇博客提到了爬取动态数据,但是在构造request_url时,其中的url我用的浏览器的网址,但是经过运行发现,有时可以运行成功,有时 request_url = "http://tool.manmanbuy.com/history.aspx?DA=1&action=gethistory&url= ...
分类:
Web程序 时间:
2020-02-08 14:07:54
阅读次数:
54
其实这个也没有什么好值得记录的,但是前面都记下来了,我也顺便说说吧: 1.为了方便,最好把http服务声明为超全局变量。 2.在一些地方里面,你声明的http超全局变量是用不了的,你只能用他自己内置的服务对象: public function pushLive($da, $serv) { $key ...
分类:
其他好文 时间:
2020-02-07 23:59:23
阅读次数:
117
编译器自带拷贝构造(ctor)和拷贝赋值函数(operator =), 但是对于成员变量含有指针的类,其不能使用默认的拷贝赋值函数。因为使用默认的,会直接将指针指向的地址进行赋值 (浅拷贝,共享内存,共指一个对象),而不是分配一块内存,具有相同的数值 (深拷贝,独立,两个对象)。 浅拷贝容易造成da ...
分类:
其他好文 时间:
2020-02-07 01:09:04
阅读次数:
93
jupyter(Win版本)下载数据集会默认到C盘下,Linux会默认到root下,修改方式如下· tf1.x: import os import tensorflow as tftf.disable_v2_behavior()tf.enable_eager_execution() train_da ...
分类:
其他好文 时间:
2020-02-03 11:46:35
阅读次数:
288
Managing the UNDO TABLESPACE Every Oracle Database must have a method of maintaining information that is used to roll back, or undo, changes to the da ...
分类:
其他好文 时间:
2020-02-01 01:03:38
阅读次数:
98
1、题目描述: 2、代码:考察 group by 的条件在的位置对应的语法,考察聚合函数平均数的使用。 select t.title,avg(s.salary) from titles t left join salaries s on t.emp_no=s.emp_no where t.to_da ...
分类:
其他好文 时间:
2020-01-30 11:16:43
阅读次数:
133
LBDP-Z可支持STM32通过无线模块实现在线升级,支持单播或广播模式。 LBDP-Z可变数据域报文 SD2 LE LEr SD2 GA SA FC DU FCS ED SD2 起始字节,ED结束字节,GA组地址,SA从站地址/源地址,DA目的地址,LE/LEr数据域长度,FC控制字节,FCS校验 ...
分类:
其他好文 时间:
2020-01-28 09:30:32
阅读次数:
83
[题目] 如图,正方形 $ABCD$ 的边长为 $1$ ,$P,Q$ 分别为边 $AB,DA$ 上的点.当 $\triangle APQ$ 的周长为 $2$ 时,求 $\angle PCQ$ 的大小. [解析] 设 $\angle DCQ=\alpha , \angle BCP=\beta$ ,则 ...
分类:
其他好文 时间:
2020-01-24 10:53:03
阅读次数:
95
若直接DFS递归求解,会栈溢出 #include <cstdio> #include <cstring> #include <queue> #include <algorithm> using namespace std; const int maxn=50; struct node{ int da ...
分类:
其他好文 时间:
2020-01-21 23:11:32
阅读次数:
76