MacOS에서 키보드 한/영 전환 단축키에 shift + space를 할당하는 방법
아래 명령을 복사해서 터미널에서 실행
defaults export com.apple.symbolichotkeys - |
sed 's/262144/131072/' |
defaults import com.apple.symbolichotkeys -
MacOS에서 키보드 한/영 전환 단축키에 shift + space를 할당하는 방법
아래 명령을 복사해서 터미널에서 실행
defaults export com.apple.symbolichotkeys - |
sed 's/262144/131072/' |
defaults import com.apple.symbolichotkeys -
# 날짜, 평일 여부, 회사 근무일 여부, 설명 | |
2024-05-02 true true | |
2024-05-03 true true | |
2024-05-04 false false # holiday | |
2024-05-05 false false # holiday | |
2024-05-06 false false # 어린이날 대체 휴일 | |
2024-05-07 true true | |
2024-05-08 true true | |
2024-05-09 true true | |
2024-05-10 true true |
import sys | |
import json | |
counts = dict() | |
for line in sys.stdin: | |
if line in counts: | |
counts[line] += 1 | |
else: | |
counts[line] = 1 |
set nocompatible | |
syntax on | |
" normal 모드에서는 영어만 입력된다. | |
set noimdisable | |
set belloff=all | |
set nu " number - 줄번호 보여주기 | |
set rnu "relativenumber - 상대적 줄번호 |
#!/bin/bash | |
# stdin에서 IP PORT 형식으로 입력 받아서 해당 서버에 접속가능한지 확인해줌. | |
check() { | |
echo -n "$1:$2 " | |
# timeout -k 5 5 | |
nc -z -w 5 $1 $2 &> /dev/null \ | |
&& echo -e '\e[32msucccess\e[0m' \ | |
|| echo -e '\e[31mfail\e[0m' | |
} |
# 참고자료 | |
# https://www.apress.com/kr/book/9781484207765 | |
# https://leanpub.com/the-tao-of-tmux/read | |
# Prefix Command 변경. | |
unbind C-b | |
set -g prefix C-Space | |
set -g default-terminal "screen-256color" |
sprite $ee [135x132/16] { | |
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
0000000000000000000000000000000000000000000000 |
# curl -s -o .editorconfig https://gist.githubusercontent.com/realmovestar/58eeaa8cfbe382b5f0b1d7338134eb5b/raw/cae4440cc24ac802c8e4bb2a27ab5d3ae34a79ce/.editorconfig | |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_style = space | |
insert_final_newline = true | |
tab_width = 4 | |
trim_trailing_whitespace = true |