Skip to content

Instantly share code, notes, and snippets.

Working from home

Ben Keith benlk

Working from home
View GitHub Profile
benfurfie /
Created November 2, 2018 15:39 — forked from robhrt7/
Install MySQL 5.7 on macOS using Homebrew

This is a fork of original gist, 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"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
tommeagher / #NICAR18 advice
Last active March 9, 2018 13:47
Note to self for #NICAR16
View #NICAR18 advice
Next year, try to:
* Drink more water.
* Drink less coffee, beer and whiskey.
* Eat a vegetable, it won't kill you.
* Get up and hit the gym in the morning.
* Leave the hotel at least once every day.
* Bring extra charging cords and a powerstrip. Write your name on the supplies you lend out. (@ecarewgrovum)
* Eat meals with parties of 4. It's much easier to get a table in a busy town. For big groups, just get drinks.
* Split into smaller groups, if you take a large party to dinner, and you have to wait forever. (@chrislkeller)
jchristopher / gist:f8bb12e2d0e60b22676e
Last active July 7, 2016 17:34
Create SearchWP database tables by hand
View gist:f8bb12e2d0e60b22676e
-- Create syntax for TABLE 'wp_swp_cf'
CREATE TABLE `wp_swp_cf` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`metakey` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`term` int(20) unsigned NOT NULL,
`count` bigint(20) unsigned NOT NULL,
`post_id` bigint(20) unsigned NOT NULL,
KEY `metakey` (`metakey`),
KEY `term` (`term`),