Skip to content

Instantly share code, notes, and snippets.

View flammenmensch's full-sized avatar
🍄

Alexey Protasov flammenmensch

🍄
View GitHub Profile
@flammenmensch
flammenmensch / rxjs-diagrams.md
Created June 25, 2018 11:24 — forked from PCreations/rxjs-diagrams.md
Super Intuitive Interactive Diagrams to learn combining RxJS sequences by Max NgWizard K
(function () {
"use strict";
angular.module("exampleApp")
.factory("WebWorks", ["$q", function ($q) {
var worker = new Worker('scripts/workers/doWork.js');
var defer;
worker.addEventListener('message', function(e) {
'use strict';
//npm install gulp gulp-minify-css gulp-uglify gulp-clean gulp-cleanhtml gulp-jshint gulp-strip-debug gulp-zip --save-dev
var gulp = require('gulp'),
clean = require('gulp-clean'),
cleanhtml = require('gulp-cleanhtml'),
minifycss = require('gulp-minify-css'),
jshint = require('gulp-jshint'),
stripdebug = require('gulp-strip-debug'),

I have the following JS code:

db.models
    .Vobject
    .findAndCountAll({
    where: [{type: 1 }],
    include: [{model: db.models.Tag, where: {name: ['iron', 'tefal']}}],
    limit: 10
})