Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

    • Archives

    • Recent comments

    Archive for September, 2006

    Using PEAR HTTP_Client or HTTP_Request with HTTP proxy

    6th September 2006

    If you happen to write PHP script, which uses either HTTP_Client or its dependancy HTTP_Request from PEAR, and the script is supposed to work through the HTTP proxy – here are the sample settings you need:

    1. $params['proxy_user'] = 'proxy_username';
    2. $params['proxy_pass'] = 'proxy_password';
    3. $params['proxy_host'] = 'proxy_hostname_or_ip';
    4. $params['proxy_port'] = 8080; // 3128, ...
    6. // I assume $headers were set somewhere else
    7. $req = &new HTTP_Client($params, $headers);

    If your proxy does not need authorization – just drop the proxy_user and proxy_pass parameters.


    Posted in how-to, PHP, Programming | 1 Comment »

    Google sitemap generator plugin

    4th September 2006

    This plugin is expected to increase the coverage of your blog by Google. You will have to register for the google sitemaps tool (which is free), that will be easy if you gmail account. In short, sitemaps let google know which pages your blog/website has, so that it can crawl everything (read more).

    This plugin automatically generates blog sitemap each time you create/update a post or a page. This is a must-have plugin, especially if you’re crazy about SEO :)


    Posted in Notepad, WP PlugIns | No Comments »

    Topologilinux 6.0.0 BSOD (Blue Screen Of Death) fix

    1st September 2006

    Topologilinux ‘BSOD at launch’ problem solution is at the end of this post.

    Topologilinux is a special linux flavour, which is especially fit for the newcomers to the *nix world. The motto of Topologilunux is ‘Running Linux inside Windows’ – and that is what it does. Even more – you can run it inside windows, or you can boot into it and work Linux-only – in both cases the system is the same.
    Personally, I consider this kind of setup extremely useful for users who are strongly used to working in Windows (or just stuck with windows for too long), but at the same time are inclined to script a bit (be it bash, Perl, PHP or Python), to run server applications, write cross-platform programs, to test something or just play with software. With Topologilunux, it’s perfectly fine to work in DreamWeaver on your windows machine, and launch Topologilinux with apache+php+mysql to serve as a testing server – on that same machine. You can easily replicate the needed server config, and play with it the way you wouldn’t if that was the production server.
    Read the rest of this entry »


    Posted in *nix, OS | 1 Comment »