Nacos get configuration source code interpretation (detailed explanation)

  Background: Today's network services are mostly distributed cluster deployment, and the adopted architecture is also service-oriented architecture (SOA). Everyone is striving in the field of service governance. No, today's Nacos is also a product of the field of service governance. Nacos is an ex ...

Posted by hassank1 on Tue, 21 Jan 2020 13:42:03 +0100

[Code Page] Build your own golang framework step by step from scratch

In the previous article, we defined the project basic catalog structure.Now let's review my thoughts: Create entry file; Specify configuration, log directory; Specify the database, queue, cache component directory; Create a controller directory for data processing; Specify miscellaneous items such as public functions. Next, we'll fill in t ...

Posted by AaZmaN on Mon, 20 Jan 2020 19:23:08 +0100

Using common CSV of Apache to export CSV file

1. Introduction to CSV The full name of CSV is: Comma Separated Values or character separated values. Its files store tabular data (numbers and text) in plain text. A CSV file consists of any number of records separated by a line break character. Each record consists of fields. The separators between fields are other characters or strings, the ...

Posted by PHPoracle on Mon, 20 Jan 2020 03:58:50 +0100

javafx implementation of data transfer between controller s

Here are the contents of two posts: https://blog.csdn.net/u012880338/article/details/69063776   https://www.jianshu.com/p/6950b68970da Communication between avafxcontrollers Background: Recently, I was finishing the design and needed to make things with JavaFX, but I didn't touch it before, so I had to start to do it. However, I can't find too ...

Posted by bkbragg on Sun, 19 Jan 2020 07:04:47 +0100

Opencv -- image data acquisition and storage (imread() and imwrite() functions)

When cv::imread() is used to read a picture, it doesn't care what the extension of the file is, but analyzes the first few bytes in the file (known as the file identification ID or "magic sequence") to determine the encoding format of the image. The second parameter flags can be set to any val ...

Posted by mrjiggyhill on Sun, 19 Jan 2020 05:05:34 +0100

Full analysis of Spring Boot email

1. Preface Welcome to read Spring Boot 2 series Although e-mail has been "annealed" in recent years, it still plays an important role in the development. In more formal occasions, we still send messages and receipts by email. Today, let's learn how to send email under Spring Boot. 2. dependence Java sends e-mail based on the jakarta. ...

Posted by Ruud Hermans on Wed, 15 Jan 2020 04:58:54 +0100

AJAX of Django

Catalog AJAX introduction AJAX basic syntax structure Data encoding format of front and back end interaction Form form ajax submission How to get json data from the backend? How can we take it ourselves? AJAX send file Automatic serialization Pager ap ...

Posted by millwardt on Fri, 10 Jan 2020 14:48:46 +0100

Alipay switch

First look at the style of Alipay switch.       Without saying much, we start to analyze and achieve this effect, as shown in the figure above: 1: Draw the layout when it is not selected item_lout_select_button Effect: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.andr ...

Posted by Pro.Luv on Wed, 08 Jan 2020 17:24:27 +0100

Three ways to parse xml

The first native parsing method DOM When parsing XML documents, the parser will write the contents of the documents into memory. If the document nodes are added, deleted or modified, they must be used Transformer transformer = TransformerFactory.newInstance().newTransformer(); transformer.transform(new DOMSource(doc), new Str ...

Posted by khan kaka on Tue, 07 Jan 2020 06:45:03 +0100

python learning: scratch + selenium crawling Taobao product information

Learning purpose: to use the framework of scratch to obtain dynamic website information. Take Taobao as an example, to obtain the [description, price, store, picture link] of goods and save the obtained information to execl table, or json file, database. Open Taobao homepage to search Yijia mobile phone, and get the url of t ...

Posted by mwood_2k2 on Mon, 06 Jan 2020 18:19:27 +0100