DNS Server Installation of CentOS-yellowcong

Yesterday, a brother came to me to study DNS server and promised him to write an example about the construction of DNS service. This DNS server is based on bind. This thing is configuring name server on linux server, so that it can't be done immediately on the configuration of server DNS on window s system. It will take a while to do so, bu ...

Posted on Wed, 15 May 2019 22:58:49 -0700 by PigsHidePies

Keras: Model Training, Preservation and Restoration of Image Classification in Self-built Data Sets

Data amplification In the case of few data in the data set, the image generator ImageData Generator can be used to generate a batch image data for data amplification. Example: #!/usr/bin/python # coding:utf8 from keras.preprocessing.image import ImageDataGenerator, array_to_img, img_to_array, load_img datagen = ImageDataG ...

Posted on Wed, 15 May 2019 13:18:23 -0700 by jdwmk

Record the Psychological Course of Solving Online OOM (Configuration Center)

Background: With the continuous promotion and maturity of Best Diamond, there are more and more projects using Best Diamond internally for unified configuration management. After testing in their respective test environments to meet their expectations, Best Diamond is gradually put into use in production environments. Accident: A failure of Be ...

Posted on Wed, 15 May 2019 10:47:28 -0700 by daniel244rock

Less than 300 lines of code build lean koa and koa-router(mini-koa)

Preface In view of previous experience with express and koa, these two days I want to try to build a simplified version of koa, using the least code to achieve koa and koa-router, and also comb the core content of Node.js network framework development. The core code after implementation does not exceed 300 lines. source code Detailed comments ...

Posted on Wed, 15 May 2019 08:38:51 -0700 by Belleanme

docker configuration TLS (simplification)

I. Official Information Official website informationhttps://docs.docker.com/engine/reference/commandline/dockerd/ Create certificate step Official website Protect the Docker daemon socket https://docs.docker.com/engine/security/https/ II. Creating Certificates Generated certificates ca-key.pem ca.pem cert.pem key.pem ...

Posted on Wed, 15 May 2019 05:38:33 -0700 by scifo

New HTTP Interface Scheduling for Building a Simple WebSocket Chat Project with Java

This article launches the Public Number and Personal Blog: Java Cat Says & Uncle Cat's Blog | MySelf For reprinting, please state your origin. Preface Let's take a look at one: Building a Simple WebSocket Chat Room with Java In the last article, we have realized the functions of self-dialogue, friend exchange, group chat, offline news, etc ...

Posted on Wed, 15 May 2019 00:12:24 -0700 by rainbowsntoffee

React Hooks Resolution: Base

Welcome to my Public Trust Talk for my latest article: 1. Preface React Hooks is another pioneering new feature introduced from v16.8.When I first learned about this feature, I really had a feeling of openness and discovery of a new continent.I am deeply impressed by the React team's creativity and diligence.In addition to describing the specif ...

Posted on Tue, 14 May 2019 10:02:08 -0700 by kmussel

Java IO Flow Details

File objects can represent existing files or folders or nonexistent ones. What do we want to do with the content of the file? File only operates on the file. How to deal with the content of the file requires the use of io stream technology. For example, there is a text file named a.txt under the C disk. If you want to read out t ...

Posted on Tue, 14 May 2019 04:14:39 -0700 by philippo

Neural Network for Handwritten Number Recognition

First, we introduce a deep learning library, Keras, in Python Keras Keras is a deep learning library based on Theano and TensorFlow and is different from other deep learning frameworks.Keras acts as an advanced API specification for neural networks.It serves as both a user interface and extends the capabilities of other deep learning ...

Posted on Sat, 11 May 2019 23:38:33 -0700 by avickers

TCP/IP Network Programming Learning Notes I/O Multiplexing

1. select function #include<sys/select.h> #include<sys/time.h> // Function: Centralize multiple file descriptors together for the same monitoring: Does socket transfer receive data? No need to block sockets for data transmission? Which sockets are abnormal? // Parameters: // maxfd -- Number of monitored object ...

Posted on Sat, 11 May 2019 21:12:03 -0700 by bluwe