Year: 2010

again, thanks to sam the cooking guy


  • 1-two pound london broil
  • 4 cloves garlic, chopped fine
  • kosher salt and pepper
  • 1 sourdough baguette
  • ⅔ cup horseradish sauce
  • 4 oz arugula leaves (or spring mix lettuce)
  • olive oil
Read more »

been watching some sam the cooking guy lately… i think i can tackle these…

bacon-wrapped scallops


  • 1 lb sea scallops, defrosted
  • 12 slices of pre-cooked bacon
  • 1/4 cup teriyaki sauce
  • 2 skewers
  • 1 tbsp toasted sesame seeds
Read more »

on the topic of “figuring things out wrt coding” — i was working on converting a site to wordpress and was trying to figure out how to get a home page movie to appear ONLY on the home page (easily).
so i looked around and found out there was a wordpress function called “is_front_page()”

so, along with a nifty fade in/fade out script, i created this in the header.php file:

  if ( is_front_page() ) {
  echo "
    <div class=\"hpmovie\">
      <div id=\"xlide\">
        <img src=\"wp-content/themes/[THEMENAME]/images/5.jpg\"
          alt=\"\" />
        <img src=\"wp-content/themes/[THEMENAME]/images/11.jpg\"
          alt=\"\" />

so basically, if it’s the home page, it’ll write stuff to the page… boom

so this won’t make sense to any of you, but i was pretty proud of myself when i made this. i used various xsl elements to basically have the page pull data from an xml document:


<xsl:variable name="readmore">
    <xsl:when test="@readmore != ''">
      <xsl:value-of select="@readmore" />
      See all <xsl:value-of select="@title" />
<div style="font-size:8pt;">
  <a href="{@url}"><xsl:value-of select="$readmore" /></a>

this is a sample of the xml that it pulls:

<page id="..." title="Newsletters" url="newsletters.asp"
  description="blah blah blah">

so since there isn’t a title attribute to this node, it’ll default to the title. on the page, it’ll say “See all Newsletters”

i made it myself! yay