brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
/** | |
* Add dataset support to elements | |
* No globals, no overriding prototype with non-standard methods, | |
* handles CamelCase properly, attempts to use standard | |
* Object.defineProperty() (and Function bind()) methods, | |
* falls back to native implementation when existing | |
* Inspired by http://code.eligrey.com/html5/dataset/ | |
* (via https://github.com/adalgiso/html5-dataset/blob/master/html5-dataset.js ) | |
* Depends on Function.bind and Object.defineProperty/Object.getOwnPropertyDescriptor (polyfills below) | |
* All code below is Licensed under the X11/MIT License |
This is a curated set of conventions and best practices for Stylus, an expressive, dynamic, robust and advanced CSS preprocessor. Frustrated with there not being a set of conventions set in place (that could be easily found), I set forth to find out on my own.
process.env.NODE_ENV = process.env.NODE_ENV || 'test'; | |
require('dotenv').load(); | |
var keystone = require('keystone'); | |
var chai = require('chai'); | |
var dbURI = process.env.MONGO_URL | |
keystone.init({ | |
'name': 'Post Model Test', | |
's3 config': {} //has to be set, but isn't used in our models |
$ npm install --save babel-cli babel-preset-es2015
$ npm install --save-dev jasmine
.babelrc:
{
"presets": ["es2015"]
// React imports | |
import React from 'react'; | |
const Clock = (props) => { | |
const center = { | |
x: 15, | |
y: 15, | |
}; | |
const lengths = { |
in OS X 10.4 to macOS sierra 10.12 and maybe higher!
Copy this entire code block and paste it into your terminal and push Return to create this file for you with correct permissions. It will (probably) ask for your password:
license: gpl-3.0 |
version: "3.4" | |
services: | |
traefik: | |
image: traefik:tetedemoine-alpine | |
network_mode: host | |
ports: | |
- target: 80 | |
published: 80 | |
protocol: tcp | |
mode: host |