<?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>CS and the City &#187; How-to</title>
	<atom:link href="http://sean.lyn.ch/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://sean.lyn.ch</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 08:16:31 +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>Removing iTunes duplicates</title>
		<link>http://sean.lyn.ch/2008/06/removing-itunes-duplicates/</link>
		<comments>http://sean.lyn.ch/2008/06/removing-itunes-duplicates/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 00:32:55 +0000</pubDate>
		<dc:creator>Sean Lynch</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://sean.lyn.ch/?p=45</guid>
		<description><![CDATA[I recently had to rebuild my iTunes library to solve some weird situation that was preventing my iPhone from syncing with iTunes after a reformat and upgrade. In the process I managed to add about 25 albums to the library twice. Instead of Apple noticing that the action is simply going to result in byte-for-byte [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to rebuild my iTunes library to solve some weird situation that was preventing my iPhone from syncing with iTunes after a reformat and upgrade.  In the process I managed to add about 25 albums to the library twice.  Instead of Apple noticing that the action is simply going to result in byte-for-byte duplicates of entire albums, it decides to continue with the addition and just append &#8221; 1.mp3&#8243; to all of the filenames.  Why the genius coders over at Apple decided this was a reasonable outcome I&#8217;ll never know, but it frustrates a music library neat freak like myself to no end.</p>
<p>After trying to convince various AppleScripts to make iTunes clean itself up, I stumbled across these instructions on the blog of Todd George on <a href="http://www.togeo.com/togeo/wordpress/?p=47">how to find and remove byte-for-byte duplicates from iTunes</a>.  It saved my sanity.  Note that this simply removes the files from the filesystem, and not the entries from the iTunes library itself.  Thankfully, Todd provides a link to a great method of <a href="http://www.paulmayne.org/archives/2007/11/how-to-remove-broken-or-dead-tracks-from-itunes/">finding the now dead entries in your library and removing them</a> WITHOUT any additional scripts or programs.  </p>
<p>iTunes is happy again!</p>
]]></content:encoded>
			<wfw:commentRss>http://sean.lyn.ch/2008/06/removing-itunes-duplicates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using source control in Eclipse with OSX&#8217;s built-in CVS</title>
		<link>http://sean.lyn.ch/2006/05/using-source-control-in-eclipse-with-osxs-built-in-cvs/</link>
		<comments>http://sean.lyn.ch/2006/05/using-source-control-in-eclipse-with-osxs-built-in-cvs/#comments</comments>
		<pubDate>Wed, 24 May 2006 05:18:00 +0000</pubDate>
		<dc:creator>Sean Lynch</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[CVS]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">https://seanlynch.wordpress.com/2006/05/24/using-source-control-in-eclipse-with-osxs-built-in-cvs/</guid>
		<description><![CDATA[I&#39;ve been using source control for a while now, but I&#39;ve only recently discovered that my little iBook comes pre-installed with a working copy of CVS. In fact, Apple&#39;s developer site has a great article on how to set up CVS on OSX. Unfortunately, the article doesn&#39;t take the user beyond using CVS at the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#39;ve been using source control for a while now, but I&#39;ve only recently discovered that my little iBook comes pre-installed with a working copy of CVS.  In fact, Apple&#39;s developer site has a great article on <a href="http://developer.apple.com/internet/opensource/cvsoverview.html">how to set up CVS on OSX</a>.</p>
<p>Unfortunately, the article doesn&#39;t take the user beyond using CVS at the command line.  Ideally, you&#39;ll want to connect to your CVS repository using a much more flexible GUI tool.  I forcibly recommend using Eclipse.  The integration of CVS directly into an IDE has been a long time coming, but I can&#39;t give it up now that it&#39;s here.</p>
<p><span id="more-11"></span></p>
<p>There is, however, a trick to getting Eclipse to connect to the localhost repository. Enter the System Preferences menu by clicking [Apple] in the top left and selecting &quot;System Preferences&quot;.  Now select &quot;Sharing&quot; from the &quot;Internet &amp; Network&quot; area. Under the &quot;Services&quot; tab, select &quot;Remote Login&quot; and press the start button.<br />
<b>Warning:</b> Not only will you be able to SSH into your own machine, but anyone else with your password can as well.  Enable Remote Login at your own risk. Check out this article over at Mac Geekery called <a href="http://www.macgeekery.com/tips/security/basic_mac_os_x_security">Basic OSX Security</a> for more information on securing your Mac.</p>
<p>Once you&#39;ve enabled Remote Login, you can test it by going to the Terminal and typing <code>ssh localhost</code>. You should be prompted for your password, and should get a welcome message if you enter it correctly.  Type <code>exit</code> to return.  Congratulations, SSH is working!</p>
<p>The final step is to commit your Eclipse project to your newly created CVS tree.  Now you can do this from the command line, but it&#39;s even easier in Eclipse.</p>
<p>With your project open, right click on the project folder and choose &quot;Share Project&quot; from the &quot;Team&quot; menu item.  Remember the Team menu item, this is where all your CVS functionality will be once you&#39;ve got your project set up.</p>
<p><a href="http://www.flickr.com/photos/imlynch/152325956/" title="Photo Sharing"><img src="http://static.flickr.com/50/152325956_0a194fa4ff_m.jpg" alt="shareproject" height="240" width="195" /></a></p>
<p>Choose the &quot;Create new repository location&quot; option and click Next.</p>
<p><a href="http://www.flickr.com/photos/imlynch/152325954/" title="Photo Sharing"><img src="http://static.flickr.com/52/152325954_06abd7d27d_m.jpg" alt="newconnection" height="77" width="240" /></a></p>
<p>At this screen, you need to enter the location of the CVS repository you wish to commit to.  The host should be &quot;localhost&quot; and the repository path should be &quot;/usr/local/cvsrep&quot; if you followed the setup tutorial to the letter.  Change it to whatever values you are using.  <b>Make sure &quot;extssh&quot; is selected in the connection type drop down!</b></p>
<p><a href="http://www.flickr.com/photos/imlynch/152325955/" title="Photo Sharing"><img src="http://static.flickr.com/44/152325955_270445f468_m.jpg" alt="setupconnection" height="240" width="218" /></a></p>
<p>At the next screen, I usually select &quot;Use project name as module name&quot;, but feel free to enter whatever you like.  After you choose your module name, click Next.</p>
<p>Eclipse will then connect to the server and create the module.  When it returns, it will confirm with you the files that it will be committing in.  Clicking Finish will finally bring up the Commit wizard which allows you to enter some text for a log entry.  Something like &quot;Initial check in&quot; usually works great.</p>
<p>You should now be in Eclipse-y version control heaven!  Enjoy the good life and happy committing!</p>
]]></content:encoded>
			<wfw:commentRss>http://sean.lyn.ch/2006/05/using-source-control-in-eclipse-with-osxs-built-in-cvs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

