XiaoFeng | 筱枫

Web page query parameter traceability

Original link: https://hsiaofeng.com/archives/248.html This is a dynamically updated list showing possible sources of query parameters. In the background, you can often see that some pages are attached with query parameters, which are usually added intentionally by social networking sites during the propagation process. These query parameters can be traced back to the source platform. For …

Web page query parameter traceability Read More »

Xie Xiren Computer Network 1-30 Understanding of point-to-point link drawing topics

Original link: https://hsiaofeng.com/archives/244.html I saw an interesting question during the review, so I wrote down the thinking process. There is a point-to-point link with a length of $20000\ km$, the rate of data transmission is $1\ kbit/s$, and the data to be sent is $100\ bit$. Data travels at $2\times10^8\ m/s$ on this link. Assuming …

Xie Xiren Computer Network 1-30 Understanding of point-to-point link drawing topics Read More »

Fix the error reported by the Typecho plugin Comment2Mail

Original link: https://hsiaofeng.com/archives/243.html After Typecho is updated, the email notification plug-in Comment2Mail will report an error and fail to send the email when replying. The error message is as follows: Argument 1 passed to Typecho\Widget::__construct() must be an instance of Typecho\Widget\Request, instance of Typecho\Request given, called in */usr/plugins/Comment2Mail/Plugin.php on line 173 After inquiry, someone has …

Fix the error reported by the Typecho plugin Comment2Mail Read More »

Remember to solve the static resource loading problem in Spring MVC

Original link: https://hsiaofeng.com/archives/232.html Put static resources in src/main/resources/static , but still get 404 errors when accessing. org.springframework.web.servlet.DispatcherServlet.noHandlerFound No mapping for GET /static/css/bootstrap.min.css solution First put static resources in src/main/resources/static . Create a new configuration class com.demo.config.WebConfig and write the configuration. Be sure to write @EnableWebMvc on the second line below. @Configuration @EnableWebMvc public class WebConfig …

Remember to solve the static resource loading problem in Spring MVC Read More »

nudity and bondage

Original link: https://hsiaofeng.com/archives/230.html When human beings put on clothes, they can walk around and walk in the streets and alleys. And taking off the shackles of clothes, it becomes less free. Because nudity is taboo. After taking off his clothes, he returned to the most primitive state, but instead he was bound by his heart …

nudity and bondage Read More »

Use Maddy’s self-built post office service

Original link: https://hsiaofeng.com/archives/227.html Maddy is an email server software. Due to many problems in the installation following the official guidance , I wrote a tutorial here. initial First download the executable file maddy-版本号-x86_64-linux-musl.tar.zst from GitHub Release or the official website . Unzip the file and move into the directory. Move the executable file maddy to …

Use Maddy’s self-built post office service Read More »

Why no .com.us?

Original link: https://hsiaofeng.com/archives/226.html A very interesting fact – although we have seen .com.cn com.au and other domain name suffixes divided by country, we have never seen .com.us . Please note that this article only makes reasonable guesses based on Internet-related information, without careful historical research on this, please carefully screen and think for yourself. Query …

Why no .com.us? Read More »

Synchronize files with rsync

Original link: https://hsiaofeng.com/archives/225.html rsync is a Linux software for file synchronization, which can realize file synchronization between local-local or local-remote. Using rsync, when updating a static website, it is not necessary to package the whole site, and only update the parts that need to be updated, saving server bandwidth and time. Common methods: rsync -avuz …

Synchronize files with rsync Read More »

Using LXGW WenKai in site pages

Original link: https://hsiaofeng.com/archives/224.html LXGW WenKai (LXGW WenKai) is an open source Chinese font, derived from the font Klee One produced by FONTWORKS. This font was supplemented by LXGW from Klee. This article is a simple guide on how to use Xiadou Wenkai in web pages, blogs, and sites. Chawye Hsu made lxgw-wenkai-webfont for web. The …

Using LXGW WenKai in site pages Read More »

Maven project error java.lang.ClassNotFoundException solution

Original link: https://hsiaofeng.com/archives/222.html There is a Maven project written in IDEA. After adding dependencies through pom.xml , it still runs and prompts java.lang.ClassNotFoundException . After asking ChatGPT to get a solution, it is recorded. solution Click the Maven tab on the right, double-click to open the project name, and double-click to select install under Lifecycle …

Maven project error java.lang.ClassNotFoundException solution Read More »

Microdata Summary

Original link: https://hsiaofeng.com/archives/209.html Microdata is part of the WHATWG HTML standard for nesting metadata within existing content on web pages. Search engines, web crawlers, and browsers can extract and process microdata from web pages and use it to provide users with a richer browsing experience. – MDN: Microdata All in all, using canonical microdata allows …

Microdata Summary Read More »