<?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>luhengqi</title>
	<atom:link href="http://www.luhengqi.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.luhengqi.com</link>
	<description>Like Your Every  Day</description>
	<lastBuildDate>Mon, 19 Jul 2010 09:03:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mac批量取消文件已锁定</title>
		<link>http://www.luhengqi.com/?p=79</link>
		<comments>http://www.luhengqi.com/?p=79#comments</comments>
		<pubDate>Thu, 24 Sep 2009 10:00:17 +0000</pubDate>
		<dc:creator>fury77</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[skill]]></category>

		<guid isPermaLink="false">http://www.luhengqi.com/?p=79</guid>
		<description><![CDATA[
大家应该试过在Mac系统复制Windows系统目录，里面包含多个文件，而文件都被锁定，不能被修改和删除的情况。
一般情况下只能通过逐个文件“显示简介”的方式取消已锁定。
如果文件很多的情况下，这样繁琐的操作是无法想象的。
有个少为人知的快捷键小技巧可以处理这样的问题。
1. 首先打开被已锁定文件目录。
2. 选择Finder的列表模式显示，快捷键是Cmd+2 。

3. 通过快捷键 Cmd+A 全选文件，如果有子目录，点击左边的小箭头打开子目录。

4. 全选文件后使用 Cmd + Option + i 快捷键打开“多个项简介”，这个时候，你就可以一次性取消多文件被“已锁定”的烦恼了。
当然，如果纯粹是删除锁定文件容易得多，清空回收站使用快捷键 Shift + Option + Cmd 也是可以的.
又或者通过终端Terminal直接删除目标目录
执行命令行：sudo rm -rfv example
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-81" title="屏幕快照 2009-09-24 下午05.48.42" src="http://www.luhengqi.com/wp-content/uploads/2009/09/屏幕快照-2009-09-24-下午05.48.42.png" alt="屏幕快照 2009-09-24 下午05.48.42" width="438" height="310" /></p>
<p>大家应该试过在Mac系统复制Windows系统目录，里面包含多个文件，而文件都被锁定，不能被修改和删除的情况。</p>
<p>一般情况下只能通过逐个文件“显示简介”的方式取消已锁定。</p>
<p>如果文件很多的情况下，这样繁琐的操作是无法想象的。</p>
<p>有个少为人知的快捷键小技巧可以处理这样的问题。</p>
<p>1. 首先打开被已锁定文件目录。<br />
2. 选择Finder的列表模式显示，快捷键是Cmd+2 。</p>
<p><img class="alignnone size-full wp-image-82" title="屏幕快照 2009-09-24 下午06.01.09" src="http://www.luhengqi.com/wp-content/uploads/2009/09/屏幕快照-2009-09-24-下午06.01.09.png" alt="屏幕快照 2009-09-24 下午06.01.09" width="354" height="318" /></p>
<p>3. 通过快捷键 Cmd+A 全选文件，如果有子目录，点击左边的小箭头打开子目录。</p>
<p><img class="alignnone size-full wp-image-83" title="屏幕快照 2009-09-24 下午06.06.53" src="http://www.luhengqi.com/wp-content/uploads/2009/09/屏幕快照-2009-09-24-下午06.06.53.png" alt="屏幕快照 2009-09-24 下午06.06.53" width="266" height="232" /></p>
<p>4. 全选文件后使用 Cmd + Option + i 快捷键打开“多个项简介”，这个时候，你就可以一次性取消多文件被“已锁定”的烦恼了。</p>
<p>当然，如果纯粹是删除锁定文件容易得多，清空回收站使用快捷键 Shift + Option + Cmd 也是可以的.</p>
<p>又或者通过终端Terminal直接删除目标目录</p>
<p>执行命令行：sudo rm -rfv example</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luhengqi.com/?feed=rss2&amp;p=79</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MAC非常规的终止进程</title>
		<link>http://www.luhengqi.com/?p=55</link>
		<comments>http://www.luhengqi.com/?p=55#comments</comments>
		<pubDate>Sun, 15 Mar 2009 11:04:16 +0000</pubDate>
		<dc:creator>fury77</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[skill]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://www.luhengqi.com/?p=55</guid>
		<description><![CDATA[众所周知，我们可以通过 command + option + esc 强行杀死崩溃或挂死的程序进程。
当然，我们还可以通过 Terminal 来杀死这些进程，就像 Windows 里面的 任务管理器 一样 （但是我们这里使用的是命令行方式)。
好，我们赶快开始体验体验吧〜！
先远行 Terminal 。
Terminal 开启以后，第一步：输入命令 top ，您可以看到如下图的界面。

可以看到很多的程序进程被罗列出来了。大家可以看到第一列是程序进程的 ( PID )这些号码都是随机生成的。
我们先记住一个需要杀掉进程的 PID 。这里我们选择杀掉 Terminal 本身。   进程 PID 是 2015
来到第二步：敲击键盘的 Q 或 Ctrl + C 退出 top 。
最后一步：输入 kill 2015 然后回车，看到了吧，进程马上被杀掉了。
这里还有一个小技巧，可以同时杀掉多个进程，
只要按照这样的方式：kill 2015 622  1189
嘿嘿，那么我的 Terminal iTunes 和 TextMate 都被退出了。
这也只是很多方法的其一，平时大家多积累一些使用技巧，到急用的时候还是对您很有帮助的哦。
希望给大家带来乐趣和帮助。
]]></description>
			<content:encoded><![CDATA[<p>众所周知，我们可以通过 <strong>command + option + esc</strong> 强行杀死崩溃或挂死的程序进程。</p>
<p>当然，我们还可以通过<strong> Terminal </strong>来杀死这些进程，就像 <strong>Windows</strong> 里面的 <strong>任务管理器</strong> 一样 （但是我们这里使用的是<strong>命令行</strong>方式)。</p>
<p>好，我们赶快开始体验体验吧〜！</p>
<p>先远行 <strong>Terminal</strong> 。</p>
<p><strong>Terminal</strong> 开启以后，第一步：输入命令 <strong>top</strong> ，您可以看到如下图的界面。</p>
<p><img class="alignnone size-full wp-image-57" title="termenal" src="http://www.luhengqi.com/wp-content/uploads/2009/03/termenal.png" alt="termenal" width="442" height="349" /></p>
<p>可以看到很多的程序进程被罗列出来了。大家可以看到第一列是程序进程<strong>的 ( PID )</strong>这些号码都是随机生成的。</p>
<p>我们先记住一个需要杀掉进程的 <strong>PID</strong> 。这里我们选择杀掉 <strong>Terminal</strong> 本身。 <img src='http://www.luhengqi.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  进程 <strong>PID</strong> 是 <strong>2015</strong></p>
<p>来到第二步：敲击键盘的 <strong>Q</strong> 或 <strong>Ctrl + C</strong> 退出 <strong>top</strong> 。</p>
<p>最后一步：输入 <strong>kill 2015</strong> 然后回车，看到了吧，进程马上被杀掉了。</p>
<p>这里还有一个小技巧，可以同时杀掉多个进程，</p>
<p>只要按照这样的方式：<strong>kill 2015 622  1189</strong></p>
<p>嘿嘿，那么我的 <strong>Terminal iTunes</strong> 和 <strong>TextMate</strong> 都被退出了。</p>
<p>这也只是很多方法的其一，平时大家多积累一些使用技巧，到急用的时候还是对您很有帮助的哦。</p>
<p>希望给大家带来乐趣和帮助。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luhengqi.com/?feed=rss2&amp;p=55</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>换个新皮囊</title>
		<link>http://www.luhengqi.com/?p=43</link>
		<comments>http://www.luhengqi.com/?p=43#comments</comments>
		<pubDate>Wed, 11 Mar 2009 18:21:59 +0000</pubDate>
		<dc:creator>fury77</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.luhengqi.com/?p=43</guid>
		<description><![CDATA[默认模板看着实在难受〜！晚上看到一个还不错。临时先用这拉。等忙完再抽时间给自己弄一个〜！
换个皮囊换个心情。Wow~!
嗯。。。再有听听音乐也是一种放松心情的方式，给介绍一张专辑。

Brooke White :  Songs from the Attic



Free
The Way Things Used to Be
Dream On
Come to My Rescue
In Love
Like I Do
Change
Yellow
Let It Go
Follow Me
Keep Running

大家要有听着暗爽的歌也可以推荐一下。:-)


]]></description>
			<content:encoded><![CDATA[<p>默认模板看着实在难受〜！晚上看到一个还不错。临时先用这拉。等忙完再抽时间给自己弄一个〜！<br />
换个皮囊换个心情。Wow~!</p>
<p>嗯。。。再有听听音乐也是一种放松心情的方式，给介绍一张专辑。</p>
<p><img class="alignnone size-full wp-image-44" title="e6ada3e59ca8e692ade694be" src="http://www.luhengqi.com/wp-content/uploads/2009/03/e6ada3e59ca8e692ade694be.jpg" alt="e6ada3e59ca8e692ade694be" width="400" height="400" /></p>
<p>Brooke White<strong> :  <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?id=216753439&amp;s=143441" target="_blank">Songs from the Attic</a><br />
</strong></p>
<p><strong></strong></p>
<ol>
<li>Free</li>
<li>The Way Things Used to Be</li>
<li>Dream On</li>
<li>Come to My Rescue</li>
<li>In Love</li>
<li>Like I Do</li>
<li>Change</li>
<li>Yellow</li>
<li>Let It Go</li>
<li>Follow Me</li>
<li>Keep Running</li>
</ol>
<p>大家要有听着暗爽的歌也可以推荐一下。:-)</p>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luhengqi.com/?feed=rss2&amp;p=43</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>应该开始学会《扯淡》了</title>
		<link>http://www.luhengqi.com/?p=24</link>
		<comments>http://www.luhengqi.com/?p=24#comments</comments>
		<pubDate>Wed, 04 Mar 2009 14:36:39 +0000</pubDate>
		<dc:creator>fury77</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.luhengqi.com/?p=24</guid>
		<description><![CDATA[要扯几点：

每每想着给自己定个什么目标〜写博客YY原本就是计划之一，可以说连自己的sytle模板都没设计出来，所有说本人是有计划等于没计划。
由于跳跃思维太厉害了，很容易语无伦次〜！想表达的没表达出来，感觉特“二”。 so，和我聊天的朋友请勿见怪⋯⋯
也许写作也是一种整理思维方式，应该把想的东西实行了，未尝没想过好点子，怎么就是到自己这里就没了呢？
最近的“事情”很多，等着要做和正在做，赶紧点吧，机会都跟着时间偷偷溜走了〜！
stop⋯⋯
本篇算是一个开端，以后的写作将会是一些玩作和我所谓专业方面的东西，觉得有用的朋友们尽管看，如果觉得“二”的朋友，就不要路过啦。Tks~!

btw：介绍一张The Ting Tings的旧专辑

We Started Nothing

Great DJ
That&#8217;s Not My Name
Fruit Machine
Traffic Light
Shut Up and Let Me Go
Keep Your Head
Be the One
We Walk
Impacilla Carpisung
We Started Nothing

]]></description>
			<content:encoded><![CDATA[<p><strong>要扯几点：</strong></p>
<ul>
<li>每每想着给自己定个什么目标〜写博客YY原本就是计划之一，可以说连自己的sytle模板都没设计出来，所有说本人是有计划等于没计划。</li>
<li>由于跳跃思维太厉害了，很容易语无伦次〜！想表达的没表达出来，感觉特“二”。 so，和我聊天的朋友请勿见怪⋯⋯</li>
<li>也许写作也是一种整理思维方式，应该把想的东西实行了，未尝没想过好点子，怎么就是到自己这里就没了呢？</li>
<li>最近的“事情”很多，等着要做和正在做，赶紧点吧，机会都跟着时间偷偷溜走了〜！</li>
<li>stop⋯⋯</li>
<li>本篇算是一个开端，以后的写作将会是一些玩作和我所谓专业方面的东西，觉得有用的朋友们尽管看，如果觉得“二”的朋友，就不要路过啦。Tks~!</li>
</ul>
<p>btw：介绍一张The Ting Tings的旧专辑</p>
<p><img class="alignnone size-full wp-image-25" title="we-started-nothing" src="http://www.luhengqi.com/wp-content/uploads/2009/03/we-started-nothing.jpg" alt="we-started-nothing" width="400" height="400" /></p>
<p><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?id=280390218&amp;s=143441" target="_blank">We Started Nothing</a></p>
<ol>
<li>Great DJ</li>
<li>That&#8217;s Not My Name</li>
<li>Fruit Machine</li>
<li>Traffic Light</li>
<li>Shut Up and Let Me Go</li>
<li>Keep Your Head</li>
<li>Be the One</li>
<li>We Walk</li>
<li>Impacilla Carpisung</li>
<li>We Started Nothing</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.luhengqi.com/?feed=rss2&amp;p=24</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>preview.app 和 iphoto.app 不正常工作解决方法</title>
		<link>http://www.luhengqi.com/?p=21</link>
		<comments>http://www.luhengqi.com/?p=21#comments</comments>
		<pubDate>Wed, 29 Oct 2008 17:31:48 +0000</pubDate>
		<dc:creator>fury77</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.luhengqi.com/?p=21</guid>
		<description><![CDATA[这两天在使用iphoto导入相机照片的时候，发现相机里面图片无法预览和导入，刚开始以为是iphoto出问题了，由于没时间就搁置了。紧接着preview.app也无法正常使用了。打开任何图片的时候，preview.app正常打开，但是没出现任何预览窗口。后来发现，原来是临时目录/var/folders无法写入。

解决方法：
打开 terminal.app
先进入目录 cd /var/folders
列出子目录看看用户组和权限是否正常 ls
如果用户组不是root wheel
修正sudo chown root:wheel *
修正目录权限sudo chmod -R 777 *
再重新打开软件，已经可以正常使用了。其实很多软件都会和这个目录有联系的，如果有类似问题，可以优先考虑到他。
]]></description>
			<content:encoded><![CDATA[<p>这两天在使用iphoto导入相机照片的时候，发现相机里面图片无法预览和导入，刚开始以为是iphoto出问题了，由于没时间就搁置了。紧接着preview.app也无法正常使用了。打开任何图片的时候，preview.app正常打开，但是没出现任何预览窗口。后来发现，原来是临时目录/var/folders无法写入。<br />
<img class="alignnone size-medium wp-image-34" title="e59bbee78987-2" src="http://www.luhengqi.com/wp-content/uploads/2008/10/e59bbee78987-2-300x135.png" alt="e59bbee78987-2" width="300" height="135" /></p>
<p>解决方法：</p>
<p>打开 terminal.app</p>
<p>先进入目录 cd /var/folders</p>
<p>列出子目录看看用户组和权限是否正常 ls</p>
<p>如果用户组不是root wheel</p>
<p>修正sudo chown root:wheel *</p>
<p>修正目录权限sudo chmod -R 777 *</p>
<p>再重新打开软件，已经可以正常使用了。其实很多软件都会和这个目录有联系的，如果有类似问题，可以优先考虑到他。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.luhengqi.com/?feed=rss2&amp;p=21</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Post in iPhone</title>
		<link>http://www.luhengqi.com/?p=20</link>
		<comments>http://www.luhengqi.com/?p=20#comments</comments>
		<pubDate>Mon, 27 Oct 2008 16:09:15 +0000</pubDate>
		<dc:creator>fury77</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.luhengqi.com/?p=20</guid>
		<description><![CDATA[Wp app.

]]></description>
			<content:encoded><![CDATA[<p>Wp app.</p>
<p><img class="alignnone size-full wp-image-50" title="img_0001" src="http://www.luhengqi.com/wp-content/uploads/2008/10/img_0001.png" alt="img_0001" width="320" height="480" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.luhengqi.com/?feed=rss2&amp;p=20</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strange Alias in Trash.</title>
		<link>http://www.luhengqi.com/?p=13</link>
		<comments>http://www.luhengqi.com/?p=13#comments</comments>
		<pubDate>Thu, 12 Jun 2008 11:03:33 +0000</pubDate>
		<dc:creator>fury77</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://luhengqi.com/?p=13</guid>
		<description><![CDATA[
今天遇到一个特别奇怪的问题。系统废纸篓有个文件名\\\ō奇怪的文件，用尽了方法都没办法删除。
不过问题还是解决了。
解决方法:
Its apparently a file in Windows that uses unallowed file names. The only way to fix this is through Windows &#8220;chkdsk&#8221; utility.
1. Boot into Windows
2. Click on &#8220;My Computer&#8221;
3. Get &#8220;Properties&#8221; on your C: drive
4. Click &#8220;Tools&#8221;
5. Click &#8220;Error-Checking&#8221; and enable the box for &#8220;Automatically fix errors&#8221;
6. Click apply.. and Windows will need to re-boot [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-37 alignleft" title="trashfull" src="http://www.luhengqi.com/wp-content/uploads/2008/06/trashfull.png" alt="trashfull" width="128" height="128" /></p>
<p>今天遇到一个特别奇怪的问题。系统废纸篓有个文件名\\\ō奇怪的文件，用尽了方法都没办法删除。</p>
<p>不过问题还是解决了。</p>
<p>解决方法:</p>
<blockquote><p>Its apparently a file in Windows that uses unallowed file names. The only way to fix this is through Windows &#8220;chkdsk&#8221; utility.</p>
<p>1. Boot into Windows<br />
2. Click on &#8220;My Computer&#8221;<br />
3. Get &#8220;Properties&#8221; on your C: drive<br />
4. Click &#8220;Tools&#8221;<br />
5. Click &#8220;Error-Checking&#8221; and enable the box for &#8220;Automatically fix errors&#8221;<br />
6. Click apply.. and Windows will need to re-boot and &#8220;schedule&#8221; a disk-check on next reboot. Be sure to hold down your &#8220;Option&#8221; key during reboot (if you are running your Windows through Boot Camp). Re-boot into Windows<br />
7. Disk Check will automatically run and you&#8217;ll see an error in &#8220;.\.Trashes\501&#8243; It will automatically fix this.<br />
8. When its all done, Windows will automatically reboot normally.<br />
9. Reboot back into OS X and that strange alias will be gone!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.luhengqi.com/?feed=rss2&amp;p=13</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
