<?xml version="1.0" encoding="UTF-8"?><feed
	xmlns="http://www.w3.org/2005/Atom"
	xmlns:thr="http://purl.org/syndication/thread/1.0"
	xml:lang="zh-CN"
	xml:base="http://kevin.9511.net/wp-atom.php"
	>
	<title type="text">后院|kevin’s backyard</title>
	<subtitle type="text">混事业</subtitle>

	<updated>
	2022-08-04T06:55:22Z	</updated>

	<link rel="alternate" type="text/html" href="http://kevin.9511.net" />
	<id>http://kevin.9511.net/feed/atom</id>
	<link rel="self" type="application/atom+xml" href="http://kevin.9511.net/feed/atom" />

	<generator uri="https://wordpress.org/" version="5.1.13">WordPress</generator>
	<entry>
		<author>
			<name>kevin</name>
					</author>
		<title type="html"><![CDATA[CentOS 6.x 上 PHP 5.2 请求https报 segment fault]]></title>
		<link rel="alternate" type="text/html" href="http://kevin.9511.net/archives/608.html" />
		<id>http://kevin.9511.net/?p=608</id>
		<updated>2022-08-03T17:41:27Z</updated>
		<published>2022-08-03T17:41:27Z</published>
		<category scheme="http://kevin.9511.net" term="未分类" />		<summary type="html"><![CDATA[php调用curl访问https地址时，php-fpm进程crash后重启，nginx报502错误 php-f [&#8230;]]]></summary>
				<content type="html" xml:base="http://kevin.9511.net/archives/608.html"><![CDATA[<p>php调用curl访问https地址时，php-fpm进程crash后重启，nginx报502错误<br />
php-fpm日志报错：</p>
<pre>[NOTICE] fpm_got_signal(), line 48: received SIGCHLD
[WARNING] fpm_children_bury(), line 215: child 4270 (pool default) exited on signal 11 SIGSEGV (core dumped) after 1816.499155 seconds from start
[NOTICE] fpm_children_make(), line 352: child 4444 (pool default) started</pre>
<p>dmesg报错：</p>
<pre>[1125726.463591] php-cgi[4517]: segfault at 8048 ip 000000319301cefc sp 00007ffc8430fac0 error 4 in libsqlite3.so.0.8.6[3193000000+8b000]</pre>
<p>复现代码：<br />
<code><br />
        $urlEndPoint = "https://www.google.com/search";<br />
        $headerArray = array();<br />
        $ch = curl_init();<br />
        curl_setopt($ch,CURLOPT_POST,true);</p>
<p>        curl_setopt($ch,CURLOPT_URL, $urlEndPoint);<br />
        /*curl_setopt($ch,CURLOPT_HTTPHEADER, $headerArray);<br />
        curl_setopt($ch, CURLOPT_POSTFIELDS, $postArray); */</p>
<p>        curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);<br />
        curl_setopt($ch,CURLOPT_HEADER, true);<br />
        curl_setopt($ch,CURLOPT_FOLLOWLOCATION, false);<br />
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);<br />
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);<br />
        curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0');<br />
        curl_setopt($ch, CURLOPT_VERBOSE, true);</p>
<p>        if (!$result = curl_exec($ch)) {<br />
            print (curl_error($ch));<br />
        }</p>
<p>        curl_close ($ch);</p>
<p>        echo print_r($result,true);<br />
</code><br />
复现结果：</p>
<pre>[root@172-105-209-168 ~]# php test1.php
* About to connect() to www.google.com port 443 (#0)
* Trying 142.251.42.196... * connected
* Connected to www.google.com (142.251.42.196) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
Segmentation fault (core dumped)</pre>
<p>排错后确定，是nss的问题，准确说应该是/etc/pki/nssdb这个数据库文件的问题。</p>
<p>Quick fix: 重装一遍nss<br />
如果在nssdb中有自定义证书，需要先备份</p>
<pre>yum -y reinstall nss</pre>
<p>CentOS 6 太老了，官方的和很多第三方的yum源已经移除 CentOS 6，需要找个能用的：</p>
<pre>https://www.mark-gilbert.co.uk/fixing-yum-repos-on-centos-6-now-its-eol/</pre>
]]></content>
						<link rel="replies" type="text/html" href="http://kevin.9511.net/archives/608.html#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://kevin.9511.net/archives/608.html/feed/atom" thr:count="0"/>
		<thr:total>0</thr:total>
			</entry>
		<entry>
		<author>
			<name>kevin</name>
					</author>
		<title type="html"><![CDATA[LoRa/LoRaWAN基础概念汇总]]></title>
		<link rel="alternate" type="text/html" href="http://kevin.9511.net/archives/571.html" />
		<id>http://kevin.9511.net/?p=571</id>
		<updated>2021-11-10T16:04:04Z</updated>
		<published>2021-11-10T16:04:04Z</published>
		<category scheme="http://kevin.9511.net" term="未分类" />		<summary type="html"><![CDATA[]]></summary>
				<content type="html" xml:base="http://kevin.9511.net/archives/571.html"><![CDATA[<p><a href="http://kevin.9511.net/wp-content/uploads/2021/11/02.png"><img src="http://kevin.9511.net/wp-content/uploads/2021/11/02.png" alt="幻灯片02" width="1080" height="608" class="alignnone size-full wp-image-594" srcset="http://kevin.9511.net/wp-content/uploads/2021/11/02.png 1080w, http://kevin.9511.net/wp-content/uploads/2021/11/02-300x169.png 300w, http://kevin.9511.net/wp-content/uploads/2021/11/02-768x432.png 768w, http://kevin.9511.net/wp-content/uploads/2021/11/02-1024x576.png 1024w, http://kevin.9511.net/wp-content/uploads/2021/11/02-624x351.png 624w" sizes="(max-width: 1080px) 100vw, 1080px" /></a></p>
<p><a href="http://kevin.9511.net/wp-content/uploads/2021/11/03.png"><img src="http://kevin.9511.net/wp-content/uploads/2021/11/03.png" alt="幻灯片03" width="1080" height="608" class="alignnone size-full wp-image-595" srcset="http://kevin.9511.net/wp-content/uploads/2021/11/03.png 1080w, http://kevin.9511.net/wp-content/uploads/2021/11/03-300x169.png 300w, http://kevin.9511.net/wp-content/uploads/2021/11/03-768x432.png 768w, http://kevin.9511.net/wp-content/uploads/2021/11/03-1024x576.png 1024w, http://kevin.9511.net/wp-content/uploads/2021/11/03-624x351.png 624w" sizes="(max-width: 1080px) 100vw, 1080px" /></a></p>
<p><a href="http://kevin.9511.net/wp-content/uploads/2021/11/04.png"><img src="http://kevin.9511.net/wp-content/uploads/2021/11/04.png" alt="幻灯片04" width="1080" height="608" class="alignnone size-full wp-image-596" srcset="http://kevin.9511.net/wp-content/uploads/2021/11/04.png 1080w, http://kevin.9511.net/wp-content/uploads/2021/11/04-300x169.png 300w, http://kevin.9511.net/wp-content/uploads/2021/11/04-768x432.png 768w, http://kevin.9511.net/wp-content/uploads/2021/11/04-1024x576.png 1024w, http://kevin.9511.net/wp-content/uploads/2021/11/04-624x351.png 624w" sizes="(max-width: 1080px) 100vw, 1080px" /></a></p>
<p><a href="http://kevin.9511.net/wp-content/uploads/2021/11/05.png"><img src="http://kevin.9511.net/wp-content/uploads/2021/11/05.png" alt="幻灯片05" width="1080" height="608" class="alignnone size-full wp-image-597" srcset="http://kevin.9511.net/wp-content/uploads/2021/11/05.png 1080w, http://kevin.9511.net/wp-content/uploads/2021/11/05-300x169.png 300w, http://kevin.9511.net/wp-content/uploads/2021/11/05-768x432.png 768w, http://kevin.9511.net/wp-content/uploads/2021/11/05-1024x576.png 1024w, http://kevin.9511.net/wp-content/uploads/2021/11/05-624x351.png 624w" sizes="(max-width: 1080px) 100vw, 1080px" /></a></p>
<p><a href="http://kevin.9511.net/wp-content/uploads/2021/11/06.png"><img src="http://kevin.9511.net/wp-content/uploads/2021/11/06.png" alt="幻灯片06" width="1080" height="608" class="alignnone size-full wp-image-598" srcset="http://kevin.9511.net/wp-content/uploads/2021/11/06.png 1080w, http://kevin.9511.net/wp-content/uploads/2021/11/06-300x169.png 300w, http://kevin.9511.net/wp-content/uploads/2021/11/06-768x432.png 768w, http://kevin.9511.net/wp-content/uploads/2021/11/06-1024x576.png 1024w, http://kevin.9511.net/wp-content/uploads/2021/11/06-624x351.png 624w" sizes="(max-width: 1080px) 100vw, 1080px" /></a></p>
<p><a href="http://kevin.9511.net/wp-content/uploads/2021/11/07.png"><img src="http://kevin.9511.net/wp-content/uploads/2021/11/07.png" alt="幻灯片07" width="1080" height="608" class="alignnone size-full wp-image-599" srcset="http://kevin.9511.net/wp-content/uploads/2021/11/07.png 1080w, http://kevin.9511.net/wp-content/uploads/2021/11/07-300x169.png 300w, http://kevin.9511.net/wp-content/uploads/2021/11/07-768x432.png 768w, http://kevin.9511.net/wp-content/uploads/2021/11/07-1024x576.png 1024w, http://kevin.9511.net/wp-content/uploads/2021/11/07-624x351.png 624w" sizes="(max-width: 1080px) 100vw, 1080px" /></a></p>
<p><a href="http://kevin.9511.net/wp-content/uploads/2021/11/08.png"><img src="http://kevin.9511.net/wp-content/uploads/2021/11/08.png" alt="幻灯片08" width="1080" height="608" class="alignnone size-full wp-image-600" srcset="http://kevin.9511.net/wp-content/uploads/2021/11/08.png 1080w, http://kevin.9511.net/wp-content/uploads/2021/11/08-300x169.png 300w, http://kevin.9511.net/wp-content/uploads/2021/11/08-768x432.png 768w, http://kevin.9511.net/wp-content/uploads/2021/11/08-1024x576.png 1024w, http://kevin.9511.net/wp-content/uploads/2021/11/08-624x351.png 624w" sizes="(max-width: 1080px) 100vw, 1080px" /></a></p>
<p><a href="http://kevin.9511.net/wp-content/uploads/2021/11/09.png"><img src="http://kevin.9511.net/wp-content/uploads/2021/11/09.png" alt="幻灯片09" width="1080" height="608" class="alignnone size-full wp-image-601" srcset="http://kevin.9511.net/wp-content/uploads/2021/11/09.png 1080w, http://kevin.9511.net/wp-content/uploads/2021/11/09-300x169.png 300w, http://kevin.9511.net/wp-content/uploads/2021/11/09-768x432.png 768w, http://kevin.9511.net/wp-content/uploads/2021/11/09-1024x576.png 1024w, http://kevin.9511.net/wp-content/uploads/2021/11/09-624x351.png 624w" sizes="(max-width: 1080px) 100vw, 1080px" /></a></p>
<p><a href="http://kevin.9511.net/wp-content/uploads/2021/11/10.png"><img src="http://kevin.9511.net/wp-content/uploads/2021/11/10.png" alt="幻灯片10" width="1080" height="608" class="alignnone size-full wp-image-602" srcset="http://kevin.9511.net/wp-content/uploads/2021/11/10.png 1080w, http://kevin.9511.net/wp-content/uploads/2021/11/10-300x169.png 300w, http://kevin.9511.net/wp-content/uploads/2021/11/10-768x432.png 768w, http://kevin.9511.net/wp-content/uploads/2021/11/10-1024x576.png 1024w, http://kevin.9511.net/wp-content/uploads/2021/11/10-624x351.png 624w" sizes="(max-width: 1080px) 100vw, 1080px" /></a></p>
]]></content>
						<link rel="replies" type="text/html" href="http://kevin.9511.net/archives/571.html#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://kevin.9511.net/archives/571.html/feed/atom" thr:count="0"/>
		<thr:total>0</thr:total>
			</entry>
		<entry>
		<author>
			<name>kevin</name>
					</author>
		<title type="html"><![CDATA[Raspberry Pi OS 中给网卡设置静态IP地址的问题，BUG？]]></title>
		<link rel="alternate" type="text/html" href="http://kevin.9511.net/archives/559.html" />
		<id>http://kevin.9511.net/?p=559</id>
		<updated>2021-11-10T15:44:21Z</updated>
		<published>2021-11-10T15:44:21Z</published>
		<category scheme="http://kevin.9511.net" term="未分类" />		<summary type="html"><![CDATA[通常在linux中给一个网络接口（网卡）设置IP信息，是修改一个以该网络接口名称命名的文件，比如在CentOS [&#8230;]]]></summary>
				<content type="html" xml:base="http://kevin.9511.net/archives/559.html"><![CDATA[<p>通常在linux中给一个网络接口（网卡）设置IP信息，是修改一个以该网络接口名称命名的文件，比如在CentOS中给eth0设置IP信息：</p>
<blockquote><p>CentOS: /etc/sysconfig/network-scripts/ifcfg-eth0</p></blockquote>
<p>相对应的Raspberry Pi OS中，也提供了文件：</p>
<blockquote><p>/etc/network/interfaces<br />
or<br />
/etc/network/interfaces.d/eth0</p></blockquote>
<p>我有如下配置<br />
/etc/network/interfaces:</p>
<blockquote><p>source /etc/network/interfaces.d/*</p></blockquote>
<p>/etc/network/eth0:</p>
<blockquote><p>auto eth0<br />
allow-hotplug wlan0<br />
iface eth0 inet static<br />
address 192.168.80.100<br />
netmask 255.255.255.0<br />
network 192.168.80.0<br />
gateway 192.168.80.3</p></blockquote>
<p>重启网络（或系统）使之生效之后，发现一奇怪的问题：</p>
<p>在将eth0设置为静态IP地址192.168.80.100之后，eth0通过DHCP获取到的另一个IP地址192.168.80.4却依然可以ping通，且可以通过SSH连接，但同时ifconfig命令的输出信息中却没有显示192.168.80.4的信息。</p>
<p>显然，DHCP忽略了interfaces文件的设置内容，继续去dhcp服务器获取动态IP地址了。<br />
Google之后，知道此问题2015年即出现了，所以至今问题依旧。解决问题的办法，无非就是两条路：</p>
<p>方法一：用interfaces文件，不用dhcp</p>
<blockquote><p>1、在interfaces文件中设置静态IP地址信息<br />
2、完全禁用dhcp服务：sudo systemctl disable dhcpcd.service<br />
3、或者修改/etc/dhcpcd.conf文件，添加 denyinterfaces eth0 来让dhcp服务直接忽略eth0设备</p></blockquote>
<p>方法二：不用interfaces文件，用dhcp</p>
<blockquote><p>1、清除interfaces文件中的IP地址信息<br />
2、直接在/etc/dhcpcd.conf中设置网络设备的静态IP地址：具体操作可<a href="https://www.daemon-systems.org/man/dhcpcd.conf.5.html">见官方手册</a></p></blockquote>
<p>所以，鉴于以上问题，建议在Raspberry Pi OS中给网络设备设置IP地址信息，尽量直接通过配置DHCP来操作。<br />
另外，Raspberry Pi OS是基于Debian的，不知道Debian系的其他系统是不是也会有这个问题，总之Debian系的，忘掉interfaces文件。</p>
<p>参考：<a href="https://superuser.com/questions/985082/is-there-a-way-to-disable-the-dhcp-client-in-raspbian-linux-on-a-rasperry-pi" rel="noopener noreferrer" target="_blank">https://superuser.com/questions/985082/is-there-a-way-to-disable-the-dhcp-client-in-raspbian-linux-on-a-rasperry-pi</a></p>
]]></content>
						<link rel="replies" type="text/html" href="http://kevin.9511.net/archives/559.html#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://kevin.9511.net/archives/559.html/feed/atom" thr:count="0"/>
		<thr:total>0</thr:total>
			</entry>
		<entry>
		<author>
			<name>kevin</name>
					</author>
		<title type="html"><![CDATA[linux挂载samba共享目录]]></title>
		<link rel="alternate" type="text/html" href="http://kevin.9511.net/archives/553.html" />
		<id>http://kevin.9511.net/?p=553</id>
		<updated>2019-07-22T10:31:30Z</updated>
		<published>2019-07-22T10:31:30Z</published>
		<category scheme="http://kevin.9511.net" term="未分类" />		<summary type="html"><![CDATA[1、确保samba源可访问 2、确认已安装cifs-utils mount \\\\192.168.50.59 [&#8230;]]]></summary>
				<content type="html" xml:base="http://kevin.9511.net/archives/553.html"><![CDATA[<p>1、确保samba源可访问<br />
2、确认已安装cifs-utils</p>
<pre>mount \\\\192.168.50.59\\Data /tmp/mnt/tc -t cifs -o "nounix,noserverino,username=yourname,password=yourpass"</pre>
]]></content>
						<link rel="replies" type="text/html" href="http://kevin.9511.net/archives/553.html#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://kevin.9511.net/archives/553.html/feed/atom" thr:count="0"/>
		<thr:total>0</thr:total>
			</entry>
		<entry>
		<author>
			<name>kevin</name>
					</author>
		<title type="html"><![CDATA[在OpenLDAP中增加生日和性别的schema]]></title>
		<link rel="alternate" type="text/html" href="http://kevin.9511.net/archives/531.html" />
		<id>http://kevin.9511.net/?p=531</id>
		<updated>2014-04-03T08:59:30Z</updated>
		<published>2014-04-03T08:59:30Z</published>
		<category scheme="http://kevin.9511.net" term="未分类" />		<summary type="html"><![CDATA[新建一个schema文件，或者在随便哪个schema文件中添加如下内容 attributetype ( 1.3 [&#8230;]]]></summary>
				<content type="html" xml:base="http://kevin.9511.net/archives/531.html"><![CDATA[<p><strong></strong>新建一个schema文件，或者在随便哪个schema文件中添加如下内容</p>
<pre> attributetype  ( 1.3.6.1.4.1.33592.1.3.5 NAME 'gender'
        EQUALITY integerMatch
        ORDERING integerOrderingMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
        SINGLE-VALUE )
 attributetype  ( 1.3.6.1.4.1.33592.1.3.2 NAME 'birthDate'
           EQUALITY generalizedTimeMatch
           ORDERING generalizedTimeOrderingMatch
           SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
           SINGLE-VALUE )</pre>
<p>参考：<br />
<a href="http://tools.ietf.org/html/draft-gryphon-ldap-schema-vcard4-00" target="_blank" rel="noopener noreferrer">http://tools.ietf.org/html/draft-gryphon-ldap-schema-vcard4-00</a></p>
]]></content>
						<link rel="replies" type="text/html" href="http://kevin.9511.net/archives/531.html#comments" thr:count="1"/>
		<link rel="replies" type="application/atom+xml" href="http://kevin.9511.net/archives/531.html/feed/atom" thr:count="1"/>
		<thr:total>1</thr:total>
			</entry>
		<entry>
		<author>
			<name>kevin</name>
					</author>
		<title type="html"><![CDATA[nginx+lua]]></title>
		<link rel="alternate" type="text/html" href="http://kevin.9511.net/archives/519.html" />
		<id>http://kevin.9511.net/?p=519</id>
		<updated>2012-03-19T09:03:45Z</updated>
		<published>2012-03-19T09:03:45Z</published>
		<category scheme="http://kevin.9511.net" term="未分类" />		<summary type="html"><![CDATA[1,install lua wget http://www.lua.org/ftp/lua-5.1.4.tar [&#8230;]]]></summary>
				<content type="html" xml:base="http://kevin.9511.net/archives/519.html"><![CDATA[<p>1,install lua<br />
wget http://www.lua.org/ftp/lua-5.1.4.tar.gz<br />
tar -zxf lua-5.1.4.tar.gz<br />
cd lua-5.1.4<br />
make linux<br />
make install INSTALL_TOP=/usr/local/lua-5.1.4/</p>
<p>vi /etc/profile<br />
export LUA_LIB=/usr/local/lua-5.1.4/lib<br />
export LUA_INC=/usr/local/lua-5.1.4/include<br />
source /etc/profile</p>
<p>2,install nginx with packages<br />
http://www.nginx.org/download/nginx-0.8.55.tar.gz<br />
https://github.com/agentzh/echo-nginx-module<br />
https://github.com/simpl/ngx_devel_kit<br />
https://github.com/chaoslawful/lua-nginx-module</p>
<p>./configure &#8211;prefix=/usr/local/nginx-0.8.55 \<br />
            &#8211;add-module=../ngx_devel_kit/ \<br />
            &#8211;add-module=../lua-nginx-module/ \<br />
            &#8211;add-module=../echo-nginx-module/<br />
make<br />
make install</p>
]]></content>
						<link rel="replies" type="text/html" href="http://kevin.9511.net/archives/519.html#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://kevin.9511.net/archives/519.html/feed/atom" thr:count="0"/>
		<thr:total>0</thr:total>
			</entry>
		<entry>
		<author>
			<name>kevin</name>
					</author>
		<title type="html"><![CDATA[使用7z命令行打包Firefox扩展]]></title>
		<link rel="alternate" type="text/html" href="http://kevin.9511.net/archives/503.html" />
		<id>http://kevin.9511.net/?p=503</id>
		<updated>2010-04-30T16:55:05Z</updated>
		<published>2010-04-30T16:55:05Z</published>
		<category scheme="http://kevin.9511.net" term="未分类" />		<summary type="html"><![CDATA[将一下命令保存成build.bat文件： set x=%cd%\%1 cd %x%\chrome 7z a - [&#8230;]]]></summary>
				<content type="html" xml:base="http://kevin.9511.net/archives/503.html"><![CDATA[<p>将一下命令保存成build.bat文件：</p>
<blockquote><p><span style="font-family: Courier New,Courier,mono;">set  x=%cd%\%1<br />
cd %x%\chrome<br />
7z a -tzip %1.jar * -r<br />
cd ..<br />
7z a -tzip %1.xpi * -ir!*.jar -x!*.zip  -x!*.xpi<br />
del %x%\chrome\%1.jar<br />
cd ..</span></p></blockquote>
<p>执行以下命令即可：</p>
<blockquote><p>build.bat 扩展的相对路径</p></blockquote>
<p>关于7z命令行的说明，在这里：<a href="http://www.anywolfs.com/liuhui/article.asp?id=291">http://www.anywolfs.com/liuhui/article.asp?id=291</a></p>
]]></content>
						<link rel="replies" type="text/html" href="http://kevin.9511.net/archives/503.html#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://kevin.9511.net/archives/503.html/feed/atom" thr:count="0"/>
		<thr:total>0</thr:total>
			</entry>
		<entry>
		<author>
			<name>kevin</name>
					</author>
		<title type="html"><![CDATA[Firefox Extension: alexaLite]]></title>
		<link rel="alternate" type="text/html" href="http://kevin.9511.net/archives/499.html" />
		<id>http://kevin.9511.net/?p=499</id>
		<updated>2010-04-18T18:15:07Z</updated>
		<published>2010-04-18T18:15:07Z</published>
		<category scheme="http://kevin.9511.net" term="未分类" />		<summary type="html"><![CDATA[春节期间闲着没事，给自己做了一个查看网站AlexaTrafficRank的Firefox扩展。前两天重新整理了 [&#8230;]]]></summary>
				<content type="html" xml:base="http://kevin.9511.net/archives/499.html"><![CDATA[<p>春节期间闲着没事，给自己做了一个查看网站AlexaTrafficRank的Firefox扩展。前两天重新整理了一下，起了个名字叫“alexaLite”，然后扔到AMO上了。让我感到既意外又兴奋的是，通过审批的短短几天，就有上百的下载量了。</p>
<p>这是我在AMO上对这个扩展的介绍：</p>
<blockquote><p>Simple extension to let you get Alexa infomation of a web site, without  install any toolbar.</p></blockquote>
<p>alexaLite的思路其实是抄的<a href="https://addons.mozilla.org/en-US/firefox/addon/55308" target="_blank" rel="noopener noreferrer">goo.gl</a>这个插件。安装完了以后，只要拖一个按钮到地址栏的旁边就OK了。以后每当你想知道当前正在浏览的这个网站的AlexaTrafficRank时，只需要点一下这个按钮就哦了。从此不再需要仅仅为了想知道一个网站的排名而跑到alexa去查，或者安装什么乱七八糟的重量级的工具条了，生活本应该就是如此简单的～right ?</p>
<p>为了避免更换API地址时重写这个扩展（只需修改GAE端），也为了避免因为使用这个小玩意而为网站的排名添砖加瓦，我在GAE上为Alexa的API增加了一层代理 =&gt; <a href="http://alexa-api.appspot.com/" target="_blank" rel="noopener noreferrer">http://alexa-api.appspot.com/</a> 。返回的数据格式是JSON的，参数url可以是“URL地址”也可以是“域名”。如：</p>
<blockquote><p>http://alexa-api.appspot.com/?url=9511.net<br />
或<br />
http://alexa-api.appspot.com/?url=http://kevin.9511.net/</p></blockquote>
<p>alexaLite的下载安装的地址在：<a href="http://addons.mozilla.org/addon/142502" target="_blank" rel="noopener noreferrer">http://addons.mozilla.org/addon/142502</a> 欢迎使用并拍砖:P</p>
]]></content>
						<link rel="replies" type="text/html" href="http://kevin.9511.net/archives/499.html#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://kevin.9511.net/archives/499.html/feed/atom" thr:count="0"/>
		<thr:total>0</thr:total>
			</entry>
		<entry>
		<author>
			<name>kevin</name>
					</author>
		<title type="html"><![CDATA[互联网行业注定是弱势群体]]></title>
		<link rel="alternate" type="text/html" href="http://kevin.9511.net/archives/495.html" />
		<id>http://kevin.9511.net/?p=495</id>
		<updated>2010-03-09T18:37:41Z</updated>
		<published>2010-03-09T18:37:41Z</published>
		<category scheme="http://kevin.9511.net" term="未分类" />		<summary type="html"><![CDATA[从李彦宏的博客看到的，看完之后，只有一声叹息。悄悄的转载，呐喊的不要。 互联网，据说是唯一一个在国内市场打败了 [&#8230;]]]></summary>
				<content type="html" xml:base="http://kevin.9511.net/archives/495.html"><![CDATA[<p>从<a href="http://hi.baidu.com/liyanhong/blog/item/bcc079310c5c5812ebc4af7c.html" target="_blank" rel="noopener noreferrer">李彦宏的博客</a>看到的，看完之后，只有一声叹息。悄悄的转载，呐喊的不要。</p>
<blockquote><p>互联网，据说是唯一一个在国内市场打败了所有气势汹汹的国际寡头同行的中国产业；互联网，据说是一个曾经完全靠一批有梦想的人用规范的民营资本运作起来如 今正在国进民退的朝阳产业；移动互联网，据说是中国目前真正可以和世界基本同步的新兴战略产业。但是，在中国最高级别的决策会议上，却没有一个人愿意振臂 高呼，或者哪怕是敢于提一两个句子来呐喊。</p></blockquote>
<p>原文地址：<a href="http://mrpad.blog.sohu.com/145352885.html" target="_blank" rel="noopener noreferrer">http://mrpad.blog.sohu.com/145352885.html</a></p>
]]></content>
						<link rel="replies" type="text/html" href="http://kevin.9511.net/archives/495.html#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="http://kevin.9511.net/archives/495.html/feed/atom" thr:count="0"/>
		<thr:total>0</thr:total>
			</entry>
		<entry>
		<author>
			<name>kevin</name>
					</author>
		<title type="html"><![CDATA[玛丽和马克思]]></title>
		<link rel="alternate" type="text/html" href="http://kevin.9511.net/archives/486.html" />
		<id>http://kevin.9511.net/?p=486</id>
		<updated>2010-02-25T19:09:26Z</updated>
		<published>2010-02-25T19:09:26Z</published>
		<category scheme="http://kevin.9511.net" term="未分类" />		<summary type="html"><![CDATA[很久没写点字了，工作乱七八糟，生活杂乱无章，也实在没什么好写的。今夜本来是要早睡，关机前发现昨天开始下载的《玛 [&#8230;]]]></summary>
				<content type="html" xml:base="http://kevin.9511.net/archives/486.html"><![CDATA[<p>很久没写点字了，工作乱七八糟，生活杂乱无章，也实在没什么好写的。今夜本来是要早睡，关机前发现昨天开始下载的《<a href="http://www.douban.com/subject/3072124/" target="_blank" rel="noopener noreferrer">玛丽和马克思</a>》已经完成。于是乎，伴着烟盒里仅有的4根将军和半杯浓茶，就这么看完了。</p>
<p>这是一部没有震撼的特效、没有曲折的情节、没有大规模的宣传、制作简陋到极点的独立动画电影。正是这样一部起初看的我有点昏昏欲睡的动画，在豆瓣上拿到了少有的9分（阿凡达也不过才9.1分）。更让人动容的是，这片子改编自一个真实的故事。甚至字母翻译者在片尾都额外加上了一句“谨以虔诚之心翻译本片字幕献给过去现在未来的所有朋友”。</p>
<p>看片子的过程中不止一次的发现其实自己有时候很像Max。正当我在笨拙的试图组织一些文字去表达我现在的心情时，看到了豆瓣上的这篇<a href="http://www.douban.com/review/2799257/" target="_blank" rel="noopener noreferrer">评论</a>，且与我的感觉如此的想象。摘抄两段，以表我意。</p>
<blockquote><p>看到他坐在打字机前面认真的敲打的每一个字，那些单调而寂静的场景是多么的熟悉。大部分时间，我就是这样度过，或者说，即使有很多人在身边，我也常常会有一种很安静的感觉，似乎只能听到那些声音的频率而已。我仿佛看到我自己，丑陋，肥胖，懒惰，懦弱，却渴望美好，勇敢与坚强。而同时Max又是那样的可爱， 他会发明属于自己的词confuzzled，他会给市长写信，他的内心深处有着多么可爱而顽皮的一面啊。但是同时，他不断的在数有几根烟头。我一直觉得， 当有一天你觉得生活不再精彩的时候，就会开始计算身边的一切，就如同睡不着数羊一样，这只是一种让自己坚持下去的办法。那些一个人寂寞的夜晚，如果是日久 天长的话，一定会吞没心中的信念。</p>
<p>我想我之所以像Max一样也如此的焦虑与厌烦多半是出于对于自己的失望。我们都曾经因为自己的小智慧而得意洋洋。但当我走过青少年时代，发现自己并没有变得好看，也没有很有钱之后，我并非自愿但是毫无选择的接受了“我并不完美”的这个事实。我无法跟任何一个人很自然的在生活中谈起这些事情，因为这些心底的 痛苦似乎并不适合作为日常交谈的内容。我每天都如此深刻地感受着自己的不完美，却无能为力。我发现原来我可以成为任何样子，却不可能成为我所期待的那样 子。就像Max所说的那样，when i was young, I want to be anybody but  myself。似乎如果有一天我真地对自己彻底失望了，我也会开始和Max一样过上单调的生活，因为如果无法成为最完美的样子，其他的一切都并没有什么区 别了。如果我不能像Max一样遇到Mary，我宁愿一个人静静地在某个清晨离开。也许人生不过就是这样。</p></blockquote>
]]></content>
						<link rel="replies" type="text/html" href="http://kevin.9511.net/archives/486.html#comments" thr:count="2"/>
		<link rel="replies" type="application/atom+xml" href="http://kevin.9511.net/archives/486.html/feed/atom" thr:count="2"/>
		<thr:total>2</thr:total>
			</entry>
	</feed>
