Android Nmea information sorting
NMEA information in Android follows NMEA-0183 protocol.
NEAM-0183 message analysis
GPGGA (location information)
$GPGGA,HHMMSS.SS,DDMM.MMMM,S,DDDMM.MMMM,S,N,QQ,PP.P,SAAAAA.AA,M,±XXXX.XX,M,SSS,AAAA*CC
Example:
$GPGGA,092204.999,4250.5589,S,14718.5084,E,1,04,24.4,M,19.7,M,0000*1F
Field 0: $GPGGA, statement ID, indicating that the statement i ...
Added by ac1982 on Tue, 08 Mar 2022 08:29:22 +0200
SpringBoot integrates JWT to implement token verification
Actual combat: can you use SpringBoot to integrate JWT to realize token verification?
Yesterday
Author: stream of consciousness
Source: www.jianshu.com com/p/e88d3f8151db
JWT official website: https://jwt.io
GitHub address of JWT(Java version): https://github.com/jwtk/jjwt
#What is JWT
Json web token (JWT) is a JSON based open ...
Added by vijayanand on Tue, 08 Mar 2022 08:20:26 +0200
Http interface call in Android
The Http interface access we want to talk about today is implemented using the HttpURLConnection object. Someone will ask, why do you say this? We all use okhttp or Retrofit. If it's not easy to use, it's also the secondary packaging written by others. Why does it come out with such primitive things? Is this what bloggers use. This I don't need ...
Added by ejaboneta on Tue, 08 Mar 2022 08:19:17 +0200
Distributed file storage - FastDFS environment installation
catalogue
1.1 preparation
1.2 download and install libfastcommon
1.3 download and install FastDFS
1.4 configuring Tracker service
1.5 configuring Storage services
1.1 preparation
Operating environment CentOS 6.4
Put all downloaded files into the package for unified management
1.2 download and install libfastcommon
1. Download ...
Added by Permutant on Tue, 08 Mar 2022 08:18:35 +0200
Finally, the container can be used as smoothly as Docker
Author: michelangela Yang
Engineers who pursue technology are generally addicted to cleanliness, especially in the cloud native world. Although Kubernetes has formulated the container runtime interface (CRI) standard, in the early stage, only Docker can be used when the container runs, and Docker does not adapt to this standard, so it opened ...
Added by wiseoleweazel on Tue, 08 Mar 2022 08:16:31 +0200
Detailed explanation of agent mode and dynamic agent
proxy pattern
Proxy pattern is a structural design pattern that allows you to provide alternatives to objects or placeholders for them. The agent controls access to the original object and allows some processing before and after the request is submitted to the object.
Agent mode structure
The service interface declares the functions provid ...
Added by nivek9991 on Tue, 08 Mar 2022 08:03:53 +0200
The new SpringBoot tutorial of the required framework (Part 2)
Personal profile
The author is a junior from Heyuan. The following notes are some shallow experience of the author's self-study road. If there are mistakes, please correct them. In the future, we will continue to improve our notes to help more Java lovers get started.
SpringBoot+JDBC
1. Import JDBC and mysql dependencies
In POM XML import t ...
Added by jredwilli on Tue, 08 Mar 2022 07:59:29 +0200
ConstraintLayout+ViewPager2 to create the "shake the new year lucky sign" App
If you don't say much, just say itimage.pngAs can be seen from the figure, it is divided into upper and lower parts. The upper part is the traditional Spring Festival couplets and blessing words, which represent the new year's greetings to everyone. The lower part is the main function module, including the amount of red envelope, the lucky sign ...
Added by Apenvolkje on Tue, 08 Mar 2022 07:48:41 +0200
MySQL/MariaDB table expression: View suggestions collection
Hello, I'm architecture Jun, an architect who can write code and recite poetry. Today, let's talk about MySQL/MariaDB table expression (3): View "suggestions collection". I hope it can help you make progress!!!View is a kind of table expression, so it is also a virtual table. When operating on the view, it will dynamically obtain data ...
Added by Aeiri on Tue, 08 Mar 2022 07:47:35 +0200
Kubernetes installation and Construction II (binary file)
1, Install via binary tool
This example also deploys three nodes, 1master and 2 nodes.
1. Preparation
1.1 download installation package
The download address of Kubernetes binary file is:
https://github.com/kubernetes/kubernetes/releases
K8s divides binary packages into Client Binaries, Server Binaries and Node Binaries, which are C ...
Added by bothwell on Tue, 08 Mar 2022 07:32:12 +0200