Skip to content

Instantly share code, notes, and snippets.

View VanessaHenderson's full-sized avatar

Vanessa VanessaHenderson

  • SwipedOn
  • Tauranga
View GitHub Profile
require 'mandrill'
require 'json'
mandrill = Mandrill::API.new 'YOUR_API_KEY'
yesterday_number = 0
todays_number = 0
clock = Time.new
day = clock.day

Another Twitter widget is rolling your way! This widget will scroll through the most recent tweets that mention the account associated with the keys! To get this widget up and running you only need to add your keys into this area of twitter.rb:

 config.consumer_key = 'YOUR_CONSUMER_KEY'
 config.consumer_secret = 'YOUR_CONSUMER_SECRET_KEY'
 config.access_token = 'YOUR_ACCESS_TOKEN'
 config.access_token_secret = 'YOUR_ACCESS_TOKEN_SECRET'