Skip to content

Instantly share code, notes, and snippets.

View benfurfie's full-sized avatar

Ben Furfie benfurfie

  • Netnak
  • Oxton, Greater Liverpool, UK
View GitHub Profile
@benfurfie
benfurfie / MySQL_5-7_macOS.md
Created November 2, 2018 15:39 — forked from robhrt7/MySQL_5-7_macOS.md
Install MySQL 5.7 on macOS using Homebrew

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
@benfurfie
benfurfie / .htaccess
Created January 12, 2017 07:44 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
@benfurfie
benfurfie / cookie_notice.html
Created January 12, 2017 07:15 — forked from Jamesyps/cookie_notice.html
Perch Cookie Consent