<?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>虫子也有理想 - Bugsidea:Blog</title>
	<atom:link href="http://bugsidea.com/feed" rel="self" type="application/rss+xml" />
	<link>http://bugsidea.com</link>
	<description>关注视觉设计,品牌传播,Web开发,网站架构,项目管理,开源软件...</description>
	<lastBuildDate>Sun, 30 Oct 2011 02:11:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>在BBEdit 10中使用YUICompressor</title>
		<link>http://bugsidea.com/2011/10/use-yuicompressor-on-bbedit-10.html</link>
		<comments>http://bugsidea.com/2011/10/use-yuicompressor-on-bbedit-10.html#comments</comments>
		<pubDate>Sun, 30 Oct 2011 01:52:54 +0000</pubDate>
		<dc:creator>Ly</dc:creator>
				<category><![CDATA[Software Review]]></category>

		<guid isPermaLink="false">http://bugsidea.com/?p=354</guid>
		<description><![CDATA[之前写过一片文章《BBedit集成YUI Compressor》，后收到来自bbshare的Lilong同学留言，发现了他写得一个不错的小工具，特此介绍之： (1)安装YUICompressor，非yuicompresor-2.4.x.jar。 打开终端执行如下命令，这会给你的Mac安装一个基于Python的可shell执行的yuicompressor脚本： /usr/bin/easy_install yuicompressor (2)新建一个脚本文件&#8221;YUICompressor&#8221;,将如下内容复制到脚本文件里面： #!/usr/bin/env python2.7 import os import re import sys import time doc_file = os.environ['BB_DOC_PATH'] yuicompressor = "/usr/local/bin/yuicompressor" ext = '.css$&#124;.js$' newext = '.min.' + time.strftime('%Y%m%d%H%M%S',time.localtime(time.time())) + '.' if re.search(ext, doc_file, re.I): os.system("%s --type css --charset utf8 -o %s%s %s" % (yuicompressor, re.sub(ext,newext,doc_file,flags=re.I), doc_file.split('.')[-1], doc_file)) sys.exit(1) (3)将此脚本文件Copy到~/Library/Application Support/BBEdit/Scripts目录，注意是你用户名下的Library目录，Lion用户可能找不到这个目录，可以使用Finder的&#8221;Go to Folder&#8221;。 [...]]]></description>
			<content:encoded><![CDATA[<p>之前写过一片文章《<a href="http://bugsidea.com/2010/10/bbedit-integration-yui-compressor.html" target="_blank">BBedit集成YUI Compressor</a>》，后收到来自bbshare的Lilong同学留言，发现了他写得一个不错的小工具，特此介绍之：<br />
(1)安装YUICompressor，非yuicompresor-2.4.x.jar。<br />
打开终端执行如下命令，这会给你的Mac安装一个基于Python的可shell执行的yuicompressor脚本：<br />
<code>/usr/bin/easy_install yuicompressor</code></p>
<p>(2)新建一个脚本文件&#8221;YUICompressor&#8221;,将如下内容复制到脚本文件里面：<br />
<code>#!/usr/bin/env python2.7<br />
import os<br />
import re<br />
import sys<br />
import time<br />
doc_file = os.environ['BB_DOC_PATH']<br />
yuicompressor = "/usr/local/bin/yuicompressor"<br />
ext = '.css$|.js$'<br />
newext = '.min.' + time.strftime('%Y%m%d%H%M%S',time.localtime(time.time())) + '.'<br />
if re.search(ext, doc_file, re.I):<br />
	os.system("%s --type css --charset utf8 -o %s%s %s" %<br />
		(yuicompressor, re.sub(ext,newext,doc_file,flags=re.I), doc_file.split('.')[-1], doc_file))<br />
sys.exit(1)</code></p>
<p>(3)将此脚本文件Copy到~/Library/Application Support/BBEdit/Scripts目录，注意是你用户名下的Library目录，Lion用户可能找不到这个目录，可以使用Finder的&#8221;Go to Folder&#8221;。</p>
<p>(4)至此安装完毕，你可以在BBedit的Script菜单下找到安装的脚本，打开一个Js文件或CSS文件试试看，执行YUICompressor脚本后会生成xxx.min.201110300951xx.js的文件。</p>
<p>Lilong同学的原始脚本可以到<a href="https://gist.github.com/1321471" target="_blank">这里</a>下载，我在他的基础上改了一下，加上了一个时间戳，因为我的nginx强制缓存Js和Css文件，大家可以根据自己需要进行修改。</p>
<p>感谢Lilong同学写出如此方便的脚本，不得不说,Python还是很强大的。</p>
]]></content:encoded>
			<wfw:commentRss>http://bugsidea.com/2011/10/use-yuicompressor-on-bbedit-10.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>玉渊潭很欢乐</title>
		<link>http://bugsidea.com/2011/10/yu-yuan-tan-photo.html</link>
		<comments>http://bugsidea.com/2011/10/yu-yuan-tan-photo.html#comments</comments>
		<pubDate>Sat, 01 Oct 2011 09:35:43 +0000</pubDate>
		<dc:creator>Ly</dc:creator>
				<category><![CDATA[Life Story]]></category>

		<guid isPermaLink="false">http://bugsidea.com/?p=341</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://bugsidea.com/wp-content/uploads/2011/10/6.jpg" alt="" title="6" width="600" height="450" class="alignnone size-full wp-image-344" /></p>

<a href='http://bugsidea.com/2011/10/yu-yuan-tan-photo.html/attachment/8' title='8'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/10/8-150x150.jpg" class="attachment-thumbnail" alt="8" title="8" /></a>
<a href='http://bugsidea.com/2011/10/yu-yuan-tan-photo.html/7-2' title='7'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/10/7-150x150.jpg" class="attachment-thumbnail" alt="7" title="7" /></a>
<a href='http://bugsidea.com/2011/10/yu-yuan-tan-photo.html/6-2' title='6'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/10/6-150x150.jpg" class="attachment-thumbnail" alt="6" title="6" /></a>
<a href='http://bugsidea.com/2011/10/yu-yuan-tan-photo.html/5-3' title='5'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/10/5-150x150.jpg" class="attachment-thumbnail" alt="5" title="5" /></a>
<a href='http://bugsidea.com/2011/10/yu-yuan-tan-photo.html/4-2' title='4'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/10/4-150x150.jpg" class="attachment-thumbnail" alt="4" title="4" /></a>
<a href='http://bugsidea.com/2011/10/yu-yuan-tan-photo.html/3-2' title='3'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/10/3-150x150.jpg" class="attachment-thumbnail" alt="3" title="3" /></a>
<a href='http://bugsidea.com/2011/10/yu-yuan-tan-photo.html/2-2' title='2'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/10/2-150x150.jpg" class="attachment-thumbnail" alt="2" title="2" /></a>
<a href='http://bugsidea.com/2011/10/yu-yuan-tan-photo.html/1-2' title='1'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/10/1-150x150.jpg" class="attachment-thumbnail" alt="1" title="1" /></a>

]]></content:encoded>
			<wfw:commentRss>http://bugsidea.com/2011/10/yu-yuan-tan-photo.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DIY山寨版TN</title>
		<link>http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html</link>
		<comments>http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html#comments</comments>
		<pubDate>Sat, 20 Aug 2011 10:42:34 +0000</pubDate>
		<dc:creator>Ly</dc:creator>
				<category><![CDATA[Life Story]]></category>

		<guid isPermaLink="false">http://bugsidea.com/?p=285</guid>
		<description><![CDATA[Travelers Notebook非常好，但不舍得花400块买，既然皮子和工具都是现成的，那就抽空来DIY一下&#8230; 最终效果如下，绑线手法比较山寨，因为我没见过正版的TN，只看过图片。 制作步骤很简单：下料、打孔、穿绳&#8230; 从最终效果来看，皮面还是有点软，下一步打算对皮面进行圆角处理、封边、上硬化剂，对皮子进行适度地蹂躏，制造沧桑和肌理感:)]]></description>
			<content:encoded><![CDATA[<p>Travelers Notebook非常好，但不舍得花400块买，既然皮子和工具都是现成的，那就抽空来DIY一下&#8230;<br />
<a href="http://bugsidea.com/wp-content/uploads/2011/01/TN-1.jpg"><img src="http://bugsidea.com/wp-content/uploads/2011/01/TN-1.jpg" alt="" title="TN-1" width="600" height="450" class="alignnone size-full wp-image-329" /></a></p>
<p>最终效果如下，绑线手法比较山寨，因为我没见过正版的TN，只看过图片。<br />
<a href="http://bugsidea.com/wp-content/uploads/2011/01/TN-10.jpg"><img src="http://bugsidea.com/wp-content/uploads/2011/01/TN-10.jpg" alt="" title="TN-1" width="600" height="450" class="alignnone size-full wp-image-329" /></a></p>
<p>制作步骤很简单：下料、打孔、穿绳&#8230;<br />

<a href='http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/tn-1' title='TN-1'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/01/TN-1-150x150.jpg" class="attachment-thumbnail" alt="TN-1" title="TN-1" /></a>
<a href='http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/tn-2' title='TN-2'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/01/TN-2-150x150.jpg" class="attachment-thumbnail" alt="TN-2" title="TN-2" /></a>
<a href='http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/tn-3' title='TN-3'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/01/TN-3-150x150.jpg" class="attachment-thumbnail" alt="TN-3" title="TN-3" /></a>
<a href='http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/tn-4' title='TN-4'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/01/TN-4-150x150.jpg" class="attachment-thumbnail" alt="TN-4" title="TN-4" /></a>
<a href='http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/tn-5' title='TN-5'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/01/TN-5-150x150.jpg" class="attachment-thumbnail" alt="TN-5" title="TN-5" /></a>
<a href='http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/tn-6' title='TN-6'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/01/TN-6-150x150.jpg" class="attachment-thumbnail" alt="TN-6" title="TN-6" /></a>
<a href='http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/tn-7' title='TN-7'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/01/TN-7-150x150.jpg" class="attachment-thumbnail" alt="TN-7" title="TN-7" /></a>
<a href='http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/tn-8' title='TN-8'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/01/TN-8-150x150.jpg" class="attachment-thumbnail" alt="TN-8" title="TN-8" /></a>
<a href='http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/tn-9' title='TN-9'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/01/TN-9-150x150.jpg" class="attachment-thumbnail" alt="TN-9" title="TN-9" /></a>
<a href='http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/tn-10' title='TN-10'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/01/TN-10-150x150.jpg" class="attachment-thumbnail" alt="TN-10" title="TN-10" /></a>
<a href='http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/tn-11' title='TN-11'><img width="150" height="150" src="http://bugsidea.com/wp-content/uploads/2011/01/TN-11-150x150.jpg" class="attachment-thumbnail" alt="TN-11" title="TN-11" /></a>
</p>
<p>从最终效果来看，皮面还是有点软，下一步打算对皮面进行圆角处理、封边、上硬化剂，对皮子进行适度地蹂躏，制造沧桑和肌理感:)</p>
]]></content:encoded>
			<wfw:commentRss>http://bugsidea.com/2011/08/a-diy-leathercraft-travelers-notebook.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>更改PowerPoint 2011 for Mac的默认字体</title>
		<link>http://bugsidea.com/2011/04/how-to-change-powerpoint-2011-mac-default-font.html</link>
		<comments>http://bugsidea.com/2011/04/how-to-change-powerpoint-2011-mac-default-font.html#comments</comments>
		<pubDate>Thu, 07 Apr 2011 05:22:45 +0000</pubDate>
		<dc:creator>Ly</dc:creator>
				<category><![CDATA[Software Review]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[powerpoint]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[微软雅黑]]></category>

		<guid isPermaLink="false">http://bugsidea.com/?p=275</guid>
		<description><![CDATA[修改PowerPoint的默认字体有点费劲，修改PowerPoint文件内每一页的每个文字框的字体更费劲。 PowerPoint根本没有一个类似Word或Excel那样的默认字体设置选项，但是，因为PowerPoint幻灯片的字体是根据模板而定的，说到这里，有同学应该已经知道要如何搞定该死的PowerPoint的默认字体了。 答案就是：不要幻想去PowerPoint的默认字体，但可以自己制作或修改空白文件的PPT模板 还有另外一种方法，那就是抛弃PowerPoint，转用水果公司出品的史上最强大的幻灯片演示软件&#8212;Keynote，它确实是一个不错的选择。]]></description>
			<content:encoded><![CDATA[<p>修改PowerPoint的默认字体有点费劲，修改PowerPoint文件内每一页的每个文字框的字体更费劲。<br />
PowerPoint根本没有一个类似Word或Excel那样的默认字体设置选项，但是，因为PowerPoint幻灯片的字体是根据模板而定的，说到这里，有同学应该已经知道要如何搞定该死的PowerPoint的默认字体了。</p>
<p>答案就是：不要幻想去PowerPoint的默认字体，但可以自己制作或修改空白文件的PPT模板</p>
<p>还有另外一种方法，那就是抛弃PowerPoint，转用水果公司出品的史上最强大的幻灯片演示软件&#8212;Keynote，它确实是一个不错的选择。</p>
]]></content:encoded>
			<wfw:commentRss>http://bugsidea.com/2011/04/how-to-change-powerpoint-2011-mac-default-font.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>开源程序cliofetion的改造(一次登陆发多条短信)</title>
		<link>http://bugsidea.com/2011/02/cliofetion-read-txt-file-send-multi-fetion-sms.html</link>
		<comments>http://bugsidea.com/2011/02/cliofetion-read-txt-file-send-multi-fetion-sms.html#comments</comments>
		<pubDate>Mon, 07 Feb 2011 08:20:24 +0000</pubDate>
		<dc:creator>Ly</dc:creator>
				<category><![CDATA[OpenSource]]></category>

		<guid isPermaLink="false">http://bugsidea.com/?p=310</guid>
		<description><![CDATA[春节在家呆着也是呆着，顺便研究了一下cliofetion的源代码，发现飞信命令行程序每次登陆只能发一条短信，我照猫画虎改了改，改成登陆后待命，每5秒读一次fx_sms_pool.txt文件，有短信则自动发出，无需多次登陆，发送效率比较高。这样子和Web程序结合起来就比较方便些，更好的方式是单条短信生成txt文件到spool文件夹，然后C程序程序来扫描文件夹，可以避免文件读写冲突，我可以提供思路，期待C牛们来改改:) fx_sms_pool.txt我使用php来生成，放在指定位置，主要改造代码如下，写得比较糙，内行们别见笑:) int main() { int a = 0; if(fx_login("13800138000", "mypassword")){ return 1; } while(a == 0){ debug_info("Check SMS ..."); checkSms(); sleep(5); } return 0; } int checkSms(void) { int i=0; char ar[2][255]; FILE * fp; FILE * cfp; char content[255]; char *item; //open sms data file fp=fopen("/var/fx_sms_pool.txt","r"); if(sizeof(fgets(content,256,fp)) != 0){ while(fgets(content,256,fp)){ if(strlen(content)!=sizeof(content)-1){ content[strlen(content)-1] = [...]]]></description>
			<content:encoded><![CDATA[<p>春节在家呆着也是呆着，顺便研究了一下cliofetion的源代码，发现飞信命令行程序每次登陆只能发一条短信，我照猫画虎改了改，改成登陆后待命，每5秒读一次fx_sms_pool.txt文件，有短信则自动发出，无需多次登陆，发送效率比较高。这样子和Web程序结合起来就比较方便些，更好的方式是单条短信生成txt文件到spool文件夹，然后C程序程序来扫描文件夹，可以避免文件读写冲突，我可以提供思路，期待C牛们来改改:)</p>
<p>fx_sms_pool.txt我使用php来生成，放在指定位置，主要改造代码如下，写得比较糙，内行们别见笑:)<br />
<code><br />
int main()<br />
{<br />
	int a = 0;<br />
	if(fx_login("13800138000", "mypassword")){<br />
		return 1;<br />
	}<br />
	while(a == 0){<br />
		debug_info("Check SMS ...");<br />
		checkSms();<br />
		sleep(5);<br />
	}<br />
	return 0;<br />
}<br />
int checkSms(void) {<br />
	int i=0;<br />
	char ar[2][255];<br />
	FILE * fp;<br />
	FILE * cfp;<br />
	char content[255];<br />
	char *item;<br />
	//open sms data file<br />
	fp=fopen("/var/fx_sms_pool.txt","r");<br />
	if(sizeof(fgets(content,256,fp)) != 0){<br />
		while(fgets(content,256,fp)){<br />
			if(strlen(content)!=sizeof(content)-1){<br />
				content[strlen(content)-1] = '\0';<br />
			}<br />
			item = strtok(content,"#");<br />
			strcpy(ar[0],item);<br />
			item = strtok(NULL,"#");<br />
			strcpy(ar[1],item);<br />
			debug_info("Sending SMS to %s (%s)",ar[0],ar[1]);<br />
			//send sms...<br />
			if(send_message("13800138000", ar[0], ar[1])){<br />
				return 1;<br />
			}<br />
			sleep(5);<br />
		}<br />
		fclose(fp);<br />
		cfp=fopen("/var/fx_sms_pool.txt","w+");<br />
		fclose(cfp);<br />
	}else{<br />
		debug_info("No SMS data.");<br />
	}<br />
	memset(ar,0,sizeof(ar));<br />
	return 0;<br />
}<br />
</code><br />
这WP的代码标签居然不支持空行，Ft&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://bugsidea.com/2011/02/cliofetion-read-txt-file-send-multi-fetion-sms.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>在Linkstation上安装OpenFetion飞信命令行版本</title>
		<link>http://bugsidea.com/2011/02/install-command-line-openfetion-on-linkstation-debian-lenny.html</link>
		<comments>http://bugsidea.com/2011/02/install-command-line-openfetion-on-linkstation-debian-lenny.html#comments</comments>
		<pubDate>Thu, 03 Feb 2011 15:06:41 +0000</pubDate>
		<dc:creator>Ly</dc:creator>
				<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[cmake]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fetion]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[linkstation]]></category>
		<category><![CDATA[mips]]></category>
		<category><![CDATA[openfetion]]></category>

		<guid isPermaLink="false">http://bugsidea.com/?p=303</guid>
		<description><![CDATA[因为飞信协议升级的问题.已经无法使用之前的Perl版飞信.Libfetion又没有MIPS的版本，找来着去找到了openFetion。我的Linkstation(LS2)已经升级到Debian-lenny，可以直接apt-get来进行安装。 先安装支持库. apt-get install libxml2-dev apt-get install libsqlite3-dev apt-get install libxssl-dev 因为需要用到cmake.于是先安装cmake. apt-get install cmake 下载openfetion的cli版本.tar解压缩。 tar zxvf ./cliofetion-standalone-2.1.0.tar.gz cd cliofetion-standalone-2.1.0 mkdir build cd build cmake .. 过程中可能会提示缺少相关的支持库，用apt-get来安装即可。 cmake完成后，进行make install安装。 make install root@LinkStation:~/cliofetion-standalone-2.1.0/build# make install Scanning dependencies of target cliofetion [ 6%] Building C object CMakeFiles/cliofetion.dir/src/cliofetion.c.o [ 12%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_buddylist.c.o [ 18%] Building [...]]]></description>
			<content:encoded><![CDATA[<p>因为飞信协议升级的问题.已经无法使用之前的Perl版飞信.Libfetion又没有MIPS的版本，找来着去找到了<a href="http://code.google.com/p/ofetion/">openFetion</a>。我的<a href="/2007/06/linkstation_debian_diag_e2fsk.html">Linkstation(LS2)</a>已经升级到Debian-lenny，可以直接apt-get来进行安装。</p>
<p>先安装支持库.<br />
<code>apt-get install libxml2-dev<br />
apt-get install libsqlite3-dev<br />
apt-get install libxssl-dev</code></p>
<p>因为需要用到cmake.于是先安装cmake.<br />
<code>apt-get install cmake</code></p>
<p>下载<a href="http://code.google.com/p/ofetion/">openfetion</a>的cli版本.tar解压缩。<br />
<code>tar zxvf ./cliofetion-standalone-2.1.0.tar.gz<br />
cd cliofetion-standalone-2.1.0<br />
mkdir build<br />
cd build<br />
cmake ..</code></p>
<p>过程中可能会提示缺少相关的支持库，用apt-get来安装即可。<br />
cmake完成后，进行make install安装。<br />
<code>make install<br />
root@LinkStation:~/cliofetion-standalone-2.1.0/build# make install<br />
Scanning dependencies of target cliofetion<br />
[  6%] Building C object CMakeFiles/cliofetion.dir/src/cliofetion.c.o<br />
[ 12%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_buddylist.c.o<br />
[ 18%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_config.c.o<br />
[ 25%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_connection.c.o<br />
[ 31%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_contact.c.o<br />
[ 37%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_conversation.c.o<br />
[ 43%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_debug.c.o<br />
[ 50%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_directsms.c.o<br />
[ 56%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_group.c.o<br />
[ 62%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_history.c.o<br />
[ 68%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_list.c.o<br />
[ 75%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_login.c.o<br />
[ 81%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_message.c.o<br />
[ 87%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_share.c.o<br />
[ 93%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_sip.c.o<br />
[100%] Building C object CMakeFiles/cliofetion.dir/lib/fetion_user.c.o<br />
Linking C executable cliofetion<br />
[100%] Built target cliofetion<br />
Install the project...<br />
-- Install configuration: ""<br />
-- Installing: /usr/local/share/openfetion/resource/city.xml<br />
-- Installing: /usr/local/share/openfetion/resource/province.xml<br />
-- Installing: /usr/local/bin/cliofetion<br />
</code></p>
<p>编译成功，给自己发条短信，测试<a href="http://code.google.com/p/ofetion/">openfetion</a>是否可以正常运行:<br />
<code>root@LinkStation:~/cliofetion-standalone-2.1.0/build# cliofetion -f 150010xxxxx -p password -t 150010xxxxx -d test<br />
[22:55:21]  Set a initialized Config Struct to User<br />
[22:55:21]  Initialize ssi authentication action<br />
[22:55:21]  Start ssi login with v3Temp password , user number 150010xxxxx<br />
[22:55:21]  SSI login success<br />
[22:55:22]  Load user information<br />
[22:55:22]  Load user information<br />
[22:55:22]  Load contact list<br />
[22:55:22]  Set a initialized Sip Struct to User<br />
[22:55:22]  Initialize sipc registeration action<br />
[22:55:22]  Start registering to sip server(115.181.16.66:8080)<br />
[22:55:22]  Register to sip server success<br />
[22:55:22]  nonce:158816BD530A386D542DA01.....<br />
[22:55:22]  Start encrypting response<br />
[22:55:22]  Encrypting reponse success<br />
[22:55:22]  Initialize sipc authencation action<br />
[22:55:22]  Start sipc authentication , with ak-value<br />
[22:55:23]  Got sipc response<br />
[22:55:23]  Sipc authentication success<br />
[22:55:23]  Start reading contact list<br />
[22:55:23]  Read contact list complete<br />
[22:55:23]  Save user information<br />
[22:55:23]  Save contact list<br />
[22:55:23]  Save contact list successfully<br />
[22:55:23]  Sent a message to myself<br />
[22:55:23]  Free sip struct and close socket</code></p>
<p>短信瞬间收到，搞定，收工！<a href="/2007/06/linkstation_debian_diag_e2fsk.html">LinkStation</a>又可以开始发挥余热了:)</p>
]]></content:encoded>
			<wfw:commentRss>http://bugsidea.com/2011/02/install-command-line-openfetion-on-linkstation-debian-lenny.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>小刘同学在北京</title>
		<link>http://bugsidea.com/2011/01/yangu-beijing-2011.html</link>
		<comments>http://bugsidea.com/2011/01/yangu-beijing-2011.html#comments</comments>
		<pubDate>Tue, 18 Jan 2011 02:31:02 +0000</pubDate>
		<dc:creator>Ly</dc:creator>
				<category><![CDATA[Life Story]]></category>

		<guid isPermaLink="false">http://bugsidea.com/?p=295</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://bugsidea.com/wp-content/uploads/2011/01/P1010290.jpg"><img src="http://bugsidea.com/wp-content/uploads/2011/01/P1010290.jpg" alt="" title="P1010290" width="480" height="640" class="alignnone size-full wp-image-296" /></a></p>
<p><a href="http://bugsidea.com/wp-content/uploads/2011/01/P1010284.jpg"><img src="http://bugsidea.com/wp-content/uploads/2011/01/P1010284.jpg" alt="" title="P1010284" width="640" height="480" class="alignnone size-full wp-image-298" /></a></p>
<p><a href="http://bugsidea.com/wp-content/uploads/2011/01/P1010256.jpg"><img src="http://bugsidea.com/wp-content/uploads/2011/01/P1010256.jpg" alt="" title="P1010256" width="640" height="480" class="alignnone size-full wp-image-297" /></a></p>
<p><a href="http://bugsidea.com/wp-content/uploads/2011/01/P1010250.jpg"><img src="http://bugsidea.com/wp-content/uploads/2011/01/P1010250.jpg" alt="" title="P1010250" width="480" height="640" class="alignnone size-full wp-image-296" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://bugsidea.com/2011/01/yangu-beijing-2011.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>做了个小手工</title>
		<link>http://bugsidea.com/2011/01/a-little-handwork.html</link>
		<comments>http://bugsidea.com/2011/01/a-little-handwork.html#comments</comments>
		<pubDate>Thu, 06 Jan 2011 02:59:32 +0000</pubDate>
		<dc:creator>Ly</dc:creator>
				<category><![CDATA[Life Story]]></category>

		<guid isPermaLink="false">http://bugsidea.com/?p=286</guid>
		<description><![CDATA[一个小牛皮的工具包，用时3小时。发现自己的手工技艺不减当年啊，呵呵～ 从现在起，做一个手艺人:)]]></description>
			<content:encoded><![CDATA[<p>一个小牛皮的工具包，用时3小时。发现自己的手工技艺不减当年啊，呵呵～<br />
从现在起，做一个手艺人:)</p>
<p><img src="http://bugsidea.com/wp-content/uploads/2011/01/P1010022.jpg" alt="" title="P1010022" width="600" height="450" class="alignnone size-full wp-image-291" /></p>
<p><img src="http://bugsidea.com/wp-content/uploads/2011/01/P1010025.jpg" alt="" title="P1010025" width="600" height="450" class="alignnone size-full wp-image-291" /></p>
<p><img src="http://bugsidea.com/wp-content/uploads/2011/01/P1010026.jpg" alt="" title="P1010026" width="600" height="450" class="alignnone size-full wp-image-291" /></p>
<p><img src="http://bugsidea.com/wp-content/uploads/2011/01/P1010028.jpg" alt="" title="P1010028" width="600" height="450" class="alignnone size-full wp-image-291" /></p>
<p><img src="http://bugsidea.com/wp-content/uploads/2011/01/P1010029.jpg" alt="" title="P1010029" width="600" height="450" class="alignnone size-full wp-image-291" /></p>
]]></content:encoded>
			<wfw:commentRss>http://bugsidea.com/2011/01/a-little-handwork.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>更改Excel 2011 for Mac的默认字体</title>
		<link>http://bugsidea.com/2010/12/how-to-change-excel-2011-mac-default-font.html</link>
		<comments>http://bugsidea.com/2010/12/how-to-change-excel-2011-mac-default-font.html#comments</comments>
		<pubDate>Fri, 03 Dec 2010 04:55:36 +0000</pubDate>
		<dc:creator>Ly</dc:creator>
				<category><![CDATA[Software Review]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[微软雅黑]]></category>

		<guid isPermaLink="false">http://bugsidea.com/?p=273</guid>
		<description><![CDATA[作为一个雅黑字体控，除了将雅黑设为Mac系统默认字体之外，Word也已经将雅黑设为默认字体，Excel默认字体当然也不能例外，让我们来看看如何搞定Excel的默认字体。 打开Excel 2011，打开设置面板，点击General 保存后退出，下次新建Excel文件时就已经生效。]]></description>
			<content:encoded><![CDATA[<p>作为一个雅黑字体控，除了将雅黑设为Mac系统默认字体之外，Word也已经将雅黑设为默认字体，Excel默认字体当然也不能例外，让我们来看看如何搞定Excel的默认字体。<br />
打开Excel 2011，打开设置面板，点击General<br />
<a href="http://bugsidea.com/wp-content/uploads/2010/12/change-excel-defaut-font.png"><img src="http://bugsidea.com/wp-content/uploads/2010/12/change-excel-defaut-font.png" alt="" title="change-excel-defaut-font" width="530" height="690" class="alignnone size-full wp-image-280" /></a></p>
<p>保存后退出，下次新建Excel文件时就已经生效。</p>
]]></content:encoded>
			<wfw:commentRss>http://bugsidea.com/2010/12/how-to-change-excel-2011-mac-default-font.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>更改Word 2011 for Mac的默认字体</title>
		<link>http://bugsidea.com/2010/12/how-to-change-word-2011-mac-default-font.html</link>
		<comments>http://bugsidea.com/2010/12/how-to-change-word-2011-mac-default-font.html#comments</comments>
		<pubDate>Thu, 02 Dec 2010 10:09:23 +0000</pubDate>
		<dc:creator>Ly</dc:creator>
				<category><![CDATA[Software Review]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[word]]></category>
		<category><![CDATA[微软雅黑]]></category>

		<guid isPermaLink="false">http://bugsidea.com/?p=265</guid>
		<description><![CDATA[应为众所周知的原因，Office 2011 Mac版没有官方中文语言版，估计以后也不会有。因为对中文支持较差，所以有必要对Office进行一点小设置，让我们编辑文档的时候变得更舒服一点，这里我给大家介绍一下如何修改默认字体。 1.Word 2011 for Mac 打开Word 2011，新建一个空白文档，按Command+D键调出Font设置面板。将Asian Font改为您想要的默认字体，点击左下角的Default按钮，然后保存。 使用微软雅黑作为默认字体有一个毛病，就是行距非常不好调整，为此，我们还需要改一个地方，切换到Font面板的Advance选项卡，取消勾选&#8221;Snap to grid when document grid is define&#8221;。 然后，新建文件，并使用微软雅黑作为默认字体的时候，就不会出现行距失控、无法调节的问题了。]]></description>
			<content:encoded><![CDATA[<p>应为众所周知的原因，Office 2011 Mac版没有官方中文语言版，估计以后也不会有。因为对中文支持较差，所以有必要对Office进行一点小设置，让我们编辑文档的时候变得更舒服一点，这里我给大家介绍一下如何修改默认字体。</p>
<p>1.Word 2011 for Mac<br />
打开Word 2011，新建一个空白文档，按Command+D键调出Font设置面板。将Asian Font改为您想要的默认字体，点击左下角的Default按钮，然后保存。<br />
<a href="http://bugsidea.com/wp-content/uploads/2010/12/change-word-default-font-2.png"><img src="http://bugsidea.com/wp-content/uploads/2010/12/change-word-default-font-2.png" alt="" title="change-word-default-font-2" width="561" height="624" class="alignnone size-full wp-image-268" /></a></p>
<p>使用微软雅黑作为默认字体有一个毛病，就是行距非常不好调整，为此，我们还需要改一个地方，切换到Font面板的Advance选项卡，取消勾选&#8221;Snap to grid when document grid is define&#8221;。</p>
<p><a href="http://bugsidea.com/wp-content/uploads/2010/12/change-word-default-font-1.png"><img src="http://bugsidea.com/wp-content/uploads/2010/12/change-word-default-font-1.png" alt="" title="change-word-default-font-1" width="561" height="623" class="alignnone size-full wp-image-268" /></a></p>
<p>然后，新建文件，并使用微软雅黑作为默认字体的时候，就不会出现行距失控、无法调节的问题了。</p>
]]></content:encoded>
			<wfw:commentRss>http://bugsidea.com/2010/12/how-to-change-word-2011-mac-default-font.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

