The difference between Centos6 and Centos7 systems

Table of Contents 1. System type 2. Service management 3. File system 4. File structure 5. Desktop system 6. Host name 7. Check the system version 8. Time synchronization 9. Firewall 10. Login prompt 11. Character set 12. Time zone setting 13. Regional settings 14. grub (GRand Unified Bootloader) 15. Kernel 16. Database 17. Network […]

“Network Protocol” 04. Application layer (DNS & DHCP & HTTP)

title: “Network Protocol” 04. Application layer (DNS & DHCP & HTTP) date: 2022-09-05 14:28:22 updated: 2023-11-12 06:55:52 categories: Learning Record: Network Protocol excerpt: Application layer, DNS, DHCP, HTTP (URI & URL, ABNF, message format, request method, status code, header field, Form submission, same-origin policy). comments: false tags: top_image: /images/backimg/SunsetClimbing.png Network Protocol 1: Network interconnection model […]

The difference between _cdecl and _stdcal and the function of extern “c

Article directory Purpose _stdcal _cdecl result dll extern “c” Replenish Purpose 1) Understand the difference between _cdecl and _stdcal under Windows, so that you can better use modified functions to make function calls. There are several calling methods, divided into C style and Pascal style. The overall difference. _cdecl (c/c++ default, supports variable parameter functions, […]

Java collection ConcurrentHashMap What is the difference between how to use each method and HashMap through source code analysis?

Table of Contents Hello friends, today I will analyze the thread-safe hashmap. The main features of ConcurrentHashMap include: ConcurrentHashMap example Let’s take a look at the source code of the size(), containsKey(), and replace() methods. Okay, let’s continue to look at the replace method. The first thing is to check whether a null pointer exception […]

Deep Neural Networks – Convert a TensorFlow piecewise model and start using OpenCV v4.8.0

Goals In this tutorial you will learn how to Convert a TensorFlow (TF) segmentation model Run the converted TensorFlow model using OpenCV Evaluate TensorFlow and OpenCV DNN models We will discuss the above points using the DeepLab architecture as an example. Introduction Apart from the graph optimization stage, the key concepts involved in TensorFlow classification […]

Network connection between k8s pods

k8s cluster: linode k8s cluster, one master and two slaves. The test takes busybox using wget to access nginxindex as an example. Kubectl connects k8s cluster Import configuration file information into local kubectl export KUBECONFIG=/path/to/your/kubeconfig.yaml Test 1. Access between pods in the same namespace Create busybox in the default namespace kubectl run -it –image busybox:1.28.4 […]

Network Principles—Getting to Know the HTTP Protocol: Requests and Responses

Article directory Recognition request first line URL URL format URL encode and decode version number method GET method POST method GET VS POST Request header: header Host Content-Length and Content-Type User-Agent(UA) Referer Cookies blank line Text: body How to construct an HTTP request? The browser constructs its own HTML structure ajax construct Third-party tools: postman […]

A brief analysis of network protocols-HTTP protocol

1. Introduction to HTTP The HTTP protocol is the abbreviation of Hyper Text Transfer Protocol, which is a transfer protocol used to transfer hypertext from the World Wide Web (WWW: World Wide Web) server to the local browser. HTTP is a communication protocol based on TCP/IP to transfer data (HTML files, image files, query results, […]