본문 바로가기

Mac

(10)
[MacOS] Unable to install cocoa pods on macOS 문제 발생 stackoverflow.com/questions/20939568/error-error-installing-cocoapods-error-failed-to-build-gem-native-extension/62706706#62706706 ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension I am trying to install cocoapods to my MacBook Pro running with OSX 10.9.1 (new Mavericks) and after type gem install cocoapods I get the following error: Building native extensions...
[Parallels] 완전 삭제 방법 sudo rm -rfd /System/Library/Extensions/prl* sudo rm -rfd ~/Library/Preferences/com.parallels* sudo rm -rfd ~/Library/Preferences/parallels sudo rm -rfd ~/Library/Parallels sudo rm -rfd ~/Library/Saved\ Application\ State/com.parallels.desktop.console.savedState* sudo rm -rfd /Library/logs/parallels.log sudo rm -rfd /Library/Preferences/Parallels/ sudo rm -rfd /Private/var/db/parallels sudo rm -..
[Mac] 터미널에서 'locate' 명령어 오류 날 때 오류 해결 1. 'Terminal.app' 또는 'iTerm.app' 실행 2. 다음 명령어 실행 cd / sudo /usr/libexec/locate.updatedb (1~2분 기다려야 'sudo /usr/libexec/locate.updatedb' 명령어가 완료 된다.) https://apple.stackexchange.com/questions/301368/locate-tool-won-t-work-how-do-i-fix Locate tool won’t work, how do I fix I was trying to update the locate database, but when input sudo /usr/libexec/locate.updatedb, I got a bunch of errors. Whe..
[Mac] 리눅스 which, where, locate 명령어 설명 which which는 특정명령어의 위치를 찾아주는 명령어이다. which find > /bin/find 검색 가능한 모든 경로에서 해당 명령어를 찾음 which -a find > /bin/find /usr/bin/find where whereis는 명령어의 실행파일위치, 소스위치, man 페이지파일의 위치를 찾아주는 명령어이다. whereis find > find: /bin/find /usr/bin/find /usr/share/man/man1/find.1.gz locate locate는 다양한 패턴의 파일들을 찾고자 할 때 매우 유용하게 사용되는 명령어이다. 현재 시스템에 존재하는 *.bak 에 해당하는 파일 찾기 locate *.bak 특정패턴에 해당하는 파일들 가운데 지정한 개수만큼 검색 locat..
[Mac] MacOS 개발 환경 구축 방법 블로그 가장 정리 잘 돼 있고 효율적인 기능들 소개한 블로그 인듯.. https://subicura.com/2017/11/22/mac-os-development-environment-setup.html 본격 macOS에 개발 환경 구축하기 macOS에서 터미널을 자주 사용하는 개발자를 대상으로 심플하고 깔끔한 테마 위주의 개발 환경을 설정하는 방법을 소개합니다. 이 글을 보고 하나하나 설정하면 어디 가서 발표할 때 고오오급 개 subicura.com
[Mac] vim, zsh, iterm2 작업 환경 세팅 https://blog.pigno.se/post/184576332493/%EC%99%84%EB%B2%BD%ED%95%9C-mac-%EC%9E%91%EC%97%85%ED%99%98%EA%B2%BD-%EC%84%B8%ED%8C%85%ED%95%98%EA%B8%B0-vim-zsh-iterm 완벽한 Mac 작업환경 세팅하기 (vim, zsh, iterm) 그동안 개인 컴퓨터로도 수많은 프로그래밍 언어와 작업 환경을 만들었고, 회사에서도 수많은 인턴분들과 뉴커머들이 오고가면서 그들의 작업환경을 세팅해주고 가이드라인 해줬다, 필자는 최대한 많은 트릭과 신텍틱 슈거, 그리고 불필요한 노동시간을 줄이기위해 깊이있게 파고들고 또 파고드는 것을 좋아한다. 이번 시간에서는 맥 환경에서 작업하는 주 작업자들을... blog...
[Mac] echo $PATH history 없애는 법 문제> echo $PATH 하면 너무 많은 정보가 나와 초기화 하고 싶었음 해결> (참고) 링크에 있는 답변으로 해결함. 1. defaults write com.apple.finder AppleShowAllFiles YES 2. PATH=/usr/bin:/bin:/usr/sbin:/sbin export PATH PATH=/usr/local/bin:/usr/local/sbin:"$PATH" PATH=/opt/local/bin:/opt/local/sbin:"$PATH" 3. defaults write com.apple.finder AppleShowAllFiles NO 4. source .bash_profile 참고> https://apple.stackexchange.com/questions/216125/ho..
[VPN] Green tunnel https://extrememanual.net/31289 맥(macOS) HTTPS 우회 프로그램 Green Tunnel - 익스트림 매뉴얼 맥북이나 맥 미니등 macOS 운영체제를 사용하는 매킨토시 계열 PC에서 HTTPS 우회를 하는 가장 간단한 방법은 네트워크 어댑터의 MTU 값을 수정하는 것인데요. MTU 값을 줄이면 SNI 필드가 쪼개져 검열 대상 사이트를 확인할 수 없기 때문에 쉽게 우회가 가능하며 extrememanual.net Mac에서 VPN이 필요한 경우 사용하기 위해서 찾은 블로그 글. 블로그 포스팅이 상당히 잘 돼 있어 참고하고 나도 이런 블로그 스타일을 만들어 가고 싶다.