How to scrape with Ruby and Nokogiri and map the data

publication, software development, Wichita

Free Code Camp published my article “How to scrape with Ruby and Nokogiri and map the data.”

 

 

This piece comes out of a project I recently built to map bridge data from across Wichita, Kansas. To get the bridge info, I created a Ruby script that used Nokogiri to compile information before converting it to JSON . With that in hand, I was able to use JavaScript and the Google Maps API to plot each bridge with info-rich popups.

Read the article and see the code on GitHub.

Advertisements

How you can build a terminal game with CSV and Ruby

publication, software development

Free Code Camp published my article “How you can build a terminal game with CSV and Ruby.” It’s based on a lecture I gave earlier this year at Ada Developers Academy, and features a talk about Ruby’s CSV library and a walkthrough of how to build a Solar System terminal game.

Here’s a peek at the game: