Skip to content

Instantly share code, notes, and snippets.

View dkmin's full-sized avatar
🧠
0.8

D. K. Min dkmin

🧠
0.8
  • Seoul, Korea
  • 21:29 (UTC -12:00)
View GitHub Profile
@dkmin
dkmin / .wezterm.lua
Created March 23, 2026 00:12
WezTerm config - Catppuccin Mocha, transparent, Shift+Enter newline
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
config.window_background_opacity = 0.7
config.macos_window_background_blur = 0
config.font_size = 15
config.color_scheme = 'Catppuccin Mocha'
-- Ctrl+Shift+N 으로 N번째 윈도우 전환
local act = wezterm.action
@dkmin
dkmin / .wezterm.lua
Last active March 23, 2026 08:30
WezTerm config: Ctrl+Shift+1~5 window switching (Windows fix for shifted keys)
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
config.default_prog = { 'pwsh' }
config.font_size = 10.0
config.window_background_opacity = 0.7
config.keys = {
{
key = 'Enter',
@dkmin
dkmin / wezterm-config-tips.md
Last active March 22, 2026 03:11
WezTerm Config & Tips - default shell(pwsh), font size, transparency, shortcuts, community favorite features

WezTerm Configuration & Tips

Current Config (~/.wezterm.lua)

local wezterm = require 'wezterm'
local config = wezterm.config_builder()

config.default_prog = { 'pwsh' }
config.font_size = 10.0
@dkmin
dkmin / AGENTS_md Master Prompt from devBrother.md
Last active March 22, 2026 01:24
AGENTS.md Master Prompt - AI Context & Governance Architect

Role

당신은 **AI 컨텍스트 및 거버넌스 수석 아키텍트(Principal Architect for AI Context & Governance)**입니다. 사용자의 프로젝트를 검토하여 **"중앙 통제 및 위임 구조"**의 규칙 시스템을 설계하고, 이를 **실제 파일로 구현(Implement)**하는 권한을 가집니다.

Core Philosophy (핵심 철학)

  1. Strict 500-Line Limit: 모든 AGENTS.md 파일은 가독성과 토큰 효율성을 위해 500라인 미만으로 유지합니다.
  2. No Fluff, No Emojis: 컨텍스트 낭비를 막기 위해 이모지(🎯, 🚀 등)와 불필요한 서술을 절대 사용하지 마십시오. 오직 명확하고 간결한 텍스트로만 작성합니다.
  3. Central Control & Delegation: 루트 파일은 "관제탑"이며, 상세 구현은 하위 파일로 "위임"합니다.
@dkmin
dkmin / cursor-agent-system-prompt.txt
Created March 27, 2025 23:15 — forked from sshh12/cursor-agent-system-prompt.txt
Cursor Agent System Prompt (March 2025)
You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. You operate exclusively in Cursor, the world's best IDE.
You are pair programming with a USER to solve their coding task.
The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question.
Each time the USER sends a message, we may automatically attach some information about their current state, such as what files they have open, where their cursor is, recently viewed files, edit history in their session so far, linter errors, and more.
This information may or may not be relevant to the coding task, it is up for you to decide.
Your main goal is to follow the USER's instructions at each message, denoted by the <user_query> tag.
<communication>
1. Be conversational but professional.
@dkmin
dkmin / vscode-settings.md
Created January 25, 2023 13:35 — forked from mohokh67/vscode-settings.md
Install italic and customizable font for vscode

Link to Youtube video: https://youtu.be/QxcRmsGHcWY

Manual steps:

  • Download and install Victor Mono font
  • Update VSCode setting as bellow:
    • font size, line height and font weight are optional and you can update them as you prefer
{
  "editor.fontSize": 13,
  "editor.lineHeight": 24,
@dkmin
dkmin / index.js
Created July 12, 2021 03:37 — forked from JaySunSyn/index.js
Firebase functions Dynamic OG-Tags
exports.host = functions.https.onRequest((req, res) => {
const userAgent = req.headers['user-agent'].toLowerCase();
let indexHTML = fs.readFileSync('./hosting/index.html').toString();
const path = req.path ? req.path.split('/') : req.path;
const ogPlaceholder = '<meta name="functions-insert-dynamic-og">';
const metaPlaceholder = '<meta name="functions-insert-dynamic-meta">';
const isBot = userAgent.includes('googlebot') ||
userAgent.includes('yahoou') ||
userAgent.includes('bingbot') ||
set -g default-command "reattach-to-user-namespace -l zsh"
# tmux display things in 256 colors
set -g default-terminal "screen-256color"
# automatically renumber tmux windows
set -g renumber-windows on
# unbind default prefix and set it to Ctrl+a
unbind C-b
set -g prefix C-a
@dkmin
dkmin / AccountsUIWrapper.jsx
Last active October 17, 2016 09:18
imports/ui/AccountsUIWrapper.jsx
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { Template } from 'meteor/templating';
import { Blaze } from 'meteor/blaze';
export default class AccountsUIWrapper extends Component {
componentDidMount() {
// Use Meteor Blaze to render login buttons
this.view = Blaze.render(Template.loginButtons,
ReactDOM.findDOMNode(this.refs.container));