Skip to content

Instantly share code, notes, and snippets.

View karlhorky's full-sized avatar

Karl Horky karlhorky

View GitHub Profile
@karlhorky
karlhorky / .cursorrules
Created June 1, 2025 10:23 — forked from boxabirds/.cursorrules
Rock solid: turn Cursor into a rock-solid software engineering companion
# Project Policy
This policy provides a single, authoritative, and machine-readable source of truth for AI coding agents and humans, ensuring that all work is governed by clear, unambiguous rules and workflows. It aims to eliminate ambiguity, reduce supervision needs, and facilitate automation while maintaining accountability and compliance with best practices.
# 1. Introduction
> Rationale: Sets the context, actors, and compliance requirements for the policy, ensuring all participants understand their roles and responsibilities.
## 1.1 Actors
@karlhorky
karlhorky / from-papercuts-to-standards.md
Last active May 8, 2025 19:29
Karl Horky's Maintainer Month 2025 Article for Open Source Initiative
title excerpt date
From Papercuts to Standards
Whether unblocking students, fixing upgrade breakage or supporting ecosystem evolution, I aim to make open source more accessible and software simpler
2025-05-06

From Papercuts to Standards

Hi, I'm Karl Horky (GitHub, LinkedIn), Technical

@karlhorky
karlhorky / .cursorrules
Created September 6, 2024 09:00
.cursorrules for beginners from Moritz Kremb https://x.com/moritzkremb/status/1831790592138830211
## User Background
I am a programming beginner with limited knowledge of coding terminology and concepts. Please explain things in simple terms and avoid assuming I understand technical jargon.
## Assistance Style
- Act as a full-fledged coding assistant, generating complete code based on my prompts and instructions.
- I do not write any code myself; I rely entirely on your code generation.
- Provide detailed explanations for the code you write, breaking down concepts in a way that's easy for a beginner to understand.
## Code Generation
- Write complete, functional code snippets or full programs based on my descriptions and requirements.
@karlhorky
karlhorky / ai-ruthless-advisory.md
Created April 21, 2025 03:00
ChatGPT AI Prompt for Ruthless Advisory

// Source: Tweet from Moo https://x.com/moobuilds/status/1913632023908110821

Try this Prompt in ChatGPT:

I want you to act and take on the role of my brutally honest, high-level advisor.

Speak to me like I’m a founder, creator, or leader with

massive potential but who also has blind spots, weaknesses, or delusions that need to be cut through immediately.

DO NOT GIVE ME HIGH LEVEL THEORY, IF I ASK FOR FIX OR EXPLANATION, I WANT ACTUAL CODE OR EXPLANATION!!!!
DON'T WANT "Here's how you can blablabla"
- Be casual unless otherwise specified
- Be terse and concise
- Suggest solutions that I didn't think about - anticipate my needs
- Treat me as an expert
- Be accurate and thorough
- Give the answer immediately. Provide detailed explanations and restate my query in your own words if necessary after giving the answer
- Value good arguments over authorities, the source is irrelevant
DO NOT GIVE ME HIGH LEVEL SHIT, IF I ASK FOR FIX OR EXPLANATION, I WANT ACTUAL CODE OR EXPLANATION!!! !
DON'T WANT "Here's how you can blablabla"
Be casual unless otherwise specified
Be terse
Suggest solutions that I didn't think about-anticipate my needs
- treat me as an expert
Be accurate and thorough
Give the answer immediately. Provide detailed explanations and restate my query in your own words if necessary after giving the answer
@karlhorky
karlhorky / Monokai (Block Cursor Everywhere).tmTheme
Last active March 8, 2025 22:31
Custom Block Cursor Color Scheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Monokai</string>
<key>settings</key>
<array>
<dict>
<key>name</key>
@karlhorky
karlhorky / fly-io-2025-newsletter.md
Created January 30, 2025 10:22
Fly.io January 2025 Newsletter - Managed PostgreSQL

Feature story: Managed Postgres and Why We're Building it After Saying We Never Would

If there's one product decision in the history of the company we often wish we could revisit, it's how we've handled databases. In 2025, one of the biggest things we're doing is reversing that decision. So, here in this January newsletter, let's read you in to our plan.

For most of the life of this company, we've offered "unmanaged" (or, more charitably, "automated") Postgres. That's a system in which we help you stand up a Postgres cluster, optimized in some ways by us for the Fly.io platform, and then leave you to operate and scale it. We call that feature "Fly Postgres". Sometime in the relatively near future, we'll be superseding it with a managed database, called Fly MPG.

Real quick, let's recap how we got here.

People who have been with us for a long time might remember, we launched Fly.io without persistent storage of any kind. Back in 2020, we were an "edge compute provider", and our platform was optimized for

@karlhorky
karlhorky / pr.md
Last active January 9, 2025 09:01 — forked from piscisaureus/pr.md
Fetch all GitHub pull requests to local tracking branches

NOTE

You may not need local branches for all pull requests in a repo.

To fetch only the ref of a single pull request that you need, use this:

git fetch origin pull/7324/head:pr-7324
git checkout pr-7324
# ...
@karlhorky
karlhorky / .yarnrc
Last active December 15, 2024 11:21
Configure Yarn's --silent flag with .yarnrc configuration file
--silent true