• Black Prophecy Beta

    Greetings!

    Congratulations! High Command has accepted Your pilot license application.

    Dismissed!

    High Command

    stop.

    Welcome back, pilot!

    Your pilot license application has been processed successfully. You are now authorized to begin your pilot training. Please keep a backup copy of this e-mail for future reference.

    Detailed instructions on how to operate your training software can be found in the quickstart manual located in the software’s installation folder.

    In order to improve the quality of the software, we require feedback from you on any issues or bugs you encounter while using the software. Please report these issues and bugs to the Beta Forum.


  • HTTPS Redirects

    Redirecting HTTP to HTTPS for a whole site using virtual hosts:

    
    
    
    
    #Basics snipped for brevity....
    
    
       RewriteEngine on
       #RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
    
    
    RedirectPermanent / https://www.foo.com/
    
    

  • CTRL-ALT-DEL: Debian on Desktop

    I run debian+gnome on a VMware desktop. One of the annoying things is when I press CTRL-ALT-DEL to lock Windows (the hosting OS), the guest OS picks it up and I come back to a powered down VM.

    Google results will tell you that disabling it in /etc/inittab or gconf-edit will do the trick. That’s just not the case.

    You need to go to system > preferences > keyboard shortcuts and disable it there.

    This completely disables it.


  • Windows Vista Service Pack Problems

    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.


  • Win32 Perl

    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”;