Skip to content

Instantly share code, notes, and snippets.

View nguyenhuucam91's full-sized avatar
🏠
Working from home

Nguyễn Hữu Cầm nguyenhuucam91

🏠
Working from home
View GitHub Profile
@nguyenhuucam91
nguyenhuucam91 / myplugin.js
Created February 18, 2020 02:38 — forked from leolux/myplugin.js
Object-Oriented jQuery Plugin skeleton
//Source: http://www.virgentech.com/blog/2009/10/building-object-oriented-jquery-plugin.html
//Author: Hector Virgen
//Date: August 23, 2010
(function($) {
var MyPlugin = function(element, options) {
var elem = $(element);
var obj = this;
@nguyenhuucam91
nguyenhuucam91 / MySQL_5-7_macOS.md
Created March 19, 2019 16:19 — 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.