19

Feb

Windows Vista Service Pack Problems

Posted by packetmad as OS, Windows

Something went wrong with my gaming PC recently and it started BSODing on a regular basis. During these crashes I managed to lose or corrupt something in Vista.

I went for a clean install after searching a bunch of forum posts, few of which helped.
Most said my memory was suspect, but my GTX260′s fan wasn’t spinning up so I figured that was the problem. Yay for more expensive.

Anyway, the problem with the re-install was applying service packs. What a piece of work this turned out to be.

19

Feb

Win32 Perl

Posted by packetmad as OS, Perl, Scripting, Windows

Actually did my first win32 perl script at work today. What a pita that can be when you are changing from *n?x perl. Most of the problems I encountered were editor issues. Guess I should have just gotten vi for Windows and been done with it.

###
# First we’ll change into the directory passed in the command line
###
$workdirectory = @ARGV[0];
#print (“$workdirectory\n”);
chdir (“$workdirectory”) || die “cannot cd to $workdirectory”;

###
# Lets get a numeric date for use in naming the zip files
###
$insanedate = `date /t`;
# print $insanedate;
$insanedate =~ /.*?(\d{2})\/(\d{2})\/(\d{4})/;
$sanedate = “$1$2$3″;
# print “$sanedate\n”;

13

Nov

Security Audit Time Again!

Posted by packetmad as Linux, OS, Unix, Windows

So, I’m sitting there, minding my own business because it’s towards the end of the work day and I just want to get home. Then an email comes in, another security audit is coming down the pipe. No big deal, been through them before, but they are a pain in the ass.