<?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>iandouglas.com &#187; productivity</title>
	<atom:link href="http://iandouglas.com/tag/productivity/feed/" rel="self" type="application/rss+xml" />
	<link>http://iandouglas.com</link>
	<description>senior web architect</description>
	<lastBuildDate>Thu, 10 Jun 2010 17:58:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Data migration</title>
		<link>http://iandouglas.com/2010/03/26/data-migration/</link>
		<comments>http://iandouglas.com/2010/03/26/data-migration/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 07:43:33 +0000</pubDate>
		<dc:creator>id</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://iandouglas.com/?p=482</guid>
		<description><![CDATA[After importing my Drupal database into my WordPress database, a single MySQL query imported all of my articles from Drupal to WordPress (without comments). All that&#8217;s left is to add categories and tags, and build URL redirects from thedouglasclan.com over to iandouglas.com. I simply got tired of some of the imitations I found in Drupal, [...]]]></description>
			<content:encoded><![CDATA[<p>After importing my Drupal database into my WordPress database, a single MySQL query imported all of my articles from Drupal to WordPress (without comments). All that&#8217;s left is to add categories and tags, and build URL redirects from thedouglasclan.com over to iandouglas.com. I simply got tired of some of the imitations I found in Drupal, and find WordPress a much friendlier interface to use.</p>
<p>For anyone curious enough, here&#8217;s the query I used to migrate from Drupal 6.8 to WordPress 2.9:</p>
<p><code>INSERT INTO wp_posts (id, post_author, post_date, post_content, post_title, post_excerpt, post_name, post_modified, post_status)<br />
SELECT DISTINCT 120+n.nid, 1, FROM_UNIXTIME(created), body, n.title, teaser, REPLACE(REPLACE(REPLACE(REPLACE(LOWER(n.title),' ', '-'),'.', '-'),',', '-'),'+', '-'),FROM_UNIXTIME(changed), "draft"<br />
FROM drupal6_node n, drupal6_node_revisions r<br />
WHERE n.vid = r.vid;<br />
</code></p>
<p>The 120+ vaue in the ID field is because I currently had 120 items in my wp_posts table already, and each post must have a unique ID. So, I simply added a value of 120 to whatever ID value was in Drupal. The &#8217;1&#8242; value in the post_author field assigns my WordPress user ID as the author of each article. I also added a post_status of &#8220;draft&#8221; so I could go through the articles, verify their integrity, and then publish them.</p>
]]></content:encoded>
			<wfw:commentRss>http://iandouglas.com/2010/03/26/data-migration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacked an iPhone car kit for the Nexus One</title>
		<link>http://iandouglas.com/2010/02/25/hacked-iphone-car-kit-for-nexus-one/</link>
		<comments>http://iandouglas.com/2010/02/25/hacked-iphone-car-kit-for-nexus-one/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 22:40:59 +0000</pubDate>
		<dc:creator>id</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[nexus one]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://iandouglas.com/?p=48</guid>
		<description><![CDATA[Even while I had my iPhone as my primary mobile device, I had been interested in a car dock of some kind that didn&#8217;t involve a suction cup to my windshield or dashboard that could power the device and play audio into my car speakers. A coworker at Armor Games has a neat device, and [...]]]></description>
			<content:encoded><![CDATA[<p>Even while I had my iPhone as my primary mobile device, I had been interested in a car dock of some kind that didn&#8217;t involve a suction cup to my windshield or dashboard that could power the device and play audio into my car speakers. A coworker at Armor Games has a neat device, and forwarded a link to it at mwave.com: <a href="https://www.mwave.com/mwave/skusearch_v3.asp?scriteria=BA36862">The Pixxo PF-C001 All-in-One Hands-Free Car Kit and Charger for iPhone or iPod w/ FM transmitter</a>. It&#8217;s $15-$25 at mwave.com, $27 on eBay at the moment, and there are several similar items on Amazon for $15+. I went to Fry&#8217;s Electronics looking for something similar and only found iPhone-related gear. While the Pixxo device has an additional USB port on the side of the FM Transmitter, it would be inconvenient to have to use that to charge the primary device that&#8217;s being docked once my Nexus One arrived. What to do?</p>
<p>First off, my apologies for lack of photos. I thought about documenting it while I worked, but it was late last night. However, I do need to replace some of my handiwork with proper stuff like heat shrink and insulated wires to cut down on some radio interference.</p>
<p>First, I cut the iPod/iPhone adapter from the Pixxo unit, and saw that there were 8 wires (red, black, white, green, yellow, brown, purple and orange). Next, I cut a micro USB cable and saw that while it was well shielded on the outside, inside the foil insulator were only four wires (red, black, white and green). I twisted the matching wires together, taped it up enough that nothing was shorted, and tested it in the car, and my Nexus One started charging. w00t</p>
<p>Only thing left was to trim the wires back as far as I felt comfortable, shorten up the micro USB plug, and get everything taped up better. Which worked like a champ, except that I had no electrical tape, and I&#8217;m sure that as good as blue 3M Painter tape is, actual electrical tape or heat shrink would do a much better job.</p>
<p>Then, I shortened and spliced a stereo 3.5mm audio cable, as the one that shipped with the Pixxo unit was about two inches two short.</p>
<p>The net result:</p>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/hhoh1DIf8YQESrNy6b4bCA?authkey=Gv1sRgCM6iovbYuKTXmQE&#038;feat=embedwebsite"><img src="http://lh5.ggpht.com/_Hy2suZQNKEY/S4cJSlKfrpI/AAAAAAAAASs/CuT4ZBrdNIU/s400/2010-02-25%2015.34.58.jpg" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">(hosted at picasa)</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://iandouglas.com/2010/02/25/hacked-iphone-car-kit-for-nexus-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: stop wasting time at work</title>
		<link>http://iandouglas.com/2010/01/04/howto-stop-wasting-time-at-work/</link>
		<comments>http://iandouglas.com/2010/01/04/howto-stop-wasting-time-at-work/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 17:48:56 +0000</pubDate>
		<dc:creator>id</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://iandouglas.com/?p=28</guid>
		<description><![CDATA[quick and simple: edit /etc/hosts (or on Windows machines: C:\WINDOWS\system32\drivers\etc\hosts) and add the following: 0.0.0.0 www.facebook.com facebook.com apps.facebook.com 0.0.0.0 www.myspace.com myspace.com 0.0.0.0 www.digg.com digg.com etc. Add as many sites as you want. When you want to stop being productive at work, simply comment out those lines (like during a lunch break). Just be sure to [...]]]></description>
			<content:encoded><![CDATA[<p>quick and simple: edit /etc/hosts<br />
(or on Windows machines: C:\WINDOWS\system32\drivers\etc\hosts)<br />
and add the following:</p>
<p>0.0.0.0 www.facebook.com facebook.com apps.facebook.com<br />
0.0.0.0 www.myspace.com myspace.com<br />
0.0.0.0 www.digg.com digg.com</p>
<p>etc. Add as many sites as you want. When you want to stop being productive at work, simply comment out those lines (like during a lunch break). Just be sure to uncomment the lines when you need to be productive again&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://iandouglas.com/2010/01/04/howto-stop-wasting-time-at-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geek Review: GoToMyPC</title>
		<link>http://iandouglas.com/2005/01/01/geek-review-gotomypc/</link>
		<comments>http://iandouglas.com/2005/01/01/geek-review-gotomypc/#comments</comments>
		<pubDate>Sat, 01 Jan 2005 19:27:28 +0000</pubDate>
		<dc:creator>id</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://iandouglas.com/2005/01/01/geek-review-gotomypc/</guid>
		<description><![CDATA[<p>I used <a href="http://www.gotomypc.com">GoToMyPC</a> for quite a while - almost since they started. I was a member for quite a while, too. So long, in fact, that when I wanted to quit their service, they cut my monthly cost in half to keep m...</p>]]></description>
			<content:encoded><![CDATA[<p>I used <a href="http://www.gotomypc.com">GoToMyPC</a> for quite a while &#8211; almost since they started. I was a member for quite a while, too. So long, in fact, that when I wanted to quit their service, they cut my monthly cost in half to keep me as a customer, which I did for a few more months.I loved that I could connect to my PC at home while it was behind a firewall, and get files or access some archived Email or whatever. Ultimately, it was a gimmick and I gave it up to save a few bucks a month on membership fees. It&#8217;s an incredible service and worth the money if you have it to spend (and need it).</p>
<p>Lately though, I archive everything through file shares and private FTP sites and have a few USB devices for quick copies of data if I need to be portable. But then, that&#8217;s why I got a laptop too&#8230;</p>
<p>Update: June 1, 2007<br />Lately I use logmein.com, which is a free service and does everything I need to access my wife&#8217;s Windows machine at home. Of course since I&#8217;m a full-time Linux geek now, I just SSH into my Linux workstation at home&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://iandouglas.com/2005/01/01/geek-review-gotomypc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing XHTML</title>
		<link>http://iandouglas.com/2004/08/11/writing-xhtml/</link>
		<comments>http://iandouglas.com/2004/08/11/writing-xhtml/#comments</comments>
		<pubDate>Thu, 12 Aug 2004 01:23:33 +0000</pubDate>
		<dc:creator>id</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://iandouglas.com/2004/08/11/writing-xhtml/</guid>
		<description><![CDATA[<p>XHTML 1.1 isn't as bad as I thought it was going to be. It's all about closing tags, basically, and forcing you to really understand what you're trying to accomplish. I'll have to look around for some truly compliant XHTML authoring software ...</p>]]></description>
			<content:encoded><![CDATA[<p>XHTML 1.1 isn&#8217;t as bad as I thought it was going to be. It&#8217;s all about closing tags, basically, and forcing you to really understand what you&#8217;re trying to accomplish. I&#8217;ll have to look around for some truly compliant XHTML authoring software though &#8211; typing it by hand is prone to mistakes.</p>
<p>update: May 2005<br />obviously, geeklog isn&#8217;t xhtml 1.1 strict compliant, so that&#8217;ll give me something to do in all that spare time i have</p>
]]></content:encoded>
			<wfw:commentRss>http://iandouglas.com/2004/08/11/writing-xhtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
