" /> Chris Bunk.com: October 2005 Archives

« September 2005 | Main | November 2005 »

October 26, 2005

Easy Pesto Chicken Breast with Cheese and Tomatoes

Here's a quick easy recipe you can do with pesto.
- Chicken Breasts
- Two Tomatoes slices per chicken breast
- Pesto
- Preferred Cheese (I used Monterey jack)

I threw some pesto and the chicken breasts in a bowl and mixed it around until the chicken was coated. I then
placed the breasts on a cookie sheet covered with tinfoil. I placed the chicken into an oven pre-heated at 400 degrees. I cooked for 10 minutes, flipped, then cooked for ten minutes more. I then placed two tomatoes slices on top of each breast and covered with your favorite cheese shredded. I placed the chicken in for another five minutes and served. It was easy and tasty!

October 24, 2005

How to get back at those unsolicited mail spammers

With all the talk of email spam have we forgot about the even more anoying traditional junk mail? Check out this technique to stick it to them..

October 21, 2005

I'm now a Zend PHP Certified Engineer

I have passed a certification test that came free with my attendance at the first Zend PHP Conference. I am now a Zend PHP Certified Engineer.

October 20, 2005

Apple Cheese and Onion Stuffed Pork Tenderloin Medalions

2 2" thick pork tenderloin medallions
2 red apples
1/2 cup grated cheese (I used a garlic cheese)
1 cup chopped yellow onions
1/4 cup breadcrumbs
2 1/2 tablespoons paprika
2 tablespoons salt
2 tablespoons garlic powder
1 tablespoon black pepper
1 tablespoon onion powder
1 tablespoon cayenne pepper
1 tablespoon dried oregano
1 tablespoon dried thyme

Preheat the oven to 500 degrees. I began by sauteing diced apple (about 3/4 of an apple), onion, and 1/2 of all the seasonings combined (You may recognize it as essence of Emeril) until the apples are softened. I then mixed that together with the grated cheese. I sliced the tenderloins creating a pocket to stuff the tenderloins. If done again I might experiment with digging out a bit of the center to create a bigger pocket. I then stuffed the tenderloins with the mixture with as much as would fit into the pocket. I sprayed the outside of the tenderloins with some oil and then rubbed the remainder of the seasonings on all sides of the tenderloin. I placed the tenderloins on a cookie sheet into the oven and cooked on each side for 20 minutes on each side. This was too long and the only mistake in the recipe. I based this on another recipe I found for baking a stuffed tenderloin of this size on the web told me the wrong time. I would guess 10-15 minutes on each side would work allot better. I served over a bed of couscous and garnished with the remaining apple slices.

I rank this recipe with 8 out of 10 and it could have been a nine if I cooked it less. I will definitely do this recipe again.

October 19, 2005

PHP Frameworks

List of PHP Frameworks to check out:
Mojavi
Prado
Binarycloud
Cake
PHP2Go
PHPonTrax
Seagull

October 13, 2005

Problems using a combination of Microsft SQL, DISTINCT, and ORDER BY

Ran across a problem today. I have a pretty complicated search that needed to
- Display results 0-30, 30-60, etc based on users input
- Sort based on any field the user chooses
- Has a one to many search criteria of an attribute that must be free text searched

I had most of this solved in a previous version but the new twist was the one to many relationship of the variable. Simple to fix by using the DISTINCT keyword, right? Wrong, looks something like "...WHERE id not in (SELECT DISTINCT TOP 30 id WHERE....ORDER BY name) ORDER BY name". Suddently the addition of the DISTINCT keyword requires that the field I order by be in the select clause, but in a NOT IN sub select clause I can only have one select field.

The solution I came with is to use the field I am sorting by for the select clause using PHP. The problem with that approach is that one field is not DISTINCT enough to get me the results I need. To overcome this I appended all of the possible fields together with the field that it was to be sorted by first. I then changed my order clause to order by whatever the first select cause happened to be.

The end result with possible where clauses stripped out looked like:
SELECT DISTINCT TOP 30 training_atc.id AS id, training_atc.name AS name, sources_atc.name AS source
FROM training_atc INNER JOIN
training_to_discipline ON training_atc.id = training_to_discipline.training_id INNER JOIN
webcal_categories ON training_to_discipline.discipline_id = webcal_categories.cat_id INNER JOIN
training_to_functionalArea ON training_atc.id = training_to_functionalArea.training_id INNER JOIN
functionalArea_atc ON training_to_functionalArea.functionalArea_id = functionalArea_atc.id INNER JOIN
sources_atc ON training_atc.source = sources_atc.id
WHERE (1 = 1) AND ((training_atc.name + sources_atc.name) NOT IN
(SELECT DISTINCT TOP 30 (training_atc.name + sources_atc.name)
FROM training_atc INNER JOIN
training_to_discipline ON training_atc.id = training_to_discipline.training_id INNER JOIN
webcal_categories ON training_to_discipline.discipline_id = webcal_categories.cat_id INNER JOIN
training_to_functionalArea ON training_atc.id = training_to_functionalArea.training_id INNER JOIN
functionalArea_atc ON training_to_functionalArea.functionalArea_id = functionalArea_atc.id INNER JOIN
sources_atc ON training_atc.source = sources_atc.id
WHERE 1 = 1
ORDER BY 1 DESC))
ORDER BY training_atc.name DESC

If only MS SQL had a LIMIT keyword like MySQL!!!

October 06, 2005

Chicken, Spinach and Chick peas in Balsamic Reduction

So Its been over a week since I've been to the grocery store so I have nothing fresh in the house. I have chicken defrosted. I look in my cabinets wondering what I can put together. I see a can of spinach and a can of chick peas. Can those be combined together in a meal? At the same time my roommate is so hungry he is saying he doesn't care if I throw the chicken breast in the microwave and cover with ketchup because he is so hungry. Google for a minute and only find Indian and Mediterranean dishes that have dared to combine these ingredients. Roommate whining in the background I decide to try it anyway. Here is the recipe I came up with.

2 Chicken Breasts
4 cloves Minced or pressed garlic
2 Tbs oil
3 Tbs Balsamic Vinaigrette
6 Tbs Sherry
Splash of lemon juice
1 can of spinach
1 can of chick peas
Pimentos to taste
Seasoned salt
Pepper

Sautee garlic in oil for a minute. Brown chicken breasts. Next add balsamic, sherry, lemon, and seasonings. Cover and cook for about 4 minutes to reduce sauce. Add in pimentos, spinach, and chick peas and continue cooking until chicken is fully cooked. I served the dish over a bed of couscous. Sorry for the lack of exact cooking times but I pretty much winged.

The dish came out very good; the only thing I think I would change in the future would be to use fresh spinach instead. I think this recipe just goes to show that if you stock your cabinets with interesting random ingredients that you can come up with new, interesting, and creative meals.

October 04, 2005

A non-believer enters the blogging world

A co-worker, John Brinkman has created his own blog. I have recently been pushing the idea to co-workers that we should establish a blogging system for NASA. John is pessimistic people at NASA would ever bother making blog posts. He is however an open minded pessimist and is getting some first hand insight on running his own blog.