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
In an interesting discussion, let's take a look at the docker compose configuration script:
command: redis-server --requirepass redis
# ALLOW_EMPTY_PASSWORD is recommended only for development.
Posted by jassikundi on Thu, 16 Jan 2020 19:23:52 -0800
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
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
Destructor GitHub address
Introduction: disruptor is an open source and efficient concurrent framework
Event factory: eventFactory
The concrete implementation of event handling: eventHandler
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 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 -->
Before introducing demo, you need to install sol ...
Posted by rougue on Wed, 15 Jan 2020 18:09:21 -0800
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
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 (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
Why do we need package management
Python has pip, Nodejs has npm.Is there a package management tool in other languages, so go needs it?Of course not, let's look at the following code:
This is how go references packages, which is obviously a third-party package, so how exactly is it found on our m ...
Posted by bdbush on Tue, 14 Jan 2020 09:18:17 -0800