Skip to content

Instantly share code, notes, and snippets.

View mattmueller's full-sized avatar

Matt Mueller mattmueller

  • Southern Made
  • Amelia Island, FL
View GitHub Profile
<div class="row-fluid">
<div class="span8">
<div class="row-fluid" style="background:#FFFFFF">
<div class="span12"></div>
</div>
<div class="row-fluid" style="background:#a1c754">
<div class="span12"></div>
</div>
<div class="row-fluid" style="background:#73a736">
<div class="span6"></div>
#header
background: $header-background-color
+box-shadow((darken($header-background-color, 2%) 0px -5px 5px 0px inset))
ul
&#nav
li
a
color: $header-link-color
+text-shadow((darken($header-background-color, 5%) -1px -1px 0),(lighten($header-background-color, 5%) 1px 1px 0))
......
require 'rubygems'
require 'httparty'
require 'hashie'
require 'mechanize'
require 'flickraw'
FlickRaw.api_key="API KEY"
FlickRaw.shared_secret="SHARED SECRET"
auth = flickr.auth.checkToken :auth_token => "AUTH TOKEN"
def get_rtm_tasks
connect_to_rtm
@tasks = []
@rtm.tasks.getList(:filter => "status:incomplete").tasks.list.as_array.each do |list|
unless list.taskseries.nil?
list.taskseries.each do |task|
@tasks << task
end
end
end
require 'rubygems'
require 'string_camelize'
require 'digest/md5'
require 'cgi'
require 'moocow/auth'
require 'moocow/endpoint'
module RTM
# Root access to RTM api.