<?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>missing idea</title>
	<atom:link href="http://blog.donews.com/jackqq/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.donews.com/jackqq</link>
	<description>read the fscking manual</description>
	<lastBuildDate>Fri, 02 Sep 2011 05:41:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting up net-mgmt/cacti</title>
		<link>http://blog.donews.com/jackqq/archive/2011/09/02/511.aspx</link>
		<comments>http://blog.donews.com/jackqq/archive/2011/09/02/511.aspx#comments</comments>
		<pubDate>Fri, 02 Sep 2011 05:41:48 +0000</pubDate>
		<dc:creator>jackqq</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[BSD]]></category>
		<category><![CDATA[flow]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[snmp]]></category>

		<guid isPermaLink="false">http://jackqq.wordpress.com/?p=511</guid>
		<description><![CDATA[Cacti is a network device monitor and graphing tool utilizing SNMP and RRDtool.
Procedures to set up:

install ports: net-mgmt/cacti, net-mgmt/cacti-spine
install fastcgi for apache: www/mod_fcgid
follow instructions from &#8216;pkg_info -Dx cacti&#8217;
configure apache22, see cheatsheet:apache php mod_fcgid
enable mysql and apache22 in /etc/rc.conf
mysql_enable=yes
apache22_enable=yes
apache22_profiles="01"
apache22_01_configfile="/usr/local/etc/apache22/httpd.01.conf"
start services

Procedures to kick start:

(Navigation Sidebar) Devices, Add. Host Template = Generic SNMP (for 3Com switches).
(Device page) Create [...]]]></description>
			<content:encoded><![CDATA[<p>Cacti is a network device monitor and graphing tool utilizing SNMP and RRDtool.</p>
<p>Procedures to set up:</p>
<ol>
<li>install ports: net-mgmt/cacti, net-mgmt/cacti-spine</li>
<li>install fastcgi for apache: www/mod_fcgid</li>
<li>follow instructions from &#8216;pkg_info -Dx cacti&#8217;</li>
<li>configure apache22, see cheatsheet:<a href="/cheatsheets/freebsd/apache/">apache</a> php mod_fcgid</li>
<li>enable mysql and apache22 in /etc/rc.conf</li>
<pre>mysql_enable=yes
apache22_enable=yes
apache22_profiles="01"
apache22_01_configfile="/usr/local/etc/apache22/httpd.01.conf"</pre>
<li>start services</li>
</ol>
<p>Procedures to kick start:</p>
<ol>
<li>(Navigation Sidebar) Devices, Add. Host Template = Generic SNMP (for 3Com switches).</li>
<li>(Device page) Create Graphs for this Host. Graph Types = All (or SNMP). Multi-select items to draw graphs for.</li>
<li>(Navigation Sidebar) Graph Trees, Add. Tree Item Type = Host.</li>
<li>wait for 5 mins, or <code>php poller.php --force</code>. Watch &#8230;/cacti/log/cacti.log.</li>
<li>(Top) graphs.</li>
</ol>
<p>Voila!</p>
<hr />
Custom settings:</p>
<ul>
<li>Graph Template, Traffic:</li>
<ul>
<li>Auto Scale: no</li>
<li>Per-Graph Auto Scale: yes</li>
<li>Rigid Boundaries: no</li>
<li>Upper Limit: 10000000</li>
</ul>
<li>Settings, Poller:</li>
<ul>
<li>Poller Type: spine</li>
<li>Max Threads Per Process: 4</li>
</ul>
<li>Settings, Visual</li>
<ul>
<li>Font Size: Axis = 7, Unit = 8, Legend = 8, Title = 10</li>
<li>Font Name: Bitstream Vera Sans Normal (or Mono)</li>
</ul>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/jackqq/archive/2011/09/02/511.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome 的离线数据</title>
		<link>http://blog.donews.com/jackqq/archive/2011/09/01/493.aspx</link>
		<comments>http://blog.donews.com/jackqq/archive/2011/09/01/493.aspx#comments</comments>
		<pubDate>Thu, 01 Sep 2011 05:46:06 +0000</pubDate>
		<dc:creator>jackqq</dc:creator>
				<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://jackqq.wordpress.com/?p=493</guid>
		<description><![CDATA[Google Chrome 浏览器一直支持本地存储。现在 Google 又重新支持了离线的 Gmail，将来还可能支持 Calendar。这样一来，邮件、日历、联系人等等都会缓存在本地磁盘上。
这些数据存储在一些 SQLite 数据库里，它们的位置是：

以前用 Gears 时，在 [chromeuser]\Plugin Data\Google Gears 里。
现在用 HTML5 时，在 [chromeuser]\databases 里。

其中 [chromeuser] 即用户数据目录，一般位于 %localappdata%\Google\Chrome\User Data\Default。
要保护这些数据，就应对数据库位置配置权限或加密。
]]></description>
			<content:encoded><![CDATA[<p>Google Chrome 浏览器一直支持本地存储。<a href="http://www.36kr.com/p/44212.html">现在 Google 又重新支持了离线的 Gmail，将来还可能支持 Calendar。</a>这样一来，邮件、日历、联系人等等都会缓存在本地磁盘上。</p>
<p>这些数据存储在一些 SQLite 数据库里，它们的位置是：</p>
<ul>
<li>以前用 Gears 时，在 <code>[chromeuser]\Plugin Data\Google Gears</code> 里。</li>
<li>现在用 HTML5 时，在 <code>[chromeuser]\databases</code> 里。</li>
</ul>
<p>其中 <code>[chromeuser]</code> 即用户数据目录，一般位于 <code>%localappdata%\Google\Chrome\User Data\Default</code>。</p>
<p>要保护这些数据，就应对数据库位置配置权限或加密。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/jackqq/archive/2011/09/01/493.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTC Desire S 调试界面</title>
		<link>http://blog.donews.com/jackqq/archive/2011/08/29/486.aspx</link>
		<comments>http://blog.donews.com/jackqq/archive/2011/08/29/486.aspx#comments</comments>
		<pubDate>Sun, 28 Aug 2011 16:29:19 +0000</pubDate>
		<dc:creator>jackqq</dc:creator>
				<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://jackqq.wordpress.com/?p=486</guid>
		<description><![CDATA[HTC Desire S 调试界面。在电话拨号界面中用拨号键输入以下序列：

*#*#info#*#* 手机信息、电池信息等
*#*#diag#*#* 诊断工具：灯、屏幕、按键等

注： info = 4636;  diag = 3424
参考：HTC购买注意事项
]]></description>
			<content:encoded><![CDATA[<p>HTC Desire S 调试界面。在电话拨号界面中用拨号键输入以下序列：</p>
<ul>
<li>*#*#info#*#* 手机信息、电池信息等</li>
<li>*#*#diag#*#* 诊断工具：灯、屏幕、按键等</li>
</ul>
<p>注： info = 4636;  diag = 3424</p>
<p>参考：<a href="http://htc.zol.com.cn/35/33080_347868.html">HTC购买注意事项</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/jackqq/archive/2011/08/29/486.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>portsnap on FreeBSD 8.1</title>
		<link>http://blog.donews.com/jackqq/archive/2011/08/16/451.aspx</link>
		<comments>http://blog.donews.com/jackqq/archive/2011/08/16/451.aspx#comments</comments>
		<pubDate>Tue, 16 Aug 2011 02:20:32 +0000</pubDate>
		<dc:creator>jackqq</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[BSD]]></category>
		<category><![CDATA[configuration]]></category>

		<guid isPermaLink="false">http://jackqq.wordpress.com/?p=451</guid>
		<description><![CDATA[Running portsnap(8) on FreeBSD 8.1-RELEASE requires 256MB system RAM to avoid any &#8216;Killed&#8217; process. Memory requirement may increase for a server running daemon processes.
]]></description>
			<content:encoded><![CDATA[<p>Running <a href="http://www.freebsd.org/cgi/man.cgi?query=portsnap&amp;apropos=0&amp;sektion=0&amp;manpath=FreeBSD+8.1-RELEASE&amp;format=html" target="_blank">portsnap(8)</a> on FreeBSD 8.1-RELEASE requires 256MB system RAM to avoid any &#8216;Killed&#8217; process. Memory requirement may increase for a server running daemon processes.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/jackqq/archive/2011/08/16/451.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting ISO on FreeBSD</title>
		<link>http://blog.donews.com/jackqq/archive/2011/08/16/425.aspx</link>
		<comments>http://blog.donews.com/jackqq/archive/2011/08/16/425.aspx#comments</comments>
		<pubDate>Mon, 15 Aug 2011 16:48:41 +0000</pubDate>
		<dc:creator>jackqq</dc:creator>
				<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[BSD]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://jackqq.wordpress.com/?p=425</guid>
		<description><![CDATA[# mdconfig -a -t vnode -f /path/to/file.iso
md0
# mount_cd9660 -o ro /dev/md0 /mount-point
]]></description>
			<content:encoded><![CDATA[<pre># mdconfig -a -t vnode -f /path/to/file.iso
md0
# mount_cd9660 -o ro /dev/md0 /mount-point</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/jackqq/archive/2011/08/16/425.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test DHCP server using nmap</title>
		<link>http://blog.donews.com/jackqq/archive/2011/08/16/422.aspx</link>
		<comments>http://blog.donews.com/jackqq/archive/2011/08/16/422.aspx#comments</comments>
		<pubDate>Mon, 15 Aug 2011 16:46:33 +0000</pubDate>
		<dc:creator>jackqq</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[nmap]]></category>

		<guid isPermaLink="false">http://jackqq.wordpress.com/?p=422</guid>
		<description><![CDATA[Test DHCP server using nmap:
nmap -n -sU -p67 --script=dhcp-discover.nse dhcp.server.address
]]></description>
			<content:encoded><![CDATA[<p>Test DHCP server using nmap:</p>
<pre>nmap -n -sU -p67 --script=dhcp-discover.nse dhcp.server.address</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/jackqq/archive/2011/08/16/422.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building Internet performance benchmark tools on Ubuntu</title>
		<link>http://blog.donews.com/jackqq/archive/2011/08/16/411.aspx</link>
		<comments>http://blog.donews.com/jackqq/archive/2011/08/16/411.aspx#comments</comments>
		<pubDate>Mon, 15 Aug 2011 16:32:24 +0000</pubDate>
		<dc:creator>jackqq</dc:creator>
				<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://jackqq.wordpress.com/?p=411</guid>
		<description><![CDATA[1/1/10
install packages on Server: binutils, gcc, libssl-dev
install packages on Desktop: patch, libssl-dev
building dnsperf on Ubuntu
install packages on Desktop: libbind-dev, libkrb5-dev, libssl-dev, libcap-dev, libxml2-dev
]]></description>
			<content:encoded><![CDATA[<p>1/1/10</p>
<p>install packages on Server: binutils, gcc, libssl-dev<br />
install packages on Desktop: patch, libssl-dev</p>
<p>building dnsperf on Ubuntu</p>
<p>install packages on Desktop: libbind-dev, libkrb5-dev, libssl-dev, libcap-dev, libxml2-dev</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/jackqq/archive/2011/08/16/411.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>拆装 SONY 小本 VGN-T17C/S</title>
		<link>http://blog.donews.com/jackqq/archive/2011/08/16/407.aspx</link>
		<comments>http://blog.donews.com/jackqq/archive/2011/08/16/407.aspx#comments</comments>
		<pubDate>Mon, 15 Aug 2011 16:17:15 +0000</pubDate>
		<dc:creator>jackqq</dc:creator>
				<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[sony]]></category>

		<guid isPermaLink="false">http://jackqq.wordpress.com/?p=407</guid>
		<description><![CDATA[2011-02-17
拆装了很老的 SONY 小本 VGN-T17C/S，为了拆它的内存，终于发现原来它的原装内存是焊在主板上的，只能加不能拆，而且显然不是常规的笔记本内存。还发现要看内存只需把键盘拆下来就行，拆键盘需要拧背面的三个螺丝，箭头尾部有个黑点，然后翻过来机身正面，键盘顶部有两个小卡子，翘起来抽出即可。键盘下面、转轴左边还有螺丝，是拆机壳用的。
]]></description>
			<content:encoded><![CDATA[<p>2011-02-17<br />
拆装了很老的 SONY 小本 VGN-T17C/S，为了拆它的内存，终于发现原来它的原装内存是焊在主板上的，只能加不能拆，而且显然不是常规的笔记本内存。还发现要看内存只需把键盘拆下来就行，拆键盘需要拧背面的三个螺丝，箭头尾部有个黑点，然后翻过来机身正面，键盘顶部有两个小卡子，翘起来抽出即可。键盘下面、转轴左边还有螺丝，是拆机壳用的。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/jackqq/archive/2011/08/16/407.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在 Google Calendar 中搜索</title>
		<link>http://blog.donews.com/jackqq/archive/2011/08/16/405.aspx</link>
		<comments>http://blog.donews.com/jackqq/archive/2011/08/16/405.aspx#comments</comments>
		<pubDate>Mon, 15 Aug 2011 16:10:22 +0000</pubDate>
		<dc:creator>jackqq</dc:creator>
				<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://jackqq.wordpress.com/?p=405</guid>
		<description><![CDATA[要在 Google Calendar 里搜索带中文的事件，只需要加上半角的引号即可。
http://www.google.com/support/forum/p/Calendar/thread?tid=2d9a637130e5fbed&#38;hl=en
]]></description>
			<content:encoded><![CDATA[<p>要在 Google Calendar 里搜索带中文的事件，只需要加上半角的引号即可。<br />
<a href="http://www.google.com/support/forum/p/Calendar/thread?tid=2d9a637130e5fbed&amp;hl=en">http://www.google.com/support/forum/p/Calendar/thread?tid=2d9a637130e5fbed&amp;hl=en</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/jackqq/archive/2011/08/16/405.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offline Maps on mobile devices</title>
		<link>http://blog.donews.com/jackqq/archive/2011/08/12/371.aspx</link>
		<comments>http://blog.donews.com/jackqq/archive/2011/08/12/371.aspx#comments</comments>
		<pubDate>Fri, 12 Aug 2011 15:55:17 +0000</pubDate>
		<dc:creator>jackqq</dc:creator>
				<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[map]]></category>

		<guid isPermaLink="false">http://jackqq.wordpress.com/?p=371</guid>
		<description><![CDATA[Creating: TrekBuddy_Atlas_Creator_1.6_final_SQLite
Android application: RMaps
]]></description>
			<content:encoded><![CDATA[<p>Creating: TrekBuddy_Atlas_Creator_1.6_final_SQLite</p>
<p>Android application: RMaps</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/jackqq/archive/2011/08/12/371.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.291 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-11 14:03:22 -->
<!-- Compression = gzip -->
