<?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>ball of lightning [dot] com &#187; os x</title>
	<atom:link href="http://balloflightning.com/tag/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://balloflightning.com</link>
	<description>Hitting more home runs than Julio Lugo since 2002...</description>
	<lastBuildDate>Tue, 08 Nov 2011 03:41:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Paint equivalent for OS X</title>
		<link>http://balloflightning.com/2011/06/paint-equivalent-for-os-x/</link>
		<comments>http://balloflightning.com/2011/06/paint-equivalent-for-os-x/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 21:30:02 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[paint]]></category>
		<category><![CDATA[paintbrush]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=149</guid>
		<description><![CDATA[Now that I have essentially become a fully-converted Mac user, I&#8217;ve pretty much smoothed out all the &#8220;transitional&#8221; kinks going from Windows to OS X. This involved making sure my computer could do everything that I had asked of it before. One thing that was a hinderance for the longest time was being unable to [...]]]></description>
			<content:encoded><![CDATA[<p>Now that I have essentially become a fully-converted Mac user, I&#8217;ve pretty much smoothed out all the &#8220;transitional&#8221; kinks going from Windows to OS X. This involved making sure my computer could do everything that I had asked of it before.</p>
<p>One thing that was a hinderance for the longest time was being unable to find a simple graphics editor to approximate Microsoft Paint (which ships with the OS). While OS X ships with basic utilities (e.g., TextEdit), it shocked me that there was this &#8220;hole&#8221; in the provided base apps. I need to emphasize, that I was not looking for a Photoshop equivalent, but merely needed something that would allow me to edit images quickly, typically before uploading them online.</p>
<p>Enter <a href="http://paintbrush.sourceforge.net/">Paintbrush</a>. Now I can quickly take a screenshot, use Paintbrush to circle/underline material for emphasis, resize, and save a file ready for rapid upload to my server. I can open, use, and be done with Paintbrush in the same time it takes Gimp or Photoshop to boot up. </p>
<p>For those that need quick edits for use in the fast-paced world of media like Twitter, you&#8217;re welcome. For future Colin who might have forgotten this software exists, shame on you.</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2011/06/paint-equivalent-for-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I/O Error? OS X Hard Drive Failing&#8230;</title>
		<link>http://balloflightning.com/2010/12/io-error-os-x-hard-drive-failing/</link>
		<comments>http://balloflightning.com/2010/12/io-error-os-x-hard-drive-failing/#comments</comments>
		<pubDate>Mon, 27 Dec 2010 17:34:17 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[data recovery]]></category>
		<category><![CDATA[failing hard drive]]></category>
		<category><![CDATA[fsck]]></category>
		<category><![CDATA[i/o error]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=109</guid>
		<description><![CDATA[My Macbook (late 2008 Unibody) turned two years old a few days before Christmas. The day after it&#8217;s birthday (the only reason I know this is because I was checking where it fell in terms of warranty, but AppleCare is only one year, not two from purchase date so this was pretty irrelevant anyways) I [...]]]></description>
			<content:encoded><![CDATA[<p>My Macbook (late 2008 Unibody) turned two years old a few days before Christmas. The day after it&#8217;s birthday (the only reason I know this is because I was checking where it fell in terms of warranty, but AppleCare is only one year, not two from purchase date so this was pretty irrelevant anyways) I started to suffer from a myriad of issues during use. Beachballing. Bouncing programs in the dock. Random freezes in Firefox when browsing. Connection dropouts. The works. I initially thought this was the work of an outdated program failing to play nice with the newest version of <a href="http://en.wikipedia.org/wiki/Mac_OS_X_Snow_Leopard">Snow Leopard</a> (10.6.5) which I had installed days before. I began turning off plugins in Firefox and ditching programs from the startup menu to attempt to cure whatever sickness had taken over my laptop. Every reboot cycle gave me the same problem&#8211; the computer would run for about 30 seconds, but then any use and it started beachballing. Finally, it just didn&#8217;t reboot. The computer <a href="http://support.apple.com/kb/TS2570">hung at the grey screen</a> with the Apple logo and the spinning ball.</p>
<p><img src="/images/20101227/osxgrayboot.jpg" alt="Hanging gray Apple boot screen" /></p>
<p>No peripherals (external hard drive, USB mouse, etc.) were attached so that was immediately ruled out. To attempt to diagnose the problem, I <a href="http://support.apple.com/kb/HT1455">attempted to boot into safe mode</a>. Not happening. Tried <a href="http://support.apple.com/kb/HT1379">resetting the PRAM and NVRAM</a>. Nada. Finally, the next series of steps allowed me to salvage my hard drive and let my Macbook live to see another day (minus a $700 data recovery charge).</p>
<p>Boot into <strong>single-user mode</strong> (sometimes called <strong>verbose mode</strong>) (hold down <strong>Control-V</strong> as soon as the Mac chime sounds after pressing the power button). You should now be in an environment that looks like this:</p>
<p><a href="http://balloflightning.com/images/20101227/singleusermode.jpg"><img src="/images/20101227/singleusermode.jpg" alt="Single-user mode environment" border="0" width="425" height="244" /></a></p>
<p>At the command line type:<br />
<code>/sbin/fsck -fy</code><br />
and press <strong>Return</strong>.</p>
<p>You will receive messages about the disks use and fragmentation as fsck will now go through five phases of disk utility. If you get:<br />
<code>disk0s3: I/O Error</code><br />
then you have a problem with bad sectors on the hard drive.</p>
<p>Eventually, fsck will probably tell you:<br />
<code>***** FILE SYSTEM WAS MODIFIED *****</code><br />
Repeat the <strong>fsck</strong> process above.</p>
<p>Keep repeating the above process until<br />
<code>***** FILE SYSTEM WAS MODIFIED *****</code><br />
<strong>does not appear.</strong><br />
Even after this message disappears, repeat one more time. If this message doesn&#8217;t disappear, and you continue to get <code>disk0s3: I/O Error</code> or similar errors, it might be time to think about punting the hard drive (or visiting a data recovery specialist if you don&#8217;t have a backup).</p>
<p>Type <code>reboot</code> at the prompt.</p>
<p>You should be able to boot (hopefully). If you can, find an empty external hard drive. If it&#8217;s big enough (more than 2x the size of your internal drive, which most on the market nowadays should be), I highly recommend doing three things (you can partition it into 2 OS X Journaled drives for total safety, although this should work.</p>
<p>1.) (optional) Run <a href="http://en.wikipedia.org/wiki/OnyX">Onyx</a> maintenance scripts<br />
2.) Clone the internal hard drive with <a href="http://www.bombich.com/">Carbon Copy Cloner</a>.<br />
3.) Do a brand-new, full backup using Time Machine.</p>
<p>This may seem redundant (backing up your now-functioning hard drive at it&#8217;s present state twice), but there have been <a href="http://hints.macworld.com/article.php?story=20080129063748614">sporadic issues reported in the past with Time Machine backups having issues backing up drives with I/O errors</a>. Secondly, CCC will provide you with a bootable copy of your hard drive. Why is this important? Well, if you had I/O errors during this ordeal, it&#8217;s extremely likely that your hard drive is on the way out. You may have salvaged it for now, but with 2.5&#8243; HDD prices being under $100 these days (even their SSD cousins are coming down) you might as well drop the coin and upgrade the hard drive.</p>
<p>Hard drives for Macbooks are simple to replace (<a href="http://www.ifixit.com/">iFixit</a> will walk you through the steps). You can then either restore your Macbook via Time Machine and the OS X install disk, or, more preferably, boot onto your external partition (hold down <strong>Option</strong> right after the Mac chime sounds during bootup, select external hard drive) and then clone that partition over to your newly installed hard drive using CCC (essentially the same but reverse as you did before).</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2010/12/io-error-os-x-hard-drive-failing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatically sync KeePass passwords between a PC and Mac (or even Linux)</title>
		<link>http://balloflightning.com/2010/01/automatically-sync-keepass-passwords-between-a-pc-and-mac-or-even-linux/</link>
		<comments>http://balloflightning.com/2010/01/automatically-sync-keepass-passwords-between-a-pc-and-mac-or-even-linux/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 22:42:36 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[keepass]]></category>
		<category><![CDATA[keepassx]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://balloflightning.com/?p=62</guid>
		<description><![CDATA[For the last few months I&#8217;ve been investigating some of the eminent password storage software out there. And encryption is really nice, but honestly, one of the most glaringly obvious uses would be so that I wouldn&#8217;t have to use the same passwords over and over again for websites that don&#8217;t store &#8220;critical data&#8221; (banking, [...]]]></description>
			<content:encoded><![CDATA[<p>For the last few months I&#8217;ve been investigating some of the eminent password storage software out there.  And encryption is really nice, but honestly, one of the most glaringly obvious uses would be so that I wouldn&#8217;t have to use the same passwords over and over again for websites that don&#8217;t store &#8220;critical data&#8221; (banking, identification, etc.) but require accounts to be set up for online use.</p>
<p>While I was enamored with 1Password (and still am) the biggest hurdle to it&#8217;s adoption is that I own a PC and a Mac (<a href="http://balloflightning.com/2009/02/dual-partition-a-usb-drive-for-time-machine-and-windows/">remember</a>?).  Syncing the password database between computers is therefore a necessity, and syncing across operating systems (XP/7 to OS X and vice versa) even moreso.  This was certainly doable with KeePass and KeePassX, although KeePassX didn&#8217;t support a global auto-type hotkey.  A password storage system is rendered virtually useless if every single time I have to log into a different web page I have to bring up the KeePassX window; copy my information to the clipboard, bring the focus back to FireFox, and type it in.  Well, good news!  An <a href="http://www.keepassx.org/forum/viewtopic.php?f=5&#038;t=1920">updated (albeit currently unsupported) version of KeePass (based on v0.4.1)</a> adds auto-type functionality!</p>
<p>So now that we have auto-type everywhere, how to sync so we can use our KeePass databases everywhere we go?  Well it&#8217;s very easy.</p>
<p>1.) If you aren&#8217;t using Dropbox yet, start.  Go to <a href="http://db.tt/WR2MzbB">Dropbox</a> (click this link if you plan on following this tutorial, it&#8217;s the balloflightning&#8217;s referral!), set up and account, download the software, and set it up so both (or however many you have) machines are synced.  Create a folder somewhere in your Dropbox scheme (by default under Documents -> My Dropbox) called &#8220;KeePass.&#8221;<br />
2.) Download and install KeePassX (Mac) <a href="http://www.keepassx.org/forum/viewtopic.php?f=5&#038;t=1920">here</a>.  Download and install KeePass <strong>Classic </strong>(Windows) <a href="http://keepass.info/download.html">here</a>.  <em>Note: We need to download the &#8220;classic&#8221; version because KeePassX still uses the old .kdb format instead of the new .kdbx.  While we can set triggers in the new Windows version to automatically pop out a .kdb version AND a .kdbx every time we edit a password on that computer, we can&#8217;t edit .kdb&#8217;s on the Mac and automatically import them into KeePass on the Windows box.  And that makes syncing unfun.</em><br />
3.) On the Windows box (you can do it the other direction, too, but I found the Windows KeePass interface to be a bit more intuitive) open KeePass and create a new database.  Set a &#8220;master password&#8221; and repeat.  Don&#8217;t let this password suck too much; after all, you&#8217;ll be MINIMIZING the number of passwords you have to remember&#8211; at the very least you can do a good job coming up with a solid password that gives access to&#8211; well&#8211; everything else.  Use a key file, too, if you&#8217;d like, but I find it unnecessary; it&#8217;s always something you can add later.<br />
4.) Click &#8220;save as&#8221; and save the .kdb file to the directory you previously created within your dropbox scheme.  Temporarily close KeePass on Windows and open KeePassX on the Mac.  Browse to the newly created (and synced) database file and click open.  Enter password.  Try creating a few keys.  Save.  Close.<br />
5.) Re-open the Windows version.  Now you should only be prompted for the password (no browsing needed) and you should see your KeePass passwords in Windows.  Congrats; you&#8217;ve done the heavy lifting!</p>
<p>A few notes; this will work between a PC/Linux or Linux/Mac as well.  The same general steps apply although you will need the KeePass <a href="http://www.keepassx.org/downloads">repo for your Linux flavor or you can compile from source</a>.  If you are a Linux user, I figure you probably don&#8217;t really need directions on how to do that.  Second, KeePass (and therefore KeePassX) don&#8217;t automatically update the database while the program is running.  Therefore, when you are adding keys be careful not to add different keys on different computers while both are still open.  Dropbox handles conflicts well but you will lose some keys depending on what was open and what was being edited at the time.  As a rule of thumb, when I first started migrating to KeePass I never had it running on more than one computer at a time.  Once you have a stable database, it&#8217;s fine to have multiple instances going at once (it will typically ask to open in &#8220;read-only&#8221; anyways).</p>
<p>You can turn auto-type on and off by doing the following:<br />
Windows:  Tools -> Options -> Advanced tab -> Auto-Type button (lower right).<br />
Mac:  KeePassX -> Preferences -> Advanced</p>
<p>Some final notes to get auto-type running flawlessly on your computer.  As a general practice, I had two lines to the comments of every key.</p>
<p>Auto-Type-Window: *balloflightning.com*</p>
<p>This aids KeePass/X in finding the window you want to auto-type in.  I&#8217;ve found great success with the Firefox add-on &#8220;<a href="https://addons.mozilla.org/en-US/firefox/addon/9231">Hostname</a>&#8221; which puts the domain name of the current web-site in the title bar.  It may add a bit of clutter to your windows, but it provides you a surefire way to make sure KeePass/X is only auto-typing in the proper Firefox window/tab.  The &#8216;*&#8217; are wildcards, signifying KeePass/X will find whatever window has XXXXX balloflightning.com XXXXX in it.  Obviously, you change the hostname between the &#8216;*&#8217; to whatever key you are storing (i.e., paypal.com, ebay.com, etc.)</p>
<p>Auto-Type: {USERNAME}{TAB}{PASSWORD}{ENTER}</p>
<p>This is the custom sequence for the target window.  {USERNAME} and {PASSWORD} are the stored username and password, {TAB} is&#8230; well&#8230; tab and {ENTER} is also self-explanatory.  In some cases you may be forced to modify this (for example, I have to add a {TAB} after {USERNAME} every once in a while because the websites have a &#8220;click here to remember me&#8221; form.</p>
<p><img src="/images/keepasssync1.png" alt="Example Keepass custom sequence and target window" /></p>
<p>Some people will find that in OS X, tabbing will result in certain portions of forms (checkboxes, radio buttons, dropdowns, etc.) being skipped.  This creates a bit of a problem here because the sequences will then not match between Windows and Mac.  Solution?</p>
<p>1.) Open System Preferences<br />
2.) Go to Keyboard &#038; Mouse<br />
3.) Select &#8220;All controls&#8221; for full keyboard access</p>
<p><img src="/images/keepasssync2.png" alt="Setting tabs in Firefox to include all forms" /></p>
<p>For a Firefox-only solution, you can also add / change the accessibility.tabfocus Firefox option via about:config to one of the following:  <strong>3</strong> to be able to tab to form controls or <strong>7</strong> to be able to tab to everything</p>
]]></content:encoded>
			<wfw:commentRss>http://balloflightning.com/2010/01/automatically-sync-keepass-passwords-between-a-pc-and-mac-or-even-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

