Archive for category osx
The power of light and knowledge :). It deals with issues kinda “How to uninstall MacKeeper” and tells about secret Google Update agent which sits in background and updates Chrome or Google Earth or whatever installed by Google.
Keep good work!
Each of these FTP/SFTP server tricks work in all new versions of OS X, be it Mavericks 10.9, Mountain Lion 10.8, or 10.7 Lion.
Start the FTP Server in OS X
This will start a generic FTP and FTPS server on the Mac, but not an SFTP server:
• Launch the Terminal (/Applications/Utilities) and enter the following command to start the FTP server:
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
• Confirm the FTP server works by typing:
If you see the familiar FTP login:
$ ftp localhost
Connected to localhost.
220 ::1 FTP server (tnftpd 20100324+GSSAPI) ready.
You know the server is running. If you don’t see that, then the server either hasn’t finished starting yet or you didn’t enter the command properly. You can then ftp from other computers to your new server via the same ftp command, or by using the “Connect to Server” option in the Finder.
Disable FTP or SFTP Server in OS X
Here’s how to disable the FTP server:
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist
As the command suggests, this unloads the ftp daemon and shuts down the server. Obviously you can only shut down and disable the FTP server if it was enabled to begin with.
Disabling SFTP is just a matter of unchecking the “Remote Login” box that sits within the Sharing Preference Panel of OS X.
Note: The FTP and SFTP servers are different, and enabling one does not enable the other. SFTP is recommended because of the default encryption layer and secure transferring.
At first, goes this:
takes your arguments and reads them aloud through the audio output device.
It’s very well made — see macosxhints.com/comment.php?mode=view&cid=107211
Try it with texts My name is Dr. Smith and I live on Smith Dr., The soldier decided to desert his dessert in the desert and Since there is no time like the present, he thought it was time to present the present.
Create an ISO image from a CD/DVD:
$ diskutil unmountDisk /dev/disk2s0 $ dd if=/dev/disk2s0 of=cdname.iso bs=32m
Use preview to access a man page:
$ man -t rsync | open -f -a /Applications/Preview.app
Command line version for secure delete.
$ ifconfig en0 ether 00:00:00:00:00:00
Changes (spoofs) MAC address until next reboot
Find MAC address of computer
$ ifconfig en0 | grep ether | sed s/://g | sed s/ether//
OS X specific things:
uses the Spotlight search indexes from the commandline, so you can do full-text searches without using the Search pulldown.
How to enable TimeMachine to backup to a NAS:
$ defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
Command to create sparsebundle and to copy over to NAS
sudo hdiutil create -nospotlight -library SPUD -size 160g -fs "Case-sensitive Journaled HFS+" -type SPARSEBUNDLE -volname "<VOLNAME>" ./<HOSTNAME>_<MAC_ADDRESS>.sparsebundle
Works very well backing up to my NAS.
This is interesting one…
There’s a hidden setting for the Dock that will show pop-up notifications of which iTunes track is playing, a little like Growl.
First, quit iTunes if it’s open, then open a Terminal window and type the following:
defaults write com.apple.dock itunes-notifications -bool TRUE;killall Dock
Then start iTunes and try playing a track. Neat, eh? The pop-up fades away after a few seconds. To add the iTunes icon to the pop-up window, type the following into a Terminal window:
defaults write com.apple.dock notification-always-show-image -bool TRUE;killall Dock
To deactivate the pop-up at a later date, quit iTunes again, then open a Terminal window and type the following two lines:
defaults delete com.apple.dock itunes-notifications
defaults delete com.apple.dock notification-always-show-image;killall Dock
My theory is that these pop-ups hint at either a forthcoming notification system (maybe in OS X 10.8), or it’s a legacy of a notification system that Apple decided to abandon. But it’s easily to imagine a similar system working with Mail, showing notifications of incoming mail. In addition to the preference keys mentioned above, I found various other keys relating to the height and length of the pop-up bubble. Whoever designed this clearly intended it to be tweakable.
From Thomas Keir, author of book Mac Kung Fu
Intel Turbo Boost is a relatively new technology, which increases the speed of the Intel CPU on demand, but does it by overclocking it. Turbo boost is just a fancy name for dynamic overclocking and higher clock speeds are equal to more heat.
Here’s how to disable it:
Credits: Tautvidas Sipavičius blog