Skip to content

Instantly share code, notes, and snippets.

View willbowling's full-sized avatar

Will Bowling willbowling

  • Front End Consulting
  • Acworth, GA 30101
View GitHub Profile
// settings for code
@willbowling
willbowling / .gitconfig
Created June 21, 2018 13:44
Git Config - June 2018
[url "https://"]
insteadOf = git://
[credential]
helper = osxkeychain
[user]
name = Will Bowling
email = will.bowling@weather.com
[core]
excludesfile = /Users/wlingjr/.gitignore_global
[difftool "sourcetree"]
@willbowling
willbowling / vs-code-extentions.txt
Created June 21, 2018 13:40
VS Code Extentions - June 2018
code --install-extension christian-kohler.npm-intellisense
code --install-extension dbaeumer.jshint
code --install-extension dbaeumer.vscode-eslint
code --install-extension donjayamanne.githistory
code --install-extension dssiqueira.drupal-8-snippets
code --install-extension eamodio.gitlens
code --install-extension HookyQR.beautify
code --install-extension huizhou.githd
code --install-extension johnpapa.Angular2
code --install-extension joshpeng.sublime-babel-vscode
@willbowling
willbowling / our-sw-example.js
Last active March 18, 2016 14:23
Our Service Worker Example
/* global twc */
/*jshint -W065 */
/*Version 0.1 */
(function () {
'use strict';
/** 1. vars */
var DSX_Beta = '/js/SampleDSXNotificationQ.js',
Events = {}, pushFallBack = {}, baseUrl = '//weather.com/';
@willbowling
willbowling / gulp-will-rtl.js
Created March 17, 2016 13:43
Gulp RTL and Autoprefixer Tasks
var gulp = require('gulp');
// var async = require('async');
// var Q = require('q');
// var glob = require('glob');
// var spawn = require('child_process').spawn;
// var argv = require('yargs').argv;
// var path = require('path');
// var watch = require('gulp-watch');
// var _ = require('underscore');
var autoprefixer = require('gulp-autoprefixer');
@willbowling
willbowling / SassMeister-input.sass
Created November 3, 2015 18:54
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
=pane-parent-eq-lg-down
[data-eq-state="pane"] &,
[data-eq-state="pane-xs"] &,
[data-eq-state="pane-sm"] &,
@willbowling
willbowling / SassMeister-input.sass
Created November 3, 2015 18:48
Generated by SassMeister.com.
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
=pane-parent-eq-lg-down
[data-eq-state="pane"] &,
[data-eq-state="pane-xs"] &,
[data-eq-state="pane-sm"] &,
@willbowling
willbowling / SassMeister-input.sass
Last active September 3, 2015 19:45
Generated by SassMeister.com.
// ----
// Sass (v3.2.19)
// Compass (v0.12.7)
// ----
@import compass
// What is this?
$brand-primary: #333

Fixing npm On Mac OS X for Homebrew Users

If you just want to fix the issue quickly, scroll down to the "solution" section below.

Explanation of the issue

If you're a Mac Homebrew user and you installed node via Homebrew, there is a major philosophical issue with the way Homebrew and NPM work together. If you install node with Homebrew and then try to do npm update npm -g, you will see an error like this:

$ npm update npm -g
@willbowling
willbowling / _base_breakpoints.sass
Created April 14, 2015 16:11
Base Breakpoints Partial
// Editable Breakpoints
$phone-p: 320px
$phone-l: 480px
$tab-p: 444px
$tab-l: 769px
$desk: 960px
$desk-s: 1024px