Mac OSX – Stop OS X apache service and prevent automatic running (OS X SERVER)

I already run MAMP as a local server environment for apache and MySQL, so when I installed Mac OS X Server, which runs it’s own instance of apache, my server encountered problems with MAMP which failed to start.

After some investigation I found the OS X Server instance of Apache started with the system resulting in MAMP failing to start, with no obvious setting to disable the in-built apache services in the OS X Server app settings.

Here’s how to prevent the service starting automatically, then kill the existing service:

Step 1: Locate the following file: /Library/Server/Web/Config/Proxy/apache_serviceproxy.conf

Step 2: Comment out the listening ports in the file

Example using standard ports, change:
Listen 80
Listen 443

# Listen 80
# Listen 443

This prevents apache from starting.

Step 3: Stop inbuilt apache server. Open Terminal, type: sudo killall httpd

Type the following to check http instance have stopped: ps -Al | grep httpd

Inbuilt apache service should now stop and won’t re-start.

Mac OSX – How to switch between windows of same application

You can switch between applications by using the keyboard shortcut [ Apple + tab ]. Switching between Safari and XCode for example.

This is an invaluable time saving shortcut. But what about switching between windows of the same application?

Thats covered too. You can switch between windows of the same application by using the keyboard shortcut [ Apple + ` ]. Switching between multiple Finder windows or between XCode projects for example.

the ` key is located left of the z-key on a standard keyboard.

Mac – How to remove uninvited Google apps from launchpad

Screen Shot 2015-06-22 at 21.20.30

At the time of writing this, you get stuck with a bunch of Google apps added to your Mac’s Launchpad when you install Google Chrome.

These are:

  • Google Chrome (to be expected)
  • Google Drive
  • Gmail
  • YouTube and
  • Google Search

I found this to be annoyingly intrusive and a modification that I didn’t ask for nor agree to. I found it even more frustrating that you don’t simply navigate to your Applications folder to remove the uninvited guests.

Instead, you must navigate  to your users folder (Right-click on finder icon –> Go To Folder… –> enter forward slash [/] hit enter), enter your user account folder, find the Applications sub-folder and here we find a new folder named Chrome Apps.

Deleting the Chrome Apps folder removes the icons from Launchpad.

MAC equivalent to ctrl+alt+delete for frozen apps, kind of

If you put a lot of demand on your Mac, as many of us do, you may see applications become unresponsive or ‘frozen’ often coupled with the colour wheel slowly ticking away. In severe cases your dock may become sluggish, or stop responding altogether. Mac OSX has a number of ways to deal with stalled apps.

The quickest method involves using the ‘Force Quit Applications’ window built into OSX.

Click the Apple icon on your menu bar.
Screen Shot 2014-11-05 at 10.56.31

Select “Force Quit” from the menu
Screen Shot 2014-11-05 at 10.59.13

Select the problem application which often displays “(Not Responding)” next to the name, then click the button titled “Force Quit”
Screen Shot 2014-11-05 at 11.05.35

But what if I have an unresponsive Mac and can’t click the Apple logo?
Do not fear, this is where the keyboard shortcut may save the day. You can open the Force Quit Applications window pressing Command + Option + Esc simultaneously.
Select the problem application which often displays “(Not Responding)” next to the name, then click the button titled “Force Quit”
Screen Shot 2014-11-05 at 11.05.35

Okay, but I just want to force quit the front-most application
No problem. You can force quit the front-most application pressing Command + Option + Shift + Esc simultaneously.

You won’t need to confirm your action and no further window will show, so be sure you want to kill the app before hitting the command!