<?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>Untethered Dreams &#187; Automation</title>
	<atom:link href="http://www.untethereddreams.com/category/automation/feed" rel="self" type="application/rss+xml" />
	<link>http://www.untethereddreams.com</link>
	<description>Breaking the tether of corporate life</description>
	<lastBuildDate>Tue, 10 May 2011 02:24:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>How To Sync Directories between your Development Machine and QA Server</title>
		<link>http://www.untethereddreams.com/automation/how-to-sync-directories-between-your-development-machine-and-qa-server</link>
		<comments>http://www.untethereddreams.com/automation/how-to-sync-directories-between-your-development-machine-and-qa-server#comments</comments>
		<pubDate>Tue, 02 Dec 2008 02:02:00 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.untethereddreams.com/automation/2008/12/02/how-to-sync-directories-between-your-development-machine-and-qa-server.html</guid>
		<description><![CDATA[While working on special projects for Felthos Foundry that will be revealed in the near future, I found developing only on the QA Server a bit cumbersome as the connection was not always quick and I could not completely modify the QA site as needed. Realizing the limitations, I brought the code back to my [...]]]></description>
			<content:encoded><![CDATA[<p>While working on special projects for <a href="http://www.felthosfoundry.com/">Felthos Foundry</a> that will be revealed in the near future, I found developing only on the QA Server a bit cumbersome as the connection was not always quick and I could not completely modify the QA site as needed.</p>
<p>Realizing the limitations, I brought the code back to my personal development machine which happens to be a Mac.  This decision works from a engineering standpoint, but the code was not available to my padna, I could not easily access the code from outside my house and now the company must rely that I make backups of the code.</p>
<p>To address the concerns of backups and remove access to the files by myself and my padna, I wrote a quick little script with <a href="http://samba.anu.edu.au/rsync/">rsync</a>.  Rsync is an open source utility the provides quick incremental file transfer and is available under the <a href="http://samba.anu.edu.au/rsync/GPL.html">GNU General Public License</a>.  Rsync typically comes packaged on most linux distros and OS X had it pre-installed.</p>
<p><span id="more-41"></span></p>
<p>In order to treat my development machine as the master for the syncing relationship and the QA server as a slave, the following conditions must be met:</p>
<ol>
<li> File modified or created on the Development machine will be modified or created on the QA Server;</li>
<li> Files should be deleted on the QA Server that are no longer on the Development machine;</li>
<li> If a file has been modified on the QA Server, the modified file will be synced back to my Development machine.</li>
</ol>
<p>With that in mind, here&#8217;s the script:</p>
<p><code><br />
#!/bin/bash</code></p>
<p>logfile=&#8221;/path/to/backup.log&#8221;</p>
<p>src=&#8221;/path/to/development/machines/directory&#8221;<br />
dest=&#8221;user@fqdn:/path/to/QA/directory&#8221;<br />
opt=&#8221;-azu &#8211;delete -v &#8211;exclude &#8216;._.DS_Store&#8217;&#8221;</p>
<p>echo&#8221;" &gt;&gt; $logfile; echo &#8220;Backup: iMac-&gt;QA&#8221; &gt;&gt; $logfile</p>
<p>rsync $opt &#8220;$src&#8221; &#8220;$dest&#8221; &gt;&gt; $logfile</p>
<p>src=&#8221;user@fqdn:/path/to/QA/directory&#8221;<br />
dest=&#8221;/path/to/development/machines/directory&#8221;<br />
opt=&#8221;-az &#8211;exclude &#8216;._.DS_Store&#8217;&#8221;</p>
<p>echo&#8221;" &gt;&gt; $logfile; echo &#8220;Backup: QA-&gt;iMac&#8221; &gt;&gt; $logfile</p>
<p>rsync $opt &#8220;$src&#8221; &#8220;$dest&#8221; &gt;&gt; $logfile<br />
The variables that need to be modified include the logfile, src, dest and opt (src, dest, and opt in two places).  The logfile is the path and filename for where all output will be stored during the rsync.  The first src is the path on the development machine that needs to be synced while the dest includes the username, fully qualified domain name and path to the destination directory on the QA Server.  Finally, the first opt variable should include the options required to sync files from the development machine to the QA Server.  In this case, a represents archive, z represents compressed, &#8211;delete represents deleting files in the destination that are no longer in the source, and the exclude statement stops the syncing of a Mac specific filename.</p>
<p>The second set of variables for src and dest are basically the exact opposite of the first set.  The src in the second case changes to the QA Server while the dest is the development machine.  The second opt should not include the &#8211;delete command.</p>
<p>While the script performs transfers incrementally and the script and process are simple, I&#8217;d suggest performing a trial run with just a couple of small files as the first sync could saturate your network connection.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/rsync" class="performancingtags" rel="tag">rsync</a>, <a href="http://technorati.com/tag/sync" class="performancingtags" rel="tag">sync</a>, <a href="http://technorati.com/tag/linux" class="performancingtags" rel="tag">linux</a></p>
<img src="http://www.untethereddreams.com/wordpress/?ak_action=api_record_view&id=41&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.untethereddreams.com/automation/how-to-sync-directories-between-your-development-machine-and-qa-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iMacros for Firefox &#8211; Automation Tool</title>
		<link>http://www.untethereddreams.com/automation/imacros-for-firefox-automation-tool</link>
		<comments>http://www.untethereddreams.com/automation/imacros-for-firefox-automation-tool#comments</comments>
		<pubDate>Fri, 28 Mar 2008 18:53:00 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Automation]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[add-ons]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://untethereddreams.com/automation/2008/03/28/imacros-for-firefox-automation-tool.html</guid>
		<description><![CDATA[You can automate Firefox using iMacros for Firefox. I found this little gem of a Firefox add-on by pure accident but after playing around with it and running the demos this will definitely become a standard in my toolbox. The add-on claims that iMacros for Firefox can automate anything you do with Firefox. From my [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://addons.mozilla.org/en-US/firefox/addon/3863"><img src="http://untethereddreams.com/wp-content/uploads/2008/03/1.png" alt="iMacros for Firefox" align="right" border="0" /></a>  You can <strong>automate</strong> <strong>Firefox</strong> using <a href="https://addons.mozilla.org/en-US/firefox/addon/3863">iMacros for Firefox</a>.  I found this little gem of a <a href="http://www.firefox.com/">Firefox</a> add-on by pure accident but after playing around with it and running the demos this will definitely become a standard in my toolbox.</p>
<p>The add-on claims that <strong>iMacros for Firefox</strong> can automate anything you do with Firefox.  From my quick tests so far of pulling of reports from various sites, I am excited by the possibilities.</p>
<p>There is an <a href="http://www.iopus.com/download/imacros-ie/">iMacros for Internet Explorer</a> plug-in as well as <a href="http://www.iopus.com/imacros/compare/">several versions of iMacros</a> ranging in price from $49.95 to $499.</p>
<p>Check out everything you can do with iMacros after the <a href="http://untethereddreams.com/automation/2008/03/28/imacros-for-firefox-automation-tool.html#more-8">jump</a>.</p>
<p><span id="more-8"></span></p>
<blockquote><p> Here are just a few examples of how you can use iMacros to automate your web browser.</p>
<p>(1) Form Filler &amp; Password Manager</p>
<p>With iMacros for Firefox, you no longer need to check the same sites every day, remembering passwords, and filling out web forms. iMacros is the only form filler that can autofill web forms that stretch over several pages. All information is stored in human-readable, plain text files that can be easily edited. Passwords are stored securely with 256-Bit AES encryption. Users memorize only one master password and iMacros remembers all the others, providing a truly automated login experience, that beats the Solution to Enterprise Single Sign-On (SSO).</p>
<p>(2) Automated Download &amp; Upload</p>
<p>iMacros can automate the download of images, files, or entire pages (with or without images). In the other direction, it can automate the upload of data to websites. You can use variables inside the macros and import data from CSV files. iMacros includes a user agent switcher, PDF download and Flash, and ad- and image-blocking functions. When combined and controlled with Javascript, the recorded Macros can script even very complex tasks.</p>
<p>(3) Data Extraction, Web Scraping/Mining &amp; Enterprise Data Mash-Ups</p>
<p>The iMacros EXTRACT command automatically reads data from a website and exports it to CSV files – the exact opposite of filling out forms. iMacros includes full Unicode support and works with every language, including multi-byte languages such as Chinese. You can use this feature to download stock quotes, gather and compare web store prices, and more.</p>
<p>(4) Web Testing</p>
<p>Web professionals can use iMacros for functional, performance, and regression testing of web applications. The built-in STOPWATCH command captures precise web page response times. iMacros also includes support for many AJAX elements.</p>
<p>(5) Social Scripting (Social Bookmarking)</p>
<p>Sharing your favorite iMacros with friends and colleagues is easy. Simply right-click the macro to add it as a bookmark, or select &#8220;Run Everywhere&#8221; and embed the complete macro in a simple link. You can send the link to others, or embed it on your homepage, blog, or company intranet. Instead of telling your site visitors how to fill out a form, let iMacros do it for them. All the information is stored inside the link as a text string, with nothing stored on our servers, which is why iMacros work on intranets, too. See an example at <a href="http://del.icio.us/imacros/imacro/">del.icio.us/imacros/imacro</a>.</p>
<p>(6) Other Uses</p>
<p>For more ideas on how to use iMacros, please visit <a href="http://www.iopus.com/imacros/firefox/">www.iopus.com/imacros/firefox</a> and/or our active support forum at <a href="http://forum.iopus.com/">forum.iopus.com</a>.</p></blockquote>
<img src="http://www.untethereddreams.com/wordpress/?ak_action=api_record_view&id=8&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.untethereddreams.com/automation/imacros-for-firefox-automation-tool/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

