<?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>Trey Runcie</title>
	<atom:link href="http://treyruncie.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://treyruncie.com</link>
	<description></description>
	<lastBuildDate>Mon, 07 May 2012 21:26:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Google DFP, &#8220;Flash files with network objects are not allowed.&#8221; Error</title>
		<link>http://treyruncie.com/2012/05/google-dfp-flash-files-with-network-objects-are-not-allowed-error/</link>
		<comments>http://treyruncie.com/2012/05/google-dfp-flash-files-with-network-objects-are-not-allowed-error/#comments</comments>
		<pubDate>Mon, 07 May 2012 21:26:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://treyruncie.com/?p=151</guid>
		<description><![CDATA[I ran into the error message &#8220;Flash files with network objects are not allowed.&#8221; when uploading a clickTAG enabled sfw to DFP through the drag-drop upload interface. The problem? I had forgotten to set the publish version of the swf to 10.1 or lower. After correcting this, all was well.]]></description>
			<content:encoded><![CDATA[<p>I ran into the error message &#8220;Flash files with network objects are not allowed.&#8221; when uploading a clickTAG enabled sfw to DFP through the drag-drop upload interface. The problem? I had forgotten to set the publish version of the swf to 10.1 or lower. After correcting this, all was well.</p>
]]></content:encoded>
			<wfw:commentRss>http://treyruncie.com/2012/05/google-dfp-flash-files-with-network-objects-are-not-allowed-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tinymce spellcheck=false, really?</title>
		<link>http://treyruncie.com/2011/08/tinymce-spellcheck-really/</link>
		<comments>http://treyruncie.com/2011/08/tinymce-spellcheck-really/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 04:13:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://treyruncie.com/?p=145</guid>
		<description><![CDATA[Today a content editor asked me if I could make the spell-check work in the web based rich text editor she uses. She wanted the browser to put the red squiggly line underneath a misspelled word. Tinymce disables the squiggle by setting a non-standard attribute called &#8220;spellcheck&#8221; equal to false.  The squiggle is such a [...]]]></description>
			<content:encoded><![CDATA[<p>Today a content editor asked me if I could make the spell-check work in the web based rich text editor she uses. She wanted the browser to put the red squiggly line underneath a misspelled word. <a href="http://www.tinymce.com/" rel="nofollow">Tinymce</a> disables the squiggle by setting a non-standard attribute called &#8220;spellcheck&#8221; equal to false.  The squiggle is such a benifit to authors, I don&#8217;t understand why they would disable this by default. The fix is simple, you can re-enable the squiggle by setting <strong>gecko_spellcheck: true</strong> in your tinymce config. A better bet altogether would be to use the <a href="http://developer.yahoo.com/yui/editor/">yui: rich text editor</a></p>
]]></content:encoded>
			<wfw:commentRss>http://treyruncie.com/2011/08/tinymce-spellcheck-really/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clancy Maudsley&#8217;s Central Skate Complex (CSC)</title>
		<link>http://treyruncie.com/2010/12/clancy-maudsley-csc/</link>
		<comments>http://treyruncie.com/2010/12/clancy-maudsley-csc/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 21:14:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Skateboarding]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://treyruncie.com/?p=120</guid>
		<description><![CDATA[Video &#8211; Des Moines Skatepark (CSC)]]></description>
			<content:encoded><![CDATA[<h1>Video &#8211; Des Moines Skatepark (CSC)</h1>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/SGVn8QaGQt8" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/SGVn8QaGQt8"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/bMKausEAI7c" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/bMKausEAI7c"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/PxemuHaq9so" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/PxemuHaq9so"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/K_LJB2XtacM" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/K_LJB2XtacM"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://treyruncie.com/2010/12/clancy-maudsley-csc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Item Selector *rough draft</title>
		<link>http://treyruncie.com/2009/03/item-selector/</link>
		<comments>http://treyruncie.com/2009/03/item-selector/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 18:01:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://treyruncie.com/?p=68</guid>
		<description><![CDATA[Item Selector is a Javascript list multi-select UI component similar to a multiple select form element. It allows the user to click, shift+click, and crtl/option+click the elements to make a selection. It also has a few custom events which can be subscribed to. It uses the YUI Global Object, YUI Dom object, and the YUI [...]]]></description>
			<content:encoded><![CDATA[<p>Item Selector is a Javascript list multi-select UI component similar to a multiple select form element. It allows the user to click, shift+click, and crtl/option+click the elements to make a selection. It also has a few custom events which can be subscribed to. It uses the YUI Global Object, YUI Dom object, and the YUI Event object available from the <a href="http://developer.yahoo.com/yui/">Yahoo! User Interface Library</a>.</p>
<p><a title="example of the Item Selector" href="/sandbox/selector/selector.html">Item Selector example</a></p>
<p>The mark up is a simple ul:</p>
<pre>&lt;ul id="selectable-container"&gt;
    &lt;li&gt;&lt;a href="#"&gt;dog&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;cat&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;bird&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;whale&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;frog&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;monkey&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;mouse&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</pre>
<p>The reason for the &#8220;&lt;a&gt;&#8221; tags is to keep the browser from selecting the text during a shift+click.</p>
<p>To create an instance of ItemSelector:</p>
<pre>var selectContainer = new ItemSelector.selectList('selectable-container',{css:{selectedClass: 'selected-item'}});</pre>
<p>The first argument to the selectList method is the id of the ul and the second argument is a config object containing a class to apply to the selected li&#8217;s.</p>
<p>Here are a few events which can be subscribed to:</p>
<ul>
<li>hasSelection &#8211; fires whenever the selection is modified and there is still a selection</li>
<li>noSelection &#8211; fires when the selection is cleared or the selection length becomes zero</li>
<li>noItems &#8211; fires when all list elements have been removed</li>
<li>lengthChanged &#8211; fires whenever the selection length changes</li>
<li>itemDoubleClick &#8211; fires if an item has been double clicked</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://treyruncie.com/2009/03/item-selector/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speech to Text to Speech &#8211; Fresh Prince of Dollar</title>
		<link>http://treyruncie.com/2008/12/speech-text-speech-fresh-prince/</link>
		<comments>http://treyruncie.com/2008/12/speech-text-speech-fresh-prince/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 06:39:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Fresh Prince]]></category>
		<category><![CDATA[Will Smith]]></category>

		<guid isPermaLink="false">http://treyruncie.com/?p=46</guid>
		<description><![CDATA[Justin Hook&#8217;s blog came to my attention today through my friend Ed. The subject of his post is &#8220;My first experience with Microsoft Speech Recognition&#8221; Which apparently was James Hook pumping Will Smith&#8216;s &#8220;The Fresh Prince of Bel Air&#8221; theme song into MS Vista&#8217;s speech recognition. Which Ed then took the text from and put [...]]]></description>
			<content:encoded><![CDATA[<p>Justin Hook&#8217;s blog came to my attention today through my friend Ed. The subject of his post is &#8220;<a title="speech recognition fresh prince" href="http://justinhook.tumblr.com/post/63641223/fw-my-first-experience-with-microsoft-speech">My first experience with Microsoft Speech Recognition</a>&#8221; Which apparently was James Hook pumping <a title="will smith" href="http://www.imdb.com/name/nm0000226/">Will Smith</a>&#8216;s &#8220;The Fresh Prince of Bel Air&#8221; theme song into <acronym title="Microsoft">MS</acronym> Vista&#8217;s speech recognition. Which Ed then took the text from and put it through OS X&#8217;s text to speech engine, which then was mixed with a <a title="Fresh Prince theme" href="http://8bitcollective.com/music/dotdUmmy/The+Fresh+Prince+of+Bel+Air+Theme+(instrumental)/">version of the Fresh Prince theme</a> by another friend, <a title="Brad Loving" href="http://www.birdandwhale.com/">Brad</a>. Finally Ed  finally mixed it with the opening video from the show&#8230; What did I do? I laughed my ass off because I work with some funny people.</p>
<p><strong>Here&#8217;s the outcome.</strong></p>
<p>[flv width="480" height="360" image="http://treyruncie.com/wp-content/uploads/2008/12/fresh-prince-of-dollar.jpg"]http://www.youtube.com/watch?v=rk3ow2A5c-s[/flv]</p>
]]></content:encoded>
			<wfw:commentRss>http://treyruncie.com/2008/12/speech-text-speech-fresh-prince/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://treyruncie.com/wp-content/uploads/2008/12/fresh-prince-of-dollar.mp4" length="9491285" type="video/mp4" />
		</item>
		<item>
		<title>Work Locally Save Remotely with Textmate</title>
		<link>http://treyruncie.com/2008/11/work-locally-save-remotely-with-textmate/</link>
		<comments>http://treyruncie.com/2008/11/work-locally-save-remotely-with-textmate/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 18:36:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Textmate]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[shell script]]></category>
		<category><![CDATA[textmate bundle]]></category>

		<guid isPermaLink="false">http://treyruncie.com/?p=20</guid>
		<description><![CDATA[This is a method of working on a project locally and saving to a remote staging server. You will need to be able to rsync to the remote computer without using a password. For this you will need to set up an ssh key. Add the following shell script to Textmate as a command with [...]]]></description>
			<content:encoded><![CDATA[<p>This is a method of working on a project locally and saving to a remote staging server.</p>
<p>You will need to be able to rsync to the remote computer without using a password. For this you will need to set up an ssh key.</p>
<p>Add the following shell script to Textmate as a command with input is set to none, output is set to Show as tooltip and my key equivalent is set to control+command+s (or whatever you like)</p>
<pre>RSYNC_USER=${RSYNC_USER:-defaultUsername}
RSYNC_HOST=${RSYNC_HOST:-defaultHost}
if [ "${RSYNC_DIR}"  ]; then
	rsync -av --exclude "CVS*" --exclude "*.kpf" --exclude ".DS_Store" $RSYNC_DIR $RSYNC_USER@$RSYNC_HOST:$RSYNC_REMOTE
fi</pre>
<p>Textmate can accept variables for this script on a per project basis. To do this open your project, make sure no files are hi-lighted in the project drawer then click on the &#8220;i&#8221; info icon at the bottom of the project drawer. Here you can add your required variables.<br />
RSYNC_USER The user<br />
RSYNC_DIR The local directory from which the rsync will be made. eg. &#8220;/User/me/Sites/myProject/&#8221;<br />
RSYNC_REMOTE The remote directory in which to rsync. eg. &#8220;/var/www/myProject&#8221;<br />
RSYNC_HOST The host name of the remote server.</p>
<p>Tip: It is always a good idea to echo out the rsync command and have a look at what it is doing before you let it run.</p>
<p><img class="alignnone" src="http://img.skitch.com/20081130-1ipqqdj2mh7upd7e5cskb77cng.jpg" alt="" width="574" height="388" /></p>
]]></content:encoded>
			<wfw:commentRss>http://treyruncie.com/2008/11/work-locally-save-remotely-with-textmate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript HTML Builder</title>
		<link>http://treyruncie.com/2008/11/javascript-html-builder/</link>
		<comments>http://treyruncie.com/2008/11/javascript-html-builder/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 18:22:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://treyruncie.com/?p=1</guid>
		<description><![CDATA[The HTML Builder is for creating markup structure with javascript in a concise nested structure. It uses the YUI Global Object and the YUI Dom object available from the Yahoo! User Interface Library. There are four public functions. contentTag: a function for creating html elements with child nodes. tag: a function for creating self closing [...]]]></description>
			<content:encoded><![CDATA[<p>The HTML Builder is for creating markup structure with javascript in a concise nested structure. It uses the YUI Global Object and the YUI Dom object available from the <a href="http://developer.yahoo.com/yui/">Yahoo! User Interface Library</a>.</p>
<p><strong>There are four public functions.</strong></p>
<ol>
<li>contentTag: a function for creating html elements with child nodes.</li>
<li>tag: a function for creating self closing html elements like img, input or br.</li>
<li>write: a function for rendering the html elements to the DOM.</li>
<li>addEvent: a function that adds an event to an element and returns that element for rendering in the Dom.</li>
</ol>
<p><a href="http://treyruncie.com/sandbox/htmlbuilder/">HTML Builder Demo</a></p>
<p><strong>Sample Usage</strong></p>
<pre>var HTML = YAHOO.treyruncie.html;
HTML.write(HTML.contentTag('a',{'href':'somelink'},'text node'));</pre>
<pre>var HTML = YAHOO.treyruncie.html;
HTML.write(
    HTML.contentTag('div',{'class':'divFromScript'},
        'DIV and input from script',
        HTML.tag('br'),
        HTML.contentTag('label',{'for':'sample'},
            'label for sample',
            HTML.tag('input',{'value':'hello world','name':'sample'})
        ),
        HTML.tag('br'),
        'DIV and input from script'
    ),
    'targetID','insertAfter'
);</pre>
]]></content:encoded>
			<wfw:commentRss>http://treyruncie.com/2008/11/javascript-html-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

