Skip to content

Instantly share code, notes, and snippets.

View Hromenique's full-sized avatar

Hromenique Cezniowscki Leite Batista Hromenique

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<dependencies>
</dependencies>
<build>
@Hromenique
Hromenique / LerArquivoComoString.java
Created March 28, 2018 18:27
Ler arquivo como string
return new String(Files.readAllBytes(new ClassPathResource(path).getFile().toPath()));
const createCsvWriter = require('csv-writer').createObjectCsvWriter
const fs = require('fs')
const readline = require('readline')
const records = [
{sku: 'abc123', sellerId: '123456'},
{sku: 'def123', sellerId: '789456'},
{sku: 'yut741', sellerId: '741852'}
]