<?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>Labs &#187; Mac</title>
	<atom:link href="http://labs.iamkoa.net/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.iamkoa.net</link>
	<description>I break it. I fix it. You learn.</description>
	<lastBuildDate>Fri, 09 Jul 2010 02:26:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Audio Hijack Equivalent for Ubuntu [Linux, ffmpeg]</title>
		<link>http://labs.iamkoa.net/2010/07/08/audio-hijack-equivalent-for-ubuntu-linux-ffmpeg/</link>
		<comments>http://labs.iamkoa.net/2010/07/08/audio-hijack-equivalent-for-ubuntu-linux-ffmpeg/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 02:26:36 +0000</pubDate>
		<dc:creator>Koa</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://labs.iamkoa.net/?p=343</guid>
		<description><![CDATA[If you own a Mac and frequently rip audio from streaming content on the internet, then you&#8217;ve probably already heard of Audio Hijack. The majority of times I used Audio Hijack was for ripping audio from YouTube videos such as this one. I&#8217;ll show you how to download YouTube videos in FLV format, then rip [...]]]></description>
			<content:encoded><![CDATA[<p>If you own a Mac and frequently rip audio from streaming content on the internet, then you&#8217;ve probably already heard of <a href="http://www.rogueamoeba.com/audiohijackpro/">Audio Hijack</a>. The majority of times I used Audio Hijack was for ripping audio from YouTube videos <a href="http://www.youtube.com/watch?v=MX0D4oZwCsA&#038;playnext_from=TL&#038;videos=1OVHpIwYBgk">such as this one</a>. I&#8217;ll show you how to download YouTube videos in FLV format, then rip the audio from those videos and save them as an MP3 file, all on Ubuntu.</p>
<p><span id="more-343"></span></p>
<h2>FlashGot Addon for Firefox</h2>
<p>You&#8217;ll want to install a Firefox extension called <a href="https://addons.mozilla.org/en-US/firefox/addon/220/">FlashGot</a> in order to download the YouTube movie onto your computer.</p>
<p>Once you&#8217;ve installed FlashGot, go to YouTube and surf to the video that you want to download. In the lower-right corner of your browser, click the FlashGot icon to select where you&#8217;d like to download the video (.flv) file. It should automatically begin downloading.</p>
<h2>Apt-Get the Stuff You Need</h2>
<p>Before you can convert your Flash video (.flv) to an MP3, you need to install a few tools. Open terminal and type the following:</p>
<pre class="brush:xml;gutter:false;toolbar:false">
sudo apt-get install lame ffmpeg libavcodec-unstripped-52
</pre>
<p>Once the installation completes, you&#8217;re ready to convert your .flv file to an mp3 file.</p>
<h2>From .flv to .mp3 in one line</h2>
<p>Open terminal, <code>cd</code> to the directory where you&#8217;ve saved your Flash video, and run the following, replacing <code>SOURCE_NAME</code> and <code>DESTINATION_NAME</code> accordingly:</p>
<pre class="brush:xml;gutter:false;toolbar:false">
ffmpeg -i SOURCE_NAME.flv -acodec libmp3lame -ar 44100 -ab 160k -ac 2 DESTINATION_NAME.mp3
</pre>
<p>You should have yourself a nice, compressed .mp3 file.</p>
<h2>Convert to other formats: mpeg, avi, wav, etc</h2>
<p>With the power of <code>ffmpeg</code>, you can convert audio and video files to almost anything. <a href="http://www.ffmpeg.org/documentation.html">Learn more about ffmpeg</a> if you want to tweak your output.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.iamkoa.net/2010/07/08/audio-hijack-equivalent-for-ubuntu-linux-ffmpeg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easily Pimp Your Mac OS X Desktop</title>
		<link>http://labs.iamkoa.net/2009/03/17/easily-pimp-your-mac-os-x-desktop/</link>
		<comments>http://labs.iamkoa.net/2009/03/17/easily-pimp-your-mac-os-x-desktop/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 01:25:17 +0000</pubDate>
		<dc:creator>Koa</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[beauty]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://labs.iamkoa.net/?p=83</guid>
		<description><![CDATA[Mac OS X may not be as easy as Ubuntu to customize, but thanks to GeekTool, you can make your desktop background a little more useful than just eye-candy. I&#8217;ll show you how to easily add a calendar, multiple clocks (display both relative and non-relative time), a live system processes chart, and a system up-time [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://labs.iamkoa.net/wp-content/uploads/2009/03/mac-os-x-background.jpg" target="_blank"><img src="http://labs.iamkoa.net/wp-content/uploads/2009/03/mac-os-x-background-300x187.jpg" alt="Mac OS X Using GeekTool" title="Mac OS X Using GeekTool" width="300" height="187" class="alignleft size-medium wp-image-84" /></a></p>
<p>Mac OS X may not be as easy as Ubuntu to customize, but thanks to <a href="http://projects.tynsoe.org/en/geektool/">GeekTool</a>, you can make your desktop background a little more useful than just eye-candy. I&#8217;ll show you how to easily add a calendar, multiple clocks (display both relative and non-relative time), a live system processes chart, and a system up-time timer (with load averages) to your desktop. Of course you can easily add more items, but this should be enough to get you started.
</p>
<p>
Sounds completely geeky (and it totally is), but <a href="http://projects.tynsoe.org/en/geektool/">GeekTool</a> makes you and your desktop look awesome &#8211; it also increases sexual pleasure and makes you last longer in bed.
</p>
<p><span id="more-83"></span></p>
<p><h2>Get Your GeekTool Ready</h2>
<p>Obviously none of this action would be possible without <a href="http://projects.tynsoe.org/en/geektool/">GeekTool</a>, so go download yourself a copy and <a href="http://projects.tynsoe.org/en/geektool/doc.php">install it</a>. The install should take you 30 seconds or less. Skim over the <strong>Introduction</strong> to give yourself a quick overview of your new best friend.
</p>
<p><h2>Add The Goods To GeekTool</h2>
<p>Now that you have GeekTool installed, it&#8217;s time to add some magic to your desktop. (You can reference my desktop screenshot above as you add your GeekTool components.)<br />
<a href="http://labs.iamkoa.net/wp-content/uploads/2009/03/ss1.jpg"><img src="http://labs.iamkoa.net/wp-content/uploads/2009/03/ss1-150x150.jpg" alt="GeekTool Screenshot" title="GeekTool Screenshot" width="150" height="150" class="alignleft size-thumbnail wp-image-102" /></a></p>
<p>For each component you add, you can drag and resize the window in which they appear &#8211; you&#8217;ll see what I mean once you begin.</p>
<p>To add a new component, click &#8220;New Entry&#8221; in GeekTool and under the main configuration frame drop-down menu (#3 in the screenshot), choose &#8220;Shell&#8221;, then insert the following code into the &#8220;Command&#8221; textbox. The &#8220;Refresh&#8221; input box can be changed to rerun the Shell command every number of seconds.</p>
<p>Here we go from bottom to top of my desktop screenshot:</p>
<h3>System Uptime Stats</h3>
<p><code>uptime</code><br />
Set refresh to ten.</p>
<h3>System Processes Chart</h3>
<p><code>top -l1 -u -o cpu -S -n 15</code><br />
Edit the number &#8220;15&#8243; at the end of the string to display more or less processes.</p>
<h3>Local Time</h3>
<p><code>date +%H:%M</code><br />
You can change the format in which the date is displayed using <a href="http://linux.die.net/man/3/strftime">these nifty conversion symbols</a>.</p>
<h3>Non-Relative Time</h3>
<p><code>TZ=Pacific/Honolulu date +"Honolulu: %H:%M"</code><br />
To change the timezone, edit the TZ variable above to something like &#8220;America/Los_Angeles&#8221; &#8211; a full list of possible TZ variables can be found here:<br />
<a href="http://twiki.org/cgi-bin/xtra/tzdatepick.html">http://twiki.org/cgi-bin/xtra/tzdatepick.html</a></p>
<h3>Calendar</h3>
<p><code>cal | sed "s/^/ /;s/$/ /;s/ $(date +%e) / $(date +%e | sed 's/./#/g') /"</code>
</p>
<p><h2>My Exact GeekTool Setup</h2>
<p>Want to completely copy my style? Be my guest!</p>
<h3>Colors and Font</h3>
<p>White &#8211; Monaco<br />
The font size is variable depending upon the component &#8211; it varies from 9, the uptime and system processes, to 71, the local time.</p>
<h3>Text</h3>
<p>Right-justified</p>
<h3>Image Background</h3>
<p>I can&#8217;t remember where I download the background from, but it&#8217;s called &#8220;Flow&#8221; and it insanely rules. (If you know to whom I should give credit, please let me know.)<br />
<a href='http://labs.iamkoa.net/wp-content/uploads/2009/03/flow_bg.zip'>Download Flow (~3MB)</a></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.iamkoa.net/2009/03/17/easily-pimp-your-mac-os-x-desktop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Networking Ubuntu &amp; Mac OS X &#8211; &#8220;Fugu&#8221; It</title>
		<link>http://labs.iamkoa.net/2007/10/27/networking-ubuntu-mac-os-x-fugu-it/</link>
		<comments>http://labs.iamkoa.net/2007/10/27/networking-ubuntu-mac-os-x-fugu-it/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 06:43:52 +0000</pubDate>
		<dc:creator>Koa</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://labs.iamkoa.net/2007/10/27/networking-ubuntu-mac-os-x-fugu-it/</guid>
		<description><![CDATA[There are more than a few ways to share files between Ubuntu and Apple&#8217;s Mac OS X. In fact, there are so many methods, I puked when trying to make sense of them all. Thankfully a silly puffer fish exists in the form of an awesome Mac OS application. It&#8217;s called Fugu, and it&#8217;s about [...]]]></description>
			<content:encoded><![CDATA[<p>There are <a href="http://www.moixo.com/es/sharing-files-folders-from-ubuntu-to-mac-os-x">more</a> <a href="http://discussions.apple.com/thread.jspa?messageID=5478437">than</a> <a href="http://www.linuxquestions.org/questions/linux-networking-3/nfs-ubuntu-server-and-mac-os-x-clients-465043/">a few</a> ways to share files between Ubuntu and Apple&#8217;s Mac OS X. In fact, there are so many methods, I puked when trying to make sense of them all.</p>
<p>Thankfully a silly puffer fish exists in the form of an awesome Mac OS application. It&#8217;s called <a href="http://rsug.itd.umich.edu/software/fugu/">Fugu</a>, and it&#8217;s about to make your life a hell of a lot easier.</p>
<p>Fugu allows you to easily connect to your Ubuntu machine (via SSH) from home (like a home network) or while you&#8217;re away.</p>
<p>I&#8217;ll show you how to combine the power of open-ssh with Fugu to create an Ubuntu/OS X bond that would make Neo weep with pride.</p>
<p><span id="more-24"></span></p>
<h2>Gathering The Goods&#8230;</h2>
<p>Before we dig into any installing, we need to figure out what your external and internal (network) IP address is for your Ubuntu computer.</p>
<p>To get your <strong>external</strong> IP address, I recommend going to <a href="http://whatismyip.com/">whatismyip.com</a> &#8211; your IP address will be sitting in front of your face as soon as the page loads. Done.</p>
<p>To get your computers network IP address (the IP address given to you by your router, assuming you have one) open terminal in Ubuntu and type <code>ifconfig</code>. You should see something similar to the following:</p>
<pre><code>eth0      Link encap:Ethernet  HWaddr 00:17:31:A6:D2:B9
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:17 

eth1      Link encap:Ethernet  HWaddr 00:17:31:A6:CA:73
          <span class="highlight">inet addr:10.0.1.2</span>  Bcast:255.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::217:31ff:fea6:ca73/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:734005 errors:0 dropped:0 overruns:0 frame:0
          TX packets:634475 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:626690669 (597.6 MB)  TX bytes:243085749 (231.8 MB)
          Interrupt:21 Base address:0x6000 

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:80 errors:0 dropped:0 overruns:0 frame:0
          TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6264 (6.1 KB)  TX bytes:6264 (6.1 KB)</code></pre>
<p>The highlighted code above is your computers IP. It&#8217;ll probably start with 10.x.x.x, 192.x.x.x or 127.x.x.x &#8211; in any case, it&#8217;ll should be within the <code>eth0</code> or <code>eth1</code> sections.</p>
<h2>Installing Open-SSH</h2>
<p>Now that you&#8217;ve got your external IP and your computers IP, it&#8217;s time to install open-ssh on Ubuntu. Open Synaptic Package Manager (System -> Administration) and search for <code>openssh-server</code>. Install it. Done.</p>
<h2>Installing Fugu</h2>
<p>While on your Mac, go to the Fugu website (<a href="http://rsug.itd.umich.edu/software/fugu/">http://rsug.itd.umich.edu/software/fugu/</a>) and download the dmg file. Install it. Done.</p>
<h2>Rollin&#8217; With Fugu</h2>
<p>After installing Fugu, open it. You should see something like this:<br />
<img src='http://labs.iamkoa.net/wp-content/uploads/2007/10/picture-1.png' alt='Fugu Screenshot' /></p>
<ul>
<li>Assuming you&#8217;re at home wanting to connect to your Ubuntu machine, in the &#8220;Connect to:&#8221; field, type your Ubuntu computer (internal) IP address. (Remember, this should something like 10.x.x.x, 192.x.x.x, or 127.x.x.x) <em>If you&#8217;re away from home and you want to connect to your Ubuntu machine, type your <strong>external</strong> IP address in the &#8220;Connect to:&#8221; field.</em></li>
<li>The <strong>username</strong> should be the same username you use to login to your Ubuntu machine.</li>
<li>
Use <strong>port 22</strong>. (This is the port used by SSH)</li>
<li>Hit <strong>Connect</strong>. (If you see a warning message appear, click continue.)</li>
<li>
Enter your Ubuntu machine&#8217;s password associated with the username you used. (You may save the password to OS X&#8217;s keychain so you never have to enter it again.)</li>
</ul>
<p>Fugu should connect you with your Ubuntu machine!</p>
<p>Oh yeah. DONE.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.iamkoa.net/2007/10/27/networking-ubuntu-mac-os-x-fugu-it/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
