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 characters
_.mixin({ | |
'deepMapKeys': function (obj, fn) { | |
var x = {}; | |
_.forOwn(obj, function(v, k) { | |
if(_.isPlainObject(v)) | |
v = _.deepMapKeys(v, fn); | |
x[fn(v, k)] = v; | |
}); |
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 characters
func Read_File_Stream_In_Ram(nameFile){ | |
//read stream in memory | |
//...some stuff to work | |
yield data; | |
} | |
func Split_Chunk_Data(log){ | |
nameFile = log.name | |
dataReceived = [] | |
data = Read_File_Stream_In_Ram(nameFile) | |
dataReceived.push(data) |
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 characters
{ | |
"directory": "/Scripts/Vendor" | |
} |