-
-
Save affinity-matrix/3408693 to your computer and use it in GitHub Desktop.
Revisions
-
Emily Rose revised this gist
Aug 20, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,4 @@ function toCSV = function(table, cb) { ;;;;;;;;;;;;if (!out) return cb('no output') ;;;;;;;;;;;;cb(false, out.toString()) ;;;;;;;;})) }; -
max-mapper revised this gist
Aug 20, 2012 . 1 changed file with 3 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,8 @@ function toCSV = function(table, cb) { ;;;;var cmd = spawn('mdb-export', [this.file, table]) ;;;;cmd.stdout.pipe(concat(function(err, out) { ;;;;;;;;;;;;if (err) return cb(err) ;;;;;;;;;;;;if (!out) return cb('no output') ;;;;;;;;;;;;cb(false, out.toString()) ;;;;;;;;})) } -
max-mapper created this gist
Aug 20, 2012 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ Mdb.prototype.toCSV = function(table, cb) { ;;;;var cmd = spawn('mdb-export', [this.file, table]) ;;;;cmd.stdout.pipe( ;;;;;;;;concat(function(err, out) { ;;;;;;;;;;;;if (err) return cb(err) ;;;;;;;;;;;;if (!out) return cb('no output') ;;;;;;;;;;;;cb(false, out.toString()) ;;;;;;;;}) ;;;;) }