WeChat public number development menu processing
I. Preface
WeChat public number development (1) WeChat access certification as developer
WeChat public number development (2) message processing
This article will implement
Get access_token according to AppID and AppSecret
Custom menu (create menu, query menu, delete menu)
Some tips in wechat documents:
access_token must be stored with at ...
Posted by big_c147 on Fri, 17 Jan 2020 05:22:26 -0800
On the soul of Docker
1. Operation of docker common commands
docker pull image
docker run creates a container based on a certain image
-d. background operation
--Name specifies the name of the container to create
-p map the port of the container to the port of the host
docker exec -it enters a container
docker rmi de ...
Posted by rklapwijk on Fri, 17 Jan 2020 01:01:40 -0800
Discussion and recommendation on redis's security free configuration in docker compose
In an interesting discussion, let's take a look at the docker compose configuration script:
version: '2'
services:
redis:
image: 'redis:5.0.3-stretch'
restart: always
command: redis-server --requirepass redis
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
...
Posted by jassikundi on Thu, 16 Jan 2020 19:23:52 -0800
Learn OpenGL ES for Android - cube mapping
We have learned texture mapping before. We can build a cube from six 2D textures, and the cube map itself contains six 2D textures. Its advantage is that it can index / sample through a direction vector. As long as the center point of the cube map, the actual position vector of the cube can be used t ...
Posted by Bailz on Thu, 16 Jan 2020 11:15:58 -0800
Source code analysis of Vue router
Entrance
All changes are inseparable from its origin. First look at the source code to find the entry. First look at the entry of Vue router, which is defined in src/index.
Vue router is based on class implementation.
Class provides construction methods and some other methods. After the class is def ...
Posted by gasxtreme on Thu, 16 Jan 2020 00:52:29 -0800
Disruptor learning - easy to use
Destructor GitHub address
Introduction: disruptor is an open source and efficient concurrent framework
event: event
Event factory: eventFactory
The concrete implementation of event handling: eventHandler
Producer
In order to use disruptor, let's consider a simple example, which is to say = pass a long t ...
Posted by Sanoz0r on Thu, 16 Jan 2020 00:39:44 -0800
Document deletion for the SpringBoot series tutorial Solr
Document deletion for Solr, 200114-SpringBoot series tutorial
The previous Search tutorial did not continue at the beginning, and now it is picked up again, at least to complete the basic operation posture of CURD; this article focuses on how to delete data
<!-- more -->
I. Configuration
Before introducing demo, you need to install sol ...
Posted by rougue on Wed, 15 Jan 2020 18:09:21 -0800
How easy is the Android floating window to implement?This is easy to do with kotlin!
Starting with business applications, this paper abstracts a floating window tool class from scratch that can be used to display floating windows on any business interface.It can manage multiple floating windows at the same time, and floating windows can respond to touch events, can be dragged, and have side animations.
The sample code is writt ...
Posted by mrdave on Wed, 15 Jan 2020 10:33:32 -0800
Java JVM analyzes the essence of overloading and rewriting from the perspective of method call
Original source of column: github - source note file ,github source code , welcome Star, please attach the original source link and this statement.
Java JVM - virtual machine column series notes, system learning can access personal copy notes - Technology Blog Java JVM virtual machine
I. Preface ...
Posted by bruceleejr on Wed, 15 Jan 2020 04:18:10 -0800
Memory-based authentication for SpringBoot integration with SpringSecurity
Memory-based authentication for SpringBoot integration with SpringSecurity (1)
In the first tutorial, we simply learned how to use SpringSecurity, added dependencies, and added a few lines of configuration to the application.yml file to achieve a basic login authentication.
The default configuration ...
Posted by FeeBle on Tue, 14 Jan 2020 17:41:47 -0800