Skip to content

Instantly share code, notes, and snippets.

View rlaace423's full-sized avatar
🏠
Working from home

Sam (Sangho Kim) rlaace423

🏠
Working from home
View GitHub Profile
@rlaace423
rlaace423 / 운영체제 κ°„ 비ꡐ.md
Last active December 8, 2025 17:06
macOS 터미널 ν•œκΈ€ 깨짐/μ •λ ¬μ˜ μ§„μ‹€: NFC vs NFD (터미널 5쒅 비ꡐ)
ν™˜κ²½ ν‘œμ€€(μ„ ν˜Έ) NFD 파일이 듀어왔을 λ•Œ 좜λ ₯ λΉ„κ³ 
Windows NFC 깨짐 (μžμ†Œ 뢄리) μžμ†Œ λΆ„λ¦¬μ˜ ν”Όν•΄μž
Linux NFC λŒ€λΆ€λΆ„ 정상 (터미널은 μΌ€λ°”μΌ€) NFC μ“°λŠ” 게 κ΅­λ£°
Web NFC λŒ€λΆ€λΆ„ 정상 (λ³΄μ΄κΈ°λŠ” 함) NFC μ“°λŠ” 게 κ΅­λ£° (검색 λ“±)
macOS NFD 정상 μžμ†Œ λΆ„λ¦¬μ˜ κ°€ν•΄μž (파일 내보낼 λ•Œ)
@rlaace423
rlaace423 / 라즈베리파이4B Wi-Fi 곡유기 ꡬ성 맀뉴얼.md
Last active November 9, 2025 08:28
라즈베리파이4B Wi-Fi 곡유기 ꡬ성 맀뉴얼

라즈베리파이4B Wi-Fi 곡유기 ꡬ성 맀뉴얼

ꡬ성

  • 라즈베리파이 4B
  • Ubuntu 22.04 Server

νŒ¨ν‚€μ§€ μ„€μΉ˜

sudo apt update
sudo apt install hostapd dnsmasq iptables-persistent rfkill net-tools -y
@rlaace423
rlaace423 / install-aws-cli.sh
Created February 28, 2025 08:49
install aws-cli in Alpine Linux
# Python 이 μ—†λ‹€λ©΄ μ„€μΉ˜
apk add --update --no-cache python3 python3-dev py3-pip build-base
# aws-cli μ„€μΉ˜
AWSCLI_VERSION=2.24.14
export CFLAGS="-Wno-error=incompatible-pointer-types" # ruamel.yaml.clib λΉŒλ“œ μ—λŸ¬ λ•Œλ¬Έμ— ν•„μš”
apk add --no-cache \
curl \
make \
@rlaace423
rlaace423 / .zshrc
Last active December 8, 2025 13:19
2024 ArchLinux
### key binding - Home, End, Ctrl-left, Ctrl-Right
case $TERM in (xterm*)
## Common
bindkey '^[[H' beginning-of-line
bindkey '^[[F' end-of-line
## Linux
bindkey ';5D' backward-word
bindkey ';5C' forward-word
bindkey '^[[3~' delete-char
## macOS
version: "3.9"
services:
mongo:
image: mongo:4.4
container_name: mongo
networks:
- mongo
ports:
- "27017:27017"
volumes:
# 계정 μΆ”κ°€
use admin
db.createUser({ user: 'root', pwd: 'Hello#$', roles: ['root'] });
use bitcore
db.createUser({ user: 'bitcore', pwd: 'Hello2024#$', roles: ['dbOwner'] });
# λΉ„λ°€λ²ˆν˜Έ λ³€κ²½
db.changeUserPassword(username, password)
ssh -ND 1080 root@somewhere-ssh-server -p 22
# 이후 창을 끄지 말고 μΌœλ‘”λ‹€
# 이제 MacOS, datagrip의 ssh 터널 μ„€μ • λ“±μ—μ„œ
# localhost, 1080 포트둜 SOCK5 ν”„λ‘μ‹œ μ„œλ²„μ— μž…λ ₯ν•˜λ©΄ 됨
version: "3.9"
services:
nextcloud:
image: arm64v8/nextcloud
restart: always
container_name: nextcloud
ports:
- "10000:80"
networks:
sudo apt install fcitx-hangul
im-config μ‹€ν–‰
OK -> Yes λ₯Ό 눌러 선택화면 μ§„μž…
fcitx 선택 ν›„ OK -> OK
.bashrc λ˜λŠ” .zshrc 에 μ•„λž˜ λ‚΄μš© μΆ”κ°€
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx