Monday, February 6, 2012

Sample SQL Server database samples

A list of sample database scripts (.SQL files) that can be used in SQL Server : 

Some frequently asked questions about SQLzoo

Also see:

Thursday, January 5, 2012

Reinstalling GRUB2

Howto reinstal GRUB2 with UBUNTU LTS LiveCD

Boot the LiveCD Desktop.
Open a terminal by selecting Applications, Accessories, Terminal from the menu bar.
Determine the partition with the Ubuntu installation. The fdisk option "-l" is a lowercase "L".
Mount the partition containing the Ubuntu installation.
sudo mount /dev/sdXY /mnt




  • Run the grub-install command as described below. This will reinstall the GRUB 2 files on the mounted partition to the proper location and to the MBR of the designated device.
    sudo grub-install --root-directory=/mnt /dev/sdX
    Example: sudo grub-install --root-directory=/mnt /dev/sda

    In Grub 1.99, introduced with Ubuntu 11.04, Natty Narwhal, a new switch is available which more clearly defines where the grub folder is placed. The command above will still work with Grub 1.99, but the following command is preferred by the developers. The target directory in the command is the command into which the grub folder will be installed. By default, and without the switch, the location is /boot/grub. In these instructions, since the Ubuntu partition is mounted on /mnt, the target would be /mnt/boot/grub.
    • sudo grub-install --boot-directory=/mnt/boot /dev/sdX
      Example: sudo grub-install --boot-directory=/mnt/boot/ /dev/sda
      Reboot

      Refresh the GRUB 2 menu with sudo update-grub


  • Thursday, December 29, 2011

    Google Web Toolkit Overview




    Google Web Toolkit Overview


    Google Web Toolkit (GWT) is a development toolkit for building and optimizing complex browser-based applications. Its goal is to enable productive development of high-performance web applications without the developer having to be an expert in browser quirks, XMLHttpRequest, and JavaScript. GWT is used by many products at Google, including Google Wave and the new version of AdWords. It's open source, completely free, and used by thousands of developers around the world.


    Wednesday, December 28, 2011

    Hardware RAID on DELL servers



    Step-by-Step Guide to Configure Hardware RAID on DELL servers with Screenshots


    Expanding the capacity of a server by adding new disk drives is a typical activity for administrator. In this article, let us review how to add two new disk drives to the DELL server and create RAID 1 using “Dell PowerEdge Expandable RAID Controller – PERC” configuration utility. This tool is also called as “PERC/CERC Bios Configuration Utility”.

    If you are using the latest DELL Servers, please refer to the article that explains
    how to create RAID on PERC 6/i Integrated BIOS Configuration Utility.

    1. Launch PERC/CERC BIOS Configuration Utility.

    2. Go to Configure - View/Add Configuration

    3. Status of the new disk drives

    4. Make the disk drives online

    5. Configure the disk drives

    6. Select RAID Level.

    Debug certificate expired



    Strange Eclipse Error developing an Android application:
    << Debug certificate expired >>
    Solution :
    Delete debug certificate under ~/.android/debug.keystore (on Linux and Mac OS X); the directory is something like %USERPROFILE%/.androidon Windows.
    
    
    
    

    Wednesday, December 21, 2011

    Including multiple Packages to Manifest





    How to put two or more packages together into one project under "src" folder : 
     - avoiding "R cannot be resolved"



    http://stackoverflow.com/questions/3935443/android-including-multiple-java-packages-to-manifest