Linux server-side application installation
Install JDK
Uninstall the JDK pre installed in the system. Linux comes with java, but it cannot be compiled without javac, so it needs to be uninstalled and reinstalled
rpm -qa | grep openjdk
Perform uninstall. Use -- nodeps to ignore dependencies during uninstall
[root@localhost ~]# rpm -e --nodeps java-1.8.0-openjdk-headless-1.8.0.161-2. ...
Posted by PHP-Editors.com on Mon, 07 Mar 2022 03:28:14 +0100
Lists, Maps and Sets in Google guava tool class are easy to use
Google guava
Guava is a supplement to the Java API. It implements the functions commonly used in java development more gracefully, making the coding easier and the code easier to understand. Guava uses a variety of design patterns and has undergone a lot of testing, which is favored by more and more development teams. The latest version of Jav ...
Posted by Pests on Thu, 03 Feb 2022 00:44:03 +0100
Fast access to Google two-step authentication Google Authenticator
(1) Introduction
Since you read this article, you should know what Google's two-step authentication is for. Here is another link to download the app
(apkpure search Google authenticator)
Explanation of verification principle:
Find the 32-bit random code bound before the login user in the database (the code is generally stored in the datab ...
Posted by whare on Fri, 24 Dec 2021 03:47:55 +0100
openlayers6 map switching display (with source code download)
preface
I have written a map switching effect of openlayers4 version before, but because it is written by encapsulating a layer of js code, many beginners seem to have a bit of difficulty, so this article rewrites a map switching effect, which is directly based on the latest version of openlayers6, in the form of pure html + js + css, witho ...
Posted by programmingjeff on Tue, 30 Jun 2020 07:19:43 +0200
Read Chrome Bookmark File
Use C#to read the Chrome browser's local bookmark file, the current file is Bookmarks under the User Folder \AppData\Local\Google\Chrome\User Data\Default\
Open this file and we find a json text file
{
"checksum": "e723a57c9d9cbcae27ce0e1f8a5b7e71",
"roots": {
"bookmark_bar": {
"children": [ {
"date_added": "13 ...
Posted by djopie on Wed, 24 Jun 2020 18:26:33 +0200
Data collection of provinces in 2020
preface:
Reference article:
https://www.cnblogs.com/yangzhilong/p/3530700.html
https://www.cnblogs.com/liushaofeng89/p/4873086.html
Recently, due to the user's feedback that the provincial data form is partially missing, baidu decided to pull it by itself after a circle of duniang. The provincial ...
Posted by Xeon on Tue, 23 Jun 2020 12:58:13 +0200
Istio 1.6.3 release - new features and quick installation
Istio 1.6.3 released. Istio is an open source project jointly developed by Google, IBM and Lyft, aiming to provide a unified way of microservice connection, security, management and monitoring. Specifically, istio is an open source services grid platform, which ensures that microservices are interconnected in a specified way when they handle ...
Posted by Sephirangel on Tue, 23 Jun 2020 10:15:27 +0200
The lowest coupling way to add title block in history
preface
Most pages have a title block, which usually encapsulates the initialization code of the general title block in the base class, and then only needs to include a title block layout in the layout code, so it is very convenient to set the title block in the Activity.
This may be the current more ...
Posted by zkoneffko on Mon, 22 Jun 2020 10:36:33 +0200
Android interprocess communication -- understand Binder through AIDL and write Binder service
Series of articlesAndroid interprocess communication (I) - Android multiprocess modeAndroid interprocess communication (2) - understanding Binder's mechanismAndroid interprocess communication (3) - understand Binder through AIDL and write Binder service
In the previous chapter, I have learned the comm ...
Posted by lovely on Mon, 22 Jun 2020 06:28:49 +0200
List built in method
list.append(obj))
Add a new object at the end of the list
list.count(obj)
Count the number of times an element appears in the list
list.extend(list1)
Append multiple values in another sequence at the end of the list (extend the original list with a new list)
list.index(obj)
Find the index position of th ...
Posted by wannasub on Mon, 15 Jun 2020 10:49:49 +0200