<?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>Tamara Temple&#039;s Blog &#187; code</title>
	<atom:link href="http://www.tamaratemple.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tamaratemple.com</link>
	<description>Rumblings and Ramblings of a Well-Travelled Mouse</description>
	<lastBuildDate>Mon, 06 Feb 2012 06:30:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>TamWiki Main/Quick Action On Select</title>
		<link>http://www.tamaratemple.com/2011/06/23/tamwiki-mainquick-action-on-select/</link>
		<comments>http://www.tamaratemple.com/2011/06/23/tamwiki-mainquick-action-on-select/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 05:58:52 +0000</pubDate>
		<dc:creator>tamouse</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[active select]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.tamaratemple.com/?p=900</guid>
		<description><![CDATA[A new howto article in the wiki, this time some quick javascript to do an action based on the user selecting a value in a select block: This is a quick and dirty way of getting your web page to &#8230; <a href="http://www.tamaratemple.com/2011/06/23/tamwiki-mainquick-action-on-select/">Continue reading <span class="meta-nav">&#8594;</span></a><div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='TamWiki Main/Quick Action On Select' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&#038;related=tamouse&#038;text=TamWiki Main/Quick Action On Select' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='TamWiki Main/Quick Action On Select' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2011/06/23/tamwiki-mainquick-action-on-select/' title='TamWiki Main/Quick Action On Select'></a></div>]]></description>
			<content:encoded><![CDATA[<p>A new howto article in the wiki, this time some quick javascript to do an action based on the user selecting a value in a select block:</p>
<blockquote><p>This is a quick and dirty way of getting your web page to respond to a change in value of a non-form-enclosed &lt;select&gt; tag. This is useful for causing changes to happen based on some specific set of values that you want to offer the user. First I will give the general form, then offer a specific example from some recent work I have done.</p></blockquote>
<p>via <a href="http://wiki.tamaratemple.com/Main/QuickActionOnSelect?action=browse">TamWiki Main/Quick Action On Select</a>.</p>
<div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='TamWiki Main/Quick Action On Select' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&related=tamouse&text=TamWiki Main/Quick Action On Select' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='TamWiki Main/Quick Action On Select' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2011/06/23/tamwiki-mainquick-action-on-select/' title='TamWiki Main/Quick Action On Select'></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.tamaratemple.com/2011/06/23/tamwiki-mainquick-action-on-select/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TamWiki Main/Drop Caps With CSS</title>
		<link>http://www.tamaratemple.com/2011/06/20/tamwiki-maindrop-caps-with-css/</link>
		<comments>http://www.tamaratemple.com/2011/06/20/tamwiki-maindrop-caps-with-css/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 01:24:32 +0000</pubDate>
		<dc:creator>tamouse</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[kata]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.tamaratemple.com/?p=898</guid>
		<description><![CDATA[New article in the wiki on using CSS to implement drop caps: Drop Caps are pretty much what the name implies: the first letter of a paragraph is enlarged and dropped to the left of the first paragraph on the &#8230; <a href="http://www.tamaratemple.com/2011/06/20/tamwiki-maindrop-caps-with-css/">Continue reading <span class="meta-nav">&#8594;</span></a><div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='TamWiki Main/Drop Caps With CSS' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&#038;related=tamouse&#038;text=TamWiki Main/Drop Caps With CSS' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='TamWiki Main/Drop Caps With CSS' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2011/06/20/tamwiki-maindrop-caps-with-css/' title='TamWiki Main/Drop Caps With CSS'></a></div>]]></description>
			<content:encoded><![CDATA[<p>New article in the wiki on using CSS to implement drop caps:</p>
<blockquote><p>Drop Caps are pretty much what the name implies: the first letter of a paragraph is enlarged and dropped to the left of the first paragraph on the page. This is seen in books, newspapers, and magazines all over. It is a classic design trick that can be successfully brought to a web page to give it a bit of elegance.</p></blockquote>
<p>via <a href="http://wiki.tamaratemple.com/?n=Main.DropCapsWithCSS">TamWiki Main/Drop Caps With CSS</a> complete with an example.</p>
<p>&nbsp;</p>
<div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='TamWiki Main/Drop Caps With CSS' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&related=tamouse&text=TamWiki Main/Drop Caps With CSS' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='TamWiki Main/Drop Caps With CSS' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2011/06/20/tamwiki-maindrop-caps-with-css/' title='TamWiki Main/Drop Caps With CSS'></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.tamaratemple.com/2011/06/20/tamwiki-maindrop-caps-with-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Many changes to the wiki today</title>
		<link>http://www.tamaratemple.com/2010/11/01/many-changes-to-the-wiki-today/</link>
		<comments>http://www.tamaratemple.com/2010/11/01/many-changes-to-the-wiki-today/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 03:12:36 +0000</pubDate>
		<dc:creator>tamouse</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://www.tamaratemple.com/?p=564</guid>
		<description><![CDATA[TamWiki Site/Short Recent Changes shows a partial set of changes I&#8217;ve made to the wiki today. I spent the day documenting the things I&#8217;ve learned about coding PHP recently; some Best Practices, practical considerations, and other trivia. Like<div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='Many changes to the wiki today' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&#038;related=tamouse&#038;text=Many changes to the wiki today' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='Many changes to the wiki today' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2010/11/01/many-changes-to-the-wiki-today/' title='Many changes to the wiki today'></a></div>]]></description>
			<content:encoded><![CDATA[<p><a href="http://wiki.tamaratemple.com/?n=Site.ShortRecentChanges">TamWiki Site/Short Recent Changes</a> shows a partial set of changes I&#8217;ve made to the wiki today. I spent the day documenting the things I&#8217;ve learned about coding PHP recently; some Best Practices, practical considerations, and other trivia.</p>
<div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='Many changes to the wiki today' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&related=tamouse&text=Many changes to the wiki today' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='Many changes to the wiki today' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2010/11/01/many-changes-to-the-wiki-today/' title='Many changes to the wiki today'></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.tamaratemple.com/2010/11/01/many-changes-to-the-wiki-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new jQuery example</title>
		<link>http://www.tamaratemple.com/2010/08/26/new-jquery-example/</link>
		<comments>http://www.tamaratemple.com/2010/08/26/new-jquery-example/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 21:20:06 +0000</pubDate>
		<dc:creator>tamouse</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://www.tamaratemple.com/?p=480</guid>
		<description><![CDATA[Recently posted to the wiki, a jQuery example of how to do pop-ups: TamWiki Main/Great Example Of A Pop Up Meta Link. Like<div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='new jQuery example' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&#038;related=tamouse&#038;text=new jQuery example' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='new jQuery example' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2010/08/26/new-jquery-example/' title='new jQuery example'></a></div>]]></description>
			<content:encoded><![CDATA[<p>Recently posted to the wiki, a jQuery example of how to do pop-ups:</p>
<p><a href="http://wiki.tamaratemple.com/?n=Main.GreatExampleOfAPopUpMetaLink#jqueryex">TamWiki Main/Great Example Of A Pop Up Meta Link</a>.</p>
<div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='new jQuery example' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&related=tamouse&text=new jQuery example' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='new jQuery example' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2010/08/26/new-jquery-example/' title='new jQuery example'></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.tamaratemple.com/2010/08/26/new-jquery-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web site done.</title>
		<link>http://www.tamaratemple.com/2010/08/20/web-site-done/</link>
		<comments>http://www.tamaratemple.com/2010/08/20/web-site-done/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 02:27:05 +0000</pubDate>
		<dc:creator>tamouse</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.tamaratemple.com/2010/08/20/web-site-done/</guid>
		<description><![CDATA[I finished the web site I have been working on with a little help in figuring out the style sheet and putting some of those fancy-shmancy rounded corners on things. Oh so trendy!! Anyway, I&#8217;m glad I got it done, &#8230; <a href="http://www.tamaratemple.com/2010/08/20/web-site-done/">Continue reading <span class="meta-nav">&#8594;</span></a><div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='Web site done.' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&#038;related=tamouse&#038;text=Web site done.' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='Web site done.' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2010/08/20/web-site-done/' title='Web site done.'></a></div>]]></description>
			<content:encoded><![CDATA[<p>I finished the web site I have been working on with a little help in figuring out the style sheet and putting some of those fancy-shmancy rounded corners on things. Oh so trendy!! Anyway, I&#8217;m glad I got it done, it was touch-and-go for awhile.</p>
<p>(more after the break&#8230;)</p>
<p><span id="more-464"></span><br />
What I shouldn&#8217;t have done is take some existing calendaring application and try to repurpose it to this application. That was a strategic error. We all look for things to reuse, but I think I will draw that line at repurposing full-blown applications from now on. There was just too much to have to reconstruct in the new way of organizing things.</p>
<p>Since I&#8217;ve turned it over, I&#8217;ve been looking at many technologies that would have made this go a lot better. I am really liking the look of Smarty templates for php. They do the good thing of separating code from presentation. This appliation I just finished had it all jumbled up together, like we used to do in the olden days. I vow never to do it that way again. It reminded me of the worst of ColdFusion programming, when that was the way they taught you how to do it.</p>
<p>Also, I&#8217;m even more firmly convinced of the MVC style of coding data-driven applications. I have been so spoiled with Rails doing that that I really missed it here in PHP. I know there are some MVC frameworks out there for PHP. I have looked into both Zend Frameworks and CakePHP. Both look promising. But I don&#8217;t necessarily need a specific prebuilt framework if I keep my code organized.</p>
<p>That&#8217;s also true of a templating system. While Smarty is cool and whizzy, it&#8217;s not really 100% necessary. PHP is itself a templating system. One just has to enforce the discpline to separate the code from the presentation, event with PHP.</p>
<p>This is accomplished by writing model handlers for all the logic of the application, basically all the CRUD stuff, while leaving the views to a separate set of scripts, one for each view, which can include other scripts for things like headers, footers, and other common elements.</p>
<div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='Web site done.' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&related=tamouse&text=Web site done.' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='Web site done.' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2010/08/20/web-site-done/' title='Web site done.'></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.tamaratemple.com/2010/08/20/web-site-done/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update to wordpress plugin Sociable</title>
		<link>http://www.tamaratemple.com/2010/06/05/update-to-wordpress-plugin-sociable/</link>
		<comments>http://www.tamaratemple.com/2010/06/05/update-to-wordpress-plugin-sociable/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 16:15:40 +0000</pubDate>
		<dc:creator>tamouse</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[sociable]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tamaratemple.com/?p=365</guid>
		<description><![CDATA[You know those little links at the end of each post that let you share the post on various social network sites? They are powered by a wordpress plugin called Sociable. Sociable included a URL shortening service called awe.sm. However, &#8230; <a href="http://www.tamaratemple.com/2010/06/05/update-to-wordpress-plugin-sociable/">Continue reading <span class="meta-nav">&#8594;</span></a><div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='Update to wordpress plugin Sociable' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&#038;related=tamouse&#038;text=Update to wordpress plugin Sociable' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='Update to wordpress plugin Sociable' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2010/06/05/update-to-wordpress-plugin-sociable/' title='Update to wordpress plugin Sociable'></a></div>]]></description>
			<content:encoded><![CDATA[<p>You know those little links at the end of each post that let you share the post on various social network sites? They are powered by a wordpress plugin called Sociable. Sociable included a URL shortening service called awe.sm. However, awe.sm is in closed beta so they can&#8217;t be used. I decided to add a couple of other shortening services to the plugin, <a href="http://bit.li/" target="_blank">bit.ly</a> and <a href="http://saf.li/" target="_blank">saf.li</a>. I&#8217;ve posted the updated code to my public website:</p>
<blockquote><p><a href="http://public.tamaratemple.com/wordpress/plugins/mysociable.tar.gz" target="_blank">http://public.tamaratemple.com/wordpress/plugins/mysociable.tar.gz</a></p></blockquote>
<p>A diff of the old and new versions is here:</p>
<blockquote><p><a href="http://public.tamaratemple.com/wordpress/plugins/mysociable-diff.txt" target="_blank">http://public.tamaratemple.com/wordpress/plugins/mysociable-diff.txt</a></p></blockquote>
<p>Interesting to code a bit of plugin that has an admin screen.</p>
<div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='Update to wordpress plugin Sociable' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&related=tamouse&text=Update to wordpress plugin Sociable' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='Update to wordpress plugin Sociable' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2010/06/05/update-to-wordpress-plugin-sociable/' title='Update to wordpress plugin Sociable'></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.tamaratemple.com/2010/06/05/update-to-wordpress-plugin-sociable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YARS</title>
		<link>http://www.tamaratemple.com/2007/03/31/yars/</link>
		<comments>http://www.tamaratemple.com/2007/03/31/yars/#comments</comments>
		<pubDate>Sun, 01 Apr 2007 02:22:04 +0000</pubDate>
		<dc:creator>tamouse</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.tamaratemple.com/blog/?p=6</guid>
		<description><![CDATA[Yet another ruby script This time, taken from Rails Cookbook by O&#8217;Reilly. Checking in your spankin&#8217;-new Rails app to and SVN repository: svnizerails.rb. (It&#8217;s a little more complicated than it seems; hence the script.) UPDATE: October 13, 2011: My advice: &#8230; <a href="http://www.tamaratemple.com/2007/03/31/yars/">Continue reading <span class="meta-nav">&#8594;</span></a><div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='YARS' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&#038;related=tamouse&#038;text=YARS' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='YARS' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2007/03/31/yars/' title='YARS'></a></div>]]></description>
			<content:encoded><![CDATA[<p>Yet another ruby script</p>
<p>This time, taken from Rails Cookbook by O&#8217;Reilly. Checking in your spankin&#8217;-new Rails app to and SVN repository: <a title="SVN-ize Rails" href="http://public.tamaratemple.com/ruby/svnizerails.rb" target="_blank">svnizerails.rb</a>. (It&#8217;s a little more complicated than it seems; hence the script.)</p>
<p><strong>UPDATE:</strong> October 13, 2011: My advice: dump svn, go with <a title="GIT collaborate repository tool" href="http://git-src.org/" target="_blank">git</a>! With git, all you need to do is specify file patterns that you want to exclude (which is really the bulk of what svnizerails.rb was trying to do. So much simpler, so much cleaner!!</p>
<p>&nbsp;</p>
<div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='YARS' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&related=tamouse&text=YARS' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='YARS' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2007/03/31/yars/' title='YARS'></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.tamaratemple.com/2007/03/31/yars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing ruby</title>
		<link>http://www.tamaratemple.com/2007/03/22/writing-ruby/</link>
		<comments>http://www.tamaratemple.com/2007/03/22/writing-ruby/#comments</comments>
		<pubDate>Thu, 22 Mar 2007 09:41:59 +0000</pubDate>
		<dc:creator>tamouse</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.tamaratemple.com/blog/?p=5</guid>
		<description><![CDATA[Over the weekend, I created a ruby script to backup my /Users directory on the mac.<div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='Writing ruby' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&#038;related=tamouse&#038;text=Writing ruby' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='Writing ruby' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2007/03/22/writing-ruby/' title='Writing ruby'></a></div> <a href="http://www.tamaratemple.com/2007/03/22/writing-ruby/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Over the weekend, I wrote a small utility in ruby to backup my /Users directory to my external backup drive. Here it is: (script is downloadable <a title="/Users backup on a mac" href="http://public.tamaratemple.com/ruby/usersbkup.rb">here</a>)</p>


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="ruby"><ol><li class="li1"><pre class="de1"><span class="co1">#!/usr/bin/ruby</span></pre></li><li class="li1"><pre class="de1"><span class="co1">#</span></pre></li><li class="li1"><pre class="de1"><span class="co1">#  Created by Tamara Temple on 2007-03-16.</span></pre></li><li class="li1"><pre class="de1"><span class="co1">#  Copyright (c) 2007. All rights reserved.</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1"><span class="kw3">require</span> <span class="st0">'FileUtils'</span></pre></li><li class="li1"><pre class="de1"><span class="kw1">include</span> <span class="kw4"><span class="re2">FileUtils::Verbose</span></span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">LIBRARY_DIRS = </pre></li><li class="li1"><pre class="de1">  <span class="br0">&#91;</span><span class="st0">&quot;./Library/Application Support&quot;</span>,</pre></li><li class="li1"><pre class="de1">    <span class="st0">&quot;./Library/Keychains&quot;</span>,</pre></li><li class="li1"><pre class="de1">    <span class="st0">&quot;,/Library/Mail&quot;</span>,</pre></li><li class="li1"><pre class="de1">    <span class="st0">&quot;./Library/Mozilla&quot;</span>,</pre></li><li class="li1"><pre class="de1">    <span class="st0">&quot;./Library/Preferences&quot;</span>,</pre></li><li class="li1"><pre class="de1">    <span class="st0">&quot;./Library/Safari&quot;</span>,</pre></li><li class="li1"><pre class="de1">    <span class="st0">&quot;./Library/StickiesDatabase&quot;</span>,</pre></li><li class="li1"><pre class="de1">    <span class="st0">&quot;./Library/Workflows&quot;</span><span class="br0">&#93;</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1"><span class="kw1">def</span> getBackDir<span class="br0">&#40;</span>timestamp<span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">  prefix = <span class="st0">&quot;/Volumes/BootBackup/Users&quot;</span></pre></li><li class="li1"><pre class="de1">  suffix = timestamp.<span class="me1">strftime</span><span class="br0">&#40;</span><span class="st0">&quot;%Y%m%d.%H%M%S&quot;</span><span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">  backupdir = prefix <span class="sy0">+</span> suffix</pre></li><li class="li1"><pre class="de1">  <span class="kw3">print</span> <span class="st0">&quot;** backupdir: &quot;</span>, backupdir, <span class="st0">&quot;<span class="es0">\n</span>&quot;</span> <span class="kw1">if</span> <span class="re0">$DEBUG</span></pre></li><li class="li1"><pre class="de1">  backupdir</pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1"><span class="kw1">end</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1"><span class="kw1">def</span> getUserList<span class="br0">&#40;</span>parentdir<span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">  userlist = <span class="kw4">Dir</span>.<span class="me1">entries</span><span class="br0">&#40;</span>parentdir<span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">  <span class="kw1">if</span> <span class="br0">&#40;</span>!userlist.<span class="me1">kind_of</span>?<span class="br0">&#40;</span><span class="kw3">Array</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="kw1">then</span> <span class="kw3">raise</span> <span class="st0">&quot;Internal Error: Dir.entries did not return an array.&quot;</span> <span class="kw1">end</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">  userlist.<span class="me1">delete</span><span class="br0">&#40;</span><span class="st0">&quot;.&quot;</span><span class="br0">&#41;</span> <span class="co1"># remove the working directory from the list (this will not affect the directory on the disk)</span></pre></li><li class="li1"><pre class="de1">  userlist.<span class="me1">delete</span><span class="br0">&#40;</span><span class="st0">&quot;..&quot;</span><span class="br0">&#41;</span> <span class="co1"># remove the parent directory from the list</span></pre></li><li class="li1"><pre class="de1">  userlist.<span class="me1">delete</span><span class="br0">&#40;</span><span class="st0">&quot;.localized&quot;</span><span class="br0">&#41;</span> <span class="co1"># remove an extraneous file from the /Users directory</span></pre></li><li class="li1"><pre class="de1">  <span class="kw3">print</span> <span class="st0">&quot;** userlist: &quot;</span>, userlist.<span class="me1">join</span><span class="br0">&#40;</span><span class="st0">&quot;, &quot;</span><span class="br0">&#41;</span>,<span class="st0">&quot;<span class="es0">\n</span>&quot;</span> <span class="kw1">if</span> <span class="re0">$DEBUG</span> </pre></li><li class="li1"><pre class="de1">  userlist <span class="co1"># return the userlist</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1"><span class="kw1">end</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1"><span class="kw1">def</span> getFileList<span class="br0">&#40;</span><span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">  files = <span class="kw4">Dir</span>.<span class="me1">entries</span><span class="br0">&#40;</span><span class="st0">'.'</span><span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">  <span class="kw1">if</span> <span class="br0">&#40;</span>!files.<span class="me1">kind_of</span>?<span class="br0">&#40;</span><span class="kw3">Array</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="kw1">then</span> <span class="kw3">raise</span> <span class="st0">&quot;Internal Error: Dir.entries did not return an array.&quot;</span> <span class="kw1">end</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">  files.<span class="me1">delete</span><span class="br0">&#40;</span><span class="st0">&quot;.&quot;</span><span class="br0">&#41;</span> <span class="co1"># remove the reference to the directory itself. (note this will not remove the directory -  files is an array not the directory)</span></pre></li><li class="li1"><pre class="de1">  files.<span class="me1">delete</span><span class="br0">&#40;</span><span class="st0">&quot;..&quot;</span><span class="br0">&#41;</span> <span class="co1"># remove the parent directory listing </span></pre></li><li class="li1"><pre class="de1">  files.<span class="me1">delete</span><span class="br0">&#40;</span><span class="st0">&quot;.Trash&quot;</span><span class="br0">&#41;</span> <span class="co1"># don't backup the trash</span></pre></li><li class="li1"><pre class="de1">  files.<span class="me1">delete</span><span class="br0">&#40;</span><span class="st0">&quot;Library&quot;</span><span class="br0">&#41;</span> <span class="co1"># remove the Library directory as we don't want it all in the backup</span></pre></li><li class="li1"><pre class="de1">  <span class="kw3">print</span> <span class="st0">&quot;** files: &quot;</span>, files.<span class="me1">join</span><span class="br0">&#40;</span><span class="st0">&quot;, &quot;</span><span class="br0">&#41;</span>,<span class="st0">&quot;<span class="es0">\n</span>&quot;</span> <span class="kw1">if</span> <span class="re0">$DEBUG</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">  <span class="kw1">begin</span></pre></li><li class="li1"><pre class="de1">    libdirs = <span class="kw4">Dir</span>.<span class="me1">entries</span><span class="br0">&#40;</span><span class="st0">&quot;./Library&quot;</span><span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">  <span class="kw1">rescue</span> <span class="kw4">Errno</span>::ENOENT</pre></li><li class="li1"><pre class="de1">    libdirs = <span class="br0">&#91;</span><span class="br0">&#93;</span></pre></li><li class="li1"><pre class="de1">  <span class="kw1">ensure</span></pre></li><li class="li1"><pre class="de1">    <span class="kw1">if</span> <span class="br0">&#40;</span>!libdirs.<span class="me1">kind_of</span>?<span class="br0">&#40;</span><span class="kw3">Array</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="kw1">then</span> <span class="kw3">raise</span> <span class="st0">&quot;Internal Error: Dir.entries did not return an array.&quot;</span> <span class="kw1">end</span></pre></li><li class="li1"><pre class="de1">  <span class="kw1">end</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">  <span class="co1"># Remove extraneous entries</span></pre></li><li class="li1"><pre class="de1">  libdirs.<span class="me1">delete</span><span class="br0">&#40;</span><span class="st0">&quot;.&quot;</span><span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">  libdirs.<span class="me1">delete</span><span class="br0">&#40;</span><span class="st0">&quot;..&quot;</span><span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">  libdirs.<span class="me1">delete</span><span class="br0">&#40;</span><span class="st0">&quot;.localized&quot;</span><span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">  libdirs.<span class="me1">map</span>! <span class="br0">&#123;</span><span class="sy0">|</span>l<span class="sy0">|</span> <span class="st0">&quot;./Library/&quot;</span> <span class="sy0">+</span> l<span class="br0">&#125;</span> <span class="co1"># Need to add in the path to the Library subdirectories</span></pre></li><li class="li1"><pre class="de1">  <span class="kw3">print</span> <span class="st0">&quot;** libdirs: &quot;</span>, libdirs.<span class="me1">join</span><span class="br0">&#40;</span><span class="st0">&quot;, &quot;</span><span class="br0">&#41;</span>,<span class="st0">&quot;<span class="es0">\n</span>&quot;</span> <span class="kw1">if</span> <span class="re0">$DEBUG</span></pre></li><li class="li1"><pre class="de1">  libdirs = libdirs <span class="sy0">&amp;</span> LIBRARY_DIRS <span class="co1"># get the intersection of library directories with the set we want to keep in backup</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">  files = files <span class="sy0">+</span> libdirs</pre></li><li class="li1"><pre class="de1">  files.<span class="me1">map</span>! <span class="br0">&#123;</span><span class="sy0">|</span>f<span class="sy0">|</span> <span class="st0">&quot;'#{f}'&quot;</span><span class="br0">&#125;</span> <span class="co1"># need to quote file names for find() command in backupUsers() procedure</span></pre></li><li class="li1"><pre class="de1">  <span class="kw3">print</span> <span class="st0">&quot;** files: &quot;</span>, files.<span class="me1">join</span><span class="br0">&#40;</span><span class="st0">&quot;, &quot;</span><span class="br0">&#41;</span>,<span class="st0">&quot;<span class="es0">\n</span>&quot;</span> <span class="kw1">if</span> <span class="re0">$DEBUG</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">  files <span class="co1"># return the file list</span></pre></li><li class="li1"><pre class="de1"><span class="kw1">end</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1"><span class="kw1">def</span> backupUsers<span class="br0">&#40;</span>userlist,backupdir<span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">  <span class="kw1">for</span> user <span class="kw1">in</span> userlist</pre></li><li class="li1"><pre class="de1">    mkdir<span class="br0">&#40;</span><span class="st0">&quot;#{backupdir}/#{user}&quot;</span><span class="br0">&#41;</span> <span class="kw1">unless</span> <span class="re0">$DEBUG</span></pre></li><li class="li1"><pre class="de1">    <span class="kw3">print</span> <span class="st0">&quot;** mkdir #{backupdir}/#{user}&quot;</span>,<span class="st0">&quot;<span class="es0">\n</span>&quot;</span> <span class="kw1">if</span> <span class="re0">$DEBUG</span></pre></li><li class="li1"><pre class="de1">    cd<span class="br0">&#40;</span>user<span class="br0">&#41;</span> <span class="kw1">do</span> <span class="co1"># change directories in a block, at the end of the block, direcotry will go back to previous working directory</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">      files = getFileList<span class="br0">&#40;</span><span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">      <span class="kw1">begin</span></pre></li><li class="li1"><pre class="de1">        <span class="st0">`find #{files.join(&quot; &quot;)} -print | cpio -pdv #{backupdir}/#{user}`</span> <span class="kw1">unless</span> <span class="re0">$DEBUG</span></pre></li><li class="li1"><pre class="de1">        <span class="kw3">print</span> <span class="st0">&quot;** find:&quot;</span>, files.<span class="me1">join</span><span class="br0">&#40;</span><span class="st0">&quot;, &quot;</span><span class="br0">&#41;</span>,<span class="st0">&quot; | cpio: &quot;</span>, <span class="st0">&quot;#{backupdir}/#{user}&quot;</span>,<span class="st0">&quot;<span class="es0">\n</span>&quot;</span> <span class="kw1">if</span> <span class="re0">$DEBUG</span></pre></li><li class="li1"><pre class="de1">      <span class="kw1">rescue</span></pre></li><li class="li1"><pre class="de1">        warn <span class="st0">&quot;Error with backing up #{user}: #{$!}<span class="es0">\n</span>Continuing with next user.&quot;</span></pre></li><li class="li1"><pre class="de1">      <span class="kw1">end</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">    <span class="kw1">end</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">  <span class="kw1">end</span></pre></li><li class="li1"><pre class="de1"><span class="kw1">end</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">backupdir = getBackDir<span class="br0">&#40;</span><span class="kw4">Time</span>.<span class="me1">now</span><span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">mkdir<span class="br0">&#40;</span>backupdir<span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">&nbsp;</pre></li><li class="li1"><pre class="de1">cd<span class="br0">&#40;</span><span class="st0">&quot;/Users&quot;</span><span class="br0">&#41;</span> <span class="kw1">do</span> <span class="co1"># change directories in a block, at the end of the block, directory will go back to the previous working directory</span></pre></li><li class="li1"><pre class="de1">  userlist = getUserList<span class="br0">&#40;</span><span class="st0">&quot;/Users&quot;</span><span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1">  backupUsers<span class="br0">&#40;</span>userlist,backupdir<span class="br0">&#41;</span></pre></li><li class="li1"><pre class="de1"><span class="kw1">end</span></pre></li></ol></div></div></div></div></div></div></div>


<div class='rtsocial-container rtsocial-container-align-left rtsocial-horizontal' ><div id='rtsocial-twitter-horizontal'><div class='rtsocial-twitter-horizontal-button'><a title='Writing ruby' class='rtsocial-twitter-button' href= 'http://twitter.com/share?via=tamouse&related=tamouse&text=Writing ruby' target="_blank" ></a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-twitter-count'></span></div></div><div id='rtsocial-fb-horizontal' class='fb-light'><div class='rtsocial-fb-horizontal-button'><a title='Like' class='rtsocial-fb-button rtsocial-fb-like-light' href="http://www.facebook.com/sharer.php?" target="_blank">Like</a></div><div class='rtsocial-horizontal-count'><div class='rtsocial-horizontal-notch'></div><span class='rtsocial-fb-count'></span></div></div><a title='Writing ruby' rel='nofollow' class='perma-link' href='http://www.tamaratemple.com/2007/03/22/writing-ruby/' title='Writing ruby'></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.tamaratemple.com/2007/03/22/writing-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

