Skip to content

Instantly share code, notes, and snippets.

@XDflight
XDflight / README.md
Last active November 25, 2026 14:51
Remove cache and old extensions under "~/.vscode-server/" on your Linux server

If you often connect to your Linux server using VSCode, the "~/.vscode-server/" folder (and sometimes the ~/.cache/ folder too) can get very large because VSCode:

  1. Does NOT clean its download cache after installing extensions;
  2. Does NOT delete old extensions after updating them;
  3. Does NOT remove old VSCode servers after installing a new version.

If your server storage space is limited, you might consider cleaning "~/.vscode-server/" (and ~/.cache/) regularly using the bash script I wrote. Simply run the following command:

curl -sL https://gist.githubusercontent.com/XDflight/5f3509eb84fc282b88059c909036f5bc/raw/fe2a3e7dab19160c17efc7025d138f5350964c0f/clean_vscode-server.sh | bash -s

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

变电站场景需求调研

1.传统巡视方式

  • 工作人员步行至成百上千的设备检测点前,进行数据记录。全部完成后返回监控室,整理报表上传至数据中心。每天例行巡检至少2次,每次至少2h(因变电站的面积不同而不同)。高温大负荷时,会增加巡检次数。在特殊天气情况下,会进行特殊巡检。
  • 另外,每隔半个月对站内设备进行一次红外测温检测,巡检人员通过手持红外摄像仪对设备进行检测,将检测结果进行手工记录。(红外测温:利用红外探测技术获取设备红外辐射状态的热信息,然后转换成温度进行显示的技术)

检测内容

  • 变压器巡视
  • 开关电器巡视
  • 电流、电压互感器巡视
  • 母线巡视
文件名称 下载链接
3-12岁儿童睡前故事《猴子的故事》MP3免费下载 8集 https://pan.baidu.com/s/1sS50trSKU53m5cy__6h8zg?pwd=6677
世界儿童文学杰作《绿山墙的安妮》MP3免费网盘下载 36集 https://pan.quark.cn/s/ae863d60a0f6
《世界经典童话双语绘本电子版pdf+英语音频MP3》免费打包下载 24部 https://pan.quark.cn/s/bd12f03242dd
世界著名童话故事《丑小鸭》MP3免费下载 9集 https://pan.baidu.com/s/1BxUAOE8bzr78dRobSa3CKg?pwd=6677
世界著名童话故事《堂吉诃德》MP3免费打包下载 9集 https://pan.baidu.com/s/15F8WLNjtT-j-zRVaRaKGuQ?pwd=6677
世界著名童话故事《威尼斯商人》MP3免费打包下载 9集 https://pan.baidu.com/s/1HqsYxlgPXfkJhPHFaKbLZw?pwd=6677
世界著名童话故事《王子和贫儿》MP3免费下载 9集 https://pan.baidu.com/s/15CVBTv2VQHyPn9TfvX9lzA?pwd=6677
世界著名童话故事《白雪公主》MP3免费打包下载 9集 https://pan.baidu.com/s/1uk-a6CN3XapnTB9OeWtYOw?pwd=6677
世界著名童话故事《皮诺曹》MP3打包下载 9集 https://pan.baidu.com/s/1L86_q7wZwbihENPIr4hSmg?pwd=6677
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AI 바이어 협상 시뮬레이터 | 글로벌 수출 상담 트레이닝 플랫폼</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css" />
@therebelrobot
therebelrobot / strudel_learning.md
Last active November 25, 2026 14:39
Strudel Learning Course

🎶 Strudel Self-Study Workshop

A hands-on introduction to live-coded music in the browser


📖 Overview

Strudel is a JavaScript-derived live-coding environment that lets you make music directly in a browser REPL. Each snippet you evaluate becomes part of a real-time musical texture.

@suzuken
suzuken / gist:536999b99b94f90472025c162317a93c
Created April 28, 2023 07:22
社内打ち合わせをするべきか?

たまに話すので普段考えていることを書いておく。

社内打ち合わせのコスト

単純に書くならこうだ。

(単位時間あたり人件費) * (時間) * (参加者数)
@omerfsen
omerfsen / nvidia-smi-cheat-sheet.md
Created November 6, 2025 11:58
nvidia-smi cheat sheet

NVIDIA-SMI Comprehensive Cheat Sheet

Overview

nvidia-smi (NVIDIA System Management Interface) is a command-line tool that provides monitoring, management, and diagnostic information for NVIDIA GPU devices.

It communicates directly with the NVIDIA driver and GPU, and can:

  • Monitor GPU performance, temperature, and utilization
  • Manage power, clock speeds, and ECC
  • Control persistence mode and compute modes