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

To:
# 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 Connect To A Remote Mac Using Apple Screen Sharing, For Free!

This article describes how to remote view another Mac using Apple Screen Sharing. There is no need to run any third party software as it can all be done using apple’s built in Screen Sharing services, for free! I’m using OS X EL Capitan, Version 10.11.13.

There is just one catch; both devices must use the same iCloud account. If you’re looking to connect to a Mac using different iCloud account then VNC is a good option. For now, I’ll concentrate on connecting to another Mac logged in with the same iCloud account.

Step 1: Open System Preferences on the Mac you plan to connect to from another device. click the Apple icon in the top-right bar, then select System Preferences

Step 2: Click the Sharing icon.

Step 3: Tick Screen Sharing in the Service list

Step 4 (Optional): That’s all the configuration required to access you Mac remotely if on the same WLAN/LAN. The following step is required if you plan to connect to your Mac from a separate network. Head back to System preferences then select iCloud.

Tick Back To My Mac.

<img src=

Step 5: Head over to your other Mac device and open Finder. You should now see your remote Mac’s name under Shared devices. Click your device, then click Share Screen

NOTE: If your remote Mac doesn’t appear in your Shared list, you may need to re-start Finder to scan for your device. (Apple Menu —> Force Quit… —> Select Finder and hit Relaunch)

The Share Screen button will Launch Apple’s built in Screen Sharing app allowing you to view and control your remote Mac.

You can right-click the Screen Sharing app icon from the dock while the app is running, then click Options, then Keep In Dock. This makes it easier to find the app in future. When the app is closed you can you can now right-click the app icon from the dock, then select your remote Mac to quickly connect.

 

 

 

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.

MacBook Pro flickering screen (Fixed)


My MacBook pro suffered a problem with its display recently which left me scratching my head looking for a solution to the flickering display. It was pretty much unusable due to flickering horizontal bars scrolling bottom-to-top on the display. They appeared right after booting, even the log screen was affected. They appeared once logged in when no other apps were running, they appeared over stock apps like Safari & Mail. They appeared over non-stick apps I had installed like Chrome.. they were everywhere!

I had to limit the use of my laptop to [very] short doses to avoid the flickering eating away my patience and sending my frustration levels to new heights. It was a case of Googling solutions on my iPad and switching to my MacBook to give it a try, failing then walking away, making a brew, and trying again.

I eventually landed upon an article describing the NVRAM (“non-volatile random-access memory”) on recent MacBooks, and PRAM (“parameter random-access memory”) on older generations, and how the information it stores can include speaker volume, startup disk selection, recent kernel panic information and… screen resolution. If you experience issues related to these features, you might need to reset the NVRAM (or PRAM) on your computer.

Resetting NVRAM (or PRAM, the reset sequence is the same)
  1. Shut down your Mac.
  2. Locate the following keys on the keyboard: Command (⌘), Option, P, and R.
  3. Turn on your Mac.
  4. Press and hold the Command-Option-P-R keys immediately after you hear the startup sound.
  5. Hold these keys until the computer restarts and you hear the startup sound for a second time.
  6. Release the keys.
After resetting NVRAM (or PRAM), you may need to reconfigure settings for speaker volume, screen resolution, startup disk selection, and time zone information.

The reset sequence fixed the issue with the flickering display on my Macbook Pro.

 

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.
key
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!
key2

Mac OSX (Snow Leopard) – How to sync iCal with iCloud calendar

 

If you’re running MAC OS 10.6 Snow Leopard you can still sync iCal with your iCloud calendar by adding a CalDAV account in iCal preferences.

• Start iCal and open preferences ( ⌘, )
• Select the Accounts menu and click the add account ( + ) button
• Select CalDAV from Account type
• Enter your iCloud Username & Password
• Enter the following Server address: p06-caldav.icloud.com

Click Create to add your iCloud account and sync your calendar events.

 

 

Looking for an iPhone app? I can build it… get in touch 0844 833 0700 or rob@reactivapps.co.uk

Mac OSX – How to switch between windows of same application

You can switch between different 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.