fintanr's weblog

Archives

« January 2005 »
MonTueWedThuFriSatSun
     
1
2
3
4
5
6
8
9
10
11
12
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      
Today

the links




Twitter Updates

    follow me on Twitter
















    20050113 Thursday January 13, 2005

    A quick wget tip
    A wget tip, or maybe not. I was working on a script today that had to do a submission of a very long parameter string to a cgi script, and it turned out to be too long for a get. So I went off and visited the wget manpages (man -M /usr/sfw/man wget). And here I noted the --post-data option which I hadn't been aware off before. A quick example is in order I think.

    Lets say you are doing a submission to a url with a submission string of http://foo.com/cgi/myScript?really_long_set_of options, rather than doing

    wget http://foo.com/cgi/myScript?really_long_set_of options
    
    You can do
    wget --post-data 'really_long_set_of_options' http://foo.com/cgi/myScript
    
    A handy trick for the toolbox.
    (2005-01-13 02:29:34.0) Permalink Comments [0]

    Porting Device Drivers for Solaris to 64-Bit x86
    Just looking over the developer.sun.com articles and I noticed that Cecilia Hu has written an excellent article on porting device drivers for solaris to 64 bit x86 architectures (ie amd64). Worth a read, you can view the article here. In particular (from my point of view anyway), table 5, Changes in DDI Function Argument Types is particuarly useful.
    (2005-01-12 21:14:13.0) Permalink