<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>odds&#039;n&#039;sods</title>
	<atom:link href="http://edeustace.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://edeustace.wordpress.com</link>
	<description>Various braindumps worthy of public consumption</description>
	<lastBuildDate>Wed, 21 Dec 2011 13:55:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='edeustace.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>odds&#039;n&#039;sods</title>
		<link>http://edeustace.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://edeustace.wordpress.com/osd.xml" title="odds&#039;n&#039;sods" />
	<atom:link rel='hub' href='http://edeustace.wordpress.com/?pushpress=hub'/>
		<item>
		<title>&#8216;in place&#8217; image changer &#8211; jquery plugin</title>
		<link>http://edeustace.wordpress.com/2011/12/21/in-place-image-changer-jquery-plugin/</link>
		<comments>http://edeustace.wordpress.com/2011/12/21/in-place-image-changer-jquery-plugin/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 13:55:32 +0000</pubDate>
		<dc:creator>edeustace</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[best_in_place]]></category>

		<guid isPermaLink="false">http://edeustace.wordpress.com/?p=238</guid>
		<description><![CDATA[On one if my projects we&#8217;ve started using best_in_place, which is a gem that allows you to edit elements of your data model &#8216;in place&#8217; (aka directly on that page) in a restful way. However there wasn&#8217;t an option to change images using the same technique. I created a fork of best_in_place and plugged in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=238&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On one if my projects we&#8217;ve started using <a href="https://github.com/bernat/best_in_place">best_in_place</a>, which is a gem that allows you to edit elements of your data model &#8216;in place&#8217; (aka directly on that page) in a restful way. However there wasn&#8217;t an option to change images using the same technique.</p>
<p>I created a fork of best_in_place and plugged in a jQuery component that I create that provides this very option.</p>
<p><a href="http://edeustace.com/inplace">Here&#8217;s an example</a></p>
<p><a href="https://github.com/edeustace/inplace-image-changer">Here&#8217;s the source code<br />
</a></p>
<p>You can use this standalone &#8211; or you can try out the forked <a href="https://github.com/edeustace/best_in_place">best_in_place</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/edeustace.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/edeustace.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/edeustace.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/edeustace.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/edeustace.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/edeustace.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/edeustace.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/edeustace.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/edeustace.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/edeustace.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/edeustace.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/edeustace.wordpress.com/238/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/edeustace.wordpress.com/238/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/edeustace.wordpress.com/238/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=238&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://edeustace.wordpress.com/2011/12/21/in-place-image-changer-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a5dd8dd6c5c518c224d971ef265da95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">edeustace</media:title>
		</media:content>
	</item>
		<item>
		<title>JQuery login component</title>
		<link>http://edeustace.wordpress.com/2011/12/21/jquery-login-component/</link>
		<comments>http://edeustace.wordpress.com/2011/12/21/jquery-login-component/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 13:09:23 +0000</pubDate>
		<dc:creator>edeustace</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[coffeescript]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://edeustace.wordpress.com/?p=234</guid>
		<description><![CDATA[Here&#8217;s a little login component I&#8217;ve extracted out of my pet project. I found that I kept on needing this for different apps, so thought a reusable component would be handy. Example here Source here<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=234&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a little login component I&#8217;ve extracted out of my pet project. I found that I kept on needing this for different apps, so thought a reusable component would be handy.</p>
<p><a href="http://edeustace.com/logmein">Example here</a></p>
<p><a href="https://github.com/edeustace/logmein-jquery">Source here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/edeustace.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/edeustace.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/edeustace.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/edeustace.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/edeustace.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/edeustace.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/edeustace.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/edeustace.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/edeustace.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/edeustace.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/edeustace.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/edeustace.wordpress.com/234/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/edeustace.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/edeustace.wordpress.com/234/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=234&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://edeustace.wordpress.com/2011/12/21/jquery-login-component/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a5dd8dd6c5c518c224d971ef265da95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">edeustace</media:title>
		</media:content>
	</item>
		<item>
		<title>simple jira webservice client</title>
		<link>http://edeustace.wordpress.com/2011/12/14/simple-jira-webservice-client/</link>
		<comments>http://edeustace.wordpress.com/2011/12/14/simple-jira-webservice-client/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 13:08:16 +0000</pubDate>
		<dc:creator>edeustace</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[csv file]]></category>
		<category><![CDATA[jira]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[webservice]]></category>

		<guid isPermaLink="false">http://edeustace.wordpress.com/?p=225</guid>
		<description><![CDATA[I was doing a bit of Jira story creation today and had a lot of stories to add. They were all written into a spreadsheet. So I wondered if I could do a batch import of the spreadsheet. This is possible if you have a Jira administrator account, but I don&#8217;t I&#8217;m just a regular [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=225&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was doing a bit of Jira story creation today and had a lot of stories to add. They were all written into a spreadsheet. So I wondered if I could do a batch import of the spreadsheet. This is possible if you have a <a href="http://confluence.atlassian.com/display/JIRA041/Importing+Data+From+CSV#ImportingDataFromCSV-3ImportingtheCSVfile">Jira administrator account</a>, but I don&#8217;t I&#8217;m just a regular Joey for this Jira server.</p>
<p>So I put together a little webservice client that does the csv import for me.</p>
<p>The project is an executable jar so you run it like so:<br />
<pre class="brush: plain;">
java -jar simple-jira-webservice-client-0.1-jar-with-dependencies.jar ${username} ${password} ${path_to_csv_file}

</pre><br />
where the csv file might look like:<br />
<pre class="brush: plain;">
#project_key,summary,description
MYPROJECT,New Story,Here is the description
MYPROJECT,New Story Two,Here is another description
</pre><br />
If you&#8217;d like to use it, you&#8217;ll need to run a few maven commands (<a href="https://github.com/edeustace/simple-jira-webservice-client">see github for more info</a>) first to get the wsdl for your jira server. Once that set up you can then build it, and then run the above command. </p>
<p><a href="https://github.com/edeustace/simple-jira-webservice-client">The source code is on Github</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/edeustace.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/edeustace.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/edeustace.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/edeustace.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/edeustace.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/edeustace.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/edeustace.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/edeustace.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/edeustace.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/edeustace.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/edeustace.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/edeustace.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/edeustace.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/edeustace.wordpress.com/225/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=225&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://edeustace.wordpress.com/2011/12/14/simple-jira-webservice-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a5dd8dd6c5c518c224d971ef265da95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">edeustace</media:title>
		</media:content>
	</item>
		<item>
		<title>simple jquery gallery plugin (coffeescript)</title>
		<link>http://edeustace.wordpress.com/2011/12/01/simple-jquery-plugin-coffeescript/</link>
		<comments>http://edeustace.wordpress.com/2011/12/01/simple-jquery-plugin-coffeescript/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 16:34:48 +0000</pubDate>
		<dc:creator>edeustace</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[coffeescript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://edeustace.wordpress.com/?p=220</guid>
		<description><![CDATA[I was helping a friend build her site and she wanted a simple gallery mechanism. There are a ton of great gallery javascript plugins, but they were overkill for what she wanted, so I built a real simple one. Its written in coffeescript. It may be useful to someone else. here&#8217;s an example The source [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=220&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was helping a friend build her site and she wanted a simple gallery mechanism. There are a ton of great gallery javascript plugins, but they were overkill for what she wanted, so I built a real simple one.</p>
<p>Its written in coffeescript. It may be useful to someone else.</p>
<p><a href="http://ed.eustace.net/simple-gallery/example/index.html" title="here's an example" target="_blank">here&#8217;s an example</a></p>
<p>The source code is <a href="https://github.com/edeustace/simple-jquery-gallery" title="simple-jquery-gallery" target="_blank">here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/edeustace.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/edeustace.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/edeustace.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/edeustace.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/edeustace.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/edeustace.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/edeustace.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/edeustace.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/edeustace.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/edeustace.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/edeustace.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/edeustace.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/edeustace.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/edeustace.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=220&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://edeustace.wordpress.com/2011/12/01/simple-jquery-plugin-coffeescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a5dd8dd6c5c518c224d971ef265da95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">edeustace</media:title>
		</media:content>
	</item>
		<item>
		<title>simple timeline coffeescript component</title>
		<link>http://edeustace.wordpress.com/2011/12/01/simple-timeline-coffeescript-component/</link>
		<comments>http://edeustace.wordpress.com/2011/12/01/simple-timeline-coffeescript-component/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 12:10:20 +0000</pubDate>
		<dc:creator>edeustace</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[coffeescript]]></category>
		<category><![CDATA[timeline]]></category>
		<category><![CDATA[component]]></category>

		<guid isPermaLink="false">http://edeustace.wordpress.com/?p=215</guid>
		<description><![CDATA[I was on a training course the other week and for part of it we had to build a timeline component. We originally build it in javascript using canvas tags. I&#8217;ve now converted it into a coffeescript. Its a bit rough and ready but may be of use to others. source code here<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=215&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was on a training course the other week and for part of it we had to build a timeline component. We originally build it in javascript using canvas tags. I&#8217;ve now converted it into a coffeescript. Its a bit rough and ready but may be of use to others.</p>
<p><img width="600" src="https://github.com/edeustace/timeline-js/raw/master/doc/timeline_grab.png" alt="grap" /></p>
<p><a href="https://github.com/edeustace/timeline-js" title="timeline-js">source code here</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/edeustace.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/edeustace.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/edeustace.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/edeustace.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/edeustace.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/edeustace.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/edeustace.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/edeustace.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/edeustace.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/edeustace.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/edeustace.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/edeustace.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/edeustace.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/edeustace.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=215&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://edeustace.wordpress.com/2011/12/01/simple-timeline-coffeescript-component/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a5dd8dd6c5c518c224d971ef265da95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">edeustace</media:title>
		</media:content>

		<media:content url="https://github.com/edeustace/timeline-js/raw/master/doc/timeline_grab.png" medium="image">
			<media:title type="html">grap</media:title>
		</media:content>
	</item>
		<item>
		<title>finding unused classes in your flex projects</title>
		<link>http://edeustace.wordpress.com/2011/11/01/finding-unused-classes-in-your-flex-projects/</link>
		<comments>http://edeustace.wordpress.com/2011/11/01/finding-unused-classes-in-your-flex-projects/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 22:02:16 +0000</pubDate>
		<dc:creator>edeustace</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[productivity]]></category>

		<guid isPermaLink="false">http://edeustace.wordpress.com/?p=206</guid>
		<description><![CDATA[I find it useful to clear out old unused classes from a flex project from time to time. A few years back I wrote an Air app to do this. It had a UI and guided you through the process. I pulled it out there recently and while it still works, I thought it would [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=206&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I find it useful to clear out old unused classes from a flex project from time to time.</p>
<p>A few years back I wrote an Air app to do this. It had a UI and guided you through the process. I pulled it out there recently and while it still works, I thought it would be easier to have a ruby gem to do the same work and with less code.</p>
<p>The mechanism is the same. You specify the path to the source folder you wish to inspect and a set of link report xml files. It&#8217;ll then look through all the declarations in the link reports and see if they are within the source folder. This will give it a list of all the classes that are in use. Using this its easy to derive the list of unused classes. The gem will print out a list of unused classes, the air app will list them in the ui.</p>
<p>The gem usage is like so:<br />
<pre class="brush: plain;">
   gem install flex-source-inspector
   flex-source-inspector inspect path_to_src path_to_link_report
</pre></p>
<p>github repo is <a href="https://github.com/edeustace/flex-source-inspector">here</a></p>
<p>The air app repo is <a href="https://github.com/edeustace/flex-source-cleaner">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/edeustace.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/edeustace.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/edeustace.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/edeustace.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/edeustace.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/edeustace.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/edeustace.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/edeustace.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/edeustace.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/edeustace.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/edeustace.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/edeustace.wordpress.com/206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/edeustace.wordpress.com/206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/edeustace.wordpress.com/206/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=206&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://edeustace.wordpress.com/2011/11/01/finding-unused-classes-in-your-flex-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a5dd8dd6c5c518c224d971ef265da95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">edeustace</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex library for taking snaphots of your flex app</title>
		<link>http://edeustace.wordpress.com/2011/10/17/flex-library-for-taking-snaphots-of-your-flex-app/</link>
		<comments>http://edeustace.wordpress.com/2011/10/17/flex-library-for-taking-snaphots-of-your-flex-app/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 18:12:29 +0000</pubDate>
		<dc:creator>edeustace</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[mixin]]></category>
		<category><![CDATA[snapshot]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[util]]></category>

		<guid isPermaLink="false">http://edeustace.wordpress.com/?p=199</guid>
		<description><![CDATA[Here&#8217;s a little lib I cooked up for my current project. We often had to send out ui changes for quick feedback. These were large forms so I thought it would be useful to be able to take a snapshot of the complete form. There are desktop tools that do this, but they can&#8217;t scroll [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=199&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a little lib I cooked up for my current project. We often had to send out ui changes for quick feedback. These were large forms so I thought it would be useful to be able to take a snapshot of the complete form. There are desktop tools that do this, but they can&#8217;t scroll a large flex based form.</p>
<p>The lib combines the ability to take images, with the [Mixin] metadata tag (as used by <a href="http://www.rialvalue.com/blog/2010/05/21/howto-create-your-developer-toolbox-with-mixins/" title="xavi link">Xavi</a>).</p>
<p>The code is <a href="https://github.com/edeustace/take-snapshot" title="take-snapshot">on Github.</a></p>
<p>It looks like this:<br />
<img width="400px" src="http://ed.eustace.net/images/sample-take-screenshot.png" alt="context menu" /><br />
<img width="400px" src="http://ed.eustace.net/images/ui-snapshot.png" alt="ui" /></p>
<p>Enjoy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/edeustace.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/edeustace.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/edeustace.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/edeustace.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/edeustace.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/edeustace.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/edeustace.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/edeustace.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/edeustace.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/edeustace.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/edeustace.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/edeustace.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/edeustace.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/edeustace.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=199&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://edeustace.wordpress.com/2011/10/17/flex-library-for-taking-snaphots-of-your-flex-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a5dd8dd6c5c518c224d971ef265da95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">edeustace</media:title>
		</media:content>

		<media:content url="http://ed.eustace.net/images/sample-take-screenshot.png" medium="image">
			<media:title type="html">context menu</media:title>
		</media:content>

		<media:content url="http://ed.eustace.net/images/ui-snapshot.png" medium="image">
			<media:title type="html">ui</media:title>
		</media:content>
	</item>
		<item>
		<title>Script for deploying assets to processes on a LiveCycle Server</title>
		<link>http://edeustace.wordpress.com/2011/10/16/script-for-deploying-assets-to-processes-on-a-livecycle-server/</link>
		<comments>http://edeustace.wordpress.com/2011/10/16/script-for-deploying-assets-to-processes-on-a-livecycle-server/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 19:11:15 +0000</pubDate>
		<dc:creator>edeustace</dc:creator>
				<category><![CDATA[ant]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[assets]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[lces]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://edeustace.wordpress.com/?p=191</guid>
		<description><![CDATA[I&#8217;m currently doing a lot of flex applications for LiveCycle. One task that one had to perform repeatedly was copying your latest swf to the LiveCycle process so that you can preview it in the workspace. This is a bit of a drag, so I found some docs on how to deploy assets programmatically. I&#8217;ve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=191&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently doing a lot of flex applications for LiveCycle. One task that one had to perform repeatedly was copying your latest swf to the LiveCycle process so that you can preview it in the workspace. This is a bit of a drag, so I found some docs on how to deploy assets programmatically. I&#8217;ve tweaked the script so that it can be run as a command line tool. like so:</p>
<p><pre class="brush: plain;">
java -jar lces-asset-deployer.jar config.yml
</pre></p>
<p>I now run this tool from within eclipse when I compile my flex application and it automagically goes up to the server. The code for the script is <a href="https://github.com/edeustace/lces-asset-deployer" title="lces-asset-deployer">on Github</a>.  For licensing reasons I can&#8217;t supply the libs but you&#8217;ll have everything you need if you have Livecycle installed, except for snake yaml which is <a href="http://code.google.com/p/snakeyaml/" title="snake yaml">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/edeustace.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/edeustace.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/edeustace.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/edeustace.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/edeustace.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/edeustace.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/edeustace.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/edeustace.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/edeustace.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/edeustace.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/edeustace.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/edeustace.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/edeustace.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/edeustace.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=191&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://edeustace.wordpress.com/2011/10/16/script-for-deploying-assets-to-processes-on-a-livecycle-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a5dd8dd6c5c518c224d971ef265da95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">edeustace</media:title>
		</media:content>
	</item>
		<item>
		<title>Cannot select text in loaded swf if the component that contains it implements IFocusManagerComponent (eg: mx:TabNavigator)</title>
		<link>http://edeustace.wordpress.com/2011/08/11/cannot-select-text-in-loaded-swf-if-the-component-that-contains-it-implements-ifocusmanagercomponent-eg-mxtabnavigator/</link>
		<comments>http://edeustace.wordpress.com/2011/08/11/cannot-select-text-in-loaded-swf-if-the-component-that-contains-it-implements-ifocusmanagercomponent-eg-mxtabnavigator/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 11:36:56 +0000</pubDate>
		<dc:creator>edeustace</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://edeustace.wordpress.com/?p=187</guid>
		<description><![CDATA[Just found a bug with text selection and IFocusManagerComponent. Bit of a head scratcher to find but here&#8217;s the link: bug<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=187&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just found a bug with text selection and IFocusManagerComponent. Bit of a head scratcher to find but here&#8217;s the link:</p>
<p><a href="https://bugs.adobe.com/jira/browse/SDK-31142">bug</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/edeustace.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/edeustace.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/edeustace.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/edeustace.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/edeustace.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/edeustace.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/edeustace.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/edeustace.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/edeustace.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/edeustace.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/edeustace.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/edeustace.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/edeustace.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/edeustace.wordpress.com/187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=187&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://edeustace.wordpress.com/2011/08/11/cannot-select-text-in-loaded-swf-if-the-component-that-contains-it-implements-ifocusmanagercomponent-eg-mxtabnavigator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a5dd8dd6c5c518c224d971ef265da95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">edeustace</media:title>
		</media:content>
	</item>
		<item>
		<title>mx:TabBar selectedIndex throws a RangeError runtime exception</title>
		<link>http://edeustace.wordpress.com/2011/07/27/mxtabbar-selectedindex-throws-a-rangeerror-runtime-exception/</link>
		<comments>http://edeustace.wordpress.com/2011/07/27/mxtabbar-selectedindex-throws-a-rangeerror-runtime-exception/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 08:04:03 +0000</pubDate>
		<dc:creator>edeustace</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://edeustace.wordpress.com/?p=179</guid>
		<description><![CDATA[Note: This is not an issue with the Spark TabBar. I&#8217;ve raised a defect for this here: https://bugs.adobe.com/jira/browse/SDK-30915 The following code throws an RTE in Flex SDK 4.5.1 Here&#8217;s a workaround: Use this class instead of the TabBar and your good to go.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=179&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Note: This is not an issue with the Spark TabBar.</strong><br />
I&#8217;ve raised a defect for this here:<br />
<a href="https://bugs.adobe.com/jira/browse/SDK-30915" title="https://bugs.adobe.com/jira/browse/SDK-30915">https://bugs.adobe.com/jira/browse/SDK-30915</a></p>
<p>The following code throws an RTE in Flex SDK 4.5.1<br />
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;s:Application 
    creationComplete=&quot;onCreationComplete(event)&quot;
    xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;
    xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;
    xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot;
    xmlns:local=&quot;*&quot;&gt;
    &lt;fx:Script&gt;
        &lt;![CDATA[
            import mx.collections.ArrayCollection;
            import mx.events.FlexEvent;

            [Bindable]
            private var myDataProvider:ArrayCollection;

            protected function onCreationComplete(event:FlexEvent):void
            {
                myDataProvider = new ArrayCollection([ 'Alabama', 'Arkansas', 'Antrim' ]);
            }
        ]]&gt;
    &lt;/fx:Script&gt;
	&lt;mx:TabBar
        dataProvider=&quot;{myDataProvider}&quot;
        selectedIndex=&quot;0&quot;/&gt;
&lt;/s:Application&gt;
</pre><br />
Here&#8217;s a workaround:</p>
<p><pre class="brush: as3;">
package
{
    import mx.controls.TabBar;

    public class SelectedIndexTabBar extends TabBar
    {
        private var pendingSelectedIndex:int = -1;

        private var highlightPending:Boolean;

        override public function set selectedIndex(value:int):void
        {
            //prevent the default selected index setter
            //as it throws an RTE if there are not children set.
            if (numChildren == 0)
            {
                pendingSelectedIndex = value;
                return;
            }
            super.selectedIndex = value;
        }

        override public function set dataProvider(value:Object):void
        {
            super.dataProvider = value;
            if (value != null &amp;amp;&amp;amp; pendingSelectedIndex != -1)
            {
                highlightPending = true;
            }
        }

        override protected function commitProperties():void
        {
            super.commitProperties();

            if (highlightPending)
            {
                highlightPending = false;
                hiliteSelectedNavItem(pendingSelectedIndex);
                super.selectedIndex = pendingSelectedIndex;
            }
        }
    }
}
</pre></p>
<p>Use this class instead of the TabBar and your good to go.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/edeustace.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/edeustace.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/edeustace.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/edeustace.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/edeustace.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/edeustace.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/edeustace.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/edeustace.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/edeustace.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/edeustace.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/edeustace.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/edeustace.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/edeustace.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/edeustace.wordpress.com/179/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=edeustace.wordpress.com&amp;blog=4132400&amp;post=179&amp;subd=edeustace&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://edeustace.wordpress.com/2011/07/27/mxtabbar-selectedindex-throws-a-rangeerror-runtime-exception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0a5dd8dd6c5c518c224d971ef265da95?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">edeustace</media:title>
		</media:content>
	</item>
	</channel>
</rss>
