Skip to content

Instantly share code, notes, and snippets.

View 2ykwang's full-sized avatar
🔥

Youngkwang Yang 2ykwang

🔥
  • Seoul
  • 16:33 (UTC +09:00)
View GitHub Profile
@2ykwang
2ykwang / statusLine.sh
Created August 11, 2025 05:27
Claude Code Status line configuration
#!/bin/bash
# Make sure this file is executable: chmod +x ~/.claude/statusline.sh
# Claude Code statusline script - optimized with colors and emojis
# Reads JSON input from stdin and outputs a formatted status line to stdout
# Add to your ~/.claude/settings.json
#
# "statusLine": {
# "type": "command",
# "command": "bash ~/.claude/statusline.sh"
@2ykwang
2ykwang / gnu_awk.md
Last active June 22, 2022 09:09
GNU awk & grep
Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 1 column 41
---

:information_source: :information_source: This chapter has been converted into a better formatted ebook: https://learnbyexample.github.io/learn_gnuawk/. The ebook also has content updated for newer version of the commands, includes a chapter on regular expressions, has exercises, solutions, etc.

For markdown source and links to buy pdf/epub versions, see: https://github.com/learnbyexample/learn_gnuawk

---




@2ykwang
2ykwang / post_factory.py
Last active June 17, 2022 18:54
factory
from factory.django import DjangoModelFactory
from apps.posts.models import Post, Category
import factory.fuzzy
class CategoryFactory(DjangoModelFactory):
name = factory.sequence(lambda n: f"카테고리 ({n})")
slug = factory.Faker("slug")
@2ykwang
2ykwang / python_guide.md
Created May 26, 2022 13:03
python guide

Python Guide

This python guide is intended to those who already know python and want a mind refresh or looking for a specific syntax.
-as this guide doesn't elaborate in explaining thing that a programmer would already know -like: variable, function, csv, json-

additionally, this guide is not intended to be a replacement for reading official Python documentation.

guide version: 2.1.0 | python version: 3.10

| Part of Version | Explanation |

@2ykwang
2ykwang / semantic-commit-messages.md
Created November 7, 2021 23:56 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example