- new ember app &
yarn install ember install ember-cli-eslint@4
// ember-cli-build.js
let app = new EmberApp(defaults, {
eslint: {
testGenerator: 'qunit',
group: true,
rulesDir: 'eslint-rules',
extensions: ['js'],| Title: | |
| Incident date: | |
| Owner: | |
| Peer-review committee: | |
| Tags: | |
| Summary: | |
| Supporting data: | |
| Customer Impact: | |
| Incident Response Analysis: | |
| Post-Incident Analysis: |
yarn installember install ember-cli-eslint@4// ember-cli-build.js
let app = new EmberApp(defaults, {
eslint: {
testGenerator: 'qunit',
group: true,
rulesDir: 'eslint-rules',
extensions: ['js'],The following document is a written account of the Code School screencasting framework. It should be used as a reference of the accompanying screencast on the topic.
You're probably aren't going to take the time to read this document if you're not interested, but there are a lot of nice side effects caused by learning how to create quality screencasts.
| ------------ From Rake Task | |
| namespace :app do | |
| # Checks and ensures task is not run in production. | |
| task :ensure_development_environment => :environment do | |
| if Rails.env.production? | |
| raise "\nI'm sorry, I can't do that.\n(You're asking me to drop your production database.)" | |
| end | |
| end |
| # From the project root | |
| rvm env -- `rvm current` >> .powenv |
If you just want to fix the issue quickly, scroll down to the "solution" section below.
If you're a Mac Homebrew user and you installed node via Homebrew, there is a major philosophical issue with the way Homebrew and NPM work together. If you install node with Homebrew and then try to do npm update npm -g, you will see an error like this:
$ npm update npm -g
| # MySQL. Versions 4.1 and 5.0 are recommended. | |
| # | |
| # Install the MySQL driver: | |
| # gem install mysql2 | |
| # | |
| # And be sure to use new-style password hashing: | |
| # http://dev.mysql.com/doc/refman/5.0/en/old-client.html | |
| development: | |
| adapter: mysql2 | |
| encoding: utf8 |
| $('a[data-mixpanel-tracker]').click -> | |
| setTimeout (=> window.location.href = $(@).attr('href')), 300 | |
| tracker = $(@).attr('data-mixpanel-tracker') | |
| properties = JSON.parse($(@).attr('data-mixpanel-properties') || '{}') | |
| mixpanel.track tracker, properties | |
| return false |