Site Search:
Sign in | Join | Help
4Penny.net

Steve Gray

Random Thoughts from the 4Penny VP of Development
  • IIS 6.0 and Flash streaming (FLV)

    We recently acquired an app that streams flash - but it was not working on our web servers (Winows 2003, Standard).  It was pretty aggravating to get up and running

    The site has .swf files that stream a flash video (.flv).  The SWF works just fine, but the FLV won't stream.  After some poking and probing, realization set in that there wasn't a MIME type for .FLV in IIS.

    1. Open IIS Manager on the server
    2. Expand the Local Computer Server.
    3. Examine the 'Properties' of the local server
    4. Select the MIME Types tab.
    5. Click the 'New' button and enter the following:
    * Associated Extension box: .FLV
    * MIME Type box: flv-application/octet-stream
    6. Click Ok and restart IIS.

  • Simple DOS commands

    Every now and again I'll need to write a simple DOS bat file to accomplish a task... here are a few of the commands that I use. It's much easier to blog them here and have them than to search the internet for them.

    Copy a file from one directory to another:
    XCOPY source destination /Y /D /S

    Append one file to another:
    type source >> destination

    Add a CR to a file:
    echo. >> filename

     

  • Things that bug me

    My friend Corey and I used to have a running complaint called 'things that bug me'. I don't see Corey so much any more - so I'll just share this with you.

    (ahem)

    Things that bug me:

    • Overly cheerful Starbucks employees
    • People that respond to emails or IMs with one word. (now I have to stop what I'm doing to read 'OK' or 'Thanks')
    • Baseball stadiums that sell salad
    • People that buy salads at baseball games (ok, that should only be one... but it really bugs me)
    • Pelple that send an email that says 'call me'. Dude, I'm a programmer. I sit here all day. Instead of making me read your email, just dial my number.
    • People that walk around all day with their blue tooth headset on. It's like at any minute you will become less important than the really important phone call that they're about to get.
    • Teenagers that send text messages while looking you in the eye. Have you seen this? It's hard to believe it's possible. If you're talking to a teen and wonding why their hand looks busy in their pocket, they're probably texting someone much more interesting than you. If you think about it, that's probably anyone. (sigh)
    • People that call back on caller ID when you dialed a wrong number. So, you dial a wrong number and hang up quickly and dial the right number, then they call you and ask who you are and why did you call them. I'm gonna start telling them that I'm from the Doctor's office and their spouse's test results are in and it looks like an STD.

     

    I'll keep filling this in. Maybe it'll be therepudic. Maybe they'll read it out loud at my trial and ask me if I remember writing it. You never know.

More Posts Next page »