文章17
标签2
分类9

github中的语言标签

在github写个人介绍的时候,我们可能会想要一些标签就像这个C++。那它是怎么实现的呢,怎么样调整它的颜色的呢。

shields.io

本质上,我们是用了这个来自于https://shields.io/的网站的api,它可以提供各种风格的“徽章(badage)”, 例如这样的Release,详细的内容你可以访问这个网站来了解更多。


关于Python的http

Http服务器

使用Sanic

from sanic import HTTPResponse, Sanic, json


系统结构-第一章笔记

计算机系统结构的分类

Flynn分类法、冯氏分类法和Handler分类法

Flynn分类法

  • 单指令流单数据流SISD(Single Instruction stream Single Data stream)
  • 单指令流多数据流SIMD(Single Instruction stream Multiple Data stream)
  • 多指令流单数据流MISD(Multiple Instruction stream Single Data stream)
  • 多指令流多数据流MIMD(Multiple Instruction stream Multiple Data stream)


上机作业:正则表达式

实验内容

从因特网上搜索相关Web网页,处理网页html数据,从中提取出当前时间点北京各监测站的PM2.5浓度,输出格式如下。要求:写出各个处理步骤,并给出解释。

2020-03-09 13:00:00,海淀区万柳,73

2020-03-09 13:00:00,昌平镇,67

2020-03-09 13:00:00,奥体中心,66

2020-03-09 13:00:00,海淀区万柳,73

2020-03-09 13:00:00,昌平镇,73

2020-03-09 13:00:00,奥体中心,75


图形-变换

知识点

尺寸变化(Scale

其中$s_x$代表x轴的缩放,$s_y$代表y轴的缩放
image-20220305171326805
$$\left[\begin{matrix}x'\\y'\end{matrix}\right]=\left[\begin{matrix}s_{x} & 0\\0 & s_{y}\end{matrix}\right]\left[\begin{matrix}x\\y\end{matrix}\right]$$


'