I am Charmie

メモとログ

Mac

M1 Macのターミナルをカスタマイズ

M1 Macのターミナルをカスタマイズ テーマ: Iceberg フォント: Ricty Xcodeが最新版じゃないと駄目っぽくて,Xcodeのインストールを開始...長い # Rictyのインストール brew tap sanemat/font brew install ricty # インストールしたフォントを使えるように…

GitHub Desktop on Mac

せっかくインストールしたGitHub Desktopだけど,実行すると how to fix app is damaged and can’t be opened というエラーメッセージが出るだけという状態だった. 実行権限かな?と思ったらやっぱりそのとおりで,以下のコマンドで実行権限を付与すればOK…

MacTeX

MacにインストールしていたTeXをアップデートしようと思って,TeX LiveからMacTeXに変更 (公式の指示に従った). TeX Liveのアンインストール インストールされているパッケージを全てアンインストール rm -rf /usr/local/texlive 次に,TeX Live関係のアプ…

Mac: commandをショートカットから起動

Automatorでショートカットを作成する. 詳しくはここに書いてあるとおり. ショートカットの作成 Automatorでappファイルを作成する. Automatorを起動 New Documentを作成 新しい Applicationを作成 Run AppleScriptというアクションを選択 以下のコマンド…

Mac: ソフトウェア単位でダークテーマを回避

Mac

ここに従ったらできた % osascript -e 'id of app "Slicer"' org.slicer.slicer % defaults write org.slicer.slicer NSRequiresAquaSystemAppearance -bool yes

Mendeleyのアプリ

Mendeley DesktopとMendeley Reference Managerの2種類がインストールされていたんだけど,Mendeley Reference Managerの方が新しいっぽいので,Mendeley Desktopをアンインストール. ここを参考にした. Application/Mendeley Desktop を削除 以下を削除 /…

MacのPreviewで複数のpdfファイルを1つのウィンドウで表示

Mac

ここに書いてある. System Preferences > General > Prefer tabsでalwaysを選択する.

Xcodeのアップデートが終わらない

とりあえずDeveloperのDownloadページからインストーラ圧縮ファイル(インストーラじゃなかった)をダウンロードして実行が正解っぽい. Applications/Xcodeを削除 DownloadからXcodeの圧縮ファイルをダウンロード (Xcode_13_beta3.xip) ダウンロードした圧縮…

OBS on MacでWindow captureが期待通りに動作しない

ソフトウェアの権限設定の問題だった. System preference > Security & Privacy > Privacy > Input Monitoring でOBSにチェックを入れることで,OBSに各ウィンドウをキャプチャできる権限を付与できる.

MacTeXインストール後の/usr/localのpermission error

以下のページに書いてあるとおり,MacTeXが悪い. discourse.brew.sh 面倒くさいので,以下のように雑に対応 sudo chown -R $(whoami) $(brew --prefix)/*

Rust installation on Mac OSX Catalina

As recommended by the official HP, the following command downloads Rustup, toolchain manager, and then installs Rust, compiler. curl https://sh.rustup.rs -sSf | sh Then, the terminal asks to select which installation of the followings: 1) …

gdb on Mac OSX Catalina

コード署名と資格情報の登録はここに書いてある通り.

sort app of LaunchPad on Mac OSX

Mac

defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock

vcpkg (C++ package manager): install on Mac OSX

Step 0: check gcc and g++ clang might cause compilation error. % g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/9.2.0_3/libexec/gcc/x86_64-apple-darwin19/9.2.0/lto-wrapper Target: x86_64-apple-darwin…

Mac OSX: CMake with clang or gcc

デフォルトのコンパイラでclangが選ばれちゃう. シンボリックリンクの参照先をインストールしたgcc, g++に設定したものの,CMakeで選択されるデフォルトコンパイラはclangのままだった. 解決策はコンパイラの指定 コンパイラの指定を選択 コンパイラの指定…

Mac OSX セットアップ

from App store ソフトウェア 備考 Commander One Slack Xcode command line toolsのインストールだけでもOKっぽい Tag Editor Free ForkLift Dark modeなしファイルマネージャ from installer ソフトウェア 備考 Dropbox Office 365 Skype Sublime Text 3 t…

TeXStudioのpdfプレビューで日本語表示 on Mac OSX

texwikiに書いてあった. いくつか設定をすればOK

RealSense SDK 2.0 on Mac OSX

目標は以下の通り. - RealSsnse d435をMac OSXで使えるようにする - pythonでも使えるようにする 公式のreadmeで不足している情報も書く. コンパイル時にlibusb関係のエラーが出たので~/.bash_profileに以下を追記 (ディレクトリ名はインストールされてい…

Homebrew install error

Homebrewでgraphvizをインストールしようとしたら以下のようなエラーが表示された. ==> Downloading from https://akamai.bintray.com/a1/a1283e332d0754e450a7e46a1e1b0 ######################################################################## 100.0%…

Kivy on Mac OS X

It's super simple with Anaconda.The official instruction says the following command is fine $ conda install kivy -c conda-forge The above command installs kivy and its components. The tutorial Pong game works on my computer.

Leap Motion with Unity on Mac

This note describes how to setup an environment to use leap motion with unity on Mac OS X Mojave.The official information is available here. Step 1: Enable to use Leap Motion on computerWe need to install the SDK to use Leap Motion on comp…

Unity on Mac

This is my note how to setup Unity on Mac OS X Mojave.Unity hub is a Unity package manager with which we can easily install multiple version of Unity and manage installed components.See the official documentation here! Go to download page …

Leap Motion with Unity on Mac

This is a memo on setup using leap motion with unity on my mac book pro mojave.I got hints from the following sites.https://uni.gas.mixh.jp/unity/mac-install.htmlhttp://kan-kikuchi.hatenablog.com/entry/VisualStudioforMachttps://qiita.com/h…

Install Octave on Mac OSX

[code lang='bash'] brew install octave [/code]

Mac OS X: フォントのインストール

XeLaTeXのコンパイルにIPAフォントやIPA exフォントが必要だったので,まとめ.ウェブで色々見た情報のゴッタ煮.全ユーザに有効なフォントのインストール方法なので,管理者権限が必要.IPAフォントのインストール方法が正解なのかな? フォントファイルを…

Mac OS X high sierra: install homebrew

run the following command from terminal $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"