Skip to content

Instantly share code, notes, and snippets.

View yigitkonur's full-sized avatar
🗿
Work hard, play soft

Yigit Konur yigitkonur

🗿
Work hard, play soft
View GitHub Profile
@yigitkonur
yigitkonur / linkedin-to-md.py
Last active December 8, 2025 22:10
Raycast script: LinkedIn Profile to Markdown via Clado API - fetches LinkedIn profiles, generates structured Markdown with experience, education, skills. Supports multiple URLs in parallel. Uses MD cache.
#!/usr/bin/env python3
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title LinkedIn Profile to Markdown
# @raycast.mode silent
# Optional parameters:
# @raycast.icon 💼
# @raycast.packageName AI Tools
@yigitkonur
yigitkonur / urls-to-md.py
Created December 8, 2025 21:42
Raycast script: Parse URLs with Jina AI - reads URLs from clipboard, processes in parallel, copies formatted markdown content
#!/usr/bin/env python3
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Parse URLs with Jina AI
# @raycast.mode silent
# Optional parameters:
# @raycast.icon 🌐
# @raycast.packageName AI Tools
@yigitkonur
yigitkonur / youtube-transcribe.py
Last active December 8, 2025 21:45
Raycast script: YouTube Transcribe with ElevenLabs Scribe - downloads audio, transcribes with diarization, generates SRT subtitles and speaker-formatted output
#!/usr/bin/env python3
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title YouTube Transcribe with Diarization
# @raycast.mode silent
# Optional parameters:
# @raycast.icon 🎙️
# @raycast.packageName Media Tools
@yigitkonur
yigitkonur / clipboard-to-md.py
Created December 8, 2025 21:29
Raycast script: Clipboard HTML to Markdown converter - converts rich HTML from clipboard to clean Markdown
#!/usr/bin/python3
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Clipboard HTML to Markdown
# @raycast.mode compact
# Optional parameters:
# @raycast.icon 📋
# @raycast.packageName Clipboard Tools
@yigitkonur
yigitkonur / duti.sh
Created November 13, 2025 00:01
duti.sh to open all files on sublime
#!/bin/bash
################################################################################
# Comprehensive Sublime Text 4 Default File Association Script
#
# This script sets Sublime Text 4 as the default application for a wide range
# of file extensions commonly used in software development, configuration,
# documentation, and data processing.
#
# Requirements: duti (install via: brew install duti)
@yigitkonur
yigitkonur / comprehensive-eslint-rules.md
Created August 13, 2025 07:01
a context for guiding LLM to choose best ESLint rules for your projects

A Strategic Framework for Code Quality: From Linting Rules to Production Resilience

Let's try to understand each of them by reviewing that summary:

ESLint Core "Possible Problems" Rules (Summary Table)

Rule Name Core Problem Prevented Fixable (🔧) Recommended (✅) Primary Production Benefit
array-callback-return Unexpected undefined values from array methods. 🔧 Data Integrity
constructor-super ReferenceError in derived class constructors. Stability
@yigitkonur
yigitkonur / llm-mermaid.md
Created June 3, 2025 04:57
A prompt for forcing AI to use mermaid more effectively

Your primary function is to transform ANY textual diagram idea, natural language description, malformed/incomplete Mermaid code, or embedded Mermaid blocks within Markdown into production-ready, syntactically pristine, visually compelling, and interactive Mermaid diagrams. You will also provide micro-documentation via a concise changelog and embedded tooltips. Your core operational logic is derived from the comprehensive Mermaid syntax and feature compendium detailed herein.


I. OPERATIONAL PHASES (Your Refinement Lifecycle)

Phase 1: Input Ingestion & Contextual Analysis

  1. Isolate Mermaid Content: If input is Markdown, extract content from ```mermaid ... ``` blocks. For other inputs, identify the core diagram-related text.
  2. Pre-sanitize: Normalize basic whitespace; identify explicit user flags (theme:, type:, layout:).
  3. Diagram Type & Layout Inference (See Section II: Inference Matrix): Determine the most appropriate Mermaid diagram type and initial

If you're a TypeScript developer building applications, you know how quickly complexity can grow. Tracking down errors, understanding performance bottlenecks, and getting visibility into your application's health in production can feel like detective work without the right tools. This is where Sentry comes in.

Sentry is a powerful application monitoring platform that helps you identify, triage, and prioritize errors and performance issues in real-time. While it supports a wide range of languages and platforms, its JavaScript SDKs, which are fully compatible with TypeScript, offer a wealth of features specifically tailored for the nuances of the web browser and Node.js environments where TypeScript thrives.

The goal of this whitepaper is to walk you through the top features of Sentry from the perspective of a TypeScript developer. We'll explore how to set up Sentry, how it automatically captures crucial data, how you can enrich that data with context specific to your application, techniques for managing data

@yigitkonur
yigitkonur / llms-txt-mem0
Created April 12, 2025 04:39
mem0 comprehensive guide (context for my LLMs)
Welcome to your complete guide to Mem0, the intelligent memory layer designed specifically for next-generation AI applications. In this guide, you'll get a clear, detailed understanding of Mem0—from the core ideas and underlying architecture to real-world implementation and strategic advantages. We'll dive into exactly how Mem0 addresses one of the key shortcomings of current AI systems, especially those powered by Large Language Models (LLMs): their inability to retain persistent memory across interactions. By providing an advanced way to store, manage, and retrieve context over time, Mem0 allows developers to create AI apps that are far more personalized, consistent, adaptive, and efficient. Since the AI community's needs vary widely, Mem0 is available as both a fully managed cloud service—for convenience and scalability—as well as an open-source solution, offering maximum flexibility and control and positioning it as a foundational part of modern stateful AI stacks.
Our goal for this guide was simple but
@yigitkonur
yigitkonur / llms-txt-litellm-client-sdk-context.md
Created March 29, 2025 20:34
My llms.txt series introduces valuable context about several repos I'm using daily. This one is most comprehensive guide on web about LiteLLM's PythonSDK.

LiteLLM Python SDK: The Developer Reference (like llms.txt)

Welcome! This guide provides an exhaustive reference to the LiteLLM Python SDK, meticulously detailing its functionalities, configurations, utilities, and underlying concepts. It is designed for developers seeking the deepest possible understanding and coverage of LiteLLM's capabilities for integrating over 100+ Large Language Models (LLMs).

Core Value Proposition: LiteLLM provides a unified, consistent interface (often OpenAI-compatible) to interact with a vast array of LLM providers (OpenAI, Azure OpenAI, Anthropic (Claude), Google (Gemini, Vertex AI), Cohere, Mistral, Bedrock, Ollama, Hugging Face, Replicate, Perplexity, Groq, etc.). This allows you to write model-interaction code once and switch providers primarily by changing the model parameter, while benefiting from standardized features like credential management, error handling, retries, fallbacks, logging, caching, and routing.

Who Should Use This Guide:

  • Deve