This article is also posted on my blog, feel free to check the latest revision: CPU can only see the threadsIn python, due to the GIL (Global Interpreter Lock), which is a mutex and ensures only one t
The test methods in Go mainly include three types: unit test, benchmark test, and example test.
syntax 1. The uppercase of the first letter of const, var, func, type is exported. And the lowercase is private. 2. The { cannot be as a separate line. 3. Not need to use ; to end the statement.(Not recommend)
Do you really understand the video technology? What is the frame rate, resolution, bit rate and their relationships? Do you know the param
Do you really know the encode and decode in Python? The encode and decode in Python are used to convert between strings and bytes. That we all know that the string in the computer storage and communication in the network is in the form of byte sequence, not the unicode.
This article is also posted on my blog, feel free to check the latest revision: About the SystemdIt has been a long time that the linux use init to manage the startup process, such as sudo /etc/init.d
This article is also posted on my blog, feel free to check the latest revision: The Tips About DockerfileNormally, we often write a Dockerfile in the current directory.The Dockerfile is a configuratio
The article will be updated from time to time, feel free to check the latest revision: Docker CheatsheetDeamondocker infosystemctl start | stop | restart | status | enable docker This command to opera
Docker is a practical tool for everyday use, and like Git, you can learn it in just 30 minutes.Docker 101Why dockerTraditionally, it is believed that after the completion of software coding developmen
So what is the difference between the Instance method, the Class method and the Static method?Instance methodThe normal method is defined with self as the first parameter. And it can only be called by
In today's digital age, security is paramount. As we increasingly rely on technology for communication, commerce, and data storage, understanding the fundamentals of security becomes essential. This a
Last week, I have made a python cli tool. To make it more convenient to use, I want to publish it as a pip module, so I have made some research and mistakes, and finally succeeded.PrerequisitesRegiste
HTTP protocol is the foundation of the Internet, and HTTPS is the secure version of HTTP. HTTP is an application layer protocol based on TCP/IP protocol. It does not involve packet (packet) transmissi
Recently, I have been working on DNS of my domain name. And then I need to set up the mail service of my domain name. When I tried many times, I always failed to receive the mail on my phone. Suddenly
This article is also posted on my blog, feel free refer to it for the latest revisions: A Brief Introduction to DNSIn my mind, DNS is the key of the internet. I always believe if you control the DNS,
This article is also posted on my blog, feel free refer to it for the latest revisions: Real Computer NetworkFor the computer network, I believe that most people have learned it in the course of unive
This article is also posted on my blog, feel free refer to it for the latest revisions: Deploy Github Pages With GPG SigningI have been busy migrating my blog this week. Coincidentally, I learned
This article is also posted on my blog, feel free refer to it for the latest revisions: gpg-101GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880(also known as P
文章及资源归档至公众号【AIShareLab】,回复 前端基础 可获取。最近在用vue做个人主页,由于前端已经快三年没写过了,因此借着这个机会顺便复习一下前端知识。网页的结构一个网页有三个部分组成:结构:HTML 就是超文本标记语言,负责页面中的结构,定义出页面中的各个组成部分。表现:CSS 来设置页面中元素的样式行为:使用 JavaScript 来设置页面的行为标签成对出现:<标签名>
文章和项目源码已经归档至【Github仓库:<https://github.com/timerring/face-recognition-door> 】或者公众号【AIShareLab】回复 人脸识别门禁 也可获取。1.通信系统制作方案概述项目演示视频: 基于YOLOv2和传感器的多功能门禁系统1.1系统设计的立意此处略。1.2系统的主要组成设计基于 YOLOv 2 的人脸识别门禁系统
文章及资源归档至公众号【AIShareLab】,回复 通信系统与网络 可获取。一、目的掌握 VLAN 的基础配置。掌握 Trunk 的基础配置。掌握 VLANIF 的基础配置,并理解通过三层交换机实现 VLAN 之间通信的方案。二、环境及网络拓扑本实验模拟一个典型的简单园区网络,如图 1 所示,其中,CoreSwitch 是园区网络的核 心交换机,AS1 和 AS2 是两台接入交换机。AS1 及
文章及资源归档至【AIShareLab】,回复 通信系统与网络 可获取。一、实验目的掌握 VLAN、Trunk 的基础配置。掌握以太网链路聚合的基础配置。掌握路由器子接口的配置,以及通过子接口实现 VLAN 之间互通的方法(单臂路由)二、实验环境及网络拓扑本实验模拟一个典型的简单园区网络,如图 1 所示,其中 VLAN10 及 VLAN20 的终端连接在接入交换机 AS1 上,VLAN30 的终端
文章及资源归档至公众号【AIShareLab】,回复 通信系统与网络 可获取。一、目的掌握 VLAN 的基础配置。掌握 Trunk 的基础配置。二、环境及网络拓扑本实验模拟一个简单的以太网二层交换网络,如图 1 所示,二层交换机 AS1 与 AS2 均 接入了 VLAN10 及 VLAN20 的终端,并且这两台交换机之间也存在互联链路。简单起见, 此处 VLAN10 仅含两台计算机 PC1 和 P
文章及资源归档至【AIShareLab】,回复 通信系统与网络 可获取。一、目的掌握路由器的IPv6 基础配置。掌握OSPFv3(单区域)的基础配置。二、拓扑如图1 所示,三台路由器R1、R2 和R3 分别通过相应物理接口进行连接,其中,R1 及 R3 各自下联一个网段,简单起见,此处只体现了这些网段中的两台计算机PC1 和PC2,PC1 与PC2 分别使用R1 及R3 作为自己的默认网关。其中,
文章及资源归档至公众号【AIShareLab】,回复 通信系统与网络 可获取。一、目的掌握路由器的 IPv6 基础配置。掌握静态 IPv6 路由的基础配置。理解 IPv6 数据报文的路由过程。二、拓扑如图 1 所示,三台路由器 R1、R2 和 R3 分别通过相应物理接口进行连接,其中,R1 及 R3 各自下联一个网段,简单起见,此处只体现了这些网段中的两台计算机 PC1 和 PC2,PC1与 PC
文章及资源归档至公众号【AIShareLab】,回复 通信系统与网络 可获取。一、目的掌握网络设备静态IPv6 地址配置的方法。掌握IPv6 地址无状态自动配置的应用。掌握通过DHCPv6 部署IPv6 地址配置自动化。掌握基本的IPv6 网络连通性测试方法。理解RA 报文及无状态地址自动配置过程。分析Ping 与Tracert 应用所使用的ICMPv6 报文及工作原理。二、环境及网络拓扑如图 1
文章及资源归档至公众号【AIShareLab】,回复 通信系统与网络 可获取。一、目的1.熟悉模拟实验环境 eNSP 的使用; 2.掌握 eNSP 中组网、配置及测试的方法; 3.掌握华为网络设备的视图、命令及配置方法; 4.掌握利用 Wireshark 捕获和分析数据包的方法; 5.熟悉常用网络命令协议机制和使用方法;二、环境及网络拓扑一台计算机 PC1 与一台路由器 AR1 通过网线直连,网络
文章和代码已经归档至【Github仓库:<https://github.com/timerring/dive-into-AI> 】或者公众号【AIShareLab】回复 R语言 也可获取。在分析之前,先将数据集 birthwt 中的分类变量 low、race、smoke、ht 和 ui 转换成因子。library(MASS) data(birthwt) str(birthwt) op
文章和代码已经归档至【Github仓库:<https://github.com/timerring/dive-into-AI> 】或者公众号【AIShareLab】回复 R语言 也可获取。1. 初识 ggplot2 包ggplot2 包提供了一套基于图层语法的绘图系统,它弥补了 R 基础绘图系统里的函数缺乏一致性的缺点,将 R 的绘图功能提升到了一个全新的境界。ggplot2 中各种数
文章和代码已经归档至【Github仓库:<https://github.com/timerring/dive-into-AI> 】或者公众号【AIShareLab】回复 R语言 也可获取。R 的基础绘图系统由 Ross Ihaka 编写,功能非常强大,主要由 graphics 包和 grDevices 包组成,它们在启动 R 时会自动加载。基础绘图系统中有两类函数,一类是高水平作图函数
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号