Skip to content

Instantly share code, notes, and snippets.

Oliver Shaw Olliepop

Block or report user

Report or block Olliepop

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Olliepop /
Created Jul 18, 2018
Wipe a Mac. Standard procedure when losing permanent access to a machine. Incomplete, but a good start.
# System Preferences > Internet Accounts > Remove everything.
# Issue the following commands in terminal, from top to bottom.
rm -rf /usr/local/*
rm -rf /private/var/*
rm -rf ~/Documents/*
rm -rf ~/Downloads/*
rm -rf ~/Pictures/*
rm -rf ~/Desktop/*
rm -rf ~/Pictures/*
Olliepop / OSX How To: Uninstall native MySQL and install MariaDB via Homebrew

OSX How To: Uninstall native MySQL and install MariaDB via Homebrew

This is a short overview on how to completely remove any old mysql server installs in OSX and upgrade to MariaDB without conflicts. Things can get a bit weird when you have various old installs of MySQL server floating around, and utilizing homebrew to install and upgrade MariaDB as a drop in replacement for MySQL has worked well, especially if you're used to managing MySQL installs via yum in linux.

First: Backup Your Data!

Backup all of your current databases with mysqldump

This isn't a tutorial on backups, and there are many ways to do it. You should know how to backup your data anyway. For this example, we'll do a full backup of our InnoDB databases.

You can’t perform that action at this time.