Nicksxs

mybatis series – details of the first sql

Original link: https://nicksxs.me/2022/12/11/mybatis%E7%B3%BB%E5%88%97-%E7%AC%AC%E4%B8%80%E6%9D%A1sql% E7%9A%84%E7%BB%86%E8%8A%82/ First add two points, The first is that we said before using org.apache.ibatis.builder.xml.XMLConfigBuilder This article is transferred from: https://nicksxs.me/2022/12/11/mybatis%E7%B3%BB%E5%88%97-%E7%AC%AC%E4%B8%80%E6%9D%A1sql% E7%9A%84%E7%BB%86%E8%8A%82/ This site is only for collection, and the copyright belongs to the original author.

How does mybatis initialize mapper

Original link: https://nicksxs.me/2022/12/04/mybatis%E6%98%AF%E5%A6%82%E4%BD%95%E5%88%9D%E5%A7%8B%E5 %8C%96mapper%E7%9A%84/ The previous article talked about the initial use of mybatis. If I saw this introductory document for the first time, I would be more confused about configuring mapper. How can I execute sql through selectOne and statement id? Then the first The question is how the mapper is parsed, where it …

How does mybatis initialize mapper Read More »

Record some usage of redis

Original link: https://nicksxs.me/2022/10/30/%E8%AE%B0%E5%BD%95%E4%B8%8B-redis-%E7%9A%84%E4%B8%80 %E4%BA%9B%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95/ Although I have explained some redis source code before, to be honest, the various uses of redis are sometimes a bit rusty, or in some specific usage scenarios, some usage methods still need to be learned and recorded. This article is reprinted from: https://nicksxs.me/2022/10/30/%E8%AE%B0%E5%BD%95%E4%B8%8B-redis-%E7%9A%84%E4%B8%80 %E4%BA%9B%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95/ This site is for inclusion only, …

Record some usage of redis Read More »

Record the introductory usage of phpunit

Original link: https://nicksxs.me/2022/10/16/%E8%AE%B0%E5%BD%95%E4%B8%8B-phpunit-%E7%9A%84%E5%85%A5 %E9%97%A8%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95/ This week, I plan to write a relatively simple php toolkit, and then learn to use php unit testing by the way. It is more convenient to pass phpunit. First, composer require phpunit/phpunit Install phpunit , This article is reprinted from: https://nicksxs.me/2022/10/16/%E8%AE%B0%E5%BD%95%E4%B8%8B-phpunit-%E7%9A%84%E5%85%A5 %E9%97%A8%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95/ This site is for inclusion only, and the …

Record the introductory usage of phpunit Read More »

Remember the little knowledge points of dubbo registration in a container

Original link: https://nicksxs.me/2022/10/09/%E8%AE%B0%E4%B8%80%E4%B8%AA%E5%AE%B9%E5%99%A8%E4% B8%AD-dubbo-%E6%B3%A8%E5%86%8C%E7%9A%84%E5%B0%8F%E7%9F%A5%E8%AF%86%E7%82%B9/ It is quite common to use containers to deploy Java applications in the current environment, but there are some problems that need to be solved. ip address. The specific code is in this method This article is reprinted from: https://nicksxs.me/2022/10/09/%E8%AE%B0%E4%B8%80%E4%B8%AA%E5%AE%B9%E5%99%A8%E4% B8%AD-dubbo-%E6%B3%A8%E5%86%8C%E7%9A%84%E5%B0%8F%E7%9F%A5%E8%AF%86%E7%82%B9/ This site is for inclusion only, and the copyright belongs …

Remember the little knowledge points of dubbo registration in a container Read More »

Leetcode 747 Largest Number At Least Twice of Others *Easy* Problem Analysis

Original link: https://nicksxs.me/2022/10/02/Leetcode-747-%E8%87%B3%E5%B0%91%E6%98%AF%E5%85%B6%E4%BB% 96%E6%95%B0%E5%AD%97%E4%B8%A4%E5%80%8D%E7%9A%84%E6%9C%80%E5%A4%A7%E6%95%B0- Largest-Number-At-Least-Twice-of-Others-Easy-%E9%A2%98%E8%A7%A3%E5%88%86%E6%9E%90/ Topic introduction You are given an integer array nums where the This article is reprinted from: https://nicksxs.me/2022/10/02/Leetcode-747-%E8%87%B3%E5%B0%91%E6%98%AF%E5%85%B6%E4%BB% 96%E6%95%B0%E5%AD%97%E4%B8%A4%E5%80%8D%E7%9A%84%E6%9C%80%E5%A4%A7%E6%95%B0- Largest-Number-At-Least-Twice-of-Others-Easy-%E9%A2%98%E8%A7%A3%E5%88%86%E6%9E%90/ This site is for inclusion only, and the copyright belongs to the original author.

Disruptor series three

Original link: https://nicksxs.me/2022/09/25/Disruptor-%E7%B3%BB%E5%88%97%E4%B8%89/ It’s been a bit misleading. gatingSequences is used to identify the operation site of each processer, but it is a bit unclear how to record and update. In fact, the problem is that gatingSequences is a Sequence array. First, let’s see how to add it. can be seen in This article is …

Disruptor series three Read More »

Apollo client startup process analysis

Original link: https://nicksxs.me/2022/09/18/Apollo-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%90%AF%E5%8A%A8% E8%BF%87%E7%A8%8B%E5%88%86%E6%9E%90/ The entry can be marked with EnableApolloConfig annotation on the startup class of springboot This article is reprinted from: https://nicksxs.me/2022/09/18/Apollo-%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%90%AF%E5%8A%A8% E8%BF%87%E7%A8%8B%E5%88%86%E6%9E%90/ This site is for inclusion only, and the copyright belongs to the original author.

Leetcode 1862 Sum of Floored Pairs (Sum of Floored Pairs *Hard*) Problem Analysis

Original link: https://nicksxs.me/2022/09/11/Leetcode-1862-%E5%90%91%E4%B8%8B%E5%8F%96%E6%95%B4%E6%95% B0%E5%AF%B9%E5%92%8C-Sum-of-Floored-Pairs-Hard-%E9%A2%98%E8%A7%A3%E5%88%86%E6%9E%90/ Topic introduction Given an integer array nums , return the sum of This article is reprinted from: https://nicksxs.me/2022/09/11/Leetcode-1862-%E5%90%91%E4%B8%8B%E5%8F%96%E6%95%B4%E6%95% B0%E5%AF%B9%E5%92%8C-Sum-of-Floored-Pairs-Hard-%E9%A2%98%E8%A7%A3%E5%88%86%E6%9E%90/ This site is for inclusion only, and the copyright belongs to the original author.

Leetcode 885 Spiral Matrix III ( Spiral Matrix III *Medium* ) Problem Analysis

Original link: https://nicksxs.me/2022/08/23/Leetcode-885-%E8%9E%BA%E6%97%8B%E7%9F%A9%E9%98%B5-III-Spiral- Matrix-III-Medium-%E9%A2%98%E8%A7%A3%E5%88%86%E6%9E%90/ Topic introduction You start at the cell (rStart, cStart) of an rows x cols grid This article is reprinted from: https://nicksxs.me/2022/08/23/Leetcode-885-%E8%9E%BA%E6%97%8B%E7%9F%A9%E9%98%B5-III-Spiral- Matrix-III-Medium-%E9%A2%98%E8%A7%A3%E5%88%86%E6%9E%90/ This site is for inclusion only, and the copyright belongs to the original author.

A simple memory point of nginx

Original link: https://nicksxs.me/2022/08/21/%E4%B8%80%E4%B8%AA-nginx-%E7%9A%84%E7%AE%80%E5%8D%95 %E8%AE%B0%E5%BF%86%E7%82%B9/ When dealing with an nginx configuration last week, I found a small point that I didn’t understand before. Speaking of a scenario, our general processing method is that an ip port can only be configured with a domain name service, such as https://nicksxs.me corresponding to the configuration This article is reprinted …

A simple memory point of nginx Read More »

Leetcode 278 First Bad Version ( First Bad Version *Easy* ) Problem Analysis

Original link: https://nicksxs.me/2022/08/14/Leetcode-278-%E7%AC%AC%E4%B8%80%E4%B8%AA%E9%94%99%E8%AF% AF%E7%9A%84%E7%89%88%E6%9C%AC-First-Bad-Version-Easy-%E9%A2%98%E8%A7%A3%E5%88%86%E6%9E %90/ Topic introduction You are a product manager and currently leading a team to This article is reprinted from: https://nicksxs.me/2022/08/14/Leetcode-278-%E7%AC%AC%E4%B8%80%E4%B8%AA%E9%94%99%E8%AF% AF%E7%9A%84%E7%89%88%E6%9C%AC-First-Bad-Version-Easy-%E9%A2%98%E8%A7%A3%E5%88%86%E6%9E %90/ This site is for inclusion only, and the copyright belongs to the original author.

Leetcode 278 First Bad Version ( First Bad Version *Easy* ) Problem Analysis

Original link: https://nicksxs.me/2022/08/14/Leetcode-278-%E7%AC%AC%E4%B8%80%E4%B8%AA%E9%94%99%E8%AF% AF%E7%9A%84%E7%89%88%E6%9C%AC-First-Bad-Version-Easy-%E9%A2%98%E8%A7%A3%E5%88%86%E6%9E %90/ Topic introduction You are a product manager and currently leading a team to This article is reprinted from: https://nicksxs.me/2022/08/14/Leetcode-278-%E7%AC%AC%E4%B8%80%E4%B8%AA%E9%94%99%E8%AF% AF%E7%9A%84%E7%89%88%E6%9C%AC-First-Bad-Version-Easy-%E9%A2%98%E8%A7%A3%E5%88%86%E6%9E %90/ This site is for inclusion only, and the copyright belongs to the original author.