Nicksxs

Record the process of flashing the millet router 4A Gigabit version to openwrt

Original link: https://nicksxs.me/2023/05/21/%E8%AE%B0%E5%BD%95%E4%B8%8B%E6%8A%8A%E5%B0%8F%E7% B1%B3%E8%B7%AF%E7%94%B1%E5%99%A8-4A-%E5%8D%83%E5%85%86%E7%89%88%E5%88%B7%E6 %88%90-openwrt-%E7%9A%84%E8%BF%87%E7%A8%8B/ I sent a Mi Router 4A to a broadband at home in Shaoxing before. The original Mi Router 3 was disconnected and unstable for some reason, and it only supported 100M. I used a 200M broadband here, which felt wasteful, so I moved this idea, but there are still quite […]

Record the process of flashing the millet router 4A Gigabit version to openwrt Read More »

Record a failed experience of tossing self-organized nas – sequel

Original link: https://nicksxs.me/2023/05/14/%E8%AE%B0%E5%BD%95%E4%B8%80%E6%AC%A1%E6%8A%98%E8% 85%BE%E8%87%AA%E7%BB%84-nas-%E7%9A%84%E5%A4%B1%E8%B4%A5%E7%BB%8F%E5%8E%86-% E7%BB%AD%E7%AF%87/ Last time I recorded some of the previous failure experiences, the most important point has not been mentioned yet, let me post the configuration list first cpu i7-8700k Motherboard Gigabyte z370m-ds3h Memory Guangwei ddr4-3200Mhz Hard disk made in Tokyo Tokyo 512g Cooling Limin PA120 The power supply is first rated

Record a failed experience of tossing self-organized nas – sequel Read More »

Record a failure experience of tossing self-organized nas

Original link: https://nicksxs.me/2023/05/07/%E8%AE%B0%E5%BD%95%E4%B8%80%E6%AC%A1%E6%8A%98%E8% 85%BE%E8%87%AA%E7%BB%84-nas-%E7%9A%84%E5%A4%B1%E8%B4%A5%E7%BB%8F%E5%8E%86/ In view of the fact that the finished nas currently on the market is either too expensive for me, or there are few cheap disks, and the performance is relatively poor. Many nas mainly use docker or something, but the performance is relatively special for me. It is still not enough.

Record a failure experience of tossing self-organized nas Read More »

Open ssh connection in wsl 2

Original link: https://nicksxs.me/2023/04/23/%E5%9C%A8-wsl-2-%E4%B8%AD%E5%BC%80%E5%90%AF-ssh-% E8%BF%9E%E6%8E%A5/ It is actually very convenient to enable ssh in wsl 1 before, as long as the sshd service is up, but it is not the same in wsl 2, I am using Ubuntu 20.04 in wsl 2 here. Directly starting the sshd service cannot allow other machines to connect, and there

Open ssh connection in wsl 2 Read More »

A note on the use of dnsmasq

Original link: https://nicksxs.me/2023/04/16/dnsmasq%E7%9A%84%E4%B8%80%E4%B8%AA%E4%BD%BF%E7%94%A8%E6 %B3%A8%E6%84%8F%E7%82%B9/ I use valet locally as the development environment for php, because you can specify a custom domain name and certificate. It happens that the company’s network environment is relatively bad recently, so I want to work on custom dns. Originally, we often have to configure an internal dns. The dns address,

A note on the use of dnsmasq Read More »

Solve the problem that the network folder is currently mapped with a different username and password

Original link: https://nicksxs.me/2023/04/09/%E8%A7%A3%E5%86%B3-%E7%BD%91%E7%BB%9C%E6%96%87%E4 %BB%B6%E5%A4%B9%E7%9B%AE%E5%89%8D%E6%98%AF%E4%BB%A5%E5%85%B6%E4%BB%96%E7%94 %A8%E6%88%B7%E5%90%8D%E5%92%8C%E5%AF%86%E7%A0%81%E8%BF%9B%E8%A1%8C%E6%98%A0 %E5%B0%84%E7%9A%84/ When using the smb protocol to share a disk in Windows and use a mapped network drive before, if the account password has been changed after the previous login, or if it was changed incorrectly last time, There will be such a prompt This article is reproduced from: https://nicksxs.me/2023/04/09/%E8%A7%A3%E5%86%B3-%E7%BD%91%E7%BB%9C%E6%96%87%E4

Solve the problem that the network folder is currently mapped with a different username and password Read More »

Brief analysis of mybatis series-sql class

Original link: https://nicksxs.me/2023/03/19/mybatis%E7%B3%BB%E5%88%97-sql-%E7%B1%BB%E7%9A%84%E7%AE% 80%E8%A6%81%E5%88%86%E6%9E%90/ Last time I talked about the use in a relatively simple way, and this one is also relatively simple, because the encapsulation is not very complicated. First, let’s take a look at the specific implementation from select as the entry point. This article is transferred from: https://nicksxs.me/2023/03/19/mybatis%E7%B3%BB%E5%88%97-sql-%E7%B1%BB%E7%9A%84%E7%AE% 80%E8%A6%81%E5%88%86%E6%9E%90/ This site is

Brief analysis of mybatis series-sql class Read More »

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.

mybatis series – details of the first sql Read More »

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.

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