This file contains 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 Ember from 'ember'; | |
import config from './config/environment'; | |
const Router = Ember.Router.extend({ | |
location: 'none', | |
rootURL: config.rootURL | |
}); | |
Router.map(function() { | |
this.route('games'); |
This file contains 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 Ember from 'ember'; | |
export default Ember.Component.extend({ | |
amountOfgames: Ember.computed('games', function() { | |
return this.get('games.length'); | |
}) | |
}); |
This file contains 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
// - It will be one more preset as dependency | |
// - Await doesn't replace promises it works with promises so we will still use promises | |
// - It's another concept for an already complex project (think about the onboarding) | |
// - With promise we have error handling out of the box 'catch', with await we need to add try catch everywhere | |
// This will be in parallel | |
getFoo().then((message) => { | |
console.log(message); | |
}); |
This file contains 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 express from 'express'; | |
import bodyParser from 'body-parser'; | |
import GoalsController from '../controllers/goals'; | |
const router = express.Router(); | |
const jsonParser = bodyParser.json(); | |
export default (datasource) => { | |
const Goal = datasource.models.Goal; | |
const goalsController = new GoalsController(Goal); |
This file contains 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
'use strict'; | |
Object.defineProperty(exports, "__esModule", { | |
value: true | |
}); | |
var _express = require('express'); | |
var _express2 = _interopRequireDefault(_express); |
This file contains 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
'use strict'; | |
Object.defineProperty(exports, "__esModule", { | |
value: true | |
}); | |
var _express = require('express'); | |
var _express2 = _interopRequireDefault(_express); |
This file contains 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 Ember from 'ember'; | |
export default Ember.Component.extend({ | |
messages: [], | |
alertAmount: Ember.computed('messages.length', function() { | |
return this.get('messages.length'); | |
}), | |
init() { | |
this._super(...arguments); |
This file contains 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
The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
FACTER_ipaddress='<ip>' FACTER_role='devbox' puppet agent --onetime --no-daemonize --verbose --certname debian.nitro.devbox --color=false --server production-puppet-master.powerhrg.com --detailed-exitcodes || [ $? -eq 2 ] | |
Stdout from the command: | |
Exiting; no certificate found and waitforcert is disabled | |
This file contains 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
== 20170818150820 AddSystemSizeForSolarRoofingDesigns: migrated (6.8375s) ===== | |
mysqldump: Got error: 1449: The user specified as a definer ('dim'@'%') does not exist when using LOCK TABLES | |
rake aborted! | |
failed to execute: | |
mysqldumpPlease check the output above for any errors and make sure that `mysqldump` is installed in your PATH and has proper permissions. |
This file contains 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
Placa Mãe: 1349,90 | |
https://www.kabum.com.br/produto/84280/placa-mae-asus-p-intel-lga-1151-atx-maximus-ix-hero-z270-ddr4-usb-3-1-tipo-a-e-c-aura-sync-audio-gamer-sli-cfx-rede-intel-2-m-2-hdmi-dp | |
Processador: 1337,90 | |
https://www.kabum.com.br/produto/84404/processador-intel-core-i7-7700k-kaby-lake-7a-geracao-cache-8mb-4-2ghz-4-5ghz-max-turbo-lga-1151-intel-hd-graphics-630-bx80677i77700k | |
VGA: 1799,90 | |
https://www.kabum.com.br/produto/83702/placa-de-video-vga-nvidia-evga-geforce-gtx-1070-sc-8gb-ddr5-black-edition-08g-p4-5173-kr-/?tag=gtx%201070 | |
Fonte: 848,90 |