Skip to content

Instantly share code, notes, and snippets.

@janetlee
janetlee / FingerLakes.txt
Created October 15, 2019 15:17
Short lists of Finger Lakes wineries
Get the Garlic Knots at Jerlando's!!!
On Franklin
Keuka Lake:
Keuka Lake Vineyards, https://www.klvineyards.com/, dry rieslings very ageable. Owner is originally from DC. We overbought here but ultimately not that regretful
Dr. Konstantin Frank, http://www.drfrankwines.com/, bubbly!!
McGregor Vineyard, https://www.mcgregorwinery.com/, stranger varietals from Eastern Europe/Caucasus region very plaid/Scottishy interior - try the Saperavi blends
Seneca Lake:
@janetlee
janetlee / convertjsoncsv.rb
Created May 4, 2021 18:31 — forked from jordan-thoms/convertjsoncsv.rb
Code to convert json to csv, with correct headings Usage: ruby convertjsoncsv.rb <input file> <output file>
require 'csv'
require 'json'
require "set"
json = JSON.parse(File.open(ARGV[0]).read)["results"]
# Pass 1: Collect headings
headings = SortedSet.new
json.each do |hash|
headings.merge(hash.keys)
end