Skip to content

Instantly share code, notes, and snippets.

@chesshacker
chesshacker / README.md
Last active January 10, 2020 01:42
Study Plan for AWS Solutions Architect Associate
@chesshacker
chesshacker / index.js
Created December 3, 2018 22:22
parse html and write csv
const fs = require('fs');
const $ = require('cheerio');
const csvWriter = require('csv-write-stream');
const zip = require('lodash.zip');
var writer = csvWriter({ headers: ['views', 'titles', 'hrefs'] });
try {
const html = fs.readFileSync('videos.html').toString('utf-8');
const titles = $('h3 a', html).map(function(i, elem) {

Keybase proof

I hereby claim:

  • I am chesshacker on github.
  • I am steveortiz (https://keybase.io/steveortiz) on keybase.
  • I have a public key whose fingerprint is F72E FCD0 6FC5 A32E 5ADE FF1C 5EF2 FE23 0E92 195D

To claim this, I am signing this object: