wan-dabadabadaba

My scat echo...

macOS メモ

rep2

Web共有(Apache)の有効/無効化/再起動

sudo apachectl start
sudo apachectl stop
sudo apachectl restart

PHP7の有効化

/etc/apache2/httpd.conf を編集
LoadModule php7_module libexec/apache2/libphp5.so
コメントアウトを解除
/apache2/と当該ファイルのアクセス権を変更する必要あり

ディレクト

/Library/WebServer/Documents

gitコマンドの有効化

xcode-select --install

Firefox

WebPush無効化

dom.webnotifications.enabled = false

位置情報無効化

geo.enabled = false

プロファイルマネージャ

/Applications/Firefox.app/Contents/MacOS/firefox-bin -p

Finder

拡張子変更時のダイアログの無効/有効化

defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool true
※要Finder再起動

システム

クラッシュレポーターの無効/有効化

defaults write com.apple.CrashReporter DialogType none
defaults delete com.apple.CrashReporter DialogType