This file contains 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
import flash.events.Event | |
import flash.net.URLLoader; | |
import flash.net.URLRequest; | |
var loader:URLLoader = new URLLoader(); | |
var request:URLRequest = new URLRequest(); | |
request.contentType = "application/json"; | |
request.url="http://jsonip.com/"; | |
loader.load(request); |
This file contains 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
var importIndex = 0; | |
var csvConverter = new Converter({ constructResult:false }); | |
var fileStream = fs.createReadStream('large-csv-sample.csv'); | |
csvConverter.on('record_parsed',function(rowObj, rowArray, rowIndex){ | |
var rowId = rowArray[0]; | |
var fileNum = rowArray[1]; | |
importIndex++; | |
console.log(rowId, importIndex); |
This file contains 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
ID | Number | |
---|---|---|
0157181 | 8002 | |
0157741 | 6523 | |
0158106 | 11339 | |
0158685 | 1246589927 | |
0159044 | 10240 | |
0159470 | 6320 | |
0161143 | 1246588356 | |
0161144 | 1246589434 | |
0162198 | 9277 |
NewerOlder