Search for a string in files PowerShell

So many times I have had to hunt down a piece of code, or find a method. This is my go to command. It simply allows me to search all text in a directory recursively and outputs the names of…

Read More

Generating a SHA256 from a file

I have been working on cleaning up my family’s collection of photos. Before I was married I believe my total count was around 300 or so. Now that I am married and have 2 kids. I just checked and there…

Read More

Breaking A Simple Captcha (Part II)

Now that we have an appropriatly cleaned and processed image, which will greatly improve the success of our OCR lets look at that side of things. I’ve opted to use tesseract-ocr and the .NET Wrapper provided here. This is also available…

Read More

Breaking A Simple Captcha (Part I)

Time after time, well not that often, actually only about three times in my career I have found myself entering CAPTCHA after CAPTCHA trying to load test, enter a content multiple times, or whatever.  It’s a daunting task. This time,…

Read More

Making Exception Information Human Readable

Often times developers will log exceptions. Which in itself is a good thing. However, they generally only log the Message property, which can and often times is useless. My solution is the method below.

This is a simple bit…

Read More

Debugging Windows Services

Once again, it’s time to develop a windows service. Sometimes I try and avoid these type projects, but i have a very specific requirement that whenever a file changes on a server that a call is made to an edge…

Read More

The true cost of an outage….

So, I was shopping around, at work, i know i’m a horrible person. But what i needed was a simple timer light switch for my outdoor lights. I did a search on Google. I came up with the first link…

Read More

Upgrading Environments

Today I completed the upgrade of my VMWare ESXi server from 5.0 to 5.1. This will allow me to run Windows Server 2012 VM’s to test and develop against. I guess I was a little behind the times. Now on…

Read More