Xerratus
Happily stressed out, since 1974


 
Tuesday, September 26, 2006

Saturday, September 16, 2006

I thought this day would never come (wipes tears from eyes).

Jackass 2 The Movie

Tuesday, August 29, 2006

Friday, August 18, 2006

What the crap man!  I finally find a wireless network attached storage (NAS) device that I want to buy but I can't find any retailer selling it.  COME ON!  ME WANT NOW!  WTF People!!!!

A little background:

Lately I've been watching It takes a thief on the Discovery Channel and I got me thinking; if someone breaks into our house and steals our computers, we're out some valuable data -both my wife and I.  So I need the following: a wireless network attached storage device.  Now, they do exist and I can find them but they are usually geared for small to large businesses and are expensive.  What I need/want is just a solution for home.  It needs to be 802.11g compatible, stand-alone, affordable with a fair amount of storage (I don't need a 10 Terabyte NAS).

So every now and then, I search for what I'm looking for.  Well, today I found what I need.  Actiontec has a perfect home solution.  Once I found it, I did some more searching to find reviews and/or places to buy it.  Well, I found a lot of the former but none of the latter.  Basically, everyone is reviewing it but nobody is selling it.  Makes you wonder just how in the hell these people are reviewing it.  On top of that, these reviewers are posting prices... and it's affordable but where did they get the prices from?  WHERE?

Now I'm stuck.  I finally found my wireless NAS solution but I CAN'T BUY IT!  WTF!

If anybody out there knows where to purchase one of these OR knows of a comparable device let me know and I'll post it here so others trying to find it can BUY it.  What we don't need are any more reviews.  I've reviewed the reviews, now I just want it.

Thursday, August 17, 2006

Well it's about time! 

Being a technical blogger, I occasionally like to post code snippets for code that I find useful or helpful for a myriad of things.  The part I hate though is copying my code, which is nicely formatted in Visual Studio 2005, to FreeTextBox, which is the rich text editor for my blog.  Yes, there are some nice sites that allow you to copy and paste in your code that generate html for you but going back and forth is sometimes a hassle.  Also, I have my colors set up a tad bit different than some of the code-to-html generators so the conversion is never like I have it set up.  There was always my trusty fall back; paste the selection into Microsoft Word then copy it again and THEN paste it into FreeTextBox.  This worked but there was one very annoying problem; it wrapped each line with <p></p> tags.  Because of this, the code always looked double-spaced.  To manually go in and remove was a pain for larger chunks of code.

This is what I need/want?
  • The ability to select the code snippet I want right in visual studio.
  • Copy it.
  • Paste it straight into my blog rich textbox WITH the same colors that visual studio has.
After a little searching yesterday, I found EXACTLY what I was looking for; A macro written by Jeff Atwood (www.codinghorror.com/blog).  This allows me to do what I need and I can present my code in a matter of minutes now, formatted just like I like it.  Small, simple and complete... perfect.  For those of you who need it, I implore you to try it.

Here's a quick snippet to demonstrate:

public static Control FindControlByID(ControlCollection controls, string id)
{
    
Control found = null;

    
foreach(Control control in controls)
    {
        
if(control.HasControls())
        {
            found = FindControlByID(control.Controls, id);
            
if(found != null)
            {
                
break;
            }
        }

        
if(control.ID == id)
        {
            found = control;
            
break;
        }
    }

    
return found;
}

Ahhhhhh, that's nice.