Author Archives: redmondurbino

How to replace TextEdit in OSX

Ever gotten annoyed at how TextEdit will turn your double quotes into smart quotes?  I finally got fed up and switched my default text editor.  Here’s how:

1. download a new text editor.  In this example I’ll use Text Wrangler

2.  Open terminal. Then type this in:

osascript -e ‘id of app “TextWrangler”‘

3. It should come back with the bundle id of the new editor app you want to replace TextEdit with,  something like:


4. Now type this in terminal

defaults write LSHandlers -array-add \ ‘{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.barebones.textwrangler;}’

5. reboot.  Replace the bundle id with your favorite text editor if TextWrangler is not the one you want to use

Turbo Tax vs H&R Block

hr_vs_turbotaH&R block offered turbo tax users free downloads of their tax preparation software.  I’ve been using turbo tax since 1999, so I figured lets give the competition a shot.   Here are my comments:

1. Turbo tax was able to successfully import my transactions from TD Ameritade. H&R block prompted me to enter my TD Ameritrade user name and password, but all I got was an error that there was nothing available to download.  This one item alone would have tilted it in turbo tax’s favor if you have lots of stock transactions.  If you write covered calls or sell put options, you’d do that several times in one year for one underlying stock.

2. Turbo tax lets you import your good will donations and other charitable deductions from the Its Deductible  web site.  H&R Block has that functionality built in to its software.  The problem is you can’t enter the info as you donate the good for H&R block, you can do so for It’s deductible.

3. There is no screen in H&R block that lets you see a breakdown of your various income items, and your various deductions.  Rather it just lists the deduction type, and then a button for go to.  It doesn’t list an amount beside the go to button.  Turbo tax has such a screen, and it makes it easy to go a particular item if the amounts look wrong.

4. After doing a final review, turbo tax showed me a bar that I was in roughly the 5% range for getting an audit.   H&R block said that it was doing an audit risk calculation, but it didn’t tell me the result.  Maybe it didn’t show me since I had a low audit risk,  but it it would still have been nice to get confirmation.

5. Turbotax has a much better overall look and feel. Granted this is much harder to quantify.  Its GUI feels smoother and more refined.  H&R Block is green and white and feels bland.  The pictures of tax accountants on turbo tax makes it feel more professional.

In conclusion, just get Turbo Tax.

Book of Life Sugar Smash Released!

The latest game I’ve been working on has been released for iOS.  Get it for FREE at   Please rate it and leave a review too.   I’m pretty proud of the quality of the game given the short amount of time we had to make it.   The android version is coming soon.

Looking for Engineers

I am now the Studio Director of Engineering at SGN Los Angeles.  We are looking for a Senior Software Engineer and a Software Engineer.  Here are the job links:

iPhone 6 and iWatch

The days of being surprised at an Apple event are gone.  Everyone expected and iPhone 6 at 4.7 inches and at 5.5 inches.  And some sort of wearable, most probably an iWatch.   Still,  I’m definitely getting the Apple Watch.  My only concern is it looks like the battery is only good for a day.  My current Pebble smart watch goes 7-10 days between charges.  That won’t stop Apple from selling a million of these.  I bet the Apple Watch will be a big hit, particularly with the ladies.

Auto Installing Git Hooks

Git hooks are fantastic! With a pre-commit git hook, you can run unit tests, check coding standard compliance, or anything else you want BEFORE the code is committed into the repository. The problem is that the hook needs to be manually installed on each user’s local machine. Fortunately for Unity projects, we have access to an event that lets us install it automatically. The code below does the trick.

Unity Tab To Space

Yes, I realize you can easily do this on the terminal to change all the tabs in a file to spaces. But sometimes you just don’t want to leave the Unity window.   To use this just select one or more files in the Project window, then click on the menu,  Assets->TabToSpace.

Git repo at