맥 사파리에서 한글파일명의 첨부파일을 다운로드하면 깨지더군요.


이유는 웹개발을 할때 개발자가 신경쓰지 않아 그런 부분이라고 합니다.


인터넷 익스플로러와 크롬은 사용자가 많다보니 신경써 개발을 해서 한글파일명의 첨부파일로 제대로 다운로드 됩니다.



저는 그래서 크롬을 사용하고 간혹 깨지는 경우는 아래의 프로그램을 이용해서 후 처리로 임시 조치하고 있습니다.




http://gluebyte.tumblr.com/post/132268284865




VMware Fusion vmx 파일을 VirtualBox로 이전하는 방법입니다.


먼저 VMware Fusion에 포함된 ovftool 을 이용하여 ovf 로 변경해야 합니다.


/Applications/VMware Fusion.app/Contents/Library/VMware OVF Tool/ovftool


아래 예시를 보시죠.


./ovftool /Users/admin/Documents/Virtual\ Machines.localized/Windows\ 7\ x64.vmwarevm/Windows\ 7\ x64.vmx /Users/admin/Desktop/Windows7x64.ovf

Opening VMX source: /Users/admin/Documents/Virtual Machines.localized/Windows 7 x64.vmwarevm/Windows 7 x64.vmx

Opening OVF target: /Users/admin/Desktop/Windows7x64.ovf

Writing OVF package: /Users/admin/Desktop/Windows7x64.ovf

Disk progress: 26%


부연설명을 드리자면 ..


ovftool /변경하고자 하는 vmx파일.vmx /ovf로 저장될 위치 및 파일명.ovf


위 명령어는 윈도우도 비슷합니다!^^



아이패드 10.5 셀룰러 버전을 중고로 구매하였습니다. 용도는..


일단 사놓고 용도를 정했습니다.

!! 엘지유플 완전무제한요금제로 변경 후 데이터쉐어링 유심이 공짜이니 이넘을 장착하여 업무용으로 활용

  -> 셀룰러 버전이 좋기는 하네요. 아이패드는 소비용 도구로 좋지만 생산성 도구로도 좋습니다. 저는 업무에 많은 도움이 되고 있습니다. 


중고 판매자님이 주신 스마트패드와 함께 운영하다 애플펜슬을 구입하게 되면서 함께 보관할 수 있고 키보드까지 되는 제품으로 검색하여 보니 사실 몇개 안나오고 이게 가장 품질이 좋아보였습니다. 비싸도 좋으니 더 괜찮은 제품이 없다 검색했지만 찾지 못했고요!




한국에 출시되지 않았으며 저는 아마존에서 리퍼를 직구 했습니다. 제품상태는 새것과 동일한 컨디션이었습니다.

(내용 업데이트 : 댓글로 의견주셨는데요, 애플 홈페이지나 가로수길에서 판매한다고 합니다! 정보 고맙습니다.)



장점 : 

나름 튼튼하게 아이패드를 보호해줍니다.

애플펜슬을 함께 거치하여 보관할 수 있습니다.

디자인이 엄청 이상할 줄 알았는데 봐줄만 합니다?!

각도조절이 세밀하게 됩니다.


보통 :

키보드 키감 보통~


단점 :

디자인이 그리 예쁘진 않고 두께, 무게 증가

키보드를 완전히 반대편으로 젖혀서 화면만 보려고 하면 키보드가 분리되어 불가능.(불량이 아니고 당연한것입니다..)


python3 설치


https://code.i-harness.com/ko/q/1078a17


brew install python3





pip 설치


https://pip.pypa.io/en/stable/installing/


curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py



참고로 맥 하이시에라 버전은 python 2.x 버전이 기본적으로 설치되어져 있는 상태였습니다.



윈도우에 RaiDrive처럼 맥에도 비슷한 프로그램인 expandrive가 있는데 유료(50USD)로 보입니다.


https://www.expandrive.com/




검색하여 보니 아래의 방법으로 무료 이용이 가능하였습니다.(CLI)


1. 터미널 실행


2. brew cask install osxfuse 


HAPPYuiiMac:~ happy$ brew cask install osxfuse

==> Tapping caskroom/cask

Cloning into '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask'...

remote: Counting objects: 4063, done.

remote: Compressing objects: 100% (4043/4043), done.

remote: Total 4063 (delta 29), reused 654 (delta 16), pack-reused 0

Receiving objects: 100% (4063/4063), 1.40 MiB | 447.00 KiB/s, done.

Resolving deltas: 100% (29/29), done.

Tapped 0 formulae (4,071 files, 4.4MB)

==> Creating Caskroom at /usr/local/Caskroom

==> We'll set permissions properly so we won't need sudo in the future

Password:

==> Caveats

To install and/or use osxfuse you may need to enable their kernel extension in


  System Preferences → Security & Privacy → General


For more information refer to vendor documentation or the Apple Technical Note:


  https://developer.apple.com/library/content/technotes/tn2459/_index.html


You must reboot for the installation of osxfuse to take effect.


==> Satisfying dependencies

==> Downloading https://github.com/osxfuse/osxfuse/releases/download/osxfuse-3.7

######################################################################## 100.0%

==> Verifying checksum for Cask osxfuse

==> Installing Cask osxfuse

==> Running installer for osxfuse; your password may be necessary.

==> Package installers may write to any location; options such as --appdir are i

==> installer: Package name is FUSE for macOS

==> installer: choices changes file '/var/folders/yq/vsh4yl1520sb78f16r3615k0000

==> installer: Installing at base path /

==> installer: The install was successful.

==> Changing ownership of paths required by osxfuse; your password may be necess

🍺  osxfuse was successfully installed! 


3. brew install sshfs


HAPPYuiiMac:~ happy$ brew install sshfs

==> Installing dependencies for sshfs: gettext, libffi, pcre, glib

==> Installing sshfs dependency: gettext

==> Downloading https://homebrew.bintray.com/bottles/gettext-0.19.8.1.high_sierra.bottle.tar.gz

######################################################################## 100.0%

==> Pouring gettext-0.19.8.1.high_sierra.bottle.tar.gz

==> Caveats

This formula is keg-only, which means it was not symlinked into /usr/local,

because macOS provides the BSD gettext library & some software gets confused if both are in the library path.


If you need to have this software first in your PATH run:

  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile


For compilers to find this software you may need to set:

    LDFLAGS:  -L/usr/local/opt/gettext/lib

    CPPFLAGS: -I/usr/local/opt/gettext/include


==> Summary

🍺  /usr/local/Cellar/gettext/0.19.8.1: 1,935 files, 16.9MB

==> Installing sshfs dependency: libffi

==> Downloading https://homebrew.bintray.com/bottles/libffi-3.2.1.high_sierra.bottle.tar.gz

######################################################################## 100.0%

==> Pouring libffi-3.2.1.high_sierra.bottle.tar.gz

==> Caveats

This formula is keg-only, which means it was not symlinked into /usr/local,

because some formulae require a newer version of libffi.


For compilers to find this software you may need to set:

    LDFLAGS:  -L/usr/local/opt/libffi/lib


==> Summary

🍺  /usr/local/Cellar/libffi/3.2.1: 16 files, 297.0KB

==> Installing sshfs dependency: pcre

==> Downloading https://homebrew.bintray.com/bottles/pcre-8.42.high_sierra.bottle.tar.gz

######################################################################## 100.0%

==> Pouring pcre-8.42.high_sierra.bottle.tar.gz

🍺  /usr/local/Cellar/pcre/8.42: 204 files, 5.3MB

==> Installing sshfs dependency: glib

==> Downloading https://homebrew.bintray.com/bottles/glib-2.56.1.high_sierra.bottle.tar.gz

######################################################################## 100.0%

==> Pouring glib-2.56.1.high_sierra.bottle.tar.gz

🍺  /usr/local/Cellar/glib/2.56.1: 430 files, 23.7MB

==> Installing sshfs

==> Downloading https://homebrew.bintray.com/bottles/sshfs-2.10.high_sierra.bottle.tar.gz

######################################################################## 100.0%

==> Pouring sshfs-2.10.high_sierra.bottle.tar.gz

🍺  /usr/local/Cellar/sshfs/2.10: 6 files, 94.4KB 



4. sshfs -h  (사용 법)


general options:

    -o opt,[opt...]        mount options

    -h   --help            print help

    -V   --version         print version


SSHFS options:

    -p PORT                equivalent to '-o port=PORT'

    -C                     equivalent to '-o compression=yes'

    -F ssh_configfile      specifies alternative ssh configuration file

    -1                     equivalent to '-o ssh_protocol=1'

    -o reconnect           reconnect to server

    -o delay_connect       delay connection to server

    -o sshfs_sync          synchronous writes

    -o no_readahead        synchronous reads (no speculative readahead)

    -o sync_readdir        synchronous readdir

    -o sshfs_debug         print some debugging information

    -o cache=BOOL          enable caching {yes,no} (default: yes)

    -o cache_max_size=N    sets the maximum size of the cache (default: 10000)

    -o cache_timeout=N     sets timeout for caches in seconds (default: 20)

    -o cache_X_timeout=N   sets timeout for {stat,dir,link} cache

    -o cache_clean_interval=N

                           sets the interval for automatic cleaning of the

                           cache (default: 60)

    -o cache_min_clean_interval=N

                           sets the interval for forced cleaning of the

                           cache if full (default: 5)

    -o workaround=LIST     colon separated list of workarounds

             none             no workarounds enabled

             [no]rename       fix renaming to existing file (default: off)

             [no]truncate     fix truncate for old servers (default: off)

             [no]buflimit     fix buffer fillup bug in server (default: on)

             [no]fstat        fix fstat for old servers (default: off)

    -o idmap=TYPE          user/group ID mapping (default: user)

             none             no translation of the ID space

             user             only translate UID/GID of connecting user

             file             translate UIDs/GIDs contained in uidfile/gidfile

    -o uidfile=FILE        file containing username:remote_uid mappings

    -o gidfile=FILE        file containing groupname:remote_gid mappings

    -o nomap=TYPE          with idmap=file, how to handle missing mappings

             ignore           don't do any re-mapping

             error            return an error (default)

    -o ssh_command=CMD     execute CMD instead of 'ssh'

    -o ssh_protocol=N      ssh protocol to use (default: 2)

    -o sftp_server=SERV    path to sftp server or subsystem (default: sftp)

    -o directport=PORT     directly connect to PORT bypassing ssh

    -o slave               communicate over stdin and stdout bypassing network

    -o disable_hardlink    link(2) will return with errno set to ENOSYS

    -o transform_symlinks  transform absolute symlinks to relative

    -o follow_symlinks     follow symlinks on the server

    -o no_check_root       don't check for existence of 'dir' on server

    -o password_stdin      read password from stdin (only for pam_mount!)

    -o SSHOPT=VAL          ssh options (see man ssh_config)


FUSE options:

    -d   -o debug          enable debug output (implies -f)

    -f                     foreground operation

    -s                     disable multi-threaded operation


fuse: no mount point 



5. 제가 사용한 명령 줄 

 5-1. /Users/happy/에 remote란 폴더를 생성

 5-2. 터미널에서 아래 명령어 실행


sshfs happy@file.sample.com:/ /Users/happy/remote/ -p 22 -ovolname=Vol1



 5-3. yes 입력 후 엔터


The authenticity of host '[file.sample.com]:22 ([123.123.123.4]:22)' can't be established.

ECDSA key fingerprint is SHA256:ARCigDmq7QZzhFUk+2sk4fpRuL0c43XHwPjbzsqRjCk.

Are you sure you want to continue connecting (yes/no)? yes  


 5-4. sFTP 암호 입력


happy@happy.sample.com's password: 


6. 파인더를 열어보면 원격지에 파일이 sFTP로 마운트되어 로컬폴더처럼 보이면 성공입니다.






ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null



brew install tcping




http://macappstore.org/tcping/



hdiutil makehybrid -iso -joliet -o image.iso /path/to/source 


dd if=/dev/dvd of=/destination/path/dvd.iso 


출처 : http://osxdaily.com/2012/03/16/create-iso-images-from-the-command-line/

"The startup disk cannot be partitioned or restored to a single partition" error in Boot Camp Assistant



boot camp partition을 삭제하려고 했는데 위 에러가 뜨더군요.


아래 링크를 참조해서 작업해 보세요. 


https://discussions.apple.com/thread/8210300


명령어


diskutil eraseVolume jhfs+ BC1 disk0s3

diskutil eraseVolume jhfs+ BC2 disk0s4

diskutil mergePartitions jhfs+ BCMP disk0s3 disk0s4

+ Recent posts