11.22.2015

One-Pot Pad Thai

Ingredients:
Serves 4

- 8 oz Noodles (we used pad thai noodles, but feel free to substitute them for another type)
- 2 tbsp Sesame Oil
- 2 Eggs
- 1 Diced Chicken Breast
- 1/4 cup of Shallots
- 3/4 cup Pad Thai Sauce (we used 1/8 cup each of fish oil, rice vinegar, soy sauce, brown sugar, lime juice, and sriracha)
- 1 cup Bean Sprouts
- 1/2 cup Crushed Peanuts
- 1/4 cup Green Onions
- 1/4 cup Cilantro

Directions:
Cook noodles according to package instructions. Toss with 1 Tbsp. of sesame oil and set aside. Pour 1/2 Tbsp. of sesame oil into your pot and add two lightly beaten eggs. When the eggs are finished cooking, set aside. Pour another 1/2 Tbsp. of sesame oil into the pot and add 1 diced chicken breast. Set aside once chicken is fully cooked. Add shallots to the pot (no need for sesame oil first - there should be enough moisture leftover from cooking the chicken) and cook until lightly browned and fragrant. Then, add your noodles, eggs, and chicken back into the pot. Pour in pad thai sauce (use a pre-made mixture or make your own mixture of equal parts fish oil, rice vinegar, soy sauce, brown sugar, lime juice, and Sriracha). Top with bean sprouts, crushed peanuts, green onions, and cilantro, and stir until well blended. Dish up and garnish with extra peanuts, green onions, and cilantro. Enjoy!

source: https://youtu.be/9mm0wSfxJhU

12.17.2012

Mura CMS v.6 Released

Mura CMS 6 now available.   The best free content management system continues to improve and gain features that make anyone who maintains a Web site needs.

They are also working on

  • training books,
  • MURA in the cloud
  • and v.6.1



10.18.2012

Microsoft SEO Toolkit

This is a great tool.  If you've been using Xenu like I have you'll want to check out the MS SEO ToolKit.  It crawls your site and provides lots of good information and tools to improve your site.

It installs itself inside of IIS for some reason.   Check Scott Guthrie's blog for information on getting started.


9.17.2012

IE9 Div and display: inline-block, use display: inline;

Ran into this today.  IE won't use inline-block on elements that are already a block.  Which actually makes sense I suppose.   Use display: inline; on a div instead.

Q: Why do you run into this?
A:  Printing.   IE doesn't like to float things when it prints.  And using floats is probably a hold over from days before display: inline; was properly supported.

9.13.2012

Change in CSS Media Type default value.


 <link rel="stylesheet" type="text/css" media="print" href="print.css">

This attribute specifies the intended destination medium for style information. It may be a single media descriptor or a comma-separated list. The default value for this attribute is "screen".
The default, if the media attribute is omitted, is "all", meaning that by default links apply to all media.

So if your pages suddenly look a little odd, check that you are declaring a media type for all your style sheets.

8.31.2012

Coldfusion 10 and HTML Charts Some Styling Examples

CF 10 now uses ZingCharts.   Here's an examlpe of using the new json strings to format the chart.   You can figure these out using the ZingChart Builder.

<cfscript>
    plotLine = {
        "url":"http://www.gotsme.one/", 
            "animate":true,
            "speed":0.8,
            "effect":4,
            "tooltip-text":"%v %t"
    };
    plotArea ={
        "width":550,
        "height":150,
        "position":"0% 0%",
        "margin-top":60,
        "margin-right":50,
        "margin-left":50,
        "margin-bottom":65
    };
    legendStyle = {
"position":"100% 10%",
            "margin-top":10,
            "margin-right":10,
            "margin-left":10,
            "margin-bottom":10,
            "layout":"x1",
            "draggable":false,
            "minimize":false,
            "item":{
                "toggle":true,
                "margin-top":5,
                "margin-right":10,
                "margin-left":10,
                "margin-bottom":5
            }
    };
    labelStyle = { 
// An array of structs used to display custom text or images on the chart, for example author or chart information
    };
tooltipStyle = {
// A struct of keys used to style the tool tip such as background, font, or border.
};
preview = {
        "visible":true,
        "width":550,
        "height":30,
        "position":"5% 100%",
        "margin-top":10,
        "margin-right":50,
        "margin-left":10,
        "margin-bottom":15,
        "handles":{
        }
// A struct of keys such as visible and margin to control chart preview.  (zoom box at bottom)
};    
</cfscript>



<cfchart
legend="#legendStyle#"
plot="#plotLine#"
plotArea="#plotArea#"
preview="#preview#"
format="html"  
showlegend="true"
height="300"
width="900" 
title="Your Title Here" 
show3d="no" >


<cfchartseries 
label="Some Label" 
query=" Some_Query " 
itemcolumn="Some_Column_Name_For_Item"
valuecolumn="Some_Column_Name_For_Value" 
paintstyle="shade"
type="line" />

</cfchart>



7.31.2012

Coldfusion 10, IIS 7.5, and Problems

couple of issues that I haven't been able to find out much about.

  1. Error Pages.    IIS 7.5 treats error pages from Cf as "detailed" error pages so they only show up on the server.   
  2. Webservices with long content crash the application pool.   Still looking into this, but it looks like if you send a long string in a web service it crashes the IIS application pool.   I think it might be a bug in the isapi_redirect.dll that shipped with CF10?  



Adding Coldfusion 10 instances to IIS Gotcha.

The Web Server Connector tool in the Windows start menu for ColdFusion 10 will only allow you to connect websites to the CFUSION (main) instance. If you want to connect a site to a different instance, you'll need to run the connector tool located in the new instance's directory from the cmd line.

{cf install root}\NewInstance\runtime\bin\wsconfig.exe

As a note,  when you start wsconfig.exe in the new instance directory,  it looks just the same.   After you're done, you can see which instance is associated with each web site in the Web Site Configuration Tool.   It should have something like:

[localhost:NewInstance] Internet Information Server (IIS) : Website


Thanks to Michael Sprague for the insights  http://www.webtrenches.com/post.cfm/coldfusion-10-instances-and-web-server-connector

7.10.2012

IIS 7 and ColdFusion 10 Auth_User / Remote_User blank

Thanks to KEVLAR in the Adobe Forums for figuring this out. Upgraded to CF 10 and suddenly cgi.Auth_User was blank. If Windows Authentication is set on the folder level it MUST be enabled at the server level before it will populate the CGI variables throughout the application. So the server level has both anonymous and windows authentication enabled and the folder that is restricted has anonymous disabled and windows authentication enabled.

4.29.2012

Copy MS Sql Database And Maintaining Primary Keys

Seems there is a trick to copying a MSSQL database and maintaining the keys.   You would think something called the Import/Export Wizard would make it easy but it hides some things.

First,  I'm not sure I had to do this but I dropped all tables from the DESTINATION DB using and undocumented stored procedure:
exec sp_MSforeachtable "DROP TABLE ? PRINT '? dropped' "

Next, you want to script the tables from the TARGET DB.   You might think you would go to he SCRIPT option but that is for the entire db and I just want the tables.

Script just the tables from the TARGET DB using MS SQL SERVER MANAGEMENT TOOLS.  Right click on the DB and selecting  TASKS  >  GENERATE SCRIPTS menu option.    The wizard is pretty straight forward.

Run the generated script against your DESTINATION DB.  Make sure you change the USE statement at the top of the script.

Now run the Import/Export Wizard.  BUT WAIT, THERE'S ANOTHER CATCH !   On the screen where you select the tables to import,  look at the bottom for a button labeled "EDIT MAPPINGS".   On this screen, make sure you select "Enable identity insert".

Job Done.




3.04.2012

Puttanesca Sauce


  • 1/4 cup of quality olive oil, or if substituting canned tomatoes for fresh – then reduce the olive oil to 2 tablespoon.
  • 1 oz. anchovy fillets, drained and finely chopped. If you use King Oscar’s in the tin, the fillets fall apart saving you the chopping step. Just use half the tin & throw the rest in the freezer. If you love anchovies just use the whole tin.
  • 2 garlic cloves, peeled and thinly sliced, crushed or grated – what the heck? If they are on the smaller side – use 3 cloves.
  • 1/2 teaspoon crushed red pepper flakes – so good! Or substitute 1 to 2 tablespoons jarred or canned jalapeno peppers (preferably red), drained, sliced, and diced, or to taste
  • Salt – not too much
  • Ground black pepper
  • 1 or 2 fresh tomatoes chopped with the juice/seeds. Or you can use a can of diced canned tomatos instead of fresh, reduce your olive oil to 2 tablespoons.
  • 6 to 8 (more if you love olives) drained pitted & chopped black olives. Use Greek or Kalimata for best flavor.
  • 2 teaspoons dried basil, or 2 tablespoons of fresh chopped if you have it.
  • 2 to 3 tablespoons chopped fresh parsley leaves, for garnish, optional
  • Parmasean cheese grated – however much you like.
In a skillet, sauce pan, or wok pour in your oil, add minced garlic & saute for a few minutes. Keep your burner low.
Add your anchovies & continue to saute as you cut up your tomatoes, olives, etc.
Add your olives, tomatoes, basil, red pepper flakes, salt (watch it), & black pepper.
Simmer your sauce on a low heat until it begins to thicken.

2.19.2012

Black Beans and Rice in the Zojirushi Rice Cooker



  • You can use any vegetables you like for this recipe. The vegetables should total about 2 cups 
  • 3 Cups Brown Rice rinsed well 
  • 16 ozs of Low or No Sodium Vegetable or Chicken broth. 
  • (You may need to adjust the amount of broth based on your rice cooker's instructions on the 
  • amount of liquid needed for 3 cups of rice.) 
  • 1 can no sodium black beans - rinsed well 
  • 1/2 Cup diced carrots - diced very small 
  • 1 can of no sodium added diced tomatoes without the liquid. 
  • 3/4 Cup diced fresh broccoli - diced very small 
  • 1 small onion diced very small 
  • 1/2 Cup frozen corn 
  • 2 tsp olive oil 
  • Cilantro - chopped small 

Put the olive oil in a small pan to saute the onions until translucent.

Using the rice cooker's rice measuring cup, rinse 3 cups of brown rice very well. Put rice in the rice
cooker.

Pour in the broth to the line in the cooker for 3 cups of rice.

Add the beans, carrots, broccoli, sauteed onions, tomatoes, and corn to the rice cooker.

Close the lid and choose the Brown Rice setting on the rice cooker.
After the rice is done, add the cilantro and fluff the rice

2.17.2012

Mura ORM Plugins


Looks like MURAa overrides the default settings of flushAtRequestEnd (MURA sets to false), eventhandling (MURA sets to true), and automanageSession (MURA sets to false).
This means wrap Saves and Deletes in CFTRANSACTION.
Looks like you might be able to set these in settings.ini.cfm or a plugin's config.xml but I haven't actually tried that.


2.15.2012

Sorry, No Wildcard LDAP Filtering on CN, DN, OU, MemberOf for Active Directory

Spent the better part of a day only to figure out that you can't use wildcard filters to do something simple like finding everyone that is part of a OU group.

1.29.2012

Burns Night Toast to the Lads and Lassies

It was more difficult to find examples of these traditional Burns supper toasts than I would have thought so I'm adding mine to the Internets.    The gathering is a rather tame one and the tone of the toasts reflects this.   Don't be surprise if parts sound familiar since I borrowed a sentence or two from just about every other toast I could find.


A Toast To the Lasses:

Thank you to the Daughters of Scotland for such a festive evening. It is always nice to see so many familiar faces and to meet a few new ones.

I hope I can meet the high expectations of those of you with actual SCOTS Blood running through your veins.
Unfortunately mine is mostly SCOTCH.

There was a touch of the rooster about Burns.
He loved many and fortunately for us he wrote about his affairs.

He was "Well Versed" on the topic of women you might say.

He so aptly describes the feeling of love in "A Red, Red Rose" .

O, my love is like the melody,
That is sweetly played in tune.


And on Devotion he wrote touchingly in John Anderson My Jo about the journey of a couple through life:

We climbed the hill together,
And many a jolly day, John,
We have had with one another;

Now we must totter down, John,
And hand in hand we will go,
And sleep together at the foot,


but Burns knew well the realities of dealing with the Lassies. Tam O Shanter for example:

And getting full (drunk) and mighty happy,
We think not on the long Scots miles,
The bogs, pools, breaches and stiles,
That lie between us and our home,
Where sits our sulky, sullen wife,
Gathering her forehead like a gathering storm,
Nursing her anger to keep it warm.


Undoubtedly one of my wife's ancestors.

My own observation is that: Whatever you give a Woman, they will make it greater

Give her a a House, She'll give you a Home
Give her Groceries, She'll give you a Meal
Give her a smile, She'll give you her heart.

And that' Gentlemen, is why I'm not going to give the Lassies any crap.

Gentlemen, raise your glasses for a toast.

I could find no finer words than those written by Burns himself.

"Auld Nature swears the lovely dears
Her noblest work she classes;
Her apprentice hand she tried on man,
And then She made the lasses!"


To the Lasses!

Response from the Lassies:

Good evening everyone and thank you dear husband for being so lovely about us Lassies.
Unfortunately it falls to me to lower the tone and talk about men.

Now Honored Burns was a rascal with a silver tongue.
And I am sure all the men here tonight have been suitably broken and are much tamer.

Burn's himself wrote:

There was, indeed, in far less polished days,
A time, when rough rude Man had naughty ways:
Would swagger, swear, get drunk, kick up a riot,
No, even thus invade a lady's quiet!
Now, thank our stars! these Gothic times are fled;
Now, well-bred men - and you are all well-bred -
Most justly think (and we are much the gainers)
Such conduct neither spirit, wit, nor manners.


Thankfully men have moved on from the gothic days.

I find it hard to imagine men more swaggering, swearing, or drunken than today,
but evidently it is true.

Burns was such a rascal that I think it fair to call him inconstant, unimaginative, and arrogant.
But he was also humorous and a romantic.
And my husband was correct that we lasses do our best with what we're given.

And so I'll finish with
Burn's description of perfect harmony between a man and women:

We will build a little, little house,
And we will live like king and queen,
So blithe and merry as we will be,
When you sit by the wheel at evening!


To the Laddies.