it
AI Preference
#General markdown 复制 ## Communication - Be concise, direct, pragmatic, and action-oriented. Lead with the answer or outcome; use simple Markdown only where it improves scanability. - Match detail to the task: brief for routine work, …
Kubernetes
#Pods, Nodes, Containers, Clusters Kubernetes 101: Pods, Nodes, Containers, and Clusters | by Daniel Sanche | Google Cloud - Community | Medium Hierarchical overview: text 复制 Cluster the top-level environment that manages all resources └── …
Python Version Management & Virtual Environments
#uv astral-sh/uv: An extremely fast Python package and project manager, written in Rust. Documents: uv astral-sh/uv astral-sh/uv: 不可用星标: 不可用分支数: 不可用最近提交: 不可用最新发行版: 不可用发行日期: 不可用 徽章图片由 Shields 直接提供;没有图片时仍可访问仓库链接。 A single tool to replace pip, …
Python Package Management
#Version and Virtual Environment Python Version Management & Virtual Environments #Package Management Use uv. See Python Version Management & Virtual Environments. #Package Management (Deprecated) Python package dependency management - pip …
The Nand Game - Software Levels
#All Levels The Nand Game - Hardware Levels The Nand Game - Software Levels The Nand Game - Optional Levels #Assembler Quick Reference Syntax: destination = calculation ; jump-condition. Destination and jump-condition are optional. D and A …
The Nand Game - Optional Levels
#All Levels The Nand Game - Hardware Levels The Nand Game - Software Levels The Nand Game - Optional Levels #Levels: Transistor level =Nand (CMOS) Build a NAND gate from CMOS transistors. A CMOS circuit uses transistors as switches. There …
The Nand Game
#Info NandGame - Build a computer from scratch. https://nandgame.com/ You are going to build a computer starting from basic components. The Nand Game is inspired by the amazing course From NAND to Tetris - Building a Modern Computer From …
Linux Server Setup
#Ubuntu Version: Ubuntu 24.04 LTS =Linode Specific bash 复制 # New user: calf:admin groupadd admin useradd -g admin calf chsh -s /bin/bash calf mkhomedir_helper calf chmod +w /etc/sudoers vim /etc/sudoers # add a line: # calf ALL=(ALL) …
字体 font-family 选择
#网页文本字体的选择 一般在显示器上,使用无衬线体(sans-serif)会比较舒服,衬线体(serif)看着会比较累,或者说比较正式,也更适合印刷制品。 网页中选定字体,如果不同时提供字体文件,就还得考虑浏览器端系统是否有相应的字体。尤其对于中文,不同的操作系统会有不同的默认字体,甚至同一字体在不同操作系统中的渲染效果也会有所差异。 比较优雅的处理方式是把英文字体排在前边,可以让英文和数字更好看一些,避免选择的中文字体中英文部分不是特别漂亮。然后列出中文字体,最好兼顾到不同 …
Azure OpenAI and Microsoft Foundry
#Background 想把 Azure OpenAI(即 AOAI)用作日常 AI Chat 使用。 目前 Azure OpenAI 和其他 AI 服务都在 Microsoft Foundry 下。 #创建 Foundry Resource 在 Microsoft Azure portal 中进入 Microsoft Foundry,菜单 “Use with Foundry” 下有 “Foundry” 和 “Azure OpenAI”。后者现在不太好用。 在 …
Understanding Hexo
#Hexo Hexo - A fast, simple & powerful blog framework hexojs/hexo: A fast, simple & powerful blog framework, powered by Node.js. =How Hexo Load Plugins hexo/lib/hexo/load_plugins.ts at master · hexojs/hexo Load Modules: package.json 中 hexo- …
Git Cheats
#Useful Aliases Refer to dotfiles/git/gitconfig at master · calfzhou/dotfiles. #Delete a Remote Branch bash 复制 git push origin --delete BRANCH #List Changed Files (w/o Details) bash 复制 git diff --name-only BRANCH git show --name-only …
Quantum Computing
#Basic 量子叠加(superposition)、量子纠缠(entanglement)、量子干涉(interference) #单个 qubit =基态(Deterministic State) ∣0⟩\ket{0}∣0⟩ ∣1⟩\ket{1}∣1⟩ ∣⟩\ket{}∣⟩ is called a ket. =叠加态(Superposition State) …
Using ESP IDF
#ESP-IDF espressif/esp-idf: Espressif IoT Development Framework. Official development framework for Espressif SoCs. espressif/esp-idf espressif/esp-idf: 不可用星标: 不可用分支数: 不可用最近提交: 不可用最新发行版: 不可用发行日期: 不可用 徽章图片由 Shields 直接提供;没有图片时仍可访问仓库链接。 …