How To: Improve the Mac OS X Dock

Screen space on a laptop comes at a high premium. On Mac OS X one of the most important interface elements is the Dock. Unfortunately it’s in the way more times than not. If you’re like me, you might have tried hiding the dock¬†but eventually switch back because of how long it takes for the dock to re-appear when the mouse is at the edge of the screen.

I believe I have found a solution for this problem. Try these two commands in terminal:

defaults write autohide-delay -int 0
defaults write autohide-time-modifier -float 0.4
killall Dock

These commands will disable the delay but also leave the pleasantly smooth animation intact.
We care about these things because we’re Mac OS X users. ūüėČ

If you decide this tweak isn’t for you, you can enter this into the terminal

defaults delete autohide-delay
defaults delete autohide-time-modifier
killall Dock




How To: Mac OS X Repair Installation

Last week I was having issues with my Hackintosh. The disk was corrupting even after using Time Machine to restore the computer. By accident I learned how to do a “repair installation”, a feature I thought was missing from the OS X installer.

When installing OS X if you do not reformat your HDD/SDD, the installer will simply write overtop of the existing installation keeping your personal files/settings intact.

I found this extremely helpful and since I never could find an answer to this question on the internet I thought I would share. Enjoy!

How To: Windows 8 “Windows Authentication” with Sql Server

The company I work for has an application that connects to a Microsoft Sql Server via Windows Authentication. In Windows 8 the only way to connect was to setup the user account as a “local” account. The downside to this is that you lose some functionality such as OneDrive support.

Because the Windows Live account doesn’t use windows authentication I would get this error message: “[Microsoft][ODBC SQL Server DRiver][SQL Server]Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.


I have figured out a work around. I got this idea from a post by John Paul Cook on

First you have to create a local account that works with your server. Setup the program so that it works correctly in this local account.

Now switch to your Windows Live account (a separate user) and modify the program’s shortcut. The target needs to be changed.¬†C:\Windows\System32\runas.exe /user:domainName\localAccountName /savecred “pathToExecutable”


Where localAccountName is the username of the local account you created earlier and pathToExecutable is the file path for the program that needs to use Windows Authentication.

The first time you launch the program it will ask for the password for the local account. The second time the credentials should be saved.

Problem solved ūüôā

How To: Join Multiple Gapless Audio Files

Recently I needed to be able to join multiple mp3 files together to create one giant file. The goal was to create an iTunes audiobook (.m4b) of a audio drama. Typically I would use AudioBook Builder to accomplish this. (Windows Alternative: Chapter and Verse)

The problem is if the files are formatted as mp3/m4a when you try to join the files you will hear small gaps between each track. This is REALLY BAD for audio drama. The one solution I came up with was to rip the CDs from iTunes but use the “join track” feature to create 1 giant file per disc.

iTunes Join Tracks

This works great if you have the CDs, but what if you only have the compressed audio files?

Here is the solution: First use a program like XLD¬†to batch convert the files to WAV or AIFF. Then use those files in¬†AudioBook Builder¬†to create your compiled file. When it is done there will be no gaps ūüôā

XLD Batch Converting

On a side note instead of using the “join track” feature in iTunes I would suggest ripping each track as a WAV or AIFF file then use¬†AudioBook Builder.