-Messanger
+Messenger
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
vatson@ubuntu:~/projects/BadaBoom$ php composer.phar update | |
> Updating dependencies. | |
PHP Notice: Undefined variable: minimizationSteps in phar:///home/vatson/projects/BadaBoom/composer.phar/src/Composer/DependencyResolver/Solver.php on line 2 | |
PHP Stack trace: | |
PHP 1. {main}() /home/vatson/projects/BadaBoom/composer.phar:0 | |
PHP 2. require() /home/vatson/projects/BadaBoom/composer.phar:15 | |
PHP 3. Symfony\Component\Console\Application->run() phar:///home/vatson/projects/BadaBoom/composer.phar/bin/composer:70 | |
PHP 4. Composer\Console\Application->doRun() phar:///home/vatson/projects/BadaBoom/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:2 | |
PHP 5. Symfony\Component\Console\Application->doRun() phar:///home/vatson/projects/BadaBoom/composer.phar/src/Composer/Console/Application.php:2 | |
PHP 6. Symfony\Component\Console\Command\Command->run() phar:///home/vatson/projects/BadaBoom/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php:2 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit backupGlobals="false" | |
backupStaticAttributes="false" | |
colors="true" | |
convertErrorsToExceptions="true" | |
convertNoticesToExceptions="true" | |
convertWarningsToExceptions="true" | |
processIsolation="false" | |
stopOnFailure="false" |
@asdasd
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
mongoose = require('mongoose') | |
timestamp = require('mongoose-time') | |
scheme = new mongoose.Schema | |
title: String | |
user: String | |
scheme.plugin(timestamp()) | |
model = mongoose.model('Article', scheme) |
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
var model = require('./server/models/article'); | |
var article = new model; | |
article.save(); | |
console.log(article.created_at); //undefined |
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
mongoose = require 'mongoose' | |
chai = require 'chai' | |
chai.should() | |
describe 'WHEN loading the module', -> | |
index = require '../src/index' | |
it 'should exists', -> | |
index.should.exist |
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
<?php | |
/* | |
* This file is part of the NelmioCorsBundle. | |
* | |
* (c) Nelmio <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
Disclaimer 1: Первую которая "про то чего мы достигли" я таки пропустил.
Disclaimer 2: Многие доклады смотрелись и отчёты писались в состоянии алкогольного опьянения.
Сейчас посмотрел Ben Alpert - What Lies Ahead она про то какие идеи они имеют о дальнейшем развитии. И они делят на UX-идеи и DX-идеи. В UX у них:
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
const allSettled = (promises) => { | |
return Promise.all( | |
promises.map( | |
(promise) => { | |
const res = (value) => { | |
return { state: 'resolved', value: value } | |
} | |
const rej = (reason) => { | |
return { state: 'rejected', reason: reason } | |
} |