git clone git@github.com:branneman/dotfiles.git ~/.dotfiles
ln -s ~/.dotfiles/vscode-settings.json "~/Library/Application Support/Code/User/settings.json"
- Open the Command Palette (
⌘
+⇧
+P
)
/** | |
* @module GTMEventTracking | |
* @example | |
* <a | |
* data-module="event-tracking/GTMEventTracking" | |
* data-payload='{"event":"EventOpenGoogle"}' | |
* href="https://google.com/" target="_blank"> | |
* Click me | |
* </a> | |
*/ |
https://en.wikipedia.org/wiki/Comparison_of_American_and_British_English
https://en.wikipedia.org/wiki/American_and_British_English_pronunciation_differences
https://en.wikipedia.org/wiki/American_and_British_English_grammatical_differences
https://en.wikipedia.org/wiki/American_and_British_English_spelling_differences
https://en.wikipedia.org/wiki/Lists_of_words_having_different_meanings_in_American_and_British_English
An explanation of JavaScript's pass-by-value, which is unlike pass-by-reference from other languages.
// FP Lenses | |
const lens = get => set => ({ get, set }); | |
const view = lens => obj => lens.get(obj); | |
const set = lens => val => obj => lens.set(val)(obj); | |
const over = lens => fn => obj => set(lens)(fn(view(lens)(obj)))(obj); | |
const lensProp = key => lens(prop(key))(assoc(key)); |
import { raf } from 'utils/eventHelpers'; | |
class Carousel { | |
constructor(element, options) { | |
this._element = element; | |
this._options = Object.assign(Carousel.options, options); | |
this._refs = { |
const stat = require('fs').statSync; | |
const AdmZip = require('adm-zip'); | |
/** | |
* Example usage | |
*/ | |
newArchive(`test-${+new Date}.zip`, [ | |
'index.js', | |
'package.json', | |
'node_modules' |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Homepage</title> | |
<!-- If HTTP/1: Inline with <style>, remove this <link> --> | |
<!-- If HTTP/2: Server push this CSS file, and leave this <link> --> | |
<link rel="stylesheet" href="critical-homepage.css"> |