As mentioned before, I originally wrote my time filter in PHP but converted it to C# for speed. So here it is for posterity and reference.
class nonWorkRanges {
public $parse;
public $start;
public $end;
/*
this::start and this::end stucture
day = 1…31
month = 1…12 (xx = reoccurring)
year = YYYY (xxxx = reoccurring)
weekday = 0…6 (sunday…saturday, if this is set we ignore [...]
One of the goals this year is to have an average response time of 15 minutes for all helpdesk tickets, but we have one problem, no way to track or know if we’re getting closer.
During my initial research, the only thing I could find was code that couldn’t be customized through configuration files so it [...]
Last time around, Route Kill was pretty simple, just misdirect a route. This time, I added a little more code flexibility, some minor network monitoring and a maliciousness not seen before. This time, it kills the route (deletes the route from the table), packets aren’t even misdirected, they go nowhere!
To get things ready for yourself, [...]
After getting a Windows XP Virtual PC up and running I was able to test my last project’s update feature in XP…and it didn’t work. From those of you who have Vista like me know that the user profile is no longer under Documents and Settings, but Users.
My original code didn’t take into account spaces [...]
I’m starting to use Visual Studio and programming more and more in C#. Mostly this is because I’m finding that creating tools with scripts for my end users to be too cumbersome for them to use. PowerShell scripts are not easily launched by a double click, you need to allow scripts in the first place [...]
We’re looking to implement automatic port configurations to keep visitors off the company’s network, but finding a turn key solution proved difficult. So the search began for opensource software that could do the job. Maybe I’m just an idiot, but I’ve been finding that the current OSS such as FreeNAC are pretty inane to set [...]
I’ve known using Windows.Forms with Powershell for some time, but never really dove into it until recently. One of the reasons for this is that I don’t like the idea of making tools that can’t be picked apart by others in my department. Another reason is that unless your form is just to make the [...]
First, watch this…
(Original post)
My mind wonders what then can be done to stop someone from decompiling anything and getting the necessary info to do what Mr. Hoffman did. Since Flash is a pretty well known format (and even if it wasn’t), the program suffers from the problem that Bob, Carol, and Eve are all the [...]
February 25, 2009 – 11:58 am
This morning I was talking with Fifthwall about RegexStringValidator.Validate(). It would seem that the Validate() method doesn’t return anything, so he was wondering how you’d know if the regular expression was indeed valid.
After looking though the documentation, I found that it raises an ArgumentException if the string isn’t a valid regular expression.
January 10, 2009 – 12:11 pm
One of the problems here at work that we have is for some oddball reason people just can’t seem to get UNC paths to work right when it comes to DFS. For those cases we’ve had to resort to mapping these people directly to the server that is the primary location. Since these people are [...]