<?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>A Blog about Skateboarding, Technology, and Entrepreneurship</title>
	<atom:link href="http://www.techskater.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techskater.com</link>
	<description>Dennis Baldwin's Thoughts</description>
	<lastBuildDate>Sat, 19 Nov 2011 16:30:15 +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>PriceBlink Price Comparison Comes to iPad</title>
		<link>http://www.techskater.com/cool-products/priceblink-price-comparison-comes-to-ipad/</link>
		<comments>http://www.techskater.com/cool-products/priceblink-price-comparison-comes-to-ipad/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 16:28:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cool Products]]></category>
		<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=570</guid>
		<description><![CDATA[Check out the video here: and you can install PriceBlink for iPad by going here: http://www.priceblink.com/priceblink-for-ipad]]></description>
			<content:encoded><![CDATA[<p>Check out the video here:</p>
<p><iframe src="http://player.vimeo.com/video/32327806?byline=0&amp;portrait=0" width="500" height="325" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p>and you can install PriceBlink for iPad by going here:</p>
<p><a href="http://www.priceblink.com/priceblink-for-ipad" target="_blank">http://www.priceblink.com/priceblink-for-ipad</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/cool-products/priceblink-price-comparison-comes-to-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deleting Local Storage for Chrome Extensions</title>
		<link>http://www.techskater.com/web-stuff/deleting-local-storage-for-chrome-extensions/</link>
		<comments>http://www.techskater.com/web-stuff/deleting-local-storage-for-chrome-extensions/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 15:36:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=565</guid>
		<description><![CDATA[While testing our latest version of PriceBlink price comparison extension for Google Chrome we needed a way to delete our local storage. It&#8217;s not a problem to delete local storage programmatically, but we wanted to test a fresh install where the local storage object didn&#8217;t exist yet. The easiest way that I&#8217;ve found to do [...]]]></description>
			<content:encoded><![CDATA[<p>While testing our latest version of <a href="https://chrome.google.com/webstore/detail/aoiidodopnnhiflaflbfeblnojefhigh" target="_blank">PriceBlink price comparison extension for Google Chrome</a> we needed a way to delete our local storage. It&#8217;s not a problem to delete local storage programmatically, but we wanted to test a fresh install where the local storage object didn&#8217;t exist yet. The easiest way that I&#8217;ve found to do this is by manually deleting the storage file and restarting Chrome.</p>
<p>For Mac users the local storage file can be found in:</p>
<p><strong>/Users/YOUR_USERNAME/Library/Application Support/Google/Chrome/Default/Local Storage</strong></p>
<p>Within that folder you&#8217;ll see a bunch of files. To locate the file you want to delete you&#8217;ll need to find your extension&#8217;s unique identifier. This can be done by opening the Extensions tab in Chrome. For Mac users this is under Window > Extensions. Once you locate your extension simply click the arrow icon next to the extension name to expand details. You&#8217;ll notice an ID field that contains the extensions&#8217;s unique identifier. Now that you have the identifier you should be able to locate the local storage file in the folder I listed above. It will be of the format:</p>
<p><strong>chrome-extension_[EXTENSION_ID_GOES_HERE]_0.localstorage</strong></p>
<p>Simply delete this file and restart Chrome. The first time your extension reads from local storage you should see that your items are undefined and the first time you write to local storage the file will be created.</p>
<p>I know this isn&#8217;t the most elegant way to solve the problem so if you have any better alternatives then please post in the comments below.</p>
<p>Also, clearing browsing data in Chrome&#8217;s preferences does not clear local storage objects for extensions. That&#8217;s a good thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/web-stuff/deleting-local-storage-for-chrome-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing MongoDB on Ubuntu Jaunty 9.04</title>
		<link>http://www.techskater.com/random/installing-mongodb-on-ubuntu-jaunty-9-04/</link>
		<comments>http://www.techskater.com/random/installing-mongodb-on-ubuntu-jaunty-9-04/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 19:53:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=563</guid>
		<description><![CDATA[I have a Ubuntu Jaunty VM on Slicehost where I wanted to install MongoDB. Unfortunately Jaunty reached EOL on October, 2010. Since I didn&#8217;t want to upgrade my Jaunty installation I found a way to install Mongo DB from source as described in this article: http://www.mongodb.org/display/DOCS/Building+for+Linux#BuildingforLinux-Ubuntu9.04and9.10 To make this work you need to install several [...]]]></description>
			<content:encoded><![CDATA[<p>I have a Ubuntu Jaunty VM on Slicehost where I wanted to install MongoDB. Unfortunately Jaunty reached EOL on October, 2010. Since I didn&#8217;t want to upgrade my Jaunty installation I found a way to install Mongo DB from source as described in this article:</p>
<p><a href="http://www.mongodb.org/display/DOCS/Building+for+Linux#BuildingforLinux-Ubuntu9.04and9.10" target="_blank">http://www.mongodb.org/display/DOCS/Building+for+Linux#BuildingforLinux-Ubuntu9.04and9.10</a></p>
<p>To make this work you need to install several dependencies as described in the article above. You need to update your /etc/apt/source.list from:</p>
<p><strong><br />
deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted universe<br />
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted universe</p>
<p>deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe<br />
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted universe</p>
<p>deb http://security.ubuntu.com/ubuntu jaunty-security main restricted universe<br />
deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted universe<br />
</strong></p>
<p>to:</p>
<p><strong><br />
deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted universe<br />
deb-src http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted universe</p>
<p>deb http://old-releases.ubuntu.com/ubuntu/ jaunty-updates main restricted universe<br />
deb-src http://old-releases.ubuntu.com/ubuntu/ jaunty-updates main restricted universe</p>
<p>deb http://old-releases.ubuntu.com/ubuntu jaunty-security main restricted universe<br />
deb-src http://old-releases.ubuntu.com/ubuntu jaunty-security main restricted universe<br />
</strong></p>
<p>Note the <strong>old-releases</strong> which tells Ubuntu to pull packages from the old repos. After making this update you need to run:</p>
<p><strong>sudo apt-get update</strong></p>
<p>and then you should be able to follow the MongoDB installation process above.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/random/installing-mongodb-on-ubuntu-jaunty-9-04/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Changing Your Home Directory Name in OS X Lion</title>
		<link>http://www.techskater.com/random/changing-your-home-directory-name-in-os-x-lion/</link>
		<comments>http://www.techskater.com/random/changing-your-home-directory-name-in-os-x-lion/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 04:50:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=561</guid>
		<description><![CDATA[I just purchased a new MacBook Pro and ran into a small hiccup with my user home directory in OS X Lion. When I setup my new account and used the same shortname as I had on my previous MBP. Using Migration Assistant I was not allowed to migrate my old user account since it [...]]]></description>
			<content:encoded><![CDATA[<p>I just purchased a new MacBook Pro and ran into a small hiccup with my user home directory in OS X Lion. When I setup my new account and used the same shortname as I had on my previous MBP. Using Migration Assistant I was not allowed to migrate my old user account since it had an identical name. In my case the path to the user&#8217;s home directory was /Users/db. So for Migration Assistant to properly migrate my data via Time Machine I had to give the new account a short name of db_old. Now I do a lot of work from the command line and seeing /Users/db_old in my path was a little disconcerting.</p>
<p>Initially I used Terminal to mv /Users/db_old to /Users/db but this called all sorts of problems with my apps not loading not to mention other hassles. After doing a bit of Googling I found out this was possible by following these steps:</p>
<p><a href="http://support.apple.com/kb/ht1428" target="_blank">http://support.apple.com/kb/ht1428</a></p>
<p>The Caveat was that the link to &#8220;Enable Root User&#8221; in this article was not applicable for my setup. I&#8217;m not sure that will be your case, but if it is then be sure to reference this article:</p>
<p><a href="http://www.macosliontips.com/tips/enable-root-account-in-mac-os-x-lion.html" target="_blank">http://www.macosliontips.com/tips/enable-root-account-in-mac-os-x-lion.html</a></p>
<p>After enabling the root user I was able to proceed with the steps in the Apple knowledge base article above. I created a new account with a short name of <strong>db</strong> (my original short name) and then deleted my old account with short name of <strong>db_old</strong>. When I rebooted and logged into the <strong>db</strong> account I verified that everything was working properly. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/random/changing-your-home-directory-name-in-os-x-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Older Mozilla Firefox Builds</title>
		<link>http://www.techskater.com/web-stuff/older-mozilla-firefox-builds/</link>
		<comments>http://www.techskater.com/web-stuff/older-mozilla-firefox-builds/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 14:45:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=559</guid>
		<description><![CDATA[If you&#8217;re doing any sort of Firefox add-on development or just need an older version of Mozilla Firefox then here you go: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ I recently needed Firefox 4.0 for testing an add-on and was able to use the link above to download it.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re doing any sort of Firefox add-on development or just need an older version of Mozilla Firefox then here you go:</p>
<p><a href="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/" target="_blank">ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/</a></p>
<p>I recently needed Firefox 4.0 for testing an add-on and was able to use the link above to download it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/web-stuff/older-mozilla-firefox-builds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Move MySQL&#8217;s Data Directory on Ubuntu</title>
		<link>http://www.techskater.com/web-stuff/how-to-move-mysqls-data-directory-on-ubuntu/</link>
		<comments>http://www.techskater.com/web-stuff/how-to-move-mysqls-data-directory-on-ubuntu/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 01:33:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=553</guid>
		<description><![CDATA[I recently setup a MySQL database on EC2 and wanted to move the data directory off the root partition. For the sake of simplicity I wanted MySQL&#8217;s data files to live in /mnt/mysql. I thought this would be a trivial task and after moving the files and updating /etc/mysql/my.cnf data to: datadir = /mnt/mysql I [...]]]></description>
			<content:encoded><![CDATA[<p>I recently setup a MySQL database on EC2 and wanted to move the data directory off the root partition. For the sake of simplicity I wanted MySQL&#8217;s data files to live in /mnt/mysql. I thought this would be a trivial task and after moving the files and updating /etc/mysql/my.cnf data to:</p>
<p><strong>datadir         = /mnt/mysql</strong></p>
<p>I restarted MySQL and noticed the following error in the log file:</p>
<p><strong>/usr/sbin/mysqld: Can&#8217;t find file: &#8216;./mysql/plugin.frm&#8217; (errno: 13)<br />
111012  1:10:01 [ERROR] Can&#8217;t open the mysql.plugin table. Please run mysql_upgrade to create it.<br />
111012  1:10:01  InnoDB: Initializing buffer pool, size = 8.0M<br />
111012  1:10:01  InnoDB: Completed initialization of buffer pool<br />
111012  1:10:01  InnoDB: Operating system error number 13 in a file operation.</strong></p>
<p>MySQL wouldn&#8217;t start so I scratched my head for a bit, did some Googling, and discovered <a href="http://en.wikipedia.org/wiki/AppArmor" target="_blank">AppArmor</a> on Ubuntu. It turns out that AppArmor restricts the capabilities of any program that has a profile configured. MySQL falls into this category.</p>
<p>So I updated the AppArmor profile for MySQL. This file is located in:</p>
<p><strong>/etc/apparmor.d/usr.sbin.mysqld</strong></p>
<p>You&#8217;ll see a couple lines that look like:</p>
<p><strong>/var/lib/mysql/ r,<br />
/var/lib/mysql/** rwk</strong></p>
<p>I changed those to:</p>
<p><strong>/mnt/mysql/ r,<br />
/mnt/mysql/** rwk</strong></p>
<p>and restarted AppArmor via:</p>
<p><strong>sudo /etc/init.d/apparmor restart</strong></p>
<p>Then I started MySQL and was good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/web-stuff/how-to-move-mysqls-data-directory-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems Installing Node.js on OS X Lion</title>
		<link>http://www.techskater.com/web-stuff/problems-installing-node-js-on-os-x-lion/</link>
		<comments>http://www.techskater.com/web-stuff/problems-installing-node-js-on-os-x-lion/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 19:42:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Tools]]></category>
		<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=544</guid>
		<description><![CDATA[I&#8217;ve been wanting to try Node.js for some time and finally got around to it last night. I&#8217;ve had all sorts of little problems after upgrading to OS X Lion and ran into one when compiling Node.js. I was following the howto guide on the Node wiki page and received an error when running ./configure. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wanting to try <a href="http://www.nodejs.org" target="_blank">Node.js</a> for some time and finally got around to it last night. I&#8217;ve had all sorts of little problems after upgrading to OS X Lion and ran into one when compiling Node.js. I was following the howto guide on the Node <a href="https://github.com/joyent/node/wiki/Installation" target="_blank">wiki page</a> and received an error when running <strong>./configure</strong>. The error stated:</p>
<p><strong>/Users/db/_dev/nodejs/wscript:232: error: could not configure a cxx compiler!</strong></p>
<p>which looked like this:</p>
<p><img src="http://www.techskater.com/wp-content/uploads/2011/10/1.png" alt="" title="1" width="500" height="56" class="alignnone size-full wp-image-547" /></p>
<p>It turns out that after upgrading to OS X Lion that my g++ and c++ compilers were no longer working. Instead of digging into the root cause I decided to upgrade to Xcode 4.1.1 from the Mac App Store. Unfortunately, this was a 3.1 GB download so I had to wait a bit before I could continue with my Node.js install. </p>
<p>After Xcode was downloaded the App Store showed that it was installed as you can see here:</p>
<p><img src="http://www.techskater.com/wp-content/uploads/2011/10/2.png" alt="" title="2" width="500" height="160" class="alignnone size-full wp-image-549" /></p>
<p>But unfortunately that wasn&#8217;t the case. The file had only been downloaded and not installed. I had to use Spotlight to locate the &#8220;Install Xcode&#8221; binary:</p>
<p><img src="http://www.techskater.com/wp-content/uploads/2011/10/3.png" alt="" title="3" width="427" height="159" class="alignnone size-full wp-image-550" /></p>
<p>After installing Xcode 4.1 I was finally able to configure and make Node.js. Now on to bigger and better things. I hope this helps those who run into the same problem of installing Node.js on OS X Lion.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/web-stuff/problems-installing-node-js-on-os-x-lion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why I&#8217;m a Fan of PriceBlink for Unobtrusive Comparison Shopping</title>
		<link>http://www.techskater.com/cool-products/why-im-a-fan-of-priceblink-for-unobtrusive-comparison-shopping/</link>
		<comments>http://www.techskater.com/cool-products/why-im-a-fan-of-priceblink-for-unobtrusive-comparison-shopping/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 16:38:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cool Products]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=535</guid>
		<description><![CDATA[If you spend any time shopping online then you should most definitely check out PriceBlink. It&#8217;s a browser addon that make it easy to find the best deals while shopping on retailer sites. It even works for obscure products like 3&#8243; chlorine tablets for your swimming pool. I recently became a new pool owner and [...]]]></description>
			<content:encoded><![CDATA[<p>If you spend any time shopping online then you should most definitely check out <a href="http://www.priceblink.com" target="_blank">PriceBlink</a>. It&#8217;s a browser addon that make it easy to find the best deals while shopping on retailer sites. It even works for obscure products like 3&#8243; chlorine tablets for your swimming pool.</p>
<p>I recently became a new pool owner and had no idea of some of the costs associated with pool ownership. Let&#8217;s take chlorine tables for example. I bought a 20 lb bucket of tablets at my local pool store for $70 this past week. Anyone that owns a pool will most likely tell me I got ripped off. Aside for the convenience factor of buying local, you&#8217;re absolutely right. But time was of the essence and I didn&#8217;t have time to order them online and wait a few days for them to arrive at my door.</p>
<p>Moving forward I&#8217;ll be buying chlorine tablets online and with the help of my trusty comparison addon, <a href="http://www.priceblink.com" target="_blank">PriceBlink</a>. I just searched for the same brand/size of tablets that I currently use and ended up on the Walmart site. Although Walmart didn&#8217;t have pricing for my area, PriceBlink told me I could get a 37.5 lb bucket of HTH tablets for $99.74.</p>
<p><img src="http://www.techskater.com/wp-content/uploads/2011/09/1.jpg" alt="" title="1" width="500" height="307" class="alignnone size-full wp-image-539" /></p>
<p>After doing some of my own Googling I found them for $20 more at Capitol Supply. That&#8217;s a no brainer. Now I realize that shipping comes into play here, but the nice thing is that PriceBlink tells me the shipping cost of items or at least let&#8217;s me know there&#8217;s a shipping fee by including &#8220;plus shipping&#8221; in the price menu. </p>
<p>After clicking the lowest price I was taken to a nifty site called Ron&#8217;s Home and Hardware:</p>
<p><img src="http://www.techskater.com/wp-content/uploads/2011/09/2.jpg" alt="" title="2" width="500" height="384" class="alignnone size-full wp-image-540" /></p>
<p>When it comes time to buy my next bucket of chlorine tablets I&#8217;m glad to know <a href="http://www.priceblink.com" target="_blank">PriceBlink</a> will be around to give me peace of mind. <a href="http://www.priceblink.com" target="_blank">PriceBlink</a> helps me:</p>
<ul>
<li>Find the best deals on mainstream products</li>
<li>Fine the best deals on obscure projects like chlorine tablets</li>
<li>Introduces to nifty online retailers such as Ron&#8217;s hardware</li>
</ul>
<p>The next time you consider buying ANYTHING online you should install the <a href="http://www.priceblink.com/get-add-on" target="_blank">PriceBlink addon</a>. It&#8217;s completely free and provides price comparison for Google Chrome, Mozilla Firefox, Apple Safari, and Internet Explorer. If you want to see PriceBlink in action then check out the video below. Enjoy!</p>
<p><iframe width="500" height="300" src="http://www.youtube.com/embed/UKxMx5bT-QM" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/cool-products/why-im-a-fan-of-priceblink-for-unobtrusive-comparison-shopping/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Error with top command on OS X Lion</title>
		<link>http://www.techskater.com/web-stuff/error-with-top-command-on-os-x-lion/</link>
		<comments>http://www.techskater.com/web-stuff/error-with-top-command-on-os-x-lion/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 15:34:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=533</guid>
		<description><![CDATA[This is one of those annoying little nits that I wanted to share for my personal use and others. Today I was reviewing a few processes on one of my VMs hosted at Slicehost. I ran the top command to check out the system load and received the following error message: &#8216;xterm-256color&#8217;: unknown terminal type. [...]]]></description>
			<content:encoded><![CDATA[<p>This is one of those annoying little nits that I wanted to share for my personal use and others. Today I was reviewing a few processes on one of my VMs hosted at Slicehost. I ran the <strong>top</strong> command to check out the system load and received the following error message:</p>
<p><strong>&#8216;xterm-256color&#8217;: unknown terminal type.</strong></p>
<p>I knew something was up because top has always worked for me previously. After searching around a bit I stumbled across a forum post that mentioned this was a problem after upgrading to Mac OS X Lion (which I recently did). The answer was quite simple and consists of installing the ncurses-term package. Since my VM runs Ubuntu I used apt-get to install it:</p>
<p><strong>sudo apt-get install ncurses-term </strong></p>
<p>Everything is now back in working order. Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/web-stuff/error-with-top-command-on-os-x-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessing Google Chrome Extension Local Storage Database</title>
		<link>http://www.techskater.com/web-stuff/accessing-google-chrome-extension-local-storage-database/</link>
		<comments>http://www.techskater.com/web-stuff/accessing-google-chrome-extension-local-storage-database/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 03:46:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Stuff]]></category>

		<guid isPermaLink="false">http://www.techskater.com/?p=528</guid>
		<description><![CDATA[I&#8217;ve been helping a friend with a Google Chrome extension, which makes use of the Chrome localStorage API. The extension checks for a variable and if it doesn&#8217;t exist it writes it to the localStorage database. If you&#8217;re note aware, the localStorage database is actually an SQLite database. For testing he needed a way to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been helping a friend with a Google Chrome extension, which makes use of the <a href="http://www.rajdeepd.com/articles/chrome/localstrg/LocalStorageSample.htm">Chrome localStorage API</a>. The extension checks for a variable and if it doesn&#8217;t exist it writes it to the localStorage database.  If you&#8217;re note aware, the localStorage database is actually an SQLite database.</p>
<p>For testing he needed a way to change this variable outside the extension to exercise different test cases. The goal was to change the variable and run the Chrome extension to see if it behaved as expected. This was accomplished with the following steps:</p>
<p>1. Download Mike Titlebaum&#8217;s nifty SQLite database management tool <a href="http://saxmike.com/MySoftware/MySoftware.asp?Menu=MYSOFTWARE">http://saxmike.com/MySoftware/MySoftware.asp?Menu=MYSOFTWARE</a></p>
<p>2. Open the localStorage database using this tool. The database is actually a file that exists in the user data directory. For Mac users this is located at ~/Library/Application Support/Google/Chrome/Default/Local Storage. The file will be named something like chrome-extension_[Chrome Extension ID]_0.localStorage. For Windows and Linux you can reference <a href="http://www.chromium.org/user-experience/user-data-directory">this link</a>.</p>
<p>3. To access this file in Mike&#8217;s tool you need to &#8220;Connect&#8221; and navigate to the file in the file browser. Once the file is opened you need to select the &#8220;ItemTable&#8221; table. You should see a list of key/value pairs underneath the table.</p>
<p>4. Simply click the key/value you want to change and enter the new value. The new value will automatically update after you hit the enter key.</p>
<p>5. Restart Chrome and test the extension with the changed value.</p>
<p>The alternative was to create a &#8220;debug&#8221; mode for the extension that would allow the variable to be changed, but for the sake of time this was the easiest path to accomplish the task.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techskater.com/web-stuff/accessing-google-chrome-extension-local-storage-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

