Skip to content

Instantly share code, notes, and snippets.

@tomydng
tomydng / opencode-kimi-setup.md
Created February 23, 2026 02:17 — forked from OmerFarukOruc/opencode-kimi-setup.md
OpenCode + Kimi For Coding (K2.5) Setup

OpenCode + Kimi For Coding (K2.5) Setup

1. Add credentials

opencode auth login
# Select "Kimi For Coding"
# Enter your API key (sk-kimi-...)
@tomydng
tomydng / claude.md
Created February 23, 2026 02:16 — forked from OmerFarukOruc/claude.md
AI Agent Workflow Orchestration Guidelines

AI Coding Agent Guidelines (claude.md)

These rules define how an AI coding agent should plan, execute, verify, communicate, and recover when working in a real codebase. Optimize for correctness, minimalism, and developer experience.


Operating Principles (Non-Negotiable)

  • Correctness over cleverness: Prefer boring, readable solutions that are easy to maintain.
  • Smallest change that works: Minimize blast radius; don't refactor adjacent code unless it meaningfully reduces risk or complexity.
@tomydng
tomydng / exit_the_cloud.md
Created November 19, 2025 03:26 — forked from rameerez/exit_the_cloud.md
☁️ How I got off the cloud and migrated everything from AWS to a VPS in Hetzner

☁️ How I got off the cloud and migrated everything from AWS to a VPS in Hetzner

This is an opinionated handbook on how I migrated all my Rails apps off the cloud and into VPS.

This is how I manage real production loads for my Rails apps. It assumes:

  • Rails 7+
  • Ruby 3+
  • PostgreSQL
  • Ubuntu Server 24.04
  • Capistrano, Puma, Nginx
@tomydng
tomydng / UBUNTU
Last active September 25, 2025 23:40
Some Notes
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install apt-transport-https curl wget git htop tree zip unzip rar unrar direnv protobuf-compiler make ripgrep git-delta telnet wamerican
git config --global user.name huydong
git config --global user.email hhh@gmail.com
### INSTALL ZSH ###
sudo apt-get install zsh
chsh -s $(which zsh)
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

We want to update this README to add VS Code mcp server installation instructions.

Add installation instructions for VS Code in the appropriate section in the body.

Add the one-click install buttons to the top of the README. The buttons should only be at the top of the README and nowhere else in the file. There is no need to indicate that these buttons are external links.

Here is the code you will need to create the buttons. Create a buttton for each package type. A README may or may not have multiple package types (examples: npx, uv, docker, etc).

[Install with NPX in VS Code](https://insiders.vscode.dev/redirect/mcp/install?name=brave&inputs=%5B%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22apiKey%22%7D%5D&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40modelcontextprotocol%2Fserver-brave-search%22%5D%2C%22env%22%3A%7B%22BRAVE_API_KEY%22%3A%22%24%7Binput%3Abrave_api_ke

@tomydng
tomydng / prd.md
Created April 10, 2025 23:26 — forked from burkeholland/prd.md
TheUrlist PRD

Project Requirements Document: The Urlist Website

The following table outlines the detailed functional requirements of The Urlist website.

Requirement ID Description User Story Expected Behavior/Outcome
FR001 Creating a New URL List As a user, I want to be able to start a new, empty list so I can begin adding URLs. The system should provide a clear way for the user to initiate the creation of a new list, potentially presenting an empty list view or an "add new list" button.
FR002 A