<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Erning.write() &#187; mac</title>
	<atom:link href="http://erning.net/tags/mac/feed" rel="self" type="application/rss+xml" />
	<link>http://erning.net</link>
	<description>Reloading</description>
	<lastBuildDate>Thu, 15 Sep 2011 10:04:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Mac Tips 3 &#8211; Startup Options</title>
		<link>http://erning.net/archives/mac-tips-3-startup-options</link>
		<comments>http://erning.net/archives/mac-tips-3-startup-options#comments</comments>
		<pubDate>Wed, 09 Mar 2011 17:20:23 +0000</pubDate>
		<dc:creator>erning</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://erning.net/?p=439</guid>
		<description><![CDATA[Startup keyboard shortcuts Option Display all bootable volumes C Start from a bootable disc (DVD, CD) T Start in FireWire target disk mode N Start from NetBoot server X Force Mac OS X startup (if non-Mac OS X startup volumes are present) X Force Mac OS X startup (if non-Mac OS X startup volumes are [...]]]></description>
			<content:encoded><![CDATA[<h3>Startup keyboard shortcuts</h3>
<table>
<tr>
<td><strong>
<pre>Option</pre>
<p></strong></td>
<td>Display all bootable volumes</td>
</tr>
<tr>
<td><strong>
<pre>C</pre>
<p></strong></td>
<td>Start from a bootable disc (DVD, CD)</td>
</tr>
<tr>
<td><strong>
<pre>T</pre>
<p></strong></td>
<td>Start in FireWire target disk mode</td>
</tr>
<tr>
<td><strong>
<pre>N</pre>
<p></strong></td>
<td>Start from NetBoot server</td>
</tr>
<tr>
<td><strong>
<pre>X</pre>
<p></strong></td>
<td>Force Mac OS X startup (if non-Mac OS X startup volumes are present)</td>
</tr>
<tr>
<td><strong>
<pre>X</pre>
<p></strong></td>
<td>Force Mac OS X startup (if non-Mac OS X startup volumes are present)</td>
</tr>
<tr>
<td><strong>
<pre>Shift</pre>
<p></strong></td>
<td>Boot in Safe Mode. Effectively the same as passing &#8220;-x&#8221; in Kernel Flags, and causes most caches to be ignored by the booter.</td>
</tr>
<tr>
<td><strong>
<pre>Command-S</pre>
<p></strong></td>
<td>Boot in Single User Mode. Effectively the same as passing &#8220;-s&#8221; in Kernel Flags, and causes the system to boot to an interactive shell with no system services started.</td>
</tr>
<tr>
<td><strong>
<pre>Command-V</pre>
<p></strong></td>
<td>Boot in Verbose Mode. Effectively the same as passing &#8220;-v&#8221; in Kernel Flags, and causes the system to boot to verbose text logging before starting the graphical user interface.</td>
</tr>
<tr>
<td><strong>
<pre>3 2</pre>
<p></strong></td>
<td>Boot with the 32-bit kernel. Effectively the same as passing &#8220;arch=i386&#8243; in Kernel Flags, and causes the system to prefer the 32-bit kernel on systems that would otherwise boot the 64-bit kernel.</td>
</tr>
<tr>
<td><strong>
<pre>6 4</pre>
<p></strong></td>
<td>Boot with the 64-bit kernel (if supported on this system). Effectively the same as passing &#8220;arch=x86_64&#8243; in Kernel Flags, and causes the system to prefer the 64-bit kernel on systems that would otherwise boot the 32-bit kernel. If the 64-bit kernel is not supported, the option is ignored.</td>
</tr>
</table>
<p><strong>Hold down the mouse&#8217;s primary key during startup.</strong> On a two- or three-button mouse, the primary key is usually the left button. This shortcut will eject a CD or DVD from the optical drive. </p>
<p><strong>Hold Command + Option + &#8216;p&#8217; + &#8216;r&#8217; during startup.</strong> This zaps the PRAM (Parameter RAM), an option that long-time Mac users will remember. Press and hold the key combination until you hear the second set of chimes. Zapping the PRAM returns it to its default configuration for display and video settings, time and date settings, speaker volume, and DVD region settings. </p>
<li><a href="http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man5/com.apple.Boot.plist.5.html">/Library/Preferences/SystemConfiguration/com.apple.Boot.plist</a></li>
<li><a href="http://support.apple.com/kb/ht1343">Mac OS X keyboard shortcuts</a></li>
<li><a href="http://macs.about.com/od/macoperatingsystems/qt/osxstartupkeys.htm">Mac OS X Startup Keyboard Shortcuts</a></li>
]]></content:encoded>
			<wfw:commentRss>http://erning.net/archives/mac-tips-3-startup-options/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac Tips 2</title>
		<link>http://erning.net/archives/mac-tips-2</link>
		<comments>http://erning.net/archives/mac-tips-2#comments</comments>
		<pubDate>Fri, 04 Mar 2011 21:07:41 +0000</pubDate>
		<dc:creator>erning</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://erning.net/?p=417</guid>
		<description><![CDATA[Disable Spotlight in Mac OS X 10.6 Disabling Spotlight in Snow Leopard is pretty easy, launch the Terminal and type the following command: sudo mdutil -a -i off This tells the Spotlight manager to disable all indexing on all volumes, the command will require your administrative password to execute. Re-enabling Spotlight in Mac OS X [...]]]></description>
			<content:encoded><![CDATA[<h3>Disable Spotlight in Mac OS X 10.6</h3>
<p>Disabling Spotlight in Snow Leopard is pretty easy, launch the Terminal and type the following command:</p>
<pre>sudo mdutil -a -i off</pre>
<p>This tells the Spotlight manager to disable all indexing on all volumes, the command will require your administrative password to execute.</p>
<p>Re-enabling Spotlight in Mac OS X 10.6 Snow Leopard is just as easy, just reverse the command to:</p>
<pre>sudo mdutil -a -i on</pre>
<p>Now Spotlight indexing will be back on and work as usual.</p>
<p>&#8211; <a href="http://osxdaily.com/2009/09/20/disable-spotlight-in-mac-os-x-10-6-snow-leopard/">osxdaily</a></p>
<pre>
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
</pre>
]]></content:encoded>
			<wfw:commentRss>http://erning.net/archives/mac-tips-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac Tips 1</title>
		<link>http://erning.net/archives/mac-tips-1</link>
		<comments>http://erning.net/archives/mac-tips-1#comments</comments>
		<pubDate>Wed, 24 Nov 2010 17:52:31 +0000</pubDate>
		<dc:creator>erning</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://erning.net/?p=376</guid>
		<description><![CDATA[Prevent .DS_Store file creation on network stores defaults write com.apple.desktopservices DSDontWriteNetworkStores true Enable Remote Disc for MacBook Pro defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool true defaults write com.apple.NetworkBrowser ODSSupported -bool true Flush DNS Cache dscacheutil -flushcache Set hostname and prevent the DHCP server to change your host name scutil --set HostName Hide the file/folder from GUI [...]]]></description>
			<content:encoded><![CDATA[<h3>Prevent .DS_Store file creation on network stores</h3>
<pre>
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
</pre>
<p/>
<h3>Enable Remote Disc for MacBook Pro</h3>
<pre>
defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool true
defaults write com.apple.NetworkBrowser ODSSupported -bool true
</pre>
<p/>
<h3>Flush DNS Cache</h3>
<pre>
dscacheutil -flushcache
</pre>
<p/>
<h3>Set hostname and prevent the DHCP server to change your host name</h3>
<pre>
scutil --set HostName
</pre>
<p/>
<h3>Hide the file/folder from GUI Finder</h3>
<pre>
chflags hidden <file>
chflags nohidden <file>
</pre>
<p/>
<h3>Remove file attributes for Finder</h3>
<pre>
xattr -l <file>
xattr -d com.apple.FinderInfo <file>
</pre>
<p/>
<h3>Clean Up Finder&#8217;s &#8220;Open With&#8221; Menu</h3>
<p> # Go to your Home/Library/Preferences folder<br />
 # Find &#8220;com.apple.LaunchServices&#8221; file and trash it (you can back it up if you want)<br />
 # Test it out!<br />
<a href="http://lifehacker.com/308898/clean-up-finders-open-with-menu">lifehacker</a></p>
]]></content:encoded>
			<wfw:commentRss>http://erning.net/archives/mac-tips-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>工程师普遍采用的时区是当地时区-8</title>
		<link>http://erning.net/archives/the-timezone-for-engineers-is-usually-8-hours-behind</link>
		<comments>http://erning.net/archives/the-timezone-for-engineers-is-usually-8-hours-behind#comments</comments>
		<pubDate>Sat, 27 Feb 2010 09:36:34 +0000</pubDate>
		<dc:creator>erning</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://erning.net/?p=223</guid>
		<description><![CDATA[我很喜欢《苹果往事》这本书，它以工程师的视角写记录了很多趣闻轶事。加上是APPLE ][将我带入计算机这个领域的，所以我对这家公司有着相当的感情。 书中有多很有趣的事，放到近三十年后的今天也还一样。例如，工程师周末、晚上常加班，还是主动的；不少有价值的东西是工程师利用业余时间制作的；用代码行数统计工程师的工作量时工程师会填上负数；开发经理和工程师互动常有困难；工程师有惰性时，好的老板能够逼工程师完成工程师自己认为不可能的任务；现实扭曲力场(Reality Distortion Field)对创造力的作用&#8230;. 还有一点我看出来了，工程师普遍采用的时区是当地时区-8 书中的故事都可以着folklore.org网站上读到。]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.douban.com/subject/4214837/" title="苹果往事@douban"><img src="http://img2.douban.com/lpic/s4114974.jpg" alt="苹果往事" /></a><br />
我很喜欢<a href="http://www.douban.com/subject/4214837/" title="苹果往事@douban">《苹果往事》</a>这本书，它以工程师的视角写记录了很多趣闻轶事。加上是<a href="http://en.wikipedia.org/wiki/Apple_II_series">APPLE ][</a>将我带入计算机这个领域的，所以我对这家公司有着相当的感情。</p>
<p>书中有多很有趣的事，放到近三十年后的今天也还一样。例如，工程师周末、晚上常加班，还是主动的；不少有价值的东西是工程师利用业余时间制作的；用代码行数统计工程师的工作量时工程师会填上负数；开发经理和工程师互动常有困难；工程师有惰性时，好的老板能够逼工程师完成工程师自己认为不可能的任务；现实扭曲力场(Reality Distortion Field)对创造力的作用&#8230;.</p>
<p>还有一点我看出来了，<strong style="font-size:1.2em">工程师普遍采用的时区是当地时区-8</strong> <img src='http://erning.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>书中的故事都可以着<a href="http://www.folklore.org/" title="Folklore.org: Macintosh Stories">folklore.org</a>网站上读到。</p>
]]></content:encoded>
			<wfw:commentRss>http://erning.net/archives/the-timezone-for-engineers-is-usually-8-hours-behind/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

