본문 바로가기

Macintosh

터미널 탭의 제목을 "command (pid)" 로 변경하기. 만드느라 힘들었다. ~/.bash_profile#terminal tab title settingcase "$TERM" inxterm*|rxvt*) # This tells bash: before showing the prompt, run this PROMPT_COMMAND='echo -ne "\033]0;bash ($$)\007"' # Edit the title if a command is running: # http://www.davidpashley.com/articles/xterm-titles-with-bash.html show_command_in_title_bar() { case "$BASH_COMMAND" in *\033]0*) # The command is trying to set the titl.. 더보기
VMware Fusion 7.0 guest os ip fix (NAT) file/Library/Preferences/VMware Fusion/vmnet8/dhcpd.confafter line####### VMNET DHCP Configuration. End of "DO NOT MODIFY SECTION" #######add lines (set mac address and ip address)host guestvmname { hardware ethernet ma:ca:dd:re:ss:00; fixed-address ip.ad.dr.ess; }run shell scriptsudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stopsudo /Applications/VMware\ Fusion.app/Contents.. 더보기
Back to My Mac 기능을 사용하여 ssh 접속하기! Back to My Mac 기능을 사용하면 기본적으로 Finder 왼쪽 탭에서 자신의 장비에 접속할 수 있다.(화면공유-vnc, 파일공유-afp 등)하지만 '원격 로그인'은 어떻게 할까? 일단 설정을 하자.접속될 Mac을 'Host'라 부르겠고, 접속하는 Mac을 'Client'라 부르겠다. Host와 Client 모두에서 iCloud에 Login하여 Back to My Mac(나의 Mac으로 돌아가기)을 활성화 시킨다. (시스템 환경설정 -> iCloud에 있다) Host에서 원격 로그인 기능을 켜 준다.(시스템 환경설정 -> 공유) 여기서 computer name을 확인해 둔다.아래 ssangkong.local부분의 .local앞이 computer name이다.터미널에서 "dns-sd -E" 명령을 .. 더보기
OS X에서 League of Legends 북미버전 한글패치 OS X의 League of Legends의 한글패치 과정을 스크립트로 만들어, Automator로 wrapping 하였습니다.League of Legends for Mac은 여기서 구할 수 있습니다. https://signup.leagueoflegends.com/en/signup/download 1. League of Legends.app을 /Applications에 옮겨 주시고2. League of Legends.app을 실행시켜 업데이트를 완료해 주세요3. League of Legends를 종료하시고4. 아래 파일을 받아 실행해 주세요 더보기
ls명령어 색깔 입히기! 자신의 home 폴더에 있는 .bash_profile에 다음 라인을 추가하자. alias ls="ls -G" 이렇게 설정하고나면, ls할때, 색이 자동으로 입혀져 나온다. 색이 마음에 안든다면?? .bash_profile에 다음 라인을 추가하자. export CLICOLOR=1 export LSCOLORS=exfxcxdxbxegedabagacad LSCOLORS의 글자는 각각 a black b red c green d brown e blue f magenta g cyan h light grey A bold black, usually shows up as dark grey B bold red C bold green D bold brown, usually shows up yellow E bold blue F.. 더보기