Main menu:

Site search

Categories

  • Feed on RSS

  • DSC_3893




    DSC_3893

    Originally uploaded by discoking.

    Flower and thorns. A macro taken at the San Diego Zoo


    car trouble

    Well my timing belt broke yesterday while I was on the freeway. Luckly I actually had my cell phone and AAA was quick to come. Really sucks I had been putting this off for about 30,000 miles. Its just such a hastle to have to drop it off and then get a ride to work and then to pick it up. Why don’t they stay open latter and on the weekends?

    Test

    This is the first test of wordpress. It was MUCH easier to set up that movable type

    Jeffs blog

    I have finally got around to setting up a new blog, I like to write uterly boring drible in these things. Nothing deep, usually just geeky stuff. I used to have a livejournal but I no longer update that. This is just for fun. I love movies and plan on writing a script to do movie reviews including importing the data from imdb.

    DEF CON BLOWS

    I am here at def con in vegas and man does it blow. Huge lines and totally lame talks. I will write more about lt latter.

    testing pocket pc

    I am testing the new pocket PC I inherited. Kind of cool I still need to learn to input text faster. this thing has predictive type ahead which is cool. I dont know if I should use the letter recognizer or the block recognizez.

    San Francisco

    I am in San Francisco for a conferance right now. A few observations, there are way too many Star Bucks here, one on every freaking corner in the financial district. The bart system is very cool, for $5.15 I can get from the airport to my hotel. I would hate to have to drive around here traffic and parking are a huge pain in the ass. Forgot my wireless card for my lap top so I took a walk down Market street untill I found a raio shack to buy a new one. I got a motorola card, apearently it isn’t supported in linux which really sucks I wanted to have some fun with drift net at the conferance, oh well.

    Got my state taxs back today. That was just in time. I have a Best Buy bill due and if it isn’t paid off this month I get socked with $500 of accrued interest. On Friday the federal taxes should come through. Whch means I can get a paintball marker. Whoooooooo

    test

    This is a test of pocket lj I wrote this on my palm and I need to practice my graffetie.

    <b>headers and php</b><br><br>I was uploading all of my scripts on to my personal server and I was getting weird errors with my scripts that produce pdf’s. I finnally figuered it out after much hair pulling, I had to put headers to override the defaults for content type and cache control, I used some values I found on the web and they worked fine in php ver 4.2.X but not in 4.3 i had the following:
    header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
    header("Cache-Control: post-check=0, pre-check=0", false);
    header("Pragma: no-cache"); // HTTP/1.0
    header(’Content-type: application/vnd.pdf’);
    turns out the false in 4.3 lets you put two headers of the same type, hince two cache control headers the first seems to take priority, in 4.2 it ignors the false and only puts in the second header and all is good. I really feel like an idiot for this such a simple thing because I am too lazy to understand what the cache headers do