Skip to content

Instantly share code, notes, and snippets.

@mm53bar
mm53bar / README.md
Last active August 29, 2015 14:10
Roll your own managed exposure
/* 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;} /* */
# 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'
)
.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;}
# 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
#

Vegetarian Quinoa Stew

Ingredients

  • 2 Tbsp (30 ml) olive oil
  • 4 cloves garlic, minced
  • 2 medium white onions, chopped
  • 1 cup (250 ml) quinoa, rinsed well

Orange Julius

Ingredients

  • 6 oz. frozen orange juice concentrate
  • 1 cup milk
  • 1 cup water
  • 1/4 cup sugar

Black Bean Enchilada Bake

Ingredients

  • 2 cups chopped onion, fresh or frozen
  • 1 1/2 cups chopped red pepper, fresh or frozen
  • 2 garlic cloves, minced
  • 3/4 cup salsa

Bread

Ingredients

  • 2 tbsp Quick-Rise Instant Yeast
  • 2 cups Hot water (between 120-130 F)
  • 5 cups Bread flour
  • 2 tbsp Sugar

Pizza Dough

Ingredients

  • 3 cups flour
  • 1 tbsp quick-rise yeast
  • 1 1/2 cups warm water
  • 1 tbsp salt