There's a bit of a debate on how best to update your DNS resolver on Mac OS X when connecting to an OpenVPN Server. For whatever reason, even if use DHCP on the VPN server, OS X won't use the assigned DNS server(s). It's been recommended to use scutil, but the scripts are crazy long and I've read the resolver order …
Read MoreThis is a bit more complex than it should be; I was hoping networksetup would make this easier but, alas. Using netstat -nr appears to be the best way to find your gateway from the command line:
netstat -nr | grep '^default' | awk '{ print $2 }'
If you haven't played around with networksetup, I recommend checking out …
Read MoreSomeone awesome sent me the code to an iPhone app that he created for RealCajunRecipes.com. I unzipped the file, and opened the project in XCode 4.2. I immediately noticed the upper left hand drop down (what's that called anyway?) said "Base SDK Missing." So I went to all the usual places to change the SDK, I …
Read MoreAppleScript is so fun! That and Folder Actions are two of the reasons I love OS X.
So I recently had something come up where I had to make sure anything that was copied into one folder was immediately copied into another. Folder Actions made this simple.. now I haven't added the functionality to make sure that anything …
Read MoreIf you find yourself on a really restrictive network but still want to connect to a remote VPN, consider this solution. It allows you to connect a Mac OS X OpenVPN client to an OpenVPN server using a static key. I figured it out using a combination of webistes, including dd-wrt's OpenVPN wiki, OpenVPN's documentation, …
Read MoreI just downloaded the iPhone OS 4.0 beta and have no idea what to do with the resulting ipsw file. Apple was awesome enough not to include any obvious directions. So after searching Google, I came across some forums that recommended the following: defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder …
Read MoreWith the guidance of Apress's Beginning iPhone 3 Development, I was able to create my first iPhone App in less than two hours. While the book's first chapter used the classic yet very boring Hello World example, I knew I'd need to spice things up in order to keep my interest. Over the past few weeks, I've been playing …
Read MoreNatively booting OS X and Windows 7 on a hella fine Dell Mini is initially challenging but well worth the reward of being the coolest nerd on the block. Here's what you'll need to accomplish this task:
- Windows 7 DVD
- Leopard Retail Vanilla (I have 10.5.6)
- External USB Drive
- External CD/DVD drive
- DellMiniBoot123v8 …
Read MoreUgh, eff a GUID formatted disk! This is by far the easiest way to get OS X Leopard (Retail/Vanilla) to install on an MBR formatted disk. I've gone through about 400 other tutorials and most were so complex. This method, which consists of about 20 simple steps has worked like a charm so far. I suggest reading the …
Read MoreI believe I have a pretty high tolerance for inconveniences but I just couldn't take it: running Windows Server 2003 as a primary OS on Macbook blows.
As a fan of Unix, Windows and beautiful UIs, I promised myself I would put down any amount of money for a small Macbook the day it came out and I did just that. Then I …
Read More