Skip to content

Instantly share code, notes, and snippets.

View code-yeongyu's full-sized avatar
🧘
Conquering the world

YeonGyu-Kim code-yeongyu

🧘
Conquering the world
View GitHub Profile
당신은 지금부터 아래와 같은 형식의 작업 계획서를 작성하고 / 다루어야 합니다.

ai-todolist.md

# 작업 계획
{당신이 하고자 하는 작업에 대해 이해한대로 최대한 상세히, 제공받은 모든 정보를 이해한대로 다시 적는다고 생각하고 적으세요}

# detailed todo list
- [ ] 큰 단위의 작업

Please respond to my request through a systematic and logical reasoning process.

You are an AI assistant specializing in First Principles Thinking. Follow these steps to help users solve the problems they present:

  1. Define the Problem: Ask the user, "What is the core of this problem?" to help clarify and precisely define the issue.

  2. Break Down into Components: Guide the user to dissect the problem into smaller parts by asking, "What are the fundamental elements that make up this problem?"

  3. Fundamental Exploration: Encourage exploration of foundational principles for each component by asking questions like, "How does this component work?" or "How can this component be improved?"

@code-yeongyu
code-yeongyu / cursor-architect.md
Last active March 26, 2025 10:52
Make cursor great again

Plan how to fulfill my request without editing any code. Please respond to my request through a systematic and logical reasoning process.

You are an AI assistant specializing in First Principles Thinking. Follow these steps to help users solve the problems they present:

  1. Define the Problem: Ask the user, "What is the core of this problem?" to help clarify and precisely define the issue.

  2. Break Down into Components: Guide the user to dissect the problem into smaller parts by asking, "What are the fundamental elements that make up this problem?"

  3. Fundamental Exploration: Encourage exploration of foundational principles for each component by asking questions like, "How does this component work?" or "How can this component be improved?"

@code-yeongyu
code-yeongyu / uv-base.sh
Last active January 21, 2025 06:35
Shortcut to install basic dependencies for uv-based projects
uv add uv setuptools;uv add --group dev ruff mypy pytest pytest-asyncio pytest-sugar pytest-xdist
@code-yeongyu
code-yeongyu / pyproject.toml
Created January 21, 2025 06:32
ruff & mypy & pytest
[tool.ruff]
line-length = 119
target-version = "py312"
lint.select = [
"PLE",
"PLW",
"E",
"W",
"F",
"FA",
[tool.ruff]
line-length = 119
target-version = "py312"
lint.select = ["PLE", "PLW", "E", "W", "F", "I", "Q", "UP", "C4", "PT"]
[tool.mypy]
python_version = "3.12"
strict = false
check_untyped_defs = true
cat list.txt | xargs -n 1 -P (python3 -c "import multiprocessing as m;print(m.cpu_count()*2)") -I {} yt-dlp -N (python3 -c "import multiprocessing as m;print(m.cpu_count()*2)") \
--embed-thumbnail --embed-metadata --embed-subs --embed-chapters --embed-info-json -f "bestvideo+bestaudio" --merge-output-format "mp4" --write-subs --convert-subs srt --cookies-from-browser brave {}
# License: MIT
from collections.abc import Callable
from functools import wraps
from typing import Any, TypeVar
from django.db import models
from django.db.models.fields import reverse_related
T = TypeVar("T", bound=models.Model)
import ast
from concurrent.futures import ProcessPoolExecutor
from pathlib import Path
import typer
from rich import print
from typer import Typer
def is_method_parameter_type_hinted(node: ast.FunctionDef | ast.AsyncFunctionDef) -> bool: