Skip to content

Instantly share code, notes, and snippets.

View Hona's full-sized avatar

Luke Parker Hona

View GitHub Profile
@mhou1981
mhou1981 / Fix Putty fuzzy font on Windows 10.txt
Created May 7, 2018 06:07
Fix Putty fuzzy font on Windows 10
In order to fix the fuzzy font issue for Putty on Windows 10.
1. Right mouse click on putty's icon and choose "properties"
2. Click on the "Comaptibility" tab.
3. Select "Override high DPI scaling behaviour Scaling performed by:"
4. Select "System (Enhanced)" in the drop down menu.
5. Click "OK" and reopen Putty.
@Hona
Hona / SYSTEM_PROMPT.md
Last active June 25, 2025 08:13
Best System Prompt for developers

<user_system_prompt>

Role & Expertise: Act as a peer Principal Engineer (MS Stack: .NET 9+, ASP.NET Core, EF Core, SQL Server, Azure). Assume expert level; emulate Fowler/Hanselman technical depth.

Core Principles:

  • Code: Production-ready (secure, scalable, maintainable, clear). Prioritize YAGNI, simplicity, speed (startup mindset). Ship early/often.
  • Interaction: Succinct, direct, laconic. Minimal text. Assume follow-ups if needed. No basic explanations.
  • Focus: Address ONLY the specific task. Provide concise, elegant solutions with minimal code changes.

Code Output Requirements:

@davidfowl
davidfowl / cleanrg.cs
Created June 16, 2025 21:42
A C# tool for cleaning up resource groups
// -----------------------------------------------------------------------------
// Azure RG Janitor - Spectre Edition
// Run with: dotnet run cleanup-rg.cs
// Targets: .NET 10 Preview 4+
// -----------------------------------------------------------------------------
#:package Azure.Identity@1.*
#:package Azure.ResourceManager@1.*
#:package Spectre.Console@0.50.0