紹介マニアMoinMoin

概要

macOS Sierra(10.12) 関連

Xcode Command Line Tools

「Command Line Tools (macOS 10.12) for Xcode8.3.dmg」

SSH パスフレーズ

Sierra では標準でパスフレーズを毎回確認してくる。

SSH が v7系にバージョンアップした影響で、Sierra特有の物ではない。Linux系でもSSH が v7系になったら同じ問題が発生する。

~/.ssh/config

に以下を追加

AddKeysToAgent yes
UseKeychain yes

キー配列

Karabiner-Elements を利用

https://github.com/tekezo/Karabiner-Elements/blob/master/README.md

HHKB Lite2 MacでEmacs使い。以下のような設定をしている

「Simple Modifications」

後は 以下で Emacs key bindings を import して control+keys は有効にしている

https://pqrs.org/osx/karabiner/complex_modifications/#emulation_modes

SandS を有効にする場合、「システム環境設定」->「キーボード」->「ショートカット」->「入力ソース」に行き「前の入力ソースを選択」のチェックを外す

curl -O https://raw.githubusercontent.com/tekezo/Karabiner-Elements/70fcaa177d4d0b409e77c6166505a34780316848/examples/spacebar_to_shift.json
mv spacebar_to_shift.json ~/.config/karabiner/assets/complex_modifications/

Karabiner-Elements の 「Complex Modifications」 に行き「Add rule」にいって

の二つを有効化

マウス

Macはマウスの移動速度がいまいちの場合があるので、以下で設定する。有料 980円だが、かなり快適になるので必須。

カーソルセンス

Python

インストール

https://www.python.org/downloads/

https://pypi.python.org/pypi/virtualenv

Pyhton でSSLのエラ

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748)>

以下のような感じに実行

/Applications/Python\ 3.6/Install\ Certificates.command

Homebrew

https://brew.sh/index_ja.html

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Github API token

search を正常に実行するには「HOMEBREW_GITHUB_API_TOKEN」の設定をした方が良い。

Github に行き「Setting」->「Personal access tokens」に行き「Generate new token」で生成する。

コマンドラインにて keychain に上記を登録

security add-generic-password -a homebrew-github-api-token -s homebrew-github-api-token -w XXXXXXXXXXXXXXX

bashrc や zshrc にて以下のように設定すると keychain 管理になる

export HOMEBREW_GITHUB_API_TOKEN=$(security find-generic-password -a homebrew-github-api-token -s homebrew-github-api-token -w)

インストール

brew install wget

brew install tmux
brew install reattach-to-user-namespace

brew install autoconf automake
brew install texinfo

brew install git

brew install gnu-sed gawk
brew install gauche
brew install go

brew install peco pt

brew install libxml2

brew cask install kindle
brew cask install iina
brew cask install meld

ソフト

音楽プレイヤー

Project IINA - The modern video player for macOS

参考サイト

紹介マニアMoinMoin: SierraUpdate (last edited 2018-04-29 17:06:40 by sakito)