摘要: Markdown的表格语法不合理,MD语法既然这么简洁了,就应该在未渲染的状态下,熟练用户应该可以直接阅读,但至少表格的语法就不行,应该重新设计 现有语法的痛点 | 姓名 | 年龄 | 城市 | | | | | | 张三 | 25 | 北京 | | 李四 | 30 | 上海 | 问题: 分隔线 | 阅读全文
posted @ 2026-05-13 09:39 etfolin 阅读(8) 评论(1) 推荐(0)
摘要: 先直接回答你的 PowerShell 用法,并给出几个常见变体。 在 PowerShell 里列出当前目录所有 .py 文件,最直接的是: Get-ChildItem -Filter *.py 更短的别名写法: gci *.py 如果你要包含子目录里的 .py 文件: Get-ChildItem - 阅读全文
posted @ 2026-05-13 09:13 etfolin 阅读(9) 评论(0) 推荐(0)
摘要: C compiler install sudo apt-get update sudo apt-get install build-essential download source code tar xf node-v22.19.0.tar.xz cd node-v22.19.0 sudo ./c 阅读全文
posted @ 2025-09-26 01:42 etfolin 阅读(12) 评论(0) 推荐(0)
摘要: # list all app dpkg -l # Uninstall app and keep configuration sudo apt remove firefox # Uninstall app and remove configuration sudo apt purge firefox 阅读全文
posted @ 2025-09-25 23:14 etfolin 阅读(15) 评论(0) 推荐(0)
摘要: 具体问题如下: 环境:windows 11 + conda pytorch 已经安装,但 cude 不可用,可用gpu数量为0 使用whisper时提示错误信息: ... ... AssertionError: Torch not compiled with CUDA enabled 原因: gpu 阅读全文
posted @ 2025-09-23 13:54 etfolin 阅读(352) 评论(0) 推荐(0)
摘要: uv安装 pip install uv 在 Windows 系统上修改 UV 的下载源 在 Windows 系统上,可以通过以下几种方式修改 UV 的下载源: 1. 通过环境变量修改 UV 提供了 UV_DEFAULT_INDEX 环境变量来设置默认的包索引源。 设置方法: 打开 “此电脑” 或 “ 阅读全文
posted @ 2025-06-27 12:10 etfolin 阅读(17720) 评论(0) 推荐(0)
摘要: 在 PowerShell 里,方括号 [] 有多种重要作用,以下是主要的几种: 类型声明:用于指定变量或表达式的数据类型。例如 [int]$number = 10 将 $number 声明为整数类型;[datetime]::Now 调用 datetime 类型的静态方法获取当前时间。 数组索引:用于 阅读全文
posted @ 2025-06-27 11:34 etfolin 阅读(56) 评论(0) 推荐(0)
摘要: 转载,原文:https://blog.csdn.net/Q_QuanTing/article/details/81940193 简介 当我们使用Django框架写出自己的web时,那种成就感是不言而喻的。不过好东西自然要和大家分享,因此就需要将自己的web部署在某个地方。废话不多说,接下来将把我的w 阅读全文
posted @ 2024-05-23 00:12 etfolin 阅读(271) 评论(0) 推荐(0)
摘要: 在一本过时的django里看到一段代码: class PublishedManager(models.Manager): def get_queryset(self): return super(PublishedManager, self).get_queryset().filter(status 阅读全文
posted @ 2024-05-06 12:28 etfolin 阅读(15) 评论(0) 推荐(0)
摘要: 生成配置文件: jupyter notebook --generate-config 编辑配置文件: c.NotebookApp.notebook_dir = 'E:\\aaa\\bbb' windows是双斜杠(\),linux是反斜杠(/) 阅读全文
posted @ 2024-04-30 05:46 etfolin 阅读(49) 评论(0) 推荐(0)