Skip to content

Instantly share code, notes, and snippets.

View Quentin01's full-sized avatar

Quentin Buathier Quentin01

View GitHub Profile
@Quentin01
Quentin01 / add-deduplicator.js
Created October 3, 2014 08:53
Add deduplicator to company
'use strict';
require('./app.js');
var async = require('async');
var mongoose = require('mongoose');
var Company = mongoose.model('Company');
Company.find().exec(function(err, companies) {
'use strict';
require('./app.js');
var async = require('async');
var mongoose = require('mongoose');
var Company = mongoose.model('Company');
Company.find().exec(function(err, companies) {