<?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>Hagure-Metaru.net &#187; Dropbox</title>
	<atom:link href="https://hagure-metaru.net/tags/dropbox/feed" rel="self" type="application/rss+xml" />
	<link>https://hagure-metaru.net</link>
	<description>Hard to Perceive, Easy to Destroy, Like Your Life Itself</description>
	<lastBuildDate>Tue, 13 May 2014 08:46:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.42</generator>
	<item>
		<title>Fist of the nvALT Star</title>
		<link>https://hagure-metaru.net/2013/07/08/fist-of-the-nvalt-star</link>
		<comments>https://hagure-metaru.net/2013/07/08/fist-of-the-nvalt-star#comments</comments>
		<pubDate>Tue, 09 Jul 2013 01:07:58 +0000</pubDate>
		<dc:creator><![CDATA[Terry McCall]]></dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Dropbox]]></category>
		<category><![CDATA[nvAlt]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://hagure-metaru.net/?p=1657</guid>
		<description><![CDATA[You wa SHOCK Like many Mac Geeks who live in plaintext, Brett Terpstra&#8217;s nvALT has probably become my most used app outside of a browser &#38; finder; It&#8217;s become my bread and butter for storing notes, and I rely on the usually rock-solid combo of nvALT-markdown-dropbox combo for just about everything I do. Yet a [&#8230;]]]></description>
				<content:encoded><![CDATA[<h1>You wa SHOCK</h1>
<p>Like many Mac Geeks who live in plaintext, <a href="http://brettterpstra.com/">Brett Terpstra&#8217;s</a> nvALT has probably become my most used app outside of a browser &amp; finder; It&#8217;s become my bread and butter for storing notes, and I rely on the usually rock-solid combo of nvALT-markdown-dropbox combo for just about everything I do.</p>
<div id="attachment_1668" style="width: 460px" class="wp-caption aligncenter"><img src="http://hagure-metaru.net/pictures/dropboxdeletionnotice-450x318.png" alt="You never want to see Red text in an update window…" width="450" height="318" class="size-large wp-image-1668" /><p class="wp-caption-text">You never want to see Red text in an update window…</p></div>
<p>Yet a few months ago, I would search for a frequently edited note, and find that it had vanished, deleted from dropbox completely without my knowledge. This was a problem<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup>; While not one I could fix myself, I could at least do some damage control. <span id="more-1657"></span> <div id="attachment_1666" style="width: 460px" class="wp-caption aligncenter"><img src="http://hagure-metaru.net/pictures/kenshiro-450x281.jpg" alt="Deadliest Finger" width="450" height="281" class="size-large wp-image-1666" /><p class="wp-caption-text">I vowed to myself that these horrible monsters<sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup> that killed my notes would not be long for this world.</p></div></p>
<h1>You Are Already Dead</h1>
<p>Since the main problem is having multiple instances of nvALT running at the same time, for now the best thing to do is to make sure this doesn&#8217;t happen.</p>
<p>My first line of defense is a small shell script that ssh&#8217;s in to my home machine and runs a quick killall on nvALT.<sup id="fnref:3"><a href="#fn:3" rel="footnote">3</a></sup></p>
<p><code>ssh MyComputerName killall nvALT</code></p>
<p>Since a one-liner script like this is B-O-R-I-N-G, I spiced it up with growl and used <a href="http://sveinbjorn.org/platypus">platypus</a> to make a little app out of it.</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='604' height='370' src='https://www.youtube.com/embed/pyTAyj_iV3s?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0' allowfullscreen='true'></iframe></span>
<p>I&#8217;ve included the app in my &#8220;Workspace Setup&#8221; Automator workflow that I run as I come into work.<sup id="fnref:4"><a href="#fn:4" rel="footnote">4</a></sup> Since my &#8220;Leaving Work&#8221; workflow quits nvALT, this pretty much eliminates any possible conflicts.</p>
<h1>Box of the Blue Sky</h1>
<p>My second line of defense makes use of my personal Dropbox Events RSS Feed, Yahoo Pipes &amp; IFTTT to notify me of any accidental deletions of any .txt or .taskpaper files.</p>
<p><img src="http://hagure-metaru.net/pictures/pipe-332x400.png" alt="My &quot;Deleted texts&quot; Pipe" width="332" height="400" class="aligncenter size-large wp-image-1667" /></p>
<p><img src="http://hagure-metaru.net/pictures/ifttt-pushover-450x161.png" alt="Pipes→IFTTT→Pushover" width="450" height="161" class="aligncenter size-large wp-image-1665" /></p>
<p>I&#8217;ve also added the pipe to my <s>Google Reader</s> Generic Cloud-Based Feed Parsing Service™, in case I miss the notification.<sup id="fnref:5"><a href="#fn:5" rel="footnote">5</a></sup></p>
<h1>Taking Back the Love</h1>
<p>As is always the case with data loss, this really is a scary bug, and if it persists much longer, I&#8217;ll probably update my little script with some better logic. Hopefully though, this won&#8217;t be a problem in the future, and I trust Mr. Terpstra &amp; co. to sort everything out.</p>
<div class="footnotes">
<hr />
<ol>
<li id="fn:1">
<p>This problem was <a href="http://brettterpstra.com/2013/06/08/nvalt2.2b106/">acknowledged a few weeks ago</a> by Terpstra himself &amp; <a href="http://gridwriter.com/2013/06/11/multiple-nvalts/">mentioned</a> by other mac bloggers&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>
<li id="fn:2">
<p>A pox on Dropbox! Wait…no I take that back!&#160;<a href="#fnref:2" rev="footnote">&#8617;</a></p>
</li>
<li id="fn:3">
<p>Note that I have a ~/.ssh/config file, and ssh keychain setup to allow for this simple ssh command goes through w/o any user interaction.&#160;<a href="#fnref:3" rev="footnote">&#8617;</a></p>
</li>
<li id="fn:4">
<p>Haven&#8217;t quite got around to using <a href="http://www.controlplaneapp.com/">ControlPlane</a> to apply some <a href="http://brettterpstra.com/2013/05/11/eventscripts-and-reliable-bluetooth-proximity-detection/">proximity</a> logic to my &#8220;Arrive at Work&#8221; workflow.&#160;<a href="#fnref:4" rev="footnote">&#8617;</a></p>
</li>
<li id="fn:5">
<p>I could use a better regex to create a tighter sieve, but ever since I enlisted Kenshiro to the cause, I haven&#8217;t had any false positives slip through.&#160;<a href="#fnref:5" rev="footnote">&#8617;</a></p>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>https://hagure-metaru.net/2013/07/08/fist-of-the-nvalt-star/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
