December 2009
5 posts
5 tags
4 tags
Scraper
Writing a website scraper in Ruby for a freelance gig I picked up on Craigslist. Using Nokogiri to make an XML tree out of the documents, then grepping for the stuff I need within the document.
Turns out if the designers of the page used a very structured format, it’s much easier to grab the text I need. This should have been obvious.
So my workflow:
Do the task by hand and note all the URLs...
Gymming it. Kinda like slimming, but with more effort.
Mints...
My search for mints has led me to Starbucks, and disappointment :(
I was hoping to find the gum in the little tin can, but alas — my endeavors were in vain.
3 tags
Chocolate Chip Macadamia Cookies
Made cookies today following the Nestle-Tollhouse recipe. I didn’t have a full 12 ounces of chocolate chips, so I added an ounce of Macadamia nuts.
Let’s see if I can remember it…
2.25 cups of flour
1 teaspoon salt
1 teaspoon baking soda
2 sticks melted butter
3/4 cup brown sugar
3/4 cup white sugar
1 teaspoon vanilla
2 eggs
10 ounces of Chocolate chips
1 ounce of Macadamia nuts
Stir...