<?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>vifix.cn</title>
	<atom:link href="http://vifix.cn/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://vifix.cn/blog</link>
	<description>compile the dream, compile tomorrow</description>
	<lastBuildDate>Sat, 04 Feb 2012 03:15:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SimpleSnake &#8211; Hello, Android World</title>
		<link>http://vifix.cn/blog/simplesnake-hello-android-world.html</link>
		<comments>http://vifix.cn/blog/simplesnake-hello-android-world.html#comments</comments>
		<pubDate>Fri, 20 Jan 2012 06:39:13 +0000</pubDate>
		<dc:creator>Mac</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://vifix.cn/blog/?p=2229</guid>
		<description><![CDATA[年末了，相对来说工作已经比较清闲，于是趁着机会研究了一下Android的游戏开发，花了一个下午写了这个贪吃蛇的应用。 使用的游戏引擎是libgdx，虽然目前看起来文档比较缺少，但是，最大的好处是可以在Winodows/OSX/Linux上运行，android上则只需要额外几行代码就可以运行，极大的方便了调试和跨平台的工作。 下载apk请点击此处 &#8211; simplesnake （必须要800&#215;480的分辨率才可以正常运行，如果大于这个分辨率仍然可以运行但按钮将错位，低于这个分辨率则可能出现奇怪的问题并且按钮缺失，因为只是hello, world，所以也不打算进一步优化各个分辨率了） 另外推荐下libgdx原作者的博客badlogic，以及他写的书：google book，豆瓣，像我这样的游戏开发初学者看看挺不错的。 一篇国产PC/Android游戏引擎LGame作者cping1982同学的介绍libgx的科普文章也很值得一看：http://blog.csdn.net/cping1982/article/details/6176191]]></description>
			<content:encoded><![CDATA[<p><a href="http://vifix.cn/blog/wp-content/uploads/2012/01/simple-snake.png" rel="shadowbox[sbpost-2229];player=img;"><img class="alignnone size-medium wp-image-2230" src="http://vifix.cn/blog/wp-content/uploads/2012/01/simple-snake-300x276.png" alt="" width="300" height="276" /></a></p>
<p>年末了，相对来说工作已经比较清闲，于是趁着机会研究了一下Android的游戏开发，花了一个下午写了这个贪吃蛇的应用。</p>
<p>使用的游戏引擎是<a href="http://code.google.com/p/libgdx/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/code.google.com/p/libgdx/?referer=');">libgdx</a>，虽然目前看起来文档比较缺少，但是，最大的好处是可以在Winodows/OSX/Linux上运行，android上则只需要额外几行代码就可以运行，极大的方便了调试和跨平台的工作。</p>
<p>下载apk请点击此处 &#8211; <a href="http://vifix.cn/blog/wp-content/uploads/2012/01/simplesnake.zip">simplesnake</a> （必须要800&#215;480的分辨率才可以正常运行，如果大于这个分辨率仍然可以运行但按钮将错位，低于这个分辨率则可能出现奇怪的问题并且按钮缺失，因为只是hello, world，所以也不打算进一步优化各个分辨率了）</p>
<p>另外推荐下libgdx原作者的博客<a href="http://badlogicgames.com/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/badlogicgames.com/?referer=');">badlogic</a>，以及他写的书：<a href="http://books.google.com.hk/books?id=NetBrvVEe3cC&amp;printsec=frontcover&amp;dq=beginning+android+game&amp;hl=en&amp;sa=X&amp;ei=HAsZT_2IJM2ciQf6ronWCw&amp;redir_esc=y&amp;hl=zh-CN&amp;sourceid=cndr#v=onepage&amp;q&amp;f=false" target="_blank" onclick="pageTracker._trackPageview('/outgoing/books.google.com.hk/books?id=NetBrvVEe3cC_amp_printsec=frontcover_amp_dq=beginning+android+game_amp_hl=en_amp_sa=X_amp_ei=HAsZT_2IJM2ciQf6ronWCw_amp_redir_esc=y_amp_hl=zh-CN_amp_sourceid=cndr_v=onepage_amp_q_amp_f=false&amp;referer=');">google book</a>，<a href="http://book.douban.com/subject/4753615/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/book.douban.com/subject/4753615/?referer=');">豆瓣</a>，像我这样的游戏开发初学者看看挺不错的。</p>
<p>一篇国产PC/Android游戏引擎LGame作者cping1982同学的介绍libgx的科普文章也很值得一看：<a href="http://blog.csdn.net/cping1982/article/details/6176191" target="_blank" onclick="pageTracker._trackPageview('/outgoing/blog.csdn.net/cping1982/article/details/6176191?referer=');">http://blog.csdn.net/cping1982/article/details/6176191</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vifix.cn/blog/simplesnake-hello-android-world.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parted Magic</title>
		<link>http://vifix.cn/blog/parted-magic.html</link>
		<comments>http://vifix.cn/blog/parted-magic.html#comments</comments>
		<pubDate>Thu, 05 Jan 2012 11:10:44 +0000</pubDate>
		<dc:creator>Mac</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://vifix.cn/blog/?p=2224</guid>
		<description><![CDATA[近来在朋友送了个512M的小U盘给我，在这文件动辄上G的年代，这小巧的容量显得并不是那么实用，于是一直在考虑到底该拿它来干吗。然后自己公司里面的PC因为是去年安装的kubuntu，当时出于可能仍然还会双系统的考虑，所以分区划分的太小，一年过去了已经渐渐的不堪用起来了，于是开始考虑把还没利用起来的仍然存在的ntfs分区合并入已有的ext4当中。以前做这种事情都是在Windows下面的Acronis Disk Director这个工具，这次打算在Linux下面处理掉这个问题。所以就google到了一个名为Parted Magic的Linux LiveCD发行版，从名字就可以看得出来，这是在模仿曾经的经典的分区软件Norton PartitionMagic的名字。 gparted是这个发行版最核心的应用，此外还提供了testdisk这个非常优秀的恢复软件（我曾经用过它的windows版本恢复过一个彻底被覆盖的分区表），当然还有其他很多和磁盘相关的应用（包括但不限于磁盘检查，磁盘备份，磁盘镜像等等等等等），并且可以使用firefox随时上网查相关的问题。 照着官网的说明，很容易就做成了自启动U盘，通过在gparted约一个小时的折腾（其中主要是因为分区位置变动所以其自动复制几十G数据时的消耗的时间），搞定了相关的问题，觉得此物还是蛮不错的，所以就写了这篇日志。 PS:  开始的时候还担心移动分区的位置可能会导致uuid变动导致grub2无法正常引导的问题，事实证明（操作前后进行了对比）这个是不会发生变化的，所以可以安心使用移动分区位置的功能（当然还是要小心操作啦～丢了数据还是伤不起的 = 。 =）]]></description>
			<content:encoded><![CDATA[<p><a href="http://vifix.cn/blog/wp-content/uploads/2012/01/partedmagic.png" rel="shadowbox[sbpost-2224];player=img;" title="partedmagic"><img class="alignnone size-medium wp-image-2225" title="partedmagic" src="http://vifix.cn/blog/wp-content/uploads/2012/01/partedmagic-300x240.png" alt="" width="300" height="240" /></a></p>
<p>近来在朋友送了个512M的小U盘给我，在这文件动辄上G的年代，这小巧的容量显得并不是那么实用，于是一直在考虑到底该拿它来干吗。然后自己公司里面的PC因为是去年安装的kubuntu，当时出于可能仍然还会双系统的考虑，所以分区划分的太小，一年过去了已经渐渐的不堪用起来了，于是开始考虑把还没利用起来的仍然存在的ntfs分区合并入已有的ext4当中。以前做这种事情都是在Windows下面的Acronis Disk Director这个工具，这次打算在Linux下面处理掉这个问题。所以就google到了一个名为<a href="http://partedmagic.com/doku.php" target="_blank" onclick="pageTracker._trackPageview('/outgoing/partedmagic.com/doku.php?referer=');">Parted Magic</a>的Linux LiveCD发行版，从名字就可以看得出来，这是在模仿曾经的经典的分区软件<a href="http://zh.wikipedia.org/zh/Norton_PartitionMagic" target="_blank" onclick="pageTracker._trackPageview('/outgoing/zh.wikipedia.org/zh/Norton_PartitionMagic?referer=');">Norton PartitionMagic</a>的名字。</p>
<p>gparted是这个发行版最核心的应用，此外还提供了testdisk这个非常优秀的恢复软件（我曾经用过它的windows版本恢复过一个彻底被覆盖的分区表），当然还有其他很多和磁盘相关的应用（包括但不限于磁盘检查，磁盘备份，磁盘镜像等等等等等），并且可以使用firefox随时上网查相关的问题。</p>
<p>照着官网的说明，很容易就做成了自启动U盘，通过在gparted约一个小时的折腾（其中主要是因为分区位置变动所以其自动复制几十G数据时的消耗的时间），搞定了相关的问题，觉得此物还是蛮不错的，所以就写了这篇日志。</p>
<p>PS:  开始的时候还担心移动分区的位置可能会导致uuid变动导致grub2无法正常引导的问题，事实证明（操作前后进行了对比）这个是不会发生变化的，所以可以安心使用移动分区位置的功能（当然还是要小心操作啦～丢了数据还是伤不起的 = 。 =）</p>
]]></content:encoded>
			<wfw:commentRss>http://vifix.cn/blog/parted-magic.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arrive Hangzhou</title>
		<link>http://vifix.cn/blog/arrive-hangzhou.html</link>
		<comments>http://vifix.cn/blog/arrive-hangzhou.html#comments</comments>
		<pubDate>Mon, 26 Dec 2011 08:16:16 +0000</pubDate>
		<dc:creator>Mac</dc:creator>
				<category><![CDATA[Website]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://vifix.cn/blog/?p=2221</guid>
		<description><![CDATA[应朋友之邀给一家航空杂志社《Arrive Hangzhou》做的官方网站，从设计到编码均为在下完成 &#8211; 。 &#8211; （虽然在对方boss要求下修改不少），采用WordPress实现。 欢迎大家关注 http://www.arrivehangzhou.com]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.arrivehangzhou.com/" title="arrivehangzhou.com" onclick="pageTracker._trackPageview('/outgoing/www.arrivehangzhou.com/?referer=');"><img class="alignnone size-medium wp-image-2222" title="arrivehangzhou.com" src="http://vifix.cn/blog/wp-content/uploads/2011/12/arrivehangzhou.com_-300x183.jpg" alt="" width="300" height="183" /></a></p>
<p>应朋友之邀给一家航空杂志社《Arrive Hangzhou》做的官方网站，从设计到编码均为在下完成 &#8211; 。 &#8211; （虽然在对方boss要求下修改不少），采用WordPress实现。</p>
<p>欢迎大家关注 <a href="http://www.arrivehangzhou.com" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.arrivehangzhou.com?referer=');">http://www.arrivehangzhou.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vifix.cn/blog/arrive-hangzhou.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>冬日</title>
		<link>http://vifix.cn/blog/winter-days.html</link>
		<comments>http://vifix.cn/blog/winter-days.html#comments</comments>
		<pubDate>Sat, 24 Dec 2011 14:08:32 +0000</pubDate>
		<dc:creator>Mac</dc:creator>
				<category><![CDATA[Image]]></category>
		<category><![CDATA[Photo]]></category>
		<category><![CDATA[Portraits]]></category>

		<guid isPermaLink="false">http://vifix.cn/blog/?p=2207</guid>
		<description><![CDATA[嗯哼，好久没有更新Portratis这个标签了，给一张张照片打上水印真是好久违的感觉啊～ 拍摄是在月食的后一天也就是这个月的11号拍摄的，地点是浙大校园。阳光很好，特别是后来夕阳西下，逆光的阳光非常漂亮。 主要镜头是EF-S 55-250mm/4-5.6，EF 50mm/1.8两枚，另外当然就是老伙伴的闪灯永诺467。 校园真是一个不错的取景场所，拍出来的片片调起来也刻意模仿了一下常见的胶片的浓厚色调，自己感觉还是非常不错的～算是近期很喜欢的一组片子了 = 。 = 好想再去读几年大学啊，去重温下当年的无忧无虑的日子 &#60;&#8211; 好吧这是题外话了⋯⋯ 最后，我们绝对不是在给中国电信的固话做广告啦]]></description>
			<content:encoded><![CDATA[<p><a href="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3212.jpg" rel="shadowbox[sbpost-2207];player=img;" title="IMG_3212"><img class="alignnone size-medium wp-image-2209" title="IMG_3212" src="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3212-200x300.jpg" alt="" width="200" height="300" /></a></p>
<p>嗯哼，好久没有更新Portratis这个标签了，给一张张照片打上水印真是好久违的感觉啊～</p>
<p>拍摄是在月食的后一天也就是这个月的11号拍摄的，地点是浙大校园。阳光很好，特别是后来夕阳西下，逆光的阳光非常漂亮。</p>
<p><span id="more-2207"></span></p>

<a href='http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3205.jpg' rel='shadowbox[sbalbum-2207];player=img;' title='IMG_3205' title="IMG_3205"><img width="150" height="150" src="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3205-150x150.jpg" class="attachment-thumbnail" alt="IMG_3205" title="IMG_3205" /></a>
<a href='http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3212.jpg' rel='shadowbox[sbalbum-2207];player=img;' title='IMG_3212' title="IMG_3212"><img width="150" height="150" src="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3212-150x150.jpg" class="attachment-thumbnail" alt="IMG_3212" title="IMG_3212" /></a>
<a href='http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3223.jpg' rel='shadowbox[sbalbum-2207];player=img;' title='IMG_3223' title="IMG_3223"><img width="150" height="150" src="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3223-150x150.jpg" class="attachment-thumbnail" alt="IMG_3223" title="IMG_3223" /></a>
<a href='http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3237.jpg' rel='shadowbox[sbalbum-2207];player=img;' title='IMG_3237' title="IMG_3237"><img width="150" height="150" src="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3237-150x150.jpg" class="attachment-thumbnail" alt="IMG_3237" title="IMG_3237" /></a>
<a href='http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3255.jpg' rel='shadowbox[sbalbum-2207];player=img;' title='IMG_3255' title="IMG_3255"><img width="150" height="150" src="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3255-150x150.jpg" class="attachment-thumbnail" alt="IMG_3255" title="IMG_3255" /></a>
<a href='http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3261.jpg' rel='shadowbox[sbalbum-2207];player=img;' title='IMG_3261' title="IMG_3261"><img width="150" height="150" src="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3261-150x150.jpg" class="attachment-thumbnail" alt="IMG_3261" title="IMG_3261" /></a>
<a href='http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3267.jpg' rel='shadowbox[sbalbum-2207];player=img;' title='IMG_3267' title="IMG_3267"><img width="150" height="150" src="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3267-150x150.jpg" class="attachment-thumbnail" alt="IMG_3267" title="IMG_3267" /></a>
<a href='http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3285.jpg' rel='shadowbox[sbalbum-2207];player=img;' title='IMG_3285' title="IMG_3285"><img width="150" height="150" src="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3285-150x150.jpg" class="attachment-thumbnail" alt="IMG_3285" title="IMG_3285" /></a>

<p>主要镜头是EF-S 55-250mm/4-5.6，EF 50mm/1.8两枚，另外当然就是老伙伴的闪灯永诺467。</p>
<p>校园真是一个不错的取景场所，拍出来的片片调起来也刻意模仿了一下常见的胶片的浓厚色调，自己感觉还是非常不错的～算是近期很喜欢的一组片子了 = 。 =</p>
<p>好想再去读几年大学啊，去重温下当年的无忧无虑的日子 &lt;&#8211; 好吧这是题外话了⋯⋯</p>
<p><del>最后，我们绝对不是在给中国电信的固话做广告啦</del></p>
]]></content:encoded>
			<wfw:commentRss>http://vifix.cn/blog/winter-days.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>红月</title>
		<link>http://vifix.cn/blog/crimson.html</link>
		<comments>http://vifix.cn/blog/crimson.html#comments</comments>
		<pubDate>Fri, 16 Dec 2011 14:23:36 +0000</pubDate>
		<dc:creator>Mac</dc:creator>
				<category><![CDATA[Image]]></category>
		<category><![CDATA[Otaku]]></category>
		<category><![CDATA[Photo]]></category>

		<guid isPermaLink="false">http://vifix.cn/blog/?p=2198</guid>
		<description><![CDATA[既然月食，那咱也凑下热闹～不过比起全食（我其实一直更加喜欢半个月亮 = 。 = 各位是否感受到了斯卡雷特家族的召唤了呢…… 出来晚了，所以记录全程神马的就还是交给更加有心的人士吧，太冻了……]]></description>
			<content:encoded><![CDATA[<p><a href="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3146.jpg" rel="shadowbox[sbpost-2198];player=img;" title="IMG_3146"><img class="alignnone size-medium wp-image-2199" title="IMG_3146" src="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3146-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>既然月食，那咱也凑下热闹～不过比起全食（我其实一直更加喜欢半个月亮 = 。 =</p>
<p><span id="more-2198"></span><a href="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3166.jpg" rel="shadowbox[sbpost-2198];player=img;" title="IMG_3166"><img class="alignnone size-medium wp-image-2200" title="IMG_3166" src="http://vifix.cn/blog/wp-content/uploads/2011/12/IMG_3166-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><del>各位是否感受到了斯卡雷特家族的召唤了呢……</del></p>
<p>出来晚了，所以记录全程神马的就还是交给更加有心的人士吧，太冻了……</p>
]]></content:encoded>
			<wfw:commentRss>http://vifix.cn/blog/crimson.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Maven 添加一个本地jar包</title>
		<link>http://vifix.cn/blog/maven-add-local-private-jar.html</link>
		<comments>http://vifix.cn/blog/maven-add-local-private-jar.html#comments</comments>
		<pubDate>Thu, 15 Dec 2011 09:08:33 +0000</pubDate>
		<dc:creator>Mac</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://vifix.cn/blog/?p=2186</guid>
		<description><![CDATA[在pom.xml添加： &#60;dependency&#62; &#60;groupId&#62;cn.vifix&#60;/groupId&#62; &#60;artifactId&#62;maven-test&#60;/artifactId&#62; &#60;version&#62;0.0.1&#60;/version&#62; &#60;systemPath&#62;${basedir}/lib/mt.jar&#60;/systemPath&#62; &#60;scope&#62;system&#60;/scope&#62; &#60;/dependency&#62; 即可达成目标。 不过这是一种临时性质的方案，maven进行编译时会警告未来这种方式可能会过期，更好的方式还是搭建一下自己的本地仓库来解决本地jar包的问题。 2011-11-15补充 发现这种方式确实不是很好的一种方式，在进行maven的package打包操作的时候，这种system scope的包是不会被打包进去的，还是老老实实的用本地仓库吧]]></description>
			<content:encoded><![CDATA[<p>在pom.xml添加：</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>cn.vifix<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>maven-test<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>0.0.1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;systemPath<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>${basedir}/lib/mt.jar<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/systemPath<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;scope<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>system<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/scope<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>即可达成目标。</p>
<p>不过这是一种临时性质的方案，maven进行编译时会警告未来这种方式可能会过期，更好的方式还是搭建一下自己的本地仓库来解决本地jar包的问题。</p>
<h3>2011-11-15补充</h3>
<p>发现这种方式确实不是很好的一种方式，在进行maven的package打包操作的时候，这种system scope的包是不会被打包进去的，还是老老实实的用本地仓库吧</p>
]]></content:encoded>
			<wfw:commentRss>http://vifix.cn/blog/maven-add-local-private-jar.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stellarium</title>
		<link>http://vifix.cn/blog/stellarium.html</link>
		<comments>http://vifix.cn/blog/stellarium.html#comments</comments>
		<pubDate>Fri, 09 Dec 2011 11:33:27 +0000</pubDate>
		<dc:creator>Mac</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Sky]]></category>

		<guid isPermaLink="false">http://vifix.cn/blog/?p=2182</guid>
		<description><![CDATA[从小就热爱星空，然而住在城市，无缘于干净的天空不免是件很遗憾的事情，来了月全食和日全食这种盛事自然也是不能错过了。 所以这里推荐下用了多年的名为Stellarium这个好物，是个可以模拟太阳系内任意位置任意时间的天空运行的软件（包括日食月食这种天象），当然模拟的看起来并不是那么过瘾，但作为爱好者的必备软件，这个还是非常值得推荐的。 官网是：http://www.stellarium.org/ 现代人真的应该好好保护下夜空了，周围很多人都觉得看过流星就是件很稀奇的事情，这个真的有点遗憾啊……]]></description>
			<content:encoded><![CDATA[<div id="attachment_2183" class="wp-caption alignnone" style="width: 310px"><a href="http://vifix.cn/blog/wp-content/uploads/2011/12/snapshot43.png" rel="shadowbox[sbpost-2182];player=img;" title="Stellarium"><img class="size-medium wp-image-2183" title="Stellarium" src="http://vifix.cn/blog/wp-content/uploads/2011/12/snapshot43-300x187.png" alt="" width="300" height="187" /></a><p class="wp-caption-text">Stellarium模拟的杭州在北京时间2011年12月10日22:17时的星空，十字选中的是正在发生月食的月亮</p></div>
<p>从小就热爱星空，然而住在城市，无缘于干净的天空不免是件很遗憾的事情，来了月全食和日全食这种盛事自然也是不能错过了。</p>
<p>所以这里推荐下用了多年的名为Stellarium这个好物，是个可以模拟太阳系内任意位置任意时间的天空运行的软件（包括日食月食这种天象），当然模拟的看起来并不是那么过瘾，但作为爱好者的必备软件，这个还是非常值得推荐的。</p>
<p>官网是：<a title="Stellarium" href="http://www.stellarium.org/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.stellarium.org/?referer=');">http://www.stellarium.org/</a></p>
<p>现代人真的应该好好保护下夜空了，周围很多人都觉得看过流星就是件很稀奇的事情，这个真的有点遗憾啊……</p>
]]></content:encoded>
			<wfw:commentRss>http://vifix.cn/blog/stellarium.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>convmv &#8211; Linux下修改文件名编码</title>
		<link>http://vifix.cn/blog/convmv-linux-convert-filename-encoding.html</link>
		<comments>http://vifix.cn/blog/convmv-linux-convert-filename-encoding.html#comments</comments>
		<pubDate>Wed, 19 Oct 2011 09:01:28 +0000</pubDate>
		<dc:creator>Mac</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://vifix.cn/blog/?p=2173</guid>
		<description><![CDATA[今天在公司tar打包一些编码为GBK的中文文件名的文件时打包碰到的问题。我自己的locale是en_US.UTF8，那台主机的环境是zh_CN.GBK，因此tar不管怎么打包，都会使文件名出现问题。而如果采用7z打包，虽然可以解决乱码问题（7z会记录下文件名的编码），但会丢失文件属性，所以不打算采用。 google了下发现可以通过convmv来进行解决： convmv -f GBK -t UTF8 -r --notest target 其中-f是源编码，-t是目标编码，-r是递归处理目录，&#8211;notest是不移动，实际上对文件进行改名（actually do rename the files），target是目标目录。其余参数可以参考man或者-h。 另外一个方案是google到了一个python脚本，通过python的tarfile包解决问题，感兴趣的可以看看这个link: http://superuser.com/questions/60379/linux-zip-tgz-filenames-encoding-problem]]></description>
			<content:encoded><![CDATA[<p>今天在公司tar打包一些编码为GBK的中文文件名的文件时打包碰到的问题。我自己的locale是en_US.UTF8，那台主机的环境是zh_CN.GBK，因此tar不管怎么打包，都会使文件名出现问题。而如果采用7z打包，虽然可以解决乱码问题（7z会记录下文件名的编码），但会丢失文件属性，所以不打算采用。</p>
<p>google了下发现可以通过convmv来进行解决：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">convmv <span style="color: #660033;">-f</span> GBK <span style="color: #660033;">-t</span> UTF8 <span style="color: #660033;">-r</span> <span style="color: #660033;">--notest</span> target</pre></div></div>

<p>其中-f是源编码，-t是目标编码，-r是递归处理目录，&#8211;notest是不移动，实际上对文件进行改名（actually do rename the files），target是目标目录。其余参数可以参考man或者-h。</p>
<p>另外一个方案是google到了一个python脚本，通过python的tarfile包解决问题，感兴趣的可以看看这个link: <a href="http://superuser.com/questions/60379/linux-zip-tgz-filenames-encoding-problem" target="_blank" onclick="pageTracker._trackPageview('/outgoing/superuser.com/questions/60379/linux-zip-tgz-filenames-encoding-problem?referer=');">http://superuser.com/questions/60379/linux-zip-tgz-filenames-encoding-problem</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vifix.cn/blog/convmv-linux-convert-filename-encoding.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>To Dennis Ritchie</title>
		<link>http://vifix.cn/blog/to-dennis-ritchie.html</link>
		<comments>http://vifix.cn/blog/to-dennis-ritchie.html#comments</comments>
		<pubDate>Sat, 15 Oct 2011 08:32:00 +0000</pubDate>
		<dc:creator>Mac</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[C]]></category>

		<guid isPermaLink="false">http://vifix.cn/blog/?p=2163</guid>
		<description><![CDATA[#include &#60;stdio.h&#62; &#160; int main&#40;&#41;&#123; printf&#40;&#34;goodbye, world!\n&#34;&#41;; return 0; &#125;]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include &lt;stdio.h&gt;</span>
&nbsp;
<span style="color: #993333;">int</span> main<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;goodbye, world!<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://vifix.cn/blog/to-dennis-ritchie.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DoubanFM-CLI</title>
		<link>http://vifix.cn/blog/doubanfm-cli.html</link>
		<comments>http://vifix.cn/blog/doubanfm-cli.html#comments</comments>
		<pubDate>Wed, 12 Oct 2011 09:14:36 +0000</pubDate>
		<dc:creator>Mac</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://vifix.cn/blog/?p=2158</guid>
		<description><![CDATA[嗯……一直想在Linux下面搞个好使的豆瓣FM客户端好在工作时听听（不然要专门开个浏览器），于是google了下找到了这个，于是什么桌面客户端之类的弱爆了啊，这个才是Geeker听音乐的方式 = 。 = 东西是Python写的，代码短小精干，也可以自己研究下 github: https://github.com/zhendi/DoubanFM-CLI 作者豆瓣: http://www.douban.com/people/KaKa9527/]]></description>
			<content:encoded><![CDATA[<p><a href="http://vifix.cn/blog/wp-content/uploads/2011/10/douban_cli.png" rel="shadowbox[sbpost-2158];player=img;" title="douban_cli"><img class="alignnone size-medium wp-image-2160" title="douban_cli" src="http://vifix.cn/blog/wp-content/uploads/2011/10/douban_cli-300x187.png" alt="" width="300" height="187" /></a></p>
<p>嗯……一直想在Linux下面搞个好使的豆瓣FM客户端好在工作时听听（不然要专门开个浏览器），于是google了下找到了这个，于是什么桌面客户端之类的弱爆了啊，这个才是Geeker听音乐的方式 = 。 =</p>
<p>东西是Python写的，代码短小精干，也可以自己研究下</p>
<p>github: <a href="https://github.com/zhendi/DoubanFM-CLI" target="_blank" onclick="pageTracker._trackPageview('/outgoing/github.com/zhendi/DoubanFM-CLI?referer=');">https://github.com/zhendi/DoubanFM-CLI</a></p>
<p>作者豆瓣: <a href="http://www.douban.com/people/KaKa9527/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.douban.com/people/KaKa9527/?referer=');">http://www.douban.com/people/KaKa9527/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://vifix.cn/blog/doubanfm-cli.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

