zno2

2023年6月1日 #

spring boot核心原理:@Conditional

摘要: 资料 https://docs.spring.io/spring-boot/docs/2.2.2.RELEASE/reference/html/howto.htmlhttps://docs.spring.io/spring-boot/docs/1.2.1.RELEASE/reference/html 阅读全文

posted @ 2023-06-01 17:13 zno2 阅读(26) 评论(0) 推荐(0) 编辑

spring boot 核心原理: DispatcherServlet

摘要: 引子:浏览器输入地址访问springboot controller 都经历了什么? 域名解析先不谈,springboot 使用的是内嵌tomcat作为web容器。而tomcat 使用的是Nio 处理 http1.1 ,经过层层过滤器最终到达servlet ,然后走的是servlet 生命周期。 sp 阅读全文

posted @ 2023-06-01 17:12 zno2 阅读(254) 评论(0) 推荐(0) 编辑

docker run 需求

摘要: 1. 当重启电脑时,容器自动启动 --restart always PolicyResult no Do not automatically restart the container when it exits. This is the default. on-failure[:max-retri 阅读全文

posted @ 2023-06-01 17:10 zno2 阅读(5) 评论(0) 推荐(0) 编辑

log4j.xml example

摘要: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration debug="true" xmlns:log4j='http://jakart 阅读全文

posted @ 2023-06-01 17:10 zno2 阅读(18) 评论(0) 推荐(0) 编辑

docker 文档

摘要: Engine reference¶ Dockerfile reference Docker run reference Command line reference API Reference 阅读全文

posted @ 2023-06-01 17:10 zno2 阅读(5) 评论(0) 推荐(0) 编辑

Dockerized Zabbix

摘要: https://www.zabbix.org/wiki/Dockerized_Zabbix#Dockerized_Zabbix_Server_XXLhttps://github.com/monitoringartist/zabbix-xxl/tree/master/Dockerfile/zabbix 阅读全文

posted @ 2023-06-01 17:09 zno2 阅读(6) 评论(0) 推荐(0) 编辑

linux history command

摘要: history | grep somekeywords http://www.computerhope.com/unix/uhistory.htm 阅读全文

posted @ 2023-06-01 17:08 zno2 阅读(1) 评论(0) 推荐(0) 编辑

趋势,报告

摘要: https://www.google.co.jp/trends/explore?date=all&q=spring%20mvc,struts2 阅读全文

posted @ 2023-06-01 17:08 zno2 阅读(15) 评论(0) 推荐(0) 编辑

嵌套类,内部类

摘要: https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html public class Outer { private int a = 1; Outer() { System.out.println("Outer()"); Syste 阅读全文

posted @ 2023-06-01 17:07 zno2 阅读(12) 评论(0) 推荐(0) 编辑

i18n 国际化

摘要: Internationalization (i18n) 1. 语言是用户属性之一 2. 页面可以切换语言 3. 语言保存在登录信息中 session 4. 根据语言切换 message 5. message 文件通过后缀区分语言 xxx_EN.properties 、xxx_CN.propertie 阅读全文

posted @ 2023-06-01 17:07 zno2 阅读(9) 评论(0) 推荐(0) 编辑

按照官方指导 Install Docker on CentOS 时遇到的问题

摘要: https://docs.docker.com/engine/reference/ https://docs.docker.com/engine/installation/linux/centos/ 问题一: GPG key retrieval failed: [Errno 14] curl#6 - 阅读全文

posted @ 2023-06-01 17:07 zno2 阅读(30) 评论(0) 推荐(0) 编辑

删除恼人注释

摘要: 当用jd-gui.exe 反编译jar保存成java文件之后,会有许多注释,如下: /* 1: */ import java.io.File; /* 2: */ import java.io.IOException; /* 3: */ import java.io.PrintStream; /* 4 阅读全文

posted @ 2023-06-01 17:06 zno2 阅读(10) 评论(0) 推荐(0) 编辑

查找某文件夹下所有java文件(包括子文件下的文件)

摘要: <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.0</version> </dependency> import java.io.File; import java.i 阅读全文

posted @ 2023-06-01 17:06 zno2 阅读(76) 评论(0) 推荐(0) 编辑

Using platform encoding (Cp1252 actually) to copy filtered resources

摘要: [INFO] maven-resources-plugin:2.6:resources (default-resources) @ z-test [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resource 阅读全文

posted @ 2023-06-01 17:05 zno2 阅读(8) 评论(0) 推荐(0) 编辑

什么是 iaik

摘要: iaik.xml.crypto.xades.SignatureTimeStamp 下面这个是官网 http://www.iaik.tugraz.at/ 下面这个是for java https://jce.iaik.tugraz.at/ 缩写字母jce的意思是: Java™ Cryptography 阅读全文

posted @ 2023-06-01 17:05 zno2 阅读(58) 评论(0) 推荐(0) 编辑

ant 简单例子

摘要: 和Maven类似,ant有一个 build.xml 文件 一个 pom.xml 代表一个 Maven项目 一个build.xml 代表一个ant项目 <project name="MyProject" default="clean" basedir="."> <description> simple 阅读全文

posted @ 2023-06-01 17:04 zno2 阅读(15) 评论(0) 推荐(0) 编辑

HashUtils.java 工具类

摘要: import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class HashUtils { private static String[] hexCode = { "0", " 阅读全文

posted @ 2023-06-01 17:04 zno2 阅读(58) 评论(0) 推荐(0) 编辑

linux 查看磁盘使用情况

摘要: 查看当前磁盘使用情况 df -h . 查看所有磁盘使用情况 df -h 查看指定磁盘使用情况 df -h ~ 阅读全文

posted @ 2023-06-01 17:03 zno2 阅读(20) 评论(0) 推荐(0) 编辑

linux 查看端口

摘要: step1 查进程号 syntax : netstat -apn|grep [port number] e.g. netstat -apn|grep 8888 explain -a, --all, --listening display all sockets (default: connected 阅读全文

posted @ 2023-06-01 17:03 zno2 阅读(37) 评论(0) 推荐(0) 编辑

什么是 CA

摘要: https://www.digicert.com/ https://cn.globalsign.com/ Certificate Authority 为网站颁发证书的权威机构 The more your customers trust you, the more they buy from you. 阅读全文

posted @ 2023-06-01 17:03 zno2 阅读(15) 评论(0) 推荐(0) 编辑

导航