Github will be the main account and bitbucket the secondary.
ssh-keygen -t rsa -C "github email"
Enter passphrase when prompted. If you see an option to save the passphrase in your keychain, do it for an easier life.
| import webpack from 'webpack' | |
| import path from 'path' | |
| import _debug from 'debug' | |
| import ExtractTextPlugin from 'extract-text-webpack-plugin' | |
| const ENVIRONMENT = process.env.NODE_ENV | |
| const debug = _debug('app:webpack:base') | |
| debug('Create configuration.') |
| { | |
| "presets": [ | |
| "es2015", | |
| "react", | |
| "stage-0" | |
| ], | |
| "plugins": [ | |
| "transform-runtime", | |
| "add-module-exports", | |
| "transform-decorators" |
| 'use strict'; | |
| const CypherQuery = require('./cypher').CypherQuery; | |
| module.exports = function createQueryExecutor(context) { | |
| const executor = function executeQuery(query) { | |
| if (typeof query === 'function') { | |
| return query(executor); | |
| } |
| const PersonType = new GraphQLObjectType({ | |
| name: "Person", | |
| fields: () => ({ | |
| friends: { | |
| type: new GraphQLList(PersonType), | |
| resolve() { ... }, | |
| }, | |
| }), | |
| }); |
This sets up Atom to properly lint ES6+Babel+JSX using Airbnb's .eslintrc as a starting point.
npm i -D eslint eslint-config-airbnb babel-eslint eslint-plugin-babel eslint-plugin-react eslint-plugin-react-native eslint-plugin-import eslint-plugin-jsx-a11y from your project root."extends": "airbnb" to your .eslintrc and "plugins": [ "babel", "react", "react-native", "jsx-a11y" ]apm install linter-eslint this also installs linter which clashes with nuclide diagnosticsbrew doctor (Allen checks if he installed brew correctly)sudo chgrp -R brew /usr/local (Change the group of homebrew installation directory)sudo chmod -R g+w /usr/local (Allow group members to write inside this directory)sudo chgrp -R brew /Library/Caches/Homebrew (Change the group of homebrew cache directory)sudo chmod -R g+w /Library/Caches/Homebrew (Allow group members to write inside this directory)sudo chgrp -R brew /opt (Change the group of the cask installation directory)sudo chmod -R g+w /opt (Allow group members to write inside this directory)brew doctor (Stan checks if he can use homebrew)