From ccf29346760e4f2d9c40a8af67162901294bdeb0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 30 Nov 2024 10:26:45 +0000 Subject: [PATCH] Update docs and sort content --- package-lock.json | 26 ++++++++++++++++++++ src/content/post/日记/2024/11/2024-11-29.md | 21 +++++++--------- src/content/post/日记/2024/11/2024-11-30.md | 27 +++++++++++++++++++++ 3 files changed, 62 insertions(+), 12 deletions(-) create mode 100644 src/content/post/日记/2024/11/2024-11-30.md diff --git a/package-lock.json b/package-lock.json index 3afc4c7..ec3e1eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,6 +43,7 @@ "devDependencies": { "@tailwindcss/aspect-ratio": "^0.4.2", "@tailwindcss/typography": "^0.5.10", + "@types/markdown-it": "^14.1.2", "@types/sanitize-html": "^2.13.0", "@typescript-eslint/parser": "^7.1.1", "dotenv": "^16.4.5", @@ -2998,6 +2999,24 @@ "@types/unist": "*" } }, + "node_modules/@types/linkify-it": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/markdown-it": { + "version": "14.1.2", + "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-14.1.2.tgz", + "integrity": "sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/linkify-it": "^5", + "@types/mdurl": "^2" + } + }, "node_modules/@types/mdast": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", @@ -3007,6 +3026,13 @@ "@types/unist": "*" } }, + "node_modules/@types/mdurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/mdx": { "version": "2.0.13", "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.13.tgz", diff --git a/src/content/post/日记/2024/11/2024-11-29.md b/src/content/post/日记/2024/11/2024-11-29.md index cb8417f..6bc9e2c 100644 --- a/src/content/post/日记/2024/11/2024-11-29.md +++ b/src/content/post/日记/2024/11/2024-11-29.md @@ -14,7 +14,6 @@ category: 日记-2024-11 qube如何集成到github: [GitHub Integration | Mapping your organization into SonarQube - YouTube](https://www.youtube.com/watch?v=6zvBuZr8CeI) - Image HTTP code 409 is in use. Delete the container that's using it and try again. 先删除container再删除volume @@ -28,26 +27,24 @@ windows有没有像macos一样的窗口管理工具,loop raycast之类的 covnert image to svg (需要登录) ![image.png](https://pictures.kazoottt.top/2024/11/20241129-771df278cae6c89066af0a9a882f3ff9.png) - - [Canvas vs. SVG - 最佳实践 - 使用手册 - Apache ECharts](https://echarts.apache.org/handbook/zh/best-practices/canvas-vs-svg/) > [!note] > 选择哪种渲染器,我们可以根据软硬件环境、数据量、功能需求综合考虑。 +> > - 在软硬件环境较好,数据量不大的场景下,两种渲染器都可以适用,并不需要太多纠结。 > - 在环境较差,出现性能问题需要优化的场景下,可以通过试验来确定使用哪种渲染器。比如有这些经验: -> - 在需要创建很多 ECharts 实例且浏览器易崩溃的情况下(可能是因为 Canvas 数量多导致内存占用超出手机承受能力),可以使用 SVG 渲染器来进行改善。大略的说,如果图表运行在低端安卓机,或者我们在使用一些特定图表如 [水球图](https://ecomfe.github.io/echarts-liquidfill/example/) 等,SVG 渲染器可能效果更好。 -> - 数据量较大(经验判断 > 1k)、较多交互时,建议选择 Canvas 渲染器。 +> - 在需要创建很多 ECharts 实例且浏览器易崩溃的情况下(可能是因为 Canvas 数量多导致内存占用超出手机承受能力),可以使用 SVG 渲染器来进行改善。大略的说,如果图表运行在低端安卓机,或者我们在使用一些特定图表如 [水球图](https://ecomfe.github.io/echarts-liquidfill/example/) 等,SVG 渲染器可能效果更好。 +> - 数据量较大(经验判断 > 1k)、较多交互时,建议选择 Canvas 渲染器。 我什么时候可以做到用canvas手搓这种图 ![image.png](https://pictures.kazoottt.top/2024/11/20241129-60d83ca2693fd5e9774743f352039c2b.png) - 最近可以做的事情: 编辑器图片上传重构 -编辑器高度修改 -行间高度调整 -用rn重写移动端 -ml资源整合 -vtk、图形学学习 -obsidian插件 ollama generate slug tags \ No newline at end of file +编辑器高度修改 +行间高度调整 +用rn重写移动端 +ml资源整合 +vtk、图形学学习 +obsidian插件 ollama generate slug tags diff --git a/src/content/post/日记/2024/11/2024-11-30.md b/src/content/post/日记/2024/11/2024-11-30.md new file mode 100644 index 0000000..be426fe --- /dev/null +++ b/src/content/post/日记/2024/11/2024-11-30.md @@ -0,0 +1,27 @@ +--- +title: 2024-11-30 星期六 +date: 2024-11-30 +day_of_week: 星期六 +author: KazooTTT +tags: + - 日记 +description: +slug: diary-2024-11-30 +published: true +category: 日记-2024-11 +--- +vscode extention启动时间 + +按下 Ctrl+Shift+P(Windows/Linux)或 Cmd+Shift+P(macOS),输入 “Startup Performance” 并选择该选项。 关注:Finish Activate + + +kill 端口为x的进程 + +``` +lsof -i : +kill -9 +``` + +``` +kill -9 $(lsof -t -i :) +```