<?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"
	>

<channel>
	<title>DEAN LEE:/DEV/BLOG &#187; google</title>
	<atom:link href="http://www.deanlee.cn/tag/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deanlee.cn</link>
	<description>mount /dev/brain &#124;&#124; tail -f /var/log/thoughts &#62;&#62; /pub/www</description>
	<pubDate>Fri, 30 Dec 2011 13:27:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
	<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Google Code Prettify for wordpress</title>
		<link>http://www.deanlee.cn/wordpress/google-code-prettify-for-wordpress/</link>
		<comments>http://www.deanlee.cn/wordpress/google-code-prettify-for-wordpress/#comments</comments>
		<pubDate>Sat, 28 Apr 2007 15:03:21 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[code-snippets]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[project]]></category>

		<category><![CDATA[source-code]]></category>

		<category><![CDATA[syntax-highlighting]]></category>

		<guid isPermaLink="false">http://www.deanlee.cn/technology/google-code-prettifer-for-wordpress/</guid>
		<description><![CDATA[This small wordpress plugin enable syntax highlighting of code snippets in your post using Google Code Prettify.
Notice: you will need to have JavaScript enabled in your browser for this to work.
I had developed another Source Code syntax highlighting plugin using Geshi before,but they are totally different things.with Geshi,code is parsed on the server side,no javascript [...]]]></description>
			<content:encoded><![CDATA[<p>This small wordpress plugin enable syntax highlighting of code snippets in your post using <a href="http://code.google.com/p/google-code-prettify/">Google Code Prettify</a>.</p>
<p><font color="#ff0000">Notice:</font> you will <strong>need</strong> to have <strong>JavaScript enabled</strong> in your browser for this to work.</p>
<p>I had developed another <a href="http://www.deanlee.cn/wordpress/code_highlighter_plugin_for_wordpress/">Source Code syntax highlighting plugin</a> using <a href="http://qbnz.com/highlighter/">Geshi</a> before,but they are totally different things.with Geshi,code is parsed on the server side,no javascript is needed.</p>
<p>It&#8217;s hard to say which is the better,choose one based on your own needs.</p>
<p class="download"><a title="Download" href="http://www.deanlee.cn/downloads/google_code_prettify_v1.1.zip">Download Google Code Prettify for wordpress v1.1</a></p>
<p><strong>Installation</strong></p>
<p>This plugin requires <a href="http://www.wordpress.org">WordPress</a> v.2.0 or later.</p>
<ol>
<li>unzip and upload the files to your wp-content/plugins/ directory.</li>
<li>Activate the plugin by logging into your WordPress administration panel, going to &lsquo;Plugins&rsquo;, then clicking the&nbsp; &#8216;Activate&#8217;&nbsp; button for&nbsp; &#8216;Google Code Prettify&#8217;.</li>
<li>Done,enjoy it.</li>
</ol>
<p><strong>Usage</strong></p>
<p>Put code snippets in &lt;pre class=&quot;prettyprint&quot;&gt;&#8230;&lt;/pre&gt; or &lt;code class=&quot;prettyprint&quot;&gt;&#8230;&lt;/code&gt; and it will automatically be pretty printed.</p>
<p><strong>Example</strong></p>
<p>Bash</p>
<pre class="prettyprint">
#!/bin/bash

# Fibonacci numbers
# Writes an infinite series to stdout, one entry per line
function fib() {
  local a=1
  local b=1
  while true ; do
    echo $a
    local tmp=$a
    a=$(( $a + $b ))
    b=$tmp
  done
}

# output the 10th element of the series and halt
fib | head -10 | tail -1</pre>
<p><a href="http://google-code-prettify.googlecode.com/svn/trunk/tests/prettify_test.html">More examples</a></p>
<p><strong>FAQ</strong> (from <a title="http://code.google.com/p/google-code-prettify/" href="http://code.google.com/p/google-code-prettify/" target="_blank">http://code.google.com/p/google-code-prettify/</a>)</p>
<ol>
<li><strong>Which languages does it work for?<br />
    </strong>The comments in <tt>prettify.js</tt> are authoritative but the lexer should work on a number of languages including C and friends, Java, Python, Bash, SQL, HTML, XML, CSS, Javascript, and Makefiles. It works passably on Ruby, PHP and Awk and a decent subset of Perl, but, because of commenting conventions, doesn&#8217;t work on Smalltalk, Lisp-like, or CAML-like languages.</li>
<li><strong>How do I specify which language my code is in?<br />
    </strong>There&#8217;s no way to tell it which language because would complicate the interface. If it doesn&#8217;t guess the language properly, that&#8217;s a bug.</li>
<li><strong>Which browsers does it work with?<br />
    </strong>It&#8217;s been tested with IE 6, Firefox 1.5 &amp; 2, and Safari 2.0.4. Look at <a href="http://google-code-prettify.googlecode.com/svn/trunk/tests/prettify_test.html">the test page</a> to see if it works in your browser.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/wordpress/google-code-prettify-for-wordpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>用google&#34;偷&#34;密码</title>
		<link>http://www.deanlee.cn/technology/expose_password_to_google/</link>
		<comments>http://www.deanlee.cn/technology/expose_password_to_google/#comments</comments>
		<pubDate>Sun, 08 Oct 2006 15:56:13 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[code_searach]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.deanlee.cn/2006/10/08/%e7%94%a8google%e5%81%b7%e5%af%86%e7%a0%81/</guid>
		<description><![CDATA[google前天开放了&#8221;google code serch&#8220;服务。可以搜索这些年google从网上抓到的代码，包括压缩文件里的也没有放过。

来看看都能搜索到什么：
例子一
再试另一个：
例子二
这些站点的密码一览无遗，都被google抓到了。
这是管理员随意把敏感文件打包压缩在web能访问的目录的结果。而且通过配置文件明文保存密码本身就非常不安全。
早些年程序员对这个问题的重视性还很高，现在随着各种framework的发展，都有鼓励人们把密码明文保存在配置文件里的趋势，至少默认都是明文的。不少程序员也习惯了这种方式。希望google code search的这个”副作用“能够重新唤醒我们都快丢掉的安全意识。
]]></description>
			<content:encoded><![CDATA[<p>google前天开放了&#8221;<a target="_blank" href="http://google.com/codesearch">google code serch</a>&#8220;服务。可以搜索这些年google从网上抓到的代码，包括压缩文件里的也没有放过。</p>
<p><a target="_new" href="http://google.com/codesearch"><img width="276" height="110" src="http://www.deanlee.cn/wp-content/uploads/2006/10/WindowsLiveWriter/google_15091/codesearch_logo%5B3%5D.gif" /></a></p>
<p>来看看都能搜索到什么：</p>
<p><a target="_blank" href="http://google.com/codesearch?hl=en&#038;lr=&#038;q=lang%3Aphp+file%3Awp-config+user+-sample&#038;btnG=Search">例子一</a></p>
<p>再试另一个：</p>
<p><a target="_blank" href="http://google.com/codesearch?q=file%3Amt-db-pass.cgi">例子二</a></p>
<p>这些站点的密码一览无遗，都被google抓到了。</p>
<p>这是管理员随意把敏感文件打包压缩在web能访问的目录的结果。而且通过配置文件明文保存密码本身就非常不安全。</p>
<p>早些年程序员对这个问题的重视性还很高，现在随着各种framework的发展，都有鼓励人们把密码明文保存在配置文件里的趋势，至少默认都是明文的。不少程序员也习惯了这种方式。希望google code search的这个”副作用“能够重新唤醒我们都快丢掉的安全意识。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/technology/expose_password_to_google/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Netvibes - Personalized HomePage</title>
		<link>http://www.deanlee.cn/reviews/netvibes-personalized-homepage/</link>
		<comments>http://www.deanlee.cn/reviews/netvibes-personalized-homepage/#comments</comments>
		<pubDate>Mon, 04 Sep 2006 14:20:09 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[Reviews]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[homepage]]></category>

		<category><![CDATA[netvibes]]></category>

		<category><![CDATA[review]]></category>

		<category><![CDATA[social_network]]></category>

		<guid isPermaLink="false">http://deanlee.cn/2006/09/04/netvibes-personalized-homepage/</guid>
		<description><![CDATA[Netvibes是类似Igogle和MyYahoo的个性化home page。可能是目前同类产品中最好的。
虽然online home page并不是什么新玩意，但是这个法国人创办的小公司，却在短时间内超越了google和yahoo这些前辈。Netvibes的界面非常干净，几乎可以任意定制你所需要的内容（还可以添加tab）。所订阅的Feeds和News都是实时更新，不需要一次次手工刷新页面。在设置了pop邮箱之后，显示我的中文邮件的标题也没有问题，还可以用快捷键管理。
只要有创意，小公司永远都有机会。
 
]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.netvibes.com/">Netvibes</a>是类似Igogle和MyYahoo的个性化home page。可能是目前同类产品中最好的。</p>
<p>虽然online home page并不是什么新玩意，但是这个法国人创办的小公司，却在短时间内超越了google和yahoo这些前辈。Netvibes的界面非常干净，几乎可以任意定制你所需要的内容（还可以添加tab）。所订阅的Feeds和News都是实时更新，不需要一次次手工刷新页面。在设置了pop邮箱之后，显示我的中文邮件的标题也没有问题，还可以用快捷键管理。</p>
<p>只要有创意，小公司永远都有机会。</p>
<p><a href="http://deanlee.cn/wp-content/uploads/2006/09/WindowsLiveWriter/NetvibesPersonalizedHomePage_13A09/Screenshot-1%5B5%5D.png" rel="lightbox"><img width="395" height="296" border="0" src="http://deanlee.cn/wp-content/uploads/2006/09/WindowsLiveWriter/NetvibesPersonalizedHomePage_13A09/Screenshot-1_thumb%5B3%5D.png" style="border: 0px none ;" alt="" /></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/reviews/netvibes-personalized-homepage/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google Browser : Lynx</title>
		<link>http://www.deanlee.cn/reviews/google-browser-lynx/</link>
		<comments>http://www.deanlee.cn/reviews/google-browser-lynx/#comments</comments>
		<pubDate>Sun, 03 Sep 2006 09:36:33 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[Reviews]]></category>

		<category><![CDATA[browser]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[lynx]]></category>

		<guid isPermaLink="false">http://deanlee.cn/2006/09/03/google-browser-lynx/</guid>
		<description><![CDATA[装了一个google Browser，纯文本的web浏览器。一如google以往的风格：简洁但不简单。仿佛又回到了最初接触互联网的年代。  下面是用google browser浏览我的主页的截图。  
You want a browser that doesn&#8217;t use all your RAM. Firefox is a memory hog You want a secure browser. Internet Explorer is not secure You want a fast browser. Opera is fast, but not that fast. You want a cross-platform browser. Safari is definitely not cross-platform. You want [...]]]></description>
			<content:encoded><![CDATA[<p>装了一个<a href="http://googlesystem.blogspot.com/2006/03/google-browser.html" target="_blank">google Browser</a>，纯文本的web浏览器。一如google以往的风格：简洁但不简单。仿佛又回到了最初接触互联网的年代。  下面是用google browser浏览我的主页的截图。  <a href="http://deanlee.cn/wp-content/uploads/2006/09/WindowsLiveWriter/GoogleBrowserLynx_F7AD/lynx%5B48%5D.gif" rel="lightbox"><img width="235" height="240" align="right" src="http://www.deanlee.cn/wp-content/uploads/2006/09/WindowsLiveWriter/GoogleBrowserLynx_F7AD/lynx_thumb%5B42%5D.gif" alt="" /></a><br />
<blockquote>You want a browser that doesn&#8217;t use all your RAM. Firefox is a memory hog You want a secure browser. Internet Explorer is not secure You want a fast browser. Opera is fast, but not that fast. You want a cross-platform browser. Safari is definitely not cross-platform. You want a browser that doesn&#8217;t care about JavaScript. Netscape cares about JavaScript - they invented JavaScript. Presenting you Google Browser, a fast, versatile and secure text browser for the Internet. Google Browser is free, already out of beta, and the installer has only 1.68 MB. Just open it, type g (that&#8217;s from Google), enter a URL, press enter and visit the web through Google&#8217;s eyes.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/reviews/google-browser-lynx/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Where am I</title>
		<link>http://www.deanlee.cn/technology/where-am-i/</link>
		<comments>http://www.deanlee.cn/technology/where-am-i/#comments</comments>
		<pubDate>Wed, 30 Aug 2006 08:08:55 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[map]]></category>

		<guid isPermaLink="false">http://deanlee.cn/index.php/2006/08/30/where-am-i/</guid>
		<description><![CDATA[申请了个Google Maps API key，尝试自己做了一幅地图，标明我现在的位置：
http://deanlee.cn/map.php
]]></description>
			<content:encoded><![CDATA[<p>申请了个Google Maps API key，尝试自己做了一幅地图，标明我现在的位置：</p>
<p><a target="_blank" href="http://deanlee.cn/map.php">http://deanlee.cn/map.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/technology/where-am-i/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

