- 2 Tbsp (30 ml) olive oil
- 4 cloves garlic, minced
- 2 medium white onions, chopped
- 1 cup (250 ml) quinoa, rinsed well
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
# from http://rpheath.com/posts/409-rails-time-date-formatting-with-lambda | |
# config/initializers/date_time_formats.rb | |
Time::DATE_FORMATS.merge!( | |
:full => '%B %d, %Y at %I:%M %p', | |
:md => '%m/%d', | |
:mdy => '%m/%d/%y', | |
:time => '%I:%M %p' | |
) |
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
/* Comments ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ | |
.Comments { margin: 20px 0px 0px 0px; position: relative;} | |
.Comments h3 { font-size: 16px; letter-spacing: -1px; margin: 0px 0px 5px 0px; padding: 10px 0px; color:#660000; border-bottom: solid 2px #660000;} | |
/* Comments List ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */ | |
.List ol { padding: 0px; margin: 0px;} | |
.List li { position: relative; padding: 5px 0px; margin: 10px 0px; list-style-type: none; background: url(images/PostDotted.gif) repeat-x bottom; } | |
/**/ * html .List .LGrav { right: 30px;} /* */ |
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
.Post { padding: 15px 0px; position: relative; clear: left;} | |
.PostHead { margin-left: 55px; } | |
.PostHead h2 { font-size: 24px; line-height: 24px; letter-spacing: -1px; font-weight: bold; padding: 0px 0px 1px 0px; margin: 0px; color:#000033;} | |
.PostHead h2 a { color: #109dd0; text-decoration: none;} | |
.PostHead h2 a:visited { color: #109dd0; text-decoration: none;} | |
.PostHead h2 a:hover { color:#000; text-decoration: none;} | |
.PostHead h3 { font-size: 14px; line-height: 14px; font-weight: bold; padding: 0px; margin: 0px; color:#000033;} |
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
# A Simple MD5/SHA1 calculator in Ruby | |
#!/usr/bin/ruby1.8 -w | |
# | |
# A Simple Hash Code Calculator | |
# Returns SHA1 and MD5 hash for any given file | |
# Author: Alessio Saltarin | |
# |
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
# download, from_repo, and commit_state methods swiped from | |
# http://github.com/Sutto/rails-template/blob/07b044072f3fb0b40aea27b713ca61515250f5ec/rails_template.rb | |
require 'open-uri' | |
def download(from, to = from.split("/").last) | |
#run "curl -s -L #{from} > #{to}" | |
file to, open(from).read | |
rescue | |
puts "Can't get #{from} - Internet down?" |
OlderNewer