This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1/3 cup olive oil | |
1/3 cup balsamic vinegar | |
1/3 cup mayo | |
1t sugar | |
1t dijon mustard | |
1t Country French Vinaigrette dressing mix (Penzey's spices) | |
1 garlic clove | |
Everything into the food processor. Whirl. Enjoy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Library Name,URL,PageSpeed Score | |
University of Minnesota Libraries , https://www.lib.umn.edu/ ,97 | |
National Agricultural Library , http://www.nal.usda.gov/ ,90 | |
Princeton University Library , http://library.princeton.edu/ ,89 | |
University of Manitoba Libraries , http://www.umanitoba.ca/libraries/ ,87 | |
University of Toronto Libraries , http://onesearch.library.utoronto.ca/ ,87 | |
Massachusetts Institute of Technology Libraries , http://libraries.mit.edu/ ,85 | |
Yale University Library , http://www.library.yale.edu/ ,85 | |
University of New Mexico Library , http://www.unm.edu/libraries/ ,83 | |
University of Pennsylvania Libraries , http://www.library.upenn.edu/ ,83 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'google/apis/analyticsreporting_v4' | |
analytics = Google::Apis::AnalyticsreportingV4::AnalyticsReportingService.new | |
# Authentication / Authorization | |
# via credentials.json | |
# | |
# File downloaded via Google's API Manager | |
# - Create a Service Account | |
# - Add the service account's email address to your Google Analytics account |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Dependences | |
require 'rsolr' | |
# Connect to solr | |
solr = RSolr.connect :url => 'http://localhost:8983/solr/geoportal' | |
# Search request | |
response = solr.get 'select', :params => {:q => '*:*', :rows => '10000'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bundler/inline' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'json' | |
gem 'iiif-presentation' | |
end | |
require 'open-uri' | |
require 'iiif/presentation' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bundler/inline' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'json' | |
gem 'iiif-presentation' | |
end | |
require 'csv' | |
require 'open-uri' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ruby Example | |
require 'date' | |
require 'faraday' | |
require 'json' | |
# Required API Variables | |
domain = 'your_domain' | |
email = 'your_email_address' | |
api_key = 'your_api_key' | |
site_id = 'your_site_id' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'date' | |
require 'faraday' # Faraday v2 | |
require 'json' | |
# | |
# List all Questions from an account via start_date and end_date params as JSON | |
# | |
# Required API Variables | |
DOMAIN = 'foo' # Without .gimlet.us |