Skip to content

Instantly share code, notes, and snippets.

Brandon R. Howard brayhoward

Block or report user

Report or block brayhoward

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
@elijahmanor
elijahmanor / README.md
Last active Nov 6, 2019
Export @code Extensions to a Markdown List
View README.md

You can run either of the following snippets in your terminal to generate a markdown list of your VS Code extensions.

code --list-extensions | awk '{ print "* [" $1 "](https://marketplace.visualstudio.com/items\?itemName\=" $1 ")" }'

npx https://gist.github.com/elijahmanor/7f9762a4c2296839ad33e33513e88043

NOTE: You can append | pbcopy to either of the above commands to pipe the output to your Mac's copy/paste buffer.

@nrollr
nrollr / MySQL_macOS_Sierra.md
Last active Feb 6, 2020
Install MySQL on Sierra using Homebrew
View MySQL_macOS_Sierra.md

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

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.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :

@scrogson
scrogson / README
Last active May 8, 2018 — forked from ciastek/README
Use bootstrap-sass npm package with Phoenix's brunch
View README
1) install npm packages
2) update brunch-config.js
3) remove Bootstrap from web/static/css/app.css
4) rename web/static/css/app.css to web/static/css/app.scss
5) update web/static/css/app.scss
@seripap
seripap / months.js
Created Oct 8, 2015 — forked from bgadrian/months.js
JavaScript JS month names arrays
View months.js
var month= ["January","February","March","April","May","June","July",
"August","September","October","November","December"];
var month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul","Aug", "Sep", "Oct", "Nov", "Dec"];
//used with date.getMonth()
@brayhoward
brayhoward / Gruntfile.js
Last active Aug 29, 2015
Grunt file that compiles jade and sass, watches, serves, and builds. && index.jade boilerplate
View Gruntfile.js
'use strict';
module.exports = function (grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
jade: {
compile: {
options: {
pretty: true,
@sscotth
sscotth / security.json
Created Dec 12, 2014
Firebase Security Rules: Grants read/write access to the owner of this user account whose uid must exactly match the key ($uid)
View security.json
{
"rules": {
"users": {
"$uid": {
".write": "auth !== null && auth.uid === $uid",
".read": "auth !== null && auth.uid === $uid"
}
}
}
}
@tonymtz
tonymtz / gist:714e73ccb79e21c4fc9c
Created Nov 15, 2014
Uninstall XQuartz.app from OSX Yosemite
View gist:714e73ccb79e21c4fc9c
launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist
sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz
sudo pkgutil --forget org.macosforge.xquartz.pkg
# Log out and log in
You can’t perform that action at this time.