Mac: Delete old local snapshots
Show the commands to delete old snapshots: sudo tmutil listlocalsnapshots / | sed ‘s/.*TimeMachine./sudo tmutil deletelocalsnapshots /g;s/.local$//g’
Show the commands to delete old snapshots: sudo tmutil listlocalsnapshots / | sed ‘s/.*TimeMachine./sudo tmutil deletelocalsnapshots /g;s/.local$//g’
Add this line at the top of /etc/pam.d/sudo: auth sufficient pam_tid.so For more information, see here.
Things to remember next time: Applications/Macports: Save a list of applications and requested Macports ls /Applications > applications.txt sudo port -qv installed | cut -d ‘ ‘ -f 3 | sort -u > myports.txt sudo port echo requested | cut -d ‘ ‘ -f 1 | sort -u > requested.txt On new mac: Remove shadow […]
Most Mac applications use ctrl-a and ctrl-e (option-a/e) to move to the beginning resp. end of line. Mac Word does by default not. To set this up: Start Word In the menu select Tools | Customize Keyboard… Select All Commands in the Category pane Search for OfLine. This shows the commands EndOfLine and StartOfLine in the Command pane. […]
This is a quick list of the steps necessary to make your MacPorts installation work when upgrading to a new version of Mac OS X. 1. Pre-upgrade/Old mac: Clean up old MacPorts installation You may want first to do port selfupdate etc to upgrade to the newest version of MacPorts. Also remove all unnecessary packages etc. […]
If you forget your mac password there is a quite easy way to reset it again.
Sometimes it is unfortunately necessary to reset your Mac.
Ctrl-S should normally start a search forward when using Emacs. But in Carbon Emacs (for Mac) this breaks
Sometimes it is nice to make external drives mount at boot (and not only when a user logs in) on your mac.