The dockerhub source of the University of Science and Technology of China is no longer available, and some alternative images are shared

Today, on the last day of the Tomb Sweeping Day holiday, it is almost raining intermittently. "It rains in succession during the Tomb Sweeping Day, and pedestrians on the road want to die". The ancient people summed up this sentence too well, so stay at home today and take some time to update the online self built services. The main fear is that the security issues involved are not updated in time. Most services are deployed through dockers, After checking the official update progress of the service, all the updated ones that have been stable for more than 2 weeks have been updated to the latest version.

-Read the full text-

Thoughts on the backend implementation scheme of drag and drop sorting

Kanban software, I believe that most people have used similar software, mainly card dragging. Cards can be dragged from left to right, up and down. How can the back-end achieve this without having to rearrange the number every time to improve performance? In enterprise software, there are many trees and lists that support drag sorting. This design can improve efficiency compared with the traditional up and down direct movement, So many times, product managers will reasonably consider using drag sorting to improve user experience.

-Read the full text-

Blog Upgrade Typecho v1.2.1 Shorthand

It has been a long time since I wrote in front of the blog. The main reason is that it takes time to get familiar with the new job and the industry. So I was a little busy. I took some time to log in to the blog background and prepare to write something. I found that I gave a hint that typecho has the latest version v1.2.1, which has not been moved since the official version of v1.2.0 was installed previously. When I entered the official website, I found that the 1.2.1 version was released in June, Take a closer look at the update log. It is a security update. For security reasons, I plan to directly upgrade it tonight.

-Read the full text-

Upgrade PassWall manually under OpenWrt

Background I have always used PassWall on Openwrt to learn from foreign countries. However, because I always use firmware compiled by others, it is troublesome to update any component every time. Since the last time I upgraded the kernel to 6. x, it was completely new and reinstalled. I don't want to reinvent the configuration every time, because it has been used stably, There is no need not to reinstall. The main thing is to be afraid of wasting time due to various problems. This time, in order to use hystria2 on OpenWrt, you should consider upgrading the plug-in manually.

-Read the full text-

One parameter determines that Docker prohibits a single container from accessing the Internet

Foreword Recently, I deployed a private photo album program on my intranet, but I didn't find a program that is more suitable for me. However, there is a front-end semi open source program with free function that meets my needs. But because it is not open source, so considering the security problem, I plan to deploy the server myself and take the entire container offline to prevent access to the Internet, It can also further ensure that the external interface cannot be called to transfer album data. Please see the whole implementation process below.

-Read the full text-

OpenWrt configures dual AdGuard to realize DNS domestic and foreign diffluence

The home network has been very stable since last year's transformation, but recently the self built Hysteria protocol was occasionally used to draw air out of the wall. I found that there was a version upgrade, so I upgraded the server. Finally, I found that it was still not smooth. It was found that the passwall plug-in in openwrt I use now does not support the port hopping function, So I found the latest OpenWrt firmware in Enshan Forum for installation. A few days ago, I found one that uses dual AdguardHome to shunt domestic and foreign DNS resolution, saying that it can prevent DNS pollution.

-Read the full text-

Chinese notes of ChatGPT Prompt Engineering for Developers, I

Project introduction The Chinese version of the course ChatGPT Prompt Engineering for Developers by Wu Enda, which mainly guides developers how to build Prompt and build new LLM based applications based on OpenAI API, including the principles of writing Prompt; Text summary (such as summarizing user comments); Text inference (such as emotion classification, topic extraction); Text conversion (such as translation and automatic error correction); Extension (such as writing email);

-Read the full text-

Chinese notes of ChatGPT Prompt Engineering for Developers, II

Project introduction The Chinese version of the course ChatGPT Prompt Engineering for Developers by Wu Enda, which mainly guides developers how to build Prompt and build new LLM based applications based on OpenAI API, including the principles of writing Prompt; Text summary (such as summarizing user comments); Text inference (such as emotion classification, topic extraction); Text conversion (such as translation and automatic error correction); Extension (such as writing email);

-Read the full text-

Record a long-term 100% troubleshooting of Linux server CPU

Background A few weeks ago, I wrote a recently popular midjournal generation tool backend service to my friend in my spare time. It was implemented in Java code. Yesterday, I checked a bug, logged in to the Linux server, checked the program log, and then saw that the server CPU was always in 100% status on the monitoring of the terminal provided by MobiXterm, For 2h4c, more than half of the configuration memory is used, and the QPS is also very low, so the CPU is not always so complicated. So we have carried out a thorough investigation. This paper makes a record of the solution.

-Read the full text-

Latest articles

classification

file

link

other