摘要: Godot 使用 Tileset Collision Generator (free version) 助力 TileSet 图块物理碰撞层的编辑 感谢 @Cremis018 提供的非常大的帮助 插件地址:https://godotengine.org/asset-library/asset/312 阅读全文
posted @ 2025-11-29 23:36 fanbal 阅读(26) 评论(0) 推荐(0)
摘要: 关于 .NET AssemblyLoadContext 的研究笔记 public class MyAssemblyLoadContext : AssemblyLoadContext { private readonly AssemblyDependencyResolver _resolver; pu 阅读全文
posted @ 2025-11-28 11:12 fanbal 阅读(7) 评论(0) 推荐(0)
摘要: ASP.NET Core Web API 为 Swagger 创建多个分组文档的教程,我们主要可以通过 `AddSwaggerGen`、`SwaggerDoc`、`UseSwaggerUI`、`SwaggerEndpoint`、`ApiExplorerSettingsAttribute` 这几个 API 进行相关的编辑,实现在右上角 Select a definition 处将内容展开为更多信息。 阅读全文
posted @ 2025-11-24 10:01 fanbal 阅读(6) 评论(0) 推荐(0)
摘要: pandas dataframe astypes 能够转换的类型简单笔记 阅读全文
posted @ 2025-11-20 10:02 fanbal 阅读(7) 评论(0) 推荐(0)
摘要: vue3 使用 worker 实现定时后台更新 worker 的创建 setInterval(() => { self.postMessage({ eventName: "hello", time: Date.now() }) // post 出来的数据对象是自定义的。 }, 1000); work 阅读全文
posted @ 2025-11-19 11:00 fanbal 阅读(4) 评论(0) 推荐(0)
摘要: matplotlib plot 折线图使用体验 plot 只是默认情况下指代折线图,本身 plot 其实是 所有图标都可以表示。 效果图 代码 import matplotlib.pyplot as plt import numpy as np # 存在感没有很高 # x 和 y 需要一一对应 xp 阅读全文
posted @ 2025-11-18 11:34 fanbal 阅读(5) 评论(0) 推荐(0)
摘要: vue3 创建简单路由的简单笔记 导入和配置路由 import { createRouter, createWebHistory, type Router, type RouterOptions } from 'vue-router' import MainPage from '../../page 阅读全文
posted @ 2025-11-18 11:13 fanbal 阅读(4) 评论(0) 推荐(0)
摘要: html css 创建 ToolTip 笔记 效果: 代码如下: <template> <div class="tooltip"> 悬停查看提示 <span class="tooltiptext">这是一个CSS自定义tooltip</span> </div> </template> <style 阅读全文
posted @ 2025-11-18 10:30 fanbal 阅读(4) 评论(0) 推荐(0)
摘要: CommunityToolkit.Mvvm 同时能够被调用和使用源生成器,但是它是如何实现的呢?本文将提供一个简单的教程。 阅读全文
posted @ 2025-11-14 10:23 fanbal 阅读(18) 评论(0) 推荐(0)
摘要: torchvision 使用本地 FashionMNIST 数据集进行导入的方法 一、 错误示例: 不解压、随便一个路径 二、正确操作 解压它们并放在指定的地方: 你需要放在对应数据的 \FashionMNIST\raw\ 文件夹下。 具体的结构请注意是这个样子: 我们在 root 中需要指定 da 阅读全文
posted @ 2025-11-06 13:17 fanbal 阅读(23) 评论(0) 推荐(0)