I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| use admin; | |
| // create superuser | |
| db.createUser({user: "username", pwd: "PLAINTEXTPASSWORD", roles: ["userAdminAnyDatabase"]}); | |
| // create oplog user | |
| db.createUser({user: "oplogger", pwd: "PLAINTEXTPASSWORD", roles: [{role: "read", db: "local"}]}) | |
| // create user for another database | |
| use foo; |
| _.mixin({ | |
| get: function (obj, key) { | |
| var type = typeof key; | |
| if(typeof obj === 'undefined' || type === 'undefined') | |
| return undefined; | |
| if (type == 'string' || type == "number") { | |
| key = ("" + key).replace(/\[(.*?)\]/,/\[(.*?)\]/, function (m, key) { //handle case where [1] may occur | |
| return '.' + key.replace(/["']/g,/["']/g, ""); //strip quotes |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| => Started proxy. | |
| | (#1) Profiling: ProjectContext prepareProjectForBuild | |
| => Started MongoDB. | |
| | Building local packages / | |
| | files.readFile 685 ms (3) | |
| | files.unlink 1 ms (1) | |
| | sqlite query 377 ms (3) | |
| | bundler.readJsImage...............................................8 ms (1) | |
| | files.readFile 7 ms (11) | |
| | other bundler.readJsImage 1 ms |
| Marks-MacBook-Air:meteor-keen-js markshust$ METEOR_PROFILE=1 meteor | |
| [[[[[ ~/Sites/meteor-keen-js ]]]]] | |
| => Started proxy. | |
| | (#1) Profiling: ProjectContext prepareProjectForBuild | |
| => Started MongoDB. | |
| | Loading package standard-minifier-css... / | |
| | files.exists 0 ms (1) | |
| | files.readFile 94 ms (2) | |
| | files.unlink 1 ms (1) |
| # Mage Inferno Docker Compose (https://github.com/mageinferno/magento2-docker-compose) | |
| # Version 4.0.0rc1 | |
| app: | |
| image: mageinferno/magento2-nginx:1.9.14-0-rc2 | |
| links: | |
| - phpfpm | |
| - db | |
| volumes_from: | |
| - appdata |
| Marks-MacBook-Air:myapp markshust$ meteor npm run lint | |
| > myapp@ lint /Users/markshust/Sites/myapp | |
| > eslint . | |
| Property 'Symbol(Symbol.iterator)_9.k9psb8ommz82rzfr' of object [object Map] is not a function | |
| TypeError: Property 'Symbol(Symbol.iterator)_9.k9psb8ommz82rzfr' of object [object Map] is not a function | |
| at EventEmitter.ProgramExit (/Users/markshust/Sites/myapp/node_modules/eslint-plugin-import/lib/rules/export.js:93:149) | |
| at EventEmitter.emit (events.js:117:20) | |
| at NodeEventGenerator.leaveNode (/Users/markshust/Sites/myapp/node_modules/eslint/lib/util/node-event-generator.js:49:22) |
| import React, { createElement, Component, PropTypes } from 'react'; | |
| import { observer } from 'mobx-react'; | |
| import { _ } from 'meteor/underscore'; | |
| class Container extends Component { | |
| componentWillMount() { | |
| const { onMount } = this.props; | |
| if (typeof onMount === 'function') onMount(); | |
| } |
| $.fn.toggleClick = function () { | |
| var functions = arguments; | |
| return this.each(function () { | |
| var iteration = 0; | |
| $(this).click(function () { | |
| functions[iteration].apply(this, arguments); | |
| iteration = (iteration + 1) % functions.length; |