Horizontal video and page interception of "applet JAVA practice" applet (59)
There are two situations when the mobile phone is shooting video. The mobile phone is horizontal and vertical. If it's horizontal, we can hold the mobile phone vertically to watch the mode, including buffeting, fast hand. Their solutions are to appear black and wide up and down, and compress the video in equal proportion. I also refer to the o ...
Posted by tigomark on Thu, 17 Oct 2019 11:30:25 -0700
[learning notes] GitHub chapter of third party login
The first step is preparation. Get Client ID and Client Secret
1. Log in GitHub official website and click Setting, as shown below:
2. Continue, click Developer settings, as shown below:
3. Continue, click Oauth Apps, as shown below:
4. Continue, click new origin app, as shown below:
5. Continue. After filling in, click Register ap ...
Posted by Waseem Ullah Kh on Thu, 17 Oct 2019 07:35:37 -0700
Authorized login of fast app
The authorization of fast applications can be divided into different situations. Huawei and Meizu do not support wechat account authorization. Therefore, Huawei needs to use Huawei's account, Meizu's account, and open web pages and web pages to communicate with fast applications. The most ideal login is the mobile phone verification code.
1. Hu ...
Posted by kycan on Thu, 17 Oct 2019 03:06:31 -0700
Using redis under SpringBoot
When our project needs to use cache and high concurrency, we can use redis connection pool, let's go straight to the topic. The project environment of this paper is win 10, springboot 2.1.5.RELEASE, redis Java client jedis 2.9.3, fastjson 1.2.47 (for serialization). This project uses the lombok plug-in, so the set and get methods are replaced b ...
Posted by satanclaus on Wed, 16 Oct 2019 15:44:34 -0700
Developing short video watermarking source project based on springBoot framework + IntelliJ IDEA running test + local implementation function
One: create a maven project package for springboot
New: File – new – project
Download 1.8jdk and Maven I downloaded Maven 3.6.1 here
GroupID is the unique identifier of the project organization: general writing format: com. Company. Project name
ArtifactID is the unique identifier of the p ...
Posted by aeafisme23 on Wed, 16 Oct 2019 14:45:11 -0700
Building multi page application with vue-cli 3
Create a project Hello World
vue create hello-worldcd hello-worldnpm run serve
Create a new page directory in src directory and a new page in pages directory
App.vue and main.js are useless and can be deleted. The file name corresponds to the page name.
index.js
import Vue from 'vue'
import App from './index.vue'
Vue.config. ...
Posted by michibk on Wed, 16 Oct 2019 11:05:42 -0700
The implementation of java + phantom JS generates the images of eckarts in the background (full source code)
Objective: to generate the eckarts statistical picture directly according to options in the java background
The implementation principle of this paper: java calls Runtime.getRuntime().exec() to call phantomjs. Then phantomjs processes the echarts data, and finally generates the image.
Step 1: Download ...
Posted by Zag0r on Wed, 16 Oct 2019 09:51:22 -0700
HTML 5 3D "elastic" layout based on WebGL
Molecular force, also known as intermolecular force and van der Waals force, refers to the interaction between molecules. When the two molecules are far away from each other, they are mainly attractive. This force mainly comes from the interaction caused by the polarization of one molecule by the electric dipole moment of another molecule which ...
Posted by CaptainChainsaw on Tue, 15 Oct 2019 20:23:43 -0700
MySQL JSON data type practical guide
Introduction: In this tutorial, you will learn how to use MySQL JSON data types and store JSON documents in databases.
Introduction to MySQL JSON data types
Starting with version 5.7.8, MySQL supports native JSON data types. The local JSON data type enables you to store JSON documents more efficiently than the JSON text format in previous versi ...
Posted by dopey on Tue, 15 Oct 2019 19:31:00 -0700
HTML 5 3D "elastic" layout based on WebGL
Molecular force, also known as intermolecular force and van der Waals force, refers to the interaction between molecules. When the two molecules are far away from each other, they are mainly attractive. This force mainly comes from the interaction caused by the polarization of one molecule by the electric dipole moment of another molecule which ...
Posted by Ambush Commander on Tue, 15 Oct 2019 19:03:45 -0700