天道酬勤,学无止境

博客

Summary of Windows 11 upgrade process and mirror download address

I started blogging on the first day. I always wanted to write before but for various reasons. I have tossed for a day and upgraded windows11. I want to share the process and the pitfalls I stepped on. It can also be considered as an opportunity for myself to start. When some things are reconfigured Just read your own blog 2333. It's really convenient, so let's get started. It was the first time I joined the Previewer Experience Program for win10. When I joined, I encountered a situation where the previewer experience program was blank and I could not join the Dev channel. I found some posts

2022-03-26 03:58:27   

Use SSM framework to send mobile phone SMS verification code

Send SMS from mobile phonecontent1. Send SMS from mobile phone 1. Front-end interface code 2. UserInfoController Controller 4. Concrete realizationSummarize content 1. Send SMS from mobile phone 1. Front-end interface code The verification code cannot be sent repeatedly within 10 seconds //短信发送 $('.vcode-send').click(function () { if ($(this).hasClass('disabled')) { } else { var self = $(this); var count = 10; self.addClass('disabled'); self.text(count + '秒后重新获取'); var timer = setInterval(function () { count--; if (count > 0) { self.text(count + '秒后重新获取'); } else { clearInterval(timer); self

2022-03-26 03:58:23   

servlet builds the web

Use servlet to build the web web.xml: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" version="4.0"> <servlet> <servlet-name>hello</servlet-name> <servlet-class>com.luciano.servlet.HelloServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>hello</servlet-name> <url-pattern>/hello</url-pattern> </servlet-mapping> </web-app> Build Servlet subclass package com.luciano.servlet; import

2022-03-26 03:58:17   

10 years of experience sharing by Alibaba development architects: Kafka message loss

Common distributed transaction scenarios Distributed transactions are actually by our side, you have been using it, but you have not paid attention to it. transfer Deduct the balance of your account and increase the balance of someone else’s account. If you only deduct your money and others don’t increase it, it’s a failure; if you don’t deduct your money, others also increase the bank’s loss. Place an order/deduct inventory This is a very common scenario in the e-commerce system. The user placed an order successfully, but the store did not receive the order and did not ship; the user canceled

2022-03-26 03:58:13   

Jetpack_dataBinding

start using 1. Enable support for databinding in build.gradle of moudle defaultConfig { applicationId "com.example.databinding_viewmodel_livedata" minSdkVersion 15 targetSdkVersion 30 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" //开启对databinding的支持 dataBinding{ enabled = true } } 2. Add the layout layout to the layout file <?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"> <data>

2022-03-26 03:58:07   

web icon plugin

web icon plugin amcharts https://www.amcharts.com/ Loading image speed is ok echarts http://echarts.baidu.com/tutorial.html Slow image loading morrisjs http://morrisjs.github.io/morris.js/ Never used it, don't know Origin:https://blog.csdn.net/qq_42455262/article/details/118466069

2022-03-26 03:57:57   

The difference between exclusive OR operation and rank() over, dense_rank() over and row_number() over

Let me first talk about how to convert between decimal and binary. Take the conversion of a positive integer to binary as an example: Divide the positive decimal number by two, and then divide the quotient by two, and so on until the quotient is 0 or 1, then mark the remainder of each step next to it, and finally write it backwards, with zeros in the high digits, as follows: The binary number of 42 is 101010 How to convert this binary to decimal?As follows, we put each bit corresponding to the nc power of 2 It can be converted to decimal 42 as aboveWell, knowing the above conversion, we still

2022-03-26 03:57:54   

A simple understanding of java8Stream

Let's understand Stream intuitively: Stream is a new stream feature of Java8, the purpose is to allow programmers to write efficient, clean, and concise code Stream is similar to SQL statements, which can perform collective operations and expressions on the code Stream is to treat elements as a kind of stream, the stream is transmitted in the pipeline, and can be processed on the nodes of the pipeline, such as filtering, sorting, aggregation, etc. Stream uses the format as shown below: Build Stream ------------Intermediate operation----------------------Terminal operation Note: Under the

2022-03-26 03:57:50   

Sophomore training (6)

One, build the framework (1) Create a project and introduce the Spring Boot module web, Thymeleaf, JPA, MySQL, DevTools (2) Place application.yml 2. Production environment configuration: application-dev.yaml In the database configuration, when the error "com.mysql.jdbc.Driver" is reported, it should be changed to "com.mysql.cj.jdbc.Driver". 3. Development environment configuration: application-pro.yaml 4. Create logback-spring.xml (can be omitted) (2) Global processing exception 1. Unified exception handling-ControllerExceptionHandler.java 3. Log processing request url, visitor ip, calling

2022-03-26 03:57:39   

Preview day07

Package: It exists in the form of folders in windows 1) Divide the class into several units similar to folders 2) Prevent naming conflicts. Repeated naming is not allowed in the same package, and different packages can be repeated 3) Classes can be duplicated Data protectionDeclaration package Syntax: package package name; must be the first non-comment statement in the java source file. Package name: 1. It usually consists of lowercase English letters and cannot start or end with a dot. 2. The beginning is usually a top-level domain name cn, com, org,net 3. The follow-up part is generally

2022-03-26 03:57:34