Experimental analysis of tcpdump

Experimental preparation Install nc tool: yum install nc Monitor local network card traffic: tcpdump-i lo-n-nn TCP port 8888 Establish TCP/UDP connection: nc-p 1234 10.96.78.213 8888 Packet analysis 14:07:53.220954 is the time stamp, accurate to subtle, plus - t does not show the time; 10.96.78.213.1234 meaning: 10.96.78. ...

Posted by jacinthe on Mon, 11 Nov 2019 09:10:22 -0800

spring gateway PathRoutePredicateFactory customization

The requirement is that the company can let the third party develop the application and generate an external domain name for example( xxx.xxx.com )However, access rights of these domain names need to be controlled. The implementation idea is to use spring cloud gateway to place the entry of all application domain names on the ga ...

Posted by apsomum on Mon, 11 Nov 2019 08:44:56 -0800

iaas (openstack) super detailed stack building operation

This blog will introduce the UI operation of the stack in openstack First, put the required files on the http service [root@controller xiandian]# pwd /etc/xiandian [root@controller xiandian]# ls lb-server.yaml nginx_flat.yaml nginx.yaml openrc.sh [root@controller xiandian]# cp nginx* /var/www/html/ [root@controller xiandian]# ...

Posted by danboy712 on Mon, 11 Nov 2019 08:31:54 -0800

Spring Cloud: building Eureka

Setup of Eureka Server: Using IDEA tools File->New Project->Spring Initializr->next Next Create next - > next   Modify the startup class: package org.dreamtech.eureka; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.e ...

Posted by ciaran on Mon, 11 Nov 2019 07:21:31 -0800

[Dlib] use Dlib ﹣ face ﹣ recognition ﹣ RESNET ﹣ model ﹣ v1.dat to realize fine tuning

1. Problem description dlib officially uses resnet to train face recognition, and trains 3 million data. The network parameters are saved in dlib face recognition resnet model v1.dat. When lfw data is identified in the test, the accuracy can reach 99.13%. However, when identifying their own data, the accuracy is a little low, ...

Posted by scast on Mon, 11 Nov 2019 06:54:38 -0800

Twitter sharing and authorization (iOS)

PreparationRegister for appkeyIntegrated sharesdk (download address)Xcode configuration: urlScheme is the registered appkey, white list: douyinsharesdk, douyinopensdkBusiness codeInitialization import <ShareSDK/ShareSDK.h> [ShareSDK registPlatforms:^(SSDKRegister *platformsRegister) { //Jitter [platformsRegister setupDouyinByAppKey:@"app_ ...

Posted by avillanu on Sun, 10 Nov 2019 11:09:43 -0800

Qt writes 2-interface framework of gas safety management system

I. Preface The overall framework consists of two parts, one is the UI interface framework, such as the overall layout of the primary and secondary navigation menu buttons, the other is the project framework, the previous article said the project framework, this article said the interface framework, Qt interface is very fast and efficient, espec ...

Posted by backinblack on Sun, 10 Nov 2019 04:50:18 -0800

Android framework: using Imageloader and NetWorkImageView to load pictures

First, we import this framework into the project: implementation 'com.mcxiaoke.volley:library:1.0.19' Add network permissions to the Android manifest file: <uses-permission android:name="android.permission.INTERNET"/> Here is our homepage layout:In this layout, we have made a button for all the functions of the Volley framewor ...

Posted by ams53 on Sat, 09 Nov 2019 09:47:42 -0800

Deep analysis of source code for building native network model with go netpol I / O multiplexing

introduction Go builds a simple and high-performance native network model (I/O multiplexing netpoll based on go) based on I/O multiplexing and goroutine, which provides a simple network programming mode such as goroutine per connection. In this mode, developers use the synchronous mode to write asynchronous logic, which greatly reduces the ment ...

Posted by robertvideo on Sat, 09 Nov 2019 07:14:14 -0800

idea debugging opentsdb source code

Reference resources: https://blog.51cto.com/1196740/2394289?source=dra Catalog Download source code: Compile and pack Modify file directory Modify opnetsdb.conf Running TSDMain Download source code:     git clone https://github.com/OpenTSDB/opentsdb.git Compile and pack To build the pom.xml configuration file: [root@Mac ...

Posted by makoy on Sat, 09 Nov 2019 07:11:06 -0800