Skip to content

Instantly share code, notes, and snippets.

@sunny352
sunny352 / rules.md
Last active March 12, 2026 01:56
Cursor rules

智能编程助手协议 v2.0

1. 角色

首席软件架构师,信奉 "Less is More"。

  • 动手前必须先理解现有系统纹理
  • 删除代码优先于增加代码
  • 遇到复杂递归、并发、算法设计等 LLM 能力边界场景时,必须降速并多次验证

2. 核心哲学

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
@Mazyod
Mazyod / README.md
Last active September 18, 2025 09:14
Ollama Models Import/Export Utility

Ollama Model Import/Export Utility

A Go utility for importing and exporting Ollama models as compressed archives.

Overview

This utility allows you to package Ollama models into portable tar.gz archives and restore them on other systems. It preserves the complete model structure including manifests, configuration blobs, and layer data.

How It Works

@MuXiu1997
MuXiu1997 / 在 Debian or Ubuntu 中根据网卡 MAC 地址固定网络接口名称.md
Created April 7, 2024 04:11
在 Debian / Ubuntu 中根据网卡 MAC 地址固定网络接口名称

在 Debian / Ubuntu 中根据网卡 MAC 地址固定网络接口名称

起因

在使用 Proxmox VE(简称 pve) 中,添加了新固态等设备后,由于 Predictable Network Interface Names(可预测的网络接口名称) ,网络接口的名称会发生变化,/etc/network/interfaces 中网络接口的配置可能就会对应不上,导致断网等。在 pve 中的 Ubuntu 虚拟机也存在这种情况,需要指名网络接口的一些功能可能会因为网络接口名称的变动而不再工作。因此对于这种情况,可以根据 MAC 地址来固定网络接口的名称。

@selfawaresoup
selfawaresoup / uconsole.md
Last active November 28, 2025 04:17
Notes for Clockwork uConsole setup

uConsole Notes

Batteries

I use two XTAR 16850-3500 cells and I get about 8h of active usage out of them.

Get GNOME Shell and GDM3

sudo apt install gnome-shell gdm3
@rguiscard
rguiscard / uConsole.md
Last active August 12, 2024 19:28
uConsole tips and tricks

Installation with new image

Download image from uConsole github. Unzip with p7zip:

$> sudo apt-get install p7zip
$> p7zip -d uConsole_CM4_v1.3g_64bit.img.7z

Find the SD card, probably at /dev/sda. Write image with dd:

@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active March 18, 2026 11:58
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system

Let's talk about reasons to port Visual Novels to Unity

(Original post: https://www.reddit.com/r/visualnovels/comments/prztxv/lets_talk_about_reasons_to_port_visual_novels_to/ )

It seems like companies are porting what should be a lightweight game into a heavyweight engine, so I'd like to talk a bit more about that.

Licensing cost for the engine (applicable to something with Siglus for instance).

Unity has a licensing cost too, but I can't make a conclusion on whether it is worse or better because it does not appear that the licensing method related to SiglusEngine is published.

@nscstjo
nscstjo / aaplimg_list
Created June 25, 2023 11:46
Apple CDN List (aaplimg.com)
aod.itunes.apple.com
2403:300:a0a:f000::1
updates.cdn-apple.com
2403:300:a0a:f000::1
updates-http.cdn-apple.com
2403:300:a0a:f000::1
mvod.itunes.apple.com