<?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>黑与白</title>
	<atom:link href="http://www.isallan.com/index.php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.isallan.com</link>
	<description></description>
	<lastBuildDate>Wed, 07 Mar 2012 08:59:05 +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>redis 配置文件中文解释</title>
		<link>http://www.isallan.com/index.php/archives/510</link>
		<comments>http://www.isallan.com/index.php/archives/510#comments</comments>
		<pubDate>Wed, 07 Mar 2012 08:59:05 +0000</pubDate>
		<dc:creator>allan</dc:creator>
				<category><![CDATA[it]]></category>

		<guid isPermaLink="false">http://www.isallan.com/?p=510</guid>
		<description><![CDATA[redis.conf配置选项如下： daemonize 是否以后台进程运行，默认为no pidfile 如以后台进程运行，则需指定一个pid，默认为/var/run/redis.pid bind 绑定主机IP，默认值为127.0.0.1（注释） port 监听端口，默认为6379 timeout 超时时间，默认为300（秒） loglevel 日志记录等级，有4个可选值，debug，verbose（默认值），notice，warning logfile 日志记录方式，默认值为stdout databases 可用数据库数，默认值为16，默认数据库为0 save 指出在多长时间内，有多少次更新操作，就将数据同步到数据文件。这个可以多个条件配合，比如默认配置文件中的设置，就设置了三个条件。 save 900 1 900秒（15分钟）内至少有1个key被改变 save 300 10 300秒（5分钟）内至少有300个key被改变 save 60 10000 60秒内至少有10000个key被改变 rdbcompression 存储至本地数据库时是否压缩数据，默认为yes dbfilename 本地数据库文件名，默认值为dump.rdb dir 本地数据库存放路径，默认值为 ./ slaveof 当本机为从服务时，设置主服务的IP及端口（注释） &#8230; <a href="http://www.isallan.com/index.php/archives/510">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.isallan.com/index.php/archives/510/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>转一个netstat的</title>
		<link>http://www.isallan.com/index.php/archives/507</link>
		<comments>http://www.isallan.com/index.php/archives/507#comments</comments>
		<pubDate>Thu, 16 Feb 2012 09:42:19 +0000</pubDate>
		<dc:creator>allan</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.isallan.com/?p=507</guid>
		<description><![CDATA[引用 netstat -n &#124; awk &#8216;/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}&#8217; 　　（这条语句是从新浪互动社区事业部技术总监王老大那儿获得的，非常不错） 　　返回结果示例： 　　LAST_ACK 5 　　SYN_RECV 30 　　ESTABLISHED 1597 　　FIN_WAIT1 51 　　FIN_WAIT2 504 　　TIME_WAIT 1057 　　其中的SYN_RECV表示正在等待处理的请求数；ESTABLISHED表示正常数据传输状态；TIME_WAIT表示处理完毕，等待超时结束的请求数。 　　关于TCP状态的变迁，可以从下图形象地看出： 　　　 　　状态：描述 　　CLOSED：无连接是活动的或正在进行 　　LISTEN：服务器在等待进入呼叫 　　SYN_RECV：一个连接请求已经到达，等待确认 　　SYN_SENT：应用已经开始，打开一个连接 　　ESTABLISHED：正常数据传输状态 　　FIN_WAIT1：应用说它已经完成 　　FIN_WAIT2：另一边已同意释放 　　ITMED_WAIT：等待所有分组死掉 &#8230; <a href="http://www.isallan.com/index.php/archives/507">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.isallan.com/index.php/archives/507/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>for steve</title>
		<link>http://www.isallan.com/index.php/archives/497</link>
		<comments>http://www.isallan.com/index.php/archives/497#comments</comments>
		<pubDate>Thu, 06 Oct 2011 14:56:12 +0000</pubDate>
		<dc:creator>allan</dc:creator>
				<category><![CDATA[it]]></category>

		<guid isPermaLink="false">http://www.isallan.com/?p=497</guid>
		<description><![CDATA[昨晚睡前跟媳妇儿聊天，说到灵魂的消逝,说到转世,说到另外一个世界.没想到一早起来就看到帮主驾鹤西去的新闻。说实话第一反应是恶搞，第二反应是恶搞,第三反应是我操这TMD的是真的。 没错,那个改变世界的家伙上船了。07年一代iphone刚出的时候，anakin跟我说这东西要是三千以下就是街机了，当时我深以为然。但是我们错了，即使是五千一台，帮主也给它卖成了街机。 希望他在船上有个还不错的位置，累了的时候可以看看窗外的风景。 iphone4s, for steve 2011.10.6 希望他之后的applers，能继续改变世界。]]></description>
		<wfw:commentRss>http://www.isallan.com/index.php/archives/497/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于加班。</title>
		<link>http://www.isallan.com/index.php/archives/494</link>
		<comments>http://www.isallan.com/index.php/archives/494#comments</comments>
		<pubDate>Mon, 26 Sep 2011 14:00:07 +0000</pubDate>
		<dc:creator>allan</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[依旧喘气]]></category>

		<guid isPermaLink="false">http://www.isallan.com/?p=494</guid>
		<description><![CDATA[有幸参与了sohu今年的校招。走进好久不曾踏足的校园。甚为怀念。作为技术部参与答疑最多的人之一。遇到的最多的非技术类问题就是是不是要加班&#8211;这甚至超过了对自己薪酬待遇的关心。 首先说一下我对加班的做法。无论是sohu还是原来的别的什么公司，除非是重大项目的上线，我极少安排我可以安排的同事加班。极少的概念就是一个月不会超过一次。如果实在必须加班，那我也不会比加班的同事走得早，and管吃管喝管接送。来sohu这段时间，我更是一次都没有安排过加班，尽管项目各种紧张，尽管我自己天天9:00才离开。 但是我依然不是太喜欢那些问我加班多不多的同学，特指男同学。虽然男女平等的口号喊了这么多年，但是你知道这也只不过是口号而已。女孩子希望安稳也就罢了，刚刚毕业的男生也要关注这个么？未来几年，你的OT时间会被女朋友，妻子，孩子，父母所占据，当然这是对的，家庭的地位永远无条件的高过工作。我想说的只是，你不用你人生最好的这段时间做自己的事业，存第一桶金&#8211;无论是口袋里面的还是脑袋里面的，却无比的关注工作时间，莫非你们都姓李？？当然我不排除有人生性淡漠，喜欢粗茶淡饭，不求闻达于诸侯，但求布衣于市井。我很羡慕，我没有这种境界。这种直接签offer就好了，劳动法会保护你的。 希望我用研究GlusterFS的时间写的这点儿东西能帮助几年后的我。]]></description>
		<wfw:commentRss>http://www.isallan.com/index.php/archives/494/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用谷歌浏览器来当手机模拟器</title>
		<link>http://www.isallan.com/index.php/archives/492</link>
		<comments>http://www.isallan.com/index.php/archives/492#comments</comments>
		<pubDate>Wed, 31 Aug 2011 13:29:25 +0000</pubDate>
		<dc:creator>allan</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.isallan.com/?p=492</guid>
		<description><![CDATA[很多网站都通过User-Agent来判断浏览器类型，如果是3G手机，显示手机页面内容，如果是普通浏览器，显示普通网页内容。 谷歌Chrome浏览器，可以很方便地用来当3G手机模拟器。在Windows的【开始】&#8211;>【运行】中输入以下命令，启动谷歌浏览器，即可模拟相应手机的浏览器去访问3G手机网页： 谷歌Android： chrome.exe &#8211;user-agent=&#8221;Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91) AppleWebKit?/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1&#8243; 苹果iPhone： chrome.exe &#8211;user-agent=&#8221;Mozilla/5.0 (iPad; U; CPU OS 3_2_2 like Mac OS X; en-us) AppleWebKit?/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B500 Safari/531.21.10&#8243; &#8230; <a href="http://www.isallan.com/index.php/archives/492">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.isallan.com/index.php/archives/492/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DRBD 安装配置</title>
		<link>http://www.isallan.com/index.php/archives/489</link>
		<comments>http://www.isallan.com/index.php/archives/489#comments</comments>
		<pubDate>Wed, 31 Aug 2011 13:24:30 +0000</pubDate>
		<dc:creator>allan</dc:creator>
				<category><![CDATA[it]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.isallan.com/?p=489</guid>
		<description><![CDATA[DRBD 安装配置 本文只是简单的DRBD安装配置方法，更为详细和复杂的测试没有做 安装方法： 现在drbd 软件 wget http://oss.linbit.com/drbd/8.4/drbd-8.4.0.tar.gz 安装方法 ./configure &#8211;prefix=/usr/local/drbd &#8211;with-km make KDIR=/usr/src/kernels/2.6.18-238.el5-x86_64/ make install drbd 软件安装在/usr/local/drbd目录 查看drbd.conf 文件两台机器文件相同 global { usage-count yes; } common { # 设置主备节点同步时的网络速率最大值,单位是字节. syncer { rate 10M; } } resource r1 { # 使用协议C.表示收到远程主机的写入确认后,则认为写入完成. &#8230; <a href="http://www.isallan.com/index.php/archives/489">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.isallan.com/index.php/archives/489/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>给即将逝去的2过的岁月</title>
		<link>http://www.isallan.com/index.php/archives/484</link>
		<comments>http://www.isallan.com/index.php/archives/484#comments</comments>
		<pubDate>Fri, 12 Aug 2011 12:46:51 +0000</pubDate>
		<dc:creator>allan</dc:creator>
				<category><![CDATA[8卦]]></category>

		<guid isPermaLink="false">http://www.isallan.com/?p=484</guid>
		<description><![CDATA[一个月前找了份新工作，AT五道口，每天单程25KM，为了方便和不挤，每天开车上下班。碰巧天天路过倪氏海泰，shell以前工作的地方。最后一次在这个楼下找他的时候，我才23。那个时候无论如何也没有想过，几年后我会开着北京牌照的车，拿着北京的工作居住证，在北京的公司里面朝九晚六。作为以恋家闻名的天津人，我在应该四处游荡的时候选择在家跟狐朋狗友鬼魂，而应该稳定的日子，却一个人扔下媳妇儿和娃飘在北京。也挺奇怪的。 转眼叮当马上就1岁了，我也会走进3开头的时光。近两年身体上的种种变化无一不在无情的告诉自己，那些肆意挥洒的日子一去不复返了。我已经不能沾枕头就着了；已经不能连续48小时不睡觉依然知道自己在干什么了；已经不能 在足球场上连续做两次折返跑；越来越 不爱喝白水，即使是高碎也成；越来越喜欢用热水洗手；越来越依赖便签纸而不是大脑记录。。。。。 我知道，一起2的日子一去不复返了。我也知道，我依然有目标，有梦想，其实也就够了。身体不2了，心还是可以继续2下去的 最后是感谢吧，感谢我的父母，一直支持我的各种不靠谱行为。感谢我家领导，一直容忍我的各种不靠谱行为，纵容我的任性和坏脾气。感谢我的岳父岳母，牺牲了自己退休后的美好时光帮我们照顾叮当。感谢我的亲人们，你们一直是我最后的避风港。感谢我的朋友们，没有你们一起2的日子简直是暗淡无光 ，感谢我各个时期的同事们，你们一直帮我弥补我工作上的失误，点点的积累都有你们的贡献。 以上各种感谢不分先后顺序 感谢国家]]></description>
		<wfw:commentRss>http://www.isallan.com/index.php/archives/484/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>centos 直接安装yum 不能的解决方案</title>
		<link>http://www.isallan.com/index.php/archives/482</link>
		<comments>http://www.isallan.com/index.php/archives/482#comments</comments>
		<pubDate>Tue, 14 Jun 2011 07:31:25 +0000</pubDate>
		<dc:creator>allan</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.isallan.com/?p=482</guid>
		<description><![CDATA[升级yum版本 需要先添加EPEL(Extra Packages for Enterprise Linux) repository: rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm 然后yum install git就能安装了。 参考:http://fedoraproject.org/wiki/EPEL/FAQ#HowcanIinstallthepackagesfromtheEPELsoftwarerepository.3F 转贴:http://51hired.com/questions/13038/centos%E4%B8%8A%E5%A6%82%E4%BD%95yum%E5%AE%89%E8%A3%85git]]></description>
		<wfw:commentRss>http://www.isallan.com/index.php/archives/482/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2011年?月?日星期?</title>
		<link>http://www.isallan.com/index.php/archives/480</link>
		<comments>http://www.isallan.com/index.php/archives/480#comments</comments>
		<pubDate>Sun, 13 Feb 2011 12:25:51 +0000</pubDate>
		<dc:creator>allan</dc:creator>
				<category><![CDATA[依旧喘气]]></category>

		<guid isPermaLink="false">http://www.isallan.com/?p=480</guid>
		<description><![CDATA[]]></description>
		<wfw:commentRss>http://www.isallan.com/index.php/archives/480/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>叮当的三月</title>
		<link>http://www.isallan.com/index.php/archives/478</link>
		<comments>http://www.isallan.com/index.php/archives/478#comments</comments>
		<pubDate>Sat, 01 Jan 2011 18:10:42 +0000</pubDate>
		<dc:creator>allan</dc:creator>
				<category><![CDATA[依旧喘气]]></category>
		<category><![CDATA[叮当]]></category>

		<guid isPermaLink="false">http://www.isallan.com/?p=478</guid>
		<description><![CDATA[10.24 和平产院42天复查 顺利搞定 10.31 顺利通过心脏病，白内障，髋关节筛查。体重6000g 11.6 第一次侧着睡觉 11.23 湿越来越严重了，第一次去了儿童医院 11.28 开始流口水 12.12 6500g 开始依依呀呀了]]></description>
		<wfw:commentRss>http://www.isallan.com/index.php/archives/478/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

