<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<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/" />
<link rel="self" type="application/atom+xml" href="http://blog.cgshow.com/index.xml" />
<id>http://blog.cgshow.com/</id>
<updated>2010-05-28T18:10:09Z</updated>
<rights>Copyright © 2009, Liu Zhou</rights>

<entry>
	
	<title>美丽的Mathematica方程式</title>
	
	
	<link rel="alternate" type="text/html" href="http://blog.cgshow.com/Mathematica-love.html" />
	
	<id>tag:blog.cgshow.com,2010-05-28:/Mathematica-love.html</id>
	<published>2010-05-28T17:41:58Z</published>
	<updated>2013-05-18T15:27: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"><![CDATA[
	
		<p>下图是<a href="http://zh.wikipedia.org/w/index.php?title=mathematica&amp;variant=zh-cn">Mathematica</a>根据输入的方程式绘制出来的图形，如果家里有小孩让他们去玩这个软件或许可能激发他们学习数学的兴趣？</p>
<p><img alt="Mathematica" src="http://farm5.static.flickr.com/4045/4647512967_e2c4c3ded0_o.png" />{#liuzhoou}</p>
<p>输入如下代码后按Shift+return：</p>
<p><code>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 -&gt; {3, 3, 3}, Axes -&gt; True, ContourStyle -&gt; {RGBColor[1, 0.4, 0.7]}]</code></p>
<p>推荐：<a href="http://www.matrix67.com/blog/archives/tag/mathematica">matrix67的博客</a></p>
	
	]]></content>
</entry>

<entry>
	
	<title>为TextMate添加Mercurial.tmbundle</title>
	
	
	<link rel="alternate" type="text/html" href="http://blog.cgshow.com/Mercurial.tmbundle.html" />
	
	<id>tag:blog.cgshow.com,2010-01-11:/Mercurial.tmbundle.html</id>
	<published>2010-01-11T04:12:56Z</published>
	<updated>2013-05-17T10:09:07Z</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"><![CDATA[
	
		<p>livid的Project Picky是用的Mercurial做的版本控制，花点时间学习了下。
基本上和一直使用的git很像，同样的我为TextMate添加Mercurial.tmbundle</p>
<p><code>mkdir -p ~/Library/Application\ Support/TextMate/Bundles/</code>
<code>cd !$</code>
<code>git svn clone http://svn.textmate.org/trunk/Bundles/Mercurial.tmbundle/</code>
<code>osascript -e 'tell app "TextMate" to reload bundles'</code></p>
<p>打开TextMate 后使用 control+shift+m 组合键 调出 Mercurial 的快捷菜单</p>
<p>注意：如果你安装过ROR的bundles，在编辑yaml文件使用上述快捷键会与“Quick Migration”冲突，解决方法是在Bundle Editor中去除“Quick Migration”里Scope Selector的“source.yaml”字段</p>
<p>ext:</p>
<p><a href="http://mercurial.selenic.com/wiki/ChineseTutorial">Mercurial中文教程</a></p>
<p><a href="http://bitbucket.org/krbullock/hg_ps1/wiki/Home">Shell prompt helper for Mercurial </a></p>
<p><a href="http://svn.textmate.org/trunk/Bundles/">TextMate Bundles</a></p>
	
	]]></content>
</entry>

<entry>
	
	<title>阻止网络驱动器上出现.DS_Store文件</title>
	
	
	<link rel="alternate" type="text/html" href="http://osxdaily.com/2009/12/31/what-is-a-ds_store-file/" />
	
	<id>tag:blog.cgshow.com,2010-01-06:/Dont-Write-DSStore.html</id>
	<published>2010-01-06T02:45:53Z</published>
	<updated>2013-05-18T17:14:15Z</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"><![CDATA[
	
		<p>.DS_Store文件存储了Mac OS X系统中文件夹的特定元数据信息，如自定义图标，图标的位置，图标大小，窗口位置，列表视图，自定义背景图片或颜色等。</p>
<p>Mac OS X的Finder会使用它们，所以删除DS_Store文件，没有重大损害（除丢失的文件夹元数据），</p>
<p>但在特定的Windows+Mac共享的网络环境，删除这些文件是必要的</p>
<p>通过执行在终端以下命令可以阻止网络驱动器上出现.DS_Store文件</p>
<p><a href="http://gemma.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/defaults.1.html">defaults</a> 
<code>write com.apple.desktopservices DSDontWriteNetworkStores true</code></p>
<p>注销登录或执行终端命令后生效</p>
<p><code>$ killall Finder</code></p>
	
	]]></content>
</entry>

<entry>
	
	<title>iTouch/iPhone的Home键失灵了</title>
	
	
	<link rel="alternate" type="text/html" href="http://blog.cgshow.com/iTouch-Home.html" />
	
	<id>tag:blog.cgshow.com,2010-01-05:/iTouch-Home.html</id>
	<published>2010-01-05T16:14:46Z</published>
	<updated>2013-05-17T10:09:08Z</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"><![CDATA[
	
		<p>推荐给还没有按坏Home键的朋友赶紧安装 mQuickDo 吧</p>
<p><a href="http://rapidshare.com/files/248440723/mQuickDo1.1.rar" title="rapidshare下载">下载</a></p>
	
	]]></content>
</entry>

<entry>
	
	<title>less比tail更好的选择</title>
	
	
	<link rel="alternate" type="text/html" href="http://blog.cgshow.com/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>2013-05-18T19:14:34Z</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"><![CDATA[
	
		<p><code>$ tail -f log/production.log</code></p>
<p><code>$ less +F log/production.log</code></p>
<p>基本上可见的书籍里都使用 tail -f 来实时查看日志，不过我们有更好的选择那就是 less +F 相对于 tail -f 的好处是：</p>
<ul>
<li>
<p>当你按下“ctrl+c”组合键后即可进入编辑模式，如果你熟悉vi命令的话，可以尝试使用 “/” 搜索</p>
</li>
<li>
<p>“shift+f”就可以返回监听状态</p>
</li>
</ul>
<p>对了，退出使用“q”.</p>
	
	]]></content>
</entry>

<entry>
	
	<title>liuzhoou-blog.appspot.com</title>
	
	
	<link rel="alternate" type="text/html" href="http://blog.cgshow.com/liuzhoou-blog.html" />
	
	<id>tag:blog.cgshow.com,2010-01-05:/liuzhoou-blog.html</id>
	<published>2010-01-05T03:42:41Z</published>
	<updated>2013-05-17T12:32:30Z</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"><![CDATA[
	
		<p>很久没有用Blog了，一直都是用本地的MoinMoin来作笔记，再次为Livid的新作鼓掌^^！</p>
	
	]]></content>
</entry>

</feed>