- 博客(20)
- 收藏
- 关注
原创 Docker学习总结:安装docker
Docker学习总结:安装docker使用脚本安装 --自动设置源和安装dockercurl -ssl https://get.docker.com/ | sh
2019-09-24 00:40:01
412
转载 linux基础 和 gdb的使用 调试文件和正在运行程序
linux基础 和 gdb的使用 调试文件和正在运行的程序今天看到的一个网站,转载过来,系统性很强。 Linux Tools Quick Tutorial
2019-07-17 10:30:41
202
原创 java 反射
最近看shiro 遇到很多反射的东西 开篇来学习遇到的 :getGenericType()/getType() getRawType()。。。。type是所有类型的父接口, 如原始类型(raw types 对应 Class)、 参数化类型(parameterized types 对应 ParameterizedType)、 数组类型(array types 对应 GenericA...
2019-05-17 17:33:02
208
原创 关于 ConfigurationProperties
关于 ConfigurationProperties这两天犯了一个智障问题例子@Bean @ConfigurationProperties(prefix="connection") public entity geteneity(){ entity e = new entity(); System.out.println("内部:"+e.t...
2019-05-15 03:05:19
201
原创 Springboot 的一些基础源码分析 (一)SpringApplication执行流程
Springboot 的一些基础源码分析 (一)SpringApplication执行流程参考:https://www.cnblogs.com/red-code/p/9267106.html@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})public class JustfottestAppli...
2019-05-14 19:34:22
152
原创 Springboot 的一些基础源码分析 (一)注解
Springboot 的一些基础源码分析(一)前言:之前一直自己整框架,学boot,然而遇到很多问题, 发现一些基础的源码才是最重要的,所以开篇文章来总结学习,当前版本 2.1.4首先是@SpringBootApplication参考 annotation(@Retention@Target)详解ctrl+B 转到定义 查看源码@Target({ElementType.TYPE...
2019-05-14 15:28:44
649
原创 boot获取环境变量读取
boot获取环境变量读取- 一共三种方法实现 EnvironmentAware直接env.getProperty("****");@value{" "}@ConfigurationProperties重点说第三种如果标注了@Component 可以直接用@@ConfigurationProperties(prefix="***")不是组件的话要有另一个类来辅助自动注入...
2019-05-13 14:51:23
819
转载 Error resolving template "admin/verifyPassword", template might not exist or might not be accessible
org.thymeleaf.exceptions.TemplateInputException: Error resolving template "admin/verifyPassword", template might not exist or might not be accessible by any of the configured Template Resolvers ...
2019-05-12 17:22:27
413
原创 Mybatis个人理解
Mybatis个人理解参考Mybatis框架及原理分析本质就是对jdbc的封装利用反射 打通实体类 和 sql语句之间的联系一. mybatis 配置1. 设置mapper.xml文件2. 加载configuration 3. sqlSession工厂 二. 执行opensqlsessionsqlsession.**();执行mapper.xml中的映射方法quer...
2019-05-12 15:06:17
256
原创 bootstrap <a> 不跳转
bootstrap “<“a”>” 不跳转<li ><a class="downmenu-link" href="login.html">登陆</a></li>并不会跳转到login.htm。。。。。。。。。。。。。。。Bootstrap为这些a之类元素都绑定上了事件,而终止了链接默认行为。一、可以用onclick的方法暂时实...
2019-05-11 22:29:24
977
原创 shell if[- ] 命令
shell if[-z ] 命令参考if命令if [ -z $string ] 如果string 为空,则判trueif [ $? -eq “0” ];参考if [ $? -eq “0” ];shell脚本中$?是指上一次命令执行的成功或者失败的状态。如果成功就是0,失败为1.。语句if [ $? -eq 0 ] 是判断if语句的上一个命令执行如果失败就...
2019-05-10 13:48:25
2357
原创 解析 pid=`ps -ef | grep $APP_NAME | grep -v grep | awk '{print $2}' `
ps参考 -ef 和aux的区别-ef 和 aux-ef 不截断commandaux 显示cpu和内存使用率
2019-05-10 12:47:58
4904
2
原创 linux lrzsz
lrzsz执行命令:apt-get install lrzsz 安装一个可以上传,下载的软件执行命令:rz 选中文件,然后上传执行命令:sz 文件名 下载文件
2019-05-09 16:57:46
417
原创 thymeleaf的基础知识一(源文档学习)
thymeleaf的each和if unless<table><tr><th>NAME</th><th>PRICE</th><th>IN STOCK</th><th>COMMENTS</th></tr><tr th:each="prod : ${...
2019-05-09 00:32:40
186
原创 thymeleaf的基础知识二(源文档学习)
七 表达式内联7.1不使用方言而是直接在html中写表达式 [[ ]] 或 [( )]后者是不转义的<p>The message is "[(${msg})]"</p><p>The message is "[[${msg}]]"</p>7.2 内联和模板的优劣不使用内联时,浏览器像这样静态地展示我们的代码片段:Hel...
2019-05-09 00:31:56
201
原创 thymeleaf
在这里插入代码片<h1 th:utext="#{hello.welcome(${session.s1},${session.s2})}">12</h1>utext//非转义${x} 会返回存储在Thymeleaf上下文里的变量 x ,或者作为请求属性存储****ok的变量 x 。${param.x} 会返回一个称为 x 的请求属性(可能多值)${sess...
2019-05-08 17:42:49
94
原创 maven:配置jar包到本地仓库
问题:The goal you specified requires a project to execute but there is no POM in this directory (H:\jar). Please verify you invoked Maven from the correct directory. -解决不能直接在文件窗口cmd 要win+R…无语-----...
2019-05-07 21:21:37
147
原创 vm Debian 9 做服务器
虚拟机(vm) Debian 9 做服务器参考虚拟机Centos做服务器参考设置静态ip和dns安装vm+debian9不多说设置中文字符+locale安装net-toolsapt-get install net-tools查看虚拟机ipifconfig得到IP 192.168.208.2设置静态ip根据第一个参考中的方法 获取虚拟机nat网关编辑网卡文...
2019-05-07 12:17:14
304
原创 debian 中文字符+locale
debian 菱形 中文字符$ dpkg-reconfigure locales选择en_us uft-8取消zh
2019-05-07 10:34:02
1031
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人