- create new virtual machince macOS and target HighSierra 64
- ICH9 Chipset
- Network should be (Intel PRO/1000 MT Server)
- Display Memeory max out to 128mb
- cpu memory ~ 4096
- 2 cpus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // BY BETTER COMMENTS https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments | |
| // TODO Yay Common standard | |
| // * TODO urgent or some other meaning (better comments says urgent but red seems better) | |
| // !! TODO Urgent or Deprecated? | |
| // @todo not identifiable as this is a standard for block comments | |
| // !! @todo look to get color I must put !! | |
| // ? should we do this | |
| // NOTE - probabaly can add something for this | |
| // FIXME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rm -rf $@ && git checkout origin/master $@ && git submodule update --init |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { spawn } = require('child_process'); | |
| const through = require('through2'); | |
| const Promise = require('bluebird'); | |
| const EventEmitter = require('events'); | |
| const logger = require('../debug').spawn('gulp:shell'); | |
| class NonZeroExit extends Error { | |
| constructor(code, info) { | |
| super(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| while [[ "$#" > 0 ]]; do case $1 in | |
| -d|--dependencies) dependencies=3;; | |
| -n|--dry-run) dryRun=2;; | |
| -t|--tag-only) tagOnly=1;; | |
| *) echo "Unknown parameter passed: $1"; exit 1;; | |
| esac; shift; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| #http://stackoverflow.com/questions/6127328/how-can-i-delete-all-git-branches-which-have-been-merged | |
| git branch -r --merged origin/master | grep -v "^.*master" | grep nmccready | sed s:origin/:: |xargs -n 1 git push --delete origin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { Readable } = require('stream'); | |
| module.exports = class StringStream extends Readable { | |
| constructor(str) { | |
| super(); | |
| this.push(str); | |
| this.push(null); | |
| } | |
| _read() {} | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Promise } from 'es6-promise'; | |
| import '../async'; | |
| import { map as loMap } from '../../utils/lodash'; | |
| import { PromiseTypeError } from '../../errors'; | |
| /* keeping bundle size down and shimming Promise utilities as we need them */ | |
| if (!Promise.TypeError) { | |
| Promise.TypeError = PromiseTypeError; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Poor man's lodash to keep bundle down | |
| */ | |
| export function iteratee(obj, cb, { bail = false } = {}) { | |
| for (const key in obj) { | |
| if (key in obj) { | |
| const maybeBreak = cb(obj[key], key); | |
| if (bail && maybeBreak === false) break; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run --rm -it -v $(pwd):/myapp -p 4200:4200 -p 7020:7020 -p 7357:7357 danlynn/ember-cli:2.16.2 bash |