Skip to content

Instantly share code, notes, and snippets.

View wjurkowlaniec's full-sized avatar
🎹

Wojtek Jurkowlaniec wjurkowlaniec

🎹
View GitHub Profile
from typing import List, Optional
from fastapi import FastAPI, Query, HTTPException
from fastapi.responses import FileResponse
from pydantic import BaseModel, Field
from enum import Enum
from datetime import datetime
app = FastAPI(title="Cancer Dataset API")
# Enums for filter options
Global rules for Windsurf editor
- don't apologize, just continue with your work. if your comment doesn't bring anything, don't write anything, or at most one
- be more concise with your descriptions
- don't write such big docstrings, just one line sometimes work. Code should have clean names to describe what's happening
- do full typed code
- in the end, in separate step, look how to refactor it
- do OOP, but not all there is, not JAVA style
- don't confirm what I wrote, just execute.
- don't ask for running main command to test
@wjurkowlaniec
wjurkowlaniec / llmcmd.md
Created April 11, 2025 15:48
Bash command hints from LLM
  1. install local ollama or use remote API, in my case local ollama
llm install llm-ollama
llm models default qwen2.5:3b
  1. Configure zsh. I have oh-my-zsh, should be compatible

vim ~/.zshrc