• Google Web Toolkit (GWT) on Ubuntu 9.10
    Nov 9, 2009

    I have recently installed Ubuntu 9.10 64bit on my machine, and Google Web Toolkit seems to have a bug with hosted mode. libstdc++.so.5 is missing in Ubuntu 9.10, and it is being replaced by libstdc++.so.6, so GWT's hosted mode complains about its in-existence and does not function.

    After searching I found that you have to find it separately and copy to /usr/lib32/, and create a softlink to /usr/lib32/libstdc++.so.5 with command

    ln -s /usr/lib32/libstdc++.so.5.0.7 /usr/lib32/libstdc++.so.5

    If you have 32 bit version of Ubuntu, you can download and install version from Ubuntu 9.04, and if you have 64 bit version you will need library ia32-libs. It contains a lot more than libstdc++.so.5 package, so we can just extract and install only the file we need.

    You can also download the libstdc++.so.5.0.7 file from here.

    Read more...
  • Windows Uptime
    Nov 9, 2009

    In *nix systems you can determine uptime of a system using uptime command. However in Windows systems things are a little bit different.

    Microsoft XP Professional users can run systeminfo command to see the system information including uptime. XP Home and other NT based system users should use uptime.exe from microsoft located at http://support.microsoft.com/kb/q232243/

    In Vista, you can use systeminfo command, use the tool above, or go to Task Manager and select Performance tab. There you will see the system uptime under System tab

    Read more...
  • HTML Redirect
    Nov 9, 2009
    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
    <html>
    <head>
    <title>Your Page Title</title>
    <meta http-equiv=”REFRESH”
    content=”0;url=http://www.the-domain-you-want-to-redirect-to.com”>
    </head>
    <body>
    Optional page text here.
    </body>
    </html>

    Code Description:

    <meta http-equiv=”REFRESH” content=”0;url=http://www.the-domain-you-want-to-redirect-to.com”> is the part that actually does the redirecting. The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new url. You could set this to 5 and add some optional text to your page - something like: “Please wait while we redirect you to our new site”. That’s it! Just copy the code, save it (i.e. save as index.html) and your html redirect will work perfectly.

    Read more...

subscribe via RSS