Skip to content

Instantly share code, notes, and snippets.

@m0hadang
m0hadang / README.md
Last active May 13, 2026 08:47
SHELL, TOOL CONFIG FILE

SHELL, TOOL CONFIG FILE

bash

# my alias
source <(kubectl completion bash)
alias k='kubectl'
alias kn='kubens'
alias kdf='kubectl delete -f'
@m0hadang
m0hadang / README.md
Created April 18, 2026 08:54
.vimrc

.vimrc

cat ~/.vimrc
set tabstop=2      " The width of a tab character
set softtabstop=2  " The number of spaces inserted when hitting Tab
set shiftwidth=2 " The number of spaces for auto-indentation (using &lt;&lt; or &gt;&gt;)

k8s

pod 접속

k exec -it pods/mypod -- /bin/bash

포트 포워딩

k port-forward pods/mypod 12345:80
@m0hadang
m0hadang / README.md
Last active April 5, 2026 07:04
podman and minikube

podman and minikube

run minikube using podman driver

  • podman machine init
  • podman machine start
  • minikube start --driver=podman

powershell

@m0hadang
m0hadang / README.md
Last active January 9, 2026 23:56
intellij shortcut

intellij shortcut

  • ctrl + F12 : show member in current file
  • alt + home : show sibling
@m0hadang
m0hadang / README.md
Last active March 2, 2026 11:28
vim shortcut

vim shortcut

cursor tracking

  • ctrl + o : go to the previous (older) location in the jump list.
  • ctrl + i : go to the next (newer) location in the jump list.Z
  • %(shift + 5) : start/end of current scope
@m0hadang
m0hadang / README.md
Last active January 10, 2026 04:55
windows terminal

windows terminal

open command

launch it from the command line to the current directory

  • wt -d .
  • wt -d . cmd
  • wt -d . wsl
@m0hadang
m0hadang / README.md
Last active January 9, 2026 23:56
Visual Studio Shortcut

Visual Studio Shortcut

Menu

  • Solution Explorer Open : ctrl + alt + l
  • Terminal Open : ctrl + `
  • Close Window : shift + esc

Code Edit

  • Auto Align : ctrl + l
  • Prev : ctrl + -
@m0hadang
m0hadang / README.md
Last active January 29, 2025 01:06
Bookmark
@m0hadang
m0hadang / README.md
Last active January 9, 2026 23:55
Windows Shortcut

Windows Shortcut

  • windows terminal full screen toggle : shift + enter