목록IT이야기 (343)
준호씨의 블로그
맥북 마이그레이션 후 아파치 웹서버가 제대로 동작하지 않음 brew services 로는 상황 진단이 어려움 $ brew services restart httpd Stopping `httpd`... (might take a while) ==> Successfully stopped `httpd` (label: homebrew.mxcl.httpd) ==> Successfully started `httpd` (label: homebrew.mxcl.httpd) 메시지는 그럴싸 한데 실제로 httpd 가 안뜸. /usr/local/var/log/httpd/error_log 에도 로그가 안찍힌다. apachectl 로 시작 해 보면 에러 메시지를 볼 수 있다. $ apachectl start dyld: Symbol..
System Preferences -> Security & Privacy 에서 Require password 가 "immediately" 로 설정 되어 있으면 화면보호기 동작후 풀릴 때 바로 암호를 물어 보게 된다. 다만, Hot Corner 를 이용한다거나 생각하다가 화면보호기가 나타나서 바로 해제 했는데 암호 입력을 요구 받으면 종종 귀찮을 때가 있다. "immediately" 대신 "5 seconds" 로 바꿔 보자. 화면 보호기가 동작해도 빠르게 해제 시키면 암호 입력을 하지 않아도 된다.
https://github.com/git/git/tree/master/contrib/completion 에서 관련 파일을 받을 수 있다. cd ~ wget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh -O .git-prompt.sh ~/.bashrc 파일 수정. PS1 보다 위에 아래 내용을 추가 source ~/.git-prompt.sh PS1 설정에 $(__git_ps1) 추가 junho85@junho85:~/git_branch_test$ (my-branch) git checkout master Switched to branch 'master' junho85@junho85:~/git_b..
ctrl + b, : :move-window -t 99 Sometimes you may want to change tmux window's number. Because window tap is ordered by window numbers. You may want to move some windows to far away from other windows. Then change the window number. References https://superuser.com/questions/343572/how-do-i-reorder-tmux-windows