<?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>Ideas</title>
	<atom:link href="http://ideas.spkcn.com/feed" rel="self" type="application/rss+xml" />
	<link>http://ideas.spkcn.com</link>
	<description>Simplicity, The soul of design</description>
	<lastBuildDate>Wed, 09 May 2012 10:59:04 +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>使用gperftools优化Nginx和MySQL内存管理</title>
		<link>http://ideas.spkcn.com/software/os/linux/342.html</link>
		<comments>http://ideas.spkcn.com/software/os/linux/342.html#comments</comments>
		<pubDate>Wed, 09 May 2012 10:59:04 +0000</pubDate>
		<dc:creator>Ideas</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[gperftools]]></category>
		<category><![CDATA[优化]]></category>

		<guid isPermaLink="false">http://ideas.spkcn.com/?p=342</guid>
		<description><![CDATA[Google 开发的 gperftools 包含四个工具，分别是：TCMalloc、heap-checker、heap-profiler 和 cpu-profiler，TCMalloc是 gperftools 的其中一个工具，用于优化C++写的多线程应用，与标准的glibc库的malloc相比，TCMalloc在内存的分配效率和速度要高，可以在高并发的情况下很好的控制内存的使用，提高服务器的性能，降低负载。 使用 TCMalloc 优化 Nginx 和 MySQL 的内存管理，性能将会有一定程度的提升，特别是对MYSQL服务器高并发下情况下的性能。 安装 libunwind 库 如果系统是64位的需要先安装libunwind库，32位系统则不需要安装。 libunwind 库为基于64位CPU和操作系统的程序提供了基本的堆栈辗转开解功能，其中包括用于输出堆栈跟踪的API、用于以编程方式辗转开解堆栈的API以及支持C++异常处理机制的API。 wget http://download.savannah.gnu.org/releases/libunwind/libunwind-1.0.1.tar.gz tar -zxvf libunwind-1.0.1.tar.gz cd libunwind-1.0.1/ CFLAGS=-fPIC ./configure make CFLAGS=-fPIC make CFLAGS=-fPIC install cd ../ gperftools 的安装 gperftools 项目网站 http://code.google.com/p/gperftools/ wget http://gperftools.googlecode.com/files/gperftools-2.0.tar.gz tar -zxvf gperftools-2.0.tar.gz cd gperftools-2.0 ./configure --prefix=/usr/local --enable-frame-pointers make make install [...]]]></description>
		<wfw:commentRss>http://ideas.spkcn.com/software/os/linux/342.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS自定义字体</title>
		<link>http://ideas.spkcn.com/technology/web/325.html</link>
		<comments>http://ideas.spkcn.com/technology/web/325.html#comments</comments>
		<pubDate>Mon, 28 Nov 2011 07:46:34 +0000</pubDate>
		<dc:creator>Ideas</dc:creator>
				<category><![CDATA[网页]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[字体]]></category>

		<guid isPermaLink="false">http://ideas.spkcn.com/?p=325</guid>
		<description><![CDATA[当用户的系统字体库中没有网页预先设置的字体时，使用下面代码就可以在用户的系统中正常显示不存在的字体。 @font-face{ font-family:"字体名称"; src:url("字体文件.eot"); } 生成EOT字体文件： 1. 使用ttf2eot。 下载地址：http://code.google.com/p/ttf2eot/ ttf2eot 是一个开源项目。支持Linux和Windows的环境，能够快速的生成EOT文件。 2. Microsoft WEFT 下载地址：http://www.microsoft.com/typography/FreeToolsOverview.mspx Microsoft WEFT是微软推出的用来解决网页字体问题的软件。软件能够分析网页中调用了哪些字体，然后从系统中选择对应的字体进行转换，生成的EOT文件，也会根据页面中用到的字体情况进行缩减，所以生成的文件比较小。]]></description>
		<wfw:commentRss>http://ideas.spkcn.com/technology/web/325.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>css浏览器兼容方法</title>
		<link>http://ideas.spkcn.com/technology/web/318.html</link>
		<comments>http://ideas.spkcn.com/technology/web/318.html#comments</comments>
		<pubDate>Sat, 26 Nov 2011 18:47:39 +0000</pubDate>
		<dc:creator>Ideas</dc:creator>
				<category><![CDATA[网页]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[兼容]]></category>

		<guid isPermaLink="false">http://ideas.spkcn.com/?p=318</guid>
		<description><![CDATA[通过条件判断引入样式表 在 IE 浏览器中通过条件注释语句加载指定的不同CSS样式表，而其他非 IE 内核浏览器则自动忽略注释。 &#60;!--[if IE 8]&#62;&#60;link rel="stylesheet" href="ie8.css"&#62;&#60;![endif]--&#62; &#60;!--[if IE 7]&#62;&#60;link rel="stylesheet" href="ie7.css"&#62;&#60;![endif]--&#62; &#60;!--[if IE 6]&#62;&#60;link rel="stylesheet" href="ie6.css"&#62;&#60;![endif]--&#62; 这段代码 IE8、IE7、IE6 会加载各自对应的样式文件。 CSS Hacks 能解决问题但不符合W3C规范 _selector{property:value;} //IE6 *selector{property:value;} //IE6 IE7 selector{property:value\9;} //IE6 IE7 IE8 通过条件判断插入指定类 为不同 IE 版本设置样式的类 &#60;!--[if !IE]&#62;&#60;html&#62;&#60;![endif]--&#62; // 非 IE 浏览器的情况，不添加任何作用类 &#60;!--[if IE 6]&#62;&#60;html class="ie6"&#62;&#60;![endif]--&#62; &#60;!--[if IE 7]&#62;&#60;html class="ie7"&#62;&#60;![endif]--&#62; &#60;!--[if [...]]]></description>
		<wfw:commentRss>http://ideas.spkcn.com/technology/web/318.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux 生成随机密码</title>
		<link>http://ideas.spkcn.com/technology/314.html</link>
		<comments>http://ideas.spkcn.com/technology/314.html#comments</comments>
		<pubDate>Mon, 31 Oct 2011 12:11:08 +0000</pubDate>
		<dc:creator>Ideas</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[密码]]></category>

		<guid isPermaLink="false">http://ideas.spkcn.com/?p=314</guid>
		<description><![CDATA[Linux shell 随机密码生成简单方法 date +%s &#124; md5sum &#124; base64 &#124; head -c 12;echo openssl rand -base64 32 tr -dc a-zA-Z0-9_ < /dev/urandom &#124; head -c 12 &#124; xargs]]></description>
		<wfw:commentRss>http://ideas.spkcn.com/technology/314.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QUICKWEB XEN 和 OPENVZ VPS 购买链接</title>
		<link>http://ideas.spkcn.com/source/297.html</link>
		<comments>http://ideas.spkcn.com/source/297.html#comments</comments>
		<pubDate>Tue, 20 Sep 2011 05:38:07 +0000</pubDate>
		<dc:creator>Ideas</dc:creator>
				<category><![CDATA[资源]]></category>
		<category><![CDATA[quickweb]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://ideas.spkcn.com/?p=297</guid>
		<description><![CDATA[QUICKWEB OPENVZ 年付 35.88 USD/year VPS 购买链接： OPENVZ/SolusVM/Linux 1 x Intel Xeon CPU Core 256MB RAM 384MB Burst 10GB Storage 250GB Bandwidth 10Mbit Port 1 x IPv4 address 不同数据中心： 1. Phoenix AZ 2. Los Angeles CA 3. Dusseldorf Germany 4. London UK 5. Florida QUICKWEB OPENVZ 年付 23.88 USD/year VPS 购买链接： OPENVZ/SolusVM/Linux 1 x Intel [...]]]></description>
		<wfw:commentRss>http://ideas.spkcn.com/source/297.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

