Archive for the ‘dump’ Category

MS-SQL Powershell database backup

Recently one of our SQL clusters decided it was a good idea to not backup databases anymore. So today my boss told me to get something to bandaid the situation until we can fix the situation (which will likely be an upgrade/reinstall).
To learn more check out the MSDN pages on the Microsoft.SqlServer.Management.Smo namespace.

#
# Temp database backup
#
$d [...]

Link Dump#1: Je.org

In part of finding out if people like what I’m posting, I from time to time do a google search for the site or myself. Today, I came across some kind of neat links, some of my internet life and some of other people who unfortunatly share my name.

http://www.cafepress.com/je_org //Probably the only place on the [...]

There is no duck

I’ll often hear about some crazy law that’s on the books like it being illegal to cross the Minnesota border with a duck on ones head. One thing though you never see with any of these postings is references to those laws.
In the case of the head duck, I looked myself and couldn’t find anything [...]

Time filter: C# Project files

Here’s a clightly cleaned up and better version of my time filter project thing, businesshours.zip. Archive contains code, build batch file, and binary.
Some changes this round:

Takes into account timezones.
No longer is missing a day in it’s calculations.
Debugging command line argument to track the inner workings.

Should I feel like it:

Code cleanup
Delete unused variables
Useful comments

Time filtering: PHP version

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 [...]

Time filtering for helpdesks

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 [...]

Route Kill v2

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, [...]

1989 Tiananmen Square Protests

Trouble in Willmar: Commentary

While reading the comments on the WCTrib site people have made on the recent McDonald’s incident, I’m quite alarmed how racy the issue has become. A fact that saddens me, as talk like that only leads to more hate and loathing. However in the slew of comments discussing ethnics of the various people involved, one [...]

Trouble in Willmar

Originally from the West Central Tribune (link), written by Gretchen Schlosser. Re-posted here for posterity.
WILLMAR — Two young men made their first court appearances Friday on multiple felony charges for allegedly kidnapping a teenager and stealing his car Thursday evening in the McDonald’s parking lot.
Ricardo Cadena, 23, of Willmar, faces six felony charges, including kidnapping, [...]