Skip to content

Instantly share code, notes, and snippets.

View zlatozar's full-sized avatar
🇧🇬
Давай!

Zlatozar Zhelyazkov zlatozar

🇧🇬
Давай!
View GitHub Profile
@13hulk
13hulk / README.md
Last active July 25, 2026 20:05
Zed IDE: Settings

Using Zed IDE for Python? Feel free to use my settings.

Just keep a few things in mind:

  1. Font: I use Fira Code Nerd Font. Make sure it's installed on your system before applying.
  2. AI config: Update the AI model provider and model to match your own setup.
  3. Save behavior: I don't use auto-save — I save manually with Cmd+S. I also have on-save hooks (ruff, isort, black, ty) that may modify your file/buffer unexpectedly. Adjust these if that's not what you want.

Files:

@swlaschin
swlaschin / effective-fsharp.md
Last active March 28, 2026 22:41
Effective F#, tips and tricks

Architecture

  • Use Onion architecture

    • Dependencies go inwards. That is, the Core domain doesn't know about outside layers
  • Use pipeline model to implement workflows/use-cases/stories

    • Business logic makes decisions
    • IO does storage with minimal logic
    • Keep Business logic and IO separate
  • Keep IO at edges

@prajapatimehul
prajapatimehul / garry-tan-claude-code-plan-mode-prompt.md
Last active March 6, 2026 12:36
Claude Code Prompt for Plan Mode - Garry Tan (YC CEO)

Claude Code Prompt for Plan Mode

#prompts

Review this plan thoroughly before making any code changes. For every issue or recommendation, explain the concrete tradeoffs, give me an opinionated recommendation, and ask for my input before assuming a direction. My engineering preferences (use these to guide your recommendations):

  • DRY is important—flag repetition aggressively.
  • Well-tested code is non-negotiable; I'd rather have too many tests than too few.
  • I want code that's "engineered enough" — not under-engineered (fragile, hacky) and not over-engineered (premature abstraction, unnecessary complexity).
  • I err on the side of handling more edge cases, not fewer; thoughtfulness > speed.
  • Bias toward explicit over clever.
@lukechampine
lukechampine / monads.c
Last active November 10, 2025 23:26
Maybe and Either Monads in C
#include <stdio.h>
#include <stdbool.h>
// Maybe
typedef struct MaybeInt {
int just;
bool nothing;
} MaybeInt;
@baconglucose
baconglucose / git-setup.md
Last active March 29, 2024 17:09
How to configure a repository to push to github.

Setting up git

One-time key setup procedures

SSH

Create an SSH key:

ssh-keygen -t rsa -b 4096 -C "Desired comment"
# Give the file a descriptive name.