Loading

摘要: 原文地址 Bean Validation 是在 Java 生态系统中实现验证逻辑的事实标准。 它与 Spring 和 Spring Boot 很好地集成在一起。本教程介绍了所有主要的验证用例和每个用例的运动代码示例。本文随附 GitHub 上的工作代码示例 使用 Starte Spring Boot 阅读全文
posted @ 2023-01-09 14:20 weey 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 参考: Install Elasticsearch from archive on Linux or MacOS | Elasticsearch Guide [8.5] | Elastic Install Kibana from archive on Linux or macOS | Kibana 阅读全文
posted @ 2022-11-11 18:04 weey 阅读(983) 评论(1) 推荐(0) 编辑
摘要: Hash算法是什么 哈希(hash)也翻译作散列。Hash算法,是将一个不定长的输入,通过散列函数变换成一个定长的输出,即散列值,这个值就是Hash值。 Hash算法只是一个定义,并没有规定具体的实现,常见的hash算法有:SM3、MD5、SHA-1等 。 这种散列变换是一种单向运算,具有不可逆性即 阅读全文
posted @ 2022-09-22 15:47 weey 阅读(469) 评论(0) 推荐(0) 编辑
摘要: 博客园自定义主题 背景 发现有些博客园博主的主体十分好看,比如: Esofar's Blog - .NET Core 开发工程师,博客园主题 Silence 作者。 静雅斋数学 - 静雅斋数学作者,专注于高中数学的教与学,用心将高中数学学习中的全要素都整合到云端。 WeihanLi's Blog - 阅读全文
posted @ 2022-09-21 17:50 weey 阅读(317) 评论(2) 推荐(0) 编辑
摘要: 原文地址 简介 本文采用实战驱动的方式,对JAVA8 的 StreamAPI 进行一个深入的介绍。虽然JAVA8中的 StreamAPI 与 JAVA I/O 中的 InputStream和 OutputStream在名字上比较类似,但是其实是另外一个东西,StreamAPI是JAVA函数式编程中的 阅读全文
posted @ 2016-07-19 16:47 weey 阅读(12209) 评论(0) 推荐(1) 编辑
摘要: Expression Based Access Control Spring Security 3.0 introduced the ability to use Spring EL expressions as an authorization mechanism in addition to t 阅读全文
posted @ 2016-07-14 14:09 weey 阅读(193) 评论(0) 推荐(0) 编辑
摘要: docker学习笔记二:常用命令 查看docker常用命令 返回结果如下: 其中常用的命令如下: 1.image相关操作 展示所有的image: 删除image: 下载image: 2.container相关操作 启动一个container的过程如下 : 1.通过 命令查看正在运行的容器: 2.通过 阅读全文
posted @ 2016-05-27 11:37 weey 阅读(178) 评论(0) 推荐(0) 编辑
摘要: docker学习笔记一:安装 mac安装docker docker官方文档上有这么一段话: Because the Docker daemon uses Linux specific kernel features, you can’t run Docker natively in OS X. In 阅读全文
posted @ 2016-05-26 21:40 weey 阅读(251) 评论(0) 推荐(0) 编辑
摘要: nginx静态服务器配置 目的: 采用nginx做为静态页面服务器. 1. nginx安装 在 Ubuntu 下,可以舍去编译安装的过程,直接 apt get 2. nginx初始配置 nginx 的默认配置文件位于 /etc/nginx/nginx.conf 在配置文件中有一行: include 阅读全文
posted @ 2016-05-26 11:11 weey 阅读(17258) 评论(0) 推荐(0) 编辑
摘要: ##初始化linux环境 ####1. 新建用户组 `addgroup admin` //假定为admin用户组 ####2. 新建用户 `useradd -d /home/work -s /bin/bash -m work ` 此命令创建了一个用户work,其中-d选项用来为登录名work产生一个 阅读全文
posted @ 2016-05-25 13:55 weey 阅读(495) 评论(0) 推荐(0) 编辑