java annotations and reflection
Crazy God learning notes on this site
1, Annotation
1. What is annotation
Annotation is a concept introduced from JDK 5.0
eg: @ override overriding annotation
1. It is not the procedure itself that explains the procedure ()2. It can be read by other programsNot necessary3. Format: @ comment + comment name, and some parameter values can ...
Posted by sriphp on Thu, 02 Dec 2021 10:56:03 -0800
CsmWing source code analysis
2021SC@SDUSC
This time, we will analyze the file src/controller/admin/model.js
The method in this document is model operation, which plays an important role in the whole project.
1, editextAction
This method is used to edit a stand-alone model. If the request loads data, get the post data and set the update time of the data. If the obta ...
Posted by The MA on Thu, 02 Dec 2021 10:53:16 -0800
Java description LeetCode, 45. Jump Game II jump game II
Hello everyone, I'm hehaige and focus on the back end. If I can, I want to be a code designer instead of an ordinary coder to witness the growth of hehaige. Your comments and praise are my biggest driving force. If you have any mistakes, please don't hesitate to comment. Thank you very much. Let's support the original! If there is a clerical er ...
Posted by Eratimus on Thu, 02 Dec 2021 10:42:41 -0800
PWN entry series stack overflow
PWN entry series (2)
Stack overflow
Stack overflow means that the number of bytes written by the program to a variable in the stack exceeds the number of bytes applied by the variable itself, resulting in the value of the variable in the adjacent stack being changed (overwritten). It is a specific buffer overflow vulnerability, similar to hea ...
Posted by NINTHTJ on Thu, 02 Dec 2021 10:39:48 -0800
Two Wrong Writings for Iterator Traversal Collection [java]
Two Writing Errors for Iterator Traversal Sets
Error Mode One:
eg:
package iterator;
import java.util.Collection;
import java.util.ArrayList;
import java.util.Iterator;
public class IteratorDemo5 {
public static void main(String[] args) {
Collection c1 = new ArrayList();
c1.add(1234);
c1.add("abc");
c1.a ...
Posted by Rayne on Thu, 02 Dec 2021 10:33:21 -0800
Docker Mirror Management
1 What is a Docker image
The Docker image is an overlay of the file system. At the bottom is a file boot system, bootfs. Docker users will not have direct interaction with the boot file system. The second layer of the Docker image is the root file system rootfs, which is usually one or more operating systems, such as ubuntu. In Docker, the ...
Posted by websitesca on Thu, 02 Dec 2021 10:21:13 -0800
Java Generate PDF Report File
Java Generate PDF Report File
Video source: https://www.bilibili.com/video/BV1Bo4y117zV?p=254
Resource file: Link: https://pan.baidu.com/s/1YpIeyK-j6NTZYf0pQkBpVA
Extraction code: 2333
In enterprise development, in addition to the common Excel reports, there are also PDF reports. So how do I export reports in PDF format?
1. Introduction to iTex ...
Posted by Piranha on Thu, 02 Dec 2021 09:51:21 -0800
Experiment 3 Transfer Instruction Jump Principle and Simple Application Programming
Experiment Task 1
assume cs:code, ds:data
data segment
x db 1, 9, 3
len1 equ $ - x ;
y dw 1, 9, 3
len2 equ $ - y ;
data ends
code segment
start:
mov ax, data
mov ds, ax
mov si, offset x ;
mov cx, len1 ;
mov ah, 2
s1:mov dl, [si]
or dl, 30h
int 21h
mov dl, ' '
int 21h ;
inc si
loop s1
mov ah, 2
mov dl, 0ah
int 21h ;
mov si, offset y ;
mo ...
Posted by evildobbi on Thu, 02 Dec 2021 09:31:18 -0800
Python's simple code: a two-day program for drawing function images (scatterplots) of the liver (super-detailed explanations and source code that can also be read by Chinese cabbage)
[Original Creator: Well-off 2021]
The program (toy) basically supports any function in the normal function and math module, the specific operation instructions are shown in the effect diagram below. Bloggers have limited abilities (so beginners can read my code 100 percent), and the finished product (absolute originality) takes two days to bur ...
Posted by xmatthawkx on Thu, 02 Dec 2021 09:25:50 -0800
[AI Vision] Intelligent Drug Delivery Cart - 1. Redisk and Core Code
review
Ben delayed his sophomore electrical settings, and was lucky to join the team halfway. The author had not done camera and visual code before (AI electromagnetic), although there were various regrets in the end, but also temporarily learned a lot of new knowledge. Before the assessment, the foundation and development were completed s ...
Posted by Fractal on Thu, 02 Dec 2021 09:16:12 -0800