Initial Conda Ubuntu安装miniconda1234mkdir -p ~/miniconda3wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.shbash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3rm 2025-06-24
RAG - Ollama + AnythingLLM 搭建本地知识库 RAG(Retrieval-Augmented Generation,检索增强生成)是一种结合信息检索与文本生成的技术框架,旨在通过动态引入外部知识库提升大语言模型(LLM)的生成质量。 RAG就像是为大型语言模型(LLM)配备了一个即时查询的“超级知识库”。这个“外挂”不仅扩大了模型的知识覆盖范围,还提高了其回答特定领域问题的准确性和时效性。 Ollamaopen-webuiAnythi 2025-06-24
Unity协同程序 延迟函数 1234567891011121314151617181920private void OnTriggerEnter2D(Collider2D other){ if (other.TryGetComponent<PlayerController>(out PlayerController player)) { collider.e 2025-06-18 #Unity #协同程序 #Coroutine #IEnumerator
Unity 打包 如果打包2022版本的 用unity editor自带的即可 针对Unity6 如下: 安卓JDK:https://www.oracle.com/java/technologies/downloads/#java17-windows SDK 先安装android studio https://developer.android.com/studio?hl=zh-cn从android studio中 2025-06-18 #Unity
Unity状态机 B站视频 单个状态实现IState接口,只需要维护自身逻辑,状态切换通过状态机触发。 12345678// Scripts/State Machine System/Base/IState.cspublic interface IState{ void Enter(); void Exit(); void LogicUpdate(); void PhysicsUp 2025-06-18 #Unity #状态机
terminal 端口相关 查看端口占用情况 1lsof -i tcp:3000 查看启动服务的端口 1netstat -tunlp 查看服务相关信息(PID、CPU 占用率、内存占用率) 1ps -aux | grep redis 查看服务是否启动(返回 PID) 12pgrep mongo -lpgrep node -l 删除进程 1kill -9 PID 文件 移动文件(file2 2025-06-05 #命令行
初始化 包含Mac及Ubuntu的初始化 Mac初始化homebrew1/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" git1brew install git 生成公钥 12ssh-keygen -t rsa -b 4096 -C &qu 2025-06-03