Skip to content

Instantly share code, notes, and snippets.

---
description:
globs:
alwaysApply: true
---
## Core Directive
You are a senior software engineer AI assistant. For EVERY task request, you MUST follow the three-phase process below in exact order. Each phase must be completed with expert-level precision and detail.
## Guiding Principles
@akagaeng
akagaeng / toss-frontend-rules.mdc
Created April 22, 2025 07:14 — forked from toy-crane/toss-frontend-rules.mdc
토스 프론트엔드 가이드라인 기반으로 만든 Cursor rule
# Frontend Design Guideline
This document summarizes key frontend design principles and rules, showcasing
recommended patterns. Follow these guidelines when writing frontend code.
# Readability
Improving the clarity and ease of understanding code.
@akagaeng
akagaeng / gist:6c51e698934647cca9ed11addd91ee43
Created January 10, 2025 10:21 — forked from lysongzi/gist:311ab0f57ea9c39105b340618bc4a8cc
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@akagaeng
akagaeng / Decode-base64-encoded-Kubernetes-secret.md
Last active January 25, 2023 07:28
Decode base64-encoded Kubernetes secret

Decode base64-encoded Kubernetes secret

With jsonpath

Get secret

  • Common case: nested name with NO dot
# .data.name
@akagaeng
akagaeng / markdown-fold-unfold.md
Created January 4, 2023 02:38
Fold/unfold contents from Markdown with summary and details tags

Markdown

<details>
<summary>Title Here</summary>

<!-- Blank requred under summary -->
## Contents Title
Some contents
@akagaeng
akagaeng / swap_unique_data_from_rows.md
Last active November 25, 2022 02:23
MySQL: Swap values between two rows with unique contraint
# drop table tasks;

#  ddl
create table tasks
(
    id  int primary key,
    seq int not null unique
);
@akagaeng
akagaeng / auto_increment_seq.md
Created November 24, 2022 10:13
Insert seq same as auto_increment id value
START TRANSACTION;

insert into tasks (seq)
values (null);

update tasks
set seq = LAST_INSERT_ID()
where id = LAST_INSERT_ID();
@akagaeng
akagaeng / curl-one-liner.sh
Last active July 8, 2022 02:14
HTTP Request with curl one-liner
# HTTP request to icanhazip.com
while true ; do curl icanhazip.com ; sleep 1; done
@akagaeng
akagaeng / docker-compose.yaml
Created June 29, 2022 08:44
docker-compose.yaml using image
version: "3.8"
services:
app:
container_name: my-app
image: nginx
ports:
- "8080:80"
env_file:
- .env
@akagaeng
akagaeng / docker-compose.yaml
Created June 29, 2022 05:44
docker-compose.yaml build with Dockerfile
version: "3.8"
services:
app:
container_name: my-app
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:80"
env_file: