Using SpringBoot RestTemplate to implement third-party interface docking
To implement the docking of third-party interfaces, you can use httpclient (older) or SpringBoot RestTemplate (new generation). You can choose an appropriate way for docking according to your preferences. I recommend using SpringBoot RestTemplate.
The specific use is as follows:
Custom configuration c ...
Posted by mc2007 on Sun, 27 Oct 2019 11:58:32 +0100
Self made text classification
These days, the company needs to do text classification, read some articles, various machine learning, neural network, do not understand. I have done a simple text classification function with the combination of stuttering and segmentation, which is OK in general.
Operation result:
It's written by mysel ...
Posted by php1999 on Sat, 26 Oct 2019 13:22:33 +0200
Asp.net webapi pushes messages to clients through WebSocket to build a service that is both the server and the client
WebSocket is a single TCP Connect to full duplex Communication protocol. WebSocket communication protocol was approved by IETF As standard RFC 6455 and supplemented by RFC7936. WebSocket API Also be W3C Set as standard.
WebSocket makes the data exchange between the client and the server easier, allo ...
Posted by omprakash on Mon, 21 Oct 2019 17:05:53 +0200
Using FastReport report report tool to generate Report PDF document
When we develop a system, customers always put forward some specific report requirements. The fixed report format meets their business processing needs and also fits their work scenarios. Therefore, we try to make reports that meet their actual needs, so our system will get a better sense of identity. This essay introduces how to generate Repor ...
Posted by pikebro2002 on Thu, 17 Oct 2019 05:42:28 +0200
Call ZABBIX-API to add a large number of monitoring hosts to liberate the hands of operation and maintenance monitoring
In the work, the number of servers in the company may be too large. When hundreds of monitored hosts need to be added at a time, the traditional simple web side of zabbix has a heavy workload of adding monitored hosts, which is also prone to errors.
At this time, script automatic operation is particularly important. Today, we will talk about t ...
Posted by mydownfall on Tue, 15 Oct 2019 16:32:23 +0200
Python Installation cx_Oracle and Operation Data Test Summary
Here is a brief summary of Python Oracle database operation related knowledge. Just sort out the previous experiments and notes. The test server here is CentOS Linux release 7.5. A machine for personal experimentation, testing and data acquisition.
1: Install cx_Oracle
Here's a brief introduction to cx_Oracle. The following paragraph is exc ...
Posted by jmarais on Sun, 13 Oct 2019 07:41:59 +0200
How can java, python, golang and other development languages generate two-dimensional codes quickly?
There are many ways to generate free two-dimensional codes! For example, the famous two-dimensional code for forage is enough if it is used simply. But if you want to generate on a large scale, it's not appropriate. Moreover, many tools can't add logo to the two-dimensional code (just like the two-dimensional code of Wechat).
Next, I'll talk ab ...
Posted by artacus on Sun, 13 Oct 2019 07:07:05 +0200
php version: filter out sensitive words such as advertisements
Now the network is still very messy, especially full of all kinds of **, **, and ** related content, it is obvious that this is not in accordance with our country's law, so in order to a product can live a long and healthy life, it is better to use a certain strategy to filter or remind users not to send such content. But it's easier said than ...
Posted by jamie85 on Fri, 11 Oct 2019 00:28:28 +0200
HttpClient first post s login, in get data
I use httpclient-4.5.1.jar. If the version of httpclient is too low, this method may not be used. It needs to set cookie manually. That method, not discussed for the moment, is mainly to get the returned cookie when landing, and then to fill the value of coolie in the new request header. However, this m ...
Posted by paulmo on Wed, 09 Oct 2019 21:27:04 +0200
Processing of Activiti6 with 6 Parallel Gateway under Springboot
Explain
If parallel approval is required in the process, we can use parallel gateway to process, such as the following flow chart:
The xml information is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:b ...
Posted by cainscripter on Wed, 09 Oct 2019 14:38:40 +0200