Starting in safe mode without a keyboard If your Mac doesn’t have a keyboard available to start in safe mode but you have remote access to it, you can configure the Mac to startup in safe mode using the command line. Access the command line by either opening Terminal remotely, or by logging into the computer using SSH. Use the following Terminal command:
sudo nvram boot-args=”-x”
If you want to start in verbose mode as well, use this instead:
sudo nvram boot-args=”-x -v”
After using safe mode, use this Terminal command to return to a normal startup:
sudo nvram boot-args=""
Source: Try safe mode if your Mac doesn’t finish starting up – Apple Support
Rightfully (moving forward) I should rename this to OS X Things and remove the Mac.
Of course almost all of the posts really do refer to “Mac OS X Things”, so I should leave it alone.
There is a post about postfix getting stepped on.
There should be a post about the removal of /private/etc/apache2/users/* which sort of messed up my web serving since I actually included those files. Well, not me, the apache2 port in MacPorts caused them to be included.
I am back up and running pretty much completely in OS X (as opposed to Mac OS X) not server.
After installing OS X 10.8 Mountain Lion, a few things in our web development environment stopped working (namely Apache with multiple vhosts, BIND/wildcard DNS, Phusion Passenger and the rmagick2 gem, and postfix). The reason being is that Apple overwrites all of the configuration files that those tools rely on (although the old ones are all backed up with an appended ~previous, so fixing is relatively straightforward). We rely on postfix for sending mail locally via smtp using PHP’s mail() (i.e. sendmail) or Rails’ ActionMailer.
Fix for postfix in Mac OS X 10.8 Mountain Lion.
I didn’t find the backup copy of the plist – mine were just, simply, blasted.
Mac Keyboard ShortcutsI like to figure out the fastest way to do things. I hope these keystrokes help you to become the power user that lies within. They should work on most versions of Mac OS 10.7 Lion, 10.6 Snow Leopard, 10.5 Leopard, and even 10.4 Tiger. I’ll be adding more 10.7 Lion keystrokes, so check back!
via Dan Rodneys List of Mac OS X Keyboard Shortcuts & Keystrokes.
Disable Saved Application States
OS X Lion offers a checkbox to disable saved application states. However, many applications do not seem to care about that checkbox (e.g. Terminal). The easiest way to prevent applications from writing away saved states is exactly that: don’t let them write to the saved application states folder.
via 10.7: Completely disable Resume – Mac OS X Hints.
AirDrop is a handy way to share files between Macs. Unfortunately, it is only supported on newer models which have the hardware necessary to support a certain type of point-to-point WiFi connection. There is, however, a hidden setting to enable AirDrop on older Macs. Just type:
via 10.7: Enable AirDrop on Macs without supported wireless hardware – Mac OS X Hints.
Apple seemingly dropped the FTP Server support in Mac OX Lion. Only the GUI has been removed and the FTP Server can be activated. You can still enable it with the command line. To start it type the Terminal command:
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
To stop it:
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist
via 10.7: Enable the FTP server – Mac OS X Hints.
It turns out that iTunes actually offers two kinds of restores. The first is the one described above, accessed by clicking the Restore button in iTunes Summary view for your iOS device. The other one is less obviousyou access it by right-clicking (Control-clicking) your iOS device in iTunes sidebar and choosing Restore from Backup.
via Maintain app organization when restoring iOS devices | Phones | iOS Central | Macworld.
This is HUGE
sudo launchctl unload -w /Library/LaunchDaemons/com.wdc.WDDMservice.plist
sudo launchctl unload -w /Library/LaunchDaemons/com.WesternDigital.WDSmartWareD.plist