Custom turntable

In the first part of the new year, I wrote a custom turntable. At present, there are two modes. The specific effects are as follows: Mode 1: pointer mode When the turntable is stopped, the data at the initial position can be obtained As shown in the figure below is the initial state, 0 is the initial position (in the coordin ...

Posted by raghavan20 on Wed, 01 Apr 2020 18:20:37 -0700

Remember a packet scan error

For a long time, I was very distressed about the problem of unable to inject dependency. For similar problems, I made the following summary: 1. For distributed architecture If the prompt indicates that the dependency cannot be injected, consider which project is not referenced. For the war package, all references should be made, for example:   ...

Posted by shams on Wed, 01 Apr 2020 11:06:51 -0700

A study of Ignite CS mode java

In the form of command line, expanding cluster is to increase Server continuously , in many practical business scenarios, we need to implement CS pattern with Ignite, and this article will provide detailed code. Major maven dependencies: <dependency> <groupId>org.apache.ignite</groupId> ...

Posted by Bit343 on Wed, 01 Apr 2020 04:33:11 -0700

[Xiaobai forced] Android voice recording and playback processing -- Audio

AudioH Android voice recording and playback processing, based on mediaplayer and MediaRecorder Realization function 1. Realize Android voice recording function (currently, the package only supports AMR format); 2. Realize Android voice playback function (handset and speaker playback); 3. Realize the caching of netw ...

Posted by vboctor on Wed, 01 Apr 2020 01:46:09 -0700

maven project integrates official wechat payment v3.0.9 (spring boot sample version)

Former by: recently made wechat payment in java, checked the maven warehouse of wechat payment sdk, and found that the latest update was on March 16, 2017, and the version number stayed at 0.0.3: <!-- https://mvnrepository.com/artifact/com.github.wxpay/wxpay-sdk --> <dependency> <groupId>com.github.wxpay</groupId> ...

Posted by edwinlcy on Tue, 31 Mar 2020 20:09:14 -0700

Advanced way of Android: scanning and generating 2D codes

Ten thousand years ago, I wanted to write an article to record the implementation of the QR code function. I didn't expect that it would be now. Today is Saturday~~~ Now there are a lot of tripartite libraries about scanning code on the Internet. Of course, these are all extended based on the framework of zxing. Here I ...

Posted by schris403 on Tue, 31 Mar 2020 08:58:00 -0700

Spring boot multi environment separation of resources and lib for packaging

In order to facilitate local development, testing and production packaging are occasionally involved. The configuration of each environment is different. Configuration files of multiple environments need to be configured to avoid having to modify the configuration files when packaging The default configuration file of the SpringBoot project is ...

Posted by riespies on Tue, 31 Mar 2020 02:38:28 -0700

Ali Yun released Spring Boot new scaffolding, really fragrant

Author|Good Name Alibaba Technical Expert background I believe many people have used start.spring.io to initialize their own Spring Boot project. This tool provides developers with a wide range of optional components and can be packaged in a variety of ways, making it easy for developers to use.Recently, Alibaba's Nacos and Sentinel have also ...

Posted by clapton on Sun, 29 Mar 2020 21:14:18 -0700

Version F spring cloud 4 - Eureka registry development and client development

Source address: https://gitee.com/bingqilinpeishenme/Java-Tutorials Preface In the first three articles, the concepts related to microservices, spring cloud and service governance are introduced in large vernacular, and the development of spring cloud code starts from this article. Spring cloud project environment construction All demo s of ...

Posted by hypedupdawg on Sun, 29 Mar 2020 02:50:24 -0700

Java integration Alibaba big fish

Next, we learned the message service of Alida fish This article integrates it into the code 1. Use API to send SMS Step 1: view help documents Ali big fish API https://help.aliyun.com/product/44282.html?spm=5176.12212976.0.0.15b31cbeK3Pm5Y Step 2: determine the code in Java development Example demo https://help.aliyun.com/document_detail/ ...

Posted by jabba_29 on Fri, 27 Mar 2020 03:57:42 -0700