<?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 Nunez &#187; textmate</title>
	<atom:link href="http://www.davidnunez.com/tag/textmate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidnunez.com</link>
	<description>David Nunez lives, wonders, tinkers and builds in Boston.</description>
	<lastBuildDate>Mon, 06 Feb 2012 16:00:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Large Letters for greater creativity</title>
		<link>http://www.davidnunez.com/2008/12/11/large-letters-for-greater-creativity/</link>
		<comments>http://www.davidnunez.com/2008/12/11/large-letters-for-greater-creativity/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 04:10:05 +0000</pubDate>
		<dc:creator>davidnunez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[creative]]></category>
		<category><![CDATA[creativity]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://www.davidnunez.com/blog/2008/12/11/large-letters-for-greater-creativity/</guid>
		<description><![CDATA[I&#8217;ve recently upped the font sizes in Textmate and the terminal. It makes me feel like my code is more beautiful, somehow. Maybe it&#8217;s because whenever I watch a brilliant hacker give a technical talk, they put their screens up on the projector and live-code with super-large type. Perhaps it reduces the amount of stuff [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently upped the font sizes in Textmate and the terminal.</p>

<p>It makes me feel like my code is more beautiful, somehow.</p>

<p>Maybe it&#8217;s because whenever I watch a brilliant hacker give a technical talk, they put their screens up on the projector and live-code with super-large type.</p>

<p>Perhaps it reduces the amount of stuff that fits on my screen to a more elegant &#8220;that which matters.&#8221; Too much text via smaller font makes it difficult to focus.</p>

<p>It&#8217;s a cognitive hack for creativity.<br /></p>

<p><br /></p>

<div style="text-align: center;">
  <img src="http://www.davidnunez.com/blog/wp-content/uploads/2008/12/terminal-bash-80x24-1.jpg" width="455" height="263" alt="Terminal — bash — 80x24-1.jpg" /><br />
</div>

<p style="text-align: center;"><img src="http://www.davidnunez.com/blog/wp-content/uploads/2008/12/demorb-smart-lab.jpg" width="436" height="355" alt="demo.rb — smart-lab.jpg" /></p>

<p style="text-align: center;"><em>Monoco 18pt &#8211; <a href="http://alternateidea.com/blog/articles/2006/1/3/textmate-vibrant-ink-theme-and-prototype-bundle">Vibrant Ink</a> color scheme for Textmate</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidnunez.com/2008/12/11/large-letters-for-greater-creativity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applescript to transform mail.app message to GTDAlt inbox item</title>
		<link>http://www.davidnunez.com/2007/03/25/applescript-to-transform-mailapp-message-to-gtdalt-inbox-item/</link>
		<comments>http://www.davidnunez.com/2007/03/25/applescript-to-transform-mailapp-message-to-gtdalt-inbox-item/#comments</comments>
		<pubDate>Mon, 26 Mar 2007 03:56:00 +0000</pubDate>
		<dc:creator>davidnunez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[365experiments]]></category>
		<category><![CDATA[gtd]]></category>
		<category><![CDATA[GTDAlt]]></category>
		<category><![CDATA[Mail.app]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[Tinker]]></category>

		<guid isPermaLink="false">http://www.davidnunez.com/2007/03/25/applescript-to-transform-mailapp-message-to-gtdalt-inbox-item/</guid>
		<description><![CDATA[I&#8217;m currently using GTDAlt in TextMate as my GTD processing system. It&#8217;s a text based system, so it&#8217;s upgradable, portable, etc. Through the TextMate bundle framework, you get some nice collating of contexts, etc. GTDAlt does rely on some proprietary syntax, but it&#8217;s pretty basic and easily parsable. There is rudimentary support for iterating through [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently using <a href="http://skiadas.dcostanet.net/afterthought/2006/06/25/details-on-the-gtdalt-bundle/">GTDAlt</a> in <a href="http://macromates.com/">TextMate</a> as my GTD processing system.  It&#8217;s a text based system, so it&#8217;s upgradable, portable, etc.</p>

<p>Through the <a href="http://macromates.com/">TextMate</a> bundle framework, you get some nice collating of contexts, etc.</p>

<p><a href="http://skiadas.dcostanet.net/afterthought/2006/06/25/details-on-the-gtdalt-bundle/">GTDAlt</a> does rely on some proprietary syntax, but it&#8217;s pretty basic and easily parsable.</p>

<p>There is rudimentary support for iterating through items in an inbox.txt file to generate GTD items.</p>

<p>I created an applescript which will take the selected message in Mail.app and create a properly formated item, using the subject and message: url (you must have <a href="http://www.indev.ca/MailTags.html">MailTags</a> installed so the message: protocol is recognized).</p>

<p>This means I&#8217;ll get action items with links to specific messages in my GTD system.</p>

<p>I partner this with a <a href="http://www.indev.ca/MailActOn.html">Mail Act-On</a> rule&#8230; so when I hit ctrl-1, a <a href="http://skiadas.dcostanet.net/afterthought/2006/06/25/details-on-the-gtdalt-bundle/">GTDAlt</a> item gets created, the message is tagged &#8220;@action&#8221;, and it&#8217;s sent to my one archive folder in one step.</p>

<p>In true GTD fashion, this should only be used for messages that take longer than 2 minutes to respond to.  In reality, I need to get better at firing off quick responses to things (or liberally using the delete key).  Otherwise, it&#8217;s likely I&#8217;ll use this to just procrastinate email items away into a black hole.</p>

<p><a href="http://www.davidnunez.com/assets/2007/3/26/Mail_to_TMGTD.scpt">Download the script</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidnunez.com/2007/03/25/applescript-to-transform-mailapp-message-to-gtdalt-inbox-item/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hack to get all posts with Textmate/Blogging Fetch</title>
		<link>http://www.davidnunez.com/2007/03/19/hack-to-get-all-posts-with-textmateblogging-fetch/</link>
		<comments>http://www.davidnunez.com/2007/03/19/hack-to-get-all-posts-with-textmateblogging-fetch/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 01:24:55 +0000</pubDate>
		<dc:creator>davidnunez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[365experiments]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[Tinker]]></category>

		<guid isPermaLink="false">http://www.davidnunez.com/2007/03/19/hack-to-get-all-posts-with-textmateblogging-fetch/</guid>
		<description><![CDATA[UPDATE (2007.03.20.084041): Don&#8217;t do this. It&#8217;s an awful hack and will grind your computer to a halt. I want to hack the textmate blogging bundle to do a full download of all posts in a blog and save those posts to local disk. First, I just hacked the bundle to allow user to fetch any [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE (2007.03.20.084041): Don&#8217;t do this.  It&#8217;s an awful hack and will grind your computer to a halt.</strong></p>

<p>I want to hack the textmate blogging bundle to do a full download of all posts in a blog and save those posts to local disk.</p>

<p>First, I just hacked the bundle to allow user to fetch any post from the blog.</p>

<p><strong>Note: This is a slow hack and should only sparingly be used.</strong></p>

<p><a href="http://confuseddevelopment.blogspot.com/2006/07/blogging-apis-get-me-those-posts.html">Knud M&#8730;&#8706;ller</a> talks about using XMLRPC to get all posts from a blog.  I opted to use the &#8220;number of post requests is ridiculously large&#8221; approach. <a href="http://mephistoblog.com">Mephisto</a> implements the GetRecentPost call with a limit indicating number of posts to retrieve, so it&#8217;s still only one database hit (but creates a whole lot more objects in memory).</p>

<p><pre></p>

<h1><code>/Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb</code></h1>

<p>def fetch
   begin
     # Makes sure endpoint is determined and elements are parsed
     current_password = self.password
     require "#{ENV['TM_SUPPORT_PATH']}/lib/progress.rb"
     result = nil
     TextMate.call_with_progress(:title => "Fetch Post", :message => "Contacting Server &#8218;&#196;&#250;#{@host}&#8218;&#196;&#249;&#8218;&#196;&#182;") do
       result = self.client.getRecentPosts(self.blog_id, self.username, current_password, 100000) # HERE IS WHERE YOU SPECIFY NUMBER OF POSTS TO RETRIEVE
     end
     if !result || !result.length
       TextMate.exit_show_tool_tip("No posts are available!")
     end
     @mw_success = true
     if self.post = select_post(result)
       TextMate.exit_create_new_document(post_to_document())
     else
       TextMate.exit_discard
     end
   rescue XMLRPC::FaultException => e
     TextMate.exit_show_tool_tip("Error retrieving posts. Check your configuration and try again.")
   end
end
</pre></p>

<p>This works fine.  Next up:</p>

<ul>
<li>Create a separate command for Fetch latest 20 and Fetch All</li>
<li>Create command to &#8220;create index listing&#8221;</li>
<li>Create command to &#8220;Fetch All Posts and then save each post to separate file in specified directory&#8221; </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.davidnunez.com/2007/03/19/hack-to-get-all-posts-with-textmateblogging-fetch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using textmate as a blog editing tool</title>
		<link>http://www.davidnunez.com/2007/03/16/using-textmate-as-a-blog-editing-tool/</link>
		<comments>http://www.davidnunez.com/2007/03/16/using-textmate-as-a-blog-editing-tool/#comments</comments>
		<pubDate>Fri, 16 Mar 2007 18:53:00 +0000</pubDate>
		<dc:creator>davidnunez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[Tinker]]></category>

		<guid isPermaLink="false">http://www.davidnunez.com/2007/03/16/using-textmate-as-a-blog-editing-tool/</guid>
		<description><![CDATA[Mephisto and ecto do not get along readily&#8230; I mean, things work, but they are not fast and feel far from bulletproof. I just started using the textmate blog editing bundle by Brad Choate to update this blog. I watched a screencast that convinced me. I&#8217;m liking it quite a lot&#8230; Working solely in text [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mephistoblog.com">Mephisto</a> and <a href="http://ecto.kung-foo.tv/">ecto</a> do not get along readily&#8230; I mean, things <em>work</em>, but they are not fast and feel far from bulletproof.</p>

<p>I just started using the <a href="http://macromates.com/">textmate</a> blog editing bundle by Brad Choate to update this blog.</p>

<p>I watched a <a href="http://macromates.com/blog/archives/2006/06/19/blogging-from-textmate/">screencast</a> that convinced me.</p>

<p>I&#8217;m liking it quite a lot&#8230;  Working solely in text with <a href="http://daringfireball.net/projects/markdown/">markdown</a> is somewhat liberating.  I think with some good <a href="http://quicksilver.blacktree.com">quicksilver</a>-foo, it would make for some fun blogging workflow.</p>

<p>Furthermore, I can then keep local versions of all my blog posts as subversion-friendly text.</p>

<p>I&#8217;d like to work on hacking into the bundle to grab a full backup in text-friendly format.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidnunez.com/2007/03/16/using-textmate-as-a-blog-editing-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

