<?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>David Chin Online &#187; Textmate</title>
	<atom:link href="http://www.davidchinphoto.com/tag/textmate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidchinphoto.com</link>
	<description>Commentary on the most interesting tech, photography, design and media links of the day</description>
	<lastBuildDate>Thu, 09 Feb 2012 00:05:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Learn Ruby</title>
		<link>http://www.davidchinphoto.com/learn-ruby/</link>
		<comments>http://www.davidchinphoto.com/learn-ruby/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 07:47:12 +0000</pubDate>
		<dc:creator>David Chin</dc:creator>
				<category><![CDATA[Categorized]]></category>
		<category><![CDATA[Ruby Programming]]></category>
		<category><![CDATA[Textmate]]></category>

		<guid isPermaLink="false">http://www.davidchinphoto.com/disable-wake-on-lid-open-on-macbooks-2/</guid>
		<description><![CDATA[The Ruby Study Notes / Tutorials on rubylearning.com is a good place to start learning Ruby. I&#039;d already written my first &#034;Hello&#034; Ruby program in Textmate. First, I created an empty p001hello.rb file and opened that in Textmate. Next, I pasted and tidied up the sample code, and executed the program by pressing &#x2318;R, which [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The <a href="http://rubylearning.com/satishtalim/tutorial.html">Ruby Study Notes / Tutorials</a> on rubylearning.com is a good place to start learning Ruby.</p>
<p>I&#039;d already written my first &#034;Hello&#034; Ruby program in Textmate.</p>
<p>First, I created an empty <code>p001hello.rb</code> file and opened that in Textmate.</p>
<p>Next, I pasted and tidied up the <a href="http://rubylearning.com/satishtalim/first_ruby_program.html" title="Ruby code for the Hello program">sample code</a>, and executed the program by pressing &#x2318;R, which opens an HTML preview window showing the results.</p>
<p><img src="http://farm3.static.flickr.com/2474/3829626004_0ef620bc87_o.jpg" width="532" height="601" alt="My first Ruby program" /></p>
<p>That was all there was to it. I&#039;m pretty amazed how smoothly it all went.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidchinphoto.com/learn-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wrong dateTime.iso8601 error when fetching posts from WordPress to TextMate</title>
		<link>http://www.davidchinphoto.com/wrong-datetime-iso8601-error-when-fetching-posts-from-wordpress-to-textmate/</link>
		<comments>http://www.davidchinphoto.com/wrong-datetime-iso8601-error-when-fetching-posts-from-wordpress-to-textmate/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 14:08:14 +0000</pubDate>
		<dc:creator>David Chin</dc:creator>
				<category><![CDATA[Categorized]]></category>
		<category><![CDATA[Textmate]]></category>

		<guid isPermaLink="false">http://www.davidchinphoto.com/wrong-datetime-iso8601-error-when-fetching-posts-from-wordpress-to-textmate/</guid>
		<description><![CDATA[If you get a wrong dateTime error when fetching posts from your WordPress blog using the Blogging Bundle in Textmate, this could be due to the existence of a recent draft post. If you create a Draft post in WordPress using the browser-based WordPress editor, a record is created with all zeros in the post_date_gmt [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>If you get a wrong dateTime error when fetching posts from your WordPress blog using the Blogging Bundle in Textmate, this could be due to the existence of a recent draft post.</p>
<p><img src="http://farm3.static.flickr.com/2647/3822549203_1fb2f67d4c_o.jpg" width="576" height="468" alt="TextMate Fetch Posts From WordPress" /></p>
<p>If you create a Draft post in WordPress using the browser-based WordPress editor, a record is created with all zeros in the post_date_gmt field of the draft post record. I used phpMyAdmin for this screen capture of the posts table.</p>
<p>(click to view larger)<br />
<a href="http://farm4.static.flickr.com/3452/3822552649_fca8aaaeb1_o.jpg"><img src="http://farm4.static.flickr.com/3452/3822552649_4cedf9ee8b.jpg" width="500" height="28" alt="All zeros in post_date_gmt field of the draft post" /></a></p>
<p>You can do one of two things to address this problem.</p>
<p>Firstly, you could just go ahead and create a new post in Textmate and publish it to your WordPress blog &#8211; it will successfully publish.</p>
<p>Or, you could force a proper date to be updated in the post_date_gmt field by calling up the draft post in the WordPress editor and changing the publish date of the post from &#034;Publish immediately&#034; to a specific date in the future, and re-saving the draft post.</p>
<p>This issue only crops up when creating draft posts in WordPress itself. Draft posts made using <a href="http://www.red-sweater.com/marsedit/">Marsedit</a> or <a href="http://macromates.com/">Textmate</a> have the post_date_gmt field filled in with the date and time of the post creation. However, you would need to remember to manually change the date and time later, at the point of publishing the post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidchinphoto.com/wrong-datetime-iso8601-error-when-fetching-posts-from-wordpress-to-textmate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Panic Sans Font in Textmate</title>
		<link>http://www.davidchinphoto.com/panic-sans-font-in-textmate/</link>
		<comments>http://www.davidchinphoto.com/panic-sans-font-in-textmate/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 13:15:31 +0000</pubDate>
		<dc:creator>David Chin</dc:creator>
				<category><![CDATA[Categorized]]></category>
		<category><![CDATA[Textmate]]></category>

		<guid isPermaLink="false">http://www.davidchinphoto.com/?p=1342</guid>
		<description><![CDATA[Thanks to a tip in this post by DamienG, I&#039;ve managed to install the gorgeous Panic Sans font that comes with the Coda application, and used it in Textmate. Here&#039;s a screen shot showing a comparison of both fonts. Monaco (click to view larger): Panic Sans (click to view larger): I&#039;m still sticking with Textmate&#039;s [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Thanks to a tip in this <a href="http://damieng.com/blog/2008/02/08/humane-theme-for-textmate-and-xcode">post by DamienG</a>, I&#039;ve managed to install the gorgeous Panic Sans font that comes with the <a href="http://www.panic.com/coda/">Coda</a> application, and used it in <a href="http://macromates.com/">Textmate</a>.</p>
<p>Here&#039;s a screen shot showing a comparison of both fonts.</p>
<p>Monaco (click to view larger):<br />
<a href="http://www.flickr.com/photos/davidchinphoto/3807134337/sizes/o/" title="Pastels on Dark, Monaco Font by David Chin of DPNotes.com, on Flickr"><img src="http://farm4.static.flickr.com/3419/3807134337_81dfeab618.jpg" width="500" height="345" alt="Pastels on Dark, Monaco Font" /></a></p>
<p>Panic Sans (click to view larger):<br />
<a href="http://www.flickr.com/photos/davidchinphoto/3807946596/sizes/o/" title="Pastels on Dark, Panic Sans Font by David Chin of DPNotes.com, on Flickr"><img src="http://farm4.static.flickr.com/3541/3807946596_c35a6c8f8c.jpg" width="500" height="345" alt="Pastels on Dark, Panic Sans Font" /></a></p>
<p>I&#039;m still sticking with Textmate&#039;s Pastels on Dark theme though, as it is easy on the eyes (Twilight is a tad more contrasty).</p>
<p>I&#039;ve also decided that the combination of Textmate and <a href="http://www.binarynights.com/forklift">Forklift</a> is best suited for my needs in adding and modifying content (Textmate) on <a href="http://links.dpnotes.com/">Digital Photography Notes</a> locally on my Mac, and syncing the new and modified files (Forklift) with my remote hosting server.</p>
<p>Forklift also acts as a splendid File Manager / Finder alternative, with its two-pane, multi-tab approach to presenting folders, servers and mounted storage.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidchinphoto.com/panic-sans-font-in-textmate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TextMate productivity tips</title>
		<link>http://www.davidchinphoto.com/textmate-productivity-tips/</link>
		<comments>http://www.davidchinphoto.com/textmate-productivity-tips/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 10:36:57 +0000</pubDate>
		<dc:creator>David Chin</dc:creator>
				<category><![CDATA[Categorized]]></category>
		<category><![CDATA[Textmate]]></category>

		<guid isPermaLink="false">http://www.davidchinphoto.com/?p=1337</guid>
		<description><![CDATA[These tips are great for Textmate newcomers like me.]]></description>
			<content:encoded><![CDATA[<p></p><p>These <a href="http://www.456bereastreet.com/archive/200811/textmate_productivity_tips/" title="Textmate tips">tips</a> are great for <a href="http://macromates.com/">Textmate</a> newcomers like me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidchinphoto.com/textmate-productivity-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

