<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
<title>Liuzhoou</title>
<subtitle>Web/Graphic Designer, Web Developer and Mac Fan geek.</subtitle>
<link rel="alternate" type="text/html" href="http://blog.cgshow.com/" />

<id>http://blog.cgshow.com/</id>
<updated>2010-05-28T18:10:09Z</updated>
<rights>Copyright © 2009, Liu Zhou</rights>

<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/cgshow/McNP" /><feedburner:info uri="cgshow/mcnp" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
	
	<title>美丽的Mathematica方程式</title>
	
	
	<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/cgshow/McNP/~3/1zUzkRBFla4/Mathematica-love.html" />
	
	<id>tag:blog.cgshow.com,2010-05-28:/Mathematica-love.html</id>
	<published>2010-05-28T17:41:58Z</published>
	<updated>2012-02-23T08:13:10Z</updated>
	<author>
		<name>Liu Zhou</name>
		<uri>http://blog.cgshow.com/</uri>
	</author>
	<content type="html" xml:base="http://blog.cgshow.com/" xml:lang="en">
	
		&lt;p&gt;下图是&lt;a href="http://zh.wikipedia.org/w/index.php?title=mathematica&amp;amp;variant=zh-cn"&gt;Mathematica&lt;/a&gt;根据输入的方程式绘制出来的图形，如果家里有小孩让他们去玩这个软件或许可能激发他们学习数学的兴趣？&lt;/p&gt;
&lt;p&gt;&lt;img alt="Mathematica" src="http://farm5.static.flickr.com/4045/4647512967_e2c4c3ded0_o.png" /&gt;{#liuzhoou}&lt;/p&gt;
&lt;p&gt;输入如下代码后按Shift+return：&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ContourPlot3D[(x^2 + 9/4 y^2 + z^2 - 1)^3 - x^2 z^3 - 9/80 y^2 z^3 == 0, {x, -1.5, 1.5}, {y, -2, 2}, {z, -1.5, 1.5}, PlotPoints -&amp;gt; {3, 3, 3}, Axes -&amp;gt; True, ContourStyle -&amp;gt; {RGBColor[1, 0.4, 0.7]}]&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;推荐：&lt;a href="http://www.matrix67.com/blog/archives/tag/mathematica"&gt;matrix67的博客&lt;/a&gt;&lt;/p&gt;
	
	
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yfSyLG6Bu3spRm96Ex_XmjYiTn0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yfSyLG6Bu3spRm96Ex_XmjYiTn0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yfSyLG6Bu3spRm96Ex_XmjYiTn0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yfSyLG6Bu3spRm96Ex_XmjYiTn0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/cgshow/McNP/~4/1zUzkRBFla4" height="1" width="1"/&gt;</content>
<feedburner:origLink>http://blog.cgshow.com/Mathematica-love.html</feedburner:origLink></entry>

<entry>
	
	<title>为TextMate添加Mercurial.tmbundle</title>
	
	
	<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/cgshow/McNP/~3/xaBBP3YtheY/Mercurial.tmbundle.html" />
	
	<id>tag:blog.cgshow.com,2010-01-11:/Mercurial.tmbundle.html</id>
	<published>2010-01-11T04:12:56Z</published>
	<updated>2012-02-23T15:37:56Z</updated>
	<author>
		<name>Liu Zhou</name>
		<uri>http://blog.cgshow.com/</uri>
	</author>
	<content type="html" xml:base="http://blog.cgshow.com/" xml:lang="en">
	
		&lt;p&gt;livid的Project Picky是用的Mercurial做的版本控制，花点时间学习了下。
基本上和一直使用的git很像，同样的我为TextMate添加Mercurial.tmbundle&lt;/p&gt;
&lt;p&gt;&lt;code&gt;mkdir -p ~/Library/Application\ Support/TextMate/Bundles/&lt;/code&gt;
&lt;code&gt;cd !$&lt;/code&gt;
&lt;code&gt;git svn clone http://svn.textmate.org/trunk/Bundles/Mercurial.tmbundle/&lt;/code&gt;
&lt;code&gt;osascript -e 'tell app "TextMate" to reload bundles'&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;打开TextMate 后使用 control+shift+m 组合键 调出 Mercurial 的快捷菜单&lt;/p&gt;
&lt;p&gt;注意：如果你安装过ROR的bundles，在编辑yaml文件使用上述快捷键会与“Quick Migration”冲突，解决方法是在Bundle Editor中去除“Quick Migration”里Scope Selector的“source.yaml”字段&lt;/p&gt;
&lt;p&gt;ext:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://mercurial.selenic.com/wiki/ChineseTutorial"&gt;Mercurial中文教程&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bitbucket.org/krbullock/hg_ps1/wiki/Home"&gt;Shell prompt helper for Mercurial &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://svn.textmate.org/trunk/Bundles/"&gt;TextMate Bundles&lt;/a&gt;&lt;/p&gt;
	
	
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aTYr_rG8gMJIo1R-IAR-wTezyGg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aTYr_rG8gMJIo1R-IAR-wTezyGg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aTYr_rG8gMJIo1R-IAR-wTezyGg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aTYr_rG8gMJIo1R-IAR-wTezyGg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/cgshow/McNP/~4/xaBBP3YtheY" height="1" width="1"/&gt;</content>
<feedburner:origLink>http://blog.cgshow.com/Mercurial.tmbundle.html</feedburner:origLink></entry>

<entry>
	
	<title>阻止网络驱动器上出现.DS_Store文件</title>
	
	
	<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/cgshow/McNP/~3/w3m9zpuwhl4/" />
	
	<id>tag:blog.cgshow.com,2010-01-06:/Dont-Write-DSStore.html</id>
	<published>2010-01-06T02:45:53Z</published>
	<updated>2012-02-23T10:58:38Z</updated>
	<author>
		<name>Liu Zhou</name>
		<uri>http://blog.cgshow.com/</uri>
	</author>
	<content type="html" xml:base="http://blog.cgshow.com/" xml:lang="en">
	
		&lt;p&gt;.DS_Store文件存储了Mac OS X系统中文件夹的特定元数据信息，如自定义图标，图标的位置，图标大小，窗口位置，列表视图，自定义背景图片或颜色等。&lt;/p&gt;
&lt;p&gt;Mac OS X的Finder会使用它们，所以删除DS_Store文件，没有重大损害（除丢失的文件夹元数据），&lt;/p&gt;
&lt;p&gt;但在特定的Windows+Mac共享的网络环境，删除这些文件是必要的&lt;/p&gt;
&lt;p&gt;通过执行在终端以下命令可以阻止网络驱动器上出现.DS_Store文件&lt;/p&gt;
&lt;p&gt;&lt;a href="http://gemma.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/defaults.1.html"&gt;defaults&lt;/a&gt; 
&lt;code&gt;write com.apple.desktopservices DSDontWriteNetworkStores true&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;注销登录或执行终端命令后生效&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ killall Finder&lt;/code&gt;&lt;/p&gt;
	
	
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6SQiizCnBMgjf6zPkgpP8CInyrw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6SQiizCnBMgjf6zPkgpP8CInyrw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6SQiizCnBMgjf6zPkgpP8CInyrw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6SQiizCnBMgjf6zPkgpP8CInyrw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/cgshow/McNP/~4/w3m9zpuwhl4" height="1" width="1"/&gt;</content>
<feedburner:origLink>http://osxdaily.com/2009/12/31/what-is-a-ds_store-file/</feedburner:origLink></entry>

<entry>
	
	<title>iTouch/iPhone的Home键失灵了</title>
	
	
	<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/cgshow/McNP/~3/Q7PiYDySzBY/iTouch-Home.html" />
	
	<id>tag:blog.cgshow.com,2010-01-05:/iTouch-Home.html</id>
	<published>2010-01-05T16:14:46Z</published>
	<updated>2012-02-23T09:39:59Z</updated>
	<author>
		<name>Liu Zhou</name>
		<uri>http://blog.cgshow.com/</uri>
	</author>
	<content type="html" xml:base="http://blog.cgshow.com/" xml:lang="en">
	
		&lt;p&gt;推荐给还没有按坏Home键的朋友赶紧安装 mQuickDo 吧&lt;/p&gt;
&lt;p&gt;&lt;a href="http://rapidshare.com/files/248440723/mQuickDo1.1.rar" title="rapidshare下载"&gt;下载&lt;/a&gt;&lt;/p&gt;
	
	
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/olO9SXWR6C1UpEMoq4Lzc1N48tU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/olO9SXWR6C1UpEMoq4Lzc1N48tU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/olO9SXWR6C1UpEMoq4Lzc1N48tU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/olO9SXWR6C1UpEMoq4Lzc1N48tU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/cgshow/McNP/~4/Q7PiYDySzBY" height="1" width="1"/&gt;</content>
<feedburner:origLink>http://blog.cgshow.com/iTouch-Home.html</feedburner:origLink></entry>

<entry>
	
	<title>less比tail更好的选择</title>
	
	
	<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/cgshow/McNP/~3/at_PtBl9LgQ/less-vs-tail.html" />
	
	<id>tag:blog.cgshow.com,2010-01-05:/less-vs-tail.html</id>
	<published>2010-01-05T05:59:40Z</published>
	<updated>2012-02-24T01:11:41Z</updated>
	<author>
		<name>Liu Zhou</name>
		<uri>http://blog.cgshow.com/</uri>
	</author>
	<content type="html" xml:base="http://blog.cgshow.com/" xml:lang="en">
	
		&lt;p&gt;&lt;code&gt;$ tail -f log/production.log&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ less +F log/production.log&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;基本上可见的书籍里都使用 tail -f 来实时查看日志，不过我们有更好的选择那就是 less +F 相对于 tail -f 的好处是：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;当你按下“ctrl+c”组合键后即可进入编辑模式，如果你熟悉vi命令的话，可以尝试使用 “/” 搜索&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;“shift+f”就可以返回监听状态&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;对了，退出使用“q”.&lt;/p&gt;
	
	
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/etm3bZI0c09oqlWQUPFtzuvkPA4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/etm3bZI0c09oqlWQUPFtzuvkPA4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/etm3bZI0c09oqlWQUPFtzuvkPA4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/etm3bZI0c09oqlWQUPFtzuvkPA4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/cgshow/McNP/~4/at_PtBl9LgQ" height="1" width="1"/&gt;</content>
<feedburner:origLink>http://blog.cgshow.com/less-vs-tail.html</feedburner:origLink></entry>

<entry>
	
	<title>liuzhoou-blog.appspot.com</title>
	
	
	<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/cgshow/McNP/~3/xtdOfafElcA/liuzhoou-blog.html" />
	
	<id>tag:blog.cgshow.com,2010-01-05:/liuzhoou-blog.html</id>
	<published>2010-01-05T03:42:41Z</published>
	<updated>2012-02-23T19:31:38Z</updated>
	<author>
		<name>Liu Zhou</name>
		<uri>http://blog.cgshow.com/</uri>
	</author>
	<content type="html" xml:base="http://blog.cgshow.com/" xml:lang="en">
	
		&lt;p&gt;很久没有用Blog了，一直都是用本地的MoinMoin来作笔记，再次为Livid的新作鼓掌^^！&lt;/p&gt;
	
	
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RB5TjZaWb0bL86W_xc_TBHnTlBI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RB5TjZaWb0bL86W_xc_TBHnTlBI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RB5TjZaWb0bL86W_xc_TBHnTlBI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RB5TjZaWb0bL86W_xc_TBHnTlBI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/cgshow/McNP/~4/xtdOfafElcA" height="1" width="1"/&gt;</content>
<feedburner:origLink>http://blog.cgshow.com/liuzhoou-blog.html</feedburner:origLink></entry>

</feed>

