Jump to content

gEEEk

Active Members
  • Posts

    173
  • Joined

  • Last visited

Posts posted by gEEEk

  1. Excellent, thank you for your suggestions.

    However there might be a problem with this script since the images are not embedded using plain HTML because I am using them in a

    jQuery script (slideshow). Although this should probably work anyway if I just point the jQuery script to for example: <img src="http://example.com/rotate.php?img=gorilla.jpg">

    Hmm not sure how well php and javascript plays toghether in this matter, well I'll just try to configure the script and report back to you once I have a result :)

  2. Well hello again!

    I'm developing a website for a company and they have requested to have two "templates" of sorts..

    One for spring/summer and one for autumn/winter. The switch between the templates only consist

    of some replacements of image files. So it's not that sophisticated, however I've became quite busy these days

    I'm looking for a script to automate this process. Preferably I'd like it to run server-side, however it won't be

    an issue if not.

    Does anyone know any software for this purpose? Maybe you could automate two FTP actions to run on certain dates?

    Thanks! :)

  3. I've heard Metasploit runs on iPhone. Not great but it'll run.

    I usually carry a couple SSH,VNC,RDP clients. Easily found in the AppStore.

    "Veency" is a pretty good VNC server for the iPhone.

    There are a couple of pretty decent Network Scanners in the AppStore that can map out printers and various NICs.

    Pirni is a pretty good "packet capturing"-software that runs natively on the iPhone. However, when analyzing the packets I would recommend a computer. :-)

    Hope it helps!

    / gEEEk

  4. Hey guys. So I'm testing my site in browser labs to see it the some browsers. The thing is that it looks very weird in Firefox versions <4 for Windows.

    To describe it, it looks sorta like the contents of the site is "dragged" to the left. I'm using partial CSS position and some positioning inside the HTML. With DIV tags ofc.

    My first thought was the doctype is wrong? I'm using HTML 4.01 Strict FYI. :)

    Thanks!

  5. Hello again.

    I'm using a pretty sleak jQuery script that does a pretty cool transition to every page. For a more smooth navigation.

    Works great when I try it "locally", but once I upload it to my webserver it just stops working. Why is this?

    &lt;script type="text/javascript" src="jQuery/jquery-1.4.1.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
    $(document).ready(function() {
        $("body").css("display", "none");
    
        $("body").fadeIn(2000);
    
        $("a.transition").click(function(event){
            event.preventDefault();
            linkLocation = this.href;
            $("body").fadeOut(1000, redirectPage);
        });
    
        function redirectPage() {
            window.location = linkLocation;
        }
    });
    &lt;/script&gt;

  6. Allright, so I am building a site and I thought it was sorta ready to be deployed. But when I ran it through some testing using browser labs, it looks fine in just about any "relevant" browser. But when I get to IE and Firefox 3 the site gets some weird outline outside the DIV tags. Screenshot below (sorry 'bout the size)

    phreakingie.png

    Help would be very much appriciated.

  7. If all you are doing is putting together someone else's existing code and art work, I'd say $400 might be a bit steep depending on how much work there is. If there is a ton of extra legwork and coding from your end to put it all together, then you would have to assess the workload and make that decision yourself. There is no standard, but try not to rape them on the price. If your employer agrees to $400 then stick to that, but make sure you honor the agreement and use this project as experience to gauge your own work for the next job. If anything, its experience and you get your feet wet with it to better help yourself for the next project.

    Well not really their code since the designer just gave me a PSD document. So the code is all mine. However, I recon it's gonna take some time. It's not really a complicated site, but it's got loads of content.

    I think I'll probably go with 300$, since this is really my first "real" deal. And I don't want to scare anyone off.

    Thanks for all the responses! :)

  8. Hello community.

    I know, I know. It's not the first time this topic has been discussed but however I need some serious help.

    So my boss has asked me to "develop" their website. I mean, the design is done and my part is to put this thing

    together and set it up. A bunch of DIV tags and a LOT of jumping from Photoshop to coding.

    It's about 10 pages including index page containing some jQuery and possibly one or two Flash players.

    No PHP, no database no icky sticky. Nothing like that.

    I'm having a hard time deciding what I should charge for such a deal. I know you'll probably say: "Estimate how much time it will take" and then

    just use some black magic math to multiply it with your hour rate. But I don't have a clue how long this will take.

    This is my first "real" webdesign/development job. But I'm seriously clueless. I'm thinking around 400$ for the entire thing.

    Overpriced? Underpriced?

    Thankful for all responses. :)

    (not the ones giving me a stinky URL to another topic)

  9. Hmm..

    {

    "error": {

    "errors": [

    {

    "domain": "global",

    "reason": "internalError",

    "message": "Internal Error"

    }

    ],

    "code": 500,

    "message": "Internal Error"

    }

    }

    The API dosent seem to like that I'm replacing the quotes. .

    Whata jesus, those this mean that the API cant handle variables.. Atleast not if you're using it though curl?

  10. Hello dudes.

    I'm just messing around with the Google URL Shortner API just for knowledge purposes, but I am having some issues with variables in curl.

    Its super simple, but its just for fun.

    BTW, the script wont run if you try because there is no API key in that syntax.

    Allright, I think the problem is with the variable handling in the curl syntax. But I'm not sure, I cant really see why it just wont use the user input from the previous lines...

    echo "Gimme the URL boy!"
    read url
    
    curl https://www.googleapis.com/urlshortener/v1/url?key=XXXXXXXXXX \
      -H 'Content-Type: application/json' \
      -d '{"longUrl": "$url"}'

    Its giving me this error:

    (
        "{",
        " \"error\": {",
        "  \"errors\": [",
        "   {",
        "    \"domain\": \"global\",",
        "    \"reason\": \"invalid\",",
        "    \"message\": \"Invalid Value\",",
        "    \"locationType\": \"parameter\",",
        "    \"location\": \"resource.longUrl\"",
        "   }",
        "  ],",
        "  \"code\": 400,",
        "  \"message\": \"Invalid Value\"",
        " }",
        "}"

  11. Hey guys.

    Once again I seek your wisdom.

    I'm trying to bridge two network connection using Linux.

    Wireless Router -> if: wlan0

    if: eth0 -> Other Machine

    I hope that setup made any kind of sence. However, the other machine which is connected via a CAT5 cable to the "Linux Bridge Computer" does not get any contact with the internet nor with the network. I've tried both static and DHCP but nothing seems to work.

    Something is wrong with the setting on my Linux machine. I've tried to use "bridge-utils" to set it up, but its just giving me a hardtime. And I have no idea if what I'm doing is close to the right thing.

    And yes, I've tried Googling it.

    / gEEEk

×
×
  • Create New...