Sam Alston's Blog

RSS Feeds

  • Home
  • About
Tasty: Steak for Breakfast?

Tasty: Steak for Breakfast?

Mar 14th

Posted by sam in Food

No comments

I had a leftover pie crust, it was 8 am, and I was hungry.

Whatever is a boy to do?

Since we had leftover steak the night before, I decided to try and make a steak and cheese egg tart.  I found various recipe’s online, and got to work.

Shoot Name-002

First, you have to take the pie crust (either homemade or store bought) and cut it into fours.  Then roll the sections into roughly circular sections.  The directions then said to press the pie crust into the back of a muffin tin.  What they meant to say, (and what you should do) is to put a muffin cup into the muffin tin, and then press the pie filling into the muffin cup, so that the pie crust is in the appropriate shape.

Unfortunately, I misunderstood the directions:

Shoot Name-001

You may have noticed that I literally pressed it onto the back on the pie tin.

Shoot Name-003

Here’s a close-up of that epic mistake.  The nice thing about having it on the back of the pie tin, is that you end up with perfectly sized cups for the steak, egg, and cheese.

Shoot Name-004

Another close-up of the crust (this is just before I realized my mistake – after baking at 400 degrees for about 8 minutes to firm up before being filled.)  Unfortunately it’s almost impossible to peel off the back of the pie tin in one piece.  You end up with crumbled messes.

Shoot Name-005

I was able to save two of my pie crust cups, the other 2 were damaged beyond repair.  At this point I just stuffed them into the muffin cups, put the sliced steak on the bottom, drizzled cheese and a scrambled egg into the cup and finished baking at 350 for about another 10 minutes (or until the egg was fluffy.)

Shoot Name-006

This was one of the cups that almost made it.

Shoot Name-007

In the end, though, the muffin cups salvaged the meal.   Steak + eggs + cheese + pie crust = delicious breakfast food.

Here’s the official recipe:

Ingredients:
1 pie crust mix or store bought pie crust
3 eggs
1 cup grated cheddar cheese
1 cup of sliced steak (cooked bacon or canadian bacon works almost as well)
(Optional) 1 cup of grilled onions

Directions
Preheat the oven to 400 degrees.

Make the pie crust (if using a mix or creating from scratch) and roll it out flat.  Cut into 6 equal pieces, and then roll those into generally circular shapes.  Put muffin cups into a muffin tin, and then press the pie crust into the muffin cups.

While this is baking, beat the 3 eggs together.  You can add salt, pepper, and possibly a dash of dill to the eggs.

Put the muffin tin into the oven and bake for approximately 8 minutes (until the pie crust is just starting to brown.)  When you take it out, turn the oven down to 350 degrees.

Fill the bottom of the pie cup with meat and cheese in equal amounts.  Pour the scrambled eggs on top of the steak and cheese.  Place it back in the over for until the eggs are fluffy (usually about 10 minutes.)

Serve warm.

Update 03/15/10: So I tried it again, using the muffin cups from the beginning with great success (and they look pretty good too.)  I’ll try and get pictures up soon.  Also, if you scramble the meat and cheese into the eggs you end up with a better distribution of meat, egg, and cheese.


[Translate]
baking, cheese, pie crust, steak

Games: Fallout 3 Hacking Minigame Solver

Oct 29th

Posted by sam in Games

No comments

I’ve added my Fallout 3 Solver back to the website, so if you were having trouble finding it before it is back now.

For those that haven’t used it before: In Fallout 3 there are computer terminals all around the world.  To access some of them you have to pass a “hacking” puzzle.  Sometimes its fun to play this out and try and solve the puzzle manually.  However, often I really needed what was in the next room and the door was controlled by the computer.

To ensure that I didn’t lose my chances, I wrote this solving tool.

The tool has percentages based upon how common the letters are in it.  For example, the letter e is the most common letter in the English language.  It seems to me then that a word with an e in it is more likely to occur than a word with no e’s in it.  That being said, the percentages are just for fun.

Enjoy and leave me comments!


[Translate]
Development, fallout3, Games, Tools

WSDL2Java with Maven – Fixing “BadCommandLineException: grammar is not specified”

Oct 28th

Posted by admin in Uncategorized

No comments

At my job, we use the wsdl2java maven plugin to generate the appropriate classes from the webservices’ wsdl document. When we received notice that we were to incorporate a new webservice into the system, we thought “No big deal, we’ll just use the plugin and be off!”

Unfortunately, we ran into the dreaded “com.sun.tools.xjc.BadCommandLineException: grammar is not specified” error. After inspecting the code I couldn’t find any issue. The wsdl was right there, and it didn’t reference any outside xsds or anything? What’s the problem?

I did a google search. Found some interesting threads from nabble that had nothing to do with my problem. Eventually, I found that (with a misleading name) the wsdl2java plugin doesn’t automatically pickup xsds. If you are pointed to a directory that has XSDs (usually referenced by the actual wsdl files) it will autogen from those. But if your xsd are in a subdirectory (or not needed for such a simple webservice) then wsdl2java blows up with the grammar error.

I ended up the following in my pom:

<plugin>
    <groupId>com.sun.tools.xjc.maven2</groupId>
    <artifactId>maven-jaxb-plugin</artifactId>
    <executions>
        <execution>
            <!-- This one has the xsd's in the same directory, so it was already working -->
            <id>simple-xsd-wsdl2java</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>generate</goal>
            </goals>
            <configuration>
                <!-- directory of the wsdls and the xsds -->
                <schemaDirectory>src/main/wsdl/simple</schemaDirectory>
                <generateDirectory>src/autogen/simple</generateDirectory>
                <readOnly>true</readOnly>
            </configuration>
        </execution>
        <execution>
            <!-- This one was only the WSDL files, with no external XSDs -->
            <id>wsdlOnly-wsdl2java</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>generate</goal>
            </goals>
            <configuration>
                <!-- directory of the wsdl files -->
                <schemaDirectory>src/main/wsdl/wsdlOnly</schemaDirectory>
                <generateDirectory>src/main/autogen/wsdlOnly</generateDirectory>
                <readOnly>true</readOnly>
                <includeSchemas>
                    <!-- Each schema has to be spelled out as an includedSchema, or it will be ignored -->
                    <includeSchema>AccountService.wsdl</includeSchema>
                    <includeSchema>SystemService.wsdl</includeSchema>
                    <includeSchema>GiftService.wsdl</includeSchema>
                </includeSchemas>
                <!-- Indicates to the grammar parser that the schema files are in the wsdl format -->
                <args>-wsdl</args>
            </configuration>
        </execution>
    </executions>
</plugin>

Notice that in the wsdlOnly configuration I have specifed each schema file separately. I think there is a way to specify a directory/wildcard search, but I didn’t spend the time figuring it out. The other immensely important part is adding the args section. This tells the parser that the files are in wsdl format, not in XSD.

I hope that this helps anyone out there looking for a way to auto generate class files to use with SpringWS from stand-alone wsdl files.


[Translate]
java wsdl autogen spring xsd maven

Moving to Wordpress!

Sep 15th

Posted by admin in Uncategorized

No comments

I’m migrating my old blog to a Wordpress based one.  It might take a while since I had such a vast number of blog posts on blogger.  That being said, the Fallout 3 Hacker Solver should be up ASAP.

Let me know what you think of the new look and feel!


[Translate]
wordpress general
  • Search

  • Archives

  • Categories

    • Food
    • Games
    • Tools
    • Uncategorized
  • Tags

    baking cheese Development fallout3 Games java wsdl autogen spring xsd maven pie crust steak Tools wordpress general
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
Mystique theme by digitalnature | Powered by WordPress
RSS Feeds XHTML 1.1 Top
powered byGoogle