运行时报错:You must configure either the server or JDBC driver (via the serverTimezone configuration property),说明是mysql没有把时区改成+8:00,改一下就好,具体方法百度。 运行时报错: In ...
分类:
编程语言 时间:
2020-05-30 13:09:49
阅读次数:
88
安装dnsmasq yum -y install dnsmasq 配置 vim /etc/mnsmasq.conf 修改以下几个数据 # Change this line if you want dns to get its upstream servers from # somewhere oth ...
分类:
其他好文 时间:
2020-05-30 11:12:12
阅读次数:
96
1.新建module,springboot-log 2.pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3 ...
分类:
编程语言 时间:
2020-05-30 11:02:19
阅读次数:
58
今天来小结一下indexOf()方法的几种API 首选自定义一个字符串(生活就像一盒巧克力,你永远不会知道你要拿起的是哪一个——《阿甘正传》) String str= "life was like a box of chocolates you never know what you are gon ...
分类:
其他好文 时间:
2020-05-30 10:43:48
阅读次数:
627
Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given Is PAT&TAP symmetric?, the longest symme ...
分类:
其他好文 时间:
2020-05-30 01:16:17
阅读次数:
60
1049 Counting Ones (30分) The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal form of th ...
分类:
其他好文 时间:
2020-05-29 23:43:50
阅读次数:
106
What are the differences between Perl, Python, AWK and sed In order of appearance, the languages are sed, awk, perl, python. The sed program is a stre ...
分类:
编程语言 时间:
2020-05-29 23:12:24
阅读次数:
87
1.Transformer结构 //这里为什么有两个output??什么意思?已经完全看不懂了。。 Transformer使用栈式自注意力机制,编码器和解码器的逐点完全连接层。 https://www.jianshu.com/p/e7d8caa13b21,这篇有讲到,Encoder的输出可以变换为注 ...
分类:
其他好文 时间:
2020-05-29 22:52:47
阅读次数:
74
hashlib — Secure hashes and message digests — Python 3.8.3 documentation https://docs.python.org/3.8/library/hashlib.html#randomized-hashing BLAKE2 ht ...
分类:
其他好文 时间:
2020-05-29 21:26:06
阅读次数:
81
答: 打上以下补丁即可修复 $ wget https://patchwork.openembedded.org/patch/146107/mbox/ -O mbox && git am mbox --reject 参考资料: https://patchwork.openembedded.org/pa ...
分类:
其他好文 时间:
2020-05-29 21:01:03
阅读次数:
172