乙巳🐍年

acc8226 的博客

Windows Subsystem for Linux(简称 WSL)是一个在 Windows 10/11 上能够运行原生 Linux 二进制可执行文件(ELF 格式)的兼容层。

WSL 入门

适用于 Linux 的 Windows 子系统随 Windows 操作系统一起提供,但必须先启用它并安装 Linux 发行版,然后才能开始使用它。

控制面板 ——> 程序 ——> 程序和功能 ——> 启用或关闭 Windows 功能 ——> 适用于 Linux 的 Windows 子系统 ——> 确定 (然后重启)

若要使用简化的 --install 命令,必须运行最新版本的 Windows。

列出可用的 Linux 发行版

wsl --list --online 或者 wsl.exe -l -o

阅读全文 »

源码地址

https://gitee.com/acc8226/markdown-template/blob/master/接口文档模板.md

展示效果

简要描述:

参数名 必选 类型 说明 举例
acceptNo string 受理号 6120200302000148
  • 该接口不返回保单号 和 投保人姓名数据, 需要前端从上个页面携带

cURL 描述:

1
2
3
curl --location --request POST 'http://aaa.bbb.ccc/ddd/product/qualityInspection/recordDetail' \
--header 'Content-Type: application/json' \
--data-raw '{"acceptNo": "111"}'
阅读全文 »

上传设置

1. settings.xml 中设置仓库凭证:servers 节点中添加如下配置.[如果未加密则可跳过]

1
2
3
4
5
6
7
8
9
10
<server>
<id>releases</id>
<username>************</username>
<password>************</password>
</server>
<server>
<id>snapshots</id>
<username>************</username>
<password>************</password>
</server>
阅读全文 »

操作场景

为解决软件依赖安装时官方源访问速度慢的问题,为了提升依赖包的安装速度。

腾讯云开源镜像站加速

打开 maven 的配置文件( windows 机器一般在 maven 安装目录的 conf/settings.xml ),在 <mirrors></mirrors> 标签中添加 mirror 子节点:

1
2
3
4
5
<mirror>
<id>qq-cloud</id>
<mirrorOf>central</mirrorOf>
<url>http://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url>
</mirror>
阅读全文 »

MathJax 和 LaTeX 数学公式 支持

MathJax 是一款运行在浏览器中的开源数学符号渲染引擎,使用 MathJax 可以方便的在浏览器中显示数学公式,不需要使用图片。目前,MathJax 可以解析 LatexMathMLASCIIMathML 的标记语言。MathJax 项目于 2009 年开始,发起人有 American Mathematical Society, Design Science 等,还有众多的支持者,个人感觉 MathJax 会成为今后数学符号渲染引擎中的主流,也许现在已经是了。本文接下来会讲述 MathJax 的基础用法,但不涉及MathJax 的安装及配置。

另外这里有个 LaTeX 教程,图文并茂, 强烈建议参考收藏。它和 MathJax 有差异,但是很多语法可以通用。

You can render LaTeX mathematical expressions using KaTeX

实例

特殊字符

阅读全文 »
0%