Skip to content

Instantly share code, notes, and snippets.

@kzsg
Last active November 5, 2015 08:00
Show Gist options
  • Save kzsg/320159 to your computer and use it in GitHub Desktop.
Save kzsg/320159 to your computer and use it in GitHub Desktop.
// Safariをシングルウィンドウモードにする
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
// MagicMouseの慣性スクロールをLeopardでも可能にする
defaults write com.apple.driver.AppleBluetoothMultitouch.mouse MouseMomentumScroll -bool true
// ユーザーがログアウトしている状態でもオートマウント機構が作動するよう設定する
// ログアウトした状態でもTimeMachineでバックアップするために必要
defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool yes
// ユーザーがログアウトすると、ディスクをアンマウントするように設定する
defaults delete /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin
// Mac OS X v10.4 and later:ネットワーク接続時に .DS_Store ファイルの作成を抑制する方法
// http://support.apple.com/kb/HT1629?viewlocale=ja_JP&locale=ja_JP
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
// MacからNASとかWindowsの共有フォルダへのアクセスが妙に遅いのを解決する - ymknの日記
// http://ymkn.hatenablog.com/entry/2012/09/24/002517
// /etc/sysctl.conf に以下を記載
net.inet.tcp.delayed_ack=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment