<?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>plasticular inscriptor &#187; downloadable</title>
	<atom:link href="http://www.plasticstare.com/plains/category/downloadable/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.plasticstare.com/plains</link>
	<description></description>
	<lastBuildDate>Thu, 02 Feb 2012 02:19:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Scraping Source in Safari</title>
		<link>http://www.plasticstare.com/plains/2008/03/30/scraping-source-in-safari/</link>
		<comments>http://www.plasticstare.com/plains/2008/03/30/scraping-source-in-safari/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 01:19:22 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[downloadable]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains/2008/03/30/scraping-source-in-safari/</guid>
		<description><![CDATA[Here is an applescript solution for grabbing the html code from a page online. This is particularly handy if you are trying to grab the code from a page that you need to login to. I am sure there is a much better solution out there, but this one seems to work for me ok.]]></description>
			<content:encoded><![CDATA[<p>Here is an applescript solution for grabbing the html code from a page online. This is particularly handy if you are trying to grab the code from a page that you need to login to. I am sure there is a much better solution out there, but this one seems to work for me ok.</p>
<div class="igBar"><span id="lcode-1"><a href="#" onclick="javascript:showCodeTxt('code-1'); return false;">View as Plain Text<img class="poparrow" src="http://www.plasticstare.com/plains/wp-content/plugins/ig_syntax_hilite/img/poparrow.gif"/></a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-1">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">-- Define the page to save the document and the url</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">set the pageFile to <span style="color:#CC0000;">"/Users/yourUserNameHere/Desktop/safariSource.html"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">set the pageUrl to <span style="color:#CC0000;">"http://www.plasticstare.com/"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">-- define the applescript to run</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">tell application <span style="color:#CC0000;">"Safari"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;activate</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;make new document at end of documents</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;set URL of document <span style="color:#800000;color:#800000;">1</span> to pageUrl</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">end tell</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">set web_page_is_loaded to false</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">--check if page has loaded</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">repeat</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;delay <span style="color:#800000;color:#800000;">0</span>.<span style="color:#800000;color:#800000;">5</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;tell application <span style="color:#CC0000;">"System Events"</span> to tell application process <span style="color:#CC0000;">"Safari"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; if <span style="color:#006600; font-weight:bold;">&#40;</span>name of static text <span style="color:#800000;color:#800000;">1</span> of group <span style="color:#800000;color:#800000;">1</span> of window <span style="color:#800000;color:#800000;">1</span> as text<span style="color:#006600; font-weight:bold;">&#41;</span> begins with <span style="color:#CC0000;">"Contacting"</span> or <span style="color:#006600; font-weight:bold;">&#40;</span>name of static text <span style="color:#800000;color:#800000;">1</span> of group <span style="color:#800000;color:#800000;">1</span> of window <span style="color:#800000;color:#800000;">1</span> as text<span style="color:#006600; font-weight:bold;">&#41;</span> begins with <span style="color:#CC0000;">"Loading"</span> then</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-- do nothing</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; else</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit repeat</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; end if</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;end tell</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">end repeat</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">tell application <span style="color:#CC0000;">"Safari"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;set siteSource to the source of document <span style="color:#800000;color:#800000;">1</span> as text</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;set theFile to open for access <span style="color:#006600; font-weight:bold;">&#40;</span>pageFile<span style="color:#006600; font-weight:bold;">&#41;</span> as POSIX file with write permission</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;set eof of theFile to <span style="color:#800000;color:#800000;">0</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;write siteSource to theFile</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp;close access theFile</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">end tell </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2008/03/30/scraping-source-in-safari/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delicious for WordPress</title>
		<link>http://www.plasticstare.com/plains/2008/03/30/delicious-for-wordpress/</link>
		<comments>http://www.plasticstare.com/plains/2008/03/30/delicious-for-wordpress/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 23:50:06 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[downloadable]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains/2008/03/30/delicious-for-wordpress/</guid>
		<description><![CDATA[Props to Rick for this simple way for adding recent delicious bookmark postings to your wordpress sidebar. Download Delicious for WordPress here: http://rick.jinlabs.com/code/delicious/ It was the simplest way I could find to do this. It isn't customizable, other than editing the code yourself, but it does a great job out of the box, and does [...]]]></description>
			<content:encoded><![CDATA[<p>Props to <a href="http://rick.jinlabs.com/code/delicious/" title="delicious for wordpress" target="_blank">Rick</a> for this simple way for adding recent delicious bookmark postings to your wordpress sidebar. Download Delicious for WordPress here: <a href="http://rick.jinlabs.com/code/delicious/" title="delicious for wordpress" target="_blank">http://rick.jinlabs.com/code/delicious/</a></p>
<p>It was the simplest way I could find to do this. It isn't customizable, other than editing the code yourself, but it does a great job out of the box, and does pretty much what you would want it to do anyway, which is post things to your blog that you found interesting, without having to actually write a post about it...hooray for industrious laziness!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2008/03/30/delicious-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applescript Show Track in Finder</title>
		<link>http://www.plasticstare.com/plains/2008/03/11/applescript-show-track-in-finder/</link>
		<comments>http://www.plasticstare.com/plains/2008/03/11/applescript-show-track-in-finder/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 20:44:13 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[applescript]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[downloadable]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[plasticware]]></category>
		<category><![CDATA[quicksilver]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains/2008/03/11/applescript-show-track-in-finder/</guid>
		<description><![CDATA[Space has been tight lately on my laptop and I've been too lazy to thoroughly go through and clean up. I keep regular backups, however, so I wrote this script so that when I hear a track that I don't care so much about in iTunes on random, I can go to the folder and [...]]]></description>
			<content:encoded><![CDATA[<p>Space has been tight lately on my laptop and I've been too lazy to thoroughly go through and clean up. I keep regular backups, however, so I wrote this script so that when I hear a track that I don't care so much about in iTunes on random, I can go to the folder and kill the track or the album, or heck, all tracks by that artist, quickly. You can put this file in your iTunes scripts folder and trigger it from Quicksilver as well for easy access.</p>
<p><span class="downloadable"><em>PlasticWare Downloadable ::</em><br />
Show Track in Finder (Mar. 11, 2008)<br />
Download (~3,146 bytes) :: <a href="http://www.plasticstare.com/plasticware/applescript/ShowTrackInFinder.zip">ShowTrackInFinder.zip</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2008/03/11/applescript-show-track-in-finder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>As2Api and RubyScript2Exe (darwinized)</title>
		<link>http://www.plasticstare.com/plains/2006/09/05/as2api-and-rubyscript2exe-darwinized/</link>
		<comments>http://www.plasticstare.com/plains/2006/09/05/as2api-and-rubyscript2exe-darwinized/#comments</comments>
		<pubDate>Tue, 05 Sep 2006 21:55:05 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[downloadable]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains/2006/09/05/as2api-and-rubyscript2exe-darwinized/</guid>
		<description><![CDATA[I recently sat down and took a look at as2api, which seems to be the most recommended JavaDoc exporter for actionscript. Once I had everything figured out, it seems to work fine, and I'm sure there are some little nuggets that I haven't quite figured out yet, which I'm looking forward to figuring out. (read [...]]]></description>
			<content:encoded><![CDATA[<p>I recently sat down and took a look at <a href="http://www.badgers-in-foil.co.uk/projects/as2api/">as2api</a>, which seems to be the most recommended JavaDoc exporter for actionscript. Once I had everything figured out, it seems to work fine, and I'm sure there are some little nuggets that I haven't quite figured out yet, which I'm looking forward to figuring out. (read more for the skinny and darwin downloads)</p>
<p><span id="more-103"></span></p>
<p>However, for those of you out there in Mac OSX land, I wouldn't recommend downloading the current version listed on the site for OSX, entitled "as2api-allinone-osx-0.4.sit" in the downloads section. I think that it is missing files, or that it just doesn't work correctly at all. I would recommend instead downloading the first link for "as2api-0.4.tar". The downside of downloading this version is that there is no OSX command line executable in there, so you have to run the Ruby script "ruby as2api.rb <em>packages</em> --classpath <em>classpath</em>" which works just fine.</p>
<p>Honestly, I don't know enough about ANT scripts yet to know if you can run Ruby scripts from an ANT script target, so I used <a href="http://www.erikveen.dds.nl/rubyscript2exe/index.html">rubyscript2exe</a>, another handy little application to convert the Ruby scripts into a mac command line executable. (Incidentally, and to add a little geek comedy to this post, you have to install the Pascal compiler and compile a piece of the rubyscript2exe library in order to run it...so I had to compile one application in order to create another one...).</p>
<p>Anyway, I have included below 2 downloadables in this post. The first is the command line version of as2api that is compiled from the package that you can download as Ruby code from the as2api site. The down side is that you cannot tweek the css and html templates that are part of that code; the up side is that you can actually use it as a command line executable, which is entitled "as2api_darwin". You can used it exactly as you would the as2api.rb Ruby script.</p>
<p><span class="downloadable"><em>PlasticWare Downloadable ::</em><br />
Darwin Executable of As2Api (JavaDoc for Actionscript) (Sep. 5, 2006)<br />
Download (~4.5mB) :: <a href="http://www.plasticstare.com/plasticware/thirdparty/as2api-0.4.zip">as2api-0.4.zip</a></span></p>
<p>The second downloadable I have included here is the rubyscript2exe download, altered to include the eee_darwin file that I compiled from the pascal source on my mactel laptop in OSX 10.4.7, and repackaged using tar2rubyscript.rb, which was also necessary to get it running properly. I have also included the example hello world script "hello.rb" from the tutorial, which you can use to test the code and make a hello world exe.</p>
<p><span class="downloadable"><em>PlasticWare Downloadable ::</em><br />
RubyScript2Exe with eee_darwin for OSX environment (Sep. 5, 2006)<br />
Download (~1.1mB) :: <a href="http://www.plasticstare.com/plasticware/thirdparty/rubyscript2exe.zip.gz">rubyscript2exe.zip.gz</a></span></p>
<p>Both of these pieces of software are released by their proper creators under the GNU License, and I have included the source and license for each as well, as posted on their sites. Please download judiciously, the executable for as2api package is 4.5 mb.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2006/09/05/as2api-and-rubyscript2exe-darwinized/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Textmate (Revisited) vs. TextWrangler</title>
		<link>http://www.plasticstare.com/plains/2006/07/18/textmate-revisited-vs-textwrangler/</link>
		<comments>http://www.plasticstare.com/plains/2006/07/18/textmate-revisited-vs-textwrangler/#comments</comments>
		<pubDate>Tue, 18 Jul 2006 19:31:44 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[downloadable]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[plasticware]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains/?p=97</guid>
		<description><![CDATA[PlasticWare Downloadable :: PlasticCodeWrap TextMate Syntax Theme Version 1.0 (Jul. 18, 2006) Download (~1400 bytes) :: PlasticCodeWrap.zip So, now that I have moved on to working for a software company, I've moved on also to actually coding more javascript for work. For some quick and dirty (well, actually not so dirty, but outside the realm [...]]]></description>
			<content:encoded><![CDATA[<p><span class="downloadable"><em>PlasticWare Downloadable ::</em><br />
PlasticCodeWrap TextMate Syntax Theme Version 1.0 (Jul. 18, 2006)<br />
Download (~1400 bytes) :: <a href="http://www.plasticstare.com/plasticware/textmate/PlasticCodeWrap.zip">PlasticCodeWrap.zip</a></span></p>
<p>So, now that I have moved on to working for a software company, I've moved on also to actually coding more javascript for work. For some quick and dirty (well, actually not so dirty, but outside the realm of a set up project environment in Eclipse) javascript coding, I decided to give a couple of old favorites another look-see. I opted to run some tests with TextWrangler, the freeware barebones.com software offering in leiu of BBEdit, and with TextMate from macromates.com.</p>
<p><span id="more-97"></span></p>
<p>In the past and recent past in fact, I've opted to use TextWrangler for many tasks that I couldn't find a way to do otherwise. Both BBEdit and TextWrangler have superior capabilities in single and multi-file grep searches for some seriously powerful search and replace functionality, and some other really nice features that are pretty handy for the code junkie. The multi-file search allows you to search any folder of files that your computer can access, while TextMate I believe only supports searching all files in a "project." You can also use any BBEdit plug-ins for TextWrangler, although there aren't that many out there these days that I haven't been able to live without. From an appearance standpoint, the interface is clean and easy to use, albeit somewhat limited in the way that one can customize it.</p>
<p>Textmate, while I have read some not-so-glowing reviews about its search capabilities (I know, I'm sorry, but I really dig BBEdit/TextWrangler for searches) and diff functionality, I have to say that from an interface standpoint, its just much more comfortable to use. There are a few wonky things (such as the fact that the setting for tab stops is at the bottom of the window in a drop down), but the total gui package is just more a pleasure to use. In addition, I like the scheme for syntax coloring in TextMate better. Its more intuitive and extensible to the mid-level user, and there are already quite a few syntax "themes" out there (none of which I absolutely loved, but more on that later). TextMate also features easy to use macro editing and the "Bundle Editor" which allows the user to go crazy adding code snippets and macros to the already extensive set of "bundles" that support every code language I've ever wanted to use, with the ability also to integrate these macros with shell scripting.</p>
<p>SO, I have to say, I'm sticking with TextMate again, although I will undoubtedly use TextWrangler for search and replace functions at some point. TextMate's ability to let the user build code snippets (that are accessible using short key combinations with the TAB key) and nice syntax coloring features did it for me. Strangely enough, both are pretty code junkie friendly, but both default to black text on white background. There are several syntax themes out there for both (see <a href="http://macromates.com/wiki/Themes/UserSubmittedThemes" target="extra">UserSubmittedThemes at the macromates wiki</a>). I didn't absolutely love any of the ones I found, so I used the theme in TextMate called "Slate" and munged (Mason's favorite word) it together with Ruby Blue, Blackboard, and Mac Classic (which is white background as well). Its called <b>PlasticCodeWrap</b> and it can be downloaded above.<br clear="all" /><br clear="all" /><img src="/plasticware/textmate/PlasticCodeWrap.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2006/07/18/textmate-revisited-vs-textwrangler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

