sudo mkdir /etc/nginx/sites-available
sudo mkdir /etc/nginx/sites-enabled
include /etc/nginx/sites-enabled/*;
| import { types } from 'mobx-state-tree' | |
| import { getModelType, getModelTypes } from './get-model-type' | |
| const TestModel = types.model('models', { | |
| id: types.identifier, | |
| name: types.literal('frodo'), | |
| }) | |
| const TestModel2 = types.model('other-models', { | |
| id: types.identifier, |
| var expect = require('expect'); | |
| describe.only('Sample', function () { | |
| beforeEach(function () { | |
| this.currentTest.value = 'Winning!'; | |
| }); | |
| it('Uses current test data', function () { | |
| expect(this.test.value).to.equal('Winning!'); |
| apply plugin: 'java' | |
| apply plugin: 'eclipse' | |
| sourceCompatibility = JavaVersion.VERSION_1_8 | |
| targetCompatibility = JavaVersion.VERSION_1_8 | |
| eclipseJdt << { | |
| ant.propertyfile(file: ".settings/org.eclipse.core.resources.prefs") { | |
| ant.entry(key: "eclipse.preferences.version", value: "1") | |
| ant.entry(key: "encoding/<project>", value: "utf-8") |