JavaWeb编程最初是从学习servlet开始的,在学了N多个框架之后,逐渐觉得框架带来的功能是理所当然的,不加思考就在上面码砖,这样码久了就有种“一切尽在掌控”的错觉。 然而,闲下来的时候回忆旧知识,想自己搭一个纯servlet的架子,瞬间懵逼。今天就记录下遇到的问题: 1.在IDEA中对构建得 ...
分类:
其他好文 时间:
2020-06-02 00:02:02
阅读次数:
108
一、SpringAOP应用 先搭建一个SpringBoot项目 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org ...
分类:
编程语言 时间:
2020-06-01 23:34:04
阅读次数:
58
新建一个文本文件,重命名为openCMD.reg 用记事本打开该文件,输入以下内容 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\openCMD] @="在此处打开CMD窗口" "Icon"="cmd.exe" [HK ...
分类:
其他好文 时间:
2020-06-01 20:32:25
阅读次数:
56
Find 使用规则 在 Unity 项目开发的时候,我们可以通过代码 Find 对象的名字从而获得指定的对象。Find 会遍历 Hierarchy 视图里面的游戏对象,在找到第一个符合的对象的时候就会终止遍历。而通过实践可以发现,这种遍历是从底部开始到上面,而不是从顶部遍历到下面,这个在运用的时候很 ...
分类:
编程语言 时间:
2020-06-01 12:08:09
阅读次数:
98
题目描述 leetcode - 1:https://leetcode-cn.com/problems/two-sum/ 解题关键 hashmap的使用 碎碎念 题目比较简单,暴力过很容易,不过借助hash可以降低时间复杂度,但是增加了空间的消耗。学习了hashmap的使用 key:value 定义 ...
分类:
其他好文 时间:
2020-06-01 01:06:46
阅读次数:
77
数据库主从出错: Slave_IO_Running: No 一方面原因是因为网络通信的问题也有可能是日志读取错误的问题。以下是日志出错问题的解决方案: Last_IO_Error: Got fatal error 1236 from master when reading data from bin ...
分类:
其他好文 时间:
2020-05-31 21:49:50
阅读次数:
90
1、查找文件:find / -name filename.txt 2、查看一个程序是否运行:ps -ef|grep tomcat 3、查看文件,包含隐藏文件:ls -al 4、当前工作目录:pwd 5、复制文件包括其子文件到自定目录:cp -r sourceFolder targetFolder 6 ...
分类:
系统相关 时间:
2020-05-31 21:47:12
阅读次数:
73
采用yum安装mysql后,卸载mysql: 1 查看mysql安装 rpm -qa |grep -i mysql 2 卸载 使用yum remove 命令,删除以上各项 3 再次查看是否卸载完成 rpm -qa |grep -i mysql 4 查找mysql相关目录 find / -name m ...
分类:
数据库 时间:
2020-05-31 21:35:11
阅读次数:
92
Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the ...
分类:
其他好文 时间:
2020-05-31 12:44:37
阅读次数:
59
Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numb ...
分类:
其他好文 时间:
2020-05-31 12:43:12
阅读次数:
52