<?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>BitBonsai Labs &#187; geek</title>
	<atom:link href="http://www.bitbonsai.com/category/geek/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bitbonsai.com</link>
	<description>Mauricio Wolff&#039;s geekness</description>
	<lastBuildDate>Fri, 27 Aug 2010 20:30:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Testing pastie.org embed</title>
		<link>http://www.bitbonsai.com/testing-pastie-org-embed/</link>
		<comments>http://www.bitbonsai.com/testing-pastie-org-embed/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 12:25:05 +0000</pubDate>
		<dc:creator>mw</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.bitbonsai.com/?p=229</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><script src='http://pastie.org/1023253.js'></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitbonsai.com/testing-pastie-org-embed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How does Google 2010 looks in msie3?</title>
		<link>http://www.bitbonsai.com/google2010-msie3/</link>
		<comments>http://www.bitbonsai.com/google2010-msie3/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 13:01:46 +0000</pubDate>
		<dc:creator>mw</dc:creator>
				<category><![CDATA[Rumblings]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.bitbonsai.com/?p=210</guid>
		<description><![CDATA[Just for fun... but believe me, it looks better than Bing.  :)]]></description>
			<content:encoded><![CDATA[<div class="wp-caption aligncenter" style="width: 514px"><img title="Google 2010 in msie 3.0" src="http://img.skitch.com/20100422-fkmtibrqaeeit3gxpyr5c3j29p.jpg" alt="Google 2010 in msie 3.0" width="504" height="400" /><p class="wp-caption-text">Google 2010 in msie 3.0</p></div>
<p style="text-align: center;">Just for fun... but believe me, it looks better than Bing.  :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitbonsai.com/google2010-msie3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Make an HTML5 iPhone App</title>
		<link>http://www.bitbonsai.com/html-iphone-app/</link>
		<comments>http://www.bitbonsai.com/html-iphone-app/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 13:12:44 +0000</pubDate>
		<dc:creator>mw</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://www.bitbonsai.com/?p=186</guid>
		<description><![CDATA[This is nice. An article on SixRevisions, short version here for my Archive. If you write a couple meta tags, your html5 app will look like any other iPhone App, but will also work on Android, PalmPre, etc... &#60;meta name=&#34;viewport&#34; content=&#34;user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0&#34;/&#62; &#60;meta name=&#34;apple-mobile-web-app-capable&#34; content=&#34;yes&#34; /&#62; &#60;meta name=&#34;apple-mobile-web-app-status-bar-style&#34; content=&#34;black&#34; /&#62; &#60;link rel=&#34;apple-touch-icon&#34; href=&#34;iphone_icon.png&#34;/&#62; [...]]]></description>
			<content:encoded><![CDATA[<h4><a href="http://img.skitch.com/20100329-k4k9rkinb4m8r2xebsqtb6d4s9.jpg"><img class="aligncenter" title="iPhone" src="http://img.skitch.com/20100329-k4k9rkinb4m8r2xebsqtb6d4s9.jpg" alt="" width="402" height="232" /></a>This is nice. An <a href="http://sixrevisions.com/web-development/html5-iphone-app/" target="_blank">article on SixRevisions</a>, short version here for my Archive.</h4>
<p>If you write a couple meta tags, your html5 app will look like any other iPhone App, but will also work on Android, PalmPre, etc...</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;viewport&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;apple-mobile-web-app-capable&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;yes&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;apple-mobile-web-app-status-bar-style&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;black&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;apple-touch-icon&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;iphone_icon.png&quot;</span><span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;apple-touch-startup-image&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;startup.png&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;styles.css&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;screen, mobile&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;main&quot;</span> <span style="color: #000066;">charset</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;utf-8&quot;</span>&gt;</span></pre></div></div>

<ul>
<li>apple-mobile-web-app-capable: This is another tip-off that we want to be an offline app.</li>
<li>apple-mobile-web-app-status-bar-style: This hides the status bar, and nav bar when the app is offline.</li>
<li>apple-touch-icon:This is the pointer to the image that want to be the icon.</li>
<li>apple-touch-startup-image: This is a url pointing to the startup image.</li>
</ul>
<h4>Application Cache</h4>
<p>Application caching allows browsers to determine in advance all the files a web page will need for the web page to work.</p>
<p>One tricky part to this whole thing is that the manifest (the list of files that need to be cached offline) has to be passed with a filetype Header set to text/manifest. That is why you need access to a web server that can set HTTP headers.</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;">    CACHE MANIFEST
&nbsp;
    <span style="color: #adadad; font-style: italic;"># Version 3 </span>
&nbsp;
    style.css
    index.html
    init.js
&nbsp;
    <span style="color: #adadad; font-style: italic;"># offline icons</span>
    startup.png
    iphone_icon.png</pre></div></div>

<h4>Offline Data</h4>
<p>Along with the ability to keep files that are needed offline, you can also store user data in an offline database. There are two major APIs for per user and/or per page data. The first is localStorage. localStorage, is an easy to use key-value store with a dead simple API.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">    localStorage.<span style="color: #660066;">dataToStore</span> <span style="color: #339933;">=</span> <span style="color: #CC0000;">5</span><span style="color: #339933;">;</span>
    console.<span style="color: #660066;">log</span><span style="color: #009900;">&#40;</span>localStorage.<span style="color: #660066;">dataToStore</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">// 5</span></pre></div></div>

<h4>Its also possible to use a webdatabase (SQLite):</h4>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">    <span style="color: #006600; font-style: italic;">// Try and get a database object</span>
    <span style="color: #003366; font-weight: bold;">var</span> db<span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>window.<span style="color: #660066;">openDatabase</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            db <span style="color: #339933;">=</span> openDatabase<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;NoteTest&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;1.0&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;HTML5 Database API example&quot;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">200000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>db<span style="color: #009900;">&#41;</span>
                <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Failed to open the database on disk.  This is probably because the version was /
                bad or there is not enough space left in this domain's quota&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span>
            <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Couldn't open the database.  Please try with a WebKit nightly with this feature enabled&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">catch</span><span style="color: #009900;">&#40;</span>err<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #006600; font-style: italic;">// Check and see if you need to initalize the DB</span>
    db.<span style="color: #660066;">transaction</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>tx<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        tx.<span style="color: #660066;">executeSql</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;SELECT COUNT(*) FROM WebkitStickyNotes&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>result<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            loadNotes<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>tx<span style="color: #339933;">,</span> error<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            tx.<span style="color: #660066;">executeSql</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;CREATE TABLE WebKitStickyNotes (id REAL UNIQUE, note TEXT, timestamp /
            REAL, left TEXT, top TEXT, zindex REAL)&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>result<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                loadNotes<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #006600; font-style: italic;">// Insert a test Note.</span>
    <span style="color: #003366; font-weight: bold;">var</span> note <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
        id<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;1&quot;</span><span style="color: #339933;">,</span>
        text<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot; This is a test note&quot;</span><span style="color: #339933;">,</span>
        timestamp<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;112123000&quot;</span><span style="color: #339933;">,</span>
        left<span style="color: #339933;">:</span><span style="color: #CC0000;">10</span><span style="color: #339933;">,</span>
        top<span style="color: #339933;">:</span><span style="color: #CC0000;">10</span><span style="color: #339933;">,</span>
        zIndex<span style="color: #339933;">:</span><span style="color: #CC0000;">2</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
    db.<span style="color: #660066;">transaction</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span> <span style="color: #009900;">&#40;</span>tx<span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        tx.<span style="color: #660066;">executeSql</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;INSERT INTO WebKitStickyNotes (id, note, timestamp, left, top, zindex) VALUES /
        (?, ?, ?, ?, ?, ?)&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#91;</span>note.<span style="color: #660066;">id</span><span style="color: #339933;">,</span> note.<span style="color: #660066;">text</span><span style="color: #339933;">,</span> note.<span style="color: #660066;">timestamp</span><span style="color: #339933;">,</span> note.<span style="color: #660066;">left</span><span style="color: #339933;">,</span> note.<span style="color: #660066;">top</span><span style="color: #339933;">,</span> note.<span style="color: #660066;">zIndex</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
    <span style="color: #006600; font-style: italic;">// Get all the notes out of the database.</span>
    db.<span style="color: #660066;">transaction</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>tx<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        tx.<span style="color: #660066;">executeSql</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;SELECT id, note, timestamp, left, top, zindex /
        FROM WebKitStickyNotes&quot;</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>tx<span style="color: #339933;">,</span> result<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> result.<span style="color: #660066;">rows</span>.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> <span style="color: #339933;">++</span>i<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>                 <span style="color: #003366; font-weight: bold;">var</span> row <span style="color: #339933;">=</span> result.<span style="color: #660066;">rows</span>.<span style="color: #000066; font-weight: bold;">item</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>                 <span style="color: #003366; font-weight: bold;">var</span> note <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Note<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>                 note.<span style="color: #660066;">id</span> <span style="color: #339933;">=</span> row<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>                 note.<span style="color: #660066;">text</span> <span style="color: #339933;">=</span> row<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'note'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>                 note.<span style="color: #660066;">timestamp</span> <span style="color: #339933;">=</span> row<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'timestamp'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>                 note.<span style="color: #660066;">left</span> <span style="color: #339933;">=</span> row<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'left'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>                 note.<span style="color: #660066;">top</span> <span style="color: #339933;">=</span> row<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'top'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>                 note.<span style="color: #660066;">zIndex</span> <span style="color: #339933;">=</span> row<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'zindex'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>                 <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>row<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">&gt;</span> highestId<span style="color: #009900;">&#41;</span>
                    highestId <span style="color: #339933;">=</span> row<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>row<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'zindex'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">&gt;</span> highestZ<span style="color: #009900;">&#41;</span>
                    highestZ <span style="color: #339933;">=</span> row<span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'zindex'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
&nbsp;
            <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>result.<span style="color: #660066;">rows</span>.<span style="color: #660066;">length</span><span style="color: #009900;">&#41;</span>
                newNote<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>tx<span style="color: #339933;">,</span> error<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Failed to retrieve notes from database - '</span> <span style="color: #339933;">+</span> error.<span style="color: #660066;">message</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bitbonsai.com/html-iphone-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sonho de consumo&#8230;</title>
		<link>http://www.bitbonsai.com/sonho-de-consumo/</link>
		<comments>http://www.bitbonsai.com/sonho-de-consumo/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 21:47:24 +0000</pubDate>
		<dc:creator>mw</dc:creator>
				<category><![CDATA[Rumblings]]></category>
		<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://www.bitbonsai.com/?p=183</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" title="sonho de consumo" src="http://img.ly/system/uploads/000/152/611/large_image.jpg?1268419742" alt="" width="540" height="405" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitbonsai.com/sonho-de-consumo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Iniciando em mongoDB</title>
		<link>http://www.bitbonsai.com/mongodb1/</link>
		<comments>http://www.bitbonsai.com/mongodb1/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 14:13:09 +0000</pubDate>
		<dc:creator>mw</dc:creator>
				<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://www.bitbonsai.com/?p=177</guid>
		<description><![CDATA[Recentemente descobri o mongoDB, e como tem driver para PHP via Pecl, resolvi investigar... Uma das primeiras coisas que me chamou atenção era a aparente falta de autenticação, controle de usuários, etc. Eis que hoje descobri como funciona: Mais ou menos como o mySQL tem uma collection (admin) que, tendo-se usuário e senha para ele, [...]]]></description>
			<content:encoded><![CDATA[<p>Recentemente descobri o mongoDB, e como tem driver para PHP via Pecl, resolvi investigar...</p>
<p>Uma das primeiras coisas que me chamou atenção era a aparente falta de autenticação, controle de usuários, etc. Eis que hoje descobri como funciona:</p>
<p>Mais ou menos como o mySQL tem uma collection (admin) que, tendo-se usuário e senha para ele, se tem em todos os dbs do sistema. Para se ter auth, basta rodar o daemon com --auth</p>
<p>Em cada banco tem uma collection chamada  system.users. Ex: num banco chamado <strong>projectx</strong>, tem uma collection <strong>projectx.system.users</strong>. Pra começar a autenticar, é preciso criar um usuário no banco admin (equivalente ao banco mysql):</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;">$ .<span style="color: #CC0099;">/</span>mongo
<span style="color: #CC0099;">&gt;</span> <span style="color: #990099; font-weight: bold;">use</span> admin
<span style="color: #CC0099;">&gt;</span> db.addUser<span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">&quot;theadmin&quot;</span><span style="color: #000033;">,</span> <span style="color: #008000;">&quot;anadminpassword&quot;</span><span style="color: #FF00FF;">&#41;</span></pre></div></div>

<p>Depois disso vai precisar autenticar para fazer ações administrativas:</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #CC0099;">&gt;</span> db.auth<span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">&quot;theadmin&quot;</span><span style="color: #000033;">,</span> <span style="color: #008000;">&quot;anadminpassword&quot;</span><span style="color: #FF00FF;">&#41;</span></pre></div></div>

<p>Pra ver todos os usuários do sistema:</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #CC0099;">&gt;</span> db.system.users.find<span style="color: #FF00FF;">&#40;</span><span style="color: #FF00FF;">&#41;</span></pre></div></div>

<p>Criando usuários para um banco específico:</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;">$ .<span style="color: #CC0099;">/</span>mongo
<span style="color: #CC0099;">&gt;</span> <span style="color: #990099; font-weight: bold;">use</span> projectx
<span style="color: #CC0099;">&gt;</span> db.addUser<span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">&quot;joe&quot;</span><span style="color: #000033;">,</span> <span style="color: #008000;">&quot;passwordForJoe&quot;</span><span style="color: #FF00FF;">&#41;</span></pre></div></div>

<p>pode-se criar tb usuários somente leitura:</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #CC0099;">&gt;</span> <span style="color: #990099; font-weight: bold;">use</span> projectx
<span style="color: #CC0099;">&gt;</span> db.addUser<span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">&quot;guest&quot;</span><span style="color: #000033;">,</span> <span style="color: #008000;">&quot;passwordForGuest&quot;</span><span style="color: #000033;">,</span> <span style="color: #9900FF; font-weight: bold;">true</span><span style="color: #FF00FF;">&#41;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bitbonsai.com/mongodb1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google barra ie6 em 2010</title>
		<link>http://www.bitbonsai.com/google-barra-ie6-em-2010/</link>
		<comments>http://www.bitbonsai.com/google-barra-ie6-em-2010/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 19:09:26 +0000</pubDate>
		<dc:creator>mw</dc:creator>
				<category><![CDATA[Rumblings]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[webdesign]]></category>

		<guid isPermaLink="false">http://www.bitbonsai.com/?p=162</guid>
		<description><![CDATA[Recebi agora um email da GoogleApps informando que eles vão suspender o suporte à ie6 no Apps, e depois do GoogleDocs. A partir de primeiro de março, ie6 fora. Ainda em 2010 vão barrar ie6 também para Mail e Calendar. A partir desta semana vão botar um aviso nos sites para as pessoas trocarem o [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="ie6 RIP" src="http://blog.visualgraf.es/wp-content/uploads/2009/06/ie6-rip-crop-259x300.jpg" alt="" width="259" height="300" />Recebi agora um email da GoogleApps informando que eles vão suspender o suporte à ie6 no Apps, e depois do GoogleDocs.<br />
A partir de primeiro de março, ie6 fora. Ainda em 2010 vão barrar ie6 também para Mail e Calendar. A partir desta semana vão botar um aviso nos sites para as pessoas trocarem o navegador.</p>
<p>O ie6 foi lançado em 2001 (9 anos atrás) e tem conhecidas vulnerabilidades de segurança e virus. As alternativas (Chrome, Firefox, Opera) são todas gratuitas e não dependem do windows update (para quem "não pode" atualizar o windows).</p>
<p>Em média, depois de fazer um site fico no mínimo 30% do tempo ajustando ele para funcionar em ie6.</p>
<p>Como disse o Braz: "<em>ja era hora de alguma empresa grande de internet fazer isso"</em></p>
<blockquote><p><span style="color: #999999;">Dear Google Apps admin,​</span></p>
<p><span style="color: #999999;">In order to continue to improve our products and deliver more sophisticated features and performance, we are harnessing some of the latest improvements in web browser technology.  This includes faster JavaScript processing and new standards like HTML5.  As a result, over the course of 2010, we will be phasing out support for Microsoft Internet Explorer 6.0 ​as well as other older browsers that are not supported by their own manufacturers.</span></p>
<p><span style="color: #999999;">We plan to begin phasing out support of these older browsers on the Google Docs suite and the Google Sites editor on March 1, 2010.  After that point, certain functionality within these applications may have higher latency and may not work correctly in these older browsers. Later in 2010, we will start to phase out support for these browsers for Google Mail and Google Calendar.<br />
Google Apps will continue to support Internet Explorer 7.0 and above, Firefox 3.0 and above, Google Chrome 4.0 and above, and Safari 3.0 and above.</span></p>
<p><span style="color: #999999;">Starting this week, users on these older browsers will see a message in Google Docs and the Google Sites editor explaining this change and asking them to upgrade their browser.  We will also alert you again closer to March 1 to remind you of this change.</span></p>
<p><span style="color: #999999;">In 2009, the Google Apps team delivered more than 100 improvements to enhance your product experience.  We are aiming to beat that in 2010 and continue to deliver the best and most innovative collaboration products for businesses.</span></p>
<p><span style="color: #999999;">Thank you for your continued support!</span></p>
<p><span style="color: #999999;">Sincerely,</span></p>
<p><span style="color: #999999;">The Google Apps team</span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.bitbonsai.com/google-barra-ie6-em-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python x PHP: Finding IPs with regex</title>
		<link>http://www.bitbonsai.com/python-php-vs-find-ip-with-regex/</link>
		<comments>http://www.bitbonsai.com/python-php-vs-find-ip-with-regex/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 12:09:47 +0000</pubDate>
		<dc:creator>mw</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.bitbonsai.com/?p=147</guid>
		<description><![CDATA[Sometimes I just like to write code in Python and PHP to compare them, and admire both... Here's a little code to find IP adressess inside strings (returned from a nslookup). The code is not optimal, but illustrate how both languages works. Just for some friday fun... Python &#160; Python 2.6.1 &#40;r261:67515, Jul  7 2009, [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes I just like to write code in Python and PHP to compare them, and admire both...</p>
<p>Here's a little code to find IP adressess inside strings (returned from a nslookup). The code is not optimal, but illustrate how both languages works. Just for some friday fun...</p>
<h3>Python</h3>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;">&nbsp;
Python 2.6.1 <span style="color: black;">&#40;</span>r261:<span style="color: #ff4500;">67515</span>, Jul  <span style="color: #ff4500;">7</span> <span style="color: #ff4500;">2009</span>,  <span style="color: #ff4500;">23</span>:<span style="color: #ff4500;">51</span>:<span style="color: #ff4500;">51</span><span style="color: black;">&#41;</span>
 <span style="color: black;">&#91;</span>GCC 4.2.1 <span style="color: black;">&#40;</span>Apple Inc. <span style="color: black;">build</span> <span style="color: #ff4500;">5646</span><span style="color: black;">&#41;</span><span style="color: black;">&#93;</span> on darwin
 Type <span style="color: #483d8b;">&quot;help&quot;</span>, <span style="color: #483d8b;">&quot;copyright&quot;</span>, <span style="color: #483d8b;">&quot;credits&quot;</span> <span style="color: #ff7700;font-weight:bold;">or</span> <span style="color: #483d8b;">&quot;license&quot;</span>  <span style="color: #ff7700;font-weight:bold;">for</span>  more information.
&nbsp;
<span style="color: #66cc66;">&gt;&gt;&gt;</span> a  = <span style="color: #483d8b;">'yahoo.com IN A 69.147.114.224 18774s  (05:12:54)'</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> a += <span style="color: #483d8b;">'yahoo.com IN A 209.131.36.159 18774s  (05:12:54)'</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> a += <span style="color: #483d8b;">'yahoo.com IN A 209.191.93.53  18774s  (05:12:54)'</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> <span style="color: #ff7700;font-weight:bold;">print</span> a
 <span style="color: #483d8b;">'yahoo.com IN A 69.147.114.224  18774s (05:12:54)yahoo.com IN A 209.131.36.159 18774s  (05:12:54)yahoo.com IN A 209.191.93.53  18774s (05:12:54)'</span>
<span style="color: #66cc66;">&gt;&gt;&gt;;</span> <span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">re</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span> p = <span style="color: #dc143c;">re</span>.<span style="color: #008000;">compile</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'(?:<span style="color: #000099; font-weight: bold;">\d</span>{1,3}<span style="color: #000099; font-weight: bold;">\.</span>){3}<span style="color: #000099; font-weight: bold;">\d</span>{1,3}'</span><span style="color: black;">&#41;</span>
<span style="color: #66cc66;">&gt;&gt;&gt;;</span> p.<span style="color: black;">findall</span><span style="color: black;">&#40;</span>a<span style="color: black;">&#41;</span>
 <span style="color: black;">&#91;</span><span style="color: #483d8b;">'69.147.114.224'</span>, <span style="color: #483d8b;">'209.131.36.159'</span>,  <span style="color: #483d8b;">'209.191.93.53'</span><span style="color: black;">&#93;</span>
<span style="color: #66cc66;">&gt;&gt;&gt;</span></pre></div></div>

<h3>PHP</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$a</span>  <span style="color: #339933;">=</span> <span style="color: #0000ff;">'yahoo.com IN A 69.147.114.224 18774s (05:12:54)'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$a</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'yahoo.com  IN A 209.131.36.159 18774s (05:12:54)'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$a</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'yahoo.com  IN A 209.191.93.53  18774s (05:12:54)'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">print</span> <span style="color: #000088;">$a</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/*
saida: yahoo.com IN A 69.147.114.224 18774s (05:12:54)yahoo.com IN A  209.131.36.159 18774s (05:12:54)yahoo.com IN A 209.191.93.53 18774s  (05:12:54)
*/</span>
&nbsp;
<span style="color: #000088;">$re</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/(\d+).(\d+).(\d+).(\d+)/'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$re</span><span style="color: #339933;">,</span> <span style="color: #000088;">$a</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">var_dump</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// saida 1</span>
<span style="color: #990000;">var_dump</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// saida 2</span>
&nbsp;
<span style="color: #666666; font-style: italic;">/*
saida 1:
&nbsp;
array(3) {
  [0]=&gt;
  string(14) &quot;69.147.114.224&quot;
  [1]=&gt;
  string(14) &quot;209.131.36.159&quot;
  [2]=&gt;
  string(13) &quot;209.191.93.53&quot;
}
&nbsp;
saida 2:
&nbsp;
array(5) {
  [0]=&gt;
  array(3) {
    [0]=&gt;
    string(14) &quot;69.147.114.224&quot;
    [1]=&gt;
    string(14) &quot;209.131.36.159&quot;
    [2]=&gt;
    string(13) &quot;209.191.93.53&quot;
  }
  [1]=&gt;
  array(3) {
    [0]=&gt;
    string(2) &quot;69&quot;
    [1]=&gt;
    string(3) &quot;209&quot;
    [2]=&gt;
    string(3) &quot;209&quot;
  }
  [2]=&gt;
  array(3) {
    [0]=&gt;
    string(3) &quot;147&quot;
    [1]=&gt;
    string(3) &quot;131&quot;
    [2]=&gt;
    string(3) &quot;191&quot;
  }
  [3]=&gt;
  array(3) {
    [0]=&gt;
    string(3) &quot;114&quot;
    [1]=&gt;
    string(2) &quot;36&quot;
    [2]=&gt;
    string(2) &quot;93&quot;
  }
  [4]=&gt;
  array(3) {
    [0]=&gt;
    string(3) &quot;224&quot;
    [1]=&gt;
    string(3) &quot;159&quot;
    [2]=&gt;
    string(2) &quot;53&quot;
  }
}
*/</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bitbonsai.com/python-php-vs-find-ip-with-regex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>http://sendshack.com</title>
		<link>http://www.bitbonsai.com/sendshack/</link>
		<comments>http://www.bitbonsai.com/sendshack/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 10:37:43 +0000</pubDate>
		<dc:creator>mw</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[bookmark]]></category>
		<category><![CDATA[dica]]></category>

		<guid isPermaLink="false">http://www.bitbonsai.com/?p=144</guid>
		<description><![CDATA[Um jeito fácil, rápido, gratuito de mandar arquivos pra lá e pra cá. Acho o uploader do mediafire.com beeeem legal, mas a decisão de fazer  pastas e como apresentar o conteúdo para o visitante, complicada. Principalmente se o sujeito não fala inglês. Este sendshack.com no entanto, é bem prático, e os anúncios não ficam pulando no [...]]]></description>
			<content:encoded><![CDATA[<p>Um jeito fácil, rápido, gratuito de mandar arquivos pra lá e pra cá.</p>
<p>Acho o uploader do <a href="http://mediafire.com" target="_blank">mediafire.com</a> beeeem legal, mas a decisão de fazer  pastas e como apresentar o conteúdo para o visitante, complicada. Principalmente se o sujeito não fala inglês.</p>
<p>Este <a href="http://sendshack.com" target="_blank">sendshack.com</a> no entanto, é bem prático, e os anúncios não ficam pulando no teu colo.</p>
<p style="text-align: center;"><img class=" aligncenter" title="sendshack.com" src="http://img.skitch.com/20100120-ket7f3gu8nd2tkaa7dna251nba.jpg" alt="" width="355" height="258" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bitbonsai.com/sendshack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deletar .svn recursivamente</title>
		<link>http://www.bitbonsai.com/deletar-svn-recursivamente/</link>
		<comments>http://www.bitbonsai.com/deletar-svn-recursivamente/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 03:39:32 +0000</pubDate>
		<dc:creator>mw</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://www.bitbonsai.com/?p=128</guid>
		<description><![CDATA[Desde que comecei a usar GIT acho svn clumsy... prefiro jogar os arquivos no dropbox, que ele guarda versões pra mim. Agora resolvi detonar todos os .svn de um trabalho que estou fazendo. Chega de xalassa... criar um bash script básico para remover os .svn recursivos salvar no meu ~/bin e dar chmod +x rodar [...]]]></description>
			<content:encoded><![CDATA[<p>Desde que comecei a usar <a href="http://git-scm.com/" target="_blank">GIT</a> acho svn clumsy... prefiro jogar os arquivos no <a href="http://dropbox.com" target="_blank">dropbox</a>, que ele guarda versões pra mim.</p>
<p>Agora resolvi detonar todos os .svn de um trabalho que estou fazendo. Chega de xalassa...</p>
<ol>
<li>criar um bash script básico para remover os .svn recursivos</li>
<li>salvar no meu ~/bin e dar chmod +x</li>
<li>rodar e ser feliz.</li>
</ol>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 48px; width: 1px; height: 1px;">#!/bin/sh</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 48px; width: 1px; height: 1px;">echo "recursively removing .svn folders from"</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 48px; width: 1px; height: 1px;">pwd</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 48px; width: 1px; height: 1px;">rm -rf `find . -type d -name .svn`</div>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;recursively removing .svn folders from&quot;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">pwd</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-type</span> d <span style="color: #660033;">-name</span> .svn<span style="color: #000000; font-weight: bold;">`</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bitbonsai.com/deletar-svn-recursivamente/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Como testar o novo Google</title>
		<link>http://www.bitbonsai.com/novo-google/</link>
		<comments>http://www.bitbonsai.com/novo-google/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 15:58:25 +0000</pubDate>
		<dc:creator>mw</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.bitbonsai.com/?p=116</guid>
		<description><![CDATA[É, o google está mudando... Eles estão testando um redesign, que por enquanto está sendo mantido em segredo. Até agora...  :) Vá ao google.com Se estiver em Português, clique no Go to Google.com cole o código abaixo na location bar (barra de endereços) substituindo o http://google.com - javascript:void(document.cookie="PREF=ID=20b6e4c2f44943bb:U=4bf292d46faad806:TM=1249677602:LM=1257919388:S=odm0Ys-53ZueXfZG;path=/; domain=.google.com"); tecle ENTER feche o browser abra [...]]]></description>
			<content:encoded><![CDATA[<p>É, o google está mudando... Eles estão testando um redesign, que por enquanto está sendo mantido em segredo.</p>
<h4>Até agora...  :)</h4>
<ol>
<li>Vá ao <a href="http://google.com">google.com</a></li>
<li>Se estiver em Português, clique no <a href="http://google.com/ncr">Go to Google.com</a></li>
<li>cole o código abaixo na location bar (barra de endereços) substituindo o http://google.com -<br />
<em><span style="color: #99cc00;">javascript:void(document.cookie="PREF=ID=20b6e4c2f44943bb:U=4bf292d46faad806:TM=1249677602:LM=1257919388:S=odm0Ys-53ZueXfZG;path=/; domain=.google.com");</span></em></li>
<li>tecle ENTER</li>
<li>feche o browser</li>
<li>abra o browser</li>
<li>Vá ao <a href="http://google.com">google.com</a></li>
<li>Perceba os botões azuis e faça uma busca. tada!!!</li>
</ol>
<div class="wp-caption aligncenter" style="width: 425px"><img title="Antes" src="http://img.skitch.com/20091126-bgyhn3t565ikty6y79bfgc54ri.png" alt="Antes..." width="415" height="243" /><p class="wp-caption-text">Antes...</p></div>
<div class="wp-caption aligncenter" style="width: 344px"><img title="Depois" src="http://img.skitch.com/20091126-j7rh54m3prxjwj64f5ufbbs9qg.png" alt="Depois" width="334" height="263" /><p class="wp-caption-text">Depois</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.bitbonsai.com/novo-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
