One-Pot Pad Thai

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

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


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


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.


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.


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.


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.

    plotLine = {
            "tooltip-text":"%v %t"
    plotArea ={
        "position":"0% 0%",
    legendStyle = {
"position":"100% 10%",
    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 = {
        "position":"5% 100%",
// A struct of keys such as visible and margin to control chart preview.  (zoom box at bottom)

title="Your Title Here" 
show3d="no" >

label="Some Label" 
query=" Some_Query " 
type="line" />



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


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.


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.


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.


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

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


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.


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.