cheatsheets/_output/osx.html

40 lines
958 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title></title>
<link href="style.css" rel="stylesheet" />
</head>
<body>
<h1>Osx</h1>
<h2>Locations of startup items</h2>
<pre><code>/System/Library/LaunchAgents/
/System/Library/LaunchDaemons/
/Library/LaunchAgents/
/Library/LaunchDaemons/
</code></pre>
<h2>Hide desktop icons</h2>
<pre><code>defaults write com.apple.finder CreateDesktop -bool false
killall Finder
</code></pre>
<h2>Auto-hide other windows on dock switch</h2>
<pre><code>defaults write com.apple.dock single-app -bool TRUE
killall Dock
defaults delete com.apple.dock single-app
killall Dock
</code></pre>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/1.6.4/jquery.min.js'></script>
<script src="http://cachedcommons.org/cache/prettify/1.0.0/javascripts/prettify-min.js"></script>
<script>$("pre").addClass("prettyprint");</script>
<script>prettyPrint();</script>
</body>
</html>