Python -- Processing json with Chinese
First of all, the blog mainly introduces the background of writing this blog.
1, the main Chinese field that Bo deals with is this style:
01 hanging air conditioner
02 ordinary chair
02 ordinary curtain
03 desk - computer desk - office desk
04 Microwave oven-oven-dishwasher-sterilizer
05 Elect ...
Posted by misseether on Fri, 04 Oct 2019 23:15:31 -0700
markdown documents are converted to html using mistune. How do you keep in LaTex from being transcoded? Write mistune subclasses
In the background of md document, mistune is used to convert html, and in the front desk, MathJax.js is used to visualize LaTex formula. It is found that mistune converts to <em> or </em>, which leads to many formula visualization failures. Later, it was found that the package could be ex ...
Posted by putraaridana on Fri, 04 Oct 2019 21:00:45 -0700
Graceful implementation of REST API requests based on Moya, RxSwift and ObjectMapper
There are very powerful Retrofit requests in Android development, and it is very convenient to implement RESTful API network requests with RxJava. There are also very powerful network request libraries in iOS development Moya Moya is a lightweight Swift network layer based on Alamoire. Moya's scalability is very strong, and it can be easily com ...
Posted by kiwi_uk on Fri, 04 Oct 2019 16:22:46 -0700
C# - High Performance RPC Framework: Socean.RPC
brief introduction
Socean.RPC is a high-performance RPC framework under.Net. The framework is targeted at high performance and high stability. The underlying layer is based on socket, and its code is concise. The total code size is about 2000 rows, without third party library references, and the frame performance is high. It can reach 10w+ per ...
Posted by chord on Fri, 04 Oct 2019 13:31:45 -0700
Eureka Actual Warfare-4 [Open http basic privilege authentication]
In our actual production environment, we need to consider a security issue, such as user login, or eureka server, which exposes its own rest API. If there is no security authentication, it means that other people can modify data information at will through rest API. This is a very terrible thing. In this article, we will discuss how eureka serv ...
Posted by bloo on Fri, 04 Oct 2019 11:46:05 -0700
rocketmq Source Resolution namesrvController Launch 3
Said ahead
Next, the introduction of namesrvController startup
Source code analysis
Return method, process request, org. apache. rocketmq. remoting. netty. Netty Remoting Abstract # process RequestCommand
public void processRequestCommand(final ChannelHandlerContext ctx, final RemotingCommand cmd) {
// ...
Posted by darf on Fri, 04 Oct 2019 06:44:32 -0700
Implementation of BASE64 Coding and Decoding for Pictures in Java 8
Basic encoding is a standard BASE64 encoding, which is used to handle conventional requirements: the output content does not add line breaks, and the output is composed of letters plus numbers.
Recently, I made a Web template, in which I want to use Base64 background image. Although there are ready- ...
Posted by nbarone on Thu, 03 Oct 2019 19:16:42 -0700
How does the asp.net core API receive parameters
Introduce various ways of receiving parameters
1. To parse the query parameters in the URL, you need to annotate the controller method parameters with [FromQuery], such as:
2. The parameters themselves are part of the path, which can be called routing parameters.
3. Receiving data from HTTP tables
...
Posted by jweissig on Thu, 03 Oct 2019 16:16:19 -0700
Using python+selenium to crawl patents on derwent database
Using python+selenium to crawl patents on derwent database
Demand:
Login to web of science and enter derwent database, search according to company excel list, and download all search ethics records to the local designated path.
Train of thought: It is similar to the steps of climbing cortellis, and al ...
Posted by SJones on Thu, 03 Oct 2019 15:15:12 -0700
Mysql database default encoding
View the encoding used
1. View with status
mysql> status
--------------
mysql Ver 14.14 Distrib 5.6.44, for Linux (x86_64) using EditLine wrapper
Connection id: 22
Current database:
Current user: root@localhost
SSL: Not in use
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server versi ...
Posted by Xproterg^vi on Thu, 03 Oct 2019 10:09:06 -0700