题目: Given a non-empty binary tree, find the maximum path sum. For this problem, a path is defined as any sequence of nodes from some starting node to ...
分类:
编程语言 时间:
2020-02-28 14:11:20
阅读次数:
84
我喜欢的: 1. Gnome系用户,按 ,屏幕右上角有红点出现,开始录屏,结束的话再按一次 ,录好的视频在 ~/Videos下 2. ffmpeg 更多细节看 https://trac.ffmpeg.org/wiki/Capture/Desktop Linux ...
分类:
系统相关 时间:
2020-02-28 01:09:18
阅读次数:
94
org.apache.catalina.core.StandardContext.filterStart Exception starting filt 注意: 把你要用到的那些包,全部复制一遍放到Tomcat目录的lib下,在启动就可以了。 ...
分类:
编程语言 时间:
2020-02-25 00:18:36
阅读次数:
90
使用过程中遇到上传报以下错误: @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1648) [sender=3.1.2] 搜索解决方案时没有此问题的解决办法,后来查看 ...
分类:
Web程序 时间:
2020-02-24 15:01:16
阅读次数:
80
题目: "Exercise: Web Crawler" 直接参考了 的实现,不过该代码使用了chan bool来存放子协程是否执行完成,我的代码是使用WaitGroup来让主协程等待子协程执行完成。 完整代码请参考 请注意对于WaitGroup的处理参考了 "Golang中WaitGroup使用的一 ...
分类:
Web程序 时间:
2020-02-23 19:58:34
阅读次数:
94
Hadoop HA架构搭建 共七台服务器,节点角色分配如下: 192.168.133.21 (BFLN-01):namenode zookeeper journalnadeDFSZKFailoverController192.168.133.23 (BFLN-02):namenoderesource... ...
分类:
其他好文 时间:
2020-02-23 18:36:02
阅读次数:
91
patroni集群第一次初始化失败,再次使用原来的配置尝试初始化,查看信息,不同节点都显示同一个信息:waiting for leader to bootstrap # systemctl status patroni.service ● patroni.service - PostgreSQL h ...
分类:
其他好文 时间:
2020-02-23 11:18:29
阅读次数:
139
?问题描述 在通过 Eclipse 打开 Tomcat 时报错; ?解决方案 找到 Tomcat 的安装位置,打开 tomcat\bin 目录,找到 shutdown.bat,手动关闭 tomcat; 然后,在 eclipse 中再重新启动就行了; ...
分类:
其他好文 时间:
2020-02-23 11:10:19
阅读次数:
300
集群搭建之前需要做好NN节点到其他所有节点的免密认证,关闭所有服务器的selinux和防火墙 架构图 1.更改所有服务器的主机名和hosts文件对应关系 [root@localhost ~]# hostnamectl set-hostname node1 [root@localhost ~]# ca ...
分类:
其他好文 时间:
2020-02-22 15:34:20
阅读次数:
85
You are given a square board of characters. You can move on the board starting at the bottom right square marked with the character 'S'. You need to r ...
分类:
其他好文 时间:
2020-02-22 13:33:15
阅读次数:
59