<?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>Jtanium's Notebook &#187; OS X</title>
	<atom:link href="http://www.jtanium.com/category/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jtanium.com</link>
	<description>I jot things down, in hopes of finding them later...</description>
	<lastBuildDate>Wed, 21 Dec 2011 23:21:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Bash Prompt for RVM and Git</title>
		<link>http://www.jtanium.com/2011/12/21/bash-prompt-for-rvm-and-git/</link>
		<comments>http://www.jtanium.com/2011/12/21/bash-prompt-for-rvm-and-git/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 23:21:13 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[rvm]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/?p=236</guid>
		<description><![CDATA[I&#8217;ve seen a lot of examples where people have a cool Bash prompt showing their Ruby version, RVM gemset, and/or their Git branch. What I couldn&#8217;t find is a complete example that helped me understand what was going on and worked properly on OS X. Here&#8217;s what I did, and maybe you&#8217;ll find it useful. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen a lot of examples where people have a cool Bash prompt showing their Ruby version, RVM gemset, and/or their Git branch.</p>
<p>What I couldn&#8217;t find is a complete example that helped me understand what was going on and worked properly on OS X.</p>
<p>Here&#8217;s what I did, and maybe you&#8217;ll find it useful.</p>
<pre>
ESC="\033" # This is the escape sequence
NO_COLOR="$ESC[0m"
IRED="$ESC[1;31m" # ANSI color code for intense/bold red
IGRN="$ESC[1;32m" # ANSI color code for intense/bold green

# From http://railstips.org/blog/archives/2009/02/02/bedazzle-your-bash-prompt-with-git-info/
# I had to change 'git-symbolic-ref' to 'git symbolic-ref'
function parse_git_branch {
  ref=$(git symbolic-ref HEAD 2> /dev/null) || return
  echo " ["${ref#refs/heads/}"]" # I wanted my branch wrapped in [], use () or <> or whatever
}

# from http://ariejan.net/2010/04/25/ruby-version-and-gemset-in-your-bash-prompt-yes-sir
function rvm_version {
  local gemset=$(echo $GEM_HOME | awk -F'@' '{print $2}')
  [ "$gemset" != "" ] &#038;&#038; gemset="@$gemset"
  local version=$(echo $MY_RUBY_HOME | awk -F'-' '{print $2}')
  [ "$version" != "" ] &#038;&#038; version="$version"
  local full="$version$gemset"
  [ "$full" != "" ] &#038;&#038; echo "${full}:" # the colon at the end is a delimiter, you could use a space instead
}

#PS1="\h:\W \u\$" # For reference, here's the default OS X prompt
#export PS1="\$(rvm_version)\W \$(parse_git_branch)\$ " # Without the colors

# I had to put the \[ and \] down here, as opposed to $IRED, to avoid wrapping funkiness.
export PS1="\[$IRED\]\$(rvm_version)\[$NO_COLOR\]\W\[$IGRN\]\$(parse_git_branch)\[$NO_COLOR\] \$ "
</pre>
<p>I encountered all kinds of weirdness getting the colors to work. The problems all centered around getting the <code>\[</code> and <code>\]</code> correct.  If you&#8217;re having problems where the wrapping is wrong, or arrow keys or the backspace causes your prompt to disappear, check your <code>\[\]</code>&#8216;s. The rule of thumb is the characters you&#8217;re escaping should be wrapped in them.  Keep in mind, the color codes don&#8217;t seem to include a <code>]</code> at the end.</p>
<p>I got my color codes from <a href="http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html" title="Bash Prompt HOWTO: Chapter 6. ANSI Escape Sequences: Colours and Cursor Movement" target="_blank">here</a>. At the bottom of that page is a dandy script which prints out all the colors and backgrounds making it easy to find a good color combination for your terminal.</p>
<p>References:<br />
<a href="http://ariejan.net/2010/04/25/ruby-version-and-gemset-in-your-bash-prompt-yes-sir" target="_blank">Ruby version and gemset in your Bash prompt? Yes sir!</a><br />
<a href="http://railstips.org/blog/archives/2009/02/02/bedazzle-your-bash-prompt-with-git-info/" target="_blank">Bedazzle Your Bash Prompt with Git Info</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2011/12/21/bash-prompt-for-rvm-and-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X Server SUS Hack</title>
		<link>http://www.jtanium.com/2010/11/05/os-x-server-sus-hack/</link>
		<comments>http://www.jtanium.com/2010/11/05/os-x-server-sus-hack/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 22:20:19 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/?p=219</guid>
		<description><![CDATA[I&#8217;ve been having a problem with the Software Update Server on OS X, it never generates the catalog files. As far as I can tell, the swupd_syncd process seems to get &#8220;stuck&#8221; and never generate the catalog file. Here&#8217;s how I &#8220;fixed&#8221; it. I added the following to root&#8217;s crontab: 17 3 * * * [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been having a problem with the Software Update Server on OS X, it never generates the catalog files.  As far as I can tell, the <code>swupd_syncd</code> process seems to get &#8220;stuck&#8221; and never generate the catalog file.</p>
<p>Here&#8217;s how I &#8220;fixed&#8221; it.  I added the following to root&#8217;s crontab:</p>
<pre>
17 3 * * * /bin/cat /var/db/swupd/html/content/catalogs/index.sucatalog.apple | /usr/bin/sed 's/swcdn.apple.com/10.0.5.100:8088/' > /var/db/swupd/html/content/catalogs/index.sucatalog
19 3 * * * /bin/cat /var/db/swupd/html/content/catalogs/index-leopard.merged-1.sucatalog.apple | /usr/bin/sed 's/swcdn.apple.com/10.0.5.100:8088/' > /var/db/swupd/html/content/catalogs/index-leopard.merged-1.sucatalog
23 3 * * * /bin/cat /var/db/swupd/html/content/catalogs/index-leopard-snowleopard.merged-1.sucatalog.apple | /usr/bin/sed 's/swcdn.apple.com/10.0.5.100:8088/' > /var/db/swupd/html/content/catalogs/index-leopard-snowleopard.merged-1.sucatalog
</pre>
<p>Keep in mind this is the crontab for the <code>root</code> user (I used <code>sudo crontab -e</code>), not the system crontab, which is normally located in <code>/etc/crontab</code>.  Speaking of which, where the hell did that go?</p>
<p>Seriously, Apple, WTF?  Why is it so friggin&#8217; hard to make a service that pulls a bunch of files off the web and generates an XML file? If I weren&#8217;t pressed for time, I&#8217;d replace <code>swupd_syncd</code> with a hundred lines of Ruby code.</p>
<p>When it comes to OS X Server, I&#8217;m aghast at how difficult it is to get the simplest things to work.  The &#8220;enterprisey&#8221; Apple stuff is awesome in theory, but horrible in practice.  It took days to get the OpenDirectory stuff to work properly.</p>
<p>Even still I have all kinds of problems.  For some reason OpenDirectory decides it&#8217;s just going to take a nap, and it will take three minutes (or more) for anyone on the network to do anything.  Imagine how fun it is trying to change tabs in Workgroup Manager and it takes three minutes between each mouse click.</p>
<p>Here&#8217;s another: periodically OpenDirectory will decide to disable a mobile user. For those of you who&#8217;ve never experienced this, when that happens, the client machine will disable the local user account.  And good luck getting that re-enabled (after you enable it in WGM).  You can run this command a bunch of times:</p>
<pre>
sudo pwpolicy -a LOCAL_ADMIN_SHORTNAME -n /Local/Default -u USER_SHORTNAME -enableuser
</pre>
<p>But it only works 25% of the time. The rest of the time you get messages about user not being disabled or not having a shadowhash. Sometimes if you just reset the user&#8217;s password that will re-enable the account.  Otherwise reboot it a whole bunch of times until it finally figures out the account is enabled in OpenDirectory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2010/11/05/os-x-server-sus-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Goodbye Parallels Desktop</title>
		<link>http://www.jtanium.com/2009/08/26/goodby-parallels-desktop/</link>
		<comments>http://www.jtanium.com/2009/08/26/goodby-parallels-desktop/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 20:16:14 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/?p=149</guid>
		<description><![CDATA[A few months ago, I upgraded to Parallels 4 because the performance of Parallels 3 was so poor. I will admit Parallels 4 is much, much better than 3, but there&#8217;s more than just performance when it comes to virtualization. Well I setup a VM of Ubuntu 9.04 and guess what: the Parallels Tools don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago, I upgraded to Parallels 4 because the performance of Parallels 3 was so poor.  I will admit Parallels 4 is much, much better than 3, but there&#8217;s more than just performance when it comes to virtualization.</p>
<p>Well I setup a VM of Ubuntu 9.04 and guess what: the Parallels Tools don&#8217;t work. People have been asking for them since April, and now it turns out, Parallels 5 is in beta, where, naturally, the Tools will install.  How much do you want to be that you&#8217;ll have to plunk down another $50 for that?</p>
<p>Guess what Parallels: forget you.  I&#8217;m done.  I wanted to support the underdog, and even if the performance of the VM is good, this business of not updating your products isn&#8217;t worth it.</p>
<p>Anyone out there trying to decide whether to go with Parallels or VMWare Fusion: go with Fusion!</p>
<p>Boo Parallels.</p>
<p><strong>Update:</strong> A few days after I wrote this (Aug. 29, 2009) Parallels released an update (4.0.3846) where Parallels Tools can be installed on Jaunty.  Sorry guys, rolling that out more than <strong>four months</strong> after Jaunty was released is too little too late.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2009/08/26/goodby-parallels-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Your Baby Is Dead!</title>
		<link>http://www.jtanium.com/2009/04/10/your-baby-is-dead/</link>
		<comments>http://www.jtanium.com/2009/04/10/your-baby-is-dead/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 19:18:54 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[dss]]></category>
		<category><![CDATA[pci]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/?p=125</guid>
		<description><![CDATA[That&#8217;s what you&#8217;d hear if your Linux server fell victim to the thousands of malware attacks lurking in the average network. That is, according to the PCI DSS. I read the PCI DSS Summary of Changes. It&#8217;s pretty much business as usual until you get to 5.1. That&#8217;s where you find this little gem: Clarified [...]]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s what you&#8217;d hear if your Linux server fell victim to the <em>thousands</em> of malware attacks lurking in the average network.</p>
<p>That is, according to the PCI DSS.  I read the <a href="https://www.pcisecuritystandards.org/pdfs/pci_dss_summary_of_changes_v1-2.pdf">PCI DSS Summary of Changes</a>.  It&#8217;s pretty much business as usual until you get to 5.1.  That&#8217;s where you find this little gem:</p>
<blockquote><p>Clarified requirement applies to all operating systems types commonly affected by malicious software, if applicable anti-virus technology exists.</p></blockquote>
<p>Okay, sounds good.</p>
<blockquote><p>Besides use of the term “anti-virus software,” changed the term “virus” to “malicious software.”</p></blockquote>
<p>Good call, no doubt someone has tried to wriggle out of compliance using that excuse.</p>
<blockquote><p>Deleted note stating “Systems commonly affected by viruses typically do not include UNIX-based operating systems or mainframes.”
</p></blockquote>
<p>WTF?!?!?!?  Is this some kind of twisted April Fool&#8217;s prank.<br />
::Channelling Brian Regan::</p>
<blockquote><p>&#8220;Hey, come here; look what I put for Section Five. Did you see? I just did it as a joke but it&#8217;s going out like that. It&#8217;s already on the website. I don&#8217;t know what to do.&#8221;<br />
&#8220;Just let it go I guess.  There&#8217;s nothing you can do now.&#8221;</p></blockquote>
<p>Raise your hand if you&#8217;ve ever seen a Unix box infected with a virus.  Yeah, me neither.</p>
<p>It doesn&#8217;t take much imagination to figure out where this comes from.  There&#8217;s a lot of big money that doesn&#8217;t like Unix boxes getting a free pass for pretty much all of Section 5 of the DSS.</p>
<p>To unravel this &#8220;mystery&#8221; let&#8217;s start by figuring out who <strong>*loses*</strong> money by Unix not needing anti-malware&#8230; Yeah it&#8217;s Microsoft.  You have to think they&#8217;ve been shoving money in the pocket&#8217;s of PCI over this.  After all, if businesses realize that they can save money by switching to Linux, especially in the current economic climate, they&#8217;re gonna do it.  And what business wouldn&#8217;t, switching to Linux saves you the outrageous anti-malware fees and the exorbitant Windows license fees.</p>
<p>Now, besides Microsoft, who stands to benefit from this?  Of course the answer is the anti-malware venders: Symantec, McAfee, TrendMicro, Sophos, AVG (formerly Grisoft), Kaspersky (I&#8217;m not going to dignify them with links).  If you want some good laughs go read what these guys have to say about Unix viruses.</p>
<p>McAfee, <a href="http://www.mcafee.com/us/about/press/corporate/2006/20060505_12524_u.html">circa 2006</a>:</p>
<blockquote><p>Macintosh platform vulnerability discovery rates have increased by 228 percent in the past three years alone&#8230;</p></blockquote>
<p><strong>Translation:</strong> <em>Your baby is dead!</em><br />
To their credit, they did follow that up with:</p>
<blockquote><p>&#8230;from 45 found in 2003 to 143 in 2005</p></blockquote>
<p>Holy hell!  Please McAfee, take my money, just protect me!</p>
<p>Sophos, <a href="http://www.sophos.com/pressoffice/news/articles/2008/02/rstbtool.html">February 13th, 2008</a>, says of the Linux/Rst-B virus:</p>
<blockquote><p>Analysis of malware in Sophos&#8217;s Linux honeypots have shown almost 70 percent of the infections are due to this six-year-old malicious program.</p></blockquote>
<p><strong>Translation:</strong> <em>Your baby is dead!</em><br />
Holy hell!  Nooooo! Not the honeypots! Those things highly secure!  It takes mad 733t skillz to pwn a honeypot! Lots of critical thinking going on there.<br />
In that same press release, I liked this:</p>
<blockquote><p>&#8220;&#8230;we hope that Linux users who aren&#8217;t running security will at least run this tool to find out if they are infected with this granny virus.&#8221;</p></blockquote>
<p>Ha ha, &#8220;granny virus,&#8221; awesome.  And are you &#8220;running security&#8221; on your Linux box?  What exactly does that mean?  No matter, I wrote my own Linux/Rst-B scanner, check it:</p>
<pre>#!/usr/local/bin/bash
echo "Scanning for Linux/Rst-B virus..."
sleep(5)
echo "No virus detected!"</pre>
<p>To Sophos&#8217; credit the did put this in:</p>
<blockquote><p>Hackers typically gain control via weak SSH password or some other vulnerability.</p></blockquote>
<p>But that&#8217;s it.  The rest of the time it&#8217;s &#8220;Linux viruses are taking over! Give us lots of money, and we&#8217;ll protect you!&#8221;</p>
<p>Here&#8217;s the only place where you can argue Unix anti-malware makes sense: email and file servers. Let those servers be good Samaritans and catch the Windows viruses before they are spread around.  It&#8217;s a waste anywhere else.</p>
<p>That being said, one could argue running anti-malware on a Unix box does more harm than good.  It&#8217;s more than the obvious sucking up resources.  My biggest problem is running anti-malware on a box adds one more attack vector an attacker has.  Historically, there have been many instances where anti-malware software has made people more vulnerable, my favorite being <a href="http://secunia.com/advisories/18131/">this one</a>.</p>
<p>Finally, I want to add that viruses are already becoming passe.  Okay maybe not for Windows, but certainly Unix.  Just look at the pwn2own contest. Yeah, the Mac fell in like two minutes, but it had <strong>*nothing*</strong> to do with a virus, or any kind of malware that&#8217;s going to be detected.  And that&#8217;s the point. Linux, OS X, and other Unix OSes are not going to be taken by traditional malware.  Any attacker worth his salt is gonna do it through the web browser.  Email: lame.  Open ports: too much work.  SSH: maybe.  Web browser: booyah!</p>
<p>The web browser is the ultimate vector, because you as a user, are giving some portion of control of your computer to a remote machine. Just look at the recent OS X viruses, they change your system network settings so your traffic goes to the bad guys site.  Oh snap!</p>
<p>At any rate, PCI removing the statement that Unix systems are not commonly affected by malware has no basis in reality and exists <strong>*soley*</strong> to make big, slow, outdated, technology companies more money.</p>
<p>That&#8217;s bad enough in and of itself.  But what makes it worse is the fact that PCI auditors are just an army of box ticking robots.  Seriously.  Trying to reason with one is an exercise in futility.</p>
<p>Now the worst part:  There&#8217;s nothing we can do about it.  PCI can come up with any bull shit, cockamamie rule they feel like, and you have comply or you&#8217;re out of business.  Rant off.</p>
<p>P.S. &#8211; To any box ticking robots that read this, get off your Huffy and write to me.  I&#8217;m not an auditor, what&#8217;s your side of the story.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2009/04/10/your-baby-is-dead/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Blackberry 8700c Tethering on OS X</title>
		<link>http://www.jtanium.com/2009/03/30/blackberry-8700c-tethering-on-osx/</link>
		<comments>http://www.jtanium.com/2009/03/30/blackberry-8700c-tethering-on-osx/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 22:25:11 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[at&t]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[cingular]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tether]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/?p=106</guid>
		<description><![CDATA[I finally got around to updating the OS on my Blackberry to 4.5. As usual, I lost my settings for getting the tethering to work, so this time, I took some notes. First, I got my phone back in the Cingular days, it actually has Cingular written on it, hence the &#8220;c&#8221; in 8700c. Now, [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got around to updating the OS on my Blackberry to 4.5.  As usual, I lost my settings for getting the tethering to work, so this time, I took some notes.<br />
<span id="more-106"></span><br />
First, I got my phone back in the Cingular days, it actually has Cingular written on it, hence the &#8220;c&#8221; in 8700c.</p>
<p>Now, first you have to get the TCP/IP-APN stuff setup.  To do that, go to &#8220;Settings&#8221; -> &#8220;Options&#8221; -> &#8220;Advanced Options&#8221; -> &#8220;TCP&#8221;.  There are three fields: APN, Username for APN, and Password for APN.  Fill them out like so:
<pre>
APN: wap.cingular
Username for APN: WAP@CINGULAR.COM
Password for APN: CINGULAR1</pre>
<p>As far as I know they are case sensitive.  It&#8217;s also strange because I&#8217;ve seen other settings out there, but they have not worked for me.  I checked to make sure these were working by using <a href="http://www.xk72.com/midpssh/">midpssh</a>.  When the APN settings were wrong, I kept getting &#8220;WRITING: TUNNEL FAILED&#8221; from midpssh.</p>
<p>Now, on your Mac, the first step is to install the modem scripts.  I can&#8217;t remember where I found them, I think it was <a href="http://www.fibble.org/archives/2007/10/updated-modem-s.html">here</a>.  At any rate, I put the file <a href='https://www.jtanium.com/wp-content/uploads/2009/03/blackberryccl.zip'>here</a>, so I can find it later.</p>
<p>As per the directions, unzip into Macintosh HD:Library:Modem Scripts</p>
<p>After that you can pair your phone, if you haven&#8217;t done so already.  The Bluetooth valet/wizard thingy may ask you if you want &#8220;access the Internet with your phone&#8217;s data connection,&#8221; then you can choose the phone model and stuff.  The trick is when you put in the phone number, username and password, use the APN settings.  For example:</p>
<p><img src="https://www.jtanium.com/wp-content/uploads/2009/03/picture-10.png" alt="picture-10" title="picture-10" width="682" height="551" class="alignnone size-full wp-image-108" /></p>
<p>P.S. My phone was recognized as a USB modem as well, however I couldn&#8217;t get it to connect &#8212; no idea why.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2009/03/30/blackberry-8700c-tethering-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links to Kids Games</title>
		<link>http://www.jtanium.com/2009/02/22/links-to-kids-games/</link>
		<comments>http://www.jtanium.com/2009/02/22/links-to-kids-games/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 18:58:01 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[backyardigans]]></category>
		<category><![CDATA[buzz lightyear]]></category>
		<category><![CDATA[children]]></category>
		<category><![CDATA[curious george]]></category>
		<category><![CDATA[dora the explorer]]></category>
		<category><![CDATA[go diego go]]></category>
		<category><![CDATA[kids]]></category>
		<category><![CDATA[little bill]]></category>
		<category><![CDATA[max & ruby]]></category>
		<category><![CDATA[ni hao kai-lan]]></category>
		<category><![CDATA[nick jr]]></category>
		<category><![CDATA[noggin]]></category>
		<category><![CDATA[pbs kids]]></category>
		<category><![CDATA[pinky dinky doo]]></category>
		<category><![CDATA[playhouse disney]]></category>
		<category><![CDATA[starfall]]></category>
		<category><![CDATA[wonder pets]]></category>
		<category><![CDATA[wow wow wubbzy]]></category>
		<category><![CDATA[yo gabba gabba]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/?p=82</guid>
		<description><![CDATA[I&#8217;ve been meaning to do this for a while: create desktop icons for links to games on the Internet for kids.  Granted, they&#8217;re not the prettiest, but kids don&#8217;t seem to care.  Besides the wallpaper on my son&#8217;s computer is mostly white, so works out alright for us.  Read on to see how I did [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_83" class="wp-caption alignright" style="width: 483px"><img class="size-full wp-image-83" title="KidsIcons" src="https://www.jtanium.com/wp-content/uploads/2009/02/picture-1.png" alt="Kids icons screenshot" width="473" height="603" /><p class="wp-caption-text">Kids icons screenshot</p></div>
<p>I&#8217;ve been meaning to do this for a while: create desktop icons for links to games on the Internet for kids.  Granted, they&#8217;re not the prettiest, but kids don&#8217;t seem to care.  Besides the wallpaper on my son&#8217;s computer is mostly white, so works out alright for us.  Read on to see how I did it.</p>
<p><span id="more-82"></span></p>
<p>Step 1: Drag URL to Your Desktop</p>
<p><img class="size-full wp-image-84 alignnone" title="drag1" src="https://www.jtanium.com/wp-content/uploads/2009/02/drag1.png" alt="drag1" width="433" height="187" /></p>
<p>Step 2: Drag the Image You Want to Use For An Icon</p>
<p><img class="alignnone size-full wp-image-86" title="drag2" src="https://www.jtanium.com/wp-content/uploads/2009/02/drag2.png" alt="drag2" width="653" height="487" /></p>
<p>Step 3: Open Image in Preview</p>
<p><img class="alignnone size-full wp-image-88" title="preview" src="https://www.jtanium.com/wp-content/uploads/2009/02/preview.png" alt="preview" width="414" height="590" /></p>
<p>Step 4: Copy Image</p>
<p><img class="alignnone size-full wp-image-85" title="copy" src="https://www.jtanium.com/wp-content/uploads/2009/02/copy.png" alt="copy" width="462" height="315" /></p>
<p>Step 5: Right Click and &#8220;Get Info&#8221;</p>
<p><img class="alignnone size-full wp-image-89" title="rightclick" src="https://www.jtanium.com/wp-content/uploads/2009/02/rightclick.png" alt="rightclick" width="437" height="377" /></p>
<p>Step 6: Click on the Icon to &#8220;Select&#8221; It</p>
<p><img class="alignnone size-full wp-image-90" title="select" src="https://www.jtanium.com/wp-content/uploads/2009/02/select.png" alt="select" width="424" height="279" /></p>
<p>Step 6: Paste</p>
<p><img class="alignnone size-full wp-image-87" title="paste" src="https://www.jtanium.com/wp-content/uploads/2009/02/paste.png" alt="paste" width="408" height="220" /></p>
<p>Here&#8217;s a <a title="Kids Games Icons" href="/wp-content/uploads/2009/02/kidsgames.zip">zip file</a> containing the files I made (pictured above).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2009/02/22/links-to-kids-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X md5sum Hack</title>
		<link>http://www.jtanium.com/2008/01/02/os-x-md5sum-hack/</link>
		<comments>http://www.jtanium.com/2008/01/02/os-x-md5sum-hack/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 04:56:42 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/blog/?p=58</guid>
		<description><![CDATA[I found this nifty little shell script that roughly duplicates the md5sum command on OS X. The problem is, it doesn&#8217;t work anymore, something about the syntax for the expr command being invalid. Anywho, I modified it like so: #!/usr/bin/env bash output=`md5 "$1"` echo `echo $output &#124; sed -e 's/MD5 (\(.*\)) = \(.*\)/\2 \1/'` I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>I found this <a href="http://www.franklinmint.fm/blog/archives/000831.html">nifty little shell script</a> that roughly duplicates the md5sum command on OS X.  The problem is, it doesn&#8217;t work anymore, something about the syntax for the <code>expr</code> command being invalid.</p>
<p>Anywho, I modified it like so:</p>
<pre>#!/usr/bin/env bash
output=`md5 "$1"`
echo `echo $output | sed -e 's/MD5 (\(.*\)) = \(.*\)/\2  \1/'`</pre>
<p>I&#8217;m sure the <code>openssl md5</code> command would work still as well as the <code>md5</code> command.  They both output something similar to:</p>
<pre>MD5 (my_file.txt) = caff1120584b95432eed1e84cb99a593</pre>
<p>That&#8217;s where the <code>sed</code> thing comes in handy, to convert it to:</p>
<pre>caff1120584b95432eed1e84cb99a593  my_file.txt</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2008/01/02/os-x-md5sum-hack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OS X VPN</title>
		<link>http://www.jtanium.com/2007/12/13/os-x-vpn/</link>
		<comments>http://www.jtanium.com/2007/12/13/os-x-vpn/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 21:18:49 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/blog/?p=56</guid>
		<description><![CDATA[I was trying to connect to an IPSec VPN server today, and when I went in to configure the built in client I could only find PPTP. Everything said there should be an option under VPN in Internet Connect, but mine said &#8220;VPN (PPTP)&#8221; same with in the Network Preference Pane. If you&#8217;re having this [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to connect to an IPSec VPN server today, and when I went in to configure the built in client I could only find PPTP.  Everything said there should be an option under VPN in Internet Connect, but mine said &#8220;VPN (PPTP)&#8221; same with in the Network Preference Pane.</p>
<p>If you&#8217;re having this problem, go into &#8220;System Preferences&#8221; -> &#8220;Network&#8221; -> &#8220;Show: Network Port Configurations&#8221; and delete the &#8220;VPN (PPTP)&#8221; configuration.  After that, you should be able to see L2TP over IPSec in Internet Connect.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2007/12/13/os-x-vpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JDK Source on OS X</title>
		<link>http://www.jtanium.com/2007/11/06/jdk-source-on-os-x/</link>
		<comments>http://www.jtanium.com/2007/11/06/jdk-source-on-os-x/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 04:11:15 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/blog/?p=55</guid>
		<description><![CDATA[If you&#8217;re lookin&#8217; to get your hands on the JDK source on OS X, you&#8217;ll find it in the developer documentation. To obtain said documentation, log into the ADC Member Site, go to &#8220;Downloads,&#8221; then &#8220;Java,&#8221; and download the &#8220;J2SE x.x Release x Developer Documentation.&#8221; Once you&#8217;ve downloaded and installed it, you&#8217;ll find the src.jar [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re lookin&#8217; to get your hands on the JDK source on OS X, you&#8217;ll find it in the developer documentation.  To obtain said documentation, log into the ADC Member Site, go to &#8220;Downloads,&#8221; then &#8220;Java,&#8221; and download the &#8220;J2SE x.x Release x Developer Documentation.&#8221;</p>
<p>Once you&#8217;ve downloaded and installed it, you&#8217;ll find the src.jar (not src.zip!) in /System/Library/Frameworks/JavaVM.framework/Versions/x.x/Home/src.jar</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2007/11/06/jdk-source-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OS X and Off Screen Windows: WTF?</title>
		<link>http://www.jtanium.com/2007/09/25/os-x-and-off-screen-windows-wtf/</link>
		<comments>http://www.jtanium.com/2007/09/25/os-x-and-off-screen-windows-wtf/#comments</comments>
		<pubDate>Wed, 26 Sep 2007 04:38:53 +0000</pubDate>
		<dc:creator>jtanium</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://www.jtanium.com/blog/?p=48</guid>
		<description><![CDATA[This message is for Apple&#8230; You&#8217;re supposed to have the best user interface in the world. But I found a fatal flaw. There&#8217;s no way to get windows back on the main screen.* For me it was Parallels Desktop Snapshot Manager; I used it one time when I had a second monitor hooked up. Why [...]]]></description>
			<content:encoded><![CDATA[<p>This message is for <a href="http://www.apple.com">Apple</a>&#8230;</p>
<p>You&#8217;re supposed to have the best user interface in the world.  But I found a fatal flaw.  There&#8217;s no way to get windows back on the main screen.*  For me it was Parallels Desktop Snapshot Manager; I used it one time when I had a second monitor hooked up.</p>
<p>Why is this not directed at Parallels themselves?  I understand that in a perfect world all software would &#8220;do the right thing,&#8221; in this case, figure out if it&#8217;s drawing windows off screen, and remedy the situation.  I&#8217;m guessing this is what Apple&#8217;s software does, since their software doesn&#8217;t seem to suffer from this problem.  But we don&#8217;t live in a perfect world, so Apple you should give me a way to deal with this.  GNOME allows me to manipulate windows with keyboard shortcuts?  I&#8217;ll bet Win-blows will let me do it.  Why can&#8217;t Aqua?</p>
<p>[end-rant]</p>
<p>* &#8211; Actually there is a way: go in and delete the plist file(s) for the application in question, but that is entirely too complicated for most users, and just plain sucks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jtanium.com/2007/09/25/os-x-and-off-screen-windows-wtf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

