macOS How To: Bypass Gatekeeper for “App cannot be opened. You should move it to trash.”

To bypass Gatekeeper and open an app when “App cannot be opened. You should move it to trash.” comes up, simply open Terminal (Applications > Utilities > Terminal) and run the following command:

sudo xattr -r -d /Applications/name of

You’ll need to replace name of with the name of the application you’re trying to open.

You can find this out by going to the Applications folder and finding the first few letters of the app name, you can then auto-complete the name in Terminal by pressing the tab key (above Capslock) in Terminal after typing the first few letters of the name of your app.

Example: Type the following, and then press tab:

sudo xattr -r -d /Applications/Microsoft Wor

macOS will autocomplete it to:

sudo xattr -r -d /Applications/Microsoft

Windows Server How To: Force Redirect all sites on a server to HTTPS in IIS

In this guide, I’ll walk you through the process of redirecting every site hosted on your server to HTTPS. Please note each site will need to have the HTTPS bindings properly configured else the sites won’t load at all.


Continue reading

Android How To – Install Microsoft Groove onto a microSD Card

While Apple Music, Spotify, and Google Play music support it, at the time of writing, Microsoft Groove doesn’t officially support storing your music on a microSD card. With a little digging around though, it’s possible (and quite easy too).

Continue reading

Mac How To: Prevent your Mac from sleeping with Terminal

From time to time you may want to prevent your Mac from sleeping without having to go into Settings and turn off Energy Saving mode.

Thankfully, there’s another way to keep your Mac awake. All you need to do is run a single command in Terminal called caffeinate.

Continue reading

Mac How To: Make a USB macOS (or OS X) Installer (10.11.x-10.13.x)

NOTICE: This article has been updated for macOS Sierra and macOS High Sierra - I've included OS X El Capitan, macOS Sierra, and macOS High Sierra instructions for any stages with different requirements or commands.

At the time of writing, Apple still don’t offer a simple utility one can use to create a bootable USB installer for OS X. However, that doesn’t mean you need to take your Mac into an Apple Store to get OS X re-installed.

Continue reading

Quick and dirty Windows MySQL + IIS Backups

If you’re looking for a quick and dirty way to back up your MySQL databases and your IIS website files, look no further. Below are two batch scripts for backing up your MySQL databases via a MySQL dump and a quick script to copy and compress your IIS website files into a .zip file.

I personally have the scripts save the backups in a OneDrive folder which then uploads them to OneDrive for backup. Others may want to use something like SyncBack to upload them to an FTP server elsewhere etc.

Continue reading

Windows Server How To: Force Redirect to HTTPS in IIS

Forcing IIS to redirect all requests from HTTP to HTTPS is very easy. All you need to do is add the following code to your web.config file (and if it doesn’t exist already, copy the code below in its entirety and open a new file in notepad, paste it in, ‘Save As’ and put web.config in the file name box and select “All Files” for the file type and save it into the root directory of your site (right click on the site you want to redirect in IIS Manager and select ‘Explore’ and save the  web.config there). You can also do this via the GUI, both ways of doing it have been listed below:

Continue reading

Mac How To: Redirect a folder in your home directory with symbolic links

I’m the kind of person that likes to have all of his documents easily available on all of his computers. For this I choose to use Microsoft OneDrive. In Windows it’s very easy to change the location of my Documents, Photos, and Music folder to folders within the OneDrive directory so whenever a change is made to something or a file is added/deleted, these changes are automatically mirrored across all of my connected devices. It works great.Continue reading

Mac How to: Make your MacBook Pro or MacBook Air chime when you plug it in

You need OS X Yosemite 10.10.3 or above to do this.

You probably know that when you plug one of the new 12inch MacBooks into a power source it’ll make a chime noise (the same as iPhones and iPads). But did you know you can make your MacBook Pro or MacBook Air do the same thing? All you need is OS X Yosemite 10.10.3 or later and you can enable this cool little trick with 1 quick line in Terminal. It’s also extremely easy to turn it back off again if it gets on your nerves.

Continue reading

Reverse DNS and Microsoft Azure

At the time of writing you can’t currently use reverse DNS with a PIP that you may have configured with your VM. Azure reverse DNS is attached to the cloud service your VM is in.
Instructions on how to install and add a subscription to Azure PowerShell can be found here. 🙂

Microsoft have recently announced that users of Microsoft Azure can finally use reverse DNS with their cloud services. This means people are now able to do a whole host of new things with their virtual machines that were difficult at best to do properly beforehand. Continue reading