liyuhang

liyuhang's Note

yuhanglee's GitHub chart

Hugo Start

本博客是由hugo构建的,使用的主题为 stack。下面介绍一个比较方便的使用 hugo + stack + github page 来构建属于自己的博客。 可以参考 hugo-stack开始指南来执行构建过程。 下面我简单复刻一下过程,并对我认为需要注意的地方进行标注。 使用 hugo-stack-starter 仓库作为模板,来创建当前仓库. 修改配置文件,并启动本地服务 使用 git clone gith

CAN协议

1 CAN总线定义 1.1 定义 一直都说,CAN总线是汽车上最重要的总线接口之一。那么,CAN总线是什么呢? 什么是CAN总线? 你的汽车就像一个人的身体:控制器区域网络(CAN总线)是神经系统,实现通信。反过来,“节点”或“电子控制单元”(ecu)就像身体的一部分,通过CAN总线相互连接。一部分感知到的信息可以

Image Gallery

Hugo theme Stack supports the creation of interactive image galleries using Markdown. It’s powered by PhotoSwipe and its syntax was inspired by Typlog. To use this feature, the image must be in the same directory as the Markdown file, as it uses Hugo’s page bundle feature to read the dimensions of the image. External images are not supported. 1 Syntax 1 ![Image 1](1.jpg) ![Image 2](2.jpg) 2 Result Photo by mymind and Luke Chesser on Unsplash

Math Typesetting

Stack has built-in support for math typesetting using KaTeX. It’s not enabled by default side-wide, but you can enable it for individual posts by adding math: true to the front matter. Or you can enable it side-wide by adding math = true to the params.article section in config.toml. 1 Inline math This is an inline mathematical expression: $\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…$ 1 $\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…$ 2 Block math $$ \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } $$ 1 2 3 $$ \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } $$ $$ f(x) = \int_{-\infty}^\infty\hat f(\xi),e^{2 \pi i \xi x},d\xi $$ 1 2 3 $$ f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi $$
0%