As any Mac user knows, running Command and Conquer Generals (including Zero Hour) tends to crash on startup on a Mac running OS X. Here’s how to fix it.
Launch “Activity Monitor”, and from the “View” menu, choose “All Processes.”
Then, search for “gamed”. If it shows up here, it’s running and C&C Generals will crash immediately.
To get rid of the “gamed” process, you need to open Terminal and type the following command:
launchctl load -w /System/Library/LaunchAgents/com.apple.gamed.plist
Now, when you launch Generals, you will be prompted with several dialog boxes. It’s important that you do NOT select Game Center. You can play multiplayer on the same network WITHOUT Game Center!
On the first dialog, choose “Cancel”.
On the second dialog, choose “Single Player Only”.
I recently needed to delete the Backups.backupdb file via command line using the rm command. However, sudo user can’t do it, and neither can root. What’s a guy to do?
The method for clearing or flushing the local cache in Mac OS X has changed over the years. Clear your DNS cache on Yosemite, Mavericks, Lion, Mountain Lion, Snow Leopard and Leopard using the following Terminal commands:
Sadly, I had this experience lately. Even though I had the firewall explicitly set to allow connections using Screen Sharing, for some reason my Mavericks OS X 10.9 server hiccuped and I couldn’t access it via screen sharing.
Here’s how I resolved my dilemma:
Mac OS X 10.9 ‘Mavericks’ has some DNS changes under the hood. Unlike previous versions, to effectively clear the cache you need to execute these two commands in Terminal:
dscacheutil -flushcache;sudo killall -HUP mDNSResponder
Wondering if a certain outbound port on your Mac is open or closed? Here’s a way to test if that port is open using netcat via the command line in terminal, using a free service from portquiz.net:
From terminal, enter:
where 443 is the port number you want to test.
Control-c will kill net cat after you get the info you want.
Apple prevents computers with USB drives from installing Windows from a USB flash drive on certain models. While it works flawlessly on my current gen MacBook Air, installing Windows 7 off a USB key doesn’t work on my iMac.
Luckily, the fix is easy…
When I have weird printing problems, this interface comes in handy: http://localhost:631
Right Click, Open With… has lots of duplicates!
Every once in awhile, Mac OS X seems to lose it’s way with regard to the apps it shows when you right click on a file, and choose “Open With.” For some reason, this is particularly pronounced in Mountain Lion (Apple’s buggiest OS to date).
Here’s how to fix the problem:
Hold down any key and you’ll get the special characters mapped to it. For example, if you’re writing “señor,” simply press and hold the “n” key longer than normal and you’ll get a popup menu with choices. An example of OS X taking a page out of the iOS usability guide.