Mac Word Start/End of line

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.
  • You can now add a shortcut for ctrl-a as needed

Upgrading MacPorts when upgrading to a new version of Mac OS X or to a new Mac

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.

For more information, have a look at this page.

sudo port uninstall inactive

2. Pre-upgrade/Old mac: Save MacPorts state

Save a list of all installed ports + whether they were specifically requested

sudo port -qv installed | cut -d ' '  -f 3 | sort -u > myports.txt
sudo port echo requested | cut -d ' ' -f 1 | sort -u > requested.txt

For more information, see this page.

3. Pre-upgrade: Uninstall old packages

sudo port -f uninstall installed
sudo port clean all

For more information, see this page (same as Step 2).

4. Post-upgrade/New mac: Install stuff

Install Xcode, and then basically follow the remaining steps from this page.

SSHfs not working in Yosemite?

This is due to Yosemite requiring kernel modules to be signed. Run this command and restart:

sudo nvram boot-args="kext-dev-mode=1"

See this page for further information.

 

Turn off CPU Throttling

Some CPU’s use CPU throttling to reduce the speed of the CPU when it is not in heavy use Continue reading »

Grip: Rip your CD collection

For a very long time, I’ve used Grip to rip my music collection to my computer. To setup flac meta-tags correctly, use the settings below: Continue reading »

Free Anti-virus for Mac

Sophos is free for personal use. We use it at work, and it seems to work quite nicely. 🙂 Continue reading »

Apache2: Require password for remote users (and not local)

Sometimes it is nice to require password for a site, but only if they are not from a particular ip-number, Continue reading »

ATI Remote Wonder

The ATI remote wonder basically works like a combined keyboard and mouse Continue reading »

Force reboot a Linux computer

Sometimes when rebooting the computer instead hangs waiting for some process to finish. Continue reading »

Reset a Mac Password

If you forget your mac password there is a quite easy way to reset it again. Continue reading »

Resetting your Mac’s PRAM and NVRAM

Sometimes it is unfortunately necessary to reset your Mac. Continue reading »