centos 7 builds svn+apache server and discusses the difference between SVNParentPath and SVNPath

1. Preface Today, the leader asked to set up a set of svn servers to store some documents, which was supposed to be a very simple thing, but the process was not so smooth, mainly because he did not understand the problems caused by SVNParentPath and SVNPath, and only after finding the documents and debugging, did he find out their use and diff ...

Posted by zaki on Fri, 17 Apr 2020 03:24:14 -0700

Android HTTP mode request network

There are many ways to use Http to access the network, but the most common way is POST and GET. The project is just useful, so I wrote a tool class for later use. Generate a construction parameter with handler in HttpUtil class. The reason to generate a construction parameter with handler is that after Android 4.0, whe ...

Posted by devassocx on Thu, 16 Apr 2020 09:04:45 -0700

Develop wechat applet from scratch (4): after wechat applet binds system account and authorizes login

1. Background development environment: Language: java Framework: springboot 2. Code example: package com.zc.wechat.web; import com.zc.common.api.util.Result; import com.zc.wechat.model.Token; import com.zc.wechat.model.app.Jscode2sessionResult; import com.zc.wechat.service.WechatAppService; import com.zc.wechat.service.WechatServerService; ...

Posted by chetanrakesh on Wed, 15 Apr 2020 10:46:26 -0700

mvn configuration, startup script, and common problems encountered

Introduce mvn configuration, startup script, and common problems encountered Both methods can be carried out under subprojects 1 package into a jar Using Maven shade plugin will put the configuration files together. If you need to change the configuration file, it is inconvenient. It is suitable for dynamic reading zk of the configuration fi ...

Posted by chauffeur on Wed, 15 Apr 2020 09:24:29 -0700

From the beginning to the end, I'll teach you how to build Java projects with Maven

This guide will guide you through building a simple Java project using Maven. What will you build You will create an application that provides the time of day, and then build it using Maven. What do you need? 1. About 15 minutes 2. Favorite text editor or IDE 3. JDK 8 or later How to complete this guide You can start from scratch and co ...

Posted by rich11 on Tue, 14 Apr 2020 05:30:15 -0700

With all due respect, I doubt you will generate random numbers

Once, when I was browsing Stack Overflow, I found a problem: "how to generate a random number within a specified range in Java". I thought to myself, "there are 3.98 million readings for this problem. Are you sure there are any mistakes in the statistics? It's just about Math.random(). " So I directly used my power to vote ...

Posted by dinger on Mon, 13 Apr 2020 23:59:43 -0700

Flink's DataSource Trilogy 3: customization

This article is the end of the trilogy of Flink's DataSource. The previous studies are all about Flink's existing data source functions. However, if these cannot meet the needs, you need to customize the data source (such as obtaining data from the database), which is the content of today's actual combat, as shown in the red box below:###Flink' ...

Posted by liebs19 on Mon, 13 Apr 2020 03:26:28 -0700

Release jar package to central warehouse

1. Register sonatype and submit issue work order (you can find online tutorial by yourself) 2. Install gpg and create public key and private key gpg -- Gen key (you can find the tutorial on the Internet) 3. Send the key corresponding to the public key to the server (xxxx) secret key (the tutorial can be found on the Internet) gpg --keyserver ...

Posted by ddrummond on Sun, 12 Apr 2020 09:08:13 -0700

Release jar package to central warehouse

1. Register sonatype and submit issue work order (you can find online tutorial by yourself) 2. Install gpg and create public key and private key gpg -- Gen key (you can find the tutorial on the Internet) 3. Send the key corresponding to the public key to the server (xxxx) secret key (the tutorial can be found on the Internet) gpg --keyserver ...

Posted by snipesh0tz on Sun, 12 Apr 2020 08:31:17 -0700

Thrift notes - basically thrift knowledge

thrift is similar to socket in java and communication between server and client in sockchannel The most important thing about thrift is cross language, which provides methods such as serialization and deserialization, json and entity objects The Apache Thrift software framework (for extensible cross language service development) combines t ...

Posted by therealchuckles on Sun, 12 Apr 2020 08:31:08 -0700