xfg
xfg
I use [angular-timer](https://github.com/siddii/angular-timer) for work with time within my project, but I can't make a friends angular-svg-round-progressbar and angular-timer. When I write ``` javascript {{progressBar}} ``` I get error ```...
How to use i18n and socket.io ? Every socket must have own language. I tried do so: io.use(i18n.init); io.use(function (socket, next) { var lang = socket.request._query.lang; ... socket.setLocale(lang); next(); });...
upsert
I read the code and seems that the next example will not be rolled back properly: ```javascript task .update("cars", {make: "Toyota"}, {make: "Toyota", year: 2016}) .options({upsert: true}) .update("cars", {make: "Ford"},...
I am using gulp-jasmine together with gulp.watch in node.js environment and after 10 file changes I get warning ` (node:26044) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added....
I found the various listeners like [this](https://github.com/VaughnVernon/IDDD_Samples/blob/05d95572f2ad6b85357b216d7d617b27359a360d/iddd_collaboration/src/main/java/com/saasovation/collaboration/port/adapter/messaging/ExclusiveDiscussionCreationListener.java) but I don't understand how they are instantiated. I did not found them in IoC [configuration](https://github.com/VaughnVernon/IDDD_Samples/blob/05d95572f2ad6b85357b216d7d617b27359a360d/iddd_collaboration/src/main/resources/applicationContext-collaboration.xml). How are they instantiated ?
Since from version 4.0.3 mongodb has the new [countDocuments](https://docs.mongodb.com/manual/reference/method/db.collection.countDocuments/) method which is more accurately then the `count` method that I think we should add the `countDocuments` method to mongoist and...
I have created `db.js` module with code ```javascript //db.js module.exports = mongoist('test'); ``` Now I use `db.js` module within my tests in the following way ```javascript //foobar.spec.js const db =...
Thinky is awesome ODM for the RethinkDB and would be great see within it the distributed transactions. Algorithm for the distributed transactions can be found [here](http://rystsov.info/2012/09/01/cas.html). This algorithm also is...
$emitter->broadcast->emit('event', 'payload str'); the broadcast flag is ignored, same with the other flags.
Hi. I have typical node cluster. ``` javascript var cluster = require('cluster'); var numCPUs = require('os').cpus().length; if (cluster.isMaster) { for (var i = 0; i < numCPUs; i++) { cluster.fork();...