数学建模学习笔记(1)

摘要: 配置环境 我准备以VSCode+Jupyter组合进行数学建模的学习 1、vscode 中扩展找到 jupyter 或 ctrl+shift+p 调出命令 1 Install the Jupyter extension 2、安装 jupyter 包 在终端输入命令,安装 jupyter 包 pip install jupyter 3、启动 jupyter 在终端输入命令,启动 jupyter …

WSL与WSA的安装配置

摘要: lamaper WSL安装 WSL(Windows Subsystem for Linux,适用于Windows的Linux子系统) The Windows Subsystem for Linux lets developers run a GNU/Linux environment – including most command-line tools, utilities, and …

GitHubPages + Hugo博客搭建记录(3)

摘要: 今天魔改了一下主题,主要是添加了归档卡片等东西,学习了一些CSS和前端模版渲染。 list.html 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 {{ define "main" }} …

GitHubPages + Hugo博客搭建记录(2)

摘要: hugo.toml与config.toml 在查找资料的过程中,我发现绝大多数博客和文章中,都会提到config.toml,但是在我的实际操作中,并没有遇到这个文件,整个项目目录中,只有hugo.toml。实际上,经过个人观察,这两个文件的功能应该是一样的。 更换主题报错 之后在更换主题的过程中,我遇到了一个报错: 1 Error: Error building site: TOCSS: …

GitHubPages + Hugo博客搭建记录(1)

摘要: 今日打开尘封多年的github pages,搭建自己的博客,为了防止重构时忘了怎么搞,故做个笔记。 〇、远程连接仓库 首先创建一个username.github.io的仓库,作为github pages的目录 一、安装Hugo 进入hugo官方仓库,下载最新release:Releases · gohugoio/hugo 我用的windows11,所以下载amd64版本。如果在虚拟机上运行,应当下 …