Java design pattern Decorator Pattern
1, Scenario description
(1) Questions
In the system, Crystal Report tool is used to generate reports initially, and the reports are sent to the client for viewing. At this time, defining a Crystal Report tool class can complete the generation of crystal reports.
The SSRS report service is added to subsequent report tools. At this time, th ...
Posted by luzlin on Mon, 20 Apr 2020 20:36:51 -0700
Several ways to manipulate databases in java
History is a mirror
Looking back on my own development and witnessing the history of times, let me talk about how java connects to databases
0 native jdbc
Get started with jdbc, so people who are afraid of new entrants will already be immersed in packaging libraries and frameworks without even using native jdbc.
Java database connecti ...
Posted by Rederick on Mon, 20 Apr 2020 18:57:26 -0700
Microservice Framework-Spring Cloud
Getting Started with Spring Cloud
Micro-Services and Micro-Service Architecture
Micro-service architecture is a new system architecture.Its design idea is to split the single architecture system into several independent running applets which can be called and cooperated with each other.The capabilities that each applet provides to the overal ...
Posted by EPJS on Sat, 18 Apr 2020 21:58:01 -0700
java get mysql database table, field, field type, field comment
Recently, I want to write a simple code generation tool to generate entity, mapper interface, mapping file and service class according to the database table structure, so I have looked up some data, such as how to obtain the database table, field in table, field type, field annotation and other information.
Finally, a simple tool class is writ ...
Posted by rachelkoh on Sat, 18 Apr 2020 07:07:17 -0700
Using codemirror in vue (element) to realize code highlighting, code completion and version difference comparison
vue language is used, and component of element is used. To make an online editing code, code content is required to be input, highlighted display can be carried out, different languages can be switched, keyword completion is supported, and a code left-right comparison between different versions is required.
As for why codemirror is selected, pl ...
Posted by deltatango5 on Fri, 17 Apr 2020 01:50:42 -0700
[Spark] Spark Basic Exercises
I've got a bunch of Spark questions again, this time SparkStreaming!!!
Say nothing more, Top!!!
The title is as follows_
Following is an apology for the failure of the RNG S8 8 Final Competition on Weibo Data description:Data in rng_comment.txt file
field
Meaning
index
Data id
child_comment
...
Posted by php? on Fri, 17 Apr 2020 00:07:58 -0700
Mirai-botnet Environment Setup Steps
I. Preparation1.Mirai uses two programming languages, C and Go, to store data in a database, so the following commands are required for the software to be installed in advance:
sudo apt-get install git
sudo apt-get install gcc
sudo apt-get install golang
sudo apt-get install electric-fence
sudo apt-get install mysql-server mysql-client ...
Posted by tempa on Thu, 16 Apr 2020 18:08:26 -0700
sql optimization: query optimization with too much data
1. Scenario: Data with large data need to be put on the first page of statistics, generally aggregation, grouping and so on, query and statistics according to the month and day of the year.If the amount of data is small, hundreds of thousands of data are fine.However, as the amount of data increases, queries become slower and slower.It's time t ...
Posted by mrchuckles2002 on Thu, 16 Apr 2020 16:58:48 -0700
Recurring by Title CVE-2018-12613
File contains
Kongji, I first came into contact with this buuoj web check-in questions ofEnter the target and check the source code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" ...
Posted by NoMansLand on Thu, 16 Apr 2020 05:20:39 -0700
sql sort ROW_NUMBER() OVER function
Business requirements:
After the current work order is executed, it will be transferred to the next work order for operation, and the work order table data will be sorted in a series, and the work order operation will be executed in order.
ROW_NUMBER() OVER function:
Row_number() starts from 1 and returns a number for each grouped record. Wh ...
Posted by blt2589 on Wed, 15 Apr 2020 09:54:48 -0700